@pega/cosmos-react-demos 8.0.0-build.9.1 → 8.0.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/build/BackgroundPicker/BackgroundPicker.stories.d.ts +9 -0
- package/jsx/build/BackgroundPicker/BackgroundPicker.stories.d.ts.map +1 -0
- package/jsx/build/BackgroundPicker/BackgroundPicker.stories.jsx +42 -0
- package/jsx/build/BackgroundPicker/BackgroundPicker.stories.jsx.map +1 -0
- package/jsx/build/DynamicInput/DynamicInput.stories.d.ts +2 -2
- package/jsx/build/DynamicInput/DynamicInput.stories.d.ts.map +1 -1
- package/jsx/build/DynamicInput/DynamicInput.stories.jsx +37 -13
- package/jsx/build/DynamicInput/DynamicInput.stories.jsx.map +1 -1
- package/jsx/build/Expression/Expression.mocks.d.ts +11 -0
- package/jsx/build/Expression/Expression.mocks.d.ts.map +1 -0
- package/jsx/build/Expression/Expression.mocks.js +41 -0
- package/jsx/build/Expression/Expression.mocks.js.map +1 -0
- package/jsx/build/Expression/Expression.stories.d.ts +18 -0
- package/jsx/build/Expression/Expression.stories.d.ts.map +1 -0
- package/jsx/build/Expression/Expression.stories.jsx +57 -0
- package/jsx/build/Expression/Expression.stories.jsx.map +1 -0
- package/jsx/build/Expression/useMockExpression.d.ts +96 -0
- package/jsx/build/Expression/useMockExpression.d.ts.map +1 -0
- package/jsx/build/Expression/useMockExpression.js +321 -0
- package/jsx/build/Expression/useMockExpression.js.map +1 -0
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +59 -0
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -0
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js +568 -0
- package/jsx/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -0
- package/jsx/build/FieldReference/FieldReference.mocks.d.ts.map +1 -1
- package/jsx/build/FieldReference/FieldReference.mocks.js +7 -2
- package/jsx/build/FieldReference/FieldReference.mocks.js.map +1 -1
- package/jsx/build/IconTile/IconTile.mocks.d.ts +8 -0
- package/jsx/build/IconTile/IconTile.mocks.d.ts.map +1 -0
- package/jsx/build/IconTile/IconTile.mocks.js +247 -0
- package/jsx/build/IconTile/IconTile.mocks.js.map +1 -0
- package/jsx/build/IconTile/IconTile.stories.d.ts +11 -0
- package/jsx/build/IconTile/IconTile.stories.d.ts.map +1 -0
- package/jsx/build/IconTile/IconTile.stories.jsx +29 -0
- package/jsx/build/IconTile/IconTile.stories.jsx.map +1 -0
- package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts +3 -0
- package/jsx/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -0
- package/jsx/build/ItemLibrary/LibraryPicker.mocks.js +40 -0
- package/jsx/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -0
- package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts +5 -0
- package/jsx/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -0
- package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx +32 -0
- package/jsx/build/ItemLibrary/LibraryPicker.stories.jsx.map +1 -0
- package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts +382 -0
- package/jsx/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -0
- package/jsx/build/LifeCycle/LifeCycle.mocks.js +1652 -0
- package/jsx/build/LifeCycle/LifeCycle.mocks.js.map +1 -0
- package/jsx/build/LifeCycle/LifeCycle.stories.d.ts +23 -0
- package/jsx/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -0
- package/jsx/build/LifeCycle/LifeCycle.stories.jsx +1115 -0
- package/jsx/build/LifeCycle/LifeCycle.stories.jsx.map +1 -0
- package/jsx/build/LifeCycle/LifeCycle.styles.d.ts +5 -0
- package/jsx/build/LifeCycle/LifeCycle.styles.d.ts.map +1 -0
- package/jsx/build/LifeCycle/LifeCycle.styles.js +9 -0
- package/jsx/build/LifeCycle/LifeCycle.styles.js.map +1 -0
- package/jsx/build/LifeCycle/LifeCycleTest.mocks.d.ts +18 -0
- package/jsx/build/LifeCycle/LifeCycleTest.mocks.d.ts.map +1 -0
- package/jsx/build/LifeCycle/LifeCycleTest.mocks.js +5998 -0
- package/jsx/build/LifeCycle/LifeCycleTest.mocks.js.map +1 -0
- package/jsx/build/LifeCycle/utils.d.ts +123 -0
- package/jsx/build/LifeCycle/utils.d.ts.map +1 -0
- package/jsx/build/LifeCycle/utils.js +304 -0
- package/jsx/build/LifeCycle/utils.js.map +1 -0
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +1 -1
- package/jsx/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
- package/jsx/condition-builder/ConditionBuilder/props.mock.js +9 -1
- package/jsx/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +2 -2
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js +50 -5
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.stories.jsx.map +1 -1
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +2 -2
- package/jsx/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +1 -1
- package/jsx/core/AppShell/AppShell.stories.d.ts +3 -3
- package/jsx/core/AppShell/AppShell.stories.d.ts.map +1 -1
- package/jsx/core/AppShell/AppShell.stories.jsx.map +1 -1
- package/jsx/core/Banner/Banner.mocks.d.ts +4 -1
- package/jsx/core/Banner/Banner.mocks.d.ts.map +1 -1
- package/jsx/core/Banner/Banner.mocks.jsx.map +1 -1
- package/jsx/core/Banner/Banner.stories.d.ts +1 -1
- package/jsx/core/Banner/Banner.stories.d.ts.map +1 -1
- package/jsx/core/Banner/Banner.stories.jsx +20 -7
- package/jsx/core/Banner/Banner.stories.jsx.map +1 -1
- package/jsx/core/Button/Button.stories.d.ts +0 -1
- package/jsx/core/Button/Button.stories.d.ts.map +1 -1
- package/jsx/core/Button/Button.stories.jsx +0 -13
- package/jsx/core/Button/Button.stories.jsx.map +1 -1
- package/jsx/core/Checkbox/Checkbox.stories.d.ts +11 -2
- package/jsx/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/jsx/core/Checkbox/Checkbox.stories.jsx +68 -8
- package/jsx/core/Checkbox/Checkbox.stories.jsx.map +1 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts +10 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx +91 -38
- package/jsx/core/CheckboxGroup/CheckboxGroup.stories.jsx.map +1 -1
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts +2 -2
- package/jsx/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +1 -1
- package/jsx/core/DateTime/DateTimeDisplay.stories.jsx +1 -1
- package/jsx/core/DateTime/DateTimeDisplay.stories.jsx.map +1 -1
- package/jsx/core/File/FileDisplay.stories.d.ts +1 -0
- package/jsx/core/File/FileDisplay.stories.d.ts.map +1 -1
- package/jsx/core/File/FileDisplay.stories.jsx +5 -3
- package/jsx/core/File/FileDisplay.stories.jsx.map +1 -1
- package/jsx/core/Fullscreen/Fullscreen.styles.d.ts +1 -1
- package/jsx/core/Fullscreen/Fullscreen.styles.d.ts.map +1 -1
- package/jsx/core/Icon/Icon.stories.d.ts.map +1 -1
- package/jsx/core/Icon/Icon.stories.jsx +4 -4
- package/jsx/core/Icon/Icon.stories.jsx.map +1 -1
- package/jsx/core/IconPicker/IconPicker.mocks.d.ts +1 -1
- package/jsx/core/IconPicker/IconPicker.mocks.d.ts.map +1 -1
- package/jsx/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
- package/jsx/core/IconPicker/IconPicker.stories.jsx +1 -1
- package/jsx/core/IconPicker/IconPicker.stories.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 +20 -2
- package/jsx/core/ListToolbar/ListToolbar.stories.jsx.map +1 -1
- package/jsx/core/Location/locationTestUtils.d.ts.map +1 -1
- package/jsx/core/Location/locationTestUtils.js +1 -0
- package/jsx/core/Location/locationTestUtils.js.map +1 -1
- package/jsx/core/Menu/Menu.stories.d.ts.map +1 -1
- package/jsx/core/Menu/Menu.stories.jsx +10 -1
- package/jsx/core/Menu/Menu.stories.jsx.map +1 -1
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts +15 -16
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx +5 -7
- package/jsx/core/MultiStepForm/MultiStepForm.mocks.jsx.map +1 -1
- package/jsx/core/PageTemplates/GridLayout.mocks.d.ts +42 -0
- package/jsx/core/PageTemplates/GridLayout.mocks.d.ts.map +1 -0
- package/jsx/core/PageTemplates/GridLayout.mocks.jsx +152 -0
- package/jsx/core/PageTemplates/GridLayout.mocks.jsx.map +1 -0
- package/jsx/core/PageTemplates/GridLayout.stories.d.ts +6 -0
- package/jsx/core/PageTemplates/GridLayout.stories.d.ts.map +1 -0
- package/jsx/core/PageTemplates/GridLayout.stories.jsx +81 -0
- package/jsx/core/PageTemplates/GridLayout.stories.jsx.map +1 -0
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts +2 -0
- package/jsx/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx +48 -2
- package/jsx/core/PageTemplates/PageTemplates.stories.jsx.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.styles.d.ts +2 -0
- package/jsx/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
- package/jsx/core/PageTemplates/PageTemplates.styles.js +9 -0
- package/jsx/core/PageTemplates/PageTemplates.styles.js.map +1 -1
- package/jsx/core/RadioButton/RadioButton.stories.d.ts +11 -2
- package/jsx/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
- package/jsx/core/RadioButton/RadioButton.stories.jsx +61 -4
- package/jsx/core/RadioButton/RadioButton.stories.jsx.map +1 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +11 -2
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx +203 -48
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.stories.jsx.map +1 -1
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +2 -2
- package/jsx/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +1 -1
- package/jsx/core/Select/Select.stories.jsx +8 -8
- package/jsx/core/Select/Select.stories.jsx.map +1 -1
- package/jsx/core/SelectionCard/SelectionCard.stories.d.ts +15 -0
- package/jsx/core/SelectionCard/SelectionCard.stories.d.ts.map +1 -0
- package/jsx/core/SelectionCard/SelectionCard.stories.jsx +76 -0
- package/jsx/core/SelectionCard/SelectionCard.stories.jsx.map +1 -0
- package/jsx/core/Tabs/Tabs.stories.d.ts +1 -0
- package/jsx/core/Tabs/Tabs.stories.d.ts.map +1 -1
- package/jsx/core/Tabs/Tabs.stories.jsx +20 -11
- package/jsx/core/Tabs/Tabs.stories.jsx.map +1 -1
- package/jsx/dnd/DragDropList/DragDropList.styles.d.ts +1 -1
- package/jsx/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -1
- package/jsx/dnd/DragDropList/DragDropList.styles.js.map +1 -1
- package/jsx/dnd/StandardDragDropList/Demo.d.ts +5 -1
- package/jsx/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/Demo.jsx +21 -3
- package/jsx/dnd/StandardDragDropList/Demo.jsx.map +1 -1
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +3 -2
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx +8 -4
- package/jsx/dnd/StandardDragDropList/StandardDragDropList.stories.jsx.map +1 -1
- package/jsx/dnd/StandardDragDropList/mockData.d.ts.map +1 -1
- package/jsx/dnd/StandardDragDropList/mockData.js +1 -0
- package/jsx/dnd/StandardDragDropList/mockData.js.map +1 -1
- package/jsx/rte/Editor/Editor.stories.d.ts +1 -0
- package/jsx/rte/Editor/Editor.stories.d.ts.map +1 -1
- package/jsx/rte/Editor/Editor.stories.jsx +10 -0
- package/jsx/rte/Editor/Editor.stories.jsx.map +1 -1
- package/jsx/social/Chat/Chat.mocks.d.ts.map +1 -1
- package/jsx/social/Chat/Chat.mocks.js +12 -2
- package/jsx/social/Chat/Chat.mocks.js.map +1 -1
- package/jsx/social/Chat/Chat.stories.d.ts +2 -0
- package/jsx/social/Chat/Chat.stories.d.ts.map +1 -1
- package/jsx/social/Chat/Chat.stories.jsx +11 -5
- package/jsx/social/Chat/Chat.stories.jsx.map +1 -1
- package/jsx/social/Email/Email.mocks.d.ts.map +1 -1
- package/jsx/social/Email/Email.mocks.jsx +7 -0
- package/jsx/social/Email/Email.mocks.jsx.map +1 -1
- package/jsx/social/Email/Email.stories.d.ts.map +1 -1
- package/jsx/social/Email/Email.stories.jsx +123 -11
- package/jsx/social/Email/Email.stories.jsx.map +1 -1
- package/jsx/social/Feed/Feed.mocks.d.ts +40 -18
- package/jsx/social/Feed/Feed.mocks.d.ts.map +1 -1
- package/jsx/social/Feed/Feed.mocks.jsx +132 -42
- package/jsx/social/Feed/Feed.mocks.jsx.map +1 -1
- package/jsx/social/Feed/Feed.stories.d.ts +6 -1
- package/jsx/social/Feed/Feed.stories.d.ts.map +1 -1
- package/jsx/social/Feed/Feed.stories.jsx +82 -19
- package/jsx/social/Feed/Feed.stories.jsx.map +1 -1
- package/jsx/social/Feed/FeedNewPost.mocks.d.ts +7 -3
- package/jsx/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
- package/jsx/social/Feed/FeedNewPost.mocks.jsx +154 -23
- 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 +248 -43
- package/jsx/social/Feed/FeedPost.mocks.jsx.map +1 -1
- package/jsx/social/Feed/FeedReply.mocks.d.ts.map +1 -1
- package/jsx/social/Feed/FeedReply.mocks.jsx +45 -9
- package/jsx/social/Feed/FeedReply.mocks.jsx.map +1 -1
- package/jsx/social/Feed/LogActivityPostType.mocks.d.ts +21 -0
- package/jsx/social/Feed/LogActivityPostType.mocks.d.ts.map +1 -0
- package/jsx/social/Feed/LogActivityPostType.mocks.jsx +145 -0
- package/jsx/social/Feed/LogActivityPostType.mocks.jsx.map +1 -0
- package/jsx/social/OpenGraphPreview/OpenGraphPreview.mocks.d.ts +28 -0
- package/jsx/social/OpenGraphPreview/OpenGraphPreview.mocks.d.ts.map +1 -0
- package/jsx/social/OpenGraphPreview/OpenGraphPreview.mocks.js +28 -0
- package/jsx/social/OpenGraphPreview/OpenGraphPreview.mocks.js.map +1 -0
- package/jsx/social/OpenGraphPreview/OpenGraphPreview.stories.d.ts +9 -0
- package/jsx/social/OpenGraphPreview/OpenGraphPreview.stories.d.ts.map +1 -0
- package/jsx/social/OpenGraphPreview/OpenGraphPreview.stories.jsx +27 -0
- package/jsx/social/OpenGraphPreview/OpenGraphPreview.stories.jsx.map +1 -0
- package/jsx/work/Article/Article.stories.d.ts.map +1 -1
- package/jsx/work/Article/Article.stories.jsx +15 -12
- package/jsx/work/Article/Article.stories.jsx.map +1 -1
- package/jsx/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -1
- package/jsx/work/ArticleList/ArticleBuddy.stories.jsx +31 -7
- package/jsx/work/ArticleList/ArticleBuddy.stories.jsx.map +1 -1
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts +6 -4
- package/jsx/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
- package/jsx/work/ArticleList/ArticleList.mocks.js +75 -53
- package/jsx/work/ArticleList/ArticleList.mocks.js.map +1 -1
- package/jsx/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
- package/jsx/work/ArticleList/ArticleList.stories.jsx +62 -38
- package/jsx/work/ArticleList/ArticleList.stories.jsx.map +1 -1
- package/jsx/work/CaseHierarchy/CaseHierarchy.stories.d.ts +14 -0
- package/jsx/work/CaseHierarchy/CaseHierarchy.stories.d.ts.map +1 -0
- package/jsx/work/CaseHierarchy/CaseHierarchy.stories.jsx +123 -0
- package/jsx/work/CaseHierarchy/CaseHierarchy.stories.jsx.map +1 -0
- package/jsx/work/CaseView/Attachments.mocks.jsx.map +1 -1
- package/jsx/work/CaseView/CaseView.mocks.d.ts +34 -6
- package/jsx/work/CaseView/CaseView.mocks.d.ts.map +1 -1
- package/jsx/work/CaseView/CaseView.mocks.jsx +107 -28
- package/jsx/work/CaseView/CaseView.mocks.jsx.map +1 -1
- package/jsx/work/CaseView/CaseView.stories.d.ts.map +1 -1
- package/jsx/work/CaseView/CaseView.stories.jsx +11 -5
- package/jsx/work/CaseView/CaseView.stories.jsx.map +1 -1
- package/jsx/work/Details/Details.stories.d.ts +1 -0
- package/jsx/work/Details/Details.stories.d.ts.map +1 -1
- package/jsx/work/Details/Details.stories.jsx +6 -4
- package/jsx/work/Details/Details.stories.jsx.map +1 -1
- package/jsx/work/GenAICoach/GenAICoach.mocks.d.ts +16 -4
- package/jsx/work/GenAICoach/GenAICoach.mocks.d.ts.map +1 -1
- package/jsx/work/GenAICoach/GenAICoach.mocks.js +142 -13
- package/jsx/work/GenAICoach/GenAICoach.mocks.js.map +1 -1
- package/jsx/work/GenAICoach/GenAICoach.stories.d.ts +10 -1
- package/jsx/work/GenAICoach/GenAICoach.stories.d.ts.map +1 -1
- package/jsx/work/GenAICoach/GenAICoach.stories.jsx +260 -51
- package/jsx/work/GenAICoach/GenAICoach.stories.jsx.map +1 -1
- package/jsx/work/GenAICoach/useGenAICoach.d.ts.map +1 -1
- package/jsx/work/GenAICoach/useGenAICoach.js +103 -34
- package/jsx/work/GenAICoach/useGenAICoach.js.map +1 -1
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.d.ts.map +1 -1
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.jsx +39 -16
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.mock.jsx.map +1 -1
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.d.ts +1 -0
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.d.ts.map +1 -1
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.jsx +4 -1
- package/jsx/work/HierarchicalAssignments/HierarchicalAssignments.stories.jsx.map +1 -1
- package/jsx/work/SearchResults/SearchResults.mocks.d.ts +6 -2
- package/jsx/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
- package/jsx/work/SearchResults/SearchResults.mocks.jsx.map +1 -1
- package/jsx/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
- package/jsx/work/SearchResults/SearchResults.stories.jsx.map +1 -1
- package/jsx/work/Stages/Stages.mocks.jsx +1 -1
- package/jsx/work/Stages/Stages.mocks.jsx.map +1 -1
- package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts +1 -1
- package/jsx/work/Stakeholders/Stakeholders.mocks.d.ts.map +1 -1
- package/jsx/work/Stakeholders/Stakeholders.mocks.jsx +3 -3
- package/jsx/work/Stakeholders/Stakeholders.mocks.jsx.map +1 -1
- package/jsx/work/Stakeholders/Stakeholders.stories.d.ts +1 -0
- package/jsx/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
- package/jsx/work/Stakeholders/Stakeholders.stories.jsx +31 -7
- package/jsx/work/Stakeholders/Stakeholders.stories.jsx.map +1 -1
- package/jsx/work/Timeline/Timeline.mocks.d.ts.map +1 -1
- package/jsx/work/Timeline/Timeline.mocks.jsx +1 -0
- package/jsx/work/Timeline/Timeline.mocks.jsx.map +1 -1
- package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.d.ts +0 -1
- package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.d.ts.map +1 -1
- package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.jsx +0 -3
- package/jsx/work/UtilitiesLayout/UtilitiesLayout.stories.jsx.map +1 -1
- package/jsx/wss/AppShell/AppShell.mocks.d.ts +2 -1
- package/jsx/wss/AppShell/AppShell.mocks.d.ts.map +1 -1
- package/jsx/wss/AppShell/AppShell.mocks.jsx +1 -1
- package/jsx/wss/AppShell/AppShell.mocks.jsx.map +1 -1
- package/jsx/wss/AppShell/AppShell.stories.d.ts +1 -0
- package/jsx/wss/AppShell/AppShell.stories.d.ts.map +1 -1
- package/jsx/wss/AppShell/AppShell.stories.jsx +5 -3
- package/jsx/wss/AppShell/AppShell.stories.jsx.map +1 -1
- package/jsx/wss/AppShell/AppShell.styles.d.ts +3 -1
- package/jsx/wss/AppShell/AppShell.styles.d.ts.map +1 -1
- package/jsx/wss/AppShell/AppShell.styles.js +11 -4
- package/jsx/wss/AppShell/AppShell.styles.js.map +1 -1
- package/jsx/wss/CaseView/CaseView.mocks.d.ts +5 -0
- package/jsx/wss/CaseView/CaseView.mocks.d.ts.map +1 -1
- package/jsx/wss/CaseView/CaseView.mocks.jsx +55 -1
- package/jsx/wss/CaseView/CaseView.mocks.jsx.map +1 -1
- package/jsx/wss/CaseView/CaseView.stories.d.ts +1 -0
- package/jsx/wss/CaseView/CaseView.stories.d.ts.map +1 -1
- package/jsx/wss/CaseView/CaseView.stories.jsx +6 -3
- package/jsx/wss/CaseView/CaseView.stories.jsx.map +1 -1
- package/lib/build/BackgroundPicker/BackgroundPicker.stories.d.ts +9 -0
- package/lib/build/BackgroundPicker/BackgroundPicker.stories.d.ts.map +1 -0
- package/lib/build/BackgroundPicker/BackgroundPicker.stories.js +43 -0
- package/lib/build/BackgroundPicker/BackgroundPicker.stories.js.map +1 -0
- package/lib/build/DynamicInput/DynamicInput.stories.d.ts +2 -2
- package/lib/build/DynamicInput/DynamicInput.stories.d.ts.map +1 -1
- package/lib/build/DynamicInput/DynamicInput.stories.js +37 -14
- package/lib/build/DynamicInput/DynamicInput.stories.js.map +1 -1
- package/lib/build/Expression/Expression.mocks.d.ts +11 -0
- package/lib/build/Expression/Expression.mocks.d.ts.map +1 -0
- package/lib/build/Expression/Expression.mocks.js +41 -0
- package/lib/build/Expression/Expression.mocks.js.map +1 -0
- package/lib/build/Expression/Expression.stories.d.ts +18 -0
- package/lib/build/Expression/Expression.stories.d.ts.map +1 -0
- package/lib/build/Expression/Expression.stories.js +58 -0
- package/lib/build/Expression/Expression.stories.js.map +1 -0
- package/lib/build/Expression/useMockExpression.d.ts +96 -0
- package/lib/build/Expression/useMockExpression.d.ts.map +1 -0
- package/lib/build/Expression/useMockExpression.js +321 -0
- package/lib/build/Expression/useMockExpression.js.map +1 -0
- package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts +59 -0
- package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.d.ts.map +1 -0
- package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js +568 -0
- package/lib/build/ExpressionBuilder/ExpressionBuilder.mocks.js.map +1 -0
- package/lib/build/FieldReference/FieldReference.mocks.d.ts.map +1 -1
- package/lib/build/FieldReference/FieldReference.mocks.js +7 -2
- package/lib/build/FieldReference/FieldReference.mocks.js.map +1 -1
- package/lib/build/IconTile/IconTile.mocks.d.ts +8 -0
- package/lib/build/IconTile/IconTile.mocks.d.ts.map +1 -0
- package/lib/build/IconTile/IconTile.mocks.js +247 -0
- package/lib/build/IconTile/IconTile.mocks.js.map +1 -0
- package/lib/build/IconTile/IconTile.stories.d.ts +11 -0
- package/lib/build/IconTile/IconTile.stories.d.ts.map +1 -0
- package/lib/build/IconTile/IconTile.stories.js +30 -0
- package/lib/build/IconTile/IconTile.stories.js.map +1 -0
- package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts +3 -0
- package/lib/build/ItemLibrary/LibraryPicker.mocks.d.ts.map +1 -0
- package/lib/build/ItemLibrary/LibraryPicker.mocks.js +40 -0
- package/lib/build/ItemLibrary/LibraryPicker.mocks.js.map +1 -0
- package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts +5 -0
- package/lib/build/ItemLibrary/LibraryPicker.stories.d.ts.map +1 -0
- package/lib/build/ItemLibrary/LibraryPicker.stories.js +29 -0
- package/lib/build/ItemLibrary/LibraryPicker.stories.js.map +1 -0
- package/lib/build/LifeCycle/LifeCycle.mocks.d.ts +382 -0
- package/lib/build/LifeCycle/LifeCycle.mocks.d.ts.map +1 -0
- package/lib/build/LifeCycle/LifeCycle.mocks.js +1653 -0
- package/lib/build/LifeCycle/LifeCycle.mocks.js.map +1 -0
- package/lib/build/LifeCycle/LifeCycle.stories.d.ts +23 -0
- package/lib/build/LifeCycle/LifeCycle.stories.d.ts.map +1 -0
- package/lib/build/LifeCycle/LifeCycle.stories.js +1307 -0
- package/lib/build/LifeCycle/LifeCycle.stories.js.map +1 -0
- package/lib/build/LifeCycle/LifeCycle.styles.d.ts +5 -0
- package/lib/build/LifeCycle/LifeCycle.styles.d.ts.map +1 -0
- package/lib/build/LifeCycle/LifeCycle.styles.js +9 -0
- package/lib/build/LifeCycle/LifeCycle.styles.js.map +1 -0
- package/lib/build/LifeCycle/LifeCycleTest.mocks.d.ts +18 -0
- package/lib/build/LifeCycle/LifeCycleTest.mocks.d.ts.map +1 -0
- package/lib/build/LifeCycle/LifeCycleTest.mocks.js +5998 -0
- package/lib/build/LifeCycle/LifeCycleTest.mocks.js.map +1 -0
- package/lib/build/LifeCycle/utils.d.ts +123 -0
- package/lib/build/LifeCycle/utils.d.ts.map +1 -0
- package/lib/build/LifeCycle/utils.js +304 -0
- package/lib/build/LifeCycle/utils.js.map +1 -0
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts +1 -1
- package/lib/condition-builder/ConditionBuilder/ConditionBuilder.styles.d.ts.map +1 -1
- package/lib/condition-builder/ConditionBuilder/props.mock.d.ts.map +1 -1
- package/lib/condition-builder/ConditionBuilder/props.mock.js +9 -1
- package/lib/condition-builder/ConditionBuilder/props.mock.js.map +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts +2 -2
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.d.ts.map +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js +50 -5
- package/lib/condition-builder/PromotedFilters/PromotedFilters.mocks.js.map +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.d.ts.map +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.stories.js.map +1 -1
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts +2 -2
- package/lib/condition-builder/PromotedFilters/PromotedFilters.styles.d.ts.map +1 -1
- package/lib/core/AppShell/AppShell.mocks.d.ts +2 -2
- package/lib/core/AppShell/AppShell.mocks.d.ts.map +1 -1
- package/lib/core/AppShell/AppShell.stories.d.ts +3 -3
- package/lib/core/AppShell/AppShell.stories.d.ts.map +1 -1
- package/lib/core/AppShell/AppShell.stories.js.map +1 -1
- package/lib/core/Banner/Banner.mocks.d.ts +5 -2
- package/lib/core/Banner/Banner.mocks.d.ts.map +1 -1
- package/lib/core/Banner/Banner.mocks.js.map +1 -1
- package/lib/core/Banner/Banner.stories.d.ts +1 -1
- package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
- package/lib/core/Banner/Banner.stories.js +20 -7
- package/lib/core/Banner/Banner.stories.js.map +1 -1
- package/lib/core/Button/Button.stories.d.ts +0 -1
- package/lib/core/Button/Button.stories.d.ts.map +1 -1
- package/lib/core/Button/Button.stories.js +0 -11
- package/lib/core/Button/Button.stories.js.map +1 -1
- package/lib/core/Checkbox/Checkbox.stories.d.ts +11 -2
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/lib/core/Checkbox/Checkbox.stories.js +68 -10
- package/lib/core/Checkbox/Checkbox.stories.js.map +1 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts +10 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.js +89 -18
- package/lib/core/CheckboxGroup/CheckboxGroup.stories.js.map +1 -1
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts +2 -2
- package/lib/core/CheckboxGroup/CheckboxGroup.styles.d.ts.map +1 -1
- package/lib/core/ComboBox/ComboBox.mocks.d.ts +1 -1
- package/lib/core/ComboBox/ComboBox.mocks.d.ts.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/Configuration/Configuration.mocks.d.ts +1 -1
- package/lib/core/Configuration/Configuration.mocks.d.ts.map +1 -1
- package/lib/core/DateTime/DateTimeDisplay.stories.js +1 -1
- package/lib/core/DateTime/DateTimeDisplay.stories.js.map +1 -1
- package/lib/core/Dialog/FormDialog.mocks.d.ts +2 -2
- package/lib/core/Dialog/FormDialog.mocks.d.ts.map +1 -1
- package/lib/core/Dialog/InfoDialog.mocks.d.ts +2 -2
- package/lib/core/Dialog/InfoDialog.mocks.d.ts.map +1 -1
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts +3 -3
- package/lib/core/FieldGroup/FieldGroupList.mocks.d.ts.map +1 -1
- package/lib/core/FieldValueList/FieldValueList.mocks.d.ts +1 -1
- package/lib/core/File/FileDisplay.stories.d.ts +1 -0
- package/lib/core/File/FileDisplay.stories.d.ts.map +1 -1
- package/lib/core/File/FileDisplay.stories.js +5 -3
- package/lib/core/File/FileDisplay.stories.js.map +1 -1
- package/lib/core/Form/Form.mocks.d.ts +2 -2
- package/lib/core/Form/Form.mocks.d.ts.map +1 -1
- package/lib/core/Fullscreen/Fullscreen.styles.d.ts +1 -1
- package/lib/core/Fullscreen/Fullscreen.styles.d.ts.map +1 -1
- package/lib/core/Icon/Icon.stories.d.ts.map +1 -1
- package/lib/core/Icon/Icon.stories.js +4 -4
- package/lib/core/Icon/Icon.stories.js.map +1 -1
- package/lib/core/IconPicker/IconPicker.mocks.d.ts +1 -1
- package/lib/core/IconPicker/IconPicker.mocks.d.ts.map +1 -1
- package/lib/core/IconPicker/IconPicker.stories.d.ts.map +1 -1
- package/lib/core/IconPicker/IconPicker.stories.js +1 -1
- package/lib/core/IconPicker/IconPicker.stories.js.map +1 -1
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts +2 -2
- package/lib/core/ListToolbar/ListToolbar.mocks.d.ts.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 +10 -2
- package/lib/core/ListToolbar/ListToolbar.stories.js.map +1 -1
- package/lib/core/LiveLog/LiveLog.mocks.d.ts +1 -1
- package/lib/core/LiveLog/LiveLog.mocks.d.ts.map +1 -1
- package/lib/core/Location/Location.mocks.d.ts +1 -1
- package/lib/core/Location/Location.mocks.d.ts.map +1 -1
- package/lib/core/Location/locationTestUtils.d.ts.map +1 -1
- package/lib/core/Location/locationTestUtils.js +1 -0
- package/lib/core/Location/locationTestUtils.js.map +1 -1
- package/lib/core/Menu/Menu.stories.d.ts.map +1 -1
- package/lib/core/Menu/Menu.stories.js +10 -1
- package/lib/core/Menu/Menu.stories.js.map +1 -1
- package/lib/core/Modal/Modal.mocks.d.ts +8 -8
- package/lib/core/Modal/Modal.mocks.d.ts.map +1 -1
- package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts +20 -21
- package/lib/core/MultiStepForm/MultiStepForm.mocks.d.ts.map +1 -1
- package/lib/core/MultiStepForm/MultiStepForm.mocks.js +5 -7
- package/lib/core/MultiStepForm/MultiStepForm.mocks.js.map +1 -1
- package/lib/core/PageTemplates/GridLayout.mocks.d.ts +42 -0
- package/lib/core/PageTemplates/GridLayout.mocks.d.ts.map +1 -0
- package/lib/core/PageTemplates/GridLayout.mocks.js +131 -0
- package/lib/core/PageTemplates/GridLayout.mocks.js.map +1 -0
- package/lib/core/PageTemplates/GridLayout.stories.d.ts +6 -0
- package/lib/core/PageTemplates/GridLayout.stories.d.ts.map +1 -0
- package/lib/core/PageTemplates/GridLayout.stories.js +54 -0
- package/lib/core/PageTemplates/GridLayout.stories.js.map +1 -0
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts +2 -0
- package/lib/core/PageTemplates/PageTemplates.stories.d.ts.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.stories.js +41 -2
- package/lib/core/PageTemplates/PageTemplates.stories.js.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.styles.d.ts +2 -0
- package/lib/core/PageTemplates/PageTemplates.styles.d.ts.map +1 -1
- package/lib/core/PageTemplates/PageTemplates.styles.js +9 -0
- package/lib/core/PageTemplates/PageTemplates.styles.js.map +1 -1
- package/lib/core/Popover/Popover.mocks.d.ts +1 -1
- package/lib/core/Popover/Popover.mocks.d.ts.map +1 -1
- package/lib/core/RadioButton/RadioButton.stories.d.ts +11 -2
- package/lib/core/RadioButton/RadioButton.stories.d.ts.map +1 -1
- package/lib/core/RadioButton/RadioButton.stories.js +61 -4
- package/lib/core/RadioButton/RadioButton.stories.js.map +1 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts +11 -2
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js +196 -21
- package/lib/core/RadioButtonGroup/RadioButtonGroup.stories.js.map +1 -1
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts +2 -2
- package/lib/core/RadioButtonGroup/RadioButtonGroup.styles.d.ts.map +1 -1
- package/lib/core/Select/Select.stories.js +2 -2
- package/lib/core/Select/Select.stories.js.map +1 -1
- package/lib/core/SelectionCard/SelectionCard.stories.d.ts +15 -0
- package/lib/core/SelectionCard/SelectionCard.stories.d.ts.map +1 -0
- package/lib/core/SelectionCard/SelectionCard.stories.js +77 -0
- package/lib/core/SelectionCard/SelectionCard.stories.js.map +1 -0
- package/lib/core/Table/Table.mocks.d.ts +1 -1
- package/lib/core/Tabs/Tabs.mocks.d.ts +1 -1
- package/lib/core/Tabs/Tabs.mocks.d.ts.map +1 -1
- package/lib/core/Tabs/Tabs.stories.d.ts +1 -0
- package/lib/core/Tabs/Tabs.stories.d.ts.map +1 -1
- package/lib/core/Tabs/Tabs.stories.js +12 -6
- package/lib/core/Tabs/Tabs.stories.js.map +1 -1
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts +2 -2
- package/lib/dnd/DragDropList/DragDropList.mocks.d.ts.map +1 -1
- package/lib/dnd/DragDropList/DragDropList.styles.d.ts +1 -1
- package/lib/dnd/DragDropList/DragDropList.styles.d.ts.map +1 -1
- package/lib/dnd/DragDropList/DragDropList.styles.js.map +1 -1
- package/lib/dnd/StandardDragDropList/Demo.d.ts +5 -1
- package/lib/dnd/StandardDragDropList/Demo.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/Demo.js +21 -3
- 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/ItemConfig.d.ts +1 -1
- package/lib/dnd/StandardDragDropList/ItemConfig.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/Popover.d.ts +1 -1
- package/lib/dnd/StandardDragDropList/Popover.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts +1 -1
- package/lib/dnd/StandardDragDropList/SelectionMenu.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts +3 -2
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js +7 -3
- package/lib/dnd/StandardDragDropList/StandardDragDropList.stories.js.map +1 -1
- package/lib/dnd/StandardDragDropList/mockData.d.ts.map +1 -1
- package/lib/dnd/StandardDragDropList/mockData.js +1 -0
- package/lib/dnd/StandardDragDropList/mockData.js.map +1 -1
- package/lib/rte/Editor/Editor.stories.d.ts +1 -0
- package/lib/rte/Editor/Editor.stories.d.ts.map +1 -1
- package/lib/rte/Editor/Editor.stories.js +8 -1
- package/lib/rte/Editor/Editor.stories.js.map +1 -1
- package/lib/social/Chat/Chat.mocks.d.ts.map +1 -1
- package/lib/social/Chat/Chat.mocks.js +12 -2
- package/lib/social/Chat/Chat.mocks.js.map +1 -1
- package/lib/social/Chat/Chat.stories.d.ts +2 -0
- package/lib/social/Chat/Chat.stories.d.ts.map +1 -1
- package/lib/social/Chat/Chat.stories.js +11 -5
- package/lib/social/Chat/Chat.stories.js.map +1 -1
- package/lib/social/Email/Email.mocks.d.ts +1 -1
- package/lib/social/Email/Email.mocks.d.ts.map +1 -1
- package/lib/social/Email/Email.mocks.js +7 -0
- package/lib/social/Email/Email.mocks.js.map +1 -1
- package/lib/social/Email/Email.stories.d.ts.map +1 -1
- package/lib/social/Email/Email.stories.js +123 -11
- package/lib/social/Email/Email.stories.js.map +1 -1
- package/lib/social/Feed/Feed.mocks.d.ts +42 -20
- package/lib/social/Feed/Feed.mocks.d.ts.map +1 -1
- package/lib/social/Feed/Feed.mocks.js +125 -38
- package/lib/social/Feed/Feed.mocks.js.map +1 -1
- package/lib/social/Feed/Feed.stories.d.ts +6 -1
- package/lib/social/Feed/Feed.stories.d.ts.map +1 -1
- package/lib/social/Feed/Feed.stories.js +81 -18
- package/lib/social/Feed/Feed.stories.js.map +1 -1
- package/lib/social/Feed/FeedNewPost.mocks.d.ts +7 -3
- package/lib/social/Feed/FeedNewPost.mocks.d.ts.map +1 -1
- package/lib/social/Feed/FeedNewPost.mocks.js +156 -24
- package/lib/social/Feed/FeedNewPost.mocks.js.map +1 -1
- package/lib/social/Feed/FeedPost.mocks.d.ts +1 -1
- package/lib/social/Feed/FeedPost.mocks.d.ts.map +1 -1
- package/lib/social/Feed/FeedPost.mocks.js +247 -42
- package/lib/social/Feed/FeedPost.mocks.js.map +1 -1
- package/lib/social/Feed/FeedReply.mocks.d.ts +1 -1
- package/lib/social/Feed/FeedReply.mocks.d.ts.map +1 -1
- package/lib/social/Feed/FeedReply.mocks.js +45 -9
- package/lib/social/Feed/FeedReply.mocks.js.map +1 -1
- package/lib/social/Feed/LogActivityPostType.mocks.d.ts +21 -0
- package/lib/social/Feed/LogActivityPostType.mocks.d.ts.map +1 -0
- package/lib/social/Feed/LogActivityPostType.mocks.js +133 -0
- package/lib/social/Feed/LogActivityPostType.mocks.js.map +1 -0
- package/lib/social/OpenGraphPreview/OpenGraphPreview.mocks.d.ts +28 -0
- package/lib/social/OpenGraphPreview/OpenGraphPreview.mocks.d.ts.map +1 -0
- package/lib/social/OpenGraphPreview/OpenGraphPreview.mocks.js +28 -0
- package/lib/social/OpenGraphPreview/OpenGraphPreview.mocks.js.map +1 -0
- package/lib/social/OpenGraphPreview/OpenGraphPreview.stories.d.ts +9 -0
- package/lib/social/OpenGraphPreview/OpenGraphPreview.stories.d.ts.map +1 -0
- package/lib/social/OpenGraphPreview/OpenGraphPreview.stories.js +22 -0
- package/lib/social/OpenGraphPreview/OpenGraphPreview.stories.js.map +1 -0
- package/lib/work/Article/Article.stories.d.ts.map +1 -1
- package/lib/work/Article/Article.stories.js +15 -12
- package/lib/work/Article/Article.stories.js.map +1 -1
- package/lib/work/ArticleList/ArticleBuddy.stories.d.ts.map +1 -1
- package/lib/work/ArticleList/ArticleBuddy.stories.js +31 -7
- package/lib/work/ArticleList/ArticleBuddy.stories.js.map +1 -1
- package/lib/work/ArticleList/ArticleList.mocks.d.ts +6 -4
- package/lib/work/ArticleList/ArticleList.mocks.d.ts.map +1 -1
- package/lib/work/ArticleList/ArticleList.mocks.js +75 -53
- package/lib/work/ArticleList/ArticleList.mocks.js.map +1 -1
- package/lib/work/ArticleList/ArticleList.stories.d.ts.map +1 -1
- package/lib/work/ArticleList/ArticleList.stories.js +62 -38
- package/lib/work/ArticleList/ArticleList.stories.js.map +1 -1
- package/lib/work/CaseHierarchy/CaseHierarchy.stories.d.ts +14 -0
- package/lib/work/CaseHierarchy/CaseHierarchy.stories.d.ts.map +1 -0
- package/lib/work/CaseHierarchy/CaseHierarchy.stories.js +126 -0
- package/lib/work/CaseHierarchy/CaseHierarchy.stories.js.map +1 -0
- package/lib/work/CaseView/Attachments.mocks.d.ts +1 -1
- package/lib/work/CaseView/Attachments.mocks.d.ts.map +1 -1
- package/lib/work/CaseView/Attachments.mocks.js.map +1 -1
- package/lib/work/CaseView/CaseView.mocks.d.ts +40 -12
- package/lib/work/CaseView/CaseView.mocks.d.ts.map +1 -1
- package/lib/work/CaseView/CaseView.mocks.js +107 -29
- package/lib/work/CaseView/CaseView.mocks.js.map +1 -1
- package/lib/work/CaseView/CaseView.stories.d.ts.map +1 -1
- package/lib/work/CaseView/CaseView.stories.js +11 -5
- package/lib/work/CaseView/CaseView.stories.js.map +1 -1
- package/lib/work/CaseView/Details.mocks.d.ts +1 -1
- package/lib/work/CaseView/Details.mocks.d.ts.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/ConfigurableLayout/ConfigurableLayout.mocks.d.ts +6 -6
- package/lib/work/ConfigurableLayout/ConfigurableLayout.mocks.d.ts.map +1 -1
- package/lib/work/Details/Details.stories.d.ts +1 -0
- package/lib/work/Details/Details.stories.d.ts.map +1 -1
- package/lib/work/Details/Details.stories.js +6 -4
- package/lib/work/Details/Details.stories.js.map +1 -1
- package/lib/work/GenAICoach/GenAICoach.mocks.d.ts +16 -4
- package/lib/work/GenAICoach/GenAICoach.mocks.d.ts.map +1 -1
- package/lib/work/GenAICoach/GenAICoach.mocks.js +142 -13
- package/lib/work/GenAICoach/GenAICoach.mocks.js.map +1 -1
- package/lib/work/GenAICoach/GenAICoach.stories.d.ts +10 -1
- package/lib/work/GenAICoach/GenAICoach.stories.d.ts.map +1 -1
- package/lib/work/GenAICoach/GenAICoach.stories.js +259 -50
- package/lib/work/GenAICoach/GenAICoach.stories.js.map +1 -1
- package/lib/work/GenAICoach/useGenAICoach.d.ts.map +1 -1
- package/lib/work/GenAICoach/useGenAICoach.js +103 -34
- package/lib/work/GenAICoach/useGenAICoach.js.map +1 -1
- package/lib/work/HierarchicalAssignments/HierarchicalAssignments.mock.d.ts +4 -4
- package/lib/work/HierarchicalAssignments/HierarchicalAssignments.mock.d.ts.map +1 -1
- package/lib/work/HierarchicalAssignments/HierarchicalAssignments.mock.js +39 -16
- package/lib/work/HierarchicalAssignments/HierarchicalAssignments.mock.js.map +1 -1
- package/lib/work/HierarchicalAssignments/HierarchicalAssignments.stories.d.ts +1 -0
- package/lib/work/HierarchicalAssignments/HierarchicalAssignments.stories.d.ts.map +1 -1
- package/lib/work/HierarchicalAssignments/HierarchicalAssignments.stories.js +4 -1
- package/lib/work/HierarchicalAssignments/HierarchicalAssignments.stories.js.map +1 -1
- package/lib/work/Predictions/Predictions.mocks.d.ts +1 -1
- package/lib/work/Predictions/Predictions.mocks.d.ts.map +1 -1
- package/lib/work/SearchResults/SearchResults.mocks.d.ts +6 -2
- package/lib/work/SearchResults/SearchResults.mocks.d.ts.map +1 -1
- package/lib/work/SearchResults/SearchResults.mocks.js.map +1 -1
- package/lib/work/SearchResults/SearchResults.stories.d.ts.map +1 -1
- package/lib/work/SearchResults/SearchResults.stories.js.map +1 -1
- package/lib/work/Stages/Stages.mocks.d.ts +1 -1
- package/lib/work/Stages/Stages.mocks.js +1 -1
- package/lib/work/Stages/Stages.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 +3 -3
- package/lib/work/Stakeholders/Stakeholders.mocks.js.map +1 -1
- package/lib/work/Stakeholders/Stakeholders.stories.d.ts +1 -0
- package/lib/work/Stakeholders/Stakeholders.stories.d.ts.map +1 -1
- package/lib/work/Stakeholders/Stakeholders.stories.js +32 -7
- package/lib/work/Stakeholders/Stakeholders.stories.js.map +1 -1
- package/lib/work/Timeline/Timeline.mocks.d.ts.map +1 -1
- package/lib/work/Timeline/Timeline.mocks.js +1 -0
- package/lib/work/Timeline/Timeline.mocks.js.map +1 -1
- package/lib/work/UtilitiesLayout/UtilitiesLayout.stories.d.ts +0 -1
- package/lib/work/UtilitiesLayout/UtilitiesLayout.stories.d.ts.map +1 -1
- package/lib/work/UtilitiesLayout/UtilitiesLayout.stories.js +0 -3
- package/lib/work/UtilitiesLayout/UtilitiesLayout.stories.js.map +1 -1
- package/lib/wss/AppShell/AppShell.mocks.d.ts +5 -4
- package/lib/wss/AppShell/AppShell.mocks.d.ts.map +1 -1
- package/lib/wss/AppShell/AppShell.mocks.js +1 -1
- package/lib/wss/AppShell/AppShell.mocks.js.map +1 -1
- package/lib/wss/AppShell/AppShell.stories.d.ts +1 -0
- package/lib/wss/AppShell/AppShell.stories.d.ts.map +1 -1
- package/lib/wss/AppShell/AppShell.stories.js +5 -3
- package/lib/wss/AppShell/AppShell.stories.js.map +1 -1
- package/lib/wss/AppShell/AppShell.styles.d.ts +3 -1
- package/lib/wss/AppShell/AppShell.styles.d.ts.map +1 -1
- package/lib/wss/AppShell/AppShell.styles.js +11 -4
- package/lib/wss/AppShell/AppShell.styles.js.map +1 -1
- package/lib/wss/CaseView/CaseView.mocks.d.ts +6 -1
- package/lib/wss/CaseView/CaseView.mocks.d.ts.map +1 -1
- package/lib/wss/CaseView/CaseView.mocks.js +55 -1
- package/lib/wss/CaseView/CaseView.mocks.js.map +1 -1
- package/lib/wss/CaseView/CaseView.stories.d.ts +1 -0
- package/lib/wss/CaseView/CaseView.stories.d.ts.map +1 -1
- package/lib/wss/CaseView/CaseView.stories.js +6 -3
- package/lib/wss/CaseView/CaseView.stories.js.map +1 -1
- package/package.json +13 -13
- package/jsx/work/Timeline/Timeline.stories.d.ts +0 -11
- package/jsx/work/Timeline/Timeline.stories.d.ts.map +0 -1
- package/jsx/work/Timeline/Timeline.stories.jsx +0 -85
- package/jsx/work/Timeline/Timeline.stories.jsx.map +0 -1
- package/lib/work/Timeline/Timeline.stories.d.ts +0 -11
- package/lib/work/Timeline/Timeline.stories.d.ts.map +0 -1
- package/lib/work/Timeline/Timeline.stories.js +0 -79
- package/lib/work/Timeline/Timeline.stories.js.map +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { AutoCompleteTriggerChar, CursorPosition, ExpressionBuilderProps } from '@pega/cosmos-react-build';
|
|
2
|
+
export declare const getFilterRegex: (inputValue: string) => RegExp;
|
|
3
|
+
export declare const errors = "Error message 1. Some unrealistic error message. Server unreachable. Check your network connection and try again";
|
|
4
|
+
export declare const items: ({
|
|
5
|
+
id: string;
|
|
6
|
+
testId: string;
|
|
7
|
+
primary: string;
|
|
8
|
+
type: string;
|
|
9
|
+
expression: string;
|
|
10
|
+
details: {
|
|
11
|
+
primary: {
|
|
12
|
+
field: string;
|
|
13
|
+
value: string;
|
|
14
|
+
}[];
|
|
15
|
+
output: {
|
|
16
|
+
field: string;
|
|
17
|
+
value: string;
|
|
18
|
+
}[];
|
|
19
|
+
input: {
|
|
20
|
+
id: string;
|
|
21
|
+
field: string;
|
|
22
|
+
type: string;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
} | {
|
|
26
|
+
id: string;
|
|
27
|
+
testId: string;
|
|
28
|
+
primary: string;
|
|
29
|
+
type: string;
|
|
30
|
+
expression: string;
|
|
31
|
+
details: {
|
|
32
|
+
primary: {
|
|
33
|
+
field: string;
|
|
34
|
+
value: string;
|
|
35
|
+
}[];
|
|
36
|
+
output: {
|
|
37
|
+
field: string;
|
|
38
|
+
value: string;
|
|
39
|
+
}[];
|
|
40
|
+
input?: undefined;
|
|
41
|
+
};
|
|
42
|
+
})[];
|
|
43
|
+
export declare const suggestedFields: {
|
|
44
|
+
primary: string;
|
|
45
|
+
id: string;
|
|
46
|
+
secondary: string[];
|
|
47
|
+
}[];
|
|
48
|
+
export declare const getScopeFromPosition: (cursorPosition: CursorPosition, autoCompleteTrigger: AutoCompleteTriggerChar, value: string) => string;
|
|
49
|
+
export declare const getSuggestedFunction: (scope: string) => {
|
|
50
|
+
primary: string;
|
|
51
|
+
id: string;
|
|
52
|
+
secondary: string[];
|
|
53
|
+
}[];
|
|
54
|
+
export declare const suggestedRuleType: {
|
|
55
|
+
primary: string;
|
|
56
|
+
id: string;
|
|
57
|
+
}[];
|
|
58
|
+
export declare const inLineErrorsMocks: ExpressionBuilderProps['inLineErrors'];
|
|
59
|
+
//# sourceMappingURL=ExpressionBuilder.mocks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpressionBuilder.mocks.d.ts","sourceRoot":"","sources":["../../../src/build/ExpressionBuilder/ExpressionBuilder.mocks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,uBAAuB,EACvB,cAAc,EACd,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAElC,eAAO,MAAM,cAAc,eAAgB,MAAM,WAEhD,CAAC;AAEF,eAAO,MAAM,MAAM,qHACiG,CAAC;AAErH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8ejB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;GAMvB,CAAC;AAEN,eAAO,MAAM,oBAAoB,mBACf,cAAc,uBACT,uBAAuB,SACrC,MAAM,KACZ,MAuBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAAW,MAAM;;;;GAyBjD,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;GAK7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,sBAAsB,CAAC,cAAc,CAWpE,CAAC"}
|
|
@@ -0,0 +1,568 @@
|
|
|
1
|
+
import { createUID } from '@pega/cosmos-react-core';
|
|
2
|
+
export const getFilterRegex = (inputValue) => {
|
|
3
|
+
return new RegExp(`${inputValue.replace(/[.*+\-?^${}()|[\]\\]/g, '\\$&')}`, 'i');
|
|
4
|
+
};
|
|
5
|
+
export const errors = 'Error message 1. Some unrealistic error message. Server unreachable. Check your network connection and try again';
|
|
6
|
+
export const items = [
|
|
7
|
+
{
|
|
8
|
+
id: createUID(),
|
|
9
|
+
testId: createUID(),
|
|
10
|
+
primary: 'Validate loan value',
|
|
11
|
+
type: 'Decision',
|
|
12
|
+
expression: '@validateLoanValue()',
|
|
13
|
+
details: {
|
|
14
|
+
primary: [
|
|
15
|
+
{
|
|
16
|
+
field: 'Description',
|
|
17
|
+
value: 'Function to validate loan value through simple interest or compound interest based on user choice'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
field: 'Scope',
|
|
21
|
+
value: 'CCDBankLoan'
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
field: 'Namespace',
|
|
25
|
+
value: 'px'
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
output: [
|
|
29
|
+
{
|
|
30
|
+
field: 'isValid',
|
|
31
|
+
value: 'Boolean'
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
input: [
|
|
35
|
+
{
|
|
36
|
+
id: 'accountNumber',
|
|
37
|
+
field: 'Account number',
|
|
38
|
+
type: 'text'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: 'term',
|
|
42
|
+
field: 'Term in years',
|
|
43
|
+
type: 'number'
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 'accountType',
|
|
47
|
+
field: 'Account type',
|
|
48
|
+
type: 'text'
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: createUID(),
|
|
55
|
+
testId: createUID(),
|
|
56
|
+
primary: 'Loan amount under 100k',
|
|
57
|
+
type: 'When',
|
|
58
|
+
expression: '@isLoanAmountUnder100k()',
|
|
59
|
+
details: {
|
|
60
|
+
primary: [
|
|
61
|
+
{
|
|
62
|
+
field: 'Scope',
|
|
63
|
+
value: 'CCDBankLoan'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
field: 'Namespace',
|
|
67
|
+
value: 'px'
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
output: [
|
|
71
|
+
{
|
|
72
|
+
field: 'isUnder100k',
|
|
73
|
+
value: 'Boolean'
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
input: [
|
|
77
|
+
{
|
|
78
|
+
id: 'accountNumber',
|
|
79
|
+
field: 'Account number',
|
|
80
|
+
type: 'text'
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: createUID(),
|
|
87
|
+
testId: createUID(),
|
|
88
|
+
primary: 'Loan number',
|
|
89
|
+
type: 'Field',
|
|
90
|
+
expression: '.loanNumber',
|
|
91
|
+
details: {
|
|
92
|
+
primary: [
|
|
93
|
+
{
|
|
94
|
+
field: 'Description',
|
|
95
|
+
value: 'Loan account number of current customer'
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
field: 'Scope',
|
|
99
|
+
value: 'CCDBankLoan'
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
field: 'Namespace',
|
|
103
|
+
value: 'px'
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
output: []
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
id: createUID(),
|
|
111
|
+
testId: createUID(),
|
|
112
|
+
primary: 'Customer name',
|
|
113
|
+
type: 'Field',
|
|
114
|
+
expression: '.customerName',
|
|
115
|
+
details: {
|
|
116
|
+
primary: [
|
|
117
|
+
{
|
|
118
|
+
field: 'Description',
|
|
119
|
+
value: 'Fullname of current customer'
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
field: 'Scope',
|
|
123
|
+
value: 'CCDBankLoan'
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
field: 'Namespace',
|
|
127
|
+
value: 'px'
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
output: []
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: createUID(),
|
|
135
|
+
testId: createUID(),
|
|
136
|
+
primary: 'Max',
|
|
137
|
+
type: 'Function',
|
|
138
|
+
expression: 'Math@Function:max()',
|
|
139
|
+
details: {
|
|
140
|
+
primary: [
|
|
141
|
+
{
|
|
142
|
+
field: 'Description',
|
|
143
|
+
value: 'Returns max of two numbers'
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
field: 'Scope',
|
|
147
|
+
value: 'Math'
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
field: 'Namespace',
|
|
151
|
+
value: 'py'
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
output: [
|
|
155
|
+
{
|
|
156
|
+
field: 'max',
|
|
157
|
+
value: 'Number'
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
input: [
|
|
161
|
+
{
|
|
162
|
+
id: 'param1',
|
|
163
|
+
field: 'Param 1',
|
|
164
|
+
type: 'number'
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: 'param2',
|
|
168
|
+
field: 'Param 2',
|
|
169
|
+
type: 'number'
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: createUID(),
|
|
176
|
+
testId: createUID(),
|
|
177
|
+
primary: 'Min',
|
|
178
|
+
type: 'Function',
|
|
179
|
+
expression: 'Math@Function:min()',
|
|
180
|
+
details: {
|
|
181
|
+
primary: [
|
|
182
|
+
{
|
|
183
|
+
field: 'Description',
|
|
184
|
+
value: 'Return min of two numbers'
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
field: 'Scope',
|
|
188
|
+
value: 'Math'
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
field: 'Namespace',
|
|
192
|
+
value: 'py'
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
output: [
|
|
196
|
+
{
|
|
197
|
+
field: 'min',
|
|
198
|
+
value: 'Number'
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
input: [
|
|
202
|
+
{
|
|
203
|
+
id: 'param1',
|
|
204
|
+
field: 'Param 1',
|
|
205
|
+
type: 'number'
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
id: 'param2',
|
|
209
|
+
field: 'Param 2',
|
|
210
|
+
type: 'number'
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
id: createUID(),
|
|
217
|
+
testId: createUID(),
|
|
218
|
+
primary: 'Sum',
|
|
219
|
+
type: 'Function',
|
|
220
|
+
expression: 'Math@Function:sum()',
|
|
221
|
+
details: {
|
|
222
|
+
primary: [
|
|
223
|
+
{
|
|
224
|
+
field: 'Description',
|
|
225
|
+
value: 'Return sum of two numbers'
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
field: 'Scope',
|
|
229
|
+
value: 'Math'
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
field: 'Namespace',
|
|
233
|
+
value: 'py'
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
output: [
|
|
237
|
+
{
|
|
238
|
+
field: 'sum',
|
|
239
|
+
value: 'Number'
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
input: [
|
|
243
|
+
{
|
|
244
|
+
id: 'param1',
|
|
245
|
+
field: 'Param 1',
|
|
246
|
+
type: 'number'
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
id: 'param2',
|
|
250
|
+
field: 'Param 2',
|
|
251
|
+
type: 'number'
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
id: createUID(),
|
|
258
|
+
testId: createUID(),
|
|
259
|
+
primary: 'Absolute',
|
|
260
|
+
type: 'Function',
|
|
261
|
+
expression: 'Math@Function:abs()',
|
|
262
|
+
details: {
|
|
263
|
+
primary: [
|
|
264
|
+
{
|
|
265
|
+
field: 'Description',
|
|
266
|
+
value: 'Return absolute value of a number'
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
field: 'Scope',
|
|
270
|
+
value: 'Math'
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
field: 'Namespace',
|
|
274
|
+
value: 'py'
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
output: [
|
|
278
|
+
{
|
|
279
|
+
field: 'abs',
|
|
280
|
+
value: 'Number'
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
input: [
|
|
284
|
+
{
|
|
285
|
+
id: 'param1',
|
|
286
|
+
field: 'Param 1',
|
|
287
|
+
type: 'number'
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
id: createUID(),
|
|
294
|
+
testId: createUID(),
|
|
295
|
+
primary: 'Square root',
|
|
296
|
+
type: 'Function',
|
|
297
|
+
expression: 'Math@Function:sqrt()',
|
|
298
|
+
details: {
|
|
299
|
+
primary: [
|
|
300
|
+
{
|
|
301
|
+
field: 'Description',
|
|
302
|
+
value: 'Return square root of a number'
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
field: 'Scope',
|
|
306
|
+
value: 'Math'
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
field: 'Namespace',
|
|
310
|
+
value: 'py'
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
output: [
|
|
314
|
+
{
|
|
315
|
+
field: 'squareRoot',
|
|
316
|
+
value: 'Number'
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
input: [
|
|
320
|
+
{
|
|
321
|
+
id: 'param1',
|
|
322
|
+
field: 'Param 1',
|
|
323
|
+
type: 'number'
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
id: createUID(),
|
|
330
|
+
testId: createUID(),
|
|
331
|
+
primary: 'Average',
|
|
332
|
+
type: 'Function',
|
|
333
|
+
expression: 'Math@Function:average()',
|
|
334
|
+
details: {
|
|
335
|
+
primary: [
|
|
336
|
+
{
|
|
337
|
+
field: 'Description',
|
|
338
|
+
value: 'Return average value of two number'
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
field: 'Scope',
|
|
342
|
+
value: 'Math'
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
field: 'Namespace',
|
|
346
|
+
value: 'py'
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
output: [
|
|
350
|
+
{
|
|
351
|
+
field: 'average',
|
|
352
|
+
value: 'Number'
|
|
353
|
+
}
|
|
354
|
+
],
|
|
355
|
+
input: [
|
|
356
|
+
{
|
|
357
|
+
id: 'param1',
|
|
358
|
+
field: 'Param 1',
|
|
359
|
+
type: 'number'
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
id: 'param2',
|
|
363
|
+
field: 'Param 2',
|
|
364
|
+
type: 'number'
|
|
365
|
+
}
|
|
366
|
+
]
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
id: createUID(),
|
|
371
|
+
testId: createUID(),
|
|
372
|
+
primary: 'Year',
|
|
373
|
+
type: 'Function',
|
|
374
|
+
expression: 'Date@Function:Year()',
|
|
375
|
+
details: {
|
|
376
|
+
primary: [
|
|
377
|
+
{
|
|
378
|
+
field: 'Description',
|
|
379
|
+
value: 'Returns the integer year value of given date/datetime'
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
field: 'Scope',
|
|
383
|
+
value: 'Date'
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
field: 'Namespace',
|
|
387
|
+
value: 'py'
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
output: [
|
|
391
|
+
{
|
|
392
|
+
field: 'Date',
|
|
393
|
+
value: 'Date'
|
|
394
|
+
}
|
|
395
|
+
],
|
|
396
|
+
input: [
|
|
397
|
+
{
|
|
398
|
+
id: 'param1',
|
|
399
|
+
field: 'Param 1',
|
|
400
|
+
type: 'Date'
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
id: createUID(),
|
|
407
|
+
testId: createUID(),
|
|
408
|
+
primary: 'Month',
|
|
409
|
+
type: 'Function',
|
|
410
|
+
expression: 'Date@Function:Month()',
|
|
411
|
+
details: {
|
|
412
|
+
primary: [
|
|
413
|
+
{
|
|
414
|
+
field: 'Description',
|
|
415
|
+
value: 'Returns the integer month value of given date/datetime'
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
field: 'Scope',
|
|
419
|
+
value: 'Date'
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
field: 'Namespace',
|
|
423
|
+
value: 'py'
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
output: [
|
|
427
|
+
{
|
|
428
|
+
field: 'Date',
|
|
429
|
+
value: 'Date'
|
|
430
|
+
}
|
|
431
|
+
],
|
|
432
|
+
input: [
|
|
433
|
+
{
|
|
434
|
+
id: 'param1',
|
|
435
|
+
field: 'Param 1',
|
|
436
|
+
type: 'Date'
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
id: createUID(),
|
|
443
|
+
testId: createUID(),
|
|
444
|
+
primary: 'Is the current browser Firefox',
|
|
445
|
+
type: 'When',
|
|
446
|
+
expression: '@isFirefox',
|
|
447
|
+
details: {
|
|
448
|
+
primary: [
|
|
449
|
+
{
|
|
450
|
+
field: 'Description',
|
|
451
|
+
value: 'Return true if the current browser is Firefox'
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
field: 'Scope',
|
|
455
|
+
value: 'base'
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
field: 'Namespace',
|
|
459
|
+
value: 'py'
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
output: [
|
|
463
|
+
{
|
|
464
|
+
field: 'isFirefox',
|
|
465
|
+
value: 'Boolean'
|
|
466
|
+
}
|
|
467
|
+
]
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
id: createUID(),
|
|
472
|
+
testId: createUID(),
|
|
473
|
+
primary: 'Is the current browser Internet Explorer',
|
|
474
|
+
type: 'When',
|
|
475
|
+
expression: '@isIE',
|
|
476
|
+
details: {
|
|
477
|
+
primary: [
|
|
478
|
+
{
|
|
479
|
+
field: 'Description',
|
|
480
|
+
value: 'Return true if the current browser is IE'
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
field: 'Scope',
|
|
484
|
+
value: 'base'
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
field: 'Namespace',
|
|
488
|
+
value: 'py'
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
output: [
|
|
492
|
+
{
|
|
493
|
+
field: 'isIE',
|
|
494
|
+
value: 'Boolean'
|
|
495
|
+
}
|
|
496
|
+
]
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
];
|
|
500
|
+
export const suggestedFields = items
|
|
501
|
+
.filter(item => item.type === 'Field')
|
|
502
|
+
.map(item => ({
|
|
503
|
+
primary: item.expression.substring(1),
|
|
504
|
+
id: item.expression,
|
|
505
|
+
secondary: [`class: ${item.details.primary.find(({ field }) => field === 'Scope')?.value}`]
|
|
506
|
+
}));
|
|
507
|
+
export const getScopeFromPosition = (cursorPosition, autoCompleteTrigger, value) => {
|
|
508
|
+
const cursorLineText = value.split('\n')[cursorPosition.line];
|
|
509
|
+
const textTillCursorPos = cursorLineText.substring(0, cursorPosition.ch);
|
|
510
|
+
let start = textTillCursorPos?.lastIndexOf(' ');
|
|
511
|
+
if (start === -1) {
|
|
512
|
+
start = 0;
|
|
513
|
+
}
|
|
514
|
+
const currentWord = textTillCursorPos.substring(start, cursorPosition.ch);
|
|
515
|
+
let regexp;
|
|
516
|
+
if (autoCompleteTrigger === '.') {
|
|
517
|
+
regexp = /[\w$]*(\.+[\w$)[\](]*)+/g;
|
|
518
|
+
}
|
|
519
|
+
else {
|
|
520
|
+
regexp = /[\w@'-]*[@:]/g;
|
|
521
|
+
}
|
|
522
|
+
const tokenArray = [...currentWord.matchAll(regexp)];
|
|
523
|
+
let queryToken = '';
|
|
524
|
+
if (tokenArray.length > 0) {
|
|
525
|
+
const queryString = tokenArray[tokenArray.length - 1][0];
|
|
526
|
+
queryToken = queryString.substring(0, queryString.length - 1);
|
|
527
|
+
}
|
|
528
|
+
return queryToken;
|
|
529
|
+
};
|
|
530
|
+
export const getSuggestedFunction = (scope) => {
|
|
531
|
+
const functionList = items.filter(item => item.type === 'Function');
|
|
532
|
+
let scopeBasedList = functionList;
|
|
533
|
+
if (scope !== '') {
|
|
534
|
+
scopeBasedList = functionList.filter(item => item.details.primary.find(obj => obj.field === 'Scope')?.value === scope);
|
|
535
|
+
}
|
|
536
|
+
return scopeBasedList.map(item => {
|
|
537
|
+
const expressionList = item.expression.split(':');
|
|
538
|
+
const paramString = item.details.input
|
|
539
|
+
?.map(param => {
|
|
540
|
+
return param.id;
|
|
541
|
+
})
|
|
542
|
+
.join(',');
|
|
543
|
+
const expression = expressionList[expressionList.length - 1];
|
|
544
|
+
const id = `${expression.slice(0, expression.length - 1)}${paramString})`;
|
|
545
|
+
return {
|
|
546
|
+
primary: expression.substring(0, expression.length - 2),
|
|
547
|
+
id: `:${id}`,
|
|
548
|
+
secondary: [`Scope: ${item.details.primary.find(({ field }) => field === 'Scope')?.value}`]
|
|
549
|
+
};
|
|
550
|
+
});
|
|
551
|
+
};
|
|
552
|
+
export const suggestedRuleType = ['@Automation:', '@Function:', '@Decision:', '@When:'].map(item => ({
|
|
553
|
+
primary: item.substring(1, item.length - 1),
|
|
554
|
+
id: item
|
|
555
|
+
}));
|
|
556
|
+
export const inLineErrorsMocks = [
|
|
557
|
+
{
|
|
558
|
+
start: { line: 0, ch: 14 },
|
|
559
|
+
end: { line: 0, ch: 17 },
|
|
560
|
+
messages: ['Max function accepts 2 arguments']
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
start: { line: 0, ch: 0 },
|
|
564
|
+
end: { line: 0, ch: 4 },
|
|
565
|
+
messages: ['Scope should be different', 'Math@ is not correct']
|
|
566
|
+
}
|
|
567
|
+
];
|
|
568
|
+
//# sourceMappingURL=ExpressionBuilder.mocks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpressionBuilder.mocks.js","sourceRoot":"","sources":["../../../src/build/ExpressionBuilder/ExpressionBuilder.mocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAOpD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,UAAkB,EAAE,EAAE;IACnD,OAAO,IAAI,MAAM,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC,uBAAuB,EAAE,MAAM,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;AACnF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GACjB,kHAAkH,CAAC;AAErH,MA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C,EAAE,EAAE,IAAI;CACT,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAA2C;IACvE;QACE,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE;QAC1B,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE;QACxB,QAAQ,EAAE,CAAC,kCAAkC,CAAC;KAC/C;IACD;QACE,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE;QACzB,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE;QACvB,QAAQ,EAAE,CAAC,2BAA2B,EAAE,sBAAsB,CAAC;KAChE;CACF,CAAC","sourcesContent":["import { createUID } from '@pega/cosmos-react-core';\nimport type {\n AutoCompleteTriggerChar,\n CursorPosition,\n ExpressionBuilderProps\n} from '@pega/cosmos-react-build';\n\nexport const getFilterRegex = (inputValue: string) => {\n return new RegExp(`${inputValue.replace(/[.*+\\-?^${}()|[\\]\\\\]/g, '\\\\$&')}`, 'i');\n};\n\nexport const errors =\n 'Error message 1. Some unrealistic error message. Server unreachable. Check your network connection and try again';\n\nexport const items = [\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Validate loan value',\n type: 'Decision',\n expression: '@validateLoanValue()',\n details: {\n primary: [\n {\n field: 'Description',\n value:\n 'Function to validate loan value through simple interest or compound interest based on user choice'\n },\n {\n field: 'Scope',\n value: 'CCDBankLoan'\n },\n {\n field: 'Namespace',\n value: 'px'\n }\n ],\n output: [\n {\n field: 'isValid',\n value: 'Boolean'\n }\n ],\n input: [\n {\n id: 'accountNumber',\n field: 'Account number',\n type: 'text'\n },\n {\n id: 'term',\n field: 'Term in years',\n type: 'number'\n },\n {\n id: 'accountType',\n field: 'Account type',\n type: 'text'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Loan amount under 100k',\n type: 'When',\n expression: '@isLoanAmountUnder100k()',\n details: {\n primary: [\n {\n field: 'Scope',\n value: 'CCDBankLoan'\n },\n {\n field: 'Namespace',\n value: 'px'\n }\n ],\n output: [\n {\n field: 'isUnder100k',\n value: 'Boolean'\n }\n ],\n input: [\n {\n id: 'accountNumber',\n field: 'Account number',\n type: 'text'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Loan number',\n type: 'Field',\n expression: '.loanNumber',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Loan account number of current customer'\n },\n {\n field: 'Scope',\n value: 'CCDBankLoan'\n },\n {\n field: 'Namespace',\n value: 'px'\n }\n ],\n output: []\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Customer name',\n type: 'Field',\n expression: '.customerName',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Fullname of current customer'\n },\n {\n field: 'Scope',\n value: 'CCDBankLoan'\n },\n {\n field: 'Namespace',\n value: 'px'\n }\n ],\n output: []\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Max',\n type: 'Function',\n expression: 'Math@Function:max()',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Returns max of two numbers'\n },\n {\n field: 'Scope',\n value: 'Math'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'max',\n value: 'Number'\n }\n ],\n input: [\n {\n id: 'param1',\n field: 'Param 1',\n type: 'number'\n },\n {\n id: 'param2',\n field: 'Param 2',\n type: 'number'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Min',\n type: 'Function',\n expression: 'Math@Function:min()',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Return min of two numbers'\n },\n {\n field: 'Scope',\n value: 'Math'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'min',\n value: 'Number'\n }\n ],\n input: [\n {\n id: 'param1',\n field: 'Param 1',\n type: 'number'\n },\n {\n id: 'param2',\n field: 'Param 2',\n type: 'number'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Sum',\n type: 'Function',\n expression: 'Math@Function:sum()',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Return sum of two numbers'\n },\n {\n field: 'Scope',\n value: 'Math'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'sum',\n value: 'Number'\n }\n ],\n input: [\n {\n id: 'param1',\n field: 'Param 1',\n type: 'number'\n },\n {\n id: 'param2',\n field: 'Param 2',\n type: 'number'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Absolute',\n type: 'Function',\n expression: 'Math@Function:abs()',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Return absolute value of a number'\n },\n {\n field: 'Scope',\n value: 'Math'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'abs',\n value: 'Number'\n }\n ],\n input: [\n {\n id: 'param1',\n field: 'Param 1',\n type: 'number'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Square root',\n type: 'Function',\n expression: 'Math@Function:sqrt()',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Return square root of a number'\n },\n {\n field: 'Scope',\n value: 'Math'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'squareRoot',\n value: 'Number'\n }\n ],\n input: [\n {\n id: 'param1',\n field: 'Param 1',\n type: 'number'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Average',\n type: 'Function',\n expression: 'Math@Function:average()',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Return average value of two number'\n },\n {\n field: 'Scope',\n value: 'Math'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'average',\n value: 'Number'\n }\n ],\n input: [\n {\n id: 'param1',\n field: 'Param 1',\n type: 'number'\n },\n {\n id: 'param2',\n field: 'Param 2',\n type: 'number'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Year',\n type: 'Function',\n expression: 'Date@Function:Year()',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Returns the integer year value of given date/datetime'\n },\n {\n field: 'Scope',\n value: 'Date'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'Date',\n value: 'Date'\n }\n ],\n input: [\n {\n id: 'param1',\n field: 'Param 1',\n type: 'Date'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Month',\n type: 'Function',\n expression: 'Date@Function:Month()',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Returns the integer month value of given date/datetime'\n },\n {\n field: 'Scope',\n value: 'Date'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'Date',\n value: 'Date'\n }\n ],\n input: [\n {\n id: 'param1',\n field: 'Param 1',\n type: 'Date'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Is the current browser Firefox',\n type: 'When',\n expression: '@isFirefox',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Return true if the current browser is Firefox'\n },\n {\n field: 'Scope',\n value: 'base'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'isFirefox',\n value: 'Boolean'\n }\n ]\n }\n },\n {\n id: createUID(),\n testId: createUID(),\n primary: 'Is the current browser Internet Explorer',\n type: 'When',\n expression: '@isIE',\n details: {\n primary: [\n {\n field: 'Description',\n value: 'Return true if the current browser is IE'\n },\n {\n field: 'Scope',\n value: 'base'\n },\n {\n field: 'Namespace',\n value: 'py'\n }\n ],\n output: [\n {\n field: 'isIE',\n value: 'Boolean'\n }\n ]\n }\n }\n];\n\nexport const suggestedFields = items\n .filter(item => item.type === 'Field')\n .map(item => ({\n primary: item.expression.substring(1),\n id: item.expression,\n secondary: [`class: ${item.details.primary.find(({ field }) => field === 'Scope')?.value}`]\n }));\n\nexport const getScopeFromPosition = (\n cursorPosition: CursorPosition,\n autoCompleteTrigger: AutoCompleteTriggerChar,\n value: string\n): string => {\n const cursorLineText = value.split('\\n')[cursorPosition.line];\n const textTillCursorPos = cursorLineText.substring(0, cursorPosition.ch);\n let start = textTillCursorPos?.lastIndexOf(' ');\n if (start === -1) {\n start = 0;\n }\n const currentWord = textTillCursorPos.substring(start, cursorPosition.ch);\n\n let regexp;\n if (autoCompleteTrigger === '.') {\n regexp = /[\\w$]*(\\.+[\\w$)[\\](]*)+/g;\n } else {\n regexp = /[\\w@'-]*[@:]/g;\n }\n\n const tokenArray = [...currentWord.matchAll(regexp)];\n let queryToken = '';\n if (tokenArray.length > 0) {\n const queryString = tokenArray[tokenArray.length - 1][0];\n queryToken = queryString.substring(0, queryString.length - 1);\n }\n return queryToken;\n};\n\nexport const getSuggestedFunction = (scope: string) => {\n const functionList = items.filter(item => item.type === 'Function');\n\n let scopeBasedList = functionList;\n if (scope !== '') {\n scopeBasedList = functionList.filter(\n item => item.details.primary.find(obj => obj.field === 'Scope')?.value === scope\n );\n }\n\n return scopeBasedList.map(item => {\n const expressionList = item.expression.split(':');\n const paramString = item.details.input\n ?.map(param => {\n return param.id;\n })\n .join(',');\n const expression = expressionList[expressionList.length - 1];\n const id = `${expression.slice(0, expression.length - 1)}${paramString})`;\n return {\n primary: expression.substring(0, expression.length - 2),\n id: `:${id}`,\n secondary: [`Scope: ${item.details.primary.find(({ field }) => field === 'Scope')?.value}`]\n };\n });\n};\n\nexport const suggestedRuleType = ['@Automation:', '@Function:', '@Decision:', '@When:'].map(\n item => ({\n primary: item.substring(1, item.length - 1),\n id: item\n })\n);\n\nexport const inLineErrorsMocks: ExpressionBuilderProps['inLineErrors'] = [\n {\n start: { line: 0, ch: 14 },\n end: { line: 0, ch: 17 },\n messages: ['Max function accepts 2 arguments']\n },\n {\n start: { line: 0, ch: 0 },\n end: { line: 0, ch: 4 },\n messages: ['Scope should be different', 'Math@ is not correct']\n }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