@pega/react-sdk-components 0.23.12 → 0.23.13
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/helpers/sdk_component_map.d.ts.map +1 -1
- package/lib/bridge/helpers/sdk_component_map.js +0 -91
- package/lib/bridge/helpers/sdk_component_map.js.map +1 -1
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts +13 -0
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts.map +1 -0
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js +124 -0
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js.map +1 -0
- package/lib/components/designSystemExtension/CaseSummaryFields/index.d.ts.map +1 -0
- package/lib/components/designSystemExtension/CaseSummaryFields/index.js.map +1 -0
- package/lib/components/designSystemExtension/DetailsFields/DetailsFields.d.ts.map +1 -0
- package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js +106 -0
- package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js.map +1 -0
- package/lib/components/designSystemExtension/DetailsFields/index.d.ts.map +1 -0
- package/lib/components/designSystemExtension/DetailsFields/index.js.map +1 -0
- package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts.map +1 -0
- package/lib/components/designSystemExtension/FieldGroup/FieldGroup.js.map +1 -0
- package/lib/components/designSystemExtension/FieldGroup/index.d.ts.map +1 -0
- package/lib/components/designSystemExtension/FieldGroup/index.js.map +1 -0
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.d.ts.map +1 -0
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js.map +1 -0
- package/lib/components/designSystemExtension/FieldGroupList/index.d.ts.map +1 -0
- package/lib/components/designSystemExtension/FieldGroupList/index.js.map +1 -0
- package/lib/components/designSystemExtension/FieldValueList/FieldValueList.d.ts.map +1 -0
- package/lib/components/designSystemExtension/FieldValueList/FieldValueList.js.map +1 -0
- package/lib/components/designSystemExtension/FieldValueList/index.d.ts.map +1 -0
- package/lib/components/designSystemExtension/FieldValueList/index.js.map +1 -0
- package/lib/components/designSystemExtension/Operator/Operator.d.ts.map +1 -0
- package/lib/components/designSystemExtension/Operator/Operator.js +155 -0
- package/lib/components/designSystemExtension/Operator/Operator.js.map +1 -0
- package/lib/components/designSystemExtension/Operator/index.d.ts.map +1 -0
- package/lib/components/designSystemExtension/Operator/index.js.map +1 -0
- package/lib/components/designSystemExtension/Pulse/Pulse.d.ts.map +1 -0
- package/lib/components/designSystemExtension/Pulse/Pulse.js.map +1 -0
- package/lib/components/designSystemExtension/Pulse/index.d.ts.map +1 -0
- package/lib/components/designSystemExtension/Pulse/index.js.map +1 -0
- package/lib/components/field/AutoComplete/AutoComplete.d.ts.map +1 -0
- package/lib/components/field/AutoComplete/AutoComplete.js +140 -0
- package/lib/components/field/AutoComplete/AutoComplete.js.map +1 -0
- package/lib/components/field/AutoComplete/index.d.ts.map +1 -0
- package/lib/components/field/AutoComplete/index.js.map +1 -0
- package/lib/components/field/CancelAlert/CancelAlert.d.ts.map +1 -0
- package/lib/components/field/CancelAlert/CancelAlert.js.map +1 -0
- package/lib/components/field/CancelAlert/index.d.ts.map +1 -0
- package/lib/components/field/CancelAlert/index.js.map +1 -0
- package/lib/components/field/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/components/field/Checkbox/Checkbox.js +41 -0
- package/lib/components/field/Checkbox/Checkbox.js.map +1 -0
- package/lib/components/field/Checkbox/index.d.ts.map +1 -0
- package/lib/components/field/Checkbox/index.js.map +1 -0
- package/lib/components/field/Currency/Currency.d.ts.map +1 -0
- package/lib/components/field/Currency/Currency.js +46 -0
- package/lib/components/field/Currency/Currency.js.map +1 -0
- package/lib/components/field/Currency/index.d.ts.map +1 -0
- package/lib/components/field/Currency/index.js.map +1 -0
- package/lib/components/field/Date/Date.d.ts.map +1 -0
- package/lib/components/field/Date/Date.js +36 -0
- package/lib/components/field/Date/Date.js.map +1 -0
- package/lib/components/field/Date/index.d.ts.map +1 -0
- package/lib/components/field/Date/index.js.map +1 -0
- package/lib/components/field/DateTime/DateTime.d.ts.map +1 -0
- package/lib/components/field/DateTime/DateTime.js +35 -0
- package/lib/components/field/DateTime/DateTime.js.map +1 -0
- package/lib/components/field/DateTime/index.d.ts.map +1 -0
- package/lib/components/field/DateTime/index.js.map +1 -0
- package/lib/components/field/Decimal/Decimal.d.ts.map +1 -0
- package/lib/components/field/Decimal/Decimal.js +19 -0
- package/lib/components/field/Decimal/Decimal.js.map +1 -0
- package/lib/components/field/Decimal/index.d.ts.map +1 -0
- package/lib/components/field/Decimal/index.js.map +1 -0
- package/lib/components/field/Dropdown/Dropdown.d.ts.map +1 -0
- package/lib/components/field/Dropdown/Dropdown.js +41 -0
- package/lib/components/field/Dropdown/Dropdown.js.map +1 -0
- package/lib/components/field/Dropdown/index.d.ts.map +1 -0
- package/lib/components/field/Dropdown/index.js.map +1 -0
- package/lib/components/field/Email/Email.d.ts.map +1 -0
- package/lib/components/field/Email/Email.js +28 -0
- package/lib/components/field/Email/Email.js.map +1 -0
- package/lib/components/field/Email/index.d.ts.map +1 -0
- package/lib/components/field/Email/index.js.map +1 -0
- package/lib/components/field/Integer/Integer.d.ts.map +1 -0
- package/lib/components/field/Integer/Integer.js +37 -0
- package/lib/components/field/Integer/Integer.js.map +1 -0
- package/lib/components/field/Integer/index.d.ts.map +1 -0
- package/lib/components/field/Integer/index.js.map +1 -0
- package/lib/components/field/Percentage/Percentage.d.ts.map +1 -0
- package/lib/components/field/Percentage/Percentage.js +42 -0
- package/lib/components/field/Percentage/Percentage.js.map +1 -0
- package/lib/components/field/Percentage/index.d.ts.map +1 -0
- package/lib/components/field/Percentage/index.js.map +1 -0
- package/lib/components/field/Phone/Phone.d.ts.map +1 -0
- package/lib/components/field/Phone/Phone.js +36 -0
- package/lib/components/field/Phone/Phone.js.map +1 -0
- package/lib/components/field/Phone/index.d.ts.map +1 -0
- package/lib/components/field/Phone/index.js.map +1 -0
- package/lib/components/field/RadioButtons/RadioButtons.d.ts.map +1 -0
- package/lib/components/field/RadioButtons/RadioButtons.js +40 -0
- package/lib/components/field/RadioButtons/RadioButtons.js.map +1 -0
- package/lib/components/field/RadioButtons/index.d.ts.map +1 -0
- package/lib/components/field/RadioButtons/index.js.map +1 -0
- package/lib/components/field/SemanticLink/SemanticLink.d.ts.map +1 -0
- package/lib/components/field/SemanticLink/SemanticLink.js.map +1 -0
- package/lib/components/field/SemanticLink/index.d.ts.map +1 -0
- package/lib/components/field/SemanticLink/index.js.map +1 -0
- package/lib/components/field/SemanticLink/utils.d.ts.map +1 -0
- package/lib/components/field/SemanticLink/utils.js.map +1 -0
- package/lib/components/field/TextArea/TextArea.d.ts.map +1 -0
- package/lib/components/field/TextArea/TextArea.js +26 -0
- package/lib/components/field/TextArea/TextArea.js.map +1 -0
- package/lib/components/field/TextArea/index.d.ts.map +1 -0
- package/lib/components/field/TextArea/index.js.map +1 -0
- package/lib/components/field/TextContent/TextContent.d.ts.map +1 -0
- package/lib/components/field/TextContent/TextContent.js.map +1 -0
- package/lib/components/field/TextContent/index.d.ts.map +1 -0
- package/lib/components/field/TextContent/index.js.map +1 -0
- package/lib/components/field/TextInput/TextInput.d.ts.map +1 -0
- package/lib/components/field/TextInput/TextInput.js +24 -0
- package/lib/components/field/TextInput/TextInput.js.map +1 -0
- package/lib/components/field/TextInput/index.d.ts.map +1 -0
- package/lib/components/field/TextInput/index.js.map +1 -0
- package/lib/components/field/Time/Time.d.ts.map +1 -0
- package/lib/components/field/Time/Time.js +34 -0
- package/lib/components/field/Time/Time.js.map +1 -0
- package/lib/components/field/Time/index.d.ts.map +1 -0
- package/lib/components/field/Time/index.js.map +1 -0
- package/lib/components/field/URL/URL.d.ts.map +1 -0
- package/lib/components/field/URL/URL.js +22 -0
- package/lib/components/field/URL/URL.js.map +1 -0
- package/lib/components/field/URL/index.d.ts.map +1 -0
- package/lib/components/field/URL/index.js.map +1 -0
- package/lib/components/field/UserReference/UserReference.d.ts.map +1 -0
- package/lib/components/field/UserReference/UserReference.js.map +1 -0
- package/lib/components/field/UserReference/UserReferenceUtils.d.ts.map +1 -0
- package/lib/components/field/UserReference/UserReferenceUtils.js.map +1 -0
- package/lib/components/field/UserReference/index.d.ts.map +1 -0
- package/lib/components/field/UserReference/index.js.map +1 -0
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js +1 -1
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js.map +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js.map +1 -1
- package/lib/components/infra/View/View.js +1 -1
- package/lib/components/infra/View/View.js.map +1 -1
- package/lib/components/template/AppShell/AppShell.d.ts.map +1 -0
- package/lib/components/template/AppShell/AppShell.js.map +1 -0
- package/lib/components/template/AppShell/index.d.ts.map +1 -0
- package/lib/components/template/AppShell/index.js.map +1 -0
- package/lib/components/template/CaseSummary/CaseSummary.d.ts.map +1 -0
- package/lib/components/template/CaseSummary/CaseSummary.js +40 -0
- package/lib/components/template/CaseSummary/CaseSummary.js.map +1 -0
- package/lib/components/template/CaseSummary/index.d.ts.map +1 -0
- package/lib/components/template/CaseSummary/index.js.map +1 -0
- package/lib/components/template/CaseView/CaseView.d.ts.map +1 -0
- package/lib/components/template/CaseView/CaseView.js.map +1 -0
- package/lib/components/template/CaseView/index.d.ts.map +1 -0
- package/lib/components/template/CaseView/index.js.map +1 -0
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts.map +1 -0
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js.map +1 -0
- package/lib/components/template/CaseViewActionsMenu/index.d.ts.map +1 -0
- package/lib/components/template/CaseViewActionsMenu/index.js.map +1 -0
- package/lib/components/template/DataReference/DataReference.d.ts.map +1 -0
- package/lib/components/template/DataReference/DataReference.js.map +1 -0
- package/lib/components/template/DataReference/index.d.ts.map +1 -0
- package/lib/components/template/DataReference/index.js.map +1 -0
- package/lib/components/template/DefaultForm/DefaultForm.d.ts.map +1 -0
- package/lib/components/template/DefaultForm/DefaultForm.js.map +1 -0
- package/lib/components/template/DefaultForm/index.d.ts.map +1 -0
- package/lib/components/template/DefaultForm/index.js.map +1 -0
- package/lib/components/template/Details/Details/Details.d.ts.map +1 -0
- package/lib/components/template/Details/Details/Details.js +26 -0
- package/lib/components/template/Details/Details/Details.js.map +1 -0
- package/lib/components/template/Details/Details/index.d.ts.map +1 -0
- package/lib/components/template/Details/Details/index.js.map +1 -0
- package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts.map +1 -0
- package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.js.map +1 -0
- package/lib/components/template/Details/DetailsSubTabs/index.d.ts.map +1 -0
- package/lib/components/template/Details/DetailsSubTabs/index.js.map +1 -0
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts.map +1 -0
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js +34 -0
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js.map +1 -0
- package/lib/components/template/Details/DetailsThreeColumn/index.d.ts.map +1 -0
- package/lib/components/template/Details/DetailsThreeColumn/index.js.map +1 -0
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts.map +1 -0
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js +32 -0
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js.map +1 -0
- package/lib/components/template/Details/DetailsTwoColumn/index.d.ts.map +1 -0
- package/lib/components/template/Details/DetailsTwoColumn/index.js.map +1 -0
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +1 -0
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js +78 -0
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js.map +1 -0
- package/lib/components/template/FieldGroupTemplate/index.d.ts.map +1 -0
- package/lib/components/template/FieldGroupTemplate/index.js.map +1 -0
- package/lib/components/template/InlineDashboard/InlineDashboard.d.ts.map +1 -0
- package/lib/components/template/InlineDashboard/InlineDashboard.js.map +1 -0
- package/lib/components/template/InlineDashboard/index.d.ts.map +1 -0
- package/lib/components/template/InlineDashboard/index.js.map +1 -0
- package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts.map +1 -0
- package/lib/components/template/InlineDashboardPage/InlineDashboardPage.js.map +1 -0
- package/lib/components/template/InlineDashboardPage/index.d.ts.map +1 -0
- package/lib/components/template/InlineDashboardPage/index.js.map +1 -0
- package/lib/components/template/ListPage/ListPage.d.ts.map +1 -0
- package/lib/components/template/ListPage/ListPage.js.map +1 -0
- package/lib/components/template/ListPage/index.d.ts.map +1 -0
- package/lib/components/template/ListPage/index.js.map +1 -0
- package/lib/components/template/ListView/ListView.d.ts.map +1 -0
- package/lib/components/template/ListView/ListView.js +868 -0
- package/lib/components/template/ListView/ListView.js.map +1 -0
- package/lib/components/template/ListView/index.d.ts.map +1 -0
- package/lib/components/template/ListView/index.js.map +1 -0
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +1 -0
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +1 -0
- package/lib/components/template/MultiReferenceReadOnly/index.d.ts.map +1 -0
- package/lib/components/template/MultiReferenceReadOnly/index.js.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.js.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWide/index.d.ts.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWide/index.js.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js +35 -0
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWideDetails/index.d.ts.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWideDetails/index.js.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.js.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWideForm/index.d.ts.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWideForm/index.js.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.js.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWidePage/index.d.ts.map +1 -0
- package/lib/components/template/NarrowWide/NarrowWidePage/index.js.map +1 -0
- package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts.map +1 -0
- package/lib/components/template/OneColumn/OneColumn/OneColumn.js.map +1 -0
- package/lib/components/template/OneColumn/OneColumn/index.d.ts.map +1 -0
- package/lib/components/template/OneColumn/OneColumn/index.js.map +1 -0
- package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts.map +1 -0
- package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.js.map +1 -0
- package/lib/components/template/OneColumn/OneColumnPage/index.d.ts.map +1 -0
- package/lib/components/template/OneColumn/OneColumnPage/index.js.map +1 -0
- package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts.map +1 -0
- package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.js.map +1 -0
- package/lib/components/template/OneColumn/OneColumnTab/index.d.ts.map +1 -0
- package/lib/components/template/OneColumn/OneColumnTab/index.js.map +1 -0
- package/lib/components/template/PromotedFilters/PromotedFilters.d.ts +18 -0
- package/lib/components/template/PromotedFilters/PromotedFilters.d.ts.map +1 -0
- package/lib/components/template/PromotedFilters/PromotedFilters.js +131 -0
- package/lib/components/template/PromotedFilters/PromotedFilters.js.map +1 -0
- package/lib/components/template/PromotedFilters/index.d.ts.map +1 -0
- package/lib/components/template/PromotedFilters/index.js.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js +26 -0
- package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTable/index.d.ts.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTable/index.js.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableManual/index.d.ts.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableManual/index.js.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.js +105 -0
- package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.js.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableSelect/index.d.ts.map +1 -0
- package/lib/components/template/SimpleTable/SimpleTableSelect/index.js.map +1 -0
- package/lib/components/template/SimpleTable/simpleTableHelpers.d.ts.map +1 -0
- package/lib/components/template/SimpleTable/simpleTableHelpers.js.map +1 -0
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts.map +1 -0
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js.map +1 -0
- package/lib/components/template/SingleReferenceReadOnly/index.d.ts.map +1 -0
- package/lib/components/template/SingleReferenceReadOnly/index.js.map +1 -0
- package/lib/components/template/SubTabs/SubTabs.d.ts.map +1 -0
- package/lib/components/template/SubTabs/SubTabs.js.map +1 -0
- package/lib/components/template/SubTabs/index.d.ts.map +1 -0
- package/lib/components/template/SubTabs/index.js.map +1 -0
- package/lib/components/template/SubTabs/tabUtils.d.ts.map +1 -0
- package/lib/components/template/SubTabs/tabUtils.js.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.js.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumn/index.d.ts.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumn/index.js.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.js.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumnPage/index.d.ts.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumnPage/index.js.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.js.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumnTab/index.d.ts.map +1 -0
- package/lib/components/template/TwoColumn/TwoColumnTab/index.js.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.js.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrow/index.d.ts.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrow/index.js.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js +35 -0
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowDetails/index.d.ts.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowDetails/index.js.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.js.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowForm/index.d.ts.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowForm/index.js.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.js.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowPage/index.d.ts.map +1 -0
- package/lib/components/template/WideNarrow/WideNarrowPage/index.js.map +1 -0
- package/lib/components/template/utils.d.ts.map +1 -0
- package/lib/components/template/utils.js +22 -0
- package/lib/components/template/utils.js.map +1 -0
- package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts.map +1 -0
- package/lib/components/widget/AppAnnouncement/AppAnnouncement.js.map +1 -0
- package/lib/components/widget/AppAnnouncement/index.d.ts.map +1 -0
- package/lib/components/widget/AppAnnouncement/index.js.map +1 -0
- package/lib/components/widget/Attachment/Attachment.d.ts.map +1 -0
- package/lib/components/widget/Attachment/Attachment.js +370 -0
- package/lib/components/widget/Attachment/Attachment.js.map +1 -0
- package/lib/components/widget/Attachment/index.d.ts.map +1 -0
- package/lib/components/widget/Attachment/index.js.map +1 -0
- package/lib/components/widget/CaseHistory/CaseHistory.d.ts.map +1 -0
- package/lib/components/widget/CaseHistory/CaseHistory.js.map +1 -0
- package/lib/components/widget/CaseHistory/index.d.ts.map +1 -0
- package/lib/components/widget/CaseHistory/index.js.map +1 -0
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts.map +1 -0
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js.map +1 -0
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/index.d.ts.map +1 -0
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/index.js.map +1 -0
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts.map +1 -0
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.js.map +1 -0
- package/lib/components/widget/FileUtility/FileUtility/index.d.ts.map +1 -0
- package/lib/components/widget/FileUtility/FileUtility/index.js.map +1 -0
- package/lib/components/widget/Followers/Followers.d.ts.map +1 -0
- package/lib/components/widget/Followers/Followers.js.map +1 -0
- package/lib/components/widget/Followers/index.d.ts.map +1 -0
- package/lib/components/widget/Followers/index.js.map +1 -0
- package/lib/components/widget/SummaryItem/SummaryItem.d.ts.map +1 -0
- package/lib/components/widget/SummaryItem/SummaryItem.js.map +1 -0
- package/lib/components/widget/SummaryItem/index.d.ts.map +1 -0
- package/lib/components/widget/SummaryItem/index.js.map +1 -0
- package/lib/components/widget/SummaryList/SummaryList.d.ts.map +1 -0
- package/lib/components/widget/SummaryList/SummaryList.js.map +1 -0
- package/lib/components/widget/SummaryList/index.d.ts.map +1 -0
- package/lib/components/widget/SummaryList/index.js.map +1 -0
- package/lib/components/widget/ToDo/ToDo.d.ts.map +1 -0
- package/lib/components/widget/ToDo/ToDo.js.map +1 -0
- package/lib/components/widget/ToDo/index.d.ts.map +1 -0
- package/lib/components/widget/ToDo/index.js.map +1 -0
- package/lib/components_map.js +61 -61
- package/lib/components_map.js.map +1 -1
- package/lib/sdk-pega-component-map.d.ts +84 -84
- package/lib/sdk-pega-component-map.js +84 -84
- package/lib/sdk-pega-component-map.js.map +1 -1
- package/package.json +1 -1
- package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.d.ts +0 -13
- package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.js +0 -102
- package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.js.map +0 -1
- package/lib/components/designSystemExtensions/CaseSummaryFields/index.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/CaseSummaryFields/index.js.map +0 -1
- package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.js +0 -106
- package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.js.map +0 -1
- package/lib/components/designSystemExtensions/DetailsFields/index.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/DetailsFields/index.js.map +0 -1
- package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.js.map +0 -1
- package/lib/components/designSystemExtensions/FieldGroup/index.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/FieldGroup/index.js.map +0 -1
- package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.js.map +0 -1
- package/lib/components/designSystemExtensions/FieldGroupList/index.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/FieldGroupList/index.js.map +0 -1
- package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.js.map +0 -1
- package/lib/components/designSystemExtensions/FieldValueList/index.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/FieldValueList/index.js.map +0 -1
- package/lib/components/designSystemExtensions/Operator/Operator.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/Operator/Operator.js +0 -154
- package/lib/components/designSystemExtensions/Operator/Operator.js.map +0 -1
- package/lib/components/designSystemExtensions/Operator/index.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/Operator/index.js.map +0 -1
- package/lib/components/designSystemExtensions/Pulse/Pulse.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/Pulse/Pulse.js.map +0 -1
- package/lib/components/designSystemExtensions/Pulse/index.d.ts.map +0 -1
- package/lib/components/designSystemExtensions/Pulse/index.js.map +0 -1
- package/lib/components/forms/AutoComplete/AutoComplete.d.ts.map +0 -1
- package/lib/components/forms/AutoComplete/AutoComplete.js +0 -133
- package/lib/components/forms/AutoComplete/AutoComplete.js.map +0 -1
- package/lib/components/forms/AutoComplete/index.d.ts.map +0 -1
- package/lib/components/forms/AutoComplete/index.js.map +0 -1
- package/lib/components/forms/CancelAlert/CancelAlert.d.ts.map +0 -1
- package/lib/components/forms/CancelAlert/CancelAlert.js.map +0 -1
- package/lib/components/forms/CancelAlert/index.d.ts.map +0 -1
- package/lib/components/forms/CancelAlert/index.js.map +0 -1
- package/lib/components/forms/Checkbox/Checkbox.d.ts.map +0 -1
- package/lib/components/forms/Checkbox/Checkbox.js +0 -34
- package/lib/components/forms/Checkbox/Checkbox.js.map +0 -1
- package/lib/components/forms/Checkbox/index.d.ts.map +0 -1
- package/lib/components/forms/Checkbox/index.js.map +0 -1
- package/lib/components/forms/Currency/Currency.d.ts.map +0 -1
- package/lib/components/forms/Currency/Currency.js +0 -46
- package/lib/components/forms/Currency/Currency.js.map +0 -1
- package/lib/components/forms/Currency/index.d.ts.map +0 -1
- package/lib/components/forms/Currency/index.js.map +0 -1
- package/lib/components/forms/Date/Date.d.ts.map +0 -1
- package/lib/components/forms/Date/Date.js +0 -36
- package/lib/components/forms/Date/Date.js.map +0 -1
- package/lib/components/forms/Date/index.d.ts.map +0 -1
- package/lib/components/forms/Date/index.js.map +0 -1
- package/lib/components/forms/DateTime/DateTime.d.ts.map +0 -1
- package/lib/components/forms/DateTime/DateTime.js +0 -35
- package/lib/components/forms/DateTime/DateTime.js.map +0 -1
- package/lib/components/forms/DateTime/index.d.ts.map +0 -1
- package/lib/components/forms/DateTime/index.js.map +0 -1
- package/lib/components/forms/Decimal/Decimal.d.ts.map +0 -1
- package/lib/components/forms/Decimal/Decimal.js +0 -19
- package/lib/components/forms/Decimal/Decimal.js.map +0 -1
- package/lib/components/forms/Decimal/index.d.ts.map +0 -1
- package/lib/components/forms/Decimal/index.js.map +0 -1
- package/lib/components/forms/Dropdown/Dropdown.d.ts.map +0 -1
- package/lib/components/forms/Dropdown/Dropdown.js +0 -34
- package/lib/components/forms/Dropdown/Dropdown.js.map +0 -1
- package/lib/components/forms/Dropdown/index.d.ts.map +0 -1
- package/lib/components/forms/Dropdown/index.js.map +0 -1
- package/lib/components/forms/Email/Email.d.ts.map +0 -1
- package/lib/components/forms/Email/Email.js +0 -28
- package/lib/components/forms/Email/Email.js.map +0 -1
- package/lib/components/forms/Email/index.d.ts.map +0 -1
- package/lib/components/forms/Email/index.js.map +0 -1
- package/lib/components/forms/Integer/Integer.d.ts.map +0 -1
- package/lib/components/forms/Integer/Integer.js +0 -37
- package/lib/components/forms/Integer/Integer.js.map +0 -1
- package/lib/components/forms/Integer/index.d.ts.map +0 -1
- package/lib/components/forms/Integer/index.js.map +0 -1
- package/lib/components/forms/Percentage/Percentage.d.ts.map +0 -1
- package/lib/components/forms/Percentage/Percentage.js +0 -42
- package/lib/components/forms/Percentage/Percentage.js.map +0 -1
- package/lib/components/forms/Percentage/index.d.ts.map +0 -1
- package/lib/components/forms/Percentage/index.js.map +0 -1
- package/lib/components/forms/Phone/Phone.d.ts.map +0 -1
- package/lib/components/forms/Phone/Phone.js +0 -36
- package/lib/components/forms/Phone/Phone.js.map +0 -1
- package/lib/components/forms/Phone/index.d.ts.map +0 -1
- package/lib/components/forms/Phone/index.js.map +0 -1
- package/lib/components/forms/RadioButtons/RadioButtons.d.ts.map +0 -1
- package/lib/components/forms/RadioButtons/RadioButtons.js +0 -33
- package/lib/components/forms/RadioButtons/RadioButtons.js.map +0 -1
- package/lib/components/forms/RadioButtons/index.d.ts.map +0 -1
- package/lib/components/forms/RadioButtons/index.js.map +0 -1
- package/lib/components/forms/SemanticLink/SemanticLink.d.ts.map +0 -1
- package/lib/components/forms/SemanticLink/SemanticLink.js.map +0 -1
- package/lib/components/forms/SemanticLink/index.d.ts.map +0 -1
- package/lib/components/forms/SemanticLink/index.js.map +0 -1
- package/lib/components/forms/SemanticLink/utils.d.ts.map +0 -1
- package/lib/components/forms/SemanticLink/utils.js.map +0 -1
- package/lib/components/forms/TextArea/TextArea.d.ts.map +0 -1
- package/lib/components/forms/TextArea/TextArea.js +0 -26
- package/lib/components/forms/TextArea/TextArea.js.map +0 -1
- package/lib/components/forms/TextArea/index.d.ts.map +0 -1
- package/lib/components/forms/TextArea/index.js.map +0 -1
- package/lib/components/forms/TextContent/TextContent.d.ts.map +0 -1
- package/lib/components/forms/TextContent/TextContent.js.map +0 -1
- package/lib/components/forms/TextContent/index.d.ts.map +0 -1
- package/lib/components/forms/TextContent/index.js.map +0 -1
- package/lib/components/forms/TextInput/TextInput.d.ts.map +0 -1
- package/lib/components/forms/TextInput/TextInput.js +0 -24
- package/lib/components/forms/TextInput/TextInput.js.map +0 -1
- package/lib/components/forms/TextInput/index.d.ts.map +0 -1
- package/lib/components/forms/TextInput/index.js.map +0 -1
- package/lib/components/forms/Time/Time.d.ts.map +0 -1
- package/lib/components/forms/Time/Time.js +0 -34
- package/lib/components/forms/Time/Time.js.map +0 -1
- package/lib/components/forms/Time/index.d.ts.map +0 -1
- package/lib/components/forms/Time/index.js.map +0 -1
- package/lib/components/forms/URL/URL.d.ts.map +0 -1
- package/lib/components/forms/URL/URL.js +0 -22
- package/lib/components/forms/URL/URL.js.map +0 -1
- package/lib/components/forms/URL/index.d.ts.map +0 -1
- package/lib/components/forms/URL/index.js.map +0 -1
- package/lib/components/forms/UserReference/UserReference.d.ts.map +0 -1
- package/lib/components/forms/UserReference/UserReference.js.map +0 -1
- package/lib/components/forms/UserReference/UserReferenceUtils.d.ts.map +0 -1
- package/lib/components/forms/UserReference/UserReferenceUtils.js.map +0 -1
- package/lib/components/forms/UserReference/index.d.ts.map +0 -1
- package/lib/components/forms/UserReference/index.js.map +0 -1
- package/lib/components/templates/AppShell/AppShell.d.ts.map +0 -1
- package/lib/components/templates/AppShell/AppShell.js.map +0 -1
- package/lib/components/templates/AppShell/index.d.ts.map +0 -1
- package/lib/components/templates/AppShell/index.js.map +0 -1
- package/lib/components/templates/CaseSummary/CaseSummary.d.ts.map +0 -1
- package/lib/components/templates/CaseSummary/CaseSummary.js +0 -40
- package/lib/components/templates/CaseSummary/CaseSummary.js.map +0 -1
- package/lib/components/templates/CaseSummary/index.d.ts.map +0 -1
- package/lib/components/templates/CaseSummary/index.js.map +0 -1
- package/lib/components/templates/CaseView/CaseView.d.ts.map +0 -1
- package/lib/components/templates/CaseView/CaseView.js.map +0 -1
- package/lib/components/templates/CaseView/index.d.ts.map +0 -1
- package/lib/components/templates/CaseView/index.js.map +0 -1
- package/lib/components/templates/CaseViewActionsMenu/CaseViewActionsMenu.d.ts.map +0 -1
- package/lib/components/templates/CaseViewActionsMenu/CaseViewActionsMenu.js.map +0 -1
- package/lib/components/templates/CaseViewActionsMenu/index.d.ts.map +0 -1
- package/lib/components/templates/CaseViewActionsMenu/index.js.map +0 -1
- package/lib/components/templates/DataReference/DataReference.d.ts.map +0 -1
- package/lib/components/templates/DataReference/DataReference.js.map +0 -1
- package/lib/components/templates/DataReference/index.d.ts.map +0 -1
- package/lib/components/templates/DataReference/index.js.map +0 -1
- package/lib/components/templates/DefaultForm/DefaultForm.d.ts.map +0 -1
- package/lib/components/templates/DefaultForm/DefaultForm.js.map +0 -1
- package/lib/components/templates/DefaultForm/index.d.ts.map +0 -1
- package/lib/components/templates/DefaultForm/index.js.map +0 -1
- package/lib/components/templates/Details/Details/Details.d.ts.map +0 -1
- package/lib/components/templates/Details/Details/Details.js +0 -26
- package/lib/components/templates/Details/Details/Details.js.map +0 -1
- package/lib/components/templates/Details/Details/index.d.ts.map +0 -1
- package/lib/components/templates/Details/Details/index.js.map +0 -1
- package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.d.ts.map +0 -1
- package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.js.map +0 -1
- package/lib/components/templates/Details/DetailsSubTabs/index.d.ts.map +0 -1
- package/lib/components/templates/Details/DetailsSubTabs/index.js.map +0 -1
- package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts.map +0 -1
- package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.js +0 -34
- package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.js.map +0 -1
- package/lib/components/templates/Details/DetailsThreeColumn/index.d.ts.map +0 -1
- package/lib/components/templates/Details/DetailsThreeColumn/index.js.map +0 -1
- package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts.map +0 -1
- package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.js +0 -32
- package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.js.map +0 -1
- package/lib/components/templates/Details/DetailsTwoColumn/index.d.ts.map +0 -1
- package/lib/components/templates/Details/DetailsTwoColumn/index.js.map +0 -1
- package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +0 -1
- package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.js +0 -78
- package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.js.map +0 -1
- package/lib/components/templates/FieldGroupTemplate/index.d.ts.map +0 -1
- package/lib/components/templates/FieldGroupTemplate/index.js.map +0 -1
- package/lib/components/templates/InlineDashboard/InlineDashboard.d.ts.map +0 -1
- package/lib/components/templates/InlineDashboard/InlineDashboard.js.map +0 -1
- package/lib/components/templates/InlineDashboard/index.d.ts.map +0 -1
- package/lib/components/templates/InlineDashboard/index.js.map +0 -1
- package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.d.ts.map +0 -1
- package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.js.map +0 -1
- package/lib/components/templates/InlineDashboardPage/index.d.ts.map +0 -1
- package/lib/components/templates/InlineDashboardPage/index.js.map +0 -1
- package/lib/components/templates/ListPage/ListPage.d.ts.map +0 -1
- package/lib/components/templates/ListPage/ListPage.js.map +0 -1
- package/lib/components/templates/ListPage/index.d.ts.map +0 -1
- package/lib/components/templates/ListPage/index.js.map +0 -1
- package/lib/components/templates/ListView/ListView.d.ts.map +0 -1
- package/lib/components/templates/ListView/ListView.js +0 -842
- package/lib/components/templates/ListView/ListView.js.map +0 -1
- package/lib/components/templates/ListView/index.d.ts.map +0 -1
- package/lib/components/templates/ListView/index.js.map +0 -1
- package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +0 -1
- package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +0 -1
- package/lib/components/templates/MultiReferenceReadOnly/index.d.ts.map +0 -1
- package/lib/components/templates/MultiReferenceReadOnly/index.js.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.d.ts.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.js.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWide/index.d.ts.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWide/index.js.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.js +0 -35
- package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.js.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWideDetails/index.d.ts.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWideDetails/index.js.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.js.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWideForm/index.d.ts.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWideForm/index.js.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.js.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWidePage/index.d.ts.map +0 -1
- package/lib/components/templates/NarrowWide/NarrowWidePage/index.js.map +0 -1
- package/lib/components/templates/OneColumn/OneColumn/OneColumn.d.ts.map +0 -1
- package/lib/components/templates/OneColumn/OneColumn/OneColumn.js.map +0 -1
- package/lib/components/templates/OneColumn/OneColumn/index.d.ts.map +0 -1
- package/lib/components/templates/OneColumn/OneColumn/index.js.map +0 -1
- package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.d.ts.map +0 -1
- package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.js.map +0 -1
- package/lib/components/templates/OneColumn/OneColumnPage/index.d.ts.map +0 -1
- package/lib/components/templates/OneColumn/OneColumnPage/index.js.map +0 -1
- package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.d.ts.map +0 -1
- package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.js.map +0 -1
- package/lib/components/templates/OneColumn/OneColumnTab/index.d.ts.map +0 -1
- package/lib/components/templates/OneColumn/OneColumnTab/index.js.map +0 -1
- package/lib/components/templates/PromotedFilters/PromotedFilters.d.ts +0 -17
- package/lib/components/templates/PromotedFilters/PromotedFilters.d.ts.map +0 -1
- package/lib/components/templates/PromotedFilters/PromotedFilters.js +0 -130
- package/lib/components/templates/PromotedFilters/PromotedFilters.js.map +0 -1
- package/lib/components/templates/PromotedFilters/index.d.ts.map +0 -1
- package/lib/components/templates/PromotedFilters/index.js.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.d.ts.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.js +0 -26
- package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.js.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTable/index.d.ts.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTable/index.js.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTableManual/index.d.ts.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTableManual/index.js.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.js +0 -105
- package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.js.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTableSelect/index.d.ts.map +0 -1
- package/lib/components/templates/SimpleTable/SimpleTableSelect/index.js.map +0 -1
- package/lib/components/templates/SimpleTable/simpleTableHelpers.d.ts.map +0 -1
- package/lib/components/templates/SimpleTable/simpleTableHelpers.js.map +0 -1
- package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts.map +0 -1
- package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.js.map +0 -1
- package/lib/components/templates/SingleReferenceReadOnly/index.d.ts.map +0 -1
- package/lib/components/templates/SingleReferenceReadOnly/index.js.map +0 -1
- package/lib/components/templates/SubTabs/SubTabs.d.ts.map +0 -1
- package/lib/components/templates/SubTabs/SubTabs.js.map +0 -1
- package/lib/components/templates/SubTabs/index.d.ts.map +0 -1
- package/lib/components/templates/SubTabs/index.js.map +0 -1
- package/lib/components/templates/SubTabs/tabUtils.d.ts.map +0 -1
- package/lib/components/templates/SubTabs/tabUtils.js.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.d.ts.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.js.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumn/index.d.ts.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumn/index.js.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.js.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumnPage/index.d.ts.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumnPage/index.js.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.js.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumnTab/index.d.ts.map +0 -1
- package/lib/components/templates/TwoColumn/TwoColumnTab/index.js.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.d.ts.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.js.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrow/index.d.ts.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrow/index.js.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.js +0 -35
- package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.js.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowDetails/index.d.ts.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowDetails/index.js.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.js.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowForm/index.d.ts.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowForm/index.js.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.js.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowPage/index.d.ts.map +0 -1
- package/lib/components/templates/WideNarrow/WideNarrowPage/index.js.map +0 -1
- package/lib/components/templates/utils.d.ts.map +0 -1
- package/lib/components/templates/utils.js +0 -22
- package/lib/components/templates/utils.js.map +0 -1
- package/lib/components/widgets/AppAnnouncement/AppAnnouncement.d.ts.map +0 -1
- package/lib/components/widgets/AppAnnouncement/AppAnnouncement.js.map +0 -1
- package/lib/components/widgets/AppAnnouncement/index.d.ts.map +0 -1
- package/lib/components/widgets/AppAnnouncement/index.js.map +0 -1
- package/lib/components/widgets/Attachment/Attachment.d.ts.map +0 -1
- package/lib/components/widgets/Attachment/Attachment.js +0 -370
- package/lib/components/widgets/Attachment/Attachment.js.map +0 -1
- package/lib/components/widgets/Attachment/index.d.ts.map +0 -1
- package/lib/components/widgets/Attachment/index.js.map +0 -1
- package/lib/components/widgets/CaseHistory/CaseHistory.d.ts.map +0 -1
- package/lib/components/widgets/CaseHistory/CaseHistory.js.map +0 -1
- package/lib/components/widgets/CaseHistory/index.d.ts.map +0 -1
- package/lib/components/widgets/CaseHistory/index.js.map +0 -1
- package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts.map +0 -1
- package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js.map +0 -1
- package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil/index.d.ts.map +0 -1
- package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil/index.js.map +0 -1
- package/lib/components/widgets/FileUtility/FileUtility/FileUtility.d.ts.map +0 -1
- package/lib/components/widgets/FileUtility/FileUtility/FileUtility.js.map +0 -1
- package/lib/components/widgets/FileUtility/FileUtility/index.d.ts.map +0 -1
- package/lib/components/widgets/FileUtility/FileUtility/index.js.map +0 -1
- package/lib/components/widgets/Followers/Followers.d.ts.map +0 -1
- package/lib/components/widgets/Followers/Followers.js.map +0 -1
- package/lib/components/widgets/Followers/index.d.ts.map +0 -1
- package/lib/components/widgets/Followers/index.js.map +0 -1
- package/lib/components/widgets/SummaryItem/SummaryItem.d.ts.map +0 -1
- package/lib/components/widgets/SummaryItem/SummaryItem.js.map +0 -1
- package/lib/components/widgets/SummaryItem/index.d.ts.map +0 -1
- package/lib/components/widgets/SummaryItem/index.js.map +0 -1
- package/lib/components/widgets/SummaryList/SummaryList.d.ts.map +0 -1
- package/lib/components/widgets/SummaryList/SummaryList.js.map +0 -1
- package/lib/components/widgets/SummaryList/index.d.ts.map +0 -1
- package/lib/components/widgets/SummaryList/index.js.map +0 -1
- package/lib/components/widgets/ToDo/ToDo.d.ts.map +0 -1
- package/lib/components/widgets/ToDo/ToDo.js.map +0 -1
- package/lib/components/widgets/ToDo/index.d.ts.map +0 -1
- package/lib/components/widgets/ToDo/index.js.map +0 -1
- /package/lib/components/{designSystemExtensions → designSystemExtension}/CaseSummaryFields/CaseSummaryFields.css +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/CaseSummaryFields/index.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/CaseSummaryFields/index.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/DetailsFields/DetailsFields.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/DetailsFields/index.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/DetailsFields/index.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldGroup/FieldGroup.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldGroup/FieldGroup.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldGroup/index.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldGroup/index.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldGroupList/FieldGroupList.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldGroupList/FieldGroupList.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldGroupList/index.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldGroupList/index.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldValueList/FieldValueList.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldValueList/FieldValueList.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldValueList/index.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/FieldValueList/index.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/Operator/Operator.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/Operator/index.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/Operator/index.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/Pulse/Pulse.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/Pulse/Pulse.js +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/Pulse/index.d.ts +0 -0
- /package/lib/components/{designSystemExtensions → designSystemExtension}/Pulse/index.js +0 -0
- /package/lib/components/{forms → field}/AutoComplete/AutoComplete.d.ts +0 -0
- /package/lib/components/{forms → field}/AutoComplete/index.d.ts +0 -0
- /package/lib/components/{forms → field}/AutoComplete/index.js +0 -0
- /package/lib/components/{forms → field}/CancelAlert/CancelAlert.css +0 -0
- /package/lib/components/{forms → field}/CancelAlert/CancelAlert.d.ts +0 -0
- /package/lib/components/{forms → field}/CancelAlert/CancelAlert.js +0 -0
- /package/lib/components/{forms → field}/CancelAlert/index.d.ts +0 -0
- /package/lib/components/{forms → field}/CancelAlert/index.js +0 -0
- /package/lib/components/{forms → field}/Checkbox/Checkbox.d.ts +0 -0
- /package/lib/components/{forms → field}/Checkbox/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Checkbox/index.js +0 -0
- /package/lib/components/{forms → field}/Currency/Currency.d.ts +0 -0
- /package/lib/components/{forms → field}/Currency/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Currency/index.js +0 -0
- /package/lib/components/{forms → field}/Date/Date.d.ts +0 -0
- /package/lib/components/{forms → field}/Date/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Date/index.js +0 -0
- /package/lib/components/{forms → field}/DateTime/DateTime.d.ts +0 -0
- /package/lib/components/{forms → field}/DateTime/index.d.ts +0 -0
- /package/lib/components/{forms → field}/DateTime/index.js +0 -0
- /package/lib/components/{forms → field}/Decimal/Decimal.d.ts +0 -0
- /package/lib/components/{forms → field}/Decimal/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Decimal/index.js +0 -0
- /package/lib/components/{forms → field}/Dropdown/Dropdown.d.ts +0 -0
- /package/lib/components/{forms → field}/Dropdown/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Dropdown/index.js +0 -0
- /package/lib/components/{forms → field}/Email/Email.d.ts +0 -0
- /package/lib/components/{forms → field}/Email/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Email/index.js +0 -0
- /package/lib/components/{forms → field}/Integer/Integer.d.ts +0 -0
- /package/lib/components/{forms → field}/Integer/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Integer/index.js +0 -0
- /package/lib/components/{forms → field}/Percentage/Percentage.d.ts +0 -0
- /package/lib/components/{forms → field}/Percentage/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Percentage/index.js +0 -0
- /package/lib/components/{forms → field}/Phone/Phone.d.ts +0 -0
- /package/lib/components/{forms → field}/Phone/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Phone/index.js +0 -0
- /package/lib/components/{forms → field}/RadioButtons/RadioButtons.d.ts +0 -0
- /package/lib/components/{forms → field}/RadioButtons/index.d.ts +0 -0
- /package/lib/components/{forms → field}/RadioButtons/index.js +0 -0
- /package/lib/components/{forms → field}/SemanticLink/SemanticLink.d.ts +0 -0
- /package/lib/components/{forms → field}/SemanticLink/SemanticLink.js +0 -0
- /package/lib/components/{forms → field}/SemanticLink/index.d.ts +0 -0
- /package/lib/components/{forms → field}/SemanticLink/index.js +0 -0
- /package/lib/components/{forms → field}/SemanticLink/utils.d.ts +0 -0
- /package/lib/components/{forms → field}/SemanticLink/utils.js +0 -0
- /package/lib/components/{forms → field}/TextArea/TextArea.d.ts +0 -0
- /package/lib/components/{forms → field}/TextArea/index.d.ts +0 -0
- /package/lib/components/{forms → field}/TextArea/index.js +0 -0
- /package/lib/components/{forms → field}/TextContent/TextContent.d.ts +0 -0
- /package/lib/components/{forms → field}/TextContent/TextContent.js +0 -0
- /package/lib/components/{forms → field}/TextContent/index.d.ts +0 -0
- /package/lib/components/{forms → field}/TextContent/index.js +0 -0
- /package/lib/components/{forms → field}/TextInput/TextInput.d.ts +0 -0
- /package/lib/components/{forms → field}/TextInput/index.d.ts +0 -0
- /package/lib/components/{forms → field}/TextInput/index.js +0 -0
- /package/lib/components/{forms → field}/Time/Time.d.ts +0 -0
- /package/lib/components/{forms → field}/Time/index.d.ts +0 -0
- /package/lib/components/{forms → field}/Time/index.js +0 -0
- /package/lib/components/{forms → field}/URL/URL.d.ts +0 -0
- /package/lib/components/{forms → field}/URL/index.d.ts +0 -0
- /package/lib/components/{forms → field}/URL/index.js +0 -0
- /package/lib/components/{forms → field}/UserReference/UserReference.d.ts +0 -0
- /package/lib/components/{forms → field}/UserReference/UserReference.js +0 -0
- /package/lib/components/{forms → field}/UserReference/UserReferenceUtils.d.ts +0 -0
- /package/lib/components/{forms → field}/UserReference/UserReferenceUtils.js +0 -0
- /package/lib/components/{forms → field}/UserReference/index.d.ts +0 -0
- /package/lib/components/{forms → field}/UserReference/index.js +0 -0
- /package/lib/components/{templates → template}/AppShell/AppShell.css +0 -0
- /package/lib/components/{templates → template}/AppShell/AppShell.d.ts +0 -0
- /package/lib/components/{templates → template}/AppShell/AppShell.js +0 -0
- /package/lib/components/{templates → template}/AppShell/index.d.ts +0 -0
- /package/lib/components/{templates → template}/AppShell/index.js +0 -0
- /package/lib/components/{templates → template}/CaseSummary/CaseSummary.d.ts +0 -0
- /package/lib/components/{templates → template}/CaseSummary/index.d.ts +0 -0
- /package/lib/components/{templates → template}/CaseSummary/index.js +0 -0
- /package/lib/components/{templates → template}/CaseView/CaseView.d.ts +0 -0
- /package/lib/components/{templates → template}/CaseView/CaseView.js +0 -0
- /package/lib/components/{templates → template}/CaseView/index.d.ts +0 -0
- /package/lib/components/{templates → template}/CaseView/index.js +0 -0
- /package/lib/components/{templates → template}/CaseViewActionsMenu/CaseViewActionsMenu.d.ts +0 -0
- /package/lib/components/{templates → template}/CaseViewActionsMenu/CaseViewActionsMenu.js +0 -0
- /package/lib/components/{templates → template}/CaseViewActionsMenu/index.d.ts +0 -0
- /package/lib/components/{templates → template}/CaseViewActionsMenu/index.js +0 -0
- /package/lib/components/{templates → template}/DataReference/DataReference.d.ts +0 -0
- /package/lib/components/{templates → template}/DataReference/DataReference.js +0 -0
- /package/lib/components/{templates → template}/DataReference/index.d.ts +0 -0
- /package/lib/components/{templates → template}/DataReference/index.js +0 -0
- /package/lib/components/{templates → template}/DefaultForm/DefaultForm.css +0 -0
- /package/lib/components/{templates → template}/DefaultForm/DefaultForm.d.ts +0 -0
- /package/lib/components/{templates → template}/DefaultForm/DefaultForm.js +0 -0
- /package/lib/components/{templates → template}/DefaultForm/index.d.ts +0 -0
- /package/lib/components/{templates → template}/DefaultForm/index.js +0 -0
- /package/lib/components/{templates → template}/Details/Details/Details.d.ts +0 -0
- /package/lib/components/{templates → template}/Details/Details/index.d.ts +0 -0
- /package/lib/components/{templates → template}/Details/Details/index.js +0 -0
- /package/lib/components/{templates → template}/Details/DetailsSubTabs/DetailsSubTabs.d.ts +0 -0
- /package/lib/components/{templates → template}/Details/DetailsSubTabs/DetailsSubTabs.js +0 -0
- /package/lib/components/{templates → template}/Details/DetailsSubTabs/index.d.ts +0 -0
- /package/lib/components/{templates → template}/Details/DetailsSubTabs/index.js +0 -0
- /package/lib/components/{templates → template}/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts +0 -0
- /package/lib/components/{templates → template}/Details/DetailsThreeColumn/index.d.ts +0 -0
- /package/lib/components/{templates → template}/Details/DetailsThreeColumn/index.js +0 -0
- /package/lib/components/{templates → template}/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts +0 -0
- /package/lib/components/{templates → template}/Details/DetailsTwoColumn/index.d.ts +0 -0
- /package/lib/components/{templates → template}/Details/DetailsTwoColumn/index.js +0 -0
- /package/lib/components/{templates → template}/FieldGroupTemplate/FieldGroupTemplate.d.ts +0 -0
- /package/lib/components/{templates → template}/FieldGroupTemplate/index.d.ts +0 -0
- /package/lib/components/{templates → template}/FieldGroupTemplate/index.js +0 -0
- /package/lib/components/{templates → template}/InlineDashboard/InlineDashboard.d.ts +0 -0
- /package/lib/components/{templates → template}/InlineDashboard/InlineDashboard.js +0 -0
- /package/lib/components/{templates → template}/InlineDashboard/index.d.ts +0 -0
- /package/lib/components/{templates → template}/InlineDashboard/index.js +0 -0
- /package/lib/components/{templates → template}/InlineDashboardPage/InlineDashboardPage.d.ts +0 -0
- /package/lib/components/{templates → template}/InlineDashboardPage/InlineDashboardPage.js +0 -0
- /package/lib/components/{templates → template}/InlineDashboardPage/index.d.ts +0 -0
- /package/lib/components/{templates → template}/InlineDashboardPage/index.js +0 -0
- /package/lib/components/{templates → template}/ListPage/ListPage.d.ts +0 -0
- /package/lib/components/{templates → template}/ListPage/ListPage.js +0 -0
- /package/lib/components/{templates → template}/ListPage/index.d.ts +0 -0
- /package/lib/components/{templates → template}/ListPage/index.js +0 -0
- /package/lib/components/{templates → template}/ListView/ListView.css +0 -0
- /package/lib/components/{templates → template}/ListView/ListView.d.ts +0 -0
- /package/lib/components/{templates → template}/ListView/index.d.ts +0 -0
- /package/lib/components/{templates → template}/ListView/index.js +0 -0
- /package/lib/components/{templates → template}/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts +0 -0
- /package/lib/components/{templates → template}/MultiReferenceReadOnly/MultiReferenceReadOnly.js +0 -0
- /package/lib/components/{templates → template}/MultiReferenceReadOnly/index.d.ts +0 -0
- /package/lib/components/{templates → template}/MultiReferenceReadOnly/index.js +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWide/NarrowWide.css +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWide/NarrowWide.d.ts +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWide/NarrowWide.js +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWide/index.d.ts +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWide/index.js +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWideDetails/index.d.ts +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWideDetails/index.js +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWideForm/NarrowWideForm.css +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWideForm/NarrowWideForm.js +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWideForm/index.d.ts +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWideForm/index.js +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWidePage/NarrowWidePage.js +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWidePage/index.d.ts +0 -0
- /package/lib/components/{templates → template}/NarrowWide/NarrowWidePage/index.js +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumn/OneColumn.d.ts +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumn/OneColumn.js +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumn/index.d.ts +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumn/index.js +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumnPage/OneColumnPage.d.ts +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumnPage/OneColumnPage.js +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumnPage/index.d.ts +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumnPage/index.js +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumnTab/OneColumnTab.d.ts +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumnTab/OneColumnTab.js +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumnTab/index.d.ts +0 -0
- /package/lib/components/{templates → template}/OneColumn/OneColumnTab/index.js +0 -0
- /package/lib/components/{templates → template}/PromotedFilters/PromotedFilters.css +0 -0
- /package/lib/components/{templates → template}/PromotedFilters/index.d.ts +0 -0
- /package/lib/components/{templates → template}/PromotedFilters/index.js +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTable/SimpleTable.d.ts +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTable/index.d.ts +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTable/index.js +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTableManual/SimpleTableManual.js +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTableManual/index.d.ts +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTableManual/index.js +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTableSelect/index.d.ts +0 -0
- /package/lib/components/{templates → template}/SimpleTable/SimpleTableSelect/index.js +0 -0
- /package/lib/components/{templates → template}/SimpleTable/simpleTableHelpers.d.ts +0 -0
- /package/lib/components/{templates → template}/SimpleTable/simpleTableHelpers.js +0 -0
- /package/lib/components/{templates → template}/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts +0 -0
- /package/lib/components/{templates → template}/SingleReferenceReadOnly/SingleReferenceReadOnly.js +0 -0
- /package/lib/components/{templates → template}/SingleReferenceReadOnly/index.d.ts +0 -0
- /package/lib/components/{templates → template}/SingleReferenceReadOnly/index.js +0 -0
- /package/lib/components/{templates → template}/SubTabs/SubTabs.d.ts +0 -0
- /package/lib/components/{templates → template}/SubTabs/SubTabs.js +0 -0
- /package/lib/components/{templates → template}/SubTabs/index.d.ts +0 -0
- /package/lib/components/{templates → template}/SubTabs/index.js +0 -0
- /package/lib/components/{templates → template}/SubTabs/tabUtils.d.ts +0 -0
- /package/lib/components/{templates → template}/SubTabs/tabUtils.js +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumn/TwoColumn.css +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumn/TwoColumn.d.ts +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumn/TwoColumn.js +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumn/index.d.ts +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumn/index.js +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumnPage/TwoColumnPage.js +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumnPage/index.d.ts +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumnPage/index.js +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumnTab/TwoColumnTab.css +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumnTab/TwoColumnTab.js +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumnTab/index.d.ts +0 -0
- /package/lib/components/{templates → template}/TwoColumn/TwoColumnTab/index.js +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrow/WideNarrow.css +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrow/WideNarrow.d.ts +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrow/WideNarrow.js +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrow/index.d.ts +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrow/index.js +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowDetails/index.d.ts +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowDetails/index.js +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowForm/WideNarrowForm.css +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowForm/WideNarrowForm.js +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowForm/index.d.ts +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowForm/index.js +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowPage/WideNarrowPage.js +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowPage/index.d.ts +0 -0
- /package/lib/components/{templates → template}/WideNarrow/WideNarrowPage/index.js +0 -0
- /package/lib/components/{templates → template}/utils.d.ts +0 -0
- /package/lib/components/{widgets → widget}/AppAnnouncement/AppAnnouncement.d.ts +0 -0
- /package/lib/components/{widgets → widget}/AppAnnouncement/AppAnnouncement.js +0 -0
- /package/lib/components/{widgets → widget}/AppAnnouncement/index.d.ts +0 -0
- /package/lib/components/{widgets → widget}/AppAnnouncement/index.js +0 -0
- /package/lib/components/{widgets → widget}/Attachment/Attachment.css +0 -0
- /package/lib/components/{widgets → widget}/Attachment/Attachment.d.ts +0 -0
- /package/lib/components/{widgets → widget}/Attachment/index.d.ts +0 -0
- /package/lib/components/{widgets → widget}/Attachment/index.js +0 -0
- /package/lib/components/{widgets → widget}/CaseHistory/CaseHistory.d.ts +0 -0
- /package/lib/components/{widgets → widget}/CaseHistory/CaseHistory.js +0 -0
- /package/lib/components/{widgets → widget}/CaseHistory/index.d.ts +0 -0
- /package/lib/components/{widgets → widget}/CaseHistory/index.js +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/ActionButtonsForFileUtil/index.d.ts +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/ActionButtonsForFileUtil/index.js +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/FileUtility/FileUtility.css +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/FileUtility/FileUtility.d.ts +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/FileUtility/FileUtility.js +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/FileUtility/index.d.ts +0 -0
- /package/lib/components/{widgets → widget}/FileUtility/FileUtility/index.js +0 -0
- /package/lib/components/{widgets → widget}/Followers/Followers.d.ts +0 -0
- /package/lib/components/{widgets → widget}/Followers/Followers.js +0 -0
- /package/lib/components/{widgets → widget}/Followers/index.d.ts +0 -0
- /package/lib/components/{widgets → widget}/Followers/index.js +0 -0
- /package/lib/components/{widgets → widget}/SummaryItem/SummaryItem.css +0 -0
- /package/lib/components/{widgets → widget}/SummaryItem/SummaryItem.d.ts +0 -0
- /package/lib/components/{widgets → widget}/SummaryItem/SummaryItem.js +0 -0
- /package/lib/components/{widgets → widget}/SummaryItem/index.d.ts +0 -0
- /package/lib/components/{widgets → widget}/SummaryItem/index.js +0 -0
- /package/lib/components/{widgets → widget}/SummaryList/SummaryList.d.ts +0 -0
- /package/lib/components/{widgets → widget}/SummaryList/SummaryList.js +0 -0
- /package/lib/components/{widgets → widget}/SummaryList/index.d.ts +0 -0
- /package/lib/components/{widgets → widget}/SummaryList/index.js +0 -0
- /package/lib/components/{widgets → widget}/ToDo/ToDo.css +0 -0
- /package/lib/components/{widgets → widget}/ToDo/ToDo.d.ts +0 -0
- /package/lib/components/{widgets → widget}/ToDo/ToDo.js +0 -0
- /package/lib/components/{widgets → widget}/ToDo/index.d.ts +0 -0
- /package/lib/components/{widgets → widget}/ToDo/index.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppShell.js","sourceRoot":"","sources":["../../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BAA4B;IAC5B,OAAO;IACP,aAAa;KACd,CAAC;AACJ,CAAC;AACD,QAAQ,CAAC,YAAY,GAAG;IACtB,KAAK,EAAE,EAAE;IACT,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,EAAE;IACZ,oBAAoB;IACpB,oBAAoB;CACrB,CAAC;AACF,QAAQ,CAAC,SAAS,GAAG;IACnB,iDAAiD;IACjD,iDAAiD;IACjD,WAAW,EAAE,SAAS,CAAC,IAAI,CAAA,iBAAiB;IAC5C,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC;IAC1C,SAAS,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC;IAC9C,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;IAC3C,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;IACtC,qDAAqD;IACrD,mDAAmD;CACpD,CAAC","sourcesContent":["import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { makeStyles } from '@material-ui/core/styles';\n\nimport { NavContext } from '../../helpers/reactContextHelpers';\n\n// import {\n// Avatar,\n// Toaster,\n// Banner,\n// AppShell as CosmosAppShell\n// } from \"@pega/cosmos-react-core\";\n\n// import createPConnectComponent from \"../../../bridge/react_pconnect\";\n// import { buildRecentList, onRecentClickHandler } from \"./Recents/utils\";\n\nimport './AppShell.css';\n\n// AppShell can emit NavBar and ViewContainer\nimport NavBar from '../../infra/NavBar';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n display: 'flex',\n },\n content: {\n flexGrow: 1,\n height: '100vh',\n overflow: 'auto',\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2),\n },\n}));\n\ndeclare const PCore;\n\n\n/*\n * The wrapper handles knowing how to take in just children and mapping\n * to the Cosmos template. This could be a combination of things but it knows...\n */\nexport default function AppShell(props) {\n const {\n pages,\n caseTypes,\n showAppName,\n children,\n getPConnect,\n } = props;\n const [open, setOpen] = useState(true);\n\n const pConn = getPConnect();\n // const actionsAPI = pConn.getActionsApi();\n const envInfo = PCore.getEnvironmentInfo();\n\n // const bannerRef = useRef(null);\n // const hasBanner = httpMessages && httpMessages.length ? httpMessages.length > 0 : false;\n\n const appNameToDisplay = showAppName ? envInfo.getApplicationLabel() : \"\";\n\n const classes = useStyles();\n // let banners = null;\n // banners = hasBanner && (\n // <Banner\n // ref={bannerRef}\n // id=\"appShellBanner\"\n // variant=\"urgent\"\n // heading=\"Error\"\n // onDismiss={() =>\n // pConn.clearErrorMessages({\n // category: \"HTTP\",\n // context: null\n // })\n // }\n // messages={httpMessages}\n // />\n // );\n\n // useEffect(() => {\n // if (hasBanner && bannerRef.current) {\n // bannerRef.current.focus();\n // window.scrollTo(0, bannerRef.current.offsetTop);\n // }\n // }, [hasBanner]);\n\n /**\n *\n * Function to dispatch a show page action for the page links in\n * the left nav of the app shell\n *\n * @param {string} searchString Name of view to show\n */\n // function showSearchResults(searchString) {\n // if (searchString === \"\") {\n // actionsAPI.showPage(\"pySearchPage\", \"Data-Portal\");\n // return;\n // }\n // const searchTerm = searchString.replace(/['\"]+/g, \"\");\n // PCore.getDataApiUtils()\n // .getData(\n // \"D_pySearch\",\n // `{\"dataViewParameters\": {\"SearchString\": \"${encodeURIComponent(\n // searchTerm\n // )}\"}}`\n // )\n // .then((response) => {\n // if (\n // response.data.data !== null &&\n // response.data.resultCount === 1 &&\n // response.data.data[0].pyID === searchTerm\n // ) {\n // /* This is a match for a work item - then we will open it */\n // pConn\n // .getActionsApi()\n // .openWorkByHandle(\n // response.data.data[0].pzInsKey,\n // response.data.data[0].pzCategoryActionKeys\n // );\n // return;\n // }\n // // window.searchResults = {\n // // searchString: searchTerm,\n // // results: response.data\n // // };\n // actionsAPI.showPage(\"pySearchPage\", \"Data-Portal\");\n // });\n // }\n\n /**\n *\n * Function to dispatch a show page action for the page links in\n * the left nav of the app shell\n *\n * @param {string} viewName Name of view to show\n * @param {string} className Pega Applies to class of the page\n */\n // function showPage(viewName, className) {\n // actionsAPI.showPage(viewName, className);\n // }\n\n /**\n *\n * Function to dispatch a create work action\n * @param {string} className - placeholder string of case type being created\n */\n // function createWork(className) {\n // actionsAPI\n // .createWork(className)\n // .catch((error) =>\n // // eslint-disable-next-line no-console\n // console.log(\"Error in case creation: \", error?.message)\n // );\n // }\n\n /**\n * Returns the Custome Component for each active case\n */\n // const VisualComponent = useCallback(\n // (context) => {\n // if (activeCases && activeCases.length > 0) {\n // const meta = PCore.getViewResources().fetchViewResources(\n // \"pyCaseVisual\",\n // getPConnect(),\n // PCore.getStoreValue(\".caseTypeID\", \"caseInfo\", context)\n // );\n // if (meta?.config && !meta.config.defaultVisual) {\n // const config = {\n // meta,\n // options: {\n // context,\n // pageReference: \"caseInfo.content\"\n // }\n // };\n // const visualConfig = PCore.createPConnect(config);\n // return React.createElement(createPConnectComponent(), visualConfig);\n // }\n // }\n // return undefined;\n // },\n // [getPConnect, activeCases]\n // );\n\n /**\n * Transforms the active cases information into the model that cosmos expect.\n */\n // function getActiveCases() {\n // if (activeCases) {\n // const activeCaseLinks = [];\n // activeCases.forEach((activeCase) => {\n // const { caseID, className, workID, active, context } = activeCase;\n // // activeCaseLinks.push({\n // // onDismiss: () => {\n // // PCore.getContainerUtils().closeContainerItem(\n // // activeCase.containerItemID\n // // );\n // // },\n // // key: caseID,\n // // name: caseID,\n // // onClick: () => {\n // // actionsAPI.openWorkByHandle(workID, className);\n // // },\n // // active,\n // // visual: VisualComponent(context)\n // // });\n // });\n // return activeCaseLinks;\n // }\n // return activeCases;\n // }\n\n /**\n * Translate Pega Data Page into the model that Cosmos expects\n *\n * Example:\n * pxPageViewIcon: \"pi pi-home-solid\"\n * pxURLPath: \"Home\"\n * pyClassName: \"Data-Portal\"\n * pyLabel: \"Home\"\n * pyRuleName: \"pyHome\"\n */\n // const links = !pages\n // ? []\n // : pages.map((page) => {\n // return {\n // name: page.pyLabel,\n // icon: page.pxPageViewIcon.replace(\"pi pi-\", \"\"),\n // onClick: () => showPage(page.pyRuleName, page.pyClassName)\n // };\n // });\n\n // const userName = envInfo.getOperatorName();\n // const imageKey = envInfo.getOperatorImageInsKey();\n\n // const logOffAction = () => {\n // actionsAPI.logout().then(() => window?.top?.location?.reload());\n // };\n\n // const getOperator = () => {\n // const operatorActions = [\n // [{ text: \"Logoff\", id: \"1\", onClick: logOffAction }]\n // ];\n // if (imageKey) {\n // return {\n // avatar: (\n // <div id=\"AvatarWithImageKey\">Avatar with image key</div>\n // // <Avatar\n // // name={userName}\n // // imageSrc={getPConnect().getImagePath(imageKey)}\n // // />\n // ),\n // actions: operatorActions,\n // name: userName\n // };\n // }\n // return {\n // avatar: (\n // <div id=\"Avatar\">Avatar</div>\n // // <Avatar name={userName}>\n // // {userName\n // // .split(\" \")\n // // .map((i) => i.charAt(0))\n // // .join(\"\")\n // // .toUpperCase()}\n // // </Avatar>\n // ),\n // actions: operatorActions,\n // name: userName\n // };\n // };\n\n /**\n * Translate Case Types page into what is expected by Cosmos\n *\n * Example:\n * pyClassName: \"\"\n * pyFlowType: \"\"\n * pyLabel: \"No case types defined\"\n */\n // const cases = !caseTypes\n // ? []\n // : caseTypes.map((caseType) => {\n // let action = {};\n // // Only add actions to entries with a class name to create so in case of empty message no action is added\n // if (caseType.pyClassName) {\n // action = { onClick: () => createWork(caseType.pyClassName) };\n // }\n // return {\n // name: caseType.pyLabel,\n // ...action\n // };\n // });\n\n // const [recents, setRecents] = useState([]);\n\n // const [searchVal, setSearchVal] = useState(\"\");\n\n // // default the icon to be empty. This will cause the image to be initially broken.\n // const [iconURL, setIconURL] = useState(\"\");\n // useEffect(() => {\n // // using the default icon then fetch it from the static folder (not auth involved)\n // if (\n // !portalLogo ||\n // portalLogo.toLowerCase().includes(\"pzpega-logo-mark\") ||\n // portalLogo.toLowerCase().includes(\"py-logo\")\n // ) {\n // setIconURL(\n // `${PCore.getAssetLoader().getStaticServerUrl()}static/py-logo.svg`\n // );\n // }\n // // not using default icon to fetch it using the way which uses authentication\n // else {\n // PCore.getAssetLoader()\n // .getSvcImage(portalLogo)\n // .then((data) => {\n // setIconURL(window.URL.createObjectURL(data));\n // })\n // .catch(() => {\n // console.error(\n // `Unable to load the image for the portal logo/icon with the insName:${portalLogo}`\n // );\n // });\n // }\n // }, [portalLogo]);\n\n /**\n * To fetch recents and translate items into what Cosmos expects\n */\n // const fetchRecents = () => {\n // actionsAPI.getRecents(15).then((response) => {\n // const recentsitems = response.data.recents;\n // // setRecents(buildRecentList(recentsitems));\n // });\n // };\n\n /**\n * To handle on click of any recent item after the drawer is open\n *\n * @param {*} id : Recent item unique id\n */\n\n // const onItemClick = (id, e) => {\n // e.preventDefault();\n // // onRecentClickHandler(id, actionsAPI);\n // };\n\n // useState for appName and mapChildren - note these are ONLY updated once (on component mount!)\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars\n const [appName, setAppName] = useState(\"\");\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars\n const [mapChildren, setMapChildren] = useState([]);\n\n // Initial setting of appName and mapChildren\n useEffect( () => {\n setAppName(PCore.getEnvironmentInfo().getApplicationName());\n\n const tempMap = pConn.getChildren().map((child, index) => {\n const theChildComp = child.getPConnect().getComponentName();\n const theKey = `.${index}`;\n return <div id={theChildComp} key={theKey} style={{border: \"solid 1px silver\", margin: \"1px\"}}>{theChildComp} will be here</div>\n });\n\n setMapChildren(tempMap)\n\n }, []);\n\n if (pConn.hasChildren()) {\n // const theChildren = pConn.getChildren();\n // const mapChildCompNames = theChildren.map((child) => { return child.getPConnect().getComponentName()});\n\n // debugging/investigation help\n // console.log(`AppShell has children: ${theChildren.length}`);\n // console.log(`--> ${mapChildCompNames.map((name) => {return name;})}`);\n }\n\n return (\n\n <NavContext.Provider value={{open, setOpen}}>\n <div id=\"AppShell\" className={classes.root}>\n <NavBar pConn={getPConnect()} appName={appNameToDisplay} pages={pages} caseTypes={caseTypes}></NavBar>\n <div className={classes.content}>\n {children}\n </div>\n </div>\n </NavContext.Provider>\n\n // <Toaster dismissAfter={3000}>\n // <CosmosAppShell\n // {...{\n // appInfo: {\n // imageSrc: `${iconURL}`,\n // appName: `${appNameToDisplay}`,\n // portalName\n // },\n // recents: {\n // items: recents,\n // onDrawerOpen: fetchRecents,\n // onItemClick\n // },\n // searchInput: {\n // onSearchChange: (value) => {\n // setSearchVal(value);\n // },\n // onSearchSubmit: (value) => {\n // showSearchResults(value.trim());\n // setSearchVal(\"\");\n // },\n // value: searchVal\n // },\n // caseTypes: cases,\n // links,\n // cases: getActiveCases(),\n // operator: getOperator()\n // }}\n // main={[children]}\n // banners={banners}\n // className=\"app-shell\"\n // />\n // </Toaster>\n );\n}\nAppShell.defaultProps = {\n pages: [],\n caseTypes: [],\n children: [],\n // httpMessages: [],\n // activeCases: null\n};\nAppShell.propTypes = {\n // portalName: PropTypes.string/* .isRequired */,\n // portalLogo: PropTypes.string/* .isRequired */,\n showAppName: PropTypes.bool/* .isRequired */,\n pages: PropTypes.arrayOf(PropTypes.object),\n caseTypes: PropTypes.arrayOf(PropTypes.object),\n children: PropTypes.arrayOf(PropTypes.node),\n getPConnect: PropTypes.func.isRequired,\n // httpMessages: PropTypes.arrayOf(PropTypes.string),\n // activeCases: PropTypes.arrayOf(PropTypes.object)\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/template/AppShell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/template/AppShell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { default } from './AppShell';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseSummary.d.ts","sourceRoot":"","sources":["../../../../src/components/template/CaseSummary/CaseSummary.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,iBAAwB,WAAW,CAAC,KAAK,KAAA,eAwCxC;kBAxCuB,WAAW;;;;;eAAX,WAAW"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import CaseSummaryFields from '../../designSystemExtension/CaseSummaryFields';
|
|
4
|
+
export default function CaseSummary(props) {
|
|
5
|
+
const { getPConnect, children } = props;
|
|
6
|
+
const thePConn = getPConnect();
|
|
7
|
+
const theConfigProps = thePConn.getConfigProps();
|
|
8
|
+
const { status, showStatus } = theConfigProps;
|
|
9
|
+
// from Nebula
|
|
10
|
+
// get the primary and secondary fields with the raw data (which has the non-resolved property values)
|
|
11
|
+
// const regionsRaw = getPConnect().getRawMetadata().children;
|
|
12
|
+
// const primaryFieldsRaw = regionsRaw[0].children;
|
|
13
|
+
// const secondaryFieldsRaw = regionsRaw[1].children;
|
|
14
|
+
// From other SDKs
|
|
15
|
+
// may want to move these into useEffect/useState combo
|
|
16
|
+
let arPrimaryFields = [];
|
|
17
|
+
let arSecondaryFields = [];
|
|
18
|
+
for (const child of children) {
|
|
19
|
+
const childPConn = child.props.getPConnect();
|
|
20
|
+
const childPConnData = childPConn.resolveConfigProps(childPConn.getRawMetadata());
|
|
21
|
+
if (childPConnData.name.toLowerCase() === "primary fields") {
|
|
22
|
+
arPrimaryFields = childPConnData.children;
|
|
23
|
+
}
|
|
24
|
+
else if (childPConnData.name.toLowerCase() === "secondary fields") {
|
|
25
|
+
arSecondaryFields = childPConnData.children;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
// At this point, should hand off to another component for layout and rendering
|
|
29
|
+
// of primary and secondary fields in the Case Summary
|
|
30
|
+
// debugging/investigation help
|
|
31
|
+
// console.log(`CaseSummary: arPrimaryFields: ${JSON.stringify(arPrimaryFields)}`);
|
|
32
|
+
// console.log(`CaseSummary: arSecondaryFields: ${JSON.stringify(arSecondaryFields)}`);
|
|
33
|
+
return (React.createElement("div", { id: "CaseSummary" },
|
|
34
|
+
React.createElement(CaseSummaryFields, { status: status, showStatus: showStatus, theFields: arPrimaryFields }),
|
|
35
|
+
React.createElement(CaseSummaryFields, { theFields: arSecondaryFields })));
|
|
36
|
+
}
|
|
37
|
+
CaseSummary.propTypes = {
|
|
38
|
+
getPConnect: PropTypes.func.isRequired
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=CaseSummary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseSummary.js","sourceRoot":"","sources":["../../../../src/components/template/CaseSummary/CaseSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,iBAAiB,MAAM,+CAA+C,CAAC;AAE9E,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK;IACvC,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACxC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,cAAc,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;IACjD,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,cAAc,CAAC;IAE9C,cAAc;IACd,sGAAsG;IACtG,8DAA8D;IAC9D,mDAAmD;IACnD,qDAAqD;IAErD,kBAAkB;IAClB,uDAAuD;IACvD,IAAI,eAAe,GAAc,EAAE,CAAC;IACpC,IAAI,iBAAiB,GAAc,EAAE,CAAC;IAEtC,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC5B,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAC7C,MAAM,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,CAAC;QAClF,IAAI,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,gBAAgB,EAAE;YAC1D,eAAe,GAAG,cAAc,CAAC,QAAQ,CAAC;SAC3C;aAAM,IAAI,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,kBAAkB,EAAE;YACnE,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC;SAC7C;KACF;IAED,+EAA+E;IAC/E,uDAAuD;IAEvD,+BAA+B;IAC/B,mFAAmF;IACnF,uFAAuF;IAEvF,OAAO,CACL,6BAAK,EAAE,EAAC,aAAa;QACnB,oBAAC,iBAAiB,IAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,GAAI;QACzF,oBAAC,iBAAiB,IAAC,SAAS,EAAE,iBAAiB,GAAI,CAC/C,CACP,CAAA;AACH,CAAC;AAED,WAAW,CAAC,SAAS,GAAG;IACtB,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;CACvC,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport CaseSummaryFields from '../../designSystemExtension/CaseSummaryFields';\n\nexport default function CaseSummary(props) {\n const { getPConnect, children } = props;\n const thePConn = getPConnect();\n const theConfigProps = thePConn.getConfigProps();\n const { status, showStatus } = theConfigProps;\n\n // from Nebula\n // get the primary and secondary fields with the raw data (which has the non-resolved property values)\n // const regionsRaw = getPConnect().getRawMetadata().children;\n // const primaryFieldsRaw = regionsRaw[0].children;\n // const secondaryFieldsRaw = regionsRaw[1].children;\n\n // From other SDKs\n // may want to move these into useEffect/useState combo\n let arPrimaryFields:Array<any> = [];\n let arSecondaryFields:Array<any> = [];\n\n for (const child of children) {\n const childPConn = child.props.getPConnect();\n const childPConnData = childPConn.resolveConfigProps(childPConn.getRawMetadata());\n if (childPConnData.name.toLowerCase() === \"primary fields\") {\n arPrimaryFields = childPConnData.children;\n } else if (childPConnData.name.toLowerCase() === \"secondary fields\") {\n arSecondaryFields = childPConnData.children;\n }\n }\n\n // At this point, should hand off to another component for layout and rendering\n // of primary and secondary fields in the Case Summary\n\n // debugging/investigation help\n // console.log(`CaseSummary: arPrimaryFields: ${JSON.stringify(arPrimaryFields)}`);\n // console.log(`CaseSummary: arSecondaryFields: ${JSON.stringify(arSecondaryFields)}`);\n\n return (\n <div id=\"CaseSummary\">\n <CaseSummaryFields status={status} showStatus={showStatus} theFields={arPrimaryFields} />\n <CaseSummaryFields theFields={arSecondaryFields} />\n </div>\n )\n}\n\nCaseSummary.propTypes = {\n getPConnect: PropTypes.func.isRequired\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/template/CaseSummary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/template/CaseSummary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { default } from './CaseSummary';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseView.d.ts","sourceRoot":"","sources":["../../../../src/components/template/CaseView/CaseView.tsx"],"names":[],"mappings":";AAGA,OAAO,SAAS,MAAM,YAAY,CAAC;AA2CnC,iBAAwB,QAAQ,CAAC,KAAK,KAAA,eAoMrC;kBApMuB,QAAQ;;;;;;;;;;;;;;;;;;;;eAAR,QAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseView.js","sourceRoot":"","sources":["../../../../src/components/template/CaseView/CaseView.tsx"],"names":[],"mappings":"AAAA,4CAA4C;AAE5C,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,SAAS,M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;AAEF,QAAQ,CAAC,SAAS,GAAG;IACnB,IAAI,EAAE,SAAS,CAAC,MAAM;IACtB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;IAC3C,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IACtC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IACnC,gBAAgB,EAAE,SAAS,CAAC,IAAI;IAChC,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC;IAC3C,WAAW,EAAE,SAAS,CAAC,IAAI;CAC5B,CAAC","sourcesContent":["/* eslint-disable react/jsx-boolean-value */\n\nimport React, { useState, useEffect, useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Utils } from '../../helpers/utils';\nimport { Card, CardHeader, Avatar, Typography, Divider } from \"@material-ui/core\";\nimport { makeStyles } from '@material-ui/core/styles';\nimport Box from '@material-ui/core/Box';\nimport Button from '@material-ui/core/Button';\nimport Grid from '@material-ui/core/Grid';\n\nimport StoreContext from \"../../../bridge/Context/StoreContext\";\nimport CaseViewActionsMenu from \"../CaseViewActionsMenu\";\nimport VerticalTabs from '../../infra/VerticalTabs/VerticalTabs';\nimport DeferLoad from '../../infra/DeferLoad';\n\n\ndeclare const PCore;\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n paddingRight: theme.spacing(1),\n paddingLeft: theme.spacing(1),\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(1),\n marginRight: theme.spacing(1),\n marginLeft: theme.spacing(1),\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1),\n },\n caseViewHeader: {\n backgroundColor: theme.palette.info.light,\n color: theme.palette.getContrastText(theme.palette.info.light),\n borderRadius: \"inherit\",\n },\n caseViewIconBox: {\n backgroundColor: theme.palette.info.dark,\n width: theme.spacing(8),\n height: theme.spacing(8),\n padding: theme.spacing(1),\n },\n caseViewIconImage: {\n filter: 'invert(100%)'\n }\n}));\n\nexport default function CaseView(props) {\n const {\n getPConnect,\n icon,\n header,\n subheader,\n children,\n caseInfo: { availableActions = [], availableProcesses = [], hasNewAttachments }\n } = props;\n const currentCaseID = props.caseInfo.ID;\n let isComponentMounted = true;\n\n const { displayOnlyFA } = useContext(StoreContext);\n\n const thePConn = getPConnect();\n\n const classes = useStyles();\n\n\n /**\n *\n * @param inName the metadata <em>name</em> that will cause a region to be returned\n */\n function getChildRegionByName(inName: string): any {\n\n for (const child of children) {\n const theMetadataType: string = child.props.getPConnect().getRawMetadata()['type'].toLowerCase();\n const theMetadataName: string = child.props.getPConnect().getRawMetadata()['name'].toLowerCase();\n\n if ((theMetadataType === \"region\") && (theMetadataName === inName )) {\n return child;\n }\n }\n\n return null;\n }\n\n\n const theSummaryRegion = getChildRegionByName(\"summary\");\n const theStagesRegion = getChildRegionByName(\"stages\");\n const theTodoRegion = getChildRegionByName(\"todo\");\n const theUtilitiesRegion = getChildRegionByName(\"utilities\");\n const theTabsRegion = getChildRegionByName(\"tabs\");\n\n const svgCase = Utils.getImageSrc(icon, PCore.getAssetLoader().getStaticServerUrl());\n\n const [activeVertTab, setActiveVertTab] = useState(0);\n\n // const tmpLoadData1 = { config: { label: \"Details\", name: \"pyDetailsTabContent\" }, type: \"DeferLoad\" };\n // const tmpLoadData2 = { config: { label: \"Case History\", name: \"CaseHistory\" }, type: \"DeferLoad\" };\n\n // Extract the tabs we need to display from theTabsRegion (one tab per entry in theTabsRegionChildren)\n const theTabsRegionChildren = theTabsRegion.props.getPConnect().getChildren();\n\n // vertTabInfo is sent to VerticalTabs component\n const vertTabInfo: Array<Object> = [];\n\n // deferLoadInfo is sent to DeferLoad component (currently selected entry)\n const deferLoadInfo: Array<any> = [];\n\n if (theTabsRegionChildren) {\n // populate vertTabInfo and deferLoadInfo\n theTabsRegionChildren.forEach((tabComp, index) => {\n const theTabCompConfig = tabComp.getPConnect().getConfigProps();\n // eslint-disable-next-line prefer-const\n let { label, inheritedProps } = theTabCompConfig;\n // For some tabs, \"label\" property is not avaialable in theTabCompConfig, so will get them from inheritedProps\n if (!label) {\n inheritedProps.forEach(inheritedProp => {\n if (inheritedProp.prop === 'label') {\n label = inheritedProp.value;\n }\n });\n }\n // We'll display the tabs when either visibility property doesn't exist or is true(if exists)\n if (theTabCompConfig.visibility === undefined || theTabCompConfig.visibility === true) {\n vertTabInfo.push({ name: label, id: index });\n deferLoadInfo.push({ type: 'DeferLoad', config: theTabCompConfig });\n }\n });\n }\n\n\n\n function handleVerticalTabClick(eventDetail: any) {\n const theItem = parseInt(eventDetail.additionalData.itemClicked, 10);\n\n // only call useEffectSetter if the component is mounted\n if (isComponentMounted) {\n setActiveVertTab(theItem);\n }\n }\n\n\n // Add and Remove event listener for VerticalTabClick only at startup and teardown\n useEffect(() => {\n document.addEventListener('VerticalTabClick', (event: any) => {\n handleVerticalTabClick(event.detail);\n });\n\n return ():void => {\n // inform that the component is unmounted so other code can\n // know not to try to call useState setters (to avoid console warnings)\n isComponentMounted = false;\n\n document.removeEventListener('VerticalTabClick', (event: any) => {\n handleVerticalTabClick(event.detail);\n });\n }\n }, [])\n\n useEffect(() => {\n if (hasNewAttachments) {\n PCore.getPubSubUtils().publish(PCore.getEvents().getCaseEvent().CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW, true);\n }\n }, [hasNewAttachments]);\n\n function _editClick() {\n\n const editAction = availableActions.find(\n (action) => action.ID === \"pyUpdateCaseDetails\"\n );\n const actionsAPI = thePConn.getActionsApi();\n const openLocalAction = actionsAPI.openLocalAction.bind(actionsAPI);\n\n openLocalAction( editAction.ID, { ...editAction});\n }\n\n\n function getActionButtonsHtml(): any {\n\n const aBHtml = <Box>\n <Button onClick={() => {_editClick()}}>Edit</Button>\n \n <CaseViewActionsMenu getPConnect={getPConnect} availableActions={availableActions} availableProcesses={availableProcesses} />\n </Box>;\n\n\n return aBHtml;\n\n }\n\n\n function getContainerContents() {\n\n if (!displayOnlyFA) {\n // show full portal\n return (\n <Grid container>\n <Grid item xs={3}>\n <div hidden={true} id=\"current-caseID\">{currentCaseID}</div>\n <Card className={classes.root} >\n <CardHeader className={classes.caseViewHeader}\n title={<Typography variant=\"h6\" component=\"div\">{header}</Typography>}\n subheader={<Typography variant=\"body1\" component=\"div\" id=\"caseId\">{subheader}</Typography>}\n avatar={\n <Avatar className={classes.caseViewIconBox} variant=\"square\">\n <img src={svgCase} className={classes.caseViewIconImage}/>\n </Avatar>\n }\n />\n {getActionButtonsHtml()}\n <Divider />\n {theSummaryRegion}\n <Divider />\n { vertTabInfo.length > 1 && <VerticalTabs tabconfig={vertTabInfo} />}\n </Card>\n </Grid>\n\n <Grid item xs={6}>\n {theStagesRegion}\n {theTodoRegion}\n { deferLoadInfo.length > 0 && <DeferLoad getPConnect={getPConnect} name={deferLoadInfo[activeVertTab].config.name } isTab />}\n </Grid>\n\n <Grid item xs={3}>\n {theUtilitiesRegion}\n </Grid>\n </Grid>\n )\n } else {\n // displayOnlyFA - only show the \"todo\" region\n return (\n <Grid container>\n <Grid item xs={12}>\n {theTodoRegion}\n </Grid>\n </Grid>\n )\n }\n }\n\n\n return (\n getContainerContents()\n );\n}\n\nCaseView.defaultProps = {\n icon: \"\",\n children: [],\n caseInfo: {},\n showIconInHeader: true,\n getPConnect: null\n};\n\nCaseView.propTypes = {\n icon: PropTypes.string,\n children: PropTypes.arrayOf(PropTypes.node),\n subheader: PropTypes.string.isRequired,\n header: PropTypes.string.isRequired,\n showIconInHeader: PropTypes.bool,\n caseInfo: PropTypes.objectOf(PropTypes.any),\n getPConnect: PropTypes.func\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/template/CaseView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/template/CaseView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { default } from './CaseView';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseViewActionsMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,iBAAwB,mBAAmB,CAAC,KAAK,KAAA,eAuDhD;kBAvDuB,mBAAmB;;;;;;;;;;;eAAnB,mBAAmB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseViewActionsMenu.js","sourceRoot":"","sources":["../../../../src/components/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,QAAQ,MAAM,4BAA4B,CAAC;AAElD,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK;IAC/C,MAAM,EAAC,WAAW,EAAE,gBAAgB,EAAE,kBAAkB,EAAC,GAAG,KAAK,CAAC;IAClE,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAG/B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAqB,IAAI,CAAC,CAAC;IAEnE,MAAM,WAAW,GAAG,CAAC,KAA0C,EAAE,EAAE;QACjE,WAAW,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IACnC,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,WAAW,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC,CAAC;IAEF,MAAM,WAAW,GAAe,EAAE,CAAC;IAGnC,S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AAS,GAAG;IAC9B,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;IACtC,gBAAgB,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC;IACrD,kBAAkB,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC;CACrD,CAAC","sourcesContent":["import React, { useState } from 'react';\nimport PropTypes from \"prop-types\";\nimport Button from '@material-ui/core/Button';\nimport Menu from '@material-ui/core/Menu';\nimport MenuItem from '@material-ui/core/MenuItem';\n\nexport default function CaseViewActionsMenu(props) {\n const {getPConnect, availableActions, availableProcesses} = props;\n const thePConn = getPConnect();\n\n\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n setAnchorEl(event.currentTarget);\n };\n\n const handleClose = () => {\n setAnchorEl(null);\n };\n\n const arMenuItems: Array<any> = [];\n\n\n function _actionMenuActionsClick(data) {\n\n const actionsAPI = thePConn.getActionsApi();\n const openLocalAction = actionsAPI.openLocalAction.bind(actionsAPI);\n\n openLocalAction( data.ID, { ...data, containerName: 'modal', type: 'express'});\n // after doing the action, close the menu...\n handleClose();\n\n }\n\n\n availableActions.forEach( (action) => {\n arMenuItems.push( <MenuItem key={action.ID} onClick={() => _actionMenuActionsClick(action)}>{action.name}</MenuItem> )\n });\n\n availableProcesses.forEach( (process) => {\n arMenuItems.push( <MenuItem onClick={handleClose}>{process.name}</MenuItem> )\n });\n\n\n return (\n <React.Fragment>\n <Button aria-controls=\"simple-menu\" aria-haspopup=\"true\" onClick={handleClick}>\n Actions...\n </Button>\n <Menu\n id=\"simple-menu\"\n anchorEl={anchorEl}\n keepMounted\n open={Boolean(anchorEl)}\n onClose={handleClose}\n >\n {arMenuItems}\n </Menu>\n </React.Fragment>\n );\n}\n\nCaseViewActionsMenu.defaultProps = {\n availableActions: [],\n availableProcesses: []\n}\n\nCaseViewActionsMenu.propTypes = {\n getPConnect: PropTypes.func.isRequired,\n availableActions: PropTypes.arrayOf(PropTypes.object),\n availableProcesses: PropTypes.arrayOf(PropTypes.any)\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/template/CaseViewActionsMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/template/CaseViewActionsMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export { default } from './CaseViewActionsMenu';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataReference.d.ts","sourceRoot":"","sources":["../../../../src/components/template/DataReference/DataReference.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAQnC,iBAAwB,aAAa,CAAC,KAAK,KAAA,OA4P1C;kBA5PuB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAAb,aAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataReference.js","sourceRoot":"","sources":["../../../../src/components/template/DataReference/DataReference.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAE/D,MAAM,cAAc,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;AAI5D,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK;IACzC,MAAM,EACJ,QAAQ,EACR,WAAW,EACX,KA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AAE,SAAS;IAChB,SAAS,EAAE,SAAS;IACpB,WAAW,EAAE,SAAS;IACtB,kCAAkC,EAAE,KAAK;IACzC,aAAa,EAAE,EAAE;IACjB,aAAa,EAAE,EAAE;IACjB,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,KAAK;CACjB,CAAC;AAEF,aAAa,CAAC,SAAS,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;IACtD,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;IACtC,KAAK,EAAE,SAAS,CAAC,MAAM;IACvB,SAAS,EAAE,SAAS,CAAC,IAAI;IACzB,WAAW,EAAE,SAAS,CAAC,MAAM;IAC7B,kCAAkC,EAAE,SAAS,CAAC,IAAI;IAClD,aAAa,EAAE,SAAS,CAAC,MAAM;IAC/B,aAAa,EAAE,SAAS,CAAC,MAAM;IAC/B,SAAS,EAAE,SAAS,CAAC,MAAM;IAC3B,SAAS,EAAE,SAAS,CAAC,MAAM;IAC3B,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC;IAC/C,SAAS,EAAE,SAAS,CAAC,IAAI;CAC1B,CAAC","sourcesContent":["import React, { useMemo, useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport SingleReferenceReadonly from '../SingleReferenceReadOnly';\nimport MultiReferenceReadonly from '../MultiReferenceReadOnly';\n\nconst SELECTION_MODE = { SINGLE: 'single', MULTI: 'multi' };\n\ndeclare const PCore: any;\n\nexport default function DataReference(props) {\n const {\n children,\n getPConnect,\n label,\n showLabel,\n displayMode,\n allowAndPersistChangesInReviewMode,\n referenceType,\n selectionMode,\n displayAs,\n ruleClass,\n parameters,\n hideLabel\n } = props;\n let childrenToRender = children;\n const pConn = getPConnect();\n const [dropDownDataSource, setDropDownDataSource] = useState(null);\n const propsToUse = { label, showLabel, ...pConn.getInheritedProps() };\n if (propsToUse.showLabel === false) {\n propsToUse.label = '';\n }\n const rawViewMetadata = pConn.getRawMetadata();\n const viewName = rawViewMetadata.name;\n const [firstChildMeta] = rawViewMetadata.children;\n const refList = rawViewMetadata.config.referenceList;\n const canBeChangedInReviewMode = allowAndPersistChangesInReviewMode && (displayAs === 'autocomplete' || displayAs === 'dropdown');\n let propName;\n const isDisplayModeEnabled = ['LABELS_LEFT', 'STACKED_LARGE_VAL'].includes(displayMode);\n let firstChildPConnect;\n\n /* Only for dropdown when it has param use data api to get the data back and add it to datasource */\n useEffect(() => {\n if (\n firstChildMeta?.type === \"Dropdown\" &&\n rawViewMetadata.config?.parameters\n ) {\n const { value, key, text } = firstChildMeta.config.datasource.fields;\n PCore.getDataApiUtils()\n .getData(refList, {\n dataViewParameters: parameters\n })\n .then((res) => {\n if (res.data.data !== null) {\n const ddDataSource = res.data.data\n .map((listItem) => ({\n key: listItem[key.split(\" .\", 2)[1]],\n text: listItem[text.split(\" .\", 2)[1]],\n value: listItem[value.split(\" .\", 2)[1]]\n }))\n .filter((item) => item.key);\n // Filtering out undefined entries that will break preview\n setDropDownDataSource(ddDataSource);\n } else {\n const ddDataSource: any = []\n setDropDownDataSource(ddDataSource);\n }\n })\n .catch((err) => {\n // eslint-disable-next-line no-console\n console.error(err?.stack);\n return Promise.resolve({\n data: { data: [] }\n });\n });\n }\n }, [firstChildMeta, rawViewMetadata, parameters]);\n\n if (firstChildMeta?.type !== 'Region') {\n firstChildPConnect = getPConnect().getChildren()[0].getPConnect;\n /* remove refresh When condition from those old view so that it will not be used for runtime */\n if (firstChildMeta.config?.readOnly) {\n delete firstChildMeta.config.readOnly;\n }\n if (firstChildMeta?.type === 'Dropdown') {\n firstChildMeta.config.datasource.source = rawViewMetadata.config?.parameters\n ? dropDownDataSource\n : '@DATASOURCE '.concat(refList).concat('.pxResults');\n } else if (firstChildMeta?.type === 'AutoComplete') {\n firstChildMeta.config.datasource = refList;\n\n /* Insert the parameters to the component only if present */\n if (rawViewMetadata.config?.parameters) {\n firstChildMeta.config.parameters = parameters;\n }\n }\n // set displayMode conditionally\n if (!canBeChangedInReviewMode) {\n firstChildMeta.config.displayMode = displayMode;\n }\n if (firstChildMeta.type === 'SimpleTableSelect' && selectionMode === SELECTION_MODE.MULTI) {\n propName = PCore.getAnnotationUtils().getPropertyName(firstChildMeta.config.selectionList);\n } else {\n propName = PCore.getAnnotationUtils().getPropertyName(firstChildMeta.config.value);\n }\n }\n\n const handleSelection = event => {\n const caseKey = pConn.getCaseInfo().getKey();\n const refreshOptions = { autoDetectRefresh: true };\n if (canBeChangedInReviewMode && pConn.getValue('__currentPageTabViewName')) {\n getPConnect()\n .getActionsApi()\n .refreshCaseView(caseKey, pConn.getValue('__currentPageTabViewName'), null, refreshOptions);\n PCore.getDeferLoadManager().refreshActiveComponents(pConn.getContextName());\n } else {\n const pgRef = pConn.getPageReference().replace('caseInfo.content', '');\n getPConnect().getActionsApi().refreshCaseView(caseKey, viewName, pgRef, refreshOptions);\n }\n\n // AutoComplete sets value on event.id whereas Dropdown sets it on event.target.value\n const propValue = event?.id || event?.target.value;\n if (propValue && canBeChangedInReviewMode && isDisplayModeEnabled) {\n PCore.getDataApiUtils()\n .getCaseEditLock(caseKey)\n .then(caseResponse => {\n const pageTokens = pConn.getPageReference().replace('caseInfo.content', '').split('.');\n let curr = {};\n const commitData = curr;\n\n pageTokens.forEach(el => {\n if (el !== '') {\n curr[el] = {};\n curr = curr[el];\n }\n });\n\n // expecting format like {Customer: {pyID:\"C-100\"}}\n const propArr = propName.split('.');\n propArr.forEach((element, idx) => {\n if (idx + 1 === propArr.length) {\n curr[element] = propValue;\n } else {\n curr[element] = {};\n curr = curr[element];\n }\n });\n\n PCore.getDataApiUtils()\n .updateCaseEditFieldsData(\n caseKey,\n { [caseKey]: commitData },\n caseResponse.headers.etag,\n pConn.getContextName()\n )\n .then(response => {\n PCore.getContainerUtils().updateChildContainersEtag(\n pConn.getContextName(),\n response.headers.etag\n );\n });\n });\n }\n };\n\n // Re-create first child with overridden props\n // Memoized child in order to stop unmount and remount of the child component when data reference\n // rerenders without any actual change\n const recreatedFirstChild = useMemo(() => {\n const { type, config } = firstChildMeta;\n if (firstChildMeta?.type !== 'Region') {\n pConn.clearErrorMessages({\n property: propName\n });\n if (!canBeChangedInReviewMode && isDisplayModeEnabled && selectionMode === SELECTION_MODE.SINGLE) {\n return (\n <SingleReferenceReadonly\n config={config}\n getPConnect={firstChildPConnect}\n label={propsToUse.label}\n type={type}\n displayAs={displayAs}\n displayMode={displayMode}\n ruleClass={ruleClass}\n referenceType={referenceType}\n hideLabel={hideLabel}\n dataRelationshipContext={\n rawViewMetadata.config.contextClass && rawViewMetadata.config.name ? rawViewMetadata.config.name : null\n }\n />\n );\n }\n\n if (isDisplayModeEnabled && selectionMode === SELECTION_MODE.MULTI) {\n return (\n <MultiReferenceReadonly\n config={config}\n getPConnect={firstChildPConnect}\n label={propsToUse.label}\n hideLabel={hideLabel}\n />\n );\n }\n\n // In the case of a datasource with parameters you cannot load the dropdown before the parameters\n if (\n type === 'Dropdown' &&\n rawViewMetadata.config?.parameters &&\n dropDownDataSource === null\n ) {\n return null;\n }\n\n return firstChildPConnect().createComponent({\n type,\n config: {\n ...config,\n required: propsToUse.required,\n visibility: propsToUse.visibility,\n disabled: propsToUse.disabled,\n label: propsToUse.label,\n viewName: getPConnect().getCurrentView(),\n parameters: rawViewMetadata.config.parameters,\n readOnly: false,\n localeReference: rawViewMetadata.config.localeReference,\n ...(selectionMode === SELECTION_MODE.SINGLE ? { referenceType } : ''),\n dataRelationshipContext:\n rawViewMetadata.config.contextClass && rawViewMetadata.config.name\n ? rawViewMetadata.config.name\n : null,\n hideLabel,\n onRecordChange: handleSelection\n }\n });\n }\n }, [\n firstChildMeta.config?.datasource?.source,\n parameters,\n dropDownDataSource,\n propsToUse.required,\n propsToUse.disabled\n ]);\n\n // Only include the views region for rendering when it has content\n if (firstChildMeta?.type !== 'Region') {\n const viewsRegion = rawViewMetadata.children[1];\n if (viewsRegion?.name === 'Views' && viewsRegion.children.length) {\n childrenToRender = [recreatedFirstChild, ...children.slice(1)];\n } else {\n childrenToRender = [recreatedFirstChild];\n }\n }\n\n return childrenToRender.length === 1 ? (\n childrenToRender[0] ?? null\n ) : (\n <div>\n {childrenToRender.map(child => (\n <React.Fragment>{child}</React.Fragment>\n ))}\n </div>\n );\n}\n\nDataReference.defaultProps = {\n label: undefined,\n showLabel: undefined,\n displayMode: undefined,\n allowAndPersistChangesInReviewMode: false,\n referenceType: '',\n selectionMode: '',\n displayAs: '',\n ruleClass: '',\n parameters: undefined,\n hideLabel: false\n};\n\nDataReference.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n getPConnect: PropTypes.func.isRequired,\n label: PropTypes.string,\n showLabel: PropTypes.func,\n displayMode: PropTypes.string,\n allowAndPersistChangesInReviewMode: PropTypes.bool,\n referenceType: PropTypes.string,\n selectionMode: PropTypes.string,\n displayAs: PropTypes.string,\n ruleClass: PropTypes.string,\n parameters: PropTypes.arrayOf(PropTypes.string), // need to fix\n hideLabel: PropTypes.bool\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/template/DataReference/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/template/DataReference/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { default } from './DataReference';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultForm.d.ts","sourceRoot":"","sources":["../../../../src/components/template/DefaultForm/DefaultForm.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,OAAO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CACL,6BAAK,SAAS,EAAE,QAAQ,IACrB,UAAU,CACP,CACP,CAAA;AACH,CAAC;AAED,WAAW,CAAC,SAAS,GAAG;IACtB,0DAA0D;IAC1D,OAAO,EAAE,SAAS,CAAC,MAAM;CAC1B,CAAC;AAEF,WAAW,CAAC,YAAY,GAAG;IACzB,OAAO,EAAE,GAAG;CACb,CAAC","sourcesContent":["import React, { createElement } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport createPConnectComponent from '../../../bridge/react_pconnect';\n\nimport './DefaultForm.css';\n\nexport default function DefaultForm(props) {\n const { getPConnect, NumCols } = props;\n\n let divClass: string;\n\n const numCols = NumCols || \"1\";\n switch (numCols) {\n case \"1\" :\n divClass = \"psdk-default-form-one-column\";\n break;\n case \"2\" :\n divClass = \"psdk-default-form-two-column\";\n break;\n case \"3\" :\n divClass = \"psdk-default-form-three-column\";\n break;\n default :\n divClass = \"psdk-default-form-one-column\";\n break;\n }\n\n // debugger;\n\n // repoint the children because they are in a region and we need to not render the region\n // to take the children and create components for them, put in an array and pass as the\n // defaultForm kids\n const arChildren = getPConnect().getChildren()[0].getPConnect().getChildren();\n // eslint-disable-next-line react/no-array-index-key\n const dfChildren = arChildren.map((kid, idx) => createElement(createPConnectComponent(), {...kid, key: idx}));\n\n return (\n <div className={divClass}>\n {dfChildren}\n </div>\n )\n}\n\nDefaultForm.propTypes = {\n // children: PropTypes.arrayOf(PropTypes.node).isRequired,\n NumCols: PropTypes.string\n};\n\nDefaultForm.defaultProps = {\n NumCols: \"1\"\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/template/DefaultForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/template/DefaultForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { default } from './DefaultForm';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/Details/Details/Details.tsx"],"names":[],"mappings":";AAKA,iBAAwB,OAAO,CAAC,KAAK,KAAA,eAqBpC;kBArBuB,OAAO;;;;eAAP,OAAO"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
// import PropTypes from "prop-types";
|
|
3
|
+
import Grid from '@material-ui/core/Grid';
|
|
4
|
+
import DetailsFields from '../../../designSystemExtension/DetailsFields';
|
|
5
|
+
export default function Details(props) {
|
|
6
|
+
const { children } = props;
|
|
7
|
+
const arFields = [];
|
|
8
|
+
for (const child of children) {
|
|
9
|
+
const theChildPConn = child.props.getPConnect();
|
|
10
|
+
theChildPConn.setInheritedProp('displayMode', 'LABELS_LEFT');
|
|
11
|
+
theChildPConn.setInheritedProp('readOnly', true);
|
|
12
|
+
const theChildrenOfChild = theChildPConn.getChildren();
|
|
13
|
+
arFields.push(theChildrenOfChild);
|
|
14
|
+
}
|
|
15
|
+
return (React.createElement("div", { id: "DetailsOneColumn" },
|
|
16
|
+
React.createElement(Grid, { container: true, spacing: 1 },
|
|
17
|
+
React.createElement(Grid, { item: true, xs: 12 },
|
|
18
|
+
React.createElement(DetailsFields, { fields: arFields[0] })))));
|
|
19
|
+
}
|
|
20
|
+
Details.defaultProps = {
|
|
21
|
+
// children: []
|
|
22
|
+
};
|
|
23
|
+
Details.propTypes = {
|
|
24
|
+
// children: PropTypes.arrayOf(PropTypes.node)
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=Details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Details.js","sourceRoot":"","sources":["../../../../../src/components/template/Details/Details/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,sCAAsC;AACtC,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,aAAa,MAAM,8CAA8C,CAAC;AAEzE,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK;IACnC,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,MAAM,QAAQ,GAAe,EAAE,CAAC;IAEhC,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC5B,MAAM,aAAa,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAChD,aAAa,CAAC,gBAAgB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;QAC7D,aAAa,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACjD,MAAM,kBAAkB,GAAG,aAAa,CAAC,WAAW,EAAE,CAAC;QACvD,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;KACnC;IAED,OAAO,CACH,6BAAK,EAAE,EAAC,kBAAkB;QACxB,oBAAC,IAAI,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC;YACxB,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE;gBACf,oBAAC,aAAa,IAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAI,CACjC,CACF,CACH,CACP,CAAC;AACN,CAAC;AAED,OAAO,CAAC,YAAY,GAAG;AACrB,eAAe;CAChB,CAAA;AAED,OAAO,CAAC,SAAS,GAAG;AAClB,8CAA8C;CAC/C,CAAC","sourcesContent":["import React from \"react\";\n// import PropTypes from \"prop-types\";\nimport Grid from '@material-ui/core/Grid';\nimport DetailsFields from '../../../designSystemExtension/DetailsFields';\n\nexport default function Details(props) {\n const { children } = props;\n const arFields: Array<any> = [];\n\n for (const child of children) {\n const theChildPConn = child.props.getPConnect();\n theChildPConn.setInheritedProp('displayMode', 'LABELS_LEFT');\n theChildPConn.setInheritedProp('readOnly', true);\n const theChildrenOfChild = theChildPConn.getChildren();\n arFields.push(theChildrenOfChild);\n }\n\n return (\n <div id=\"DetailsOneColumn\">\n <Grid container spacing={1}>\n <Grid item xs={12}>\n <DetailsFields fields={arFields[0]} />\n </Grid>\n </Grid>\n </div>\n );\n}\n\nDetails.defaultProps = {\n // children: []\n}\n\nDetails.propTypes = {\n // children: PropTypes.arrayOf(PropTypes.node)\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/Details/Details/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/template/Details/Details/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC","sourcesContent":["export { default } from './Details';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailsSubTabs.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsSubTabs/DetailsSubTabs.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAMnC,iBAAwB,cAAc,CAAC,KAAK,KAAA,eA4C3C;kBA5CuB,cAAc;;;;;;;;;;;;;eAAd,cAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailsSubTabs.js","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsSubTabs/DetailsSubTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC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, getVisibleTabs, tabClick } from '../../SubTabs/tabUtils';\nimport React from 'react';\nimport { Tab, Tabs, TextField } from '@material-ui/core';\nimport { TabContext, TabPanel } from '@material-ui/lab';\n\nexport default function DetailsSubTabs(props) {\n const { children, label, showLabel, getPConnect } = props;\n // Get the inherited props from the parent to determine label settings\n const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };\n\n const defaultTabIndex = 0;\n const deferLoadedTabs = children[0];\n let availableTabs = [];\n\n useEffect(() => {\n availableTabs = getVisibleTabs(deferLoadedTabs, 'detailsSubTabs');\n }, [availableTabs]);\n\n const [currentTabId, setCurrentTabId] = useState(defaultTabIndex.toString());\n\n const [tabItems, setTabitem] = useState([]);\n useEffect(() => {\n const tempTabItems = getTransientTabs(availableTabs, currentTabId, tabItems);\n setTabitem(tempTabItems);\n }, [currentTabId]);\n\n const handleTabClick = (id, index: string) => {\n setCurrentTabId(index);\n tabClick(index, availableTabs, currentTabId, setCurrentTabId, tabItems);\n };\n\n return (\n <Fragment>\n {propsToUse.showLabel && <TextField>{propsToUse.label}</TextField>}\n <TabContext value={currentTabId.toString()}>\n <Tabs onChange={handleTabClick} value={currentTabId}>\n {tabItems.map((tab: any) => (\n <Tab key={tab.id} label={tab.name} value={tab.id} />\n ))}\n </Tabs>\n\n {tabItems.map((tab: any) => (\n <TabPanel key={tab.id} value={tab.id} tabIndex={+tab.id}>\n <div>{tab.content ? tab.content : 'No content exists'}</div>\n </TabPanel>\n ))}\n </TabContext>\n </Fragment>\n );\n}\n\nDetailsSubTabs.defaultProps = {\n children: [],\n label: undefined,\n showLabel: true\n};\n\nDetailsSubTabs.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node),\n showLabel: PropTypes.bool,\n label: PropTypes.string,\n getPConnect: PropTypes.func.isRequired\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsSubTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsSubTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["export { default } from './DetailsSubTabs';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailsThreeColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.tsx"],"names":[],"mappings":";AAKA,iBAAwB,kBAAkB,CAAC,KAAK,KAAA,eAgC/C;kBAhCuB,kBAAkB;;;eAAlB,kBAAkB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
// import PropTypes from "prop-types";
|
|
3
|
+
import Grid from '@material-ui/core/Grid';
|
|
4
|
+
import DetailsFields from '../../../designSystemExtension/DetailsFields';
|
|
5
|
+
export default function DetailsThreeColumn(props) {
|
|
6
|
+
const { children } = props;
|
|
7
|
+
const arFields = [];
|
|
8
|
+
for (const child of children) {
|
|
9
|
+
const theChildPConn = child.props.getPConnect();
|
|
10
|
+
theChildPConn.setInheritedProp('displayMode', 'LABELS_LEFT');
|
|
11
|
+
theChildPConn.setInheritedProp('readOnly', true);
|
|
12
|
+
const theChildrenOfChild = theChildPConn.getChildren();
|
|
13
|
+
arFields.push(theChildrenOfChild);
|
|
14
|
+
}
|
|
15
|
+
if (arFields.length !== 3) {
|
|
16
|
+
// eslint-disable-next-line no-console
|
|
17
|
+
console.error(`DetailsThreeColumn expects 3 children and received ${arFields.length}`);
|
|
18
|
+
}
|
|
19
|
+
return (React.createElement("div", { id: 'DetailsThreeColumn' },
|
|
20
|
+
React.createElement(Grid, { container: true, spacing: 1 },
|
|
21
|
+
React.createElement(Grid, { item: true, xs: 4 },
|
|
22
|
+
React.createElement(DetailsFields, { fields: arFields[0] })),
|
|
23
|
+
React.createElement(Grid, { item: true, xs: 4 },
|
|
24
|
+
React.createElement(DetailsFields, { fields: arFields[1] })),
|
|
25
|
+
React.createElement(Grid, { item: true, xs: 4 },
|
|
26
|
+
React.createElement(DetailsFields, { fields: arFields[2] })))));
|
|
27
|
+
}
|
|
28
|
+
DetailsThreeColumn.propTypes = {
|
|
29
|
+
// showLabel: PropTypes.bool,
|
|
30
|
+
// label: PropTypes.string,
|
|
31
|
+
// getPConnect: PropTypes.func.isRequired,
|
|
32
|
+
// template: PropTypes.string.isRequired
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=DetailsThreeColumn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailsThreeColumn.js","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,sCAAsC;AACtC,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,aAAa,MAAM,8CAA8C,CAAC;AAEzE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,KAAK;IAC9C,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,MAAM,QAAQ,GAAe,EAAE,CAAC;IAEhC,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC5B,MAAM,aAAa,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAChD,aAAa,CAAC,gBAAgB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;QAC7D,aAAa,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACjD,MAAM,kBAAkB,GAAG,aAAa,CAAC,WAAW,EAAE,CAAC;QACvD,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;KACnC;IAED,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;QACzB,sCAAsC;QACtC,OAAO,CAAC,KAAK,CAAC,sDAAsD,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;KACxF;IAED,OAAO,CACL,6BAAK,EAAE,EAAC,oBAAoB;QAC1B,oBAAC,IAAI,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC;YACxB,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC;gBACd,oBAAC,aAAa,IAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAI,CACjC;YACP,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC;gBACd,oBAAC,aAAa,IAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAI,CACjC;YACP,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC;gBACd,oBAAC,aAAa,IAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAI,CACjC,CACF,CACH,CACP,CAAC;AACJ,CAAC;AAED,kBAAkB,CAAC,SAAS,GAAG;AAC7B,6BAA6B;AAC7B,2BAA2B;AAC3B,0CAA0C;AAC1C,wCAAwC;CACzC,CAAC","sourcesContent":["import React from 'react';\n// import PropTypes from \"prop-types\";\nimport Grid from '@material-ui/core/Grid';\nimport DetailsFields from '../../../designSystemExtension/DetailsFields';\n\nexport default function DetailsThreeColumn(props) {\n const { children } = props;\n const arFields: Array<any> = [];\n\n for (const child of children) {\n const theChildPConn = child.props.getPConnect();\n theChildPConn.setInheritedProp('displayMode', 'LABELS_LEFT');\n theChildPConn.setInheritedProp('readOnly', true);\n const theChildrenOfChild = theChildPConn.getChildren();\n arFields.push(theChildrenOfChild);\n }\n\n if (arFields.length !== 3) {\n // eslint-disable-next-line no-console\n console.error(`DetailsThreeColumn expects 3 children and received ${arFields.length}`);\n }\n\n return (\n <div id='DetailsThreeColumn'>\n <Grid container spacing={1}>\n <Grid item xs={4}>\n <DetailsFields fields={arFields[0]} />\n </Grid>\n <Grid item xs={4}>\n <DetailsFields fields={arFields[1]} />\n </Grid>\n <Grid item xs={4}>\n <DetailsFields fields={arFields[2]} />\n </Grid>\n </Grid>\n </div>\n );\n}\n\nDetailsThreeColumn.propTypes = {\n // showLabel: PropTypes.bool,\n // label: PropTypes.string,\n // getPConnect: PropTypes.func.isRequired,\n // template: PropTypes.string.isRequired\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsThreeColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsThreeColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC","sourcesContent":["export { default } from './DetailsThreeColumn';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailsTwoColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.tsx"],"names":[],"mappings":";AAKA,iBAAwB,gBAAgB,CAAC,KAAK,KAAA,eA8B7C;kBA9BuB,gBAAgB;;;eAAhB,gBAAgB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
// import PropTypes from "prop-types";
|
|
3
|
+
import Grid from '@material-ui/core/Grid';
|
|
4
|
+
import DetailsFields from '../../../designSystemExtension/DetailsFields';
|
|
5
|
+
export default function DetailsTwoColumn(props) {
|
|
6
|
+
const { children } = props;
|
|
7
|
+
const arFields = [];
|
|
8
|
+
for (const child of children) {
|
|
9
|
+
const theChildPConn = child.props.getPConnect();
|
|
10
|
+
theChildPConn.setInheritedProp('displayMode', 'LABELS_LEFT');
|
|
11
|
+
theChildPConn.setInheritedProp('readOnly', true);
|
|
12
|
+
const theChildrenOfChild = theChildPConn.getChildren();
|
|
13
|
+
arFields.push(theChildrenOfChild);
|
|
14
|
+
}
|
|
15
|
+
if (arFields.length !== 2) {
|
|
16
|
+
// eslint-disable-next-line no-console
|
|
17
|
+
console.error(`DetailsTwoColumn expects 2 children and received ${arFields.length}`);
|
|
18
|
+
}
|
|
19
|
+
return (React.createElement("div", { id: "DetailsTwoColumn" },
|
|
20
|
+
React.createElement(Grid, { container: true, spacing: 1 },
|
|
21
|
+
React.createElement(Grid, { item: true, xs: 6 },
|
|
22
|
+
React.createElement(DetailsFields, { fields: arFields[0] })),
|
|
23
|
+
React.createElement(Grid, { item: true, xs: 6 },
|
|
24
|
+
React.createElement(DetailsFields, { fields: arFields[1] })))));
|
|
25
|
+
}
|
|
26
|
+
DetailsTwoColumn.propTypes = {
|
|
27
|
+
// showLabel: PropTypes.bool,
|
|
28
|
+
// label: PropTypes.string,
|
|
29
|
+
// getPConnect: PropTypes.func.isRequired,
|
|
30
|
+
// template: PropTypes.string.isRequired
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=DetailsTwoColumn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailsTwoColumn.js","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,sCAAsC;AACtC,OAAO,IAAI,MAAM,wBAAwB,CAAC;AAC1C,OAAO,aAAa,MAAM,8CAA8C,CAAC;AAEzE,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK;IAC5C,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,MAAM,QAAQ,GAAe,EAAE,CAAC;IAEhC,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC5B,MAAM,aAAa,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAChD,aAAa,CAAC,gBAAgB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;QAC7D,aAAa,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QACjD,MAAM,kBAAkB,GAAG,aAAa,CAAC,WAAW,EAAE,CAAC;QACvD,QAAQ,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;KACnC;IAED,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;QACzB,sCAAsC;QACtC,OAAO,CAAC,KAAK,CAAC,oDAAoD,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;KACtF;IAGD,OAAO,CACL,6BAAK,EAAE,EAAC,kBAAkB;QACxB,oBAAC,IAAI,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC;YACxB,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC;gBACd,oBAAC,aAAa,IAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAI,CACjC;YACP,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,CAAC;gBACd,oBAAC,aAAa,IAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAI,CACjC,CACF,CACH,CACP,CAAA;AACH,CAAC;AAED,gBAAgB,CAAC,SAAS,GAAG;AAC3B,6BAA6B;AAC7B,2BAA2B;AAC3B,0CAA0C;AAC1C,wCAAwC;CACzC,CAAC","sourcesContent":["import React from \"react\";\n// import PropTypes from \"prop-types\";\nimport Grid from '@material-ui/core/Grid';\nimport DetailsFields from '../../../designSystemExtension/DetailsFields';\n\nexport default function DetailsTwoColumn(props) {\n const { children } = props;\n const arFields: Array<any> = [];\n\n for (const child of children) {\n const theChildPConn = child.props.getPConnect();\n theChildPConn.setInheritedProp('displayMode', 'LABELS_LEFT');\n theChildPConn.setInheritedProp('readOnly', true);\n const theChildrenOfChild = theChildPConn.getChildren();\n arFields.push(theChildrenOfChild);\n }\n\n if (arFields.length !== 2) {\n // eslint-disable-next-line no-console\n console.error(`DetailsTwoColumn expects 2 children and received ${arFields.length}`);\n }\n\n\n return (\n <div id=\"DetailsTwoColumn\">\n <Grid container spacing={1}>\n <Grid item xs={6}>\n <DetailsFields fields={arFields[0]} />\n </Grid>\n <Grid item xs={6}>\n <DetailsFields fields={arFields[1]} />\n </Grid>\n </Grid>\n </div>\n )\n}\n\nDetailsTwoColumn.propTypes = {\n // showLabel: PropTypes.bool,\n // label: PropTypes.string,\n // getPConnect: PropTypes.func.isRequired,\n // template: PropTypes.string.isRequired\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsTwoColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/template/Details/DetailsTwoColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["export { default } from './DetailsTwoColumn';"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldGroupTemplate.d.ts","sourceRoot":"","sources":["../../../../src/components/template/FieldGroupTemplate/FieldGroupTemplate.tsx"],"names":[],"mappings":";AAEA,OAAO,SAAS,MAAM,YAAY,CAAC;AAQnC,iBAAwB,kBAAkB,CAAC,KAAK,KAAA,eA8E/C;kBA9EuB,kBAAkB;;;;;;;;;;;;;;;;;eAAlB,kBAAkB"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* eslint-disable react-hooks/rules-of-hooks */
|
|
2
|
+
import React, { useMemo } from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import FieldGroup from '../../designSystemExtension/FieldGroup';
|
|
5
|
+
import FieldGroupList from '../../designSystemExtension/FieldGroupList';
|
|
6
|
+
import { getReferenceList, buildView } from '../../helpers/field-group-utils';
|
|
7
|
+
export default function FieldGroupTemplate(props) {
|
|
8
|
+
const { referenceList, renderMode, contextClass, getPConnect, lookForChildInConfig, heading, displayMode, fieldHeader, allowTableEdit: allowAddEdit } = props;
|
|
9
|
+
const pConn = getPConnect();
|
|
10
|
+
const resolvedList = getReferenceList(pConn);
|
|
11
|
+
pConn.setReferenceList(resolvedList);
|
|
12
|
+
const pageReference = `${pConn.getPageReference()}${resolvedList}`;
|
|
13
|
+
const isReadonlyMode = renderMode === 'ReadOnly' || displayMode === 'LABELS_LEFT';
|
|
14
|
+
const HEADING = heading ?? 'Row';
|
|
15
|
+
const getDynamicHeaderProp = (item, index) => {
|
|
16
|
+
if (fieldHeader === 'propertyRef' && heading && item[heading.substring(1)]) {
|
|
17
|
+
return item[heading.substring(1)];
|
|
18
|
+
}
|
|
19
|
+
return `Row ${index + 1}`;
|
|
20
|
+
};
|
|
21
|
+
const addRecord = () => {
|
|
22
|
+
if (PCore.getPCoreVersion()?.includes('8.7')) {
|
|
23
|
+
pConn.getListActions().insert({ classID: contextClass }, referenceList.length, pageReference);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
pConn.getListActions().insert({ classID: contextClass }, referenceList.length);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
if (!isReadonlyMode) {
|
|
30
|
+
const addFieldGroupItem = () => {
|
|
31
|
+
addRecord();
|
|
32
|
+
};
|
|
33
|
+
const deleteFieldGroupItem = index => {
|
|
34
|
+
if (PCore.getPCoreVersion()?.includes('8.7')) {
|
|
35
|
+
pConn.getListActions().deleteEntry(index, pageReference);
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
pConn.getListActions().deleteEntry(index);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
if (referenceList.length === 0 && allowAddEdit !== false) {
|
|
42
|
+
addFieldGroupItem();
|
|
43
|
+
}
|
|
44
|
+
const MemoisedChildren = useMemo(() => {
|
|
45
|
+
return referenceList.map((item, index) => ({
|
|
46
|
+
id: index,
|
|
47
|
+
name: fieldHeader === 'propertyRef'
|
|
48
|
+
? getDynamicHeaderProp(item, index)
|
|
49
|
+
: `${HEADING} ${index + 1}`,
|
|
50
|
+
children: buildView(pConn, index, lookForChildInConfig)
|
|
51
|
+
}));
|
|
52
|
+
}, [referenceList?.length]);
|
|
53
|
+
return (React.createElement(FieldGroupList, { items: MemoisedChildren, onAdd: allowAddEdit !== false ? addFieldGroupItem : undefined, onDelete: allowAddEdit !== false ? deleteFieldGroupItem : undefined }));
|
|
54
|
+
}
|
|
55
|
+
pConn.setInheritedProp('displayMode', 'LABELS_LEFT');
|
|
56
|
+
const memoisedReadOnlyList = useMemo(() => {
|
|
57
|
+
return referenceList.map((item, index) => (
|
|
58
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
59
|
+
React.createElement(FieldGroup, { item: item, key: index, name: `${HEADING} ${index + 1}` })));
|
|
60
|
+
}, []);
|
|
61
|
+
return React.createElement("div", null, memoisedReadOnlyList);
|
|
62
|
+
}
|
|
63
|
+
FieldGroupTemplate.defaultProps = {
|
|
64
|
+
referenceList: [],
|
|
65
|
+
heading: undefined,
|
|
66
|
+
contextClass: null,
|
|
67
|
+
displayMode: undefined
|
|
68
|
+
};
|
|
69
|
+
FieldGroupTemplate.propTypes = {
|
|
70
|
+
referenceList: PropTypes.arrayOf(Object),
|
|
71
|
+
contextClass: PropTypes.string,
|
|
72
|
+
getPConnect: PropTypes.func.isRequired,
|
|
73
|
+
renderMode: PropTypes.string.isRequired,
|
|
74
|
+
heading: PropTypes.string,
|
|
75
|
+
lookForChildInConfig: PropTypes.bool,
|
|
76
|
+
displayMode: PropTypes.string
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=FieldGroupTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldGroupTemplate.js","sourceRoot":"","sources":["../../../../src/components/template/FieldGroupTemplate/FieldGro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M;CAC9B,CAAC","sourcesContent":["/* eslint-disable react-hooks/rules-of-hooks */\nimport React, { useMemo } from 'react';\nimport PropTypes from 'prop-types';\n\nimport FieldGroup from '../../designSystemExtension/FieldGroup';\nimport FieldGroupList from '../../designSystemExtension/FieldGroupList';\nimport { getReferenceList, buildView } from '../../helpers/field-group-utils';\n\ndeclare const PCore: any;\n\nexport default function FieldGroupTemplate(props) {\n const {\n referenceList,\n renderMode,\n contextClass,\n getPConnect,\n lookForChildInConfig,\n heading,\n displayMode,\n fieldHeader,\n allowTableEdit: allowAddEdit\n } = props;\n const pConn = getPConnect();\n const resolvedList = getReferenceList(pConn);\n pConn.setReferenceList(resolvedList);\n const pageReference = `${pConn.getPageReference()}${resolvedList}`;\n const isReadonlyMode = renderMode === 'ReadOnly' || displayMode === 'LABELS_LEFT';\n const HEADING = heading ?? 'Row';\n\n const getDynamicHeaderProp = (item, index) => {\n if (fieldHeader === 'propertyRef' && heading && item[heading.substring(1)]) {\n return item[heading.substring(1)];\n }\n return `Row ${index + 1}`;\n };\n\n const addRecord = () => {\n if (PCore.getPCoreVersion()?.includes('8.7')) {\n pConn.getListActions().insert({ classID: contextClass }, referenceList.length, pageReference);\n } else {\n pConn.getListActions().insert({ classID: contextClass }, referenceList.length);\n }\n };\n\n if (!isReadonlyMode) {\n const addFieldGroupItem = () => {\n addRecord();\n };\n const deleteFieldGroupItem = index => {\n if (PCore.getPCoreVersion()?.includes('8.7')) {\n pConn.getListActions().deleteEntry(index, pageReference);\n } else {\n pConn.getListActions().deleteEntry(index);\n }\n };\n if (referenceList.length === 0 && allowAddEdit !== false) {\n addFieldGroupItem();\n }\n\n const MemoisedChildren = useMemo(() => {\n return referenceList.map((item, index) => ({\n id: index,\n name:\n fieldHeader === 'propertyRef'\n ? getDynamicHeaderProp(item, index)\n : `${HEADING} ${index + 1}`,\n children: buildView(pConn, index, lookForChildInConfig)\n }));\n }, [referenceList?.length]);\n\n return (\n <FieldGroupList\n items={MemoisedChildren}\n onAdd={allowAddEdit !== false ? addFieldGroupItem : undefined}\n onDelete={allowAddEdit !== false ? deleteFieldGroupItem : undefined}\n />\n );\n }\n\n pConn.setInheritedProp('displayMode', 'LABELS_LEFT');\n const memoisedReadOnlyList = useMemo(() => {\n return referenceList.map((item, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <FieldGroup item={item} key={index} name={`${HEADING} ${index + 1}`} />\n ));\n }, []);\n\n return <div>{memoisedReadOnlyList}</div>;\n}\n\nFieldGroupTemplate.defaultProps = {\n referenceList: [],\n heading: undefined,\n contextClass: null,\n displayMode: undefined\n};\n\nFieldGroupTemplate.propTypes = {\n referenceList: PropTypes.arrayOf(Object),\n contextClass: PropTypes.string,\n getPConnect: PropTypes.func.isRequired,\n renderMode: PropTypes.string.isRequired,\n heading: PropTypes.string,\n lookForChildInConfig: PropTypes.bool,\n displayMode: PropTypes.string\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/template/FieldGroupTemplate/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/template/FieldGroupTemplate/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC","sourcesContent":["export { default } from './FieldGroupTemplate';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineDashboard.d.ts","sourceRoot":"","sources":["../../../../src/components/template/InlineDashboard/InlineDashboard.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AA+BnC,iBAAwB,eAAe,CAAC,KAAK,KAAA,eAkC5C;kBAlCuB,eAAe;;;;;eAAf,eAAe"}
|