@pega/react-sdk-components 23.1.12 → 24.1.10
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/lib/bridge/react_pconnect.d.ts.map +1 -1
- package/lib/bridge/react_pconnect.js +136 -140
- package/lib/bridge/react_pconnect.js.map +1 -1
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.d.ts +1 -2
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.d.ts.map +1 -1
- package/lib/components/designSystemExtension/Banner/Banner.d.ts +1 -2
- package/lib/components/designSystemExtension/Banner/Banner.d.ts.map +1 -1
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts +1 -2
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts.map +1 -1
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js +2 -2
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js.map +1 -1
- package/lib/components/designSystemExtension/DetailsFields/DetailsFields.d.ts +1 -2
- package/lib/components/designSystemExtension/DetailsFields/DetailsFields.d.ts.map +1 -1
- package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts +1 -1
- package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts.map +1 -1
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.d.ts +1 -2
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.d.ts.map +1 -1
- package/lib/components/designSystemExtension/FieldValueList/FieldValueList.d.ts +1 -2
- package/lib/components/designSystemExtension/FieldValueList/FieldValueList.d.ts.map +1 -1
- package/lib/components/designSystemExtension/Operator/Operator.d.ts +1 -2
- package/lib/components/designSystemExtension/Operator/Operator.d.ts.map +1 -1
- package/lib/components/designSystemExtension/Pulse/Pulse.d.ts +1 -1
- package/lib/components/designSystemExtension/Pulse/Pulse.d.ts.map +1 -1
- package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.d.ts +1 -2
- package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.d.ts.map +1 -1
- package/lib/components/field/AutoComplete/AutoComplete.d.ts +1 -2
- package/lib/components/field/AutoComplete/AutoComplete.d.ts.map +1 -1
- package/lib/components/field/CancelAlert/CancelAlert.d.ts +1 -2
- package/lib/components/field/CancelAlert/CancelAlert.d.ts.map +1 -1
- package/lib/components/field/CancelAlert/CancelAlert.js +2 -0
- package/lib/components/field/CancelAlert/CancelAlert.js.map +1 -1
- package/lib/components/field/Checkbox/Checkbox.d.ts +1 -2
- package/lib/components/field/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/field/Currency/Currency.d.ts +2 -2
- package/lib/components/field/Currency/Currency.d.ts.map +1 -1
- package/lib/components/field/Currency/Currency.js +19 -8
- package/lib/components/field/Currency/Currency.js.map +1 -1
- package/lib/components/field/Date/Date.d.ts +1 -2
- package/lib/components/field/Date/Date.d.ts.map +1 -1
- package/lib/components/field/DateTime/DateTime.d.ts +1 -2
- package/lib/components/field/DateTime/DateTime.d.ts.map +1 -1
- package/lib/components/field/Decimal/Decimal.d.ts +2 -3
- package/lib/components/field/Decimal/Decimal.d.ts.map +1 -1
- package/lib/components/field/Decimal/Decimal.js +17 -5
- package/lib/components/field/Decimal/Decimal.js.map +1 -1
- package/lib/components/field/Dropdown/Dropdown.d.ts +1 -2
- package/lib/components/field/Dropdown/Dropdown.d.ts.map +1 -1
- package/lib/components/field/Email/Email.d.ts +1 -2
- package/lib/components/field/Email/Email.d.ts.map +1 -1
- package/lib/components/field/Group/Group.d.ts +1 -1
- package/lib/components/field/Group/Group.d.ts.map +1 -1
- package/lib/components/field/Integer/Integer.d.ts +1 -2
- package/lib/components/field/Integer/Integer.d.ts.map +1 -1
- package/lib/components/field/Multiselect/Multiselect.d.ts +2 -0
- package/lib/components/field/Multiselect/Multiselect.d.ts.map +1 -0
- package/lib/components/field/{MultiSelect → Multiselect}/Multiselect.js.map +1 -1
- package/lib/components/field/Multiselect/index.d.ts.map +1 -0
- package/lib/components/field/{MultiSelect → Multiselect}/index.js.map +1 -1
- package/lib/components/field/{MultiSelect → Multiselect}/utils.d.ts.map +1 -1
- package/lib/components/field/{MultiSelect → Multiselect}/utils.js.map +1 -1
- package/lib/components/field/Percentage/Percentage.d.ts +3 -2
- package/lib/components/field/Percentage/Percentage.d.ts.map +1 -1
- package/lib/components/field/Percentage/Percentage.js +17 -8
- package/lib/components/field/Percentage/Percentage.js.map +1 -1
- package/lib/components/field/Phone/Phone.d.ts +1 -2
- package/lib/components/field/Phone/Phone.d.ts.map +1 -1
- package/lib/components/field/Phone/Phone.js +13 -7
- package/lib/components/field/Phone/Phone.js.map +1 -1
- package/lib/components/field/RadioButtons/RadioButtons.d.ts +1 -2
- package/lib/components/field/RadioButtons/RadioButtons.d.ts.map +1 -1
- package/lib/components/field/ScalarList/ScalarList.d.ts +1 -2
- package/lib/components/field/ScalarList/ScalarList.d.ts.map +1 -1
- package/lib/components/field/ScalarList/ScalarList.js +2 -0
- package/lib/components/field/ScalarList/ScalarList.js.map +1 -1
- package/lib/components/field/SemanticLink/SemanticLink.d.ts +1 -2
- package/lib/components/field/SemanticLink/SemanticLink.d.ts.map +1 -1
- package/lib/components/field/TextArea/TextArea.d.ts +1 -2
- package/lib/components/field/TextArea/TextArea.d.ts.map +1 -1
- package/lib/components/field/TextContent/TextContent.d.ts +1 -2
- package/lib/components/field/TextContent/TextContent.d.ts.map +1 -1
- package/lib/components/field/TextInput/TextInput.d.ts +1 -2
- package/lib/components/field/TextInput/TextInput.d.ts.map +1 -1
- package/lib/components/field/Time/Time.d.ts +1 -2
- package/lib/components/field/Time/Time.d.ts.map +1 -1
- package/lib/components/field/URL/URL.d.ts +1 -2
- package/lib/components/field/URL/URL.d.ts.map +1 -1
- package/lib/components/field/UserReference/UserReference.d.ts +1 -0
- package/lib/components/field/UserReference/UserReference.d.ts.map +1 -1
- package/lib/components/field/UserReference/UserReference.js +8 -1
- package/lib/components/field/UserReference/UserReference.js.map +1 -1
- package/lib/components/helpers/common-utils.d.ts +0 -1
- package/lib/components/helpers/common-utils.d.ts.map +1 -1
- package/lib/components/helpers/common-utils.js +1 -4
- package/lib/components/helpers/common-utils.js.map +1 -1
- package/lib/components/helpers/formatters/common.d.ts +2 -2
- package/lib/components/helpers/formatters/common.d.ts.map +1 -1
- package/lib/components/helpers/state-utils.d.ts +1 -2
- package/lib/components/helpers/state-utils.d.ts.map +1 -1
- package/lib/components/infra/ActionButtons/ActionButtons.d.ts +1 -2
- package/lib/components/infra/ActionButtons/ActionButtons.d.ts.map +1 -1
- package/lib/components/infra/Assignment/Assignment.d.ts +1 -1
- package/lib/components/infra/Assignment/Assignment.d.ts.map +1 -1
- package/lib/components/infra/Assignment/Assignment.js +22 -1
- package/lib/components/infra/Assignment/Assignment.js.map +1 -1
- package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts +1 -1
- package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts.map +1 -1
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts +2 -2
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts.map +1 -1
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js +2 -1
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js.map +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.d.ts +1 -2
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.d.ts.map +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts +1 -2
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts.map +1 -1
- package/lib/components/infra/Containers/SimpleView/SimpleView.d.ts +3 -3
- package/lib/components/infra/Containers/SimpleView/SimpleView.d.ts.map +1 -1
- package/lib/components/infra/Containers/SimpleView/helper.d.ts +3 -3
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts +1 -2
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts.map +1 -1
- package/lib/components/infra/Containers/helpers.d.ts +1 -1
- package/lib/components/infra/Containers/helpers.d.ts.map +1 -1
- package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts +1 -1
- package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts.map +1 -1
- package/lib/components/infra/DashboardFilter/DashboardFilter.js +1 -1
- package/lib/components/infra/DashboardFilter/DashboardFilter.js.map +1 -1
- package/lib/components/infra/DashboardFilter/filterUtils.d.ts +1 -2
- package/lib/components/infra/DashboardFilter/filterUtils.d.ts.map +1 -1
- package/lib/components/infra/DeferLoad/DeferLoad.d.ts.map +1 -1
- package/lib/components/infra/DeferLoad/DeferLoad.js +5 -1
- package/lib/components/infra/DeferLoad/DeferLoad.js.map +1 -1
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts +1 -2
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
- package/lib/components/infra/MultiStep/MultiStep.d.ts +1 -1
- package/lib/components/infra/MultiStep/MultiStep.d.ts.map +1 -1
- package/lib/components/infra/MultiStep/MultiStep.js +1 -1
- package/lib/components/infra/MultiStep/MultiStep.js.map +1 -1
- package/lib/components/infra/NavBar/NavBar.d.ts +1 -2
- package/lib/components/infra/NavBar/NavBar.d.ts.map +1 -1
- package/lib/components/infra/NavBar/NavBar.js +1 -1
- package/lib/components/infra/NavBar/NavBar.js.map +1 -1
- package/lib/components/infra/Reference/Reference.d.ts +1 -2
- package/lib/components/infra/Reference/Reference.d.ts.map +1 -1
- package/lib/components/infra/Region/Region.d.ts +1 -1
- package/lib/components/infra/Region/Region.d.ts.map +1 -1
- package/lib/components/infra/Stages/Stages.d.ts +1 -2
- package/lib/components/infra/Stages/Stages.d.ts.map +1 -1
- package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.d.ts +1 -2
- package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.d.ts.map +1 -1
- package/lib/components/infra/View/View.d.ts +1 -1
- package/lib/components/infra/View/View.d.ts.map +1 -1
- package/lib/components/template/AppShell/AppShell.d.ts +1 -1
- package/lib/components/template/AppShell/AppShell.d.ts.map +1 -1
- package/lib/components/template/BannerPage/BannerPage.d.ts +1 -1
- package/lib/components/template/BannerPage/BannerPage.d.ts.map +1 -1
- package/lib/components/template/CaseSummary/CaseSummary.d.ts +1 -1
- package/lib/components/template/CaseSummary/CaseSummary.d.ts.map +1 -1
- package/lib/components/template/CaseView/CaseView.d.ts +1 -1
- package/lib/components/template/CaseView/CaseView.d.ts.map +1 -1
- package/lib/components/template/CaseView/CaseView.js +2 -2
- package/lib/components/template/CaseView/CaseView.js.map +1 -1
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts +1 -2
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts.map +1 -1
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js +1 -1
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js.map +1 -1
- package/lib/components/template/Confirmation/Confirmation.d.ts +1 -1
- package/lib/components/template/Confirmation/Confirmation.d.ts.map +1 -1
- package/lib/components/template/DataReference/DataReference.d.ts +1 -1
- package/lib/components/template/DataReference/DataReference.d.ts.map +1 -1
- package/lib/components/template/DataReference/DataReference.js +1 -1
- package/lib/components/template/DataReference/DataReference.js.map +1 -1
- package/lib/components/template/DefaultForm/DefaultForm.d.ts +1 -1
- package/lib/components/template/DefaultForm/DefaultForm.d.ts.map +1 -1
- package/lib/components/template/DefaultForm/utils/index.d.ts.map +1 -1
- package/lib/components/template/DefaultForm/utils/index.js +2 -6
- package/lib/components/template/DefaultForm/utils/index.js.map +1 -1
- package/lib/components/template/Details/Details/Details.d.ts +1 -2
- package/lib/components/template/Details/Details/Details.d.ts.map +1 -1
- package/lib/components/template/Details/Details/Details.js +1 -1
- package/lib/components/template/Details/Details/Details.js.map +1 -1
- package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts +1 -1
- package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts.map +1 -1
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts +1 -2
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts.map +1 -1
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js +1 -1
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js.map +1 -1
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts +1 -2
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts.map +1 -1
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js +1 -1
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js.map +1 -1
- package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts +1 -2
- package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts.map +1 -1
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts +1 -2
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +1 -1
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js +2 -0
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js.map +1 -1
- package/lib/components/template/InlineDashboard/InlineDashboard.d.ts +1 -1
- package/lib/components/template/InlineDashboard/InlineDashboard.d.ts.map +1 -1
- package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts +1 -1
- package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts.map +1 -1
- package/lib/components/template/ListPage/ListPage.d.ts +1 -2
- package/lib/components/template/ListPage/ListPage.d.ts.map +1 -1
- package/lib/components/template/ListView/ListView.d.ts +1 -2
- package/lib/components/template/ListView/ListView.d.ts.map +1 -1
- package/lib/components/template/ListView/ListView.js +19 -26
- package/lib/components/template/ListView/ListView.js.map +1 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts +1 -2
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +1 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js +1 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts +1 -1
- package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts +1 -2
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js +1 -1
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts +1 -1
- package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts +1 -1
- package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts.map +1 -1
- package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts +1 -1
- package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts.map +1 -1
- package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts +1 -2
- package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts.map +1 -1
- package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts +1 -1
- package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts.map +1 -1
- package/lib/components/template/PromotedFilters/PromotedFilters.d.ts +1 -2
- package/lib/components/template/PromotedFilters/PromotedFilters.d.ts.map +1 -1
- package/lib/components/template/PromotedFilters/PromotedFilters.js +1 -0
- package/lib/components/template/PromotedFilters/PromotedFilters.js.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts +1 -2
- package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts +1 -1
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js +4 -0
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts +1 -2
- package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts.map +1 -1
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts +1 -2
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts.map +1 -1
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js +1 -1
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js.map +1 -1
- package/lib/components/template/SubTabs/SubTabs.d.ts +1 -1
- package/lib/components/template/SubTabs/SubTabs.d.ts.map +1 -1
- package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts +1 -1
- package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts.map +1 -1
- package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts +1 -2
- package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +1 -1
- package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts +1 -1
- package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts +1 -1
- package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts +1 -2
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js +1 -1
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts +1 -1
- package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts +1 -1
- package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts.map +1 -1
- package/lib/components/template/WssNavBar/WssNavBar.d.ts +1 -2
- package/lib/components/template/WssNavBar/WssNavBar.d.ts.map +1 -1
- package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts +1 -2
- package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts.map +1 -1
- package/lib/components/widget/Attachment/Attachment.d.ts +1 -2
- package/lib/components/widget/Attachment/Attachment.d.ts.map +1 -1
- package/lib/components/widget/Attachment/Attachment.js +3 -2
- package/lib/components/widget/Attachment/Attachment.js.map +1 -1
- package/lib/components/widget/CaseHistory/CaseHistory.d.ts +1 -2
- package/lib/components/widget/CaseHistory/CaseHistory.d.ts.map +1 -1
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts +1 -2
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts.map +1 -1
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts +1 -2
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts.map +1 -1
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.js +1 -1
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.js.map +1 -1
- package/lib/components/widget/Followers/Followers.d.ts +1 -1
- package/lib/components/widget/Followers/Followers.d.ts.map +1 -1
- package/lib/components/widget/QuickCreate/QuickCreate.d.ts +1 -2
- package/lib/components/widget/QuickCreate/QuickCreate.d.ts.map +1 -1
- package/lib/components/widget/QuickCreate/QuickCreate.js +1 -0
- package/lib/components/widget/QuickCreate/QuickCreate.js.map +1 -1
- package/lib/components/widget/SummaryItem/SummaryItem.d.ts +1 -2
- package/lib/components/widget/SummaryItem/SummaryItem.d.ts.map +1 -1
- package/lib/components/widget/SummaryList/SummaryList.d.ts +1 -2
- package/lib/components/widget/SummaryList/SummaryList.d.ts.map +1 -1
- package/lib/components/widget/ToDo/ToDo.d.ts +1 -2
- package/lib/components/widget/ToDo/ToDo.d.ts.map +1 -1
- package/lib/doc/KeyReleaseUpdates.md +19 -7
- package/lib/sdk-pega-component-map.d.ts +1 -1
- package/lib/sdk-pega-component-map.js +1 -1
- package/lib/sdk-pega-component-map.js.map +1 -1
- package/package.json +1 -1
- package/lib/components/field/MultiSelect/Multiselect.d.ts +0 -3
- package/lib/components/field/MultiSelect/Multiselect.d.ts.map +0 -1
- package/lib/components/field/MultiSelect/index.d.ts.map +0 -1
- /package/lib/components/field/{MultiSelect → Multiselect}/Multiselect.js +0 -0
- /package/lib/components/field/{MultiSelect → Multiselect}/index.d.ts +0 -0
- /package/lib/components/field/{MultiSelect → Multiselect}/index.js +0 -0
- /package/lib/components/field/{MultiSelect → Multiselect}/utils.d.ts +0 -0
- /package/lib/components/field/{MultiSelect → Multiselect}/utils.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUtility.js","sourceRoot":"","sources":["../../../../../src/components/widget/FileUtility/FileUtility/FileUtility.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,+CAA+C;AAC/C,sEAAsE;AACtE,OAAO,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,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,EAAC,WAAW,EACnB,SAAS,EAAC,MAAM,EAChB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,IAAI,CAAC,OAAO,YAErB,QAAQ,CAAC,iBAAiB,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,CAAC,GACxC,EAAC,GAAG,IAET,IACF,EACL,QAAQ,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CAChC,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,YAC/B,KAAC,WAAW,yBAAmB,OAAO,cAAW,QAAQ,CAAC,SAAS,6BAA2B,mBAAmB,GAAI,GACjH,CACP,EACD,KAAC,wBAAwB,IACvB,aAAa,EAAE,QAAQ,CAAC,eAAe,EACvC,kBAAkB,EAAE,QAAQ,CAAC,oBAAoB,EACjD,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,kBAAkB,GACnC,IACE,IACF,GACF,CACP,EACA,gBAAgB,IAAI,CACnB,cAAK,SAAS,EAAC,wBAAwB,YACrC,eAAK,SAAS,EAAC,qBAAqB,aAClC,eAAK,SAAS,EAAC,sBAAsB,aACnC,uBAAK,QAAQ,CAAC,iBAAiB,CAAC,aAAa,EAAE,EAAE,EAAE,EAAE,CAAC,GAAM,OAE5D,iBAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,mBAAmB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,YAClF,cAAK,SAAS,EAAC,oCAAoC,EAAC,GAAG,EAAE,YAAY,GAAI,GAClE,IACL,EACN,cAAK,SAAS,EAAC,oBAAoB,YACjC,KAAC,WAAW,gBAAW,OAAO,GAAI,GAC9B,IACF,GACF,CACP,IACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { useEffect, useState } from 'react';\nimport TextField from '@material-ui/core/TextField';\n\nimport { Utils } from '../../../helpers/utils';\n\nimport download from 'downloadjs';\n// import SummaryList from '../../SummaryList';\n// import ActionButtonsForFileUtil from '../ActionButtonsForFileUtil';\nimport './FileUtility.css';\nimport { IconButton, Menu, MenuItem, Button, CircularProgress } from '@material-ui/core';\nimport MoreVertIcon from '@material-ui/icons/MoreVert';\n\nimport { validateMaxSize } from '../../../helpers/attachmentHelpers';\nimport { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';\nimport { PConnProps } from '../../../../types/PConnProps';\n\ninterface FileUtilityProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n}\n\nexport default function FileUtility(props: FileUtilityProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const SummaryList = getComponentFromMap('SummaryList');\n const ActionButtonsForFileUtil = getComponentFromMap('ActionButtonsForFileUtil');\n\n const { getPConnect } = props;\n const thePConn = getPConnect();\n const required = true;\n const listTemp = {\n data: [],\n count: 0\n };\n const [list, setList] = useState(listTemp);\n const headerSvgIcon$ = Utils.getImageSrc('paper-clip', Utils.getSDKStaticConentUrl());\n const closeSvgIcon = Utils.getImageSrc('times', Utils.getSDKStaticConentUrl());\n const configProps: any = thePConn.resolveConfigProps(thePConn.getConfigProps());\n\n const header = configProps.label;\n const fileTemp = {\n showfileModal: false,\n fileList: [],\n attachedFiles: [],\n fileMainButtons: [\n {\n actionID: 'attach',\n jsAction: 'attachFiles',\n name: thePConn.getLocalizedValue('Attach files', '', '')\n }\n ], // 2nd and 3rd args empty string until typedef marked correctly\n fileSecondaryButtons: [\n {\n actionID: 'cancel',\n jsAction: 'cancel',\n name: thePConn.getLocalizedValue('Cancel', '', '')\n }\n ] // 2nd and 3rd args empty string until typedef marked correctly\n };\n const [fileData, setFileData] = useState(fileTemp);\n const linkTemp = {\n showLinkModal: false,\n linksList: [],\n attachedLinks: [],\n linkMainButtons: [\n {\n actionID: 'attach',\n jsAction: 'attachLinks',\n name: thePConn.getLocalizedValue('Attach links', '', '')\n }\n ], // 2nd and 3rd args empty string until typedef marked correctly\n linkSecondaryButtons: [\n {\n actionID: 'cancel',\n jsAction: 'cancel',\n name: thePConn.getLocalizedValue('Cancel', '', '')\n }\n ] // 2nd and 3rd args empty string until typedef marked correctly\n };\n const [linkData, setLinkData] = useState(linkTemp);\n const [anchorEl, setAnchorEl] = useState(null);\n const open = Boolean(anchorEl);\n const [link, setLink] = useState({ title: '', url: '', disable: true });\n const [inProgress, setProgress] = useState(false);\n const [showViewAllModal, setViewAll] = useState(false);\n const [vaItems, setFullAttachments] = useState([]);\n\n function addAttachments(attsFromResp: any[] = []) {\n attsFromResp = attsFromResp.map(respAtt => {\n const updatedAtt = {\n ...respAtt,\n meta: `${respAtt.category} . ${Utils.generateDateTime(respAtt.createTime, 'DateTime-Since')}, ${respAtt.createdBy}`\n };\n if (updatedAtt.type === 'FILE') {\n updatedAtt.nameWithExt = updatedAtt.fileName;\n }\n return updatedAtt;\n });\n return attsFromResp;\n }\n\n function getListUtilityItemProps({ att, cancelFile, downloadFile, deleteFile, removeFile }) {\n let actions;\n\n if (att.progress && att.progress !== 100) {\n actions = [\n {\n id: `Cancel-${att.ID}`,\n text: thePConn.getLocalizedValue('Cancel', '', ''), // 2nd and 3rd args empty string until typedef marked correctly\n icon: 'times',\n onClick: cancelFile\n }\n ];\n } else if (att.links) {\n const isFile = att.type === 'FILE';\n const ID = att.ID.replace(/\\s/gi, '');\n const actionsMap = new Map([\n [\n 'download',\n {\n id: `download-${ID}`,\n text: isFile ? thePConn.getLocalizedValue('Download', '', '') : thePConn.getLocalizedValue('Open', '', ''), // 2nd and 3rd args empty string until typedef marked correctly\n icon: isFile ? 'download' : 'open',\n onClick: downloadFile\n }\n ],\n [\n 'delete',\n {\n id: `Delete-${ID}`,\n text: thePConn.getLocalizedValue('Delete', '', ''), // 2nd and 3rd args empty string until typedef marked correctly\n icon: 'trash',\n onClick: deleteFile\n }\n ]\n ]);\n actions = [];\n actionsMap.forEach((action, actionKey) => {\n if (att.links[actionKey]) {\n actions.push(action);\n }\n });\n } else if (att.error) {\n actions = [\n {\n id: `Remove-${att.ID}`,\n text: thePConn.getLocalizedValue('Remove', '', ''), // 2nd and 3rd args empty string until typedef marked correctly\n icon: 'trash',\n onClick: removeFile\n }\n ];\n }\n\n return {\n id: att.ID,\n visual: {\n icon: Utils.getIconForAttachment(att),\n progress: att.progress === 100 ? undefined : att.progress\n },\n primary: {\n type: att.type,\n name: att.name,\n icon: 'open',\n click: downloadFile\n },\n secondary: {\n text: att.meta\n },\n actions\n };\n }\n\n function fileDownload(data, fileName, ext) {\n const file = ext ? `${fileName}.${ext}` : fileName;\n download(atob(data), file);\n }\n\n function downloadAttachedFile(att: any) {\n const attachUtils = PCore.getAttachmentUtils();\n const { ID, name, extension, type } = att;\n const context = thePConn.getContextName();\n\n attachUtils\n // @ts-ignore - 3rd parameter \"responseEncoding\" is optional\n .downloadAttachment(ID, context)\n .then((content: any) => {\n if (type === 'FILE') {\n fileDownload(content.data, name, extension);\n } else if (type === 'URL') {\n let { data } = content;\n if (!/^(http|https):\\/\\//.test(data)) {\n data = `//${data}`;\n }\n window.open(content.data, '_blank');\n }\n })\n .catch();\n }\n\n function deleteAttachedFile(att: any) {\n const attachUtils = PCore.getAttachmentUtils();\n const { ID } = att;\n const context = thePConn.getContextName();\n\n attachUtils\n .deleteAttachment(ID, context)\n .then(() => {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n getAttachments();\n })\n .catch();\n }\n\n const getAttachments = () => {\n const attachmentUtils = PCore.getAttachmentUtils();\n const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly\n\n if (caseID && caseID !== '') {\n const attPromise = attachmentUtils.getCaseAttachments(caseID, thePConn.getContextName());\n\n attPromise.then((resp: any) => {\n const arFullListAttachments = addAttachments(resp);\n const attachmentsCount = arFullListAttachments.length;\n const arItems: any = arFullListAttachments.slice(0, 3).map(att => {\n return getListUtilityItemProps({\n att,\n downloadFile: !att.progress ? () => downloadAttachedFile(att) : null,\n cancelFile: null,\n deleteFile: !att.progress ? () => deleteAttachedFile(att) : null,\n removeFile: null\n });\n });\n const viewAllarItems: any = arFullListAttachments.map(att => {\n return getListUtilityItemProps({\n att,\n downloadFile: !att.progress ? () => downloadAttachedFile(att) : null,\n cancelFile: null,\n deleteFile: !att.progress ? () => deleteAttachedFile(att) : null,\n removeFile: null\n });\n });\n setProgress(false);\n setList(current => {\n return { ...current, count: attachmentsCount, data: arItems };\n });\n setFullAttachments(viewAllarItems);\n });\n }\n };\n\n useEffect(() => {\n getAttachments();\n }, []);\n\n useEffect(() => {\n PCore.getPubSubUtils().subscribe(\n (PCore.getEvents().getCaseEvent() as any).CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW,\n getAttachments,\n 'caseAttachmentsUpdateFromCaseview'\n );\n\n return () => {\n PCore.getPubSubUtils().unsubscribe(\n (PCore.getEvents().getCaseEvent() as any).CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW,\n 'caseAttachmentsUpdateFromCaseview'\n );\n };\n }, []);\n\n function setNewFiles(arFiles) {\n let index = 0;\n for (const file of arFiles) {\n if (!validateMaxSize(file, '5')) {\n file.error = true;\n file.meta = 'File is too big. Max allowed size is 5MB.';\n }\n file.mimeType = file.type;\n file.icon = Utils.getIconFromFileType(file.type);\n file.ID = `${new Date().getTime()}I${index}`;\n index += 1;\n }\n return arFiles;\n }\n\n function getFiles(arFiles: any[]): any[] {\n return setNewFiles(arFiles);\n }\n\n function uploadMyFiles(event) {\n // alert($event.target.files[0]); // outputs the first file\n const arFiles = getFiles(event.target.files);\n // convert FileList to an array\n const myFiles: any = Array.from(arFiles);\n\n const arFileList$: any = myFiles.map((att: any) => {\n return getListUtilityItemProps({\n att,\n downloadFile: !att.progress ? () => downloadAttachedFile(att) : null,\n cancelFile: null,\n deleteFile: !att.progress ? () => deleteAttachedFile(att) : null,\n removeFile: null\n });\n });\n setFileData(current => {\n return { ...current, fileList: arFileList$, attachedFiles: myFiles };\n });\n }\n\n const handleClick = event => {\n setAnchorEl(event.currentTarget);\n };\n\n const handleClose = () => {\n setAnchorEl(null);\n };\n\n function onAddFilesClick() {\n setFileData(current => {\n return { ...current, showfileModal: true };\n });\n setAnchorEl(null);\n }\n\n function removeFileFromList(item: any) {\n let attachedFiles: any = fileData.attachedFiles;\n let fileList: any = fileData.fileList;\n if (item !== null) {\n attachedFiles = attachedFiles.filter(ele => ele.ID !== item.id);\n fileList = fileList.filter(ele => ele.id !== item.id);\n setFileData(current => {\n return { ...current, fileList, attachedFiles };\n });\n }\n }\n\n function closeFilePopup() {\n setFileData(current => {\n return { ...current, showfileModal: false };\n });\n }\n\n function onAttachFiles() {\n const attachmentUtils = PCore.getAttachmentUtils();\n const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly\n const onUploadProgress = () => {};\n const errorHandler = () => {};\n closeFilePopup();\n if (fileData.attachedFiles && fileData.attachedFiles.length > 0) {\n setProgress(true);\n }\n\n Promise.allSettled(\n fileData.attachedFiles.map(file => attachmentUtils.uploadAttachment(file, onUploadProgress, errorHandler, thePConn.getContextName()))\n )\n .then((fileResponses: any) => {\n const uploadedFiles: any = [];\n fileResponses.forEach(fileResponse => {\n if (fileResponse.status === 'fulfilled') {\n uploadedFiles.push(fileResponse.value);\n }\n });\n if (uploadedFiles.length > 0) {\n (attachmentUtils.linkAttachmentsToCase(caseID, uploadedFiles, 'File', thePConn.getContextName()) as Promise<any>)\n .then(() => {\n setFileData(current => {\n return { ...current, fileList: [], attachedFiles: [] };\n });\n getAttachments();\n })\n .catch();\n }\n })\n .catch();\n }\n\n function onAddLinksClick() {\n setLinkData(current => {\n return { ...current, showLinkModal: true };\n });\n setAnchorEl(null);\n }\n\n function closeAddLinksPopup() {\n setLinkData(current => {\n return { ...current, showLinkModal: false };\n });\n }\n\n const fieldlinkOnChange = event => {\n const title = event.target.value;\n setLink(current => {\n const updatedData = { ...current, title };\n updatedData.disable = !(updatedData.title && updatedData.url);\n return updatedData;\n });\n };\n\n function fieldurlOnChange(event) {\n const url = event.target.value;\n setLink(current => {\n const updatedData = { ...current, url };\n updatedData.disable = !(updatedData.title && updatedData.url);\n return updatedData;\n });\n }\n\n function addLink() {\n // copy list locally\n const localList: any = linkData.linksList.slice();\n const url = link.url;\n if (!/^(http|https):\\/\\//.test(link.url)) {\n link.url = `http://${link.url}`;\n }\n\n // list for display\n let oLink: any = {};\n oLink.icon = 'chain';\n oLink.ID = `${new Date().getTime()}`;\n oLink = getListUtilityItemProps({\n att: oLink,\n downloadFile: null,\n cancelFile: null,\n deleteFile: null,\n removeFile: null\n });\n oLink.type = 'URL';\n oLink.primary.type = oLink.type;\n oLink.visual.icon = 'chain';\n oLink.primary.name = link.title;\n oLink.primary.icon = 'open';\n oLink.secondary.text = url;\n\n localList.push(oLink);\n\n // list for actually attachments\n const attachedListTemp: any = linkData.attachedLinks.slice();\n const attachedLink: any = {};\n attachedLink.id = oLink.id;\n attachedLink.linkTitle = link.title;\n attachedLink.type = oLink.type;\n attachedLink.url = url;\n\n attachedListTemp.push(attachedLink);\n setLinkData(current => {\n return {\n ...current,\n linksList: localList,\n attachedLinks: attachedListTemp\n };\n });\n // clear values\n setLink({ title: '', url: '', disable: true });\n }\n\n function removeLinksFromList(item: any) {\n let attachedLinks: any = linkData.attachedLinks;\n let linksList: any = linkData.linksList;\n if (item !== null) {\n attachedLinks = attachedLinks.filter(ele => ele.id !== item.id);\n linksList = linksList.filter(ele => ele.id !== item.id);\n setLinkData(current => {\n return { ...current, linksList, attachedLinks };\n });\n }\n }\n\n function onAttachLinks() {\n const attachmentUtils = PCore.getAttachmentUtils();\n const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly\n const links = linkData.attachedLinks;\n closeAddLinksPopup();\n const linksToAttach = links.map((item: any) => ({\n type: 'URL',\n category: 'URL',\n url: item.url,\n name: item.linkTitle\n }));\n\n if (linksToAttach && linksToAttach.length > 0) {\n setProgress(true);\n (attachmentUtils.linkAttachmentsToCase(caseID, linksToAttach, 'URL', thePConn.getContextName()) as Promise<any>)\n .then(() => {\n setLinkData(current => {\n return { ...current, linksList: [], attachedLinks: [] };\n });\n getAttachments();\n })\n .catch(() => setProgress(false));\n }\n }\n\n return (\n <div className='psdk-utility'>\n {inProgress && (\n <div className='progress-div'>\n <CircularProgress />\n </div>\n )}\n <div className='psdk-header'>\n <img className='psdk-file-utility-card-svg-icon' src={headerSvgIcon$} />\n <div className='header-text'>{header}</div>\n <div className='psdk-utility-count' id='attachments-count'>\n {list.count}\n </div>\n <div style={{ flexGrow: 1 }} />\n <div>\n <IconButton\n id='long-button'\n aria-controls={open ? 'simple-menu' : undefined}\n aria-expanded={open ? 'true' : undefined}\n aria-haspopup='true'\n onClick={handleClick}\n >\n <MoreVertIcon />\n </IconButton>\n <Menu style={{ marginTop: '3rem' }} id='simple-menu' anchorEl={anchorEl} keepMounted open={Boolean(anchorEl)} onClose={handleClose}>\n <MenuItem style={{ fontSize: '14px' }} onClick={onAddFilesClick}>\n {thePConn.getLocalizedValue('Add files', '', '')}\n </MenuItem>{' '}\n {/* 2nd and 3rd args empty string until typedef marked correctly */}\n <MenuItem style={{ fontSize: '14px' }} onClick={onAddLinksClick}>\n {thePConn.getLocalizedValue('Add links', '', '')}\n </MenuItem>{' '}\n {/* 2nd and 3rd args empty string until typedef marked correctly */}\n </Menu>\n </div>\n </div>\n {list.data.length > 0 && (\n <div style={{ marginTop: '1rem' }}>\n <SummaryList arItems$={list.data} />\n </div>\n )}\n {list.count > 3 && (\n <div className='psdk-utility-view-all'>\n <Button style={{ textTransform: 'none' }} color='primary' onClick={() => setViewAll(true)}>\n View all\n </Button>\n </div>\n )}\n {fileData.showfileModal && (\n <div className='psdk-dialog-background'>\n <div className='psdk-modal-file-top'>\n <h3>{thePConn.getLocalizedValue('Add local files', '', '')}</h3>\n <div className='psdk-modal-body'>\n <div className='psdk-modal-file-selector'>\n <label htmlFor='upload-files'>\n <input style={{ display: 'none' }} id='upload-files' name='upload-files' type='file' multiple onChange={uploadMyFiles} />\n <Button variant='outlined' color='primary' component='span'>\n {thePConn.getLocalizedValue('Attach files', '', '')}\n </Button>{' '}\n {/* 2nd and 3rd args empty string until typedef marked correctly */}\n </label>\n </div>\n {fileData.fileList.length > 0 && (\n <div style={{ marginTop: '1rem' }}>\n <SummaryList menuIconOverride$='trash' arItems$={fileData.fileList} menuIconOverrideAction$={removeFileFromList} />\n </div>\n )}\n {fileData.fileList.length === 0 && <div />}\n <ActionButtonsForFileUtil\n arMainButtons={fileData.fileMainButtons}\n arSecondaryButtons={fileData.fileSecondaryButtons}\n primaryAction={onAttachFiles}\n secondaryAction={closeFilePopup}\n />\n </div>\n </div>\n </div>\n )}\n {linkData.showLinkModal && (\n <div className='psdk-dialog-background'>\n <div className='psdk-modal-file-top'>\n <h3>{thePConn.getLocalizedValue('Add links', '', '')}</h3> {/* 2nd and 3rd args empty string until typedef marked correctly */}\n <div className='psdk-modal-body'>\n <div className='psdk-modal-links-row'>\n <div className='psdk-links-two-column'>\n <div className='psdk-modal-link-data'>\n <TextField\n fullWidth\n variant='outlined'\n label='Link title'\n size='small'\n required={required}\n value={link.title}\n onChange={fieldlinkOnChange}\n />\n </div>\n <div className='psdk-modal-link-data'>\n <TextField\n fullWidth\n variant='outlined'\n label='URL'\n size='small'\n required={required}\n value={link.url}\n onChange={fieldurlOnChange}\n />\n </div>\n </div>\n <div className='psdk-modal-link-add'>\n <Button\n className='psdk-add-link-action'\n color='primary'\n variant='contained'\n component='span'\n onClick={addLink}\n disabled={link.disable}\n >\n {thePConn.getLocalizedValue('Add link', '', '')}\n </Button>{' '}\n {/* 2nd and 3rd args empty string until typedef marked correctly */}\n </div>\n </div>\n {linkData.linksList.length > 0 && (\n <div style={{ marginTop: '1rem' }}>\n <SummaryList menuIconOverride$='trash' arItems$={linkData.linksList} menuIconOverrideAction$={removeLinksFromList} />\n </div>\n )}\n <ActionButtonsForFileUtil\n arMainButtons={linkData.linkMainButtons}\n arSecondaryButtons={linkData.linkSecondaryButtons}\n primaryAction={onAttachLinks}\n secondaryAction={closeAddLinksPopup}\n />\n </div>\n </div>\n </div>\n )}\n {showViewAllModal && (\n <div className='psdk-dialog-background'>\n <div className='psdk-modal-file-top'>\n <div className='psdk-view-all-header'>\n <h3>{thePConn.getLocalizedValue('Attachments', '', '')}</h3> {/* 2nd and 3rd args empty string until typedef marked correctly */}\n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n <button type='button' className='psdk-close-button' onClick={() => setViewAll(false)}>\n <img className='psdk-utility-card-actions-svg-icon' src={closeSvgIcon} />\n </button>\n </div>\n <div className='psdk-view-all-body'>\n <SummaryList arItems$={vaItems} />\n </div>\n </div>\n </div>\n )}\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"FileUtility.js","sourceRoot":"","sources":["../../../../../src/components/widget/FileUtility/FileUtility/FileUtility.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,+CAA+C;AAC/C,sEAAsE;AACtE,OAAO,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,YAAY,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAOnF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAuB;IACzD,8EAA8E;IAC9E,MAAM,WAAW,GAAG,mBAAmB,CAAC,aAAa,CAAC,CAAC;IACvD,MAAM,wBAAwB,GAAG,mBAAmB,CAAC,0BAA0B,CAAC,CAAC;IAEjF,MAAM,EAAE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O,cAAW,QAAQ,CAAC,SAAS,6BAA2B,mBAAmB,GAAI,GACjH,CACP,EACD,KAAC,wBAAwB,IACvB,aAAa,EAAE,QAAQ,CAAC,eAAe,EACvC,kBAAkB,EAAE,QAAQ,CAAC,oBAAoB,EACjD,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,kBAAkB,GACnC,IACE,IACF,GACF,CACP,EACA,gBAAgB,IAAI,CACnB,cAAK,SAAS,EAAC,wBAAwB,YACrC,eAAK,SAAS,EAAC,qBAAqB,aAClC,eAAK,SAAS,EAAC,sBAAsB,aACnC,uBAAK,QAAQ,CAAC,iBAAiB,CAAC,aAAa,EAAE,EAAE,EAAE,EAAE,CAAC,GAAM,OAE5D,iBAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,mBAAmB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,YAClF,cAAK,SAAS,EAAC,oCAAoC,EAAC,GAAG,EAAE,YAAY,GAAI,GAClE,IACL,EACN,cAAK,SAAS,EAAC,oBAAoB,YACjC,KAAC,WAAW,gBAAW,OAAO,GAAI,GAC9B,IACF,GACF,CACP,IACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { useEffect, useState } from 'react';\nimport TextField from '@material-ui/core/TextField';\n\nimport { Utils } from '../../../helpers/utils';\n\nimport download from 'downloadjs';\n// import SummaryList from '../../SummaryList';\n// import ActionButtonsForFileUtil from '../ActionButtonsForFileUtil';\nimport './FileUtility.css';\nimport { IconButton, Menu, MenuItem, Button, CircularProgress } from '@material-ui/core';\nimport MoreVertIcon from '@material-ui/icons/MoreVert';\n\nimport { validateMaxSize } from '../../../helpers/attachmentHelpers';\nimport { getComponentFromMap } from '../../../../bridge/helpers/sdk_component_map';\nimport { PConnProps } from '../../../../types/PConnProps';\n\ninterface FileUtilityProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n}\n\nexport default function FileUtility(props: FileUtilityProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const SummaryList = getComponentFromMap('SummaryList');\n const ActionButtonsForFileUtil = getComponentFromMap('ActionButtonsForFileUtil');\n\n const { getPConnect } = props;\n const thePConn = getPConnect();\n const required = true;\n const listTemp = {\n data: [],\n count: 0\n };\n const [list, setList] = useState(listTemp);\n const headerSvgIcon$ = Utils.getImageSrc('paper-clip', Utils.getSDKStaticConentUrl());\n const closeSvgIcon = Utils.getImageSrc('times', Utils.getSDKStaticConentUrl());\n const configProps: any = thePConn.resolveConfigProps(thePConn.getConfigProps());\n\n const header = configProps.label;\n const fileTemp = {\n showfileModal: false,\n fileList: [],\n attachedFiles: [],\n fileMainButtons: [\n {\n actionID: 'attach',\n jsAction: 'attachFiles',\n name: thePConn.getLocalizedValue('Attach files', '', '')\n }\n ], // 2nd and 3rd args empty string until typedef marked correctly\n fileSecondaryButtons: [\n {\n actionID: 'cancel',\n jsAction: 'cancel',\n name: thePConn.getLocalizedValue('Cancel', '', '')\n }\n ] // 2nd and 3rd args empty string until typedef marked correctly\n };\n const [fileData, setFileData] = useState(fileTemp);\n const linkTemp = {\n showLinkModal: false,\n linksList: [],\n attachedLinks: [],\n linkMainButtons: [\n {\n actionID: 'attach',\n jsAction: 'attachLinks',\n name: thePConn.getLocalizedValue('Attach links', '', '')\n }\n ], // 2nd and 3rd args empty string until typedef marked correctly\n linkSecondaryButtons: [\n {\n actionID: 'cancel',\n jsAction: 'cancel',\n name: thePConn.getLocalizedValue('Cancel', '', '')\n }\n ] // 2nd and 3rd args empty string until typedef marked correctly\n };\n const [linkData, setLinkData] = useState(linkTemp);\n const [anchorEl, setAnchorEl] = useState(null);\n const open = Boolean(anchorEl);\n const [link, setLink] = useState({ title: '', url: '', disable: true });\n const [inProgress, setProgress] = useState(false);\n const [showViewAllModal, setViewAll] = useState(false);\n const [vaItems, setFullAttachments] = useState([]);\n\n function addAttachments(attsFromResp: any[] = []) {\n attsFromResp = attsFromResp.map(respAtt => {\n const updatedAtt = {\n ...respAtt,\n meta: `${respAtt.category} . ${Utils.generateDateTime(respAtt.createTime, 'DateTime-Since')}, ${respAtt.createdBy}`\n };\n if (updatedAtt.type === 'FILE') {\n updatedAtt.nameWithExt = updatedAtt.fileName;\n }\n return updatedAtt;\n });\n return attsFromResp;\n }\n\n function getListUtilityItemProps({ att, cancelFile, downloadFile, deleteFile, removeFile }) {\n let actions;\n\n if (att.progress && att.progress !== 100) {\n actions = [\n {\n id: `Cancel-${att.ID}`,\n text: thePConn.getLocalizedValue('Cancel', '', ''), // 2nd and 3rd args empty string until typedef marked correctly\n icon: 'times',\n onClick: cancelFile\n }\n ];\n } else if (att.links) {\n const isFile = att.type === 'FILE';\n const ID = att.ID.replace(/\\s/gi, '');\n const actionsMap = new Map([\n [\n 'download',\n {\n id: `download-${ID}`,\n text: isFile ? thePConn.getLocalizedValue('Download', '', '') : thePConn.getLocalizedValue('Open', '', ''), // 2nd and 3rd args empty string until typedef marked correctly\n icon: isFile ? 'download' : 'open',\n onClick: downloadFile\n }\n ],\n [\n 'delete',\n {\n id: `Delete-${ID}`,\n text: thePConn.getLocalizedValue('Delete', '', ''), // 2nd and 3rd args empty string until typedef marked correctly\n icon: 'trash',\n onClick: deleteFile\n }\n ]\n ]);\n actions = [];\n actionsMap.forEach((action, actionKey) => {\n if (att.links[actionKey]) {\n actions.push(action);\n }\n });\n } else if (att.error) {\n actions = [\n {\n id: `Remove-${att.ID}`,\n text: thePConn.getLocalizedValue('Remove', '', ''), // 2nd and 3rd args empty string until typedef marked correctly\n icon: 'trash',\n onClick: removeFile\n }\n ];\n }\n\n return {\n id: att.ID,\n visual: {\n icon: Utils.getIconForAttachment(att),\n progress: att.progress === 100 ? undefined : att.progress\n },\n primary: {\n type: att.type,\n name: att.name,\n icon: 'open',\n click: downloadFile\n },\n secondary: {\n text: att.meta\n },\n actions\n };\n }\n\n function fileDownload(data, fileName, ext) {\n const file = ext ? `${fileName}.${ext}` : fileName;\n download(atob(data), file);\n }\n\n function downloadAttachedFile(att: any) {\n const attachUtils = PCore.getAttachmentUtils();\n const { ID, name, extension, type } = att;\n const context = thePConn.getContextName();\n\n attachUtils\n // @ts-ignore - 3rd parameter \"responseEncoding\" is optional\n .downloadAttachment(ID, context)\n .then((content: any) => {\n if (type === 'FILE') {\n fileDownload(content.data, name, extension);\n } else if (type === 'URL') {\n let { data } = content;\n if (!/^(http|https):\\/\\//.test(data)) {\n data = `//${data}`;\n }\n window.open(content.data, '_blank');\n }\n })\n .catch();\n }\n\n function deleteAttachedFile(att: any) {\n const attachUtils = PCore.getAttachmentUtils();\n const { ID } = att;\n const context = thePConn.getContextName();\n\n attachUtils\n .deleteAttachment(ID, context)\n .then(() => {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n getAttachments();\n })\n .catch();\n }\n\n const getAttachments = () => {\n const attachmentUtils = PCore.getAttachmentUtils();\n const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly\n\n if (caseID && caseID !== '') {\n const attPromise = attachmentUtils.getCaseAttachments(caseID, thePConn.getContextName());\n\n attPromise.then((resp: any) => {\n const arFullListAttachments = addAttachments(resp);\n const attachmentsCount = arFullListAttachments.length;\n const arItems: any = arFullListAttachments.slice(0, 3).map(att => {\n return getListUtilityItemProps({\n att,\n downloadFile: !att.progress ? () => downloadAttachedFile(att) : null,\n cancelFile: null,\n deleteFile: !att.progress ? () => deleteAttachedFile(att) : null,\n removeFile: null\n });\n });\n const viewAllarItems: any = arFullListAttachments.map(att => {\n return getListUtilityItemProps({\n att,\n downloadFile: !att.progress ? () => downloadAttachedFile(att) : null,\n cancelFile: null,\n deleteFile: !att.progress ? () => deleteAttachedFile(att) : null,\n removeFile: null\n });\n });\n setProgress(false);\n setList(current => {\n return { ...current, count: attachmentsCount, data: arItems };\n });\n setFullAttachments(viewAllarItems);\n });\n }\n };\n\n useEffect(() => {\n getAttachments();\n }, []);\n\n useEffect(() => {\n PCore.getPubSubUtils().subscribe(\n (PCore.getEvents().getCaseEvent() as any).CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW,\n getAttachments,\n 'caseAttachmentsUpdateFromCaseview'\n );\n\n return () => {\n PCore.getPubSubUtils().unsubscribe(\n (PCore.getEvents().getCaseEvent() as any).CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW,\n 'caseAttachmentsUpdateFromCaseview'\n );\n };\n }, []);\n\n function setNewFiles(arFiles) {\n let index = 0;\n for (const file of arFiles) {\n if (!validateMaxSize(file, '5')) {\n file.error = true;\n file.meta = 'File is too big. Max allowed size is 5MB.';\n }\n file.mimeType = file.type;\n file.icon = Utils.getIconFromFileType(file.type);\n file.ID = `${new Date().getTime()}I${index}`;\n index += 1;\n }\n return arFiles;\n }\n\n function getFiles(arFiles: any[]): any[] {\n return setNewFiles(arFiles);\n }\n\n function uploadMyFiles(event) {\n // alert($event.target.files[0]); // outputs the first file\n const arFiles = getFiles(event.target.files);\n // convert FileList to an array\n const myFiles: any = Array.from(arFiles);\n\n const arFileList$: any = myFiles.map((att: any) => {\n return getListUtilityItemProps({\n att,\n downloadFile: !att.progress ? () => downloadAttachedFile(att) : null,\n cancelFile: null,\n deleteFile: !att.progress ? () => deleteAttachedFile(att) : null,\n removeFile: null\n });\n });\n setFileData(current => {\n return { ...current, fileList: arFileList$, attachedFiles: myFiles };\n });\n }\n\n const handleClick = event => {\n setAnchorEl(event.currentTarget);\n };\n\n const handleClose = () => {\n setAnchorEl(null);\n };\n\n function onAddFilesClick() {\n setFileData(current => {\n return { ...current, showfileModal: true };\n });\n setAnchorEl(null);\n }\n\n function removeFileFromList(item: any) {\n let attachedFiles: any = fileData.attachedFiles;\n let fileList: any = fileData.fileList;\n if (item !== null) {\n attachedFiles = attachedFiles.filter(ele => ele.ID !== item.id);\n fileList = fileList.filter(ele => ele.id !== item.id);\n setFileData(current => {\n return { ...current, fileList, attachedFiles };\n });\n }\n }\n\n function closeFilePopup() {\n setFileData(current => {\n return { ...current, showfileModal: false };\n });\n }\n\n function onAttachFiles() {\n const attachmentUtils = PCore.getAttachmentUtils();\n const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly\n const onUploadProgress = () => {};\n const errorHandler = () => {};\n closeFilePopup();\n if (fileData.attachedFiles && fileData.attachedFiles.length > 0) {\n setProgress(true);\n }\n\n Promise.allSettled(\n fileData.attachedFiles.map(file => attachmentUtils.uploadAttachment(file, onUploadProgress, errorHandler, thePConn.getContextName()))\n )\n .then((fileResponses: any) => {\n const uploadedFiles: any = [];\n fileResponses.forEach(fileResponse => {\n if (fileResponse.status === 'fulfilled') {\n uploadedFiles.push(fileResponse.value);\n }\n });\n if (uploadedFiles.length > 0) {\n (attachmentUtils.linkAttachmentsToCase(caseID, uploadedFiles, 'File', thePConn.getContextName()) as Promise<any>)\n .then(() => {\n setFileData(current => {\n return { ...current, fileList: [], attachedFiles: [] };\n });\n getAttachments();\n })\n .catch();\n }\n })\n .catch();\n }\n\n function onAddLinksClick() {\n setLinkData(current => {\n return { ...current, showLinkModal: true };\n });\n setAnchorEl(null);\n }\n\n function closeAddLinksPopup() {\n setLinkData(current => {\n return { ...current, showLinkModal: false };\n });\n }\n\n const fieldlinkOnChange = event => {\n const title = event.target.value;\n setLink(current => {\n const updatedData = { ...current, title };\n updatedData.disable = !(updatedData.title && updatedData.url);\n return updatedData;\n });\n };\n\n function fieldurlOnChange(event) {\n const url = event.target.value;\n setLink(current => {\n const updatedData = { ...current, url };\n updatedData.disable = !(updatedData.title && updatedData.url);\n return updatedData;\n });\n }\n\n function addLink() {\n // copy list locally\n const localList: any = linkData.linksList.slice();\n const url = link.url;\n if (!/^(http|https):\\/\\//.test(link.url)) {\n link.url = `http://${link.url}`;\n }\n\n // list for display\n let oLink: any = {};\n oLink.icon = 'chain';\n oLink.ID = `${new Date().getTime()}`;\n oLink = getListUtilityItemProps({\n att: oLink,\n downloadFile: null,\n cancelFile: null,\n deleteFile: null,\n removeFile: null\n });\n oLink.type = 'URL';\n oLink.primary.type = oLink.type;\n oLink.visual.icon = 'chain';\n oLink.primary.name = link.title;\n oLink.primary.icon = 'open';\n oLink.secondary.text = url;\n\n localList.push(oLink);\n\n // list for actually attachments\n const attachedListTemp: any = linkData.attachedLinks.slice();\n const attachedLink: any = {};\n attachedLink.id = oLink.id;\n attachedLink.linkTitle = link.title;\n attachedLink.type = oLink.type;\n attachedLink.url = url;\n\n attachedListTemp.push(attachedLink);\n setLinkData(current => {\n return {\n ...current,\n linksList: localList,\n attachedLinks: attachedListTemp\n };\n });\n // clear values\n setLink({ title: '', url: '', disable: true });\n }\n\n function removeLinksFromList(item: any) {\n let attachedLinks: any = linkData.attachedLinks;\n let linksList: any = linkData.linksList;\n if (item !== null) {\n attachedLinks = attachedLinks.filter(ele => ele.id !== item.id);\n linksList = linksList.filter(ele => ele.id !== item.id);\n setLinkData(current => {\n return { ...current, linksList, attachedLinks };\n });\n }\n }\n\n function onAttachLinks() {\n const attachmentUtils = PCore.getAttachmentUtils();\n const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly\n const links = linkData.attachedLinks;\n closeAddLinksPopup();\n const linksToAttach = links.map((item: any) => ({\n type: 'URL',\n category: 'URL',\n url: item.url,\n name: item.linkTitle\n }));\n\n if (linksToAttach && linksToAttach.length > 0) {\n setProgress(true);\n (attachmentUtils.linkAttachmentsToCase(caseID, linksToAttach, 'URL', thePConn.getContextName()) as Promise<any>)\n .then(() => {\n setLinkData(current => {\n return { ...current, linksList: [], attachedLinks: [] };\n });\n getAttachments();\n })\n .catch(() => setProgress(false));\n }\n }\n\n return (\n <div className='psdk-utility' id='file-utility'>\n {inProgress && (\n <div className='progress-div'>\n <CircularProgress />\n </div>\n )}\n <div className='psdk-header'>\n <img className='psdk-file-utility-card-svg-icon' src={headerSvgIcon$} />\n <div className='header-text'>{header}</div>\n <div className='psdk-utility-count' id='attachments-count'>\n {list.count}\n </div>\n <div style={{ flexGrow: 1 }} />\n <div>\n <IconButton\n id='long-button'\n aria-controls={open ? 'simple-menu' : undefined}\n aria-expanded={open ? 'true' : undefined}\n aria-haspopup='true'\n onClick={handleClick}\n >\n <MoreVertIcon />\n </IconButton>\n <Menu style={{ marginTop: '3rem' }} id='simple-menu' anchorEl={anchorEl} keepMounted open={Boolean(anchorEl)} onClose={handleClose}>\n <MenuItem style={{ fontSize: '14px' }} onClick={onAddFilesClick}>\n {thePConn.getLocalizedValue('Add files', '', '')}\n </MenuItem>{' '}\n {/* 2nd and 3rd args empty string until typedef marked correctly */}\n <MenuItem style={{ fontSize: '14px' }} onClick={onAddLinksClick}>\n {thePConn.getLocalizedValue('Add links', '', '')}\n </MenuItem>{' '}\n {/* 2nd and 3rd args empty string until typedef marked correctly */}\n </Menu>\n </div>\n </div>\n {list.data.length > 0 && (\n <div style={{ marginTop: '1rem' }}>\n <SummaryList arItems$={list.data} />\n </div>\n )}\n {list.count > 3 && (\n <div className='psdk-utility-view-all'>\n <Button style={{ textTransform: 'none' }} color='primary' onClick={() => setViewAll(true)}>\n View all\n </Button>\n </div>\n )}\n {fileData.showfileModal && (\n <div className='psdk-dialog-background'>\n <div className='psdk-modal-file-top'>\n <h3>{thePConn.getLocalizedValue('Add local files', '', '')}</h3>\n <div className='psdk-modal-body'>\n <div className='psdk-modal-file-selector'>\n <label htmlFor='upload-files'>\n <input style={{ display: 'none' }} id='upload-files' name='upload-files' type='file' multiple onChange={uploadMyFiles} />\n <Button variant='outlined' color='primary' component='span'>\n {thePConn.getLocalizedValue('Attach files', '', '')}\n </Button>{' '}\n {/* 2nd and 3rd args empty string until typedef marked correctly */}\n </label>\n </div>\n {fileData.fileList.length > 0 && (\n <div style={{ marginTop: '1rem' }}>\n <SummaryList menuIconOverride$='trash' arItems$={fileData.fileList} menuIconOverrideAction$={removeFileFromList} />\n </div>\n )}\n {fileData.fileList.length === 0 && <div />}\n <ActionButtonsForFileUtil\n arMainButtons={fileData.fileMainButtons}\n arSecondaryButtons={fileData.fileSecondaryButtons}\n primaryAction={onAttachFiles}\n secondaryAction={closeFilePopup}\n />\n </div>\n </div>\n </div>\n )}\n {linkData.showLinkModal && (\n <div className='psdk-dialog-background'>\n <div className='psdk-modal-file-top'>\n <h3>{thePConn.getLocalizedValue('Add links', '', '')}</h3> {/* 2nd and 3rd args empty string until typedef marked correctly */}\n <div className='psdk-modal-body'>\n <div className='psdk-modal-links-row'>\n <div className='psdk-links-two-column'>\n <div className='psdk-modal-link-data'>\n <TextField\n fullWidth\n variant='outlined'\n label='Link title'\n size='small'\n required={required}\n value={link.title}\n onChange={fieldlinkOnChange}\n />\n </div>\n <div className='psdk-modal-link-data'>\n <TextField\n fullWidth\n variant='outlined'\n label='URL'\n size='small'\n required={required}\n value={link.url}\n onChange={fieldurlOnChange}\n />\n </div>\n </div>\n <div className='psdk-modal-link-add'>\n <Button\n className='psdk-add-link-action'\n color='primary'\n variant='contained'\n component='span'\n onClick={addLink}\n disabled={link.disable}\n >\n {thePConn.getLocalizedValue('Add link', '', '')}\n </Button>{' '}\n {/* 2nd and 3rd args empty string until typedef marked correctly */}\n </div>\n </div>\n {linkData.linksList.length > 0 && (\n <div style={{ marginTop: '1rem' }}>\n <SummaryList menuIconOverride$='trash' arItems$={linkData.linksList} menuIconOverrideAction$={removeLinksFromList} />\n </div>\n )}\n <ActionButtonsForFileUtil\n arMainButtons={linkData.linkMainButtons}\n arSecondaryButtons={linkData.linkSecondaryButtons}\n primaryAction={onAttachLinks}\n secondaryAction={closeAddLinksPopup}\n />\n </div>\n </div>\n </div>\n )}\n {showViewAllModal && (\n <div className='psdk-dialog-background'>\n <div className='psdk-modal-file-top'>\n <div className='psdk-view-all-header'>\n <h3>{thePConn.getLocalizedValue('Attachments', '', '')}</h3> {/* 2nd and 3rd args empty string until typedef marked correctly */}\n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n <button type='button' className='psdk-close-button' onClick={() => setViewAll(false)}>\n <img className='psdk-utility-card-actions-svg-icon' src={closeSvgIcon} />\n </button>\n </div>\n <div className='psdk-view-all-body'>\n <SummaryList arItems$={vaItems} />\n </div>\n </div>\n </div>\n )}\n </div>\n );\n}\n"]}
|
|
@@ -2,6 +2,6 @@ import { PropsWithChildren } from 'react';
|
|
|
2
2
|
import { PConnProps } from '../../../types/PConnProps';
|
|
3
3
|
interface FollowersProps extends PConnProps {
|
|
4
4
|
}
|
|
5
|
-
export default function Followers(props: PropsWithChildren<FollowersProps>): JSX.Element;
|
|
5
|
+
export default function Followers(props: PropsWithChildren<FollowersProps>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=Followers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Followers.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/Followers/Followers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,UAAU,cAAe,SAAQ,UAAU;CAE1C;AAiBD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,iBAAiB,CAAC,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"Followers.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/Followers/Followers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,UAAU,cAAe,SAAQ,UAAU;CAE1C;AAiBD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,iBAAiB,CAAC,cAAc,CAAC,2CAoBzE"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PConnProps } from '../../../types/PConnProps';
|
|
3
2
|
interface QuickCreateProps extends PConnProps {
|
|
4
3
|
heading: string;
|
|
5
4
|
showCaseIcons: boolean;
|
|
6
5
|
classFilter: any[];
|
|
7
6
|
}
|
|
8
|
-
export default function QuickCreate(props: QuickCreateProps): JSX.Element;
|
|
7
|
+
export default function QuickCreate(props: QuickCreateProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=QuickCreate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuickCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/QuickCreate/QuickCreate.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QuickCreate.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/QuickCreate/QuickCreate.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,UAAU,gBAAiB,SAAQ,UAAU;IAE3C,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,GAAG,EAAE,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CA6E1D"}
|
|
@@ -24,6 +24,7 @@ export default function QuickCreate(props) {
|
|
|
24
24
|
const defaultCases = [];
|
|
25
25
|
const envInfo = PCore.getEnvironmentInfo();
|
|
26
26
|
if (envInfo?.environmentInfoObject?.pyCaseTypeList) {
|
|
27
|
+
// @ts-ignore - Property 'forEach' does not exist on type 'string'
|
|
27
28
|
envInfo.environmentInfoObject.pyCaseTypeList.forEach(casetype => {
|
|
28
29
|
if (casetype.pyWorkTypeName && casetype.pyWorkTypeImplementationClassName) {
|
|
29
30
|
defaultCases.push({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuickCreate.js","sourceRoot":"","sources":["../../../../src/components/widget/QuickCreate/QuickCreate.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;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QAAQ,CAAC,SAAS,KAAK,IAAI,EAAE;wBAC/B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;qBACtB;gBACH,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;YACH,QAAQ,CAAC,KAAK,CAAC,CAAC;SACjB;aAAM;YACL,QAAQ,CAAC,YAAY,CAAC,CAAC;SACxB;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,wBACE,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,GAAI,GAC3D,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { useEffect, useState } from 'react';\nimport { Utils } from '../../helpers/utils';\nimport { getComponentFromMap } from '../../../bridge/helpers/sdk_component_map';\nimport { PConnProps } from '../../../types/PConnProps';\n\ninterface QuickCreateProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n heading: string;\n showCaseIcons: boolean;\n classFilter: any[];\n}\n\nexport default function QuickCreate(props: QuickCreateProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const WssQuickCreate = getComponentFromMap('WssQuickCreate');\n\n const { getPConnect, heading, showCaseIcons, classFilter } = props;\n const pConn = getPConnect();\n const createCase = className => {\n pConn\n .getActionsApi()\n .createWork(className, {} as any)\n .catch(error => {\n // eslint-disable-next-line no-console\n console.log('Error in case creation: ', error?.message);\n });\n };\n\n const [quickCreatecases, setCases] = useState([]);\n\n /* If the classFilter is empty and has no entries - we will default to the default set of case types\n It will usually come from the envInfo but for Launchpad, this is not populated - instead get the list of cases from the store */\n useEffect(() => {\n const cases: any = [];\n const defaultCases: any = [];\n const envInfo = PCore.getEnvironmentInfo();\n if (envInfo?.environmentInfoObject?.pyCaseTypeList) {\n envInfo.environmentInfoObject.pyCaseTypeList.forEach(casetype => {\n if (casetype.pyWorkTypeName && casetype.pyWorkTypeImplementationClassName) {\n defaultCases.push({\n classname: casetype.pyWorkTypeImplementationClassName,\n onClick: () => {\n createCase(casetype.pyWorkTypeImplementationClassName);\n },\n ...(showCaseIcons && { icon: Utils.getImageSrc(casetype?.pxIcon, Utils.getSDKStaticConentUrl()) }),\n label: casetype.pyWorkTypeName\n });\n }\n });\n } else {\n const pConnectInAppContext = PCore.createPConnect({\n options: { context: PCore.getConstants().APP.APP }\n }).getPConnect();\n const pyPortalInAppContext = pConnectInAppContext.getValue('pyPortal') as any;\n pyPortalInAppContext?.pyCaseTypesAvailableToCreate?.forEach(casetype => {\n if (casetype.pyClassName && casetype.pyLabel) {\n defaultCases.push({\n classname: casetype.pyClassName,\n onClick: () => {\n createCase(casetype.pyClassName);\n },\n ...(showCaseIcons && { icon: Utils.getImageSrc(casetype?.pxIcon, Utils.getSDKStaticConentUrl()) }),\n label: casetype.pyLabel\n });\n }\n });\n }\n\n /* If classFilter is not empty - filter from the list of defaultCases */\n if (classFilter?.length > 0) {\n classFilter.forEach(item => {\n defaultCases.forEach(casetype => {\n if (casetype.classname === item) {\n cases.push(casetype);\n }\n });\n });\n setCases(cases);\n } else {\n setCases(defaultCases);\n }\n }, []);\n\n return (\n <div>\n <WssQuickCreate heading={heading} actions={quickCreatecases} />\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"QuickCreate.js","sourceRoot":"","sources":["../../../../src/components/widget/QuickCreate/QuickCreate.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAUhF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAuB;IACzD,8EAA8E;IAC9E,MAAM,cAAc,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IAE7D,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IACnE,MAAM,KAAK,GAAG,WA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AAE,OAAO,EAAE,gBAAgB,GAAI,GAC3D,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { useEffect, useState } from 'react';\nimport { Utils } from '../../helpers/utils';\nimport { getComponentFromMap } from '../../../bridge/helpers/sdk_component_map';\nimport { PConnProps } from '../../../types/PConnProps';\n\ninterface QuickCreateProps extends PConnProps {\n // If any, enter additional props that only exist on this component\n heading: string;\n showCaseIcons: boolean;\n classFilter: any[];\n}\n\nexport default function QuickCreate(props: QuickCreateProps) {\n // Get emitted components from map (so we can get any override that may exist)\n const WssQuickCreate = getComponentFromMap('WssQuickCreate');\n\n const { getPConnect, heading, showCaseIcons, classFilter } = props;\n const pConn = getPConnect();\n const createCase = className => {\n pConn\n .getActionsApi()\n .createWork(className, {} as any)\n .catch(error => {\n // eslint-disable-next-line no-console\n console.log('Error in case creation: ', error?.message);\n });\n };\n\n const [quickCreatecases, setCases] = useState([]);\n\n /* If the classFilter is empty and has no entries - we will default to the default set of case types\n It will usually come from the envInfo but for Launchpad, this is not populated - instead get the list of cases from the store */\n useEffect(() => {\n const cases: any = [];\n const defaultCases: any = [];\n const envInfo = PCore.getEnvironmentInfo();\n if (envInfo?.environmentInfoObject?.pyCaseTypeList) {\n // @ts-ignore - Property 'forEach' does not exist on type 'string'\n envInfo.environmentInfoObject.pyCaseTypeList.forEach(casetype => {\n if (casetype.pyWorkTypeName && casetype.pyWorkTypeImplementationClassName) {\n defaultCases.push({\n classname: casetype.pyWorkTypeImplementationClassName,\n onClick: () => {\n createCase(casetype.pyWorkTypeImplementationClassName);\n },\n ...(showCaseIcons && { icon: Utils.getImageSrc(casetype?.pxIcon, Utils.getSDKStaticConentUrl()) }),\n label: casetype.pyWorkTypeName\n });\n }\n });\n } else {\n const pConnectInAppContext = PCore.createPConnect({\n options: { context: PCore.getConstants().APP.APP }\n }).getPConnect();\n const pyPortalInAppContext = pConnectInAppContext.getValue('pyPortal') as any;\n pyPortalInAppContext?.pyCaseTypesAvailableToCreate?.forEach(casetype => {\n if (casetype.pyClassName && casetype.pyLabel) {\n defaultCases.push({\n classname: casetype.pyClassName,\n onClick: () => {\n createCase(casetype.pyClassName);\n },\n ...(showCaseIcons && { icon: Utils.getImageSrc(casetype?.pxIcon, Utils.getSDKStaticConentUrl()) }),\n label: casetype.pyLabel\n });\n }\n });\n }\n\n /* If classFilter is not empty - filter from the list of defaultCases */\n if (classFilter?.length > 0) {\n classFilter.forEach(item => {\n defaultCases.forEach(casetype => {\n if (casetype.classname === item) {\n cases.push(casetype);\n }\n });\n });\n setCases(cases);\n } else {\n setCases(defaultCases);\n }\n }, []);\n\n return (\n <div>\n <WssQuickCreate heading={heading} actions={quickCreatecases} />\n </div>\n );\n}\n"]}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PConnProps } from '../../../types/PConnProps';
|
|
3
2
|
import './SummaryItem.css';
|
|
4
3
|
interface SummaryItemProps extends PConnProps {
|
|
@@ -6,6 +5,6 @@ interface SummaryItemProps extends PConnProps {
|
|
|
6
5
|
menuIconOverrideAction$: any;
|
|
7
6
|
arItems$: any[] | any;
|
|
8
7
|
}
|
|
9
|
-
export default function SummaryItem(props: SummaryItemProps): JSX.Element;
|
|
8
|
+
export default function SummaryItem(props: SummaryItemProps): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export {};
|
|
11
10
|
//# sourceMappingURL=SummaryItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SummaryItem.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/SummaryItem/SummaryItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SummaryItem.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/SummaryItem/SummaryItem.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,mBAAmB,CAAC;AAE3B,UAAU,gBAAiB,SAAQ,UAAU;IAE3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uBAAuB,EAAE,GAAG,CAAC;IAC7B,QAAQ,EAAE,GAAG,EAAE,GAAG,GAAG,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAwE1D"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PConnProps } from '../../../types/PConnProps';
|
|
3
2
|
interface SummaryListProps extends PConnProps {
|
|
4
3
|
arItems$: any[];
|
|
5
4
|
menuIconOverride$?: string;
|
|
6
5
|
menuIconOverrideAction$?: any;
|
|
7
6
|
}
|
|
8
|
-
export default function SummaryList(props: SummaryListProps): JSX.Element;
|
|
7
|
+
export default function SummaryList(props: SummaryListProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=SummaryList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SummaryList.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/SummaryList/SummaryList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SummaryList.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/SummaryList/SummaryList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,UAAU,gBAAiB,SAAQ,UAAU;IAE3C,QAAQ,EAAE,GAAG,EAAE,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uBAAuB,CAAC,EAAE,GAAG,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAY1D"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PConnProps } from '../../../types/PConnProps';
|
|
3
2
|
import './ToDo.css';
|
|
4
3
|
interface ToDoProps extends PConnProps {
|
|
@@ -12,6 +11,6 @@ interface ToDoProps extends PConnProps {
|
|
|
12
11
|
context?: string;
|
|
13
12
|
isConfirm?: boolean;
|
|
14
13
|
}
|
|
15
|
-
export default function ToDo(props: ToDoProps): JSX.Element;
|
|
14
|
+
export default function ToDo(props: ToDoProps): import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
export {};
|
|
17
16
|
//# sourceMappingURL=ToDo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToDo.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/ToDo/ToDo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToDo.d.ts","sourceRoot":"","sources":["../../../../src/components/widget/ToDo/ToDo.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,OAAO,YAAY,CAAC;AAEpB,UAAU,SAAU,SAAQ,UAAU;IAEpC,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,UAAU,CAAC,EAAE,GAAG,CAAC;IAEjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAwCD,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE,SAAS,2CA+O5C"}
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
### React SDK - Release Announcement -
|
|
1
|
+
### React SDK - Release Announcement - v24.1.10 (05 July 2024)
|
|
2
2
|
|
|
3
|
+
This release - **SDK-R v24.1.10** - is **only compatible with Pega Infinity 24**. This release is related to the [**release/24.1.10** branch of the React SDK repository](https://github.com/pegasystems/react-sdk/tree/release/24.1.10).
|
|
4
|
+
<br>
|
|
5
|
+
|
|
6
|
+
The SDK-R v24.1.10 release allow React SDK users to to take advantage of the latest [SDK enhancements and fixes noted in **What's New in the SDK?**](https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/react-sdk-updates.html) including:
|
|
7
|
+
|
|
8
|
+
* Support has been added for the approve and reject case actions
|
|
9
|
+
* Formatting of currency values now works as expected
|
|
10
|
+
* Bug fixes
|
|
11
|
+
* Full set of merged PRs can be found in the [react-sdk-components GitHub repo list of merged PRs](https://github.com/pegasystems/react-sdk-components/pulls?q=is%3Apr+is%3Amerged+base%3Amaster+). This release includes all PRs since (and including) #348.
|
|
12
|
+
<br />
|
|
13
|
+
<hr />
|
|
14
|
+
|
|
15
|
+
### Previous Releases
|
|
16
|
+
|
|
17
|
+
#### React SDK - v23.1.11 (10 April 2024)
|
|
3
18
|
This release - **SDK-R v23.1.11** - is **only compatible with Pega Infinity 23**. This release is related to the [**release/23.1.11** branch of the React SDK repository](https://github.com/pegasystems/react-sdk/tree/release/23.1.11).
|
|
4
19
|
<br>
|
|
5
20
|
|
|
@@ -10,14 +25,11 @@ The SDK-R v23.1.11 release allow React SDK users to to take advantage of the lat
|
|
|
10
25
|
* Added modal dialog edit view in table
|
|
11
26
|
* Added Lint support to improve code quality and Prettier support for code formatting.
|
|
12
27
|
* Bug fixes
|
|
13
|
-
*
|
|
14
|
-
|
|
15
|
-
<br />
|
|
28
|
+
* The @pega/react-sdk-components package (version 23.1.12) released in May 2024, you can check what has been added as part of this release in [**What's New in the SDK?**](https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/react-sdk-updates.html)
|
|
29
|
+
* Full set of merged PRs can be found in the [react-sdk-components GitHub repo list of merged PRs](https://github.com/pegasystems/react-sdk-components/commits/release/23.1). This release includes all PRs since (and including) #232 and #354.
|
|
16
30
|
<hr />
|
|
17
31
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
#### React SDK - Release Announcement - v23.1.10 (08 November 2023)
|
|
32
|
+
#### React SDK - v23.1.10 (08 November 2023)
|
|
21
33
|
|
|
22
34
|
This release - **SDK-R v23.1.10** - is **only compatible with Pega Infinity 23**. This release is related to the [**release/23.1.10** branch of the React SDK repository](https://github.com/pegasystems/react-sdk/tree/release/23.1.10).
|
|
23
35
|
<br>
|
|
@@ -156,7 +156,7 @@ import ListView from "./components/template/ListView";
|
|
|
156
156
|
import ListViewActionButtons from "./components/infra/Containers/ModalViewContainer/ListViewActionButtons";
|
|
157
157
|
import ModalViewContainer from "./components/infra/Containers/ModalViewContainer/ModalViewContainer";
|
|
158
158
|
import MultiReferenceReadOnly from "./components/template/MultiReferenceReadOnly";
|
|
159
|
-
import Multiselect from "./components/field/
|
|
159
|
+
import Multiselect from "./components/field/Multiselect/Multiselect";
|
|
160
160
|
import MultiStep from "./components/infra/MultiStep";
|
|
161
161
|
import NarrowWide from "./components/template/NarrowWide/NarrowWide";
|
|
162
162
|
import NarrowWideDetails from "./components/template/NarrowWide/NarrowWideDetails";
|
|
@@ -54,7 +54,7 @@ import ListView from './components/template/ListView';
|
|
|
54
54
|
import ListViewActionButtons from './components/infra/Containers/ModalViewContainer/ListViewActionButtons';
|
|
55
55
|
import ModalViewContainer from './components/infra/Containers/ModalViewContainer/ModalViewContainer';
|
|
56
56
|
import MultiReferenceReadOnly from './components/template/MultiReferenceReadOnly';
|
|
57
|
-
import Multiselect from './components/field/
|
|
57
|
+
import Multiselect from './components/field/Multiselect/Multiselect';
|
|
58
58
|
import MultiStep from './components/infra/MultiStep';
|
|
59
59
|
import NarrowWide from './components/template/NarrowWide/NarrowWide';
|
|
60
60
|
import NarrowWideDetails from './components/template/NarrowWide/NarrowWideDetails';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk-pega-component-map.js","sourceRoot":"","sources":["../lib/sdk-pega-component-map.js"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,mFAAmF;AACnF,wEAAwE;AACxE,qFAAqF;AAErF,OAAO,aAAa,MAAM,uCAAuC,C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,KAAK;IACL,eAAe;IACf,KAAK;IACL,WAAW;IACX,SAAS,EAAE,SAAS;IACpB,YAAY;IACZ,MAAM;IACN,QAAQ;IACR,cAAc;IACd,aAAa;IACb,UAAU;IACV,YAAY;IACZ,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,uBAAuB;IACvB,MAAM;IACN,OAAO;IACP,WAAW;IACX,WAAW;IACX,QAAQ;IACR,WAAW;IACX,SAAS;IACT,IAAI;IACJ,IAAI,EAAE,IAAI;IACV,SAAS;IACT,aAAa;IACb,YAAY;IACZ,GAAG;IACH,aAAa;IACb,YAAY;IACZ,IAAI;IACJ,aAAa;IACb,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,SAAS;IACT,cAAc;CACf,CAAC;AAEF,eAAe,mBAAmB,CAAC","sourcesContent":["// When this code is run from the generated npm module, the components are\n// placed in the npm module's 'lib' directory. So, we expect to import from there.\n// This file should import and expose ALL of the components that may be\n// dynamically rendered at runtime via calls to react_pconnect or the View component\n\nimport ActionButtons from '../lib/components/infra/ActionButtons';\n\nimport ActionButtonsForFileUtil from './components/widget/FileUtility/ActionButtonsForFileUtil';\nimport AlertBanner from './components/designSystemExtension/AlertBanner';\nimport AppAnnouncement from './components/widget/AppAnnouncement';\nimport AppShell from './components/template/AppShell/AppShell';\nimport Assignment from './components/infra/Assignment/Assignment';\nimport AssignmentCard from './components/infra/AssignmentCard/AssignmentCard';\nimport Attachment from './components/widget/Attachment';\nimport AutoComplete from './components/field/AutoComplete';\nimport Banner from './components/designSystemExtension/Banner';\nimport BannerPage from './components/template/BannerPage';\nimport CancelAlert from './components/field/CancelAlert';\nimport CaseHistory from './components/widget/CaseHistory';\nimport CaseSummary from './components/template/CaseSummary';\nimport CaseSummaryFields from './components/designSystemExtension/CaseSummaryFields';\nimport CaseView from './components/template/CaseView';\nimport CaseViewActionsMenu from './components/template/CaseViewActionsMenu';\nimport Checkbox from './components/field/Checkbox';\nimport Confirmation from './components/template/Confirmation';\nimport Currency from './components/field/Currency';\nimport DashboardFilter from './components/infra/DashboardFilter';\nimport DataReference from './components/template/DataReference';\nimport Date from './components/field/Date';\nimport DateTime from './components/field/DateTime';\nimport Decimal from './components/field/Decimal';\nimport DefaultForm from './components/template/DefaultForm';\nimport DeferLoad from './components/infra/DeferLoad';\nimport Details from './components/template/Details/Details';\nimport DetailsSubTabs from './components/template/Details/DetailsSubTabs';\nimport DetailsThreeColumn from './components/template/Details/DetailsThreeColumn';\nimport DetailsTwoColumn from './components/template/Details/DetailsTwoColumn/DetailsTwoColumn';\nimport Dropdown from './components/field/Dropdown';\nimport DynamicTabs from './components/template/Details/DynamicTabs';\nimport Email from './components/field/Email/Email';\nimport ErrorBoundary from './components/infra/ErrorBoundary';\nimport FieldGroup from './components/designSystemExtension/FieldGroup';\nimport FieldGroupList from './components/designSystemExtension/FieldGroupList';\nimport FieldGroupTemplate from './components/template/FieldGroupTemplate';\nimport FieldValueList from './components/designSystemExtension/FieldValueList';\nimport FileUtility from './components/widget/FileUtility/FileUtility';\nimport FlowContainer from './components/infra/Containers/FlowContainer';\nimport Followers from './components/widget/Followers';\nimport Group from './components/field/Group';\nimport InlineDashboard from './components/template/InlineDashboard';\nimport InlineDashboardPage from './components/template/InlineDashboardPage/InlineDashboardPage';\nimport Integer from './components/field/Integer';\nimport LeftAlignVerticalTabs from './components/infra/VerticalTabs/LeftAlignVerticalTabs';\nimport ListPage from './components/template/ListPage/ListPage';\nimport ListView from './components/template/ListView';\nimport ListViewActionButtons from './components/infra/Containers/ModalViewContainer/ListViewActionButtons';\nimport ModalViewContainer from './components/infra/Containers/ModalViewContainer/ModalViewContainer';\nimport MultiReferenceReadOnly from './components/template/MultiReferenceReadOnly';\nimport Multiselect from './components/field/MultiSelect/Multiselect';\nimport MultiStep from './components/infra/MultiStep';\nimport NarrowWide from './components/template/NarrowWide/NarrowWide';\nimport NarrowWideDetails from './components/template/NarrowWide/NarrowWideDetails';\nimport NarrowWideForm from './components/template/NarrowWide/NarrowWideForm';\nimport NarrowWidePage from './components/template/NarrowWide/NarrowWidePage';\nimport NavBar from './components/infra/NavBar';\nimport OneColumn from './components/template/OneColumn/OneColumn';\nimport OneColumnPage from './components/template/OneColumn/OneColumnPage';\nimport OneColumnTab from './components/template/OneColumn/OneColumnTab';\nimport Operator from './components/designSystemExtension/Operator';\nimport Percentage from './components/field/Percentage';\nimport Phone from './components/field/Phone/Phone';\nimport PromotedFilters from './components/template/PromotedFilters';\nimport Pulse from './components/designSystemExtension/Pulse';\nimport QuickCreate from './components/widget/QuickCreate';\nimport RadioButtons from './components/field/RadioButtons';\nimport Reference from './components/infra/Reference/Reference';\nimport Region from './components/infra/Region/Region';\nimport RichText from './components/field/RichText';\nimport RichTextEditor from './components/designSystemExtension/RichTextEditor';\nimport RootContainer from './components/infra/RootContainer/RootContainer';\nimport ScalarList from './components/field/ScalarList';\nimport SemanticLink from './components/field/SemanticLink';\nimport SimpleTable from './components/template/SimpleTable/SimpleTable';\nimport SimpleTableManual from './components/template/SimpleTable/SimpleTableManual';\nimport SimpleTableSelect from './components/template/SimpleTable/SimpleTableSelect';\nimport SingleReferenceReadOnly from './components/template/SingleReferenceReadOnly';\nimport Stages from './components/infra/Stages';\nimport SubTabs from './components/template/SubTabs';\nimport SummaryItem from './components/widget/SummaryItem';\nimport SummaryList from './components/widget/SummaryList';\nimport TextArea from './components/field/TextArea';\nimport TextContent from './components/field/TextContent';\nimport TextInput from './components/field/TextInput/TextInput';\nimport Time from './components/field/Time';\nimport ToDo from './components/widget/ToDo';\nimport TwoColumn from './components/template/TwoColumn/TwoColumn';\nimport TwoColumnPage from './components/template/TwoColumn/TwoColumnPage';\nimport TwoColumnTab from './components/template/TwoColumn/TwoColumnTab';\nimport URL from './components/field/URL';\nimport UserReference from './components/field/UserReference';\nimport VerticalTabs from './components/infra/VerticalTabs/VerticalTabs';\nimport View from './components/infra/View';\nimport ViewContainer from './components/infra/Containers/ViewContainer';\nimport WideNarrow from './components/template/WideNarrow/WideNarrow';\nimport WideNarrowDetails from './components/template/WideNarrow/WideNarrowDetails';\nimport WideNarrowForm from './components/template/WideNarrow/WideNarrowForm';\nimport WideNarrowPage from './components/template/WideNarrow/WideNarrowPage';\nimport WssNavBar from './components/template/WssNavBar/WssNavBar';\nimport WssQuickCreate from './components/designSystemExtension/WssQuickCreate';\n\n// pegaSdkComponentMap is the JSON object where we'll store the components that are\n// the default implementations provided by the SDK. These will be used if there isn't\n// an entry in the localSdkComponentMap\n\n// NOTE: A few components have non-standard capitalization:\n// 'reference' is what's in the metadata, not Reference\n// 'Todo' is what's in the metadata, not ToDo\n// Also, note that \"Checkbox\" component is named/exported as CheckboxComponent\n\nconst pegaSdkComponentMap = {\n ActionButtons,\n ActionButtonsForFileUtil,\n AlertBanner,\n AppAnnouncement,\n AppShell,\n Assignment,\n AssignmentCard,\n Attachment,\n AutoComplete,\n Banner,\n BannerPage,\n CancelAlert,\n CaseHistory,\n CaseSummary,\n CaseSummaryFields,\n CaseView,\n CaseViewActionsMenu,\n Checkbox,\n Confirmation,\n Currency,\n DashboardFilter,\n DataReference,\n Date,\n DateTime,\n Decimal,\n DefaultForm,\n DeferLoad,\n Details,\n DetailsSubTabs,\n DetailsThreeColumn,\n DetailsTwoColumn,\n Dropdown,\n DynamicTabs,\n Email,\n ErrorBoundary,\n FieldGroup,\n FieldGroupList,\n FieldGroupTemplate,\n FieldValueList,\n FileUtility,\n FlowContainer,\n Followers,\n Group,\n InlineDashboard,\n InlineDashboardPage,\n Integer,\n LeftAlignVerticalTabs,\n ListPage,\n ListView,\n ListViewActionButtons,\n ModalViewContainer,\n MultiReferenceReadOnly,\n Multiselect,\n MultiStep,\n NarrowWide,\n NarrowWideDetails,\n NarrowWideForm,\n NarrowWidePage,\n NavBar,\n OneColumn,\n OneColumnPage,\n OneColumnTab,\n Operator,\n Percentage,\n Phone,\n PromotedFilters,\n Pulse,\n QuickCreate,\n reference: Reference, // See note about about non-standard capitalization\n RadioButtons,\n Region,\n RichText,\n RichTextEditor,\n RootContainer,\n ScalarList,\n SemanticLink,\n SimpleTable,\n SimpleTableManual,\n SimpleTableSelect,\n SingleReferenceReadOnly,\n Stages,\n SubTabs,\n SummaryItem,\n SummaryList,\n TextArea,\n TextContent,\n TextInput,\n Time,\n Todo: ToDo, // See note about about non-standard capitalization\n TwoColumn,\n TwoColumnPage,\n TwoColumnTab,\n URL,\n UserReference,\n VerticalTabs,\n View,\n ViewContainer,\n WideNarrow,\n WideNarrowDetails,\n WideNarrowForm,\n WideNarrowPage,\n WssNavBar,\n WssQuickCreate\n};\n\nexport default pegaSdkComponentMap;\n"]}
|
|
1
|
+
{"version":3,"file":"sdk-pega-component-map.js","sourceRoot":"","sources":["../lib/sdk-pega-component-map.js"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,mFAAmF;AACnF,wEAAwE;AACxE,qFAAqF;AAErF,OAAO,aAAa,MAAM,uCAAuC,CAAC;AAElE,OAAO,wBAAwB,MAAM,0DAA0D,CAAC;AAChG,OAAO,WAAW,MAAM,gDAAgD,CAAC;AACzE,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAClE,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,cAAc,MAAM,kDAAkD,CAAC;AAC9E,OAAO,UAAU,MAAM,gCAAgC,CAAC;AACxD,OAAO,YAAY,MAAM,iCAAiC,CAAC;AAC3D,OAAO,MAAM,MAAM,2CAA2C,CAAC;AAC/D,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,WAAW,MAAM,gCAAgC,CAAC;AACzD,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAC1D,OAAO,WAAW,MAAM,mCAAmC,CAAC;AAC5D,OAAO,iBAAiB,MAAM,sDAAsD,CAAC;AACrF,OAAO,QAAQ,MAAM,gCAAgC,CAAC;AACtD,OAAO,mBAAmB,MAAM,2CAA2C,CAAC;AAC5E,OAAO,QAAQ,MAAM,6BAA6B,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IACnB,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,eAAe;IACf,aAAa;IACb,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,WAAW;IACX,SAAS;IACT,OAAO;IACP,cAAc;IACd,kBAAkB;IAClB,gBAAgB;IAChB,QAAQ;IACR,WAAW;IACX,KAAK;IACL,aAAa;IACb,UAAU;IACV,cAAc;IACd,kBAAkB;IAClB,cAAc;IACd,WAAW;IACX,aAAa;IACb,SAAS;IACT,KAAK;IACL,eAAe;IACf,mBAAmB;IACnB,OAAO;IACP,qBAAqB;IACrB,QAAQ;IACR,QAAQ;IACR,qBAAqB;IACrB,kBAAkB;IAClB,sBAAsB;IACtB,WAAW;IACX,SAAS;IACT,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,MAAM;IACN,SAAS;IACT,aAAa;IACb,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,KAAK;IACL,eAAe;IACf,KAAK;IACL,WAAW;IACX,SAAS,EAAE,SAAS;IACpB,YAAY;IACZ,MAAM;IACN,QAAQ;IACR,cAAc;IACd,aAAa;IACb,UAAU;IACV,YAAY;IACZ,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,uBAAuB;IACvB,MAAM;IACN,OAAO;IACP,WAAW;IACX,WAAW;IACX,QAAQ;IACR,WAAW;IACX,SAAS;IACT,IAAI;IACJ,IAAI,EAAE,IAAI;IACV,SAAS;IACT,aAAa;IACb,YAAY;IACZ,GAAG;IACH,aAAa;IACb,YAAY;IACZ,IAAI;IACJ,aAAa;IACb,UAAU;IACV,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,SAAS;IACT,cAAc;CACf,CAAC;AAEF,eAAe,mBAAmB,CAAC","sourcesContent":["// When this code is run from the generated npm module, the components are\n// placed in the npm module's 'lib' directory. So, we expect to import from there.\n// This file should import and expose ALL of the components that may be\n// dynamically rendered at runtime via calls to react_pconnect or the View component\n\nimport ActionButtons from '../lib/components/infra/ActionButtons';\n\nimport ActionButtonsForFileUtil from './components/widget/FileUtility/ActionButtonsForFileUtil';\nimport AlertBanner from './components/designSystemExtension/AlertBanner';\nimport AppAnnouncement from './components/widget/AppAnnouncement';\nimport AppShell from './components/template/AppShell/AppShell';\nimport Assignment from './components/infra/Assignment/Assignment';\nimport AssignmentCard from './components/infra/AssignmentCard/AssignmentCard';\nimport Attachment from './components/widget/Attachment';\nimport AutoComplete from './components/field/AutoComplete';\nimport Banner from './components/designSystemExtension/Banner';\nimport BannerPage from './components/template/BannerPage';\nimport CancelAlert from './components/field/CancelAlert';\nimport CaseHistory from './components/widget/CaseHistory';\nimport CaseSummary from './components/template/CaseSummary';\nimport CaseSummaryFields from './components/designSystemExtension/CaseSummaryFields';\nimport CaseView from './components/template/CaseView';\nimport CaseViewActionsMenu from './components/template/CaseViewActionsMenu';\nimport Checkbox from './components/field/Checkbox';\nimport Confirmation from './components/template/Confirmation';\nimport Currency from './components/field/Currency';\nimport DashboardFilter from './components/infra/DashboardFilter';\nimport DataReference from './components/template/DataReference';\nimport Date from './components/field/Date';\nimport DateTime from './components/field/DateTime';\nimport Decimal from './components/field/Decimal';\nimport DefaultForm from './components/template/DefaultForm';\nimport DeferLoad from './components/infra/DeferLoad';\nimport Details from './components/template/Details/Details';\nimport DetailsSubTabs from './components/template/Details/DetailsSubTabs';\nimport DetailsThreeColumn from './components/template/Details/DetailsThreeColumn';\nimport DetailsTwoColumn from './components/template/Details/DetailsTwoColumn/DetailsTwoColumn';\nimport Dropdown from './components/field/Dropdown';\nimport DynamicTabs from './components/template/Details/DynamicTabs';\nimport Email from './components/field/Email/Email';\nimport ErrorBoundary from './components/infra/ErrorBoundary';\nimport FieldGroup from './components/designSystemExtension/FieldGroup';\nimport FieldGroupList from './components/designSystemExtension/FieldGroupList';\nimport FieldGroupTemplate from './components/template/FieldGroupTemplate';\nimport FieldValueList from './components/designSystemExtension/FieldValueList';\nimport FileUtility from './components/widget/FileUtility/FileUtility';\nimport FlowContainer from './components/infra/Containers/FlowContainer';\nimport Followers from './components/widget/Followers';\nimport Group from './components/field/Group';\nimport InlineDashboard from './components/template/InlineDashboard';\nimport InlineDashboardPage from './components/template/InlineDashboardPage/InlineDashboardPage';\nimport Integer from './components/field/Integer';\nimport LeftAlignVerticalTabs from './components/infra/VerticalTabs/LeftAlignVerticalTabs';\nimport ListPage from './components/template/ListPage/ListPage';\nimport ListView from './components/template/ListView';\nimport ListViewActionButtons from './components/infra/Containers/ModalViewContainer/ListViewActionButtons';\nimport ModalViewContainer from './components/infra/Containers/ModalViewContainer/ModalViewContainer';\nimport MultiReferenceReadOnly from './components/template/MultiReferenceReadOnly';\nimport Multiselect from './components/field/Multiselect/Multiselect';\nimport MultiStep from './components/infra/MultiStep';\nimport NarrowWide from './components/template/NarrowWide/NarrowWide';\nimport NarrowWideDetails from './components/template/NarrowWide/NarrowWideDetails';\nimport NarrowWideForm from './components/template/NarrowWide/NarrowWideForm';\nimport NarrowWidePage from './components/template/NarrowWide/NarrowWidePage';\nimport NavBar from './components/infra/NavBar';\nimport OneColumn from './components/template/OneColumn/OneColumn';\nimport OneColumnPage from './components/template/OneColumn/OneColumnPage';\nimport OneColumnTab from './components/template/OneColumn/OneColumnTab';\nimport Operator from './components/designSystemExtension/Operator';\nimport Percentage from './components/field/Percentage';\nimport Phone from './components/field/Phone/Phone';\nimport PromotedFilters from './components/template/PromotedFilters';\nimport Pulse from './components/designSystemExtension/Pulse';\nimport QuickCreate from './components/widget/QuickCreate';\nimport RadioButtons from './components/field/RadioButtons';\nimport Reference from './components/infra/Reference/Reference';\nimport Region from './components/infra/Region/Region';\nimport RichText from './components/field/RichText';\nimport RichTextEditor from './components/designSystemExtension/RichTextEditor';\nimport RootContainer from './components/infra/RootContainer/RootContainer';\nimport ScalarList from './components/field/ScalarList';\nimport SemanticLink from './components/field/SemanticLink';\nimport SimpleTable from './components/template/SimpleTable/SimpleTable';\nimport SimpleTableManual from './components/template/SimpleTable/SimpleTableManual';\nimport SimpleTableSelect from './components/template/SimpleTable/SimpleTableSelect';\nimport SingleReferenceReadOnly from './components/template/SingleReferenceReadOnly';\nimport Stages from './components/infra/Stages';\nimport SubTabs from './components/template/SubTabs';\nimport SummaryItem from './components/widget/SummaryItem';\nimport SummaryList from './components/widget/SummaryList';\nimport TextArea from './components/field/TextArea';\nimport TextContent from './components/field/TextContent';\nimport TextInput from './components/field/TextInput/TextInput';\nimport Time from './components/field/Time';\nimport ToDo from './components/widget/ToDo';\nimport TwoColumn from './components/template/TwoColumn/TwoColumn';\nimport TwoColumnPage from './components/template/TwoColumn/TwoColumnPage';\nimport TwoColumnTab from './components/template/TwoColumn/TwoColumnTab';\nimport URL from './components/field/URL';\nimport UserReference from './components/field/UserReference';\nimport VerticalTabs from './components/infra/VerticalTabs/VerticalTabs';\nimport View from './components/infra/View';\nimport ViewContainer from './components/infra/Containers/ViewContainer';\nimport WideNarrow from './components/template/WideNarrow/WideNarrow';\nimport WideNarrowDetails from './components/template/WideNarrow/WideNarrowDetails';\nimport WideNarrowForm from './components/template/WideNarrow/WideNarrowForm';\nimport WideNarrowPage from './components/template/WideNarrow/WideNarrowPage';\nimport WssNavBar from './components/template/WssNavBar/WssNavBar';\nimport WssQuickCreate from './components/designSystemExtension/WssQuickCreate';\n\n// pegaSdkComponentMap is the JSON object where we'll store the components that are\n// the default implementations provided by the SDK. These will be used if there isn't\n// an entry in the localSdkComponentMap\n\n// NOTE: A few components have non-standard capitalization:\n// 'reference' is what's in the metadata, not Reference\n// 'Todo' is what's in the metadata, not ToDo\n// Also, note that \"Checkbox\" component is named/exported as CheckboxComponent\n\nconst pegaSdkComponentMap = {\n ActionButtons,\n ActionButtonsForFileUtil,\n AlertBanner,\n AppAnnouncement,\n AppShell,\n Assignment,\n AssignmentCard,\n Attachment,\n AutoComplete,\n Banner,\n BannerPage,\n CancelAlert,\n CaseHistory,\n CaseSummary,\n CaseSummaryFields,\n CaseView,\n CaseViewActionsMenu,\n Checkbox,\n Confirmation,\n Currency,\n DashboardFilter,\n DataReference,\n Date,\n DateTime,\n Decimal,\n DefaultForm,\n DeferLoad,\n Details,\n DetailsSubTabs,\n DetailsThreeColumn,\n DetailsTwoColumn,\n Dropdown,\n DynamicTabs,\n Email,\n ErrorBoundary,\n FieldGroup,\n FieldGroupList,\n FieldGroupTemplate,\n FieldValueList,\n FileUtility,\n FlowContainer,\n Followers,\n Group,\n InlineDashboard,\n InlineDashboardPage,\n Integer,\n LeftAlignVerticalTabs,\n ListPage,\n ListView,\n ListViewActionButtons,\n ModalViewContainer,\n MultiReferenceReadOnly,\n Multiselect,\n MultiStep,\n NarrowWide,\n NarrowWideDetails,\n NarrowWideForm,\n NarrowWidePage,\n NavBar,\n OneColumn,\n OneColumnPage,\n OneColumnTab,\n Operator,\n Percentage,\n Phone,\n PromotedFilters,\n Pulse,\n QuickCreate,\n reference: Reference, // See note about about non-standard capitalization\n RadioButtons,\n Region,\n RichText,\n RichTextEditor,\n RootContainer,\n ScalarList,\n SemanticLink,\n SimpleTable,\n SimpleTableManual,\n SimpleTableSelect,\n SingleReferenceReadOnly,\n Stages,\n SubTabs,\n SummaryItem,\n SummaryList,\n TextArea,\n TextContent,\n TextInput,\n Time,\n Todo: ToDo, // See note about about non-standard capitalization\n TwoColumn,\n TwoColumnPage,\n TwoColumnTab,\n URL,\n UserReference,\n VerticalTabs,\n View,\n ViewContainer,\n WideNarrow,\n WideNarrowDetails,\n WideNarrowForm,\n WideNarrowPage,\n WssNavBar,\n WssQuickCreate\n};\n\nexport default pegaSdkComponentMap;\n"]}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Multiselect.d.ts","sourceRoot":"","sources":["../../../../src/components/field/MultiSelect/Multiselect.tsx"],"names":[],"mappings":";AAYA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,KAAA,eAuOxC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/field/MultiSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|