@pega/react-sdk-components 23.1.10 → 23.1.12
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/LICENSE +201 -0
- package/README.md +17 -0
- package/SECURITY.md +10 -0
- package/lib/bridge/Context/StoreContext.js +3 -3
- package/lib/bridge/Context/StoreContext.js.map +1 -1
- package/lib/bridge/helpers/sdk_component_map.d.ts.map +1 -1
- package/lib/bridge/helpers/sdk_component_map.js +24 -47
- package/lib/bridge/helpers/sdk_component_map.js.map +1 -1
- package/lib/bridge/react_pconnect.d.ts.map +1 -1
- package/lib/bridge/react_pconnect.js +17 -28
- package/lib/bridge/react_pconnect.js.map +1 -1
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.d.ts +1 -1
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.d.ts.map +1 -1
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.js +2 -2
- package/lib/components/designSystemExtension/AlertBanner/AlertBanner.js.map +1 -1
- package/lib/components/designSystemExtension/Banner/Banner.d.ts.map +1 -1
- package/lib/components/designSystemExtension/Banner/Banner.js +2 -10
- package/lib/components/designSystemExtension/Banner/Banner.js.map +1 -1
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +0 -1
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts +1 -1
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.d.ts.map +1 -1
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js +30 -27
- package/lib/components/designSystemExtension/CaseSummaryFields/CaseSummaryFields.js.map +1 -1
- package/lib/components/designSystemExtension/DetailsFields/DetailsFields.d.ts +1 -1
- package/lib/components/designSystemExtension/DetailsFields/DetailsFields.d.ts.map +1 -1
- package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js +9 -15
- package/lib/components/designSystemExtension/DetailsFields/DetailsFields.js.map +1 -1
- package/lib/components/designSystemExtension/DetailsFields/index.js.map +1 -1
- package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts +5 -4
- package/lib/components/designSystemExtension/FieldGroup/FieldGroup.d.ts.map +1 -1
- package/lib/components/designSystemExtension/FieldGroup/FieldGroup.js +23 -12
- package/lib/components/designSystemExtension/FieldGroup/FieldGroup.js.map +1 -1
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.d.ts +1 -1
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.d.ts.map +1 -1
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js +4 -16
- package/lib/components/designSystemExtension/FieldGroupList/FieldGroupList.js.map +1 -1
- package/lib/components/designSystemExtension/FieldValueList/FieldValueList.d.ts +1 -0
- package/lib/components/designSystemExtension/FieldValueList/FieldValueList.d.ts.map +1 -1
- package/lib/components/designSystemExtension/FieldValueList/FieldValueList.js +7 -11
- package/lib/components/designSystemExtension/FieldValueList/FieldValueList.js.map +1 -1
- package/lib/components/designSystemExtension/Operator/Operator.d.ts +15 -15
- package/lib/components/designSystemExtension/Operator/Operator.d.ts.map +1 -1
- package/lib/components/designSystemExtension/Operator/Operator.js +49 -62
- package/lib/components/designSystemExtension/Operator/Operator.js.map +1 -1
- package/lib/components/designSystemExtension/Pulse/Pulse.d.ts +2 -3
- package/lib/components/designSystemExtension/Pulse/Pulse.d.ts.map +1 -1
- package/lib/components/designSystemExtension/Pulse/Pulse.js +7 -10
- package/lib/components/designSystemExtension/Pulse/Pulse.js.map +1 -1
- package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.d.ts.map +1 -1
- package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.js +7 -9
- package/lib/components/designSystemExtension/RichTextEditor/RichTextEditor.js.map +1 -1
- package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.d.ts +1 -1
- package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.d.ts.map +1 -1
- package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.js +5 -11
- package/lib/components/designSystemExtension/WssQuickCreate/WssQuickCreate.js.map +1 -1
- package/lib/components/field/AutoComplete/AutoComplete.d.ts +2 -2
- package/lib/components/field/AutoComplete/AutoComplete.d.ts.map +1 -1
- package/lib/components/field/AutoComplete/AutoComplete.js +21 -23
- package/lib/components/field/AutoComplete/AutoComplete.js.map +1 -1
- package/lib/components/field/CancelAlert/CancelAlert.d.ts +8 -3
- package/lib/components/field/CancelAlert/CancelAlert.d.ts.map +1 -1
- package/lib/components/field/CancelAlert/CancelAlert.js +76 -68
- package/lib/components/field/CancelAlert/CancelAlert.js.map +1 -1
- package/lib/components/field/CancelAlert/index.js.map +1 -1
- package/lib/components/field/Checkbox/Checkbox.d.ts +16 -1
- package/lib/components/field/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/field/Checkbox/Checkbox.js +59 -45
- package/lib/components/field/Checkbox/Checkbox.js.map +1 -1
- package/lib/components/field/Currency/Currency.d.ts +1 -1
- package/lib/components/field/Currency/Currency.d.ts.map +1 -1
- package/lib/components/field/Currency/Currency.js +13 -34
- package/lib/components/field/Currency/Currency.js.map +1 -1
- package/lib/components/field/Currency/currency-utils.d.ts.map +1 -1
- package/lib/components/field/Currency/currency-utils.js +4 -5
- package/lib/components/field/Currency/currency-utils.js.map +1 -1
- package/lib/components/field/Date/Date.d.ts +1 -1
- package/lib/components/field/Date/Date.d.ts.map +1 -1
- package/lib/components/field/Date/Date.js +14 -10
- package/lib/components/field/Date/Date.js.map +1 -1
- package/lib/components/field/DateTime/DateTime.d.ts +1 -1
- package/lib/components/field/DateTime/DateTime.d.ts.map +1 -1
- package/lib/components/field/DateTime/DateTime.js +8 -8
- package/lib/components/field/DateTime/DateTime.js.map +1 -1
- package/lib/components/field/Decimal/Decimal.d.ts +2 -1
- package/lib/components/field/Decimal/Decimal.d.ts.map +1 -1
- package/lib/components/field/Decimal/Decimal.js +18 -28
- package/lib/components/field/Decimal/Decimal.js.map +1 -1
- package/lib/components/field/Decimal/index.js.map +1 -1
- package/lib/components/field/Dropdown/Dropdown.d.ts +13 -1
- package/lib/components/field/Dropdown/Dropdown.d.ts.map +1 -1
- package/lib/components/field/Dropdown/Dropdown.js +105 -29
- package/lib/components/field/Dropdown/Dropdown.js.map +1 -1
- package/lib/components/field/Email/Email.d.ts +1 -1
- package/lib/components/field/Email/Email.d.ts.map +1 -1
- package/lib/components/field/Email/Email.js +8 -9
- package/lib/components/field/Email/Email.js.map +1 -1
- package/lib/components/field/Email/index.js.map +1 -1
- package/lib/components/field/Group/Group.d.ts +13 -0
- package/lib/components/field/Group/Group.d.ts.map +1 -0
- package/lib/components/field/Group/Group.js +15 -0
- package/lib/components/field/Group/Group.js.map +1 -0
- package/lib/components/field/Group/index.d.ts +2 -0
- package/lib/components/field/Group/index.d.ts.map +1 -0
- package/lib/components/field/Group/index.js +2 -0
- package/lib/components/field/Group/index.js.map +1 -0
- package/lib/components/field/Integer/Integer.d.ts +1 -1
- package/lib/components/field/Integer/Integer.d.ts.map +1 -1
- package/lib/components/field/Integer/Integer.js +6 -6
- package/lib/components/field/Integer/Integer.js.map +1 -1
- package/lib/components/field/MultiSelect/Multiselect.d.ts +3 -0
- package/lib/components/field/MultiSelect/Multiselect.d.ts.map +1 -0
- package/lib/components/field/MultiSelect/Multiselect.js +175 -0
- package/lib/components/field/MultiSelect/Multiselect.js.map +1 -0
- package/lib/components/field/MultiSelect/index.d.ts +2 -0
- package/lib/components/field/MultiSelect/index.d.ts.map +1 -0
- package/lib/components/field/MultiSelect/index.js +2 -0
- package/lib/components/field/MultiSelect/index.js.map +1 -0
- package/lib/components/field/MultiSelect/utils.d.ts +10 -0
- package/lib/components/field/MultiSelect/utils.d.ts.map +1 -0
- package/lib/components/field/MultiSelect/utils.js +197 -0
- package/lib/components/field/MultiSelect/utils.js.map +1 -0
- package/lib/components/field/Percentage/Percentage.d.ts +2 -1
- package/lib/components/field/Percentage/Percentage.d.ts.map +1 -1
- package/lib/components/field/Percentage/Percentage.js +25 -28
- package/lib/components/field/Percentage/Percentage.js.map +1 -1
- package/lib/components/field/Phone/Phone.d.ts +1 -1
- package/lib/components/field/Phone/Phone.d.ts.map +1 -1
- package/lib/components/field/Phone/Phone.js +9 -10
- package/lib/components/field/Phone/Phone.js.map +1 -1
- package/lib/components/field/Phone/index.js.map +1 -1
- package/lib/components/field/RadioButtons/RadioButtons.d.ts +7 -1
- package/lib/components/field/RadioButtons/RadioButtons.d.ts.map +1 -1
- package/lib/components/field/RadioButtons/RadioButtons.js +18 -21
- package/lib/components/field/RadioButtons/RadioButtons.js.map +1 -1
- package/lib/components/field/RichText/RichText.d.ts +1 -1
- package/lib/components/field/RichText/RichText.d.ts.map +1 -1
- package/lib/components/field/RichText/RichText.js +9 -8
- package/lib/components/field/RichText/RichText.js.map +1 -1
- package/lib/components/field/ScalarList/ScalarList.d.ts +1 -1
- package/lib/components/field/ScalarList/ScalarList.d.ts.map +1 -1
- package/lib/components/field/ScalarList/ScalarList.js +7 -9
- package/lib/components/field/ScalarList/ScalarList.js.map +1 -1
- package/lib/components/field/SemanticLink/SemanticLink.d.ts +1 -1
- package/lib/components/field/SemanticLink/SemanticLink.d.ts.map +1 -1
- package/lib/components/field/SemanticLink/SemanticLink.js +4 -8
- package/lib/components/field/SemanticLink/SemanticLink.js.map +1 -1
- package/lib/components/field/SemanticLink/utils.d.ts.map +1 -1
- package/lib/components/field/SemanticLink/utils.js +8 -8
- package/lib/components/field/SemanticLink/utils.js.map +1 -1
- package/lib/components/field/TextArea/TextArea.d.ts +1 -1
- package/lib/components/field/TextArea/TextArea.d.ts.map +1 -1
- package/lib/components/field/TextArea/TextArea.js +5 -5
- package/lib/components/field/TextArea/TextArea.js.map +1 -1
- package/lib/components/field/TextContent/TextContent.d.ts +1 -1
- package/lib/components/field/TextContent/TextContent.d.ts.map +1 -1
- package/lib/components/field/TextContent/TextContent.js +2 -2
- package/lib/components/field/TextContent/TextContent.js.map +1 -1
- package/lib/components/field/TextInput/TextInput.d.ts +1 -1
- package/lib/components/field/TextInput/TextInput.d.ts.map +1 -1
- package/lib/components/field/TextInput/TextInput.js +7 -6
- package/lib/components/field/TextInput/TextInput.js.map +1 -1
- package/lib/components/field/TextInput/index.js.map +1 -1
- package/lib/components/field/Time/Time.d.ts +1 -1
- package/lib/components/field/Time/Time.d.ts.map +1 -1
- package/lib/components/field/Time/Time.js +7 -7
- package/lib/components/field/Time/Time.js.map +1 -1
- package/lib/components/field/URL/URL.d.ts +1 -1
- package/lib/components/field/URL/URL.d.ts.map +1 -1
- package/lib/components/field/URL/URL.js +6 -6
- package/lib/components/field/URL/URL.js.map +1 -1
- package/lib/components/field/URL/index.js.map +1 -1
- package/lib/components/field/UserReference/UserReference.d.ts +3 -3
- package/lib/components/field/UserReference/UserReference.d.ts.map +1 -1
- package/lib/components/field/UserReference/UserReference.js +11 -11
- package/lib/components/field/UserReference/UserReference.js.map +1 -1
- package/lib/components/field/UserReference/UserReferenceUtils.js +2 -2
- package/lib/components/field/UserReference/UserReferenceUtils.js.map +1 -1
- package/lib/components/helpers/attachmentHelpers.d.ts.map +1 -1
- package/lib/components/helpers/attachmentHelpers.js +6 -6
- package/lib/components/helpers/attachmentHelpers.js.map +1 -1
- package/lib/components/helpers/case-utils.d.ts.map +1 -1
- package/lib/components/helpers/case-utils.js +5 -5
- package/lib/components/helpers/case-utils.js.map +1 -1
- package/lib/components/helpers/common-utils.d.ts +1 -0
- package/lib/components/helpers/common-utils.d.ts.map +1 -1
- package/lib/components/helpers/common-utils.js +4 -1
- package/lib/components/helpers/common-utils.js.map +1 -1
- package/lib/components/helpers/data_page.d.ts.map +1 -1
- package/lib/components/helpers/data_page.js +2 -3
- package/lib/components/helpers/data_page.js.map +1 -1
- package/lib/components/helpers/date-format-utils.js.map +1 -1
- package/lib/components/helpers/event-utils.js +3 -3
- package/lib/components/helpers/event-utils.js.map +1 -1
- package/lib/components/helpers/field-group-utils.js +1 -1
- package/lib/components/helpers/field-group-utils.js.map +1 -1
- package/lib/components/helpers/formatters/Boolean.d.ts.map +1 -1
- package/lib/components/helpers/formatters/Boolean.js +9 -20
- package/lib/components/helpers/formatters/Boolean.js.map +1 -1
- package/lib/components/helpers/formatters/Currency.d.ts +2 -2
- package/lib/components/helpers/formatters/Currency.d.ts.map +1 -1
- package/lib/components/helpers/formatters/Currency.js +13 -14
- package/lib/components/helpers/formatters/Currency.js.map +1 -1
- package/lib/components/helpers/formatters/CurrencyMap.d.ts.map +1 -1
- package/lib/components/helpers/formatters/CurrencyMap.js +500 -500
- package/lib/components/helpers/formatters/CurrencyMap.js.map +1 -1
- package/lib/components/helpers/formatters/Date.d.ts +4 -4
- package/lib/components/helpers/formatters/Date.d.ts.map +1 -1
- package/lib/components/helpers/formatters/Date.js +20 -20
- package/lib/components/helpers/formatters/Date.js.map +1 -1
- package/lib/components/helpers/formatters/common.d.ts.map +1 -1
- package/lib/components/helpers/formatters/common.js +1 -1
- package/lib/components/helpers/formatters/common.js.map +1 -1
- package/lib/components/helpers/formatters/index.d.ts +6 -6
- package/lib/components/helpers/formatters/index.d.ts.map +1 -1
- package/lib/components/helpers/formatters/index.js +25 -19
- package/lib/components/helpers/formatters/index.js.map +1 -1
- package/lib/components/helpers/instructions-utils.d.ts +5 -0
- package/lib/components/helpers/instructions-utils.d.ts.map +1 -0
- package/lib/components/helpers/instructions-utils.js +36 -0
- package/lib/components/helpers/instructions-utils.js.map +1 -0
- package/lib/components/helpers/reactContextHelpers.d.ts.map +1 -1
- package/lib/components/helpers/reactContextHelpers.js +1 -1
- package/lib/components/helpers/reactContextHelpers.js.map +1 -1
- package/lib/components/helpers/simpleTableHelpers.d.ts.map +1 -1
- package/lib/components/helpers/simpleTableHelpers.js +44 -52
- package/lib/components/helpers/simpleTableHelpers.js.map +1 -1
- package/lib/components/helpers/state-utils.d.ts.map +1 -1
- package/lib/components/helpers/state-utils.js +6 -8
- package/lib/components/helpers/state-utils.js.map +1 -1
- package/lib/components/helpers/template-utils.d.ts +1 -1
- package/lib/components/helpers/template-utils.d.ts.map +1 -1
- package/lib/components/helpers/template-utils.js +1 -2
- package/lib/components/helpers/template-utils.js.map +1 -1
- package/lib/components/helpers/utils.d.ts +1 -1
- package/lib/components/helpers/utils.d.ts.map +1 -1
- package/lib/components/helpers/utils.js +3 -8
- package/lib/components/helpers/utils.js.map +1 -1
- package/lib/components/helpers/versionHelpers.d.ts.map +1 -1
- package/lib/components/helpers/versionHelpers.js +1 -1
- package/lib/components/helpers/versionHelpers.js.map +1 -1
- package/lib/components/infra/ActionButtons/ActionButtons.d.ts +2 -2
- package/lib/components/infra/ActionButtons/ActionButtons.d.ts.map +1 -1
- package/lib/components/infra/ActionButtons/ActionButtons.js +10 -14
- package/lib/components/infra/ActionButtons/ActionButtons.js.map +1 -1
- package/lib/components/infra/ActionButtons/index.js.map +1 -1
- package/lib/components/infra/Assignment/Assignment.d.ts +10 -2
- package/lib/components/infra/Assignment/Assignment.d.ts.map +1 -1
- package/lib/components/infra/Assignment/Assignment.js +68 -71
- package/lib/components/infra/Assignment/Assignment.js.map +1 -1
- package/lib/components/infra/Assignment/index.js.map +1 -1
- package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts +3 -5
- package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts.map +1 -1
- package/lib/components/infra/AssignmentCard/AssignmentCard.js +4 -5
- package/lib/components/infra/AssignmentCard/AssignmentCard.js.map +1 -1
- package/lib/components/infra/AssignmentCard/index.js.map +1 -1
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts +11 -1
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts.map +1 -1
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js +36 -158
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js.map +1 -1
- package/lib/components/infra/Containers/FlowContainer/helpers.d.ts.map +1 -1
- package/lib/components/infra/Containers/FlowContainer/helpers.js +30 -30
- package/lib/components/infra/Containers/FlowContainer/helpers.js.map +1 -1
- package/lib/components/infra/Containers/FlowContainer/index.js.map +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.d.ts +9 -0
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.d.ts.map +1 -0
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.js +36 -0
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.js.map +1 -0
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/index.d.ts +2 -0
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/index.d.ts.map +1 -0
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/index.js +2 -0
- package/lib/components/infra/Containers/ModalViewContainer/ListViewActionButtons/index.js.map +1 -0
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts +8 -1
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts.map +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js +178 -160
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js.map +1 -1
- package/lib/components/infra/Containers/ModalViewContainer/index.js.map +1 -1
- package/lib/components/infra/Containers/SimpleView/SimpleView.d.ts +9 -0
- package/lib/components/infra/Containers/SimpleView/SimpleView.d.ts.map +1 -0
- package/lib/components/infra/Containers/SimpleView/SimpleView.js +29 -0
- package/lib/components/infra/Containers/SimpleView/SimpleView.js.map +1 -0
- package/lib/components/infra/Containers/SimpleView/helper.d.ts +10 -0
- package/lib/components/infra/Containers/SimpleView/helper.d.ts.map +1 -0
- package/lib/components/infra/Containers/SimpleView/helper.js +102 -0
- package/lib/components/infra/Containers/SimpleView/helper.js.map +1 -0
- package/lib/components/infra/Containers/SimpleView/index.d.ts +2 -0
- package/lib/components/infra/Containers/SimpleView/index.d.ts.map +1 -0
- package/lib/components/infra/Containers/SimpleView/index.js +2 -0
- package/lib/components/infra/Containers/SimpleView/index.js.map +1 -0
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts +1 -1
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts.map +1 -1
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.js +17 -24
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.js.map +1 -1
- package/lib/components/infra/Containers/helpers.d.ts +2 -0
- package/lib/components/infra/Containers/helpers.d.ts.map +1 -0
- package/lib/components/infra/Containers/helpers.js +7 -0
- package/lib/components/infra/Containers/helpers.js.map +1 -0
- package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts +3 -4
- package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts.map +1 -1
- package/lib/components/infra/DashboardFilter/DashboardFilter.js +13 -17
- package/lib/components/infra/DashboardFilter/DashboardFilter.js.map +1 -1
- package/lib/components/infra/DashboardFilter/filterUtils.d.ts.map +1 -1
- package/lib/components/infra/DashboardFilter/filterUtils.js +10 -12
- package/lib/components/infra/DashboardFilter/filterUtils.js.map +1 -1
- package/lib/components/infra/DeferLoad/DeferLoad.d.ts +9 -1
- package/lib/components/infra/DeferLoad/DeferLoad.d.ts.map +1 -1
- package/lib/components/infra/DeferLoad/DeferLoad.js +8 -17
- package/lib/components/infra/DeferLoad/DeferLoad.js.map +1 -1
- package/lib/components/infra/DeferLoad/index.js.map +1 -1
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts +1 -1
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.js +15 -14
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/lib/components/infra/MultiStep/MultiStep.css +11 -15
- package/lib/components/infra/MultiStep/MultiStep.d.ts +5 -7
- package/lib/components/infra/MultiStep/MultiStep.d.ts.map +1 -1
- package/lib/components/infra/MultiStep/MultiStep.js +29 -80
- package/lib/components/infra/MultiStep/MultiStep.js.map +1 -1
- package/lib/components/infra/MultiStep/index.js.map +1 -1
- package/lib/components/infra/NavBar/NavBar.css +103 -105
- package/lib/components/infra/NavBar/NavBar.d.ts +3 -3
- package/lib/components/infra/NavBar/NavBar.d.ts.map +1 -1
- package/lib/components/infra/NavBar/NavBar.js +18 -52
- package/lib/components/infra/NavBar/NavBar.js.map +1 -1
- package/lib/components/infra/Reference/Reference.d.ts +9 -1
- package/lib/components/infra/Reference/Reference.d.ts.map +1 -1
- package/lib/components/infra/Reference/Reference.js +6 -13
- package/lib/components/infra/Reference/Reference.js.map +1 -1
- package/lib/components/infra/Region/Region.d.ts +2 -3
- package/lib/components/infra/Region/Region.d.ts.map +1 -1
- package/lib/components/infra/Region/Region.js +2 -3
- package/lib/components/infra/Region/Region.js.map +1 -1
- package/lib/components/infra/RootContainer/RootContainer.d.ts +14 -1
- package/lib/components/infra/RootContainer/RootContainer.d.ts.map +1 -1
- package/lib/components/infra/RootContainer/RootContainer.js +40 -62
- package/lib/components/infra/RootContainer/RootContainer.js.map +1 -1
- package/lib/components/infra/RootContainer/index.js.map +1 -1
- package/lib/components/infra/Stages/Stages.d.ts +2 -2
- package/lib/components/infra/Stages/Stages.d.ts.map +1 -1
- package/lib/components/infra/Stages/Stages.js +18 -21
- package/lib/components/infra/Stages/Stages.js.map +1 -1
- package/lib/components/infra/VerticalTabs/LeftAlignVerticalTabs/LeftAlignVerticalTabs.d.ts.map +1 -1
- package/lib/components/infra/VerticalTabs/LeftAlignVerticalTabs/LeftAlignVerticalTabs.js +6 -8
- package/lib/components/infra/VerticalTabs/LeftAlignVerticalTabs/LeftAlignVerticalTabs.js.map +1 -1
- package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.d.ts +1 -1
- package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.d.ts.map +1 -1
- package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.js +10 -9
- package/lib/components/infra/VerticalTabs/VerticalTabs/VerticalTabs.js.map +1 -1
- package/lib/components/infra/View/View.d.ts +3 -4
- package/lib/components/infra/View/View.d.ts.map +1 -1
- package/lib/components/infra/View/View.js +6 -11
- package/lib/components/infra/View/View.js.map +1 -1
- package/lib/components/template/AppShell/AppShell.css +22 -23
- package/lib/components/template/AppShell/AppShell.d.ts +6 -7
- package/lib/components/template/AppShell/AppShell.d.ts.map +1 -1
- package/lib/components/template/AppShell/AppShell.js +23 -29
- package/lib/components/template/AppShell/AppShell.js.map +1 -1
- package/lib/components/template/BannerPage/BannerPage.d.ts +4 -4
- package/lib/components/template/BannerPage/BannerPage.d.ts.map +1 -1
- package/lib/components/template/BannerPage/BannerPage.js +3 -3
- package/lib/components/template/BannerPage/BannerPage.js.map +1 -1
- package/lib/components/template/CaseSummary/CaseSummary.d.ts +3 -4
- package/lib/components/template/CaseSummary/CaseSummary.d.ts.map +1 -1
- package/lib/components/template/CaseSummary/CaseSummary.js +44 -8
- package/lib/components/template/CaseSummary/CaseSummary.js.map +1 -1
- package/lib/components/template/CaseView/CaseView.d.ts +3 -4
- package/lib/components/template/CaseView/CaseView.d.ts.map +1 -1
- package/lib/components/template/CaseView/CaseView.js +18 -41
- package/lib/components/template/CaseView/CaseView.js.map +1 -1
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts +3 -3
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.d.ts.map +1 -1
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js +37 -7
- package/lib/components/template/CaseViewActionsMenu/CaseViewActionsMenu.js.map +1 -1
- package/lib/components/template/Confirmation/Confirmation.d.ts +3 -4
- package/lib/components/template/Confirmation/Confirmation.d.ts.map +1 -1
- package/lib/components/template/Confirmation/Confirmation.js +7 -14
- package/lib/components/template/Confirmation/Confirmation.js.map +1 -1
- package/lib/components/template/DataReference/DataReference.d.ts +4 -4
- package/lib/components/template/DataReference/DataReference.d.ts.map +1 -1
- package/lib/components/template/DataReference/DataReference.js +35 -49
- package/lib/components/template/DataReference/DataReference.js.map +1 -1
- package/lib/components/template/DefaultForm/DefaultForm.css +7 -3
- package/lib/components/template/DefaultForm/DefaultForm.d.ts +8 -2
- package/lib/components/template/DefaultForm/DefaultForm.d.ts.map +1 -1
- package/lib/components/template/DefaultForm/DefaultForm.js +5 -14
- package/lib/components/template/DefaultForm/DefaultForm.js.map +1 -1
- package/lib/components/template/Details/Details/Details.d.ts +8 -1
- package/lib/components/template/Details/Details/Details.d.ts.map +1 -1
- package/lib/components/template/Details/Details/Details.js +5 -13
- package/lib/components/template/Details/Details/Details.js.map +1 -1
- package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts +3 -4
- package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.d.ts.map +1 -1
- package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.js +5 -10
- package/lib/components/template/Details/DetailsSubTabs/DetailsSubTabs.js.map +1 -1
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts +8 -1
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts.map +1 -1
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js +5 -16
- package/lib/components/template/Details/DetailsThreeColumn/DetailsThreeColumn.js.map +1 -1
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts +8 -1
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts.map +1 -1
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js +5 -16
- package/lib/components/template/Details/DetailsTwoColumn/DetailsTwoColumn.js.map +1 -1
- package/lib/components/template/Details/DetailsTwoColumn/index.js.map +1 -1
- package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts +7 -1
- package/lib/components/template/Details/DynamicTabs/DynamicTabs.d.ts.map +1 -1
- package/lib/components/template/Details/DynamicTabs/DynamicTabs.js +6 -17
- package/lib/components/template/Details/DynamicTabs/DynamicTabs.js.map +1 -1
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts +2 -2
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +1 -1
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js +8 -9
- package/lib/components/template/FieldGroupTemplate/FieldGroupTemplate.js.map +1 -1
- package/lib/components/template/InlineDashboard/InlineDashboard.d.ts +3 -4
- package/lib/components/template/InlineDashboard/InlineDashboard.d.ts.map +1 -1
- package/lib/components/template/InlineDashboard/InlineDashboard.js +3 -9
- package/lib/components/template/InlineDashboard/InlineDashboard.js.map +1 -1
- package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts +3 -4
- package/lib/components/template/InlineDashboardPage/InlineDashboardPage.d.ts.map +1 -1
- package/lib/components/template/InlineDashboardPage/InlineDashboardPage.js +7 -6
- package/lib/components/template/InlineDashboardPage/InlineDashboardPage.js.map +1 -1
- package/lib/components/template/ListPage/ListPage.d.ts +1 -1
- package/lib/components/template/ListPage/ListPage.d.ts.map +1 -1
- package/lib/components/template/ListPage/ListPage.js +2 -2
- package/lib/components/template/ListPage/ListPage.js.map +1 -1
- package/lib/components/template/ListView/DefaultViewMeta.d.ts.map +1 -1
- package/lib/components/template/ListView/DefaultViewMeta.js.map +1 -1
- package/lib/components/template/ListView/ListView.d.ts +16 -1
- package/lib/components/template/ListView/ListView.d.ts.map +1 -1
- package/lib/components/template/ListView/ListView.js +106 -181
- package/lib/components/template/ListView/ListView.js.map +1 -1
- package/lib/components/template/ListView/hooks.d.ts.map +1 -1
- package/lib/components/template/ListView/hooks.js +4 -6
- package/lib/components/template/ListView/hooks.js.map +1 -1
- package/lib/components/template/ListView/utils.d.ts +1 -1
- package/lib/components/template/ListView/utils.d.ts.map +1 -1
- package/lib/components/template/ListView/utils.js +38 -46
- package/lib/components/template/ListView/utils.js.map +1 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts +1 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +1 -1
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js +3 -3
- package/lib/components/template/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.css +0 -2
- package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts +4 -4
- package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.d.ts.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.js +2 -10
- package/lib/components/template/NarrowWide/NarrowWide/NarrowWide.js.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts +8 -1
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js +5 -16
- package/lib/components/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.js.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.css +0 -2
- package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts +4 -4
- package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.js +2 -5
- package/lib/components/template/NarrowWide/NarrowWideForm/NarrowWideForm.js.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts +4 -4
- package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts.map +1 -1
- package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.js +3 -5
- package/lib/components/template/NarrowWide/NarrowWidePage/NarrowWidePage.js.map +1 -1
- package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts +4 -4
- package/lib/components/template/OneColumn/OneColumn/OneColumn.d.ts.map +1 -1
- package/lib/components/template/OneColumn/OneColumn/OneColumn.js +9 -8
- package/lib/components/template/OneColumn/OneColumn/OneColumn.js.map +1 -1
- package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts +2 -2
- package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.d.ts.map +1 -1
- package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.js +2 -2
- package/lib/components/template/OneColumn/OneColumnPage/OneColumnPage.js.map +1 -1
- package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts +4 -4
- package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.d.ts.map +1 -1
- package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.js +2 -2
- package/lib/components/template/OneColumn/OneColumnTab/OneColumnTab.js.map +1 -1
- package/lib/components/template/PromotedFilters/PromotedFilters.css +1 -1
- package/lib/components/template/PromotedFilters/PromotedFilters.d.ts +10 -1
- package/lib/components/template/PromotedFilters/PromotedFilters.d.ts.map +1 -1
- package/lib/components/template/PromotedFilters/PromotedFilters.js +12 -29
- package/lib/components/template/PromotedFilters/PromotedFilters.js.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts +19 -1
- package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.d.ts.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js +17 -20
- package/lib/components/template/SimpleTable/SimpleTable/SimpleTable.js.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts +12 -7
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js +124 -134
- package/lib/components/template/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts +14 -1
- package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts.map +1 -1
- package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.js +9 -21
- package/lib/components/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.js.map +1 -1
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts +1 -1
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts.map +1 -1
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js +5 -5
- package/lib/components/template/SingleReferenceReadOnly/SingleReferenceReadOnly.js.map +1 -1
- package/lib/components/template/SubTabs/SubTabs.d.ts +4 -4
- package/lib/components/template/SubTabs/SubTabs.d.ts.map +1 -1
- package/lib/components/template/SubTabs/SubTabs.js +6 -9
- package/lib/components/template/SubTabs/SubTabs.js.map +1 -1
- package/lib/components/template/SubTabs/tabUtils.d.ts.map +1 -1
- package/lib/components/template/SubTabs/tabUtils.js +2 -4
- package/lib/components/template/SubTabs/tabUtils.js.map +1 -1
- package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.css +0 -1
- package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts +4 -4
- package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.d.ts.map +1 -1
- package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.js +14 -12
- package/lib/components/template/TwoColumn/TwoColumn/TwoColumn.js.map +1 -1
- package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts +2 -2
- package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +1 -1
- package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.js +2 -2
- package/lib/components/template/TwoColumn/TwoColumnPage/TwoColumnPage.js.map +1 -1
- package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts +4 -4
- package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts.map +1 -1
- package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.js +14 -12
- package/lib/components/template/TwoColumn/TwoColumnTab/TwoColumnTab.js.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.css +0 -2
- package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts +4 -4
- package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.d.ts.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.js +2 -10
- package/lib/components/template/WideNarrow/WideNarrow/WideNarrow.js.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts +8 -1
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js +5 -16
- package/lib/components/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.js.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.css +0 -2
- package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts +4 -4
- package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.js +2 -5
- package/lib/components/template/WideNarrow/WideNarrowForm/WideNarrowForm.js.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts +4 -4
- package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.js +3 -3
- package/lib/components/template/WideNarrow/WideNarrowPage/WideNarrowPage.js.map +1 -1
- package/lib/components/template/WideNarrow/WideNarrowPage/index.js.map +1 -1
- package/lib/components/template/WssNavBar/WssNavBar.d.ts +3 -2
- package/lib/components/template/WssNavBar/WssNavBar.d.ts.map +1 -1
- package/lib/components/template/WssNavBar/WssNavBar.js +20 -37
- package/lib/components/template/WssNavBar/WssNavBar.js.map +1 -1
- package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts +2 -1
- package/lib/components/widget/AppAnnouncement/AppAnnouncement.d.ts.map +1 -1
- package/lib/components/widget/AppAnnouncement/AppAnnouncement.js +10 -19
- package/lib/components/widget/AppAnnouncement/AppAnnouncement.js.map +1 -1
- package/lib/components/widget/Attachment/Attachment.css +60 -1
- package/lib/components/widget/Attachment/Attachment.d.ts +8 -1
- package/lib/components/widget/Attachment/Attachment.d.ts.map +1 -1
- package/lib/components/widget/Attachment/Attachment.js +279 -353
- package/lib/components/widget/Attachment/Attachment.js.map +1 -1
- package/lib/components/widget/Attachment/index.js.map +1 -1
- package/lib/components/widget/CaseHistory/CaseHistory.d.ts +1 -1
- package/lib/components/widget/CaseHistory/CaseHistory.d.ts.map +1 -1
- package/lib/components/widget/CaseHistory/CaseHistory.js +37 -31
- package/lib/components/widget/CaseHistory/CaseHistory.js.map +1 -1
- package/lib/components/widget/CaseHistory/index.js.map +1 -1
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts +4 -3
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.d.ts.map +1 -1
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js +2 -4
- package/lib/components/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.js.map +1 -1
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.css +2 -2
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts +1 -1
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.d.ts.map +1 -1
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.js +107 -136
- package/lib/components/widget/FileUtility/FileUtility/FileUtility.js.map +1 -1
- package/lib/components/widget/Followers/Followers.d.ts +4 -4
- package/lib/components/widget/Followers/Followers.d.ts.map +1 -1
- package/lib/components/widget/Followers/Followers.js +8 -16
- package/lib/components/widget/Followers/Followers.js.map +1 -1
- package/lib/components/widget/QuickCreate/QuickCreate.d.ts +8 -1
- package/lib/components/widget/QuickCreate/QuickCreate.d.ts.map +1 -1
- package/lib/components/widget/QuickCreate/QuickCreate.js +57 -35
- package/lib/components/widget/QuickCreate/QuickCreate.js.map +1 -1
- package/lib/components/widget/SummaryItem/SummaryItem.css +9 -9
- package/lib/components/widget/SummaryItem/SummaryItem.d.ts +3 -2
- package/lib/components/widget/SummaryItem/SummaryItem.d.ts.map +1 -1
- package/lib/components/widget/SummaryItem/SummaryItem.js +8 -23
- package/lib/components/widget/SummaryItem/SummaryItem.js.map +1 -1
- package/lib/components/widget/SummaryItem/index.js.map +1 -1
- package/lib/components/widget/SummaryList/SummaryList.d.ts +3 -2
- package/lib/components/widget/SummaryList/SummaryList.d.ts.map +1 -1
- package/lib/components/widget/SummaryList/SummaryList.js +3 -3
- package/lib/components/widget/SummaryList/SummaryList.js.map +1 -1
- package/lib/components/widget/ToDo/ToDo.css +4 -4
- package/lib/components/widget/ToDo/ToDo.d.ts +1 -1
- package/lib/components/widget/ToDo/ToDo.d.ts.map +1 -1
- package/lib/components/widget/ToDo/ToDo.js +31 -67
- package/lib/components/widget/ToDo/ToDo.js.map +1 -1
- package/lib/components_map.d.ts +2 -2
- package/lib/components_map.d.ts.map +1 -1
- package/lib/components_map.js +4 -2
- package/lib/components_map.js.map +1 -1
- package/lib/doc/KeyReleaseUpdates.md +21 -4
- package/lib/hooks/useConsolidatedRef.js +2 -2
- package/lib/hooks/useConsolidatedRef.js.map +1 -1
- package/lib/sdk-local-component-map.js +2 -2
- package/lib/sdk-pega-component-map.d.ts +6 -0
- package/lib/sdk-pega-component-map.js +106 -100
- package/lib/sdk-pega-component-map.js.map +1 -1
- package/lib/types/PConnProps.d.ts +14 -15
- package/package.json +5 -2
- package/lib/components/helpers/auth.d.ts +0 -18
- package/lib/components/helpers/auth.d.ts.map +0 -1
- package/lib/components/helpers/auth.js +0 -752
- package/lib/components/helpers/auth.js.map +0 -1
- package/lib/components/helpers/authManager.d.ts +0 -21
- package/lib/components/helpers/authManager.d.ts.map +0 -1
- package/lib/components/helpers/authManager.js +0 -864
- package/lib/components/helpers/authManager.js.map +0 -1
- package/lib/components/helpers/config_access.d.ts +0 -3
- package/lib/components/helpers/config_access.d.ts.map +0 -1
- package/lib/components/helpers/config_access.js +0 -198
- package/lib/components/helpers/config_access.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/components/helpers/auth.js"],"names":[],"mappings":";;;;;;;;;;;;AAAA,MAAM,QAAQ;IAOV,gDAAgD;IAChD,0EAA0E;IAE1E,YAAY,WAAW,EAAE,aAAa;;QATtC,oGAAoG;QACpG,uDAAuD;QACvD,2BAAU,IAAI,EAAC;QACf,qGAAqG;QACrG,gCAAgC;QAChC,6BAAY,EAAE,EAAC;QAKb,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;YACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;YAC/B,IAAI,CAAC,aAAa,GAAG,aAAa,IAAI,GAAG,WAAW,KAAK,CAAC;YAC1D,uBAAA,IAAI,mDAAc,MAAlB,IAAI,CAAgB,CAAC;SACtB;aAAM;YACL,4CAA4C;YAC5C,uBAAA,IAAI,oBAAW,WAAW,MAAA,CAAC;YAC3B,uBAAA,IAAI,sBAAa,aAAa,MAAA,CAAC;SAChC;QACD,IAAI,CAAC,UAAU,GAAG,mCAAmC,CAAC;QACtD,IAAI,CAAC,MAAM,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC;QAE5C,kFAAkF;QAClF,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YAChB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;YAC5B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;SACpC;QACD,IAAI,MAAM,CAAC,IAAI,CAAC,uBAAA,IAAI,wBAAQ,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YACxC,IAAI,CAAC,uBAAA,IAAI,wBAAQ,CAAC,UAAU,EAAE;gBAC5B,uBAAA,IAAI,wBAAQ,CAAC,UAAU,GAAG,UAAU,CAAC;aACtC;SACF;aAAM;YACL,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;SAC5C;IACH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AAO,uBAAA,IAAI,iDAAY,MAAhB,IAAI,EAAa,aAAa,CAAC;SACnC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;QACf,OAAO,uBAAA,IAAI,0DAAqB,MAAzB,IAAI,EAAsB,MAAM,CAAC,CAAC;IAC3C,CAAC,CAAC;SACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;QACf,sCAAsC;QACtC,OAAO,CAAC,KAAK,CAAC,8CAA8C,KAAK,EAAE,CAAC,CAAC;IACvE,CAAC,CAAC;SACD,OAAO,CAAC,GAAG,EAAE;QACZ,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;AACP,CAAC;IAOC,IAAI,IAAI,CAAC,MAAM,IAAI,uBAAA,IAAI,wBAAQ,CAAC,kBAAkB,EAAE;QAClD,MAAM,OAAO,GAAG,EAAE,kBAAkB,EAAE,KAAK,EAAE,CAAC;QAC9C,IAAI,uBAAA,IAAI,wBAAQ,CAAC,SAAS,EAAE;YAC1B,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,4BAA4B,CAAC;SAC5E;QACD,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KACtC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAGH,eAAe,QAAQ,CAAC","sourcesContent":["class PegaAuth {\n // The properties within config structure are expected to be more static config values that are then\n // used to properly make various OAuth endpoint calls.\n #config = null;\n // Any dynamic state is stored separately in its own structure. If a sessionStorage key is passed in\n // without a Dynamic State key.\n #dynState = {};\n // Current properties within dynState structure:\n // codeVerifier, state, sessionIndex, sessionIndexAttempts, acRedirectUri\n\n constructor(ssKeyConfig, ssKeyDynState) {\n if (typeof ssKeyConfig === 'string') {\n this.ssKeyConfig = ssKeyConfig;\n this.ssKeyDynState = ssKeyDynState || `${ssKeyConfig}_DS`;\n this.#reloadConfig();\n } else {\n // object with config structure is passed in\n this.#config = ssKeyConfig;\n this.#dynState = ssKeyDynState;\n }\n this.urlencoded = 'application/x-www-form-urlencoded';\n this.isNode = typeof window === 'undefined';\n\n // For isNode path the below attributes are initialized on first method invocation\n if (!this.isNode) {\n this.crypto = window.crypto;\n this.subtle = window.crypto.subtle;\n }\n if (Object.keys(this.#config).length > 0) {\n if (!this.#config.serverType) {\n this.#config.serverType = 'infinity';\n }\n } else {\n throw new Error('invalid config settings');\n }\n }\n\n #reloadSS(ssKey) {\n const sItem = window.sessionStorage.getItem(ssKey);\n let obj = {};\n if (sItem) {\n try {\n obj = JSON.parse(sItem);\n } catch (e) {\n try {\n obj = JSON.parse(atob(sItem));\n } catch (err) {\n obj = {};\n }\n }\n }\n if (ssKey === this.ssKeyConfig) {\n this.#config = sItem ? obj : {};\n } else {\n this.#dynState = sItem ? obj : {};\n }\n }\n\n #reloadConfig() {\n if (this.ssKeyConfig) {\n this. #reloadSS(this.ssKeyConfig);\n }\n if (this.ssKeyDynState) {\n this.#reloadSS(this.ssKeyDynState);\n }\n }\n\n #updateConfig() {\n // transform must occur unless it is explicitly disabled\n const transform = this.#config.transform !== false;\n // May not need to write out Config info all the time, but there is a scenario where a\n // non obfuscated value is passed in and then it needs to be obfuscated\n if (this.ssKeyConfig) {\n const sConfig = JSON.stringify(this.#config);\n window.sessionStorage.setItem(this.ssKeyConfig, transform ? btoa(sConfig) : sConfig);\n }\n if (this.ssKeyDynState) {\n const sDynState = JSON.stringify(this.#dynState);\n window.sessionStorage.setItem(this.ssKeyDynState, transform ? btoa(sDynState) : sDynState);\n }\n if( this.#config.fnDynStateChangedCB ) {\n this.#config.fnDynStateChangedCB();\n }\n }\n\n async #importSingleLib(libName, libProp, bLoadAlways = false) {\n // eslint-disable-next-line no-undef\n if (!bLoadAlways && typeof (this.isNode ? global : window)[libProp] !== 'undefined') {\n // eslint-disable-next-line no-undef\n this[libProp] = (this.isNode ? global : window)[libProp];\n return this[libProp];\n }\n // Needed to explicitly make import argument a string by using template literals to fix a compile\n // error: Critical dependency: the request of a dependency is an expression\n return import(`${libName}`)\n .then((mod) => {\n this[libProp] = mod.default;\n })\n .catch((e) => {\n // eslint-disable-next-line no-console\n console.error(`Library ${libName} failed to load. ${e}`);\n throw e;\n });\n }\n\n async #importNodeLibs() {\n // Also current assumption is using Node 18 or better\n // With 18.3 there is now a native fetch (but may want to force use of node-fetch)\n const useNodeFetch = !!this.#config.useNodeFetch;\n\n return Promise.all([\n this.#importSingleLib('node-fetch', 'fetch', useNodeFetch),\n this.#importSingleLib('open', 'open'),\n this.#importSingleLib('node:crypto', 'crypto', true),\n this.#importSingleLib('node:https', 'https'),\n this.#importSingleLib('node:http', 'http'),\n this.#importSingleLib('node:fs', 'fs')\n ]).then(() => {\n this.subtle = this.crypto?.subtle || this.crypto.webcrypto.subtle;\n if ((typeof fetch === 'undefined' || useNodeFetch) && this.fetch) {\n /* eslint-disable-next-line no-global-assign */\n fetch = this.fetch;\n }\n });\n }\n\n // For PKCE the authorize includes a code_challenge & code_challenge_method as well\n async #buildAuthorizeUrl(state) {\n const {\n serverType,\n clientId,\n redirectUri,\n authorizeUri,\n authService,\n appAlias,\n userIdentifier,\n password,\n noPKCE,\n isolationId\n } = this.#config;\n const {\n sessionIndex,\n } = this.#dynState;\n const bInfinity = serverType === 'infinity';\n\n if (!noPKCE) {\n // Generate random string of 64 chars for verifier. RFC 7636 says from 43-128 chars\n const buf = new Uint8Array(64);\n this.crypto.getRandomValues(buf);\n this.#dynState.codeVerifier = this.#base64UrlSafeEncode(buf);\n }\n\n // If sessionIndex exists then increment attempts count (we will stop sending session_index after two failures)\n // With Infinity '24 we can now properly detect a invalid_session_index error, but can't for earlier versions\n if (sessionIndex) {\n this.#dynState.sessionIndexAttempts += 1;\n }\n\n // We use state to verify that the received code is for the right authorize transaction\n // eslint-disable-next-line no-unneeded-ternary\n this.#dynState.state = `${state ? state : ''}.${this.#getRandomString(32)}`;\n\n // The same redirectUri needs to be provided to token endpoint, so save this away incase redirectUri is\n // adjusted for next authorize\n this.#dynState.acRedirectUri = redirectUri;\n\n // Persist codeVerifier in session storage so it survives the redirects that are to follow\n this.#updateConfig();\n\n // Trim alias to include just the real alias piece\n const addtlScope = appAlias ? `+app.alias.${appAlias.replace(/^app\\//, '')}` : '';\n const scope = bInfinity ? `openid${addtlScope}` : 'user_info';\n\n // Add explicit creds if specified to try to avoid login popup\n const authServiceArg = authService ? `&authentication_service=${encodeURIComponent(authService)}` : '';\n const sessionIndexArg =\n sessionIndex && this.#dynState.sessionIndexAttempts < 3 ? `&session_index=${sessionIndex}` : '';\n const userIdentifierArg = userIdentifier ? `&UserIdentifier=${encodeURIComponent(userIdentifier)}` : '';\n const passwordArg = password && userIdentifier ? `&Password=${encodeURIComponent(atob(password))}` : '';\n const moreAuthArgs = bInfinity\n ? `&enable_psyncId=true${authServiceArg}${sessionIndexArg}${userIdentifierArg}${passwordArg}`\n : `&isolationID=${isolationId}`;\n\n let pkceArgs = '';\n if (!noPKCE) {\n const cc = await this.#getCodeChallenge(this.#dynState.codeVerifier);\n pkceArgs = `&code_challenge=${cc}&code_challenge_method=S256`;\n }\n return `${authorizeUri}?client_id=${clientId}&response_type=code&redirect_uri=${redirectUri}&scope=${scope}&state=${\n this.#dynState.state\n }${pkceArgs}${moreAuthArgs}`;\n }\n\n async login() {\n if (this.isNode && !this.crypto) {\n // Deferring dynamic loading of node libraries til this first method to avoid doing this in constructor\n await this.#importNodeLibs();\n }\n const { grantType, noPKCE } = this.#config;\n if (grantType && grantType !== 'authCode') {\n return this.getToken();\n }\n // Make sure browser in a secure context, else PKCE will fail\n if (!this.isNode && !noPKCE && !window.isSecureContext) {\n throw new Error(\n `Authorization code grant flow failed due to insecure browser context at ${window.location.origin}. Use localhost or https.`\n );\n }\n return this.#authCodeStart();\n }\n\n // authCode login issues the authorize endpoint transaction and deals with redirects\n async #authCodeStart() {\n const fnGetRedirectUriOrigin = () => {\n const redirectUri = this.#config.redirectUri;\n const nRootOffset = redirectUri.indexOf('//');\n const nFirstPathOffset = nRootOffset !== -1 ? redirectUri.indexOf('/', nRootOffset + 2) : -1;\n return nFirstPathOffset !== -1 ? redirectUri.substring(0, nFirstPathOffset) : redirectUri;\n };\n\n const redirectOrigin = fnGetRedirectUriOrigin();\n const state = this.isNode ? '' : btoa(window.location.origin);\n\n return new Promise((resolve, reject) => {\n let theUrl = null; // holds the crafted authorize url\n\n let myWindow = null; // popup or iframe\n let elIframe = null;\n let elCloseBtn = null;\n const iframeTimeout = this.#config.silentTimeout !== undefined ? this.#config.silentTimeout : 5000;\n let bWinIframe = true;\n let tmrAuthComplete = null;\n let checkWindowClosed = null;\n let bDisablePromptNone = false;\n const myWinOnLoad = () => {\n try {\n if (bWinIframe) {\n elIframe.contentWindow.postMessage({ type: 'PegaAuth' }, redirectOrigin);\n } else {\n myWindow.postMessage({ type: 'PegaAuth' }, redirectOrigin);\n }\n } catch (e) {\n // Exception trying to postMessage on load (perhaps should console.warn)\n }\n };\n const fnSetSilentAuthFailed = (bSet) => {\n this.#config.silentAuthFailed = bSet;\n this.#updateConfig();\n };\n /* eslint-disable prefer-promise-reject-errors */\n const fnOpenPopup = () => {\n if (this.#config.noPopups) {\n return reject('no-popups');\n }\n // Since displaying a visible window, clear the silent auth failed flag\n fnSetSilentAuthFailed(false);\n myWindow = (this.isNode ? this.open : window.open)(theUrl, '_blank', 'width=700,height=500,left=200,top=100');\n if (!myWindow) {\n // Blocked by popup-blocker\n return reject('blocked');\n }\n checkWindowClosed = setInterval(() => {\n if (myWindow.closed) {\n clearInterval(checkWindowClosed);\n reject('closed');\n }\n }, 500);\n if (!this.isNode) {\n try {\n myWindow.addEventListener('load', myWinOnLoad, true);\n } catch (e) {\n // Exception trying to add onload handler to opened window\n // eslint-disable-next-line no-console\n console.error(`Error adding event listener on popup window: ${e}`);\n }\n }\n };\n\n /* eslint-enable prefer-promise-reject-errors */\n const fnCloseIframe = () => {\n elIframe.parentNode.removeChild(elIframe);\n elCloseBtn.parentNode.removeChild(elCloseBtn);\n elIframe = null;\n elCloseBtn = null;\n bWinIframe = false;\n };\n\n const fnCloseAndReject = () => {\n fnCloseIframe();\n /* eslint-disable-next-line prefer-promise-reject-errors */\n reject('closed');\n };\n\n const fnAuthMessageReceiver = (event) => {\n // Check origin to make sure it is the redirect origin\n if (event.origin !== redirectOrigin) return;\n if (!event.data || !event.data.type || event.data.type !== 'PegaAuth') return;\n const aArgs = ['code', 'state', 'error', 'errorDesc'];\n const aValues = [];\n for (let i = 0; i < aArgs.length; i += 1) {\n const arg = aArgs[i];\n aValues[arg] = event.data[arg] ? event.data[arg].toString() : null;\n }\n if (aValues.error || (aValues.code && aValues.state === this.#dynState.state)) {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n fnGetTokenAndFinish(aValues.code, aValues.error, aValues.errorDesc);\n }\n };\n\n const fnEnableMessageReceiver = (bEnable) => {\n if (bEnable) {\n window.addEventListener('message', fnAuthMessageReceiver, false);\n window.authCodeCallback = (code, state1, error, errorDesc) => {\n if (error || (code && state1 === this.#dynState.state)) {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n fnGetTokenAndFinish(code, error, errorDesc);\n }\n };\n } else {\n window.removeEventListener('message', fnAuthMessageReceiver, false);\n delete window.authCodeCallback;\n }\n };\n\n const doAuthorize = () => {\n // If there is a userIdentifier and password specified or an external SSO auth service,\n // we can try to use this silently in an iFrame first\n bWinIframe =\n !this.isNode &&\n !this.#config.silentAuthFailed &&\n iframeTimeout > 0 &&\n ((!!this.#config.userIdentifier && !!this.#config.password) ||\n this.#config.iframeLoginUI ||\n this.#config.authService !== 'pega');\n // Enable message receiver\n if (!this.isNode) {\n fnEnableMessageReceiver(true);\n }\n if (bWinIframe) {\n const nFrameZLevel = 99999;\n elIframe = document.createElement('iframe');\n elIframe.id = `pe${this.#config.clientId}`;\n const loginBoxWidth = 500;\n const loginBoxHeight = 700;\n const oStyle = elIframe.style;\n oStyle.position = 'absolute';\n oStyle.display = 'none';\n oStyle.zIndex = nFrameZLevel;\n oStyle.top = `${Math.round(Math.max(window.innerHeight - loginBoxHeight, 0) / 2)}px`;\n oStyle.left = `${Math.round(Math.max(window.innerWidth - loginBoxWidth, 0) / 2)}px`;\n oStyle.width = '500px';\n oStyle.height = '700px';\n // Add Iframe to top of document DOM to have it load\n document.body.insertBefore(elIframe, document.body.firstChild);\n // document.getElementsByTagName('body')[0].appendChild(elIframe);\n elIframe.addEventListener('load', myWinOnLoad, true);\n // Disallow iframe content attempts to navigate main window\n elIframe.setAttribute('sandbox', 'allow-scripts allow-forms allow-same-origin');\n // Adding prompt=none as this is standard OIDC way to communicate no UI is expected (expecting Pega security to support this one day)\n elIframe.setAttribute('src', bDisablePromptNone ? theUrl : `${theUrl}&prompt=none`);\n\n const svgCloseBtn = `<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n <svg width=\"34px\" height=\"34px\" viewBox=\"0 0 34 34\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n <title>Dismiss - Black</title>\n <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(1.000000, 1.000000)\">\n <circle fill=\"#252C32\" cx=\"16\" cy=\"16\" r=\"16\"></circle>\n <g transform=\"translate(9.109375, 9.214844)\" fill=\"#FFFFFF\" fill-rule=\"nonzero\">\n <path d=\"M12.7265625,0 L0,12.6210938 L1.0546875,13.5703125 L13.78125,1.0546875 L12.7265625,0 Z M13.7460938,12.5507812 L1.01953125,0 L0,1.01953125 L12.7617188,13.6054688 L13.7460938,12.5507812 Z\"></path>\n </g>\n </g>\n </g>\n </svg>`;\n const bCloseWithinFrame = false;\n elCloseBtn = document.createElement('img');\n elCloseBtn.onclick = fnCloseAndReject;\n elCloseBtn.src = `data:image/svg+xml;base64,${btoa(svgCloseBtn)}`;\n const oBtnStyle = elCloseBtn.style;\n oBtnStyle.cursor = 'pointer';\n // If svg doesn't set width and height might want to set oBtStyle width and height to something like '2em'\n oBtnStyle.position = 'absolute';\n oBtnStyle.display = 'none';\n oBtnStyle.zIndex = nFrameZLevel + 1;\n const nTopOffset = bCloseWithinFrame ? 5 : -10;\n const nRightOffset = bCloseWithinFrame ? -34 : -20;\n const nTop = Math.round(Math.max(window.innerHeight - loginBoxHeight, 0) / 2) + nTopOffset;\n oBtnStyle.top = `${nTop}px`;\n const nLeft = Math.round(Math.max(window.innerWidth - loginBoxWidth, 0) / 2) + loginBoxWidth + nRightOffset;\n oBtnStyle.left = `${nLeft}px`;\n document.body.insertBefore(elCloseBtn, document.body.firstChild);\n // If the password was wrong, then the login screen will be in the iframe\n // ..and with Pega without realization of US-372314 it may replace the top (main portal) window\n // For now set a timer and if the timer expires, remove the iFrame and use same url within\n // visible window\n tmrAuthComplete = setTimeout(() => {\n clearTimeout(tmrAuthComplete);\n /*\n // remove password from config\n if (this.#config.password) {\n delete this.#config.password;\n this.#updateConfig();\n }\n */\n // Display the iframe where the redirects did not succeed (or invoke a popup window)\n if (this.#config.iframeLoginUI) {\n elIframe.style.display = 'block';\n elCloseBtn.style.display = 'block';\n } else {\n fnCloseIframe();\n fnOpenPopup();\n }\n }, iframeTimeout);\n } else {\n if (this.isNode) {\n // Determine port to listen to by extracting it from redirect uri\n const { redirectUri, cert, key } = this.#config;\n const isHttp = redirectUri.startsWith('http:');\n const nLocalhost = redirectUri.indexOf('localhost:');\n const nSlash = redirectUri.indexOf('/', nLocalhost + 10);\n const nPort = parseInt(redirectUri.substring(nLocalhost + 10, nSlash), 10);\n if (nLocalhost !== -1) {\n const options =\n key && cert && !isHttp\n ? {\n key: this.fs.readFileSync(key),\n cert: this.fs.readFileSync(cert)\n }\n : {};\n const server = (isHttp ? this.http : this.https).createServer(options, (req, res) => {\n const { winTitle, winBodyHtml } = this.#config;\n res.writeHead(200, { 'Content-Type': 'text/html' });\n // Auto closing window for now. Can always leave it up and allow authConfig props to set title and bodyHtml\n res.end(\n `<html><head><title>${winTitle}</title><script>window.close();</script></head><body>${winBodyHtml}</body></html>`\n );\n const queryString = req.url.split('?')[1];\n const urlParams = new URLSearchParams(queryString);\n const code = urlParams.get('code');\n const state1 = urlParams.get('state');\n const error = urlParams.get('error');\n const errorDesc = urlParams.get('error_description');\n if (error || (code && state1 === this.#dynState.state)) {\n // Stop receiving connections and close when all are handled.\n server.close();\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n fnGetTokenAndFinish(code, error, errorDesc);\n }\n });\n /* eslint-enable no-undef */\n server.listen(nPort);\n }\n }\n fnOpenPopup();\n }\n };\n\n /* Retrieve token(s) and close login window */\n const fnGetTokenAndFinish = (code, error, errorDesc) => {\n // Can clear state in session info at this point\n delete this.#dynState.state;\n this.#updateConfig();\n\n if (!this.isNode) {\n fnEnableMessageReceiver(false);\n if (bWinIframe) {\n clearTimeout(tmrAuthComplete);\n fnCloseIframe();\n } else {\n clearInterval(checkWindowClosed);\n myWindow.close();\n }\n }\n if (code) {\n this.getToken(code)\n .then((token) => {\n resolve(token);\n })\n .catch((e) => {\n reject(e);\n });\n } else if (error) {\n // Handle some errors in a special manner and pass others back to client\n if (error === 'login_required') {\n // eslint-disable-next-line no-console\n console.warn('silent authentication failed...starting full authentication');\n const bSpecialDebugPath = false;\n if (bSpecialDebugPath) {\n fnSetSilentAuthFailed(false);\n bDisablePromptNone = true;\n } else {\n fnSetSilentAuthFailed(true);\n bDisablePromptNone = false;\n }\n this.#buildAuthorizeUrl(state).then((url) => {\n theUrl = url;\n doAuthorize();\n });\n } else if (error === 'invalid_session_index') {\n // eslint-disable-next-line no-console\n console.warn('auth session no longer valid...starting new session');\n // In these scenarios, not much user can do without just starting a new session, so do that\n this.#updateSessionIndex(null);\n fnSetSilentAuthFailed(false);\n this.#buildAuthorizeUrl(state).then((url) => {\n theUrl = url;\n doAuthorize();\n });\n } else {\n // eslint-disable-next-line no-console\n console.warn(`Authorize failed: ${error}. ${errorDesc}\\nFailing authorize url: ${theUrl}`);\n throw new Error(error, { cause: errorDesc });\n }\n }\n };\n\n this.#buildAuthorizeUrl(state).then((url) => {\n theUrl = url;\n doAuthorize();\n });\n });\n }\n\n // Login redirect\n loginRedirect() {\n // eslint-disable-next-line no-restricted-globals\n const state = btoa(location.origin);\n this.#buildAuthorizeUrl(state).then((url) => {\n // eslint-disable-next-line no-restricted-globals\n location.href = url;\n });\n }\n\n // check state\n checkStateMatch(state) {\n return state === this.#dynState.state;\n }\n\n // Clear session index within config\n #updateSessionIndex(sessionIndex) {\n if (sessionIndex) {\n this.#dynState.sessionIndex = sessionIndex;\n this.#dynState.sessionIndexAttempts = 0;\n } else if (this.#dynState.sessionIndex) {\n delete this.#dynState.sessionIndex;\n }\n this.#updateConfig();\n }\n\n // For PKCE token endpoint includes code_verifier\n getToken(authCode) {\n // Reload config to pick up the previously stored codeVerifier\n this.#reloadConfig();\n\n const {\n serverType,\n isolationId,\n clientId,\n clientSecret,\n tokenUri,\n grantType,\n customTokenParams,\n userIdentifier,\n password,\n noPKCE\n } = this.#config;\n\n const {\n sessionIndex,\n acRedirectUri,\n codeVerifier\n } = this.#dynState;\n\n const bAuthCode = !grantType || grantType === 'authCode';\n if (bAuthCode && !authCode && !this.isNode) {\n const queryString = window.location.search;\n const urlParams = new URLSearchParams(queryString);\n authCode = urlParams.get('code');\n }\n\n const formData = new URLSearchParams();\n formData.append('client_id', clientId);\n if (clientSecret) {\n formData.append('client_secret', clientSecret);\n }\n /* eslint-disable camelcase */\n const fullGTName = {\n authCode: 'authorization_code',\n clientCreds: 'client_credentials',\n customBearer: 'custom-bearer',\n passwordCreds: 'password'\n }[grantType];\n const grant_type = fullGTName || grantType || 'authorization_code';\n formData.append('grant_type', grant_type);\n if (serverType === 'launchpad' && grantType !== 'authCode') {\n formData.append('isolation_ids', isolationId);\n }\n if (bAuthCode) {\n formData.append('code', authCode);\n formData.append('redirect_uri', acRedirectUri);\n if (!noPKCE) {\n formData.append('code_verifier', codeVerifier);\n }\n } else if (sessionIndex) {\n formData.append('session_index', sessionIndex);\n }\n /* eslint-enable camelcase */\n if (grantType === 'customBearer' && customTokenParams) {\n Object.keys(customTokenParams).forEach((param) => {\n formData.append(param, customTokenParams[param]);\n });\n }\n if (grantType !== 'authCode') {\n formData.append('enable_psyncId', 'true');\n }\n if (grantType === 'passwordCreds') {\n formData.append('username', userIdentifier);\n formData.append('password', atob(password));\n }\n\n return fetch(tokenUri, {\n agent: this.#getAgent(),\n method: 'POST',\n headers: new Headers({\n 'content-type': this.urlencoded\n }),\n\n body: formData.toString()\n })\n .then((response) => response.json())\n .then((token) => {\n if (token.errors || token.error) {\n // eslint-disable-next-line no-console\n console.error(`Token endpoint error: ${JSON.stringify(token.errors || token.error)}`);\n } else {\n // .expires_in contains the # of seconds before access token expires\n // add property to keep track of current time when the token expires\n token.eA = Date.now() + token.expires_in * 1000;\n // Clear authCode related config state: state, codeVerifier, acRedirectUri\n if (this.#dynState.state) {\n delete this.#dynState.state;\n }\n if (this.#dynState.codeVerifier) {\n delete this.#dynState.codeVerifier;\n }\n if (this.#dynState.acRedirectUri) {\n delete this.#dynState.acRedirectUri;\n }\n // If there is a session_index then move this to the peConfig structure (as used on authorize)\n if (token.session_index) {\n this.#dynState.sessionIndex = token.session_index;\n }\n // If we got a token and have a session index, then reset the sessionIndexAttempts\n if (this.#dynState.sessionIndex) {\n this.#dynState.sessionIndexAttempts = 0;\n }\n this.#updateConfig();\n }\n return token;\n })\n .catch((e) => {\n // eslint-disable-next-line no-console\n console.error(`Token endpoint error: ${e}`);\n });\n }\n\n /* eslint-disable camelcase */\n async refreshToken(refresh_token) {\n const { clientId, clientSecret, tokenUri } = this.#config;\n\n if (this.isNode && !this.crypto) {\n // Deferring dynamic loading of node libraries til this first method to avoid doing this in constructor\n await this.#importNodeLibs();\n }\n\n if (!refresh_token) {\n return null;\n }\n\n const formData = new URLSearchParams();\n formData.append('client_id', clientId);\n if (clientSecret) {\n formData.append('client_secret', clientSecret);\n }\n formData.append('grant_type', 'refresh_token');\n formData.append('refresh_token', refresh_token);\n\n return fetch(tokenUri, {\n agent: this.#getAgent(),\n method: 'POST',\n headers: new Headers({\n 'content-type': this.urlencoded\n }),\n\n body: formData.toString()\n })\n .then((response) => {\n if (!response.ok && response.status === 401) {\n return null;\n }\n return response.json();\n })\n .then((token) => {\n if (token) {\n // .expires_in contains the # of seconds before access token expires\n // add property to keep track of current time when the token expires\n token.eA = Date.now() + token.expires_in * 1000;\n }\n return token;\n })\n .catch((e) => {\n // eslint-disable-next-line no-console\n console.warn(`Refresh token failed: ${e}`);\n return null;\n });\n }\n\n async revokeTokens(access_token, refresh_token = null) {\n if (Object.keys(this.#config).length === 0) {\n // Must have a config structure to proceed\n return;\n }\n const { clientId, clientSecret, revokeUri } = this.#config;\n\n if (this.isNode && !this.crypto) {\n // Deferring dynamic loading of node libraries til this first method to avoid doing this in constructor\n await this.#importNodeLibs();\n }\n\n const hdrs = { 'content-type': this.urlencoded };\n if (clientSecret) {\n const basicCreds = btoa(`${clientId}:${clientSecret}`);\n hdrs.authorization = `Basic ${basicCreds}`;\n }\n const aTknProps = ['access_token'];\n if (refresh_token) {\n aTknProps.push('refresh_token');\n }\n aTknProps.forEach((prop) => {\n const formData = new URLSearchParams();\n if (!clientSecret) {\n formData.append('client_id', clientId);\n }\n formData.append('token', prop === 'access_token' ? access_token : refresh_token);\n formData.append('token_type_hint', prop);\n fetch(revokeUri, {\n agent: this.#getAgent(),\n method: 'POST',\n headers: new Headers(hdrs),\n body: formData.toString()\n })\n .then((response) => {\n if (!response.ok) {\n // eslint-disable-next-line no-console\n console.error(`Error revoking ${prop}:${response.status}`);\n }\n })\n .catch((e) => {\n // eslint-disable-next-line no-console\n console.error(`Error revoking ${prop}; ${e}`);\n });\n });\n this.#config.silentAuthFailed = false;\n // Also clobber any sessionIndex\n this.#updateSessionIndex(null);\n }\n /* eslint-enable camelcase */\n\n #sha256Hash(str) {\n // Found that the Node implementation of subtle.digest is yielding incorrect results\n // so using a different set of apis to get expected results.\n if (this.isNode) {\n return new Promise((resolve) => {\n resolve(this.crypto.createHash('sha256').update(str).digest());\n });\n }\n return this.subtle.digest('SHA-256', new TextEncoder().encode(str));\n }\n\n // Base64 encode\n /* eslint-disable-next-line class-methods-use-this */\n #encode64(buff) {\n return btoa(new Uint8Array(buff).reduce((s, b) => s + String.fromCharCode(b), ''));\n }\n\n /*\n * Base64 url safe encoding of an array\n */\n #base64UrlSafeEncode(buf) {\n return this.#encode64(buf).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=/g, '');\n }\n\n /*\n * Get Random string starting with buffer of specified size\n */\n #getRandomString(nSize) {\n const buf = new Uint8Array(nSize);\n this.crypto.getRandomValues(buf);\n return this.#base64UrlSafeEncode(buf);\n }\n\n /* Calc code verifier if necessary\n */\n /* eslint-disable camelcase */\n async #getCodeChallenge(code_verifier) {\n return this.#sha256Hash(code_verifier)\n .then((hashed) => {\n return this.#base64UrlSafeEncode(hashed);\n })\n .catch((error) => {\n // eslint-disable-next-line no-console\n console.error(`Error calculation code challenge for PKCE: ${error}`);\n })\n .finally(() => {\n return null;\n });\n }\n /* eslint-enable camelcase */\n\n /*\n * Return agent value for POST commands\n */\n #getAgent() {\n if (this.isNode && this.#config.ignoreInvalidCerts) {\n const options = { rejectUnauthorized: false };\n if (this.#config.legacyTLS) {\n options.secureOptions = this.crypto.constants.SSL_OP_LEGACY_SERVER_CONNECT;\n }\n return new this.https.Agent(options);\n }\n return undefined;\n }\n }\n\n export default PegaAuth;\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Retrieve UserInfo for current authentication service
|
|
3
|
-
*/
|
|
4
|
-
export declare const getUserInfo: () => any;
|
|
5
|
-
export declare const login: (bFullReauth?: boolean) => void;
|
|
6
|
-
export declare const authRedirectCallback: (href: any, fnLoggedInCB?: any) => void;
|
|
7
|
-
/**
|
|
8
|
-
* Silent or visible login based on login status
|
|
9
|
-
* @param {string} appName - unique name for application route (will be used to clear an session storage for another route)
|
|
10
|
-
* @param {boolean} noMainRedirect - avoid the initial main window redirect that happens in scenarios where it is OK to transition
|
|
11
|
-
* away from the main page
|
|
12
|
-
* @param {boolean} deferLogin - defer logging in (if not already authenticated)
|
|
13
|
-
*/
|
|
14
|
-
export declare const loginIfNecessary: (loginProps: any) => void;
|
|
15
|
-
export declare const getHomeUrl: () => string;
|
|
16
|
-
export declare const authIsMainRedirect: () => boolean;
|
|
17
|
-
export declare const sdkIsLoggedIn: () => boolean;
|
|
18
|
-
export declare const logout: () => Promise<unknown>;
|
|
19
|
-
export declare const sdkSetAuthHeader: (authHeader: any) => void;
|
|
20
|
-
export declare const getAvailablePortals: () => Promise<void | Object[]>;
|
|
21
|
-
//# sourceMappingURL=authManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authManager.d.ts","sourceRoot":"","sources":["../../../src/components/helpers/authManager.ts"],"names":[],"mappings":"AA82BA;;GAEG;AACH,eAAO,MAAM,WAAW,WAEvB,CAAC;AAEF,eAAO,MAAM,KAAK,iCAEjB,CAAC;AAEF,eAAO,MAAM,oBAAoB,6BAAwB,GAAG,SAE3D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,eAAe,GAAG,SAE9C,CAAC;AAEF,eAAO,MAAM,UAAU,cAEtB,CAAC;AAGF,eAAO,MAAM,kBAAkB,eAG9B,CAAC;AAEF,eAAO,MAAM,aAAa,eAEzB,CAAA;AAED,eAAO,MAAM,MAAM,wBAElB,CAAC;AAIF,eAAO,MAAM,gBAAgB,2BAI5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,gCAE/B,CAAC"}
|