@pega/react-sdk-components 0.23.11 → 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/infra/ToDo/ToDo.d.ts.map +0 -1
- package/lib/components/infra/ToDo/ToDo.js.map +0 -1
- package/lib/components/infra/ToDo/index.d.ts.map +0 -1
- package/lib/components/infra/ToDo/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/{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/{infra → widget}/ToDo/ToDo.css +0 -0
- /package/lib/components/{infra → widget}/ToDo/ToDo.d.ts +0 -0
- /package/lib/components/{infra → widget}/ToDo/ToDo.js +0 -0
- /package/lib/components/{infra → widget}/ToDo/index.d.ts +0 -0
- /package/lib/components/{infra → widget}/ToDo/index.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleTable.js","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTable/SimpleTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,kBAAkB,MAAM,2BAA2B,CAAC;AAC3D,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AAIrD,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK;IACvC,MAAM,EAAE,WAAW,EAAE,oBAAoB,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAEpE,IAAI,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAC7B,IAAI,CAAC,YAAY,EAAE;QACjB,IAAI,QAAQ,GAAG,WAAW,EAAE,CAAC,kBAAkB,EAAE,CAAC,aAAa,CAAC;QAChE,QAAQ,GAAG,KAAK,CAAC,kBAAkB,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;QAChE,YAAY,GAAG,WAAW,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;KACpE;IACD,IAAI,oBAAoB,KAAK,YAAY,EAAE;QACzC,MAAM,eAAe,GAAG,EAAE,GAAG,KAAK,EAAE,YAAY,EAAE,CAAC;QACnD,OAAO,oBAAC,kBAAkB,OAAK,eAAe,GAAI,CAAC;KACpD;SAAM;QACL,MAAM,sBAAsB,GAAG,EAAC,GAAG,KAAK,EAAE,YAAY,EAAC,CAAC;QACxD,IAAI,cAAc,KAAK,KAAK,EAAE;YAC5B,sBAAsB,CAAC,UAAU,GAAG,IAAI,CAAC;YACzC,sBAAsB,CAAC,aAAa,GAAG,IAAI,CAAC;YAC5C,sBAAsB,CAAC,eAAe,GAAG,IAAI,CAAC;SAC/C;QACD,OAAO,oBAAC,iBAAiB,OAAK,sBAAsB,GAAI,CAAC;KAC1D;AACH,CAAC","sourcesContent":["import React from 'react';\nimport FieldGroupTemplate from '../../FieldGroupTemplate/';\nimport SimpleTableManual from '../SimpleTableManual';\n\ndeclare const PCore: any;\n\nexport default function SimpleTable(props) {\n const { getPConnect, multiRecordDisplayAs, allowTableEdit } = props;\n\n let { contextClass } = props;\n if (!contextClass) {\n let listName = getPConnect().getComponentConfig().referenceList;\n listName = PCore.getAnnotationUtils().getPropertyName(listName);\n contextClass = getPConnect().getFieldMetadata(listName)?.pageClass;\n }\n if (multiRecordDisplayAs === 'fieldGroup') {\n const fieldGroupProps = { ...props, contextClass };\n return <FieldGroupTemplate {...fieldGroupProps} />;\n } else {\n const simpleTableManualProps = {...props, contextClass};\n if (allowTableEdit === false) {\n simpleTableManualProps.hideAddRow = true;\n simpleTableManualProps.hideDeleteRow = true;\n simpleTableManualProps.disableDragDrop = true;\n }\n return <SimpleTableManual {...simpleTableManualProps} />;\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { default } from './SimpleTable';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleTableManual.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.tsx"],"names":[],"mappings":";AAoEA,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,KAAA,eA4oB9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleTableManual.js","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,Q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,EAAC,MAAM,EACX,SAAS,QACT,KAAK,EAAE,0BAA0B,EACjC,QAAQ,EAAE,oBAAoB,GAC9B,CACD,CACJ,CACa;YAChB,oBAAC,aAAa;gBACZ,oBAAC,MAAM,IAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAC,WAAW,aAEvC;gBACT,oBAAC,MAAM,IAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAC,SAAS,aAEtC,CACK,CACT,CACM,CAClB,CAAC;AACJ,CAAC","sourcesContent":["/* eslint-disable no-nested-ternary */\nimport React, { useEffect, useState } from 'react';\nimport Table from '@material-ui/core/Table';\nimport TableBody from '@material-ui/core/TableBody';\nimport TableCell from '@material-ui/core/TableCell';\nimport TableContainer from '@material-ui/core/TableContainer';\nimport TableHead from '@material-ui/core/TableHead';\nimport TableRow from '@material-ui/core/TableRow';\nimport Paper from '@material-ui/core/Paper';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { buildFieldsForTable, filterData } from '../simpleTableHelpers';\nimport { getDataPage } from '../../../helpers/data_page';\nimport Link from '@material-ui/core/Link';\nimport { getReferenceList } from '../../../helpers/field-group-utils';\nimport { Utils } from '../../../helpers/utils';\nimport { createElement } from 'react';\n\nimport createPConnectComponent from '../../../../bridge/react_pconnect';\n\nimport TableSortLabel from '@material-ui/core/TableSortLabel';\nimport MoreIcon from '@material-ui/icons/MoreVert';\nimport Menu from '@material-ui/core/Menu';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport FilterListIcon from '@material-ui/icons/FilterList';\nimport SubjectIcon from '@material-ui/icons/Subject';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport Select from '@material-ui/core/Select';\nimport Button from '@material-ui/core/Button';\nimport TextField from '@material-ui/core/TextField';\n\nconst useStyles = makeStyles((/* theme */) => ({\n label: {\n margin: '8px'\n },\n header: {\n background: '#f5f5f5'\n },\n tableCell: {\n borderRight: '1px solid lightgray',\n padding: '8px'\n },\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1\n },\n moreIcon: {\n verticalAlign: 'bottom'\n }\n}));\n\ndeclare const PCore: any;\n\nlet menuColumnId = '';\nlet menuColumnType = '';\nlet menuColumnLabel = '';\n\nconst filterByColumns: Array<any> = [];\nlet myRows: Array<any>;\nexport default function SimpleTableManual(props) {\n const classes = useStyles();\n const {\n getPConnect,\n referenceList = [], // if referenceList not in configProps$, default to empy list\n children,\n renderMode,\n presets,\n label: labelProp,\n showLabel,\n dataPageName,\n contextClass,\n hideAddRow,\n hideDeleteRow,\n propertyLabel,\n fieldMetadata\n } = props;\n const pConn = getPConnect();\n const [rowData, setRowData] = useState([]);\n const [elements, setElementsData] = useState([]);\n const [order, setOrder] = useState<Order>('asc');\n const [orderBy, setOrderBy] = useState<keyof any>('');\n const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);\n const [open, setOpen] = useState(false);\n const [filterBy, setFilterBy] = useState<string>();\n const [containsDateOrTime, setContainsDateOrTime] = useState<boolean>(false);\n const [filterType, setFilterType] = useState<string>('string');\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars\n const [displayDialogFilterName, setDisplayDialogFilterName] = useState<string>('');\n const [displayDialogContainsFilter, setDisplayDialogContainsFilter] =\n useState<string>('contains');\n const [displayDialogContainsValue, setDisplayDialogContainsValue] = useState<string>('');\n const [displayDialogDateFilter, setDisplayDialogDateFilter] = useState<string>('notequal');\n const [displayDialogDateValue, setDisplayDialogDateValue] = useState<string>('');\n\n const parameters = fieldMetadata?.datasource?.parameters;\n\n const label = labelProp || propertyLabel;\n const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };\n if (propsToUse.showLabel === false) {\n propsToUse.label = '';\n }\n // Getting current context\n const context = getPConnect().getContextName();\n const resolvedList = getReferenceList(pConn);\n const pageReference = `${pConn.getPageReference()}${resolvedList}`;\n pConn.setReferenceList(resolvedList);\n const menuIconOverride$ = Utils.getImageSrc('trash', PCore.getAssetLoader().getStaticServerUrl());\n\n const resolvedFields = children?.[0]?.children || presets?.[0].children?.[0].children;\n // NOTE: props has each child.config with datasource and value undefined\n // but getRawMetadata() has each child.config with datasource and value showing their unresolved values (ex: \"@P thePropName\")\n // We need to use the prop name as the \"glue\" to tie the table dataSource, displayColumns and data together.\n // So, in the code below, we'll use the unresolved config.value (but replacing the space with an underscore to keep things happy)\n const rawMetadata = getPConnect().getRawMetadata();\n\n // get raw config since @P and other annotations are processed and don't appear in the resolved config.\n // Destructure \"raw\" children into array var: \"rawFields\"\n // NOTE: when config.listType == \"associated\", the property can be found in either\n // config.value (ex: \"@P .DeclarantChoice\") or\n // config.datasource (ex: \"@ASSOCIATED .DeclarantChoice\")\n // Neither of these appear in the resolved props\n\n const rawConfig = rawMetadata?.config;\n const rawFields =\n rawConfig?.children?.[0]?.children || rawConfig?.presets?.[0].children?.[0]?.children;\n\n const readOnlyMode = renderMode === 'ReadOnly';\n const editableMode = renderMode === 'Editable';\n const showAddRowButton = !readOnlyMode && !hideAddRow;\n const showDeleteButton = !readOnlyMode && !hideDeleteRow;\n useEffect(() => {\n if (editableMode) {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n buildElementsForTable();\n } else {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n generateRowsData();\n }\n }, [referenceList.length]);\n\n // Nebula has other handling for isReadOnlyMode but has Cosmos-specific code\n // so ignoring that for now...\n // fieldDefs will be an array where each entry will have a \"name\" which will be the\n // \"resolved\" property name (that we can use as the colId) though it's not really\n // resolved. The buildFieldsForTable helper just removes the \"@P \" (which is what\n // Nebula does). It will also have the \"label\", and \"meta\" contains the original,\n // unchanged config info. For now, much of the info here is carried over from\n // Nebula and we may not end up using it all.\n const fieldDefs = buildFieldsForTable(rawFields, resolvedFields, showDeleteButton);\n\n const displayedColumns = fieldDefs.map(field => {\n return field.name ? field.name : field.cellRenderer;\n });\n\n // console.log(`SimpleTable displayedColumns:`);\n // console.log(displayedColumns);\n\n // And now we can process the resolvedFields to add in the \"name\"\n // from from the fieldDefs. This \"name\" is the value that\n // we'll share to connect things together in the table.\n\n // const processedFields = resolvedFields.map((field, i) => {\n // field.config['name'] = displayedColumns[i]; // .config[\"value\"].replace(/ ./g,\"_\"); // replace space dot with underscore\n // return field;\n // });\n\n // console.log(\"SimpleTable processedFields:\");\n // console.log(processedFields);\n\n // return the value that should be shown as the contents for the given row data\n // of the given row field\n function getRowValue(inRowData: Object, inColKey: string): any {\n // See what data (if any) we have to display\n const refKeys: Array<string> = inColKey.split('.');\n let valBuilder = inRowData;\n for (const key of refKeys) {\n valBuilder = valBuilder[key];\n }\n return valBuilder;\n }\n\n const formatRowsData = data => {\n if(!data) return {};\n\n return data.map(item => {\n return displayedColumns.reduce((dataForRow, colKey) => {\n dataForRow[colKey] = getRowValue(item, colKey);\n return dataForRow;\n }, {});\n });\n };\n\n function generateRowsData() {\n // if dataPageName property value exists then make a datapage fetch call and get the list of data.\n if (dataPageName) {\n getDataPage(dataPageName, parameters, context).then(listData => {\n const data = formatRowsData(listData);\n myRows = data;\n setRowData(data);\n });\n } else {\n // The referenceList prop has the JSON data for each row to be displayed\n // in the table. So, iterate over referenceList to create the dataRows that\n // we're using as the table's dataSource\n const data: any = [];\n for (const row of referenceList) {\n const dataForRow: Object = {};\n for (const col of displayedColumns) {\n const colKey: string = col;\n const theVal = getRowValue(row, colKey);\n dataForRow[colKey] = theVal || '';\n }\n data.push(dataForRow);\n myRows = data;\n }\n setRowData(data);\n }\n }\n\n // These are the data structures referred to in the html file.\n // These are the relationships that make the table work\n // displayedColumns: key/value pairs where key is order of column and\n // value is the property shown in that column. Ex: 1: \"FirstName\"\n // processedFields: key/value pairs where each key is order of column\n // and each value is an object of more detailed information about that\n // column.\n // rowData: array of each row's key/value pairs. Inside each row,\n // each key is an entry in displayedColumns: ex: \"FirstName\": \"Charles\"\n // Ex: { 1: {config: {label: \"First Name\", readOnly: true: name: \"FirstName\"}}, type: \"TextInput\" }\n // The \"type\" indicates the type of component that should be used for editing (when editing is enabled)\n //\n // Note that the \"property\" shown in the column (\"FirstName\" in the above examples) is what\n // ties the 3 data structures together.\n\n // console.log(\"SimpleTable displayedColumns:\");\n // console.log(displayedColumns);\n // console.log(\"SimpleTable processedFields:\");\n // console.log(processedFields);\n // console.log(`SimpleTable rowData (${rowData.length} row(s)):`);\n // console.log(JSON.stringify(rowData));\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 const deleteRecord = index => {\n if (PCore.getPCoreVersion()?.includes('8.7')) {\n pConn.getListActions().deleteEntry(index, pageReference);\n } else {\n pConn.getListActions().deleteEntry(index);\n }\n };\n\n function buildElementsForTable() {\n const eleData: any = [];\n referenceList.forEach((element, index) => {\n const data: any = [];\n rawFields.forEach(item => {\n // removing label field from config to hide title in the table cell\n item = {...item, config: {...item.config, label: ''}};\n const referenceListData = getReferenceList(pConn);\n const isDatapage = referenceListData.startsWith('D_');\n const pageReferenceValue = isDatapage\n ? `${referenceListData}[${index}]`\n : `${pConn.getPageReference()}${referenceListData.substring(\n referenceListData.lastIndexOf('.')\n )}[${index}]`;\n const config = {\n meta: item,\n options: {\n context,\n pageReference: pageReferenceValue,\n referenceList: referenceListData,\n hasForm: true\n }\n };\n const view = PCore.createPConnect(config);\n data.push(createElement(createPConnectComponent(), view));\n });\n eleData.push(data);\n });\n setElementsData(eleData);\n }\n\n const handleRequestSort = (event: React.MouseEvent<unknown>, property: keyof any) => {\n const isAsc = orderBy === property && order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const createSortHandler = (property: keyof any) => (event: React.MouseEvent<unknown>) => {\n handleRequestSort(event, property);\n };\n\n function descendingComparator<T>(a: T, b: T, orderedBy: keyof T) {\n if (b[orderedBy] < a[orderedBy]) {\n return -1;\n }\n if (b[orderedBy] > a[orderedBy]) {\n return 1;\n }\n return 0;\n }\n\n type Order = 'asc' | 'desc';\n\n function getComparator<Key extends keyof any>(\n theOrder: Order,\n orderedBy: Key\n // eslint-disable-next-line no-unused-vars\n ): (a: { [key in Key]: number | string }, b: { [key in Key]: number | string }) => number {\n return theOrder === 'desc'\n ? (a, b) => descendingComparator(a, b, orderedBy)\n : (a, b) => -descendingComparator(a, b, orderedBy);\n }\n\n // eslint-disable-next-line no-unused-vars\n function stableSort<T>(array: Array<T>, comparator: (a: T, b: T) => number) {\n const stabilizedThis = array.map((el, index) => [el, index] as [T, number]);\n stabilizedThis.sort((a, b) => {\n // eslint-disable-next-line @typescript-eslint/no-shadow, no-shadow\n const order = comparator(a[0], b[0]);\n if (order !== 0) return order;\n return a[1] - b[1];\n });\n\n return stabilizedThis.map(el => el[0]);\n }\n\n function _menuClick(event, columnId: string, columnType: string, labelValue: string) {\n menuColumnId = columnId;\n menuColumnType = columnType;\n menuColumnLabel = labelValue;\n\n setAnchorEl(event.currentTarget);\n }\n\n function _menuClose() {\n setAnchorEl(null);\n }\n\n function _filterMenu() {\n setAnchorEl(null);\n\n let bFound = false;\n\n for (const filterObj of filterByColumns) {\n if (filterObj.ref === menuColumnId) {\n setFilterBy(menuColumnLabel);\n if (\n filterObj.type === 'Date' ||\n filterObj.type === 'DateTime' ||\n filterObj.type === 'Time'\n ) {\n setContainsDateOrTime(true);\n setFilterType(filterObj.type);\n setDisplayDialogDateFilter(filterObj.containsFilter);\n setDisplayDialogDateValue(filterObj.containsFilterValue);\n } else {\n setContainsDateOrTime(false);\n setFilterType('string');\n setDisplayDialogContainsFilter(filterObj.containsFilter);\n setDisplayDialogContainsValue(filterObj.containsFilterValue);\n }\n bFound = true;\n break;\n }\n }\n\n if (!bFound) {\n setFilterBy(menuColumnLabel);\n setDisplayDialogFilterName(menuColumnId);\n setDisplayDialogContainsValue('');\n\n switch (menuColumnType) {\n case 'Date':\n case 'DateTime':\n case 'Time':\n setContainsDateOrTime(true);\n setFilterType(menuColumnType);\n break;\n default:\n setContainsDateOrTime(false);\n setFilterType('string');\n break;\n }\n }\n\n // open dialog\n setOpen(true);\n }\n\n function _groupMenu() {}\n\n function _closeDialog() {\n setOpen(false);\n }\n\n function _dialogContainsFilter(event) {\n setDisplayDialogContainsFilter(event.target.value);\n }\n\n function _dialogContainsValue(event) {\n setDisplayDialogContainsValue(event.target.value);\n }\n\n function _dialogDateFilter(event) {\n setDisplayDialogDateFilter(event.target.value);\n }\n\n function _dialogDateValue(event) {\n setDisplayDialogDateValue(event.target.value);\n }\n\n function filterSortGroupBy() {\n // get original data set\n let theData: any = myRows.slice();\n\n // last filter config data is global\n theData = theData.filter(filterData(filterByColumns));\n\n // move data to array and then sort\n setRowData(theData);\n }\n\n function updateFilterWithInfo() {\n let bFound = false;\n for (const filterObj of filterByColumns) {\n if (filterObj['ref'] === menuColumnId) {\n filterObj['type'] = filterType;\n if (containsDateOrTime) {\n filterObj['containsFilter'] = displayDialogDateFilter;\n filterObj['containsFilterValue'] = displayDialogDateValue;\n } else {\n filterObj['containsFilter'] = displayDialogContainsFilter;\n filterObj['containsFilterValue'] = displayDialogContainsValue;\n }\n bFound = true;\n break;\n }\n }\n\n if (!bFound) {\n // add in\n const filterObj: any = {};\n filterObj.ref = menuColumnId;\n filterObj['type'] = filterType;\n if (containsDateOrTime) {\n filterObj['containsFilter'] = displayDialogDateFilter;\n filterObj['containsFilterValue'] = displayDialogDateValue;\n } else {\n filterObj['containsFilter'] = displayDialogContainsFilter;\n filterObj['containsFilterValue'] = displayDialogContainsValue;\n }\n\n filterByColumns.push(filterObj);\n }\n }\n\n function _submitFilter() {\n updateFilterWithInfo();\n filterSortGroupBy();\n\n setOpen(false);\n }\n\n function _showFilteredIcon(columnId) {\n for (const filterObj of filterByColumns) {\n if (filterObj['ref'] === columnId) {\n // eslint-disable-next-line sonarjs/prefer-single-boolean-return\n if (filterObj['containsFilterValue'] !== '') {\n return true;\n }\n return false;\n }\n }\n\n return false;\n }\n\n function results() {\n const len = editableMode ? elements.length : rowData.length;\n\n return len ? (\n <span style={{ fontSize: '0.9em', opacity: '0.7' }}>\n {len} result{len > 1 ? 's' : ''}\n </span>\n ) : null;\n }\n\n return (\n <React.Fragment>\n <TableContainer component={Paper} style={{ margin: '4px 0px' }} id=\"simple-table-manual\">\n {propsToUse.label && (\n <h3 className={classes.label}>\n {propsToUse.label} {results()}\n </h3>\n )}\n <Table>\n <TableHead className={classes.header}>\n <TableRow>\n {fieldDefs.map((field: any, index) => {\n return (\n <TableCell key={`head-${displayedColumns[index]}`} className={classes.tableCell}>\n {readOnlyMode ? (\n <div>\n <TableSortLabel\n active={orderBy === displayedColumns[index]}\n direction={orderBy === displayedColumns[index] ? order : 'asc'}\n onClick={createSortHandler(displayedColumns[index])}\n >\n {field.label}\n {_showFilteredIcon(field.name) && (\n <FilterListIcon className={classes.moreIcon} />\n )}\n {orderBy === displayedColumns[index] ? (\n <span className={classes.visuallyHidden}>\n {order === 'desc' ? 'sorted descending' : 'sorted ascending'}\n </span>\n ) : null}\n </TableSortLabel>\n <MoreIcon\n id='menu-icon'\n className={classes.moreIcon}\n onClick={event => {\n _menuClick(event, field.name, field.meta.type, field.label);\n }}\n />\n </div>\n ) : (\n field.label\n )}\n </TableCell>\n );\n })}\n </TableRow>\n </TableHead>\n <TableBody>\n {editableMode &&\n elements.map((row: any, index) => {\n const theKey = `row-${index}`;\n return (\n <TableRow key={theKey}>\n {row.map((item, childIndex) => {\n const theColKey = `data-${index}-${childIndex}`;\n return (\n <TableCell key={theColKey} className={classes.tableCell}>\n {item}\n </TableCell>\n );\n })}\n {showDeleteButton && (\n <TableCell>\n <button\n type='button'\n className='psdk-utility-button'\n id='delete-button'\n onClick={() => deleteRecord(index)}\n >\n <img\n className='psdk-utility-card-action-svg-icon'\n src={menuIconOverride$}\n ></img>\n </button>\n </TableCell>\n )}\n </TableRow>\n );\n })}\n {readOnlyMode &&\n rowData &&\n rowData.length > 0 &&\n stableSort(rowData, getComparator(order, orderBy))\n .slice(0)\n .map(row => {\n return (\n <TableRow key={row[displayedColumns[0]]}>\n {displayedColumns.map(colKey => {\n return (\n <TableCell key={colKey} className={classes.tableCell}>\n {typeof row[colKey] === 'boolean' && !row[colKey]\n ? 'False'\n : typeof row[colKey] === 'boolean' && row[colKey]\n ? 'True'\n : row[colKey]}\n </TableCell>\n );\n })}\n </TableRow>\n );\n })}\n </TableBody>\n </Table>\n {readOnlyMode && rowData && rowData.length === 0 && (\n <div className='no-records' id='no-records'>\n No records found.\n </div>\n )}\n {editableMode && referenceList && referenceList.length === 0 && (\n <div className='no-records' id='no-records'>\n No records found.\n </div>\n )}\n </TableContainer>\n {showAddRowButton && (\n <div style={{ fontSize: '1rem' }}>\n <Link style={{ cursor: 'pointer' }} onClick={addRecord}>\n + Add\n </Link>\n </div>\n )}\n <Menu\n id='simple-menu'\n anchorEl={anchorEl}\n keepMounted\n open={Boolean(anchorEl)}\n onClose={_menuClose}\n >\n <MenuItem onClick={_filterMenu}>\n <FilterListIcon /> Filter\n </MenuItem>\n <MenuItem onClick={_groupMenu}>\n <SubjectIcon /> Group\n </MenuItem>\n </Menu>\n <Dialog open={open} onClose={_closeDialog} aria-labelledby='form-dialog-title'>\n <DialogTitle id='form-dialog-title'>Filter: {filterBy}</DialogTitle>\n <DialogContent>\n {containsDateOrTime ? (\n <>\n <Select value={displayDialogDateFilter} onChange={_dialogDateFilter} fullWidth>\n <MenuItem value='notequal'>is not equal to</MenuItem>\n <MenuItem value='equal'>is equal to</MenuItem>\n <MenuItem value='after'>after</MenuItem>\n <MenuItem value='before'>before</MenuItem>\n <MenuItem value='null'>is null</MenuItem>\n <MenuItem value='notnull'>is not null</MenuItem>\n </Select>\n {filterType === 'Date' && (\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='date'\n fullWidth\n value={displayDialogDateValue}\n onChange={_dialogDateValue}\n />\n )}\n {filterType === 'DateTime' && (\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='datetime-local'\n fullWidth\n value={displayDialogDateValue}\n onChange={_dialogDateValue}\n />\n )}\n {filterType === 'Time' && (\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='time'\n fullWidth\n value={displayDialogDateValue}\n onChange={_dialogDateValue}\n />\n )}\n </>\n ) : (\n <>\n <Select\n id='filter'\n fullWidth\n onChange={_dialogContainsFilter}\n value={displayDialogContainsFilter}\n >\n <MenuItem value='contains'>Contains</MenuItem>\n <MenuItem value='equals'>Equals</MenuItem>\n <MenuItem value='startswith'>Starts with</MenuItem>\n </Select>\n <TextField\n autoFocus\n margin='dense'\n id='containsFilter'\n type='text'\n fullWidth\n value={displayDialogContainsValue}\n onChange={_dialogContainsValue}\n />\n </>\n )}\n </DialogContent>\n <DialogActions>\n <Button onClick={_closeDialog} color='secondary'>\n Cancel\n </Button>\n <Button onClick={_submitFilter} color='primary'>\n Submit\n </Button>\n </DialogActions>\n </Dialog>\n </React.Fragment>\n );\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableManual/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableManual/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["export { default } from './SimpleTableManual';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleTableSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAYnC;;;GAGG;AACH,iBAAwB,iBAAiB,CAAC,KAAK,KAAA,eAwF9C;kBAxFuB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;eAAjB,iBAAiB"}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from "react";
|
|
3
|
-
import ListView from '../../ListView';
|
|
4
|
-
import SimpleTable from '../SimpleTable';
|
|
5
|
-
import PromotedFilters from '../../PromotedFilters';
|
|
6
|
-
const isSelfReferencedProperty = (param, referenceProp) => {
|
|
7
|
-
const [, parentPropName] = param.split('.');
|
|
8
|
-
return parentPropName === referenceProp;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* SimpleTable react component
|
|
12
|
-
* @param {*} props - props
|
|
13
|
-
*/
|
|
14
|
-
export default function SimpleTableSelect(props) {
|
|
15
|
-
const { label, getPConnect, renderMode, showLabel, viewName, parameters, dataRelationshipContext } = props;
|
|
16
|
-
const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };
|
|
17
|
-
if (propsToUse.showLabel === false) {
|
|
18
|
-
propsToUse.label = '';
|
|
19
|
-
}
|
|
20
|
-
const pConn = getPConnect();
|
|
21
|
-
const { MULTI } = PCore.getConstants().LIST_SELECTION_MODE;
|
|
22
|
-
const { selectionMode, selectionList } = pConn.getConfigProps();
|
|
23
|
-
const isMultiSelectMode = selectionMode === MULTI;
|
|
24
|
-
if (isMultiSelectMode && renderMode === 'ReadOnly') {
|
|
25
|
-
return React.createElement(SimpleTable, { ...props, showLabel: propsToUse.showLabel });
|
|
26
|
-
}
|
|
27
|
-
const pageReference = pConn.getPageReference();
|
|
28
|
-
let referenceProp = isMultiSelectMode ? selectionList.substring(1) : pageReference.substring(pageReference.lastIndexOf('.') + 1);
|
|
29
|
-
// Replace here to use the context name instead
|
|
30
|
-
let contextPageReference = null;
|
|
31
|
-
if (props.dataRelationshipContext !== null && selectionMode === 'single') {
|
|
32
|
-
referenceProp = dataRelationshipContext;
|
|
33
|
-
contextPageReference = pageReference.concat('.').concat(referenceProp);
|
|
34
|
-
}
|
|
35
|
-
const { datasource: { parameters: fieldParameters = {} } = {}, pageClass } = isMultiSelectMode
|
|
36
|
-
? pConn.getFieldMetadata(`@P .${referenceProp}`)
|
|
37
|
-
: pConn.getCurrentPageFieldMetadata(contextPageReference);
|
|
38
|
-
const compositeKeys = [];
|
|
39
|
-
Object.values(fieldParameters).forEach((param) => {
|
|
40
|
-
if (isSelfReferencedProperty(param, referenceProp)) {
|
|
41
|
-
compositeKeys.push(param.substring(param.lastIndexOf('.') + 1));
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
// setting default row height for select table
|
|
45
|
-
const defaultRowHeight = '2';
|
|
46
|
-
const additionalTableConfig = {
|
|
47
|
-
rowDensity: false,
|
|
48
|
-
enableFreezeColumns: false,
|
|
49
|
-
autoSizeColumns: false,
|
|
50
|
-
resetColumnWidths: false,
|
|
51
|
-
defaultFieldDef: {
|
|
52
|
-
showMenu: false,
|
|
53
|
-
noContextMenu: true,
|
|
54
|
-
grouping: false
|
|
55
|
-
},
|
|
56
|
-
itemKey: '$key',
|
|
57
|
-
defaultRowHeight
|
|
58
|
-
};
|
|
59
|
-
const listViewProps = {
|
|
60
|
-
...props,
|
|
61
|
-
title: propsToUse.label,
|
|
62
|
-
personalization: false,
|
|
63
|
-
grouping: false,
|
|
64
|
-
expandGroups: false,
|
|
65
|
-
reorderFields: false,
|
|
66
|
-
showHeaderIcons: false,
|
|
67
|
-
editing: false,
|
|
68
|
-
globalSearch: true,
|
|
69
|
-
toggleFieldVisibility: false,
|
|
70
|
-
basicMode: true,
|
|
71
|
-
additionalTableConfig,
|
|
72
|
-
compositeKeys,
|
|
73
|
-
viewName,
|
|
74
|
-
parameters
|
|
75
|
-
};
|
|
76
|
-
const filters = getPConnect().getRawMetadata().config.promotedFilters ?? [];
|
|
77
|
-
const isSearchable = filters.length > 0;
|
|
78
|
-
if (isSearchable) {
|
|
79
|
-
return (React.createElement(PromotedFilters, { getPConnect: getPConnect, viewName: viewName, filters: filters, listViewProps: listViewProps, pageClass: pageClass }));
|
|
80
|
-
}
|
|
81
|
-
return React.createElement(ListView, { ...listViewProps });
|
|
82
|
-
}
|
|
83
|
-
SimpleTableSelect.defaultProps = {
|
|
84
|
-
label: undefined,
|
|
85
|
-
renderMode: '',
|
|
86
|
-
showLabel: true,
|
|
87
|
-
promptedFilters: [],
|
|
88
|
-
viewName: '',
|
|
89
|
-
parameters: undefined,
|
|
90
|
-
readonlyContextList: [],
|
|
91
|
-
dataRelationshipContext: null
|
|
92
|
-
};
|
|
93
|
-
SimpleTableSelect.propTypes = {
|
|
94
|
-
label: PropTypes.string,
|
|
95
|
-
getPConnect: PropTypes.func.isRequired,
|
|
96
|
-
referenceList: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.string]).isRequired,
|
|
97
|
-
renderMode: PropTypes.string,
|
|
98
|
-
showLabel: PropTypes.bool,
|
|
99
|
-
promptedFilters: PropTypes.arrayOf(PropTypes.object),
|
|
100
|
-
viewName: PropTypes.string,
|
|
101
|
-
parameters: PropTypes.objectOf(PropTypes.any),
|
|
102
|
-
readonlyContextList: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.string]),
|
|
103
|
-
dataRelationshipContext: PropTypes.string
|
|
104
|
-
};
|
|
105
|
-
//# sourceMappingURL=SimpleTableSelect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleTableSelect.js","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,WAAW,MAAM,gBAAg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AC,MAAM,CAAC,CAAC,CAAC,UAAU;IACtG,UAAU,EAAE,SAAS,CAAC,MAAM;IAC5B,SAAS,EAAE,SAAS,CAAC,IAAI;IACzB,eAAe,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC;IACpD,QAAQ,EAAE,SAAS,CAAC,MAAM;IAC1B,UAAU,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC;IAC7C,mBAAmB,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACjG,uBAAuB,EAAE,SAAS,CAAC,MAAM;CAC1C,CAAC","sourcesContent":["import PropTypes from 'prop-types';\nimport React from \"react\";\nimport ListView from '../../ListView';\nimport SimpleTable from '../SimpleTable';\n\nimport PromotedFilters from '../../PromotedFilters';\n\nconst isSelfReferencedProperty = (param, referenceProp) => {\n const [, parentPropName] = param.split('.');\n return parentPropName === referenceProp;\n};\ndeclare const PCore;\n/**\n * SimpleTable react component\n * @param {*} props - props\n */\nexport default function SimpleTableSelect(props) {\n const { label, getPConnect, renderMode, showLabel, viewName, parameters, dataRelationshipContext } = props;\n\n const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };\n if (propsToUse.showLabel === false) {\n propsToUse.label = '';\n }\n\n const pConn = getPConnect();\n const { MULTI } = PCore.getConstants().LIST_SELECTION_MODE;\n const { selectionMode, selectionList } = pConn.getConfigProps();\n const isMultiSelectMode = selectionMode === MULTI;\n\n if (isMultiSelectMode && renderMode === 'ReadOnly') {\n return <SimpleTable {...props} showLabel={propsToUse.showLabel} />;\n }\n\n const pageReference = pConn.getPageReference();\n let referenceProp = isMultiSelectMode ? selectionList.substring(1) : pageReference.substring(pageReference.lastIndexOf('.') + 1);\n // Replace here to use the context name instead\n let contextPageReference = null;\n if (props.dataRelationshipContext !== null && selectionMode === 'single') {\n referenceProp = dataRelationshipContext;\n contextPageReference = pageReference.concat('.').concat(referenceProp);\n }\n\n const { datasource: { parameters: fieldParameters = {} } = {}, pageClass } = isMultiSelectMode\n ? pConn.getFieldMetadata(`@P .${referenceProp}`)\n : pConn.getCurrentPageFieldMetadata(contextPageReference);\n\n const compositeKeys: Array<any> = [];\n Object.values(fieldParameters).forEach((param: any) => {\n if (isSelfReferencedProperty(param, referenceProp)) {\n compositeKeys.push(param.substring(param.lastIndexOf('.') + 1));\n }\n });\n\n // setting default row height for select table\n const defaultRowHeight = '2';\n\n const additionalTableConfig = {\n rowDensity: false,\n enableFreezeColumns: false,\n autoSizeColumns: false,\n resetColumnWidths: false,\n defaultFieldDef: {\n showMenu: false,\n noContextMenu: true,\n grouping: false\n },\n itemKey: '$key',\n defaultRowHeight\n };\n\n const listViewProps = {\n ...props,\n title: propsToUse.label,\n personalization: false,\n grouping: false,\n expandGroups: false,\n reorderFields: false,\n showHeaderIcons: false,\n editing: false,\n globalSearch: true,\n toggleFieldVisibility: false,\n basicMode: true,\n additionalTableConfig,\n compositeKeys,\n viewName,\n parameters\n };\n\n const filters = getPConnect().getRawMetadata().config.promotedFilters ?? [];\n\n const isSearchable = filters.length > 0;\n\n if (isSearchable) {\n return (\n <PromotedFilters\n getPConnect={getPConnect}\n viewName={viewName}\n filters={filters}\n listViewProps={listViewProps}\n pageClass={pageClass}\n />\n );\n }\n return <ListView {...listViewProps} />;\n}\n\nSimpleTableSelect.defaultProps = {\n label: undefined,\n renderMode: '',\n showLabel: true,\n promptedFilters: [],\n viewName: '',\n parameters: undefined,\n readonlyContextList: [],\n dataRelationshipContext: null\n};\n\nSimpleTableSelect.propTypes = {\n label: PropTypes.string,\n getPConnect: PropTypes.func.isRequired,\n referenceList: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.string]).isRequired,\n renderMode: PropTypes.string,\n showLabel: PropTypes.bool,\n promptedFilters: PropTypes.arrayOf(PropTypes.object),\n viewName: PropTypes.string,\n parameters: PropTypes.objectOf(PropTypes.any),\n readonlyContextList: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.string]),\n dataRelationshipContext: PropTypes.string\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/SimpleTable/SimpleTableSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["export { default } from './SimpleTableSelect';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"simpleTableHelpers.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SimpleTable/simpleTableHelpers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,gBAAgB,CAAC;AACxC,eAAO,MAAM,WAAW,eAAe,CAAC;AAwCxC,eAAO,MAAM,UAAU;;;;CAmBtB,CAAC;AAEF,eAAO,MAAM,cAAc,uBAI1B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;CAwBzB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyChC,CAAC;AAEF,eAAO,MAAM,mBAAmB,gEAmC/B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;CAuB9B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,0CAE7B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,mEAY1B,CAAC;AAEF,eAAO,MAAM,UAAU,kDA+HtB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"simpleTableHelpers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AC,EAAE;oCACpC,KAAK,GAAG,KAAK,CAAC;iCACf;gCACD,MAAM;4BAER;gCACE,MAAM;yBACT;wBAED,MAAM;iBACT;aACF;YAED,+BAA+B;YAC/B,IAAI,CAAC,KAAK,EAAE;gBACV,MAAM;aACP;SACF;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAA;AACH,CAAC,CAAA","sourcesContent":["import { Utils } from '../../helpers/utils';\n\ndeclare const PCore;\n\nexport const TABLE_CELL = \"SdkRenderer\";\nexport const DELETE_ICON = \"DeleteIcon\";\n\n// BUG-615253: Workaround for autosize in table with lazy loading components\n/* istanbul ignore next */\nfunction getFieldWidth(field, label) {\n let width;\n switch (field.type) {\n case \"Time\":\n width = 150;\n break;\n case \"Date\":\n width = 160;\n break;\n case \"DateTime\":\n width = 205;\n break;\n case \"AutoComplete\":\n case \"TextArea\":\n width = 190;\n break;\n case \"Currency\":\n case \"TextInput\":\n width = 182;\n break;\n case \"Checkbox\":\n // eslint-disable-next-line no-case-declarations\n const text = document.createElement(\"span\");\n document.body.appendChild(text);\n text.style.fontSize = \"13px\";\n text.style.position = \"absolute\";\n text.innerHTML = label;\n width = Math.ceil(text.clientWidth) + 30;\n document.body.removeChild(text);\n break;\n default:\n width = 180;\n }\n return width;\n}\n\nexport const getContext = (thePConn) => {\n const contextName = thePConn.getContextName();\n const pageReference = thePConn.getPageReference();\n let { referenceList } = thePConn.getStateProps().config;\n const pageReferenceForRows = referenceList.startsWith(\".\")\n ? `${pageReference}.${referenceList.substring(1)}`\n : referenceList;\n\n // removing \"caseInfo.content\" prefix to avoid setting it as a target while preparing pageInstructions\n referenceList = pageReferenceForRows.replace(\n PCore.getConstants().CASE_INFO.CASE_INFO_CONTENT,\n \"\"\n );\n\n return {\n contextName,\n referenceListStr: referenceList,\n pageReferenceForRows\n };\n};\n\nexport const populateRowKey = (rawData) => {\n return rawData.map((row, index) => {\n return { ...row, index };\n });\n};\n\nexport const getApiContext = (processedData, pConnect, reorderCB) => {\n return {\n fetchData: () => {\n return new Promise((resolve) => {\n resolve({\n data: processedData,\n filteredRecordCount: processedData.length,\n totalRecordCount: processedData.length\n });\n });\n },\n fetchPersonalizations: () => {\n return Promise.resolve({});\n },\n applyRowReorder: (sourceKey, destinationKey) => {\n // indexes are keys for simple table so, it should work.\n reorderCB();\n return Promise.resolve(\n pConnect\n .getListActions()\n .reorder(parseInt(sourceKey, 10), parseInt(destinationKey, 10))\n );\n }\n };\n};\n\nexport const buildMetaForListView = (\n fieldMetadata,\n fields,\n type,\n ruleClass,\n name,\n propertyLabel,\n parameters\n) => {\n return {\n name,\n config: {\n type,\n referenceList: fieldMetadata.datasource.name,\n parameters: parameters ?? fieldMetadata.datasource.parameters,\n personalization: false,\n grouping: true,\n globalSearch: true,\n reorderFields: true,\n toggleFieldVisibility: true,\n personalizationId: \"\" /* TODO */,\n template: \"ListView\",\n presets: [\n {\n name: \"presets\",\n template: \"Table\",\n config: {},\n children: [\n {\n name: \"Columns\",\n type: \"Region\",\n children: fields\n }\n ],\n label: propertyLabel,\n id: \"P_\" /* TODO */\n }\n ],\n ruleClass\n }\n };\n};\n\nexport const buildFieldsForTable = (configFields, fields, showDeleteButton) => {\n const fieldDefs = configFields.map((field, index) => {\n return {\n type: \"text\",\n label: fields[index].config.label || fields[index].config.caption,\n fillAvailableSpace: !!field.config.fillAvailableSpace,\n id: index,\n name: field.config.value.substr(4),\n cellRenderer: TABLE_CELL,\n sort: false,\n noContextMenu: true,\n showMenu: false,\n meta: {\n ...field\n },\n // BUG-615253: Workaround for autosize in table with lazy loading components\n width: getFieldWidth(field, fields[index].config.label)\n };\n });\n\n // ONLY add DELETE_ICON to fields when the table is requested as EDITABLE\n if (showDeleteButton) {\n fieldDefs.push({\n type: \"text\",\n id: fieldDefs.length,\n cellRenderer: DELETE_ICON,\n sort: false,\n noContextMenu: true,\n showMenu: false,\n // BUG-615253: Workaround for autosize in table with lazy loading components\n width: 46\n });\n }\n\n return fieldDefs;\n};\n\nexport const createMetaForTable = (fields, renderMode) => {\n return {\n height: {\n minHeight: \"auto\",\n fitHeightToElement: \"fitHeightToElement\",\n deltaAdjustment: \"deltaAdjustment\",\n autoSize: true\n },\n fieldDefs: fields,\n itemKey: \"index\",\n grouping: false,\n reorderFields: false,\n reorderItems: renderMode === \"Editable\",\n dragHandle: renderMode === \"Editable\",\n globalSearch: false,\n personalization: false,\n toggleFieldVisibility: false,\n toolbar: false,\n footer: false,\n filterExpression: null,\n editing: false,\n timezone: PCore.getEnvironmentInfo().getTimeZone()\n };\n};\n\n/**\n * This method returns a callBack function for Add action.\n * @param {object} pConnect - PConnect object\n * @param {number} index - index of the page list to add\n */\nexport const getAddRowCallback = (pConnect, index) => {\n return () => pConnect.getListActions().insert({}, index);\n};\n\n/**\n * This method creates a PConnect object with proper options for Add and Delete actions\n * @param {string} contextName - contextName\n * @param {string} referenceList - referenceList\n * @param {string} pageReference - pageReference\n */\nexport const createPConnect = (contextName, referenceList, pageReference) => {\n const options = {\n context: contextName,\n pageReference,\n referenceList\n };\n\n // create PConnect object\n const config = { meta: {}, options };\n const { getPConnect } = PCore.createPConnect(config);\n\n return getPConnect();\n};\n\nexport const filterData = (filterByColumns) => {\n return function filteringData(item) {\n let bKeep = true;\n for (const filterObj of filterByColumns) {\n if (\n filterObj.containsFilterValue !== '' ||\n filterObj.containsFilter === 'null' ||\n filterObj.containsFilter === 'notnull'\n ) {\n let value: any;\n let filterValue: any;\n\n switch (filterObj.type) {\n case 'Date':\n case 'DateTime':\n case 'Time':\n value =\n item[filterObj.ref] !== null ?? item[filterObj.ref] !== ''\n ? Utils.getSeconds(item[filterObj.ref])\n : null;\n filterValue =\n filterObj.containsFilterValue !== null && filterObj.containsFilterValue !== ''\n ? Utils.getSeconds(filterObj.containsFilterValue)\n : null;\n\n // eslint-disable-next-line sonarjs/no-nested-switch\n switch (filterObj.containsFilter) {\n case 'notequal':\n // becasue filterValue is in minutes, need to have a range of less than 60 secons\n\n if (value !== null && filterValue !== null) {\n // get rid of milliseconds\n value /= 1000;\n filterValue /= 1000;\n\n const diff = value - filterValue;\n if (diff >= 0 && diff < 60) {\n bKeep = false;\n }\n }\n\n break;\n\n case 'equal':\n // becasue filterValue is in minutes, need to have a range of less than 60 secons\n\n if (value !== null && filterValue !== null) {\n // get rid of milliseconds\n value /= 1000;\n filterValue /= 1000;\n\n const diff = value - filterValue;\n if (diff !== 0) {\n bKeep = false;\n }\n }\n\n break;\n\n case 'after':\n if (value < filterValue) {\n bKeep = false;\n }\n break;\n\n case 'before':\n if (value > filterValue) {\n bKeep = false;\n }\n break;\n\n case 'null':\n if (value !== null) {\n bKeep = false;\n }\n break;\n\n case 'notnull':\n if (value === null) {\n bKeep = false;\n }\n break;\n\n default:\n break;\n }\n break;\n\n default:\n value = item[filterObj.ref].toLowerCase();\n filterValue = filterObj.containsFilterValue.toLowerCase();\n\n // eslint-disable-next-line sonarjs/no-nested-switch\n switch (filterObj.containsFilter) {\n case 'contains':\n if (value.indexOf(filterValue) < 0) {\n bKeep = false;\n }\n break;\n\n case 'equals':\n if (value !== filterValue) {\n bKeep = false;\n }\n break;\n\n case 'startswith':\n if (value.indexOf(filterValue) !== 0) {\n bKeep = false;\n }\n break;\n\n default:\n break;\n }\n\n break;\n }\n }\n\n // if don't keep stop filtering\n if (!bKeep) {\n break;\n }\n }\n return bKeep;\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SingleReferenceReadOnly.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,iBAAwB,uBAAuB,CAAC,KAAK,KAAA,OAuCpD;kBAvCuB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;eAAvB,uBAAuB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SingleReferenceReadOnly.js","sourceRoot":"","sources":["../../../../src/components/templates/SingleRefer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IAChB,uBAAuB,EAAE,IAAI;CAC9B,CAAC;AAEF,uBAAuB,CAAC,SAAS,GAAG;IAClC,MAAM,EAAE,SAAS,CAAC,MAAM;IACxB,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;IACtC,SAAS,EAAE,SAAS,CAAC,MAAM;IAC3B,SAAS,EAAE,SAAS,CAAC,MAAM;IAC3B,KAAK,EAAE,SAAS,CAAC,MAAM;IACvB,WAAW,EAAE,SAAS,CAAC,MAAM;IAC7B,IAAI,EAAE,SAAS,CAAC,MAAM;IACtB,aAAa,EAAE,SAAS,CAAC,MAAM;IAC/B,SAAS,EAAE,SAAS,CAAC,IAAI;IACzB,uBAAuB,EAAE,SAAS,CAAC,MAAM;CAC1C,CAAC","sourcesContent":["import PropTypes from \"prop-types\";\n\nexport default function SingleReferenceReadOnly(props) {\n const {\n getPConnect,\n displayAs,\n ruleClass,\n label,\n type,\n displayMode,\n referenceType,\n hideLabel,\n dataRelationshipContext,\n config\n } = props;\n const editableComponents = [\"AutoComplete\", \"SimpleTableSelect\", \"Dropdown\"];\n\n if (editableComponents.includes(type)) {\n config.caseClass = ruleClass;\n config.text = config.primaryField;\n config.caseID = config.value;\n config.contextPage = `@P .${dataRelationshipContext}`;\n config.resourceParams = {\n \"workID\": displayAs === \"table\" ? config.selectionKey : config.value\n };\n config.resourcePayload = {\n \"caseClassName\": ruleClass\n };\n }\n\n return getPConnect().createComponent({\n type: 'SemanticLink',\n config: {\n ...config,\n label,\n displayMode,\n referenceType,\n hideLabel,\n dataRelationshipContext\n }\n });\n}\n\nSingleReferenceReadOnly.defaultProps = {\n displayAs: \"\",\n ruleClass: \"\",\n label: \"\",\n displayMode: \"\",\n type: \"\",\n referenceType: \"\",\n hideLabel: false,\n dataRelationshipContext: null\n};\n\nSingleReferenceReadOnly.propTypes = {\n config: PropTypes.object,\n getPConnect: PropTypes.func.isRequired,\n displayAs: PropTypes.string,\n ruleClass: PropTypes.string,\n label: PropTypes.string,\n displayMode: PropTypes.string,\n type: PropTypes.string,\n referenceType: PropTypes.string,\n hideLabel: PropTypes.bool,\n dataRelationshipContext: PropTypes.string\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SingleReferenceReadOnly/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/templates/SingleReferenceReadOnly/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["export { default } from './SingleReferenceReadOnly';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/SubTabs.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,iBAAwB,OAAO,CAAC,KAAK,KAAA,eAkDpC;kBAlDuB,OAAO;;;;;;;;eAAP,OAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubTabs.js","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/SubTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAExE,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK;IACnC,MAAM,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AAQ,IAAC,GAAG,EAAE,GAAG,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE;gBACrD,iCAAM,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,mBAAmB,CAAO,CACnD,CACZ,CAAC,CACS,CACJ,CACZ,CAAC;AACJ,CAAC;AAED,OAAO,CAAC,YAAY,GAAG;IACpB,QAAQ,EAAE,EAAE;CACd,CAAA;AAED,OAAO,CAAC,SAAS,GAAG;IACjB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC;CAC7C,CAAC","sourcesContent":["import React, { Fragment, useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Tab, Tabs } from \"@material-ui/core\";\nimport { TabContext, TabPanel } from '@material-ui/lab';\nimport { getTransientTabs, getVisibleTabs, tabClick } from './tabUtils';\n\nexport default function SubTabs(props) {\n const { children } = props;\n\n const defaultTabIndex = 0;\n const deferLoadedTabs = children[0];\n const availableTabs = getVisibleTabs(deferLoadedTabs, \"tabsSubs\");\n const [currentTabId, setCurrentTabId] = useState(defaultTabIndex.toString());\n\n const [tabItems, setTabitem] = useState<Array<any>>([]);\n useEffect(() => {\n const tempTabItems = getTransientTabs(\n availableTabs,\n currentTabId,\n tabItems\n );\n setTabitem(tempTabItems);\n }, [currentTabId]);\n\n\n const handleTabClick = (id, index: string) => {\n setCurrentTabId(index);\n tabClick(index, availableTabs, currentTabId, setCurrentTabId, tabItems);\n };\n\n return (\n <Fragment>\n <TabContext value={currentTabId.toString()}>\n <Tabs\n onChange={handleTabClick}\n value={currentTabId}\n variant=\"scrollable\"\n >\n {tabItems.map((tab:any) =>\n <Tab\n key={tab.id}\n label={tab.name}\n value={tab.id}\n />\n )}\n </Tabs>\n\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\nSubTabs.defaultProps = {\n children: []\n}\n\nSubTabs.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node)\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC","sourcesContent":["export { default } from './SubTabs';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tabUtils.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/tabUtils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,uBAKhC,CAAC;AAEF,eAAO,MAAM,cAAc,kCAoB1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,+DAuB5B,CAAC;AAEF,eAAO,MAAM,QAAQ,+FAepB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tabUtils.js","sourceRoot":"","sources":["../../../../src/components/templates/SubTabs/tabUtils.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,oBAAoB,GAAG,OAAO,CAAC,EAAE;IAC5C,OAAO,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QACvB,MAAM,gBAAgB,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE,CAAC;QAC5D,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC;IACzD,CAAC,CAAC,CAAC;AACL,CAAC,C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C,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC;KAC7E;IAED,MAAM,SAAS,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;IAClD,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,cAAc,EAAE,CAAC;IAC9D,KAAK,CAAC,mBAAmB,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC,CAAC;IAC5E,KAAK,CAAC,mBAAmB,EAAE,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC,CAAC;AACtF,CAAC,CAAC","sourcesContent":["\ndeclare const PCore;\n\nexport const getDeferFriendlyTabs = allTabs => {\n return allTabs.map(tab => {\n const theTabCompConfig = tab.getPConnect().getConfigProps();\n return { type: 'DeferLoad', config: theTabCompConfig };\n });\n};\n\nexport const getVisibleTabs = (allTabs, uuid) => {\n let index = 0;\n return allTabs.props\n .getPConnect()\n .getChildren()\n ?.filter(child => {\n // US-402838: Filter out tab entries if the config object does not contain the visibility attribute or it evaluates to the boolean true,\n const config = child.getPConnect().getConfigProps();\n\n // BUG-642335 - adding isChildDeferLoad prop\n if (child.getPConnect().getComponentName() === 'DeferLoad') {\n const { name: viewName, deferLoadId = `${viewName}_${uuid}_${index}` } = config;\n child.getPConnect().registerAdditionalProps({\n deferLoadId,\n isChildDeferLoad: true\n });\n }\n index += 1;\n return !('visibility' in config) || config.visibility === true;\n });\n};\n\nexport const getTransientTabs = (availableTabs, currentTabId, tabItems) => {\n return (\n availableTabs?.map((child, i) => {\n const config = child.getPConnect().getConfigProps();\n const tabLabel =\n config.label ||\n config.inheritedProps?.find(obj => obj.prop === 'label')?.value ||\n PCore.getLocaleUtils().getLocaleValue('No label specified in config', 'Generic');\n const tabContent = () => {\n if (i.toString() === currentTabId) {\n return tabItems?.[i.toString()]?.content\n ? tabItems?.[i.toString()]?.content\n : child.getPConnect().getComponent();\n }\n return tabItems?.[i.toString()]?.content;\n };\n return {\n name: tabLabel,\n id: i.toString(),\n content: tabContent()\n };\n }) || []\n );\n};\n\nexport const tabClick = (id, availableTabs, currentTabId, setCurrentTabId, tabItems) => {\n const currentPConn = availableTabs[currentTabId].getPConnect();\n const { deferLoadId } = currentPConn.getConfigProps();\n PCore.getDeferLoadManager().deactivate(deferLoadId, currentPConn.getContextName());\n\n setCurrentTabId(id);\n const index = parseInt(id, 10);\n if (tabItems[index]?.content === null) {\n tabItems[index].content = availableTabs[index].getPConnect().getComponent();\n }\n\n const nextPConn = availableTabs[id].getPConnect();\n const { deferLoadId: activeId } = nextPConn?.getConfigProps();\n PCore.getDeferLoadManager().activate(activeId, nextPConn?.getContextName());\n PCore.getDeferLoadManager().refreshComponent(activeId, nextPConn?.getContextName());\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwoColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumn/TwoColumn.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAYnC,iBAAwB,SAAS,CAAC,KAAK,KAAA,eAgCtC;kBAhCuB,SAAS;;;;;;;;;eAAT,SAAS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwoColumn.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumn/TwoColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAY,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC;IAClC,SAAS,EAAE;QACT,OAAO,EAAE,MAAM;QACf,GAAG,EAAE,MAAM;QACX,YAAY,EAAE,UAA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,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,IACvD,QAAQ,CAAC,CAAC,CAAC,CACP,CACF,CACR,CAAA;AACF,CAAC;AAED,SAAS,CAAC,SAAS,GAAG;IACpB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;IACtD,2BAA2B;IAC3B,WAAW,EAAE,SAAS,CAAC,MAAM;IAC7B,yBAAyB;CAC1B,CAAC;AAEF,SAAS,CAAC,YAAY,GAAG;IACvB,WAAW,EAAE,SAAS;IACtB,WAAW;CACZ,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Grid, GridSize } from \"@material-ui/core\";\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(() => ({\n colStyles: {\n display: \"grid\",\n gap: \"1rem\",\n alignContent: \"baseline\",\n },\n}));\n\nexport default function TwoColumn(props) {\n const classes = useStyles();\n\n const {children, templateCol} = props;\n\n if (children.length !== 2) {\n // eslint-disable-next-line no-console\n console.error( `TwoColumn template sees more than 2 columns: ${children.length}`);\n }\n\n // Calculate the size\n // Default to assume the 2 columns are evenly split. However, override if templateCol\n // (example value: \"1fr 1fr\")\n let aSize: GridSize = 6;\n let bSize: GridSize = 6;\n\n const colAArray = templateCol.replaceAll(/[a-z]+/g, \"\").split(/\\s/).map(itm => Number(itm));\n const totalCols = colAArray.reduce((v, itm) => itm + v, 0);\n const ratio = 12 / totalCols;\n aSize = (ratio * colAArray[0]) as GridSize;\n bSize = (ratio * colAArray[1]) as GridSize;\n\n return (\n <Grid container spacing={1}>\n <Grid item xs={12} md={aSize} className={classes.colStyles}>\n {children[0]}\n </Grid>\n <Grid item xs={12} md={bSize} className={classes.colStyles}>\n {children[1]}\n </Grid>\n </Grid>\n )\n}\n\nTwoColumn.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n // title: PropTypes.string,\n templateCol: PropTypes.string,\n // icon: PropTypes.string\n};\n\nTwoColumn.defaultProps = {\n templateCol: \"1fr 1fr\",\n // icon: \"\"\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumn/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC","sourcesContent":["export { default } from './TwoColumn';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwoColumnPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAQnC,iBAAwB,aAAa,CAAC,KAAK,KAAA,eAO1C;kBAPuB,aAAa;;;;;;eAAb,aAAa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwoColumnPage.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK;IAEzC,OAAO,CACL,oBAAC,SAAS,OACJ,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,aAAa,CAAC,SAAS,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;CACvD,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG,EAC5B,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport TwoColumn from '../TwoColumn/TwoColumn';\n\n/*\n * The wrapper handles knowing how to take in just children\n * and mapping to the TwoColumn template.\n */\nexport default function TwoColumnPage(props) {\n\n return (\n <TwoColumn\n {...props}\n />\n );\n}\n\nTwoColumnPage.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n};\n\nTwoColumnPage.defaultProps = {\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { default } from './TwoColumnPage';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwoColumnTab.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAYnC,iBAAwB,YAAY,CAAC,KAAK,KAAA,eAgCzC;kBAhCuB,YAAY;;;;;;;;;eAAZ,YAAY"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwoColumnTab.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAY,M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AAE,CAAC;QACxB,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,IACvD,QAAQ,CAAC,CAAC,CAAC,CACP;QACP,oBAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,IACvD,QAAQ,CAAC,CAAC,CAAC,CACP,CACF,CACR,CAAA;AACF,CAAC;AAED,YAAY,CAAC,SAAS,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;IACtD,WAAW,EAAE,SAAS,CAAC,MAAM;CAC9B,CAAC;AAEF,YAAY,CAAC,YAAY,GAAG;IAC1B,WAAW,EAAE,SAAS;CACvB,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Grid, GridSize } from \"@material-ui/core\";\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles(() => ({\n colStyles: {\n display: \"grid\",\n gap: \"1rem\",\n alignContent: \"baseline\",\n },\n}));\n\nexport default function TwoColumnTab(props) {\n const classes = useStyles();\n\n const {children, templateCol} = props;\n\n if (children.length !== 2) {\n // eslint-disable-next-line no-console\n console.error( `TwoColumn template sees more than 2 columns: ${children.length}`);\n }\n\n // Calculate the size\n // Default to assume the 2 columns are evenly split. However, override if templateCol\n // (example value: \"1fr 1fr\")\n let aSize: GridSize = 6;\n let bSize: GridSize = 6;\n\n const colAArray = templateCol.replaceAll(/[a-z]+/g, \"\").split(/\\s/).map(itm => Number(itm));\n const totalCols = colAArray.reduce((v, itm) => itm + v, 0);\n const ratio = 12 / totalCols;\n aSize = (ratio * colAArray[0]) as GridSize;\n bSize = (ratio * colAArray[1]) as GridSize;\n\n return (\n <Grid container spacing={1}>\n <Grid item xs={12} md={aSize} className={classes.colStyles}>\n {children[0]}\n </Grid>\n <Grid item xs={12} md={bSize} className={classes.colStyles}>\n {children[1]}\n </Grid>\n </Grid>\n )\n}\n\nTwoColumnTab.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n templateCol: PropTypes.string,\n};\n\nTwoColumnTab.defaultProps = {\n templateCol: \"1fr 1fr\",\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/TwoColumn/TwoColumnTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC","sourcesContent":["export { default } from './TwoColumnTab';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WideNarrow.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrow/WideNarrow.tsx"],"names":[],"mappings":";AAEA,OAAO,kBAAkB,CAAC;AAE1B,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,KAAA,eA8BvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WideNarrow.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrow/WideNarrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,kBAAkB,CAAC;AAE1B,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK;IACtC,kDAAkD;IAClD,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEjC,OAAO,CACL,oBAAC,KAAK,CAAC,QAAQ;QACd,QAAQ,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;YAChC,6BAAK,SAAS,EAAC,yBAAyB;gBACtC,6BAAK,SAAS,EAAC,yBAAyB,IACrC,QAAQ,CAAC,CAAC,CAAC,CACR;gBACN,6BAAK,SAAS,EAAC,2BAA2B,IACvC,QAAQ,CAAC,CAAC,CAAC,CACR,CACF;QAEP,CAAC,IAAI,CAAC;YACL,6BAAK,SAAS,EAAC,yBAAyB;gBACtC,6BAAK,SAAS,EAAC,yBAAyB,IACrC,CAAC,CACE;gBACN,6BAAK,SAAS,EAAC,2BAA2B,IACvC,CAAC,CACE,CACF,CAES,CAElB,CAAA;AAEH,CAAC","sourcesContent":["import React from \"react\";\n\nimport './WideNarrow.css';\n\nexport default function WideNarrow(props) {\n // const {a, b /*, cols, icon, title */ } = props;\n const { a, b, children } = props;\n\n return (\n <React.Fragment>\n {children && children.length === 2 &&\n <div className=\"psdk-wide-narrow-column\">\n <div className=\"psdk-wide-column-column\">\n {children[0]}\n </div>\n <div className=\"psdk-narrow-column-column\">\n {children[1]}\n </div>\n </div>\n }\n {a && b &&\n <div className=\"psdk-wide-narrow-column\">\n <div className=\"psdk-wide-column-column\">\n {a}\n </div>\n <div className=\"psdk-narrow-column-column\">\n {b}\n </div>\n </div>\n }\n </React.Fragment>\n\n )\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC","sourcesContent":["export { default } from './WideNarrow';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WideNarrowDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.tsx"],"names":[],"mappings":";AAKA,iBAAwB,iBAAiB,CAAC,KAAK,KAAA,eAyC9C;kBAzCuB,iBAAiB;;;eAAjB,iBAAiB"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
// import PropTypes from "prop-types";
|
|
3
|
-
// import Grid from '@material-ui/core/Grid';
|
|
4
|
-
import DetailsFields from '../../../designSystemExtensions/DetailsFields';
|
|
5
|
-
export default function WideNarrowDetails(props) {
|
|
6
|
-
const { a, b, children } = props;
|
|
7
|
-
const arFields = [];
|
|
8
|
-
for (const child of children) {
|
|
9
|
-
const theChildPConn = child.props.getPConnect();
|
|
10
|
-
const theChildrenOfChild = theChildPConn.getChildren();
|
|
11
|
-
arFields.push(theChildrenOfChild);
|
|
12
|
-
}
|
|
13
|
-
if (arFields.length !== 2) {
|
|
14
|
-
// eslint-disable-next-line no-console
|
|
15
|
-
console.error(`WideNarrowDetails expects 2 children and received ${arFields.length}`);
|
|
16
|
-
}
|
|
17
|
-
return (React.createElement(React.Fragment, null,
|
|
18
|
-
children && children.length === 2 &&
|
|
19
|
-
React.createElement("div", { className: "psdk-wide-narrow-column" },
|
|
20
|
-
React.createElement("div", { className: "psdk-wide-column-column" },
|
|
21
|
-
React.createElement(DetailsFields, { fields: arFields[0] })),
|
|
22
|
-
React.createElement("div", { className: "psdk-narrow-column-column" },
|
|
23
|
-
React.createElement(DetailsFields, { fields: arFields[1] }))),
|
|
24
|
-
a && b &&
|
|
25
|
-
React.createElement("div", { className: "psdk-wide-narrow-column" },
|
|
26
|
-
React.createElement("div", { className: "psdk-wide-column-column" }, a),
|
|
27
|
-
React.createElement("div", { className: "psdk-narrow-column-column" }, b))));
|
|
28
|
-
}
|
|
29
|
-
WideNarrowDetails.propTypes = {
|
|
30
|
-
// showLabel: PropTypes.bool,
|
|
31
|
-
// label: PropTypes.string,
|
|
32
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
33
|
-
// template: PropTypes.string.isRequired
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=WideNarrowDetails.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WideNarrowDetails.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,sCAAsC;AACtC,6CAA6C;AAC7C,OAAO,aAAa,MAAM,+CAA+C,CAAC;AAE1E,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK;IAC7C,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,QAAQ,GAAe,EAAE,CAAC;IAEhC,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC5B,MAAM,aAAa,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAChD,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,qDAAqD,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;KACvF;IAGD,OAAO,CACL,oBAAC,KAAK,CAAC,QAAQ;QACd,QAAQ,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;YAChC,6BAAK,SAAS,EAAC,yBAAyB;gBACtC,6BAAK,SAAS,EAAC,yBAAyB;oBACtC,oBAAC,aAAa,IAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAI,CAClC;gBACN,6BAAK,SAAS,EAAC,2BAA2B;oBACxC,oBAAC,aAAa,IAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAI,CAClC,CACF;QAEP,CAAC,IAAI,CAAC;YACL,6BAAK,SAAS,EAAC,yBAAyB;gBACtC,6BAAK,SAAS,EAAC,yBAAyB,IACrC,CAAC,CACE;gBACN,6BAAK,SAAS,EAAC,2BAA2B,IACvC,CAAC,CACE,CACF,CAES,CAClB,CAAA;AAEH,CAAC;AAED,iBAAiB,CAAC,SAAS,GAAG;AAC5B,6BAA6B;AAC7B,2BAA2B;AAC3B,0CAA0C;AAC1C,wCAAwC;CACzC,CAAC","sourcesContent":["import React from \"react\";\n// import PropTypes from \"prop-types\";\n// import Grid from '@material-ui/core/Grid';\nimport DetailsFields from '../../../designSystemExtensions/DetailsFields';\n\nexport default function WideNarrowDetails(props) {\n const { a, b, children } = props;\n const arFields: Array<any> = [];\n\n for (const child of children) {\n const theChildPConn = child.props.getPConnect();\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(`WideNarrowDetails expects 2 children and received ${arFields.length}`);\n }\n\n\n return (\n <React.Fragment>\n {children && children.length === 2 &&\n <div className=\"psdk-wide-narrow-column\">\n <div className=\"psdk-wide-column-column\">\n <DetailsFields fields={arFields[0]} />\n </div>\n <div className=\"psdk-narrow-column-column\">\n <DetailsFields fields={arFields[1]} />\n </div>\n </div>\n }\n {a && b &&\n <div className=\"psdk-wide-narrow-column\">\n <div className=\"psdk-wide-column-column\">\n {a}\n </div>\n <div className=\"psdk-narrow-column-column\">\n {b}\n </div>\n </div>\n }\n </React.Fragment>\n )\n\n}\n\nWideNarrowDetails.propTypes = {\n // showLabel: PropTypes.bool,\n // label: PropTypes.string,\n // getPConnect: PropTypes.func.isRequired,\n // template: PropTypes.string.isRequired\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowDetails/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowDetails/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["export { default } from './WideNarrowDetails';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WideNarrowForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.tsx"],"names":[],"mappings":";AAEA,OAAO,sBAAsB,CAAC;AAE9B,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,KAAA,eAmB3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WideNarrowForm.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,sBAAsB,CAAC;AAE9B,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK;IAC1C,MAAM,EAAC,QAAQ,EAAC,GAAG,KAAK,CAAC;IAEzB,OAAO,CACL,oBAAC,KAAK,CAAC,QAAQ,QACd,QAAQ,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAChC,6BAAK,SAAS,EAAC,yBAAyB;YACtC,6BAAK,SAAS,EAAC,yBAAyB,IACrC,QAAQ,CAAC,CAAC,CAAC,CACR;YACN,6BAAK,SAAS,EAAC,2BAA2B,IACvC,QAAQ,CAAC,CAAC,CAAC,CACR,CACF,CAES,CAElB,CAAA;AAEH,CAAC","sourcesContent":["import React from \"react\";\n\nimport './WideNarrowForm.css';\n\nexport default function WideNarrowForm(props) {\n const {children} = props;\n\n return (\n <React.Fragment>\n {children && children.length === 2 &&\n <div className=\"psdk-wide-narrow-column\">\n <div className=\"psdk-wide-column-column\">\n {children[0]}\n </div>\n <div className=\"psdk-narrow-column-column\">\n {children[1]}\n </div>\n </div>\n }\n </React.Fragment>\n\n )\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["export { default } from './WideNarrowForm';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WideNarrowPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AASnC,iBAAwB,cAAc,CAAC,KAAK,KAAA,eAe3C;kBAfuB,cAAc;;;;;;;;;;;;eAAd,cAAc"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WideNarrowPage.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,wEAAwE;AACxE,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK;IAC1C,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACrD,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE9C,OAAO,CACL;QACA,oBAAC,UAAU,IACP,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAChB,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,WAAW,EACjB,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,GACjC,CACE,CACP,CAAC;AACJ,CAAC;AAED,cAAc,CAAC,SAAS,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU;IACtD,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;IAClC,WAAW,EAAE,SAAS,CAAC,MAAM;IAC7B,IAAI,EAAE,SAAS,CAAC,MAAM;CACvB,CAAC;AAEF,cAAc,CAAC,YAAY,GAAG;IAC5B,WAAW,EAAE,SAAS;IACtB,IAAI,EAAE,EAAE;CACT,CAAC","sourcesContent":["import React, { Children } from \"react\";\nimport PropTypes from \"prop-types\";\n\n// import { TwoColumnPage as TwoColumn } from \"@pega/cosmos-react-core\";\nimport WideNarrow from '../WideNarrow/WideNarrow';\n\n/*\n * The wrapper handles knowing how to take in just children and mapping\n * to the Cosmos template.\n */\nexport default function WideNarrowPage(props) {\n const { children, title, templateCol, icon } = props;\n const childArray = Children.toArray(children);\n\n return (\n <div>\n <WideNarrow\n a={childArray[0]}\n b={childArray[1]}\n title={title}\n cols={templateCol}\n icon={icon?.replace(\"pi pi-\", \"\")}\n />\n </div>\n );\n}\n\nWideNarrowPage.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n title: PropTypes.string.isRequired,\n templateCol: PropTypes.string,\n icon: PropTypes.string\n};\n\nWideNarrowPage.defaultProps = {\n templateCol: \"1fr 1fr\",\n icon: \"\"\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/templates/WideNarrow/WideNarrowPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["export { default } from './WideNarrowPage';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/templates/utils.ts"],"names":[],"mappings":"AAEA,wBAAgB,YAAY,CAAC,QAAQ,EAAE,GAAG,WAUzC;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAG,GAAG,OAQnD"}
|