@pega/react-sdk-components 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bridge/Context/StoreContext.d.ts +4 -0
- package/lib/bridge/Context/StoreContext.d.ts.map +1 -0
- package/lib/bridge/Context/StoreContext.js +10 -0
- package/lib/bridge/Context/StoreContext.js.map +1 -0
- package/lib/bridge/helpers/sdk_component_map.d.ts +3 -0
- package/lib/bridge/helpers/sdk_component_map.d.ts.map +1 -0
- package/lib/bridge/helpers/sdk_component_map.js +239 -0
- package/lib/bridge/helpers/sdk_component_map.js.map +1 -0
- package/lib/bridge/react_pconnect.d.ts +9 -0
- package/lib/bridge/react_pconnect.d.ts.map +1 -0
- package/lib/bridge/react_pconnect.js +334 -0
- package/lib/bridge/react_pconnect.js.map +1 -0
- package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.css +19 -0
- package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.d.ts +13 -0
- package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.js +102 -0
- package/lib/components/designSystemExtensions/CaseSummaryFields/CaseSummaryFields.js.map +1 -0
- package/lib/components/designSystemExtensions/CaseSummaryFields/index.d.ts +2 -0
- package/lib/components/designSystemExtensions/CaseSummaryFields/index.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/CaseSummaryFields/index.js +2 -0
- package/lib/components/designSystemExtensions/CaseSummaryFields/index.js.map +1 -0
- package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.d.ts +13 -0
- package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.js +112 -0
- package/lib/components/designSystemExtensions/DetailsFields/DetailsFields.js.map +1 -0
- package/lib/components/designSystemExtensions/DetailsFields/index.d.ts +2 -0
- package/lib/components/designSystemExtensions/DetailsFields/index.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/DetailsFields/index.js +2 -0
- package/lib/components/designSystemExtensions/DetailsFields/index.js.map +1 -0
- package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.d.ts +4 -0
- package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.js +76 -0
- package/lib/components/designSystemExtensions/FieldGroup/FieldGroup.js.map +1 -0
- package/lib/components/designSystemExtensions/FieldGroup/index.d.ts +2 -0
- package/lib/components/designSystemExtensions/FieldGroup/index.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/FieldGroup/index.js +2 -0
- package/lib/components/designSystemExtensions/FieldGroup/index.js.map +1 -0
- package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.d.ts +4 -0
- package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.js +27 -0
- package/lib/components/designSystemExtensions/FieldGroupList/FieldGroupList.js.map +1 -0
- package/lib/components/designSystemExtensions/FieldGroupList/index.d.ts +2 -0
- package/lib/components/designSystemExtensions/FieldGroupList/index.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/FieldGroupList/index.js +2 -0
- package/lib/components/designSystemExtensions/FieldGroupList/index.js.map +1 -0
- package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.d.ts +4 -0
- package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.js +69 -0
- package/lib/components/designSystemExtensions/FieldValueList/FieldValueList.js.map +1 -0
- package/lib/components/designSystemExtensions/FieldValueList/index.d.ts +2 -0
- package/lib/components/designSystemExtensions/FieldValueList/index.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/FieldValueList/index.js +2 -0
- package/lib/components/designSystemExtensions/FieldValueList/index.js.map +1 -0
- package/lib/components/designSystemExtensions/Operator/Operator.d.ts +11 -0
- package/lib/components/designSystemExtensions/Operator/Operator.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/Operator/Operator.js +154 -0
- package/lib/components/designSystemExtensions/Operator/Operator.js.map +1 -0
- package/lib/components/designSystemExtensions/Operator/index.d.ts +2 -0
- package/lib/components/designSystemExtensions/Operator/index.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/Operator/index.js +2 -0
- package/lib/components/designSystemExtensions/Operator/index.js.map +1 -0
- package/lib/components/designSystemExtensions/Pulse/Pulse.d.ts +3 -0
- package/lib/components/designSystemExtensions/Pulse/Pulse.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/Pulse/Pulse.js +24 -0
- package/lib/components/designSystemExtensions/Pulse/Pulse.js.map +1 -0
- package/lib/components/designSystemExtensions/Pulse/index.d.ts +2 -0
- package/lib/components/designSystemExtensions/Pulse/index.d.ts.map +1 -0
- package/lib/components/designSystemExtensions/Pulse/index.js +2 -0
- package/lib/components/designSystemExtensions/Pulse/index.js.map +1 -0
- package/lib/components/forms/AutoComplete/AutoComplete.d.ts +3 -0
- package/lib/components/forms/AutoComplete/AutoComplete.d.ts.map +1 -0
- package/lib/components/forms/AutoComplete/AutoComplete.js +118 -0
- package/lib/components/forms/AutoComplete/AutoComplete.js.map +1 -0
- package/lib/components/forms/AutoComplete/index.d.ts +2 -0
- package/lib/components/forms/AutoComplete/index.d.ts.map +1 -0
- package/lib/components/forms/AutoComplete/index.js +2 -0
- package/lib/components/forms/AutoComplete/index.js.map +1 -0
- package/lib/components/forms/CancelAlert/CancelAlert.css +24 -0
- package/lib/components/forms/CancelAlert/CancelAlert.d.ts +5 -0
- package/lib/components/forms/CancelAlert/CancelAlert.d.ts.map +1 -0
- package/lib/components/forms/CancelAlert/CancelAlert.js +81 -0
- package/lib/components/forms/CancelAlert/CancelAlert.js.map +1 -0
- package/lib/components/forms/CancelAlert/index.d.ts +2 -0
- package/lib/components/forms/CancelAlert/index.d.ts.map +1 -0
- package/lib/components/forms/CancelAlert/index.js +2 -0
- package/lib/components/forms/CancelAlert/index.js.map +1 -0
- package/lib/components/forms/Checkbox/Checkbox.d.ts +3 -0
- package/lib/components/forms/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/components/forms/Checkbox/Checkbox.js +34 -0
- package/lib/components/forms/Checkbox/Checkbox.js.map +1 -0
- package/lib/components/forms/Checkbox/index.d.ts +2 -0
- package/lib/components/forms/Checkbox/index.d.ts.map +1 -0
- package/lib/components/forms/Checkbox/index.js +2 -0
- package/lib/components/forms/Checkbox/index.js.map +1 -0
- package/lib/components/forms/Currency/Currency.d.ts +3 -0
- package/lib/components/forms/Currency/Currency.d.ts.map +1 -0
- package/lib/components/forms/Currency/Currency.js +46 -0
- package/lib/components/forms/Currency/Currency.js.map +1 -0
- package/lib/components/forms/Currency/index.d.ts +2 -0
- package/lib/components/forms/Currency/index.d.ts.map +1 -0
- package/lib/components/forms/Currency/index.js +2 -0
- package/lib/components/forms/Currency/index.js.map +1 -0
- package/lib/components/forms/Date/Date.d.ts +3 -0
- package/lib/components/forms/Date/Date.d.ts.map +1 -0
- package/lib/components/forms/Date/Date.js +36 -0
- package/lib/components/forms/Date/Date.js.map +1 -0
- package/lib/components/forms/Date/index.d.ts +2 -0
- package/lib/components/forms/Date/index.d.ts.map +1 -0
- package/lib/components/forms/Date/index.js +2 -0
- package/lib/components/forms/Date/index.js.map +1 -0
- package/lib/components/forms/DateTime/DateTime.d.ts +3 -0
- package/lib/components/forms/DateTime/DateTime.d.ts.map +1 -0
- package/lib/components/forms/DateTime/DateTime.js +35 -0
- package/lib/components/forms/DateTime/DateTime.js.map +1 -0
- package/lib/components/forms/DateTime/index.d.ts +2 -0
- package/lib/components/forms/DateTime/index.d.ts.map +1 -0
- package/lib/components/forms/DateTime/index.js +2 -0
- package/lib/components/forms/DateTime/index.js.map +1 -0
- package/lib/components/forms/Decimal/Decimal.d.ts +3 -0
- package/lib/components/forms/Decimal/Decimal.d.ts.map +1 -0
- package/lib/components/forms/Decimal/Decimal.js +19 -0
- package/lib/components/forms/Decimal/Decimal.js.map +1 -0
- package/lib/components/forms/Decimal/index.d.ts +2 -0
- package/lib/components/forms/Decimal/index.d.ts.map +1 -0
- package/lib/components/forms/Decimal/index.js +2 -0
- package/lib/components/forms/Decimal/index.js.map +1 -0
- package/lib/components/forms/Dropdown/Dropdown.d.ts +3 -0
- package/lib/components/forms/Dropdown/Dropdown.d.ts.map +1 -0
- package/lib/components/forms/Dropdown/Dropdown.js +34 -0
- package/lib/components/forms/Dropdown/Dropdown.js.map +1 -0
- package/lib/components/forms/Dropdown/index.d.ts +2 -0
- package/lib/components/forms/Dropdown/index.d.ts.map +1 -0
- package/lib/components/forms/Dropdown/index.js +2 -0
- package/lib/components/forms/Dropdown/index.js.map +1 -0
- package/lib/components/forms/Email/Email.d.ts +3 -0
- package/lib/components/forms/Email/Email.d.ts.map +1 -0
- package/lib/components/forms/Email/Email.js +28 -0
- package/lib/components/forms/Email/Email.js.map +1 -0
- package/lib/components/forms/Email/index.d.ts +2 -0
- package/lib/components/forms/Email/index.d.ts.map +1 -0
- package/lib/components/forms/Email/index.js +2 -0
- package/lib/components/forms/Email/index.js.map +1 -0
- package/lib/components/forms/Integer/Integer.d.ts +3 -0
- package/lib/components/forms/Integer/Integer.d.ts.map +1 -0
- package/lib/components/forms/Integer/Integer.js +37 -0
- package/lib/components/forms/Integer/Integer.js.map +1 -0
- package/lib/components/forms/Integer/index.d.ts +2 -0
- package/lib/components/forms/Integer/index.d.ts.map +1 -0
- package/lib/components/forms/Integer/index.js +2 -0
- package/lib/components/forms/Integer/index.js.map +1 -0
- package/lib/components/forms/Percentage/Percentage.d.ts +3 -0
- package/lib/components/forms/Percentage/Percentage.d.ts.map +1 -0
- package/lib/components/forms/Percentage/Percentage.js +42 -0
- package/lib/components/forms/Percentage/Percentage.js.map +1 -0
- package/lib/components/forms/Percentage/index.d.ts +2 -0
- package/lib/components/forms/Percentage/index.d.ts.map +1 -0
- package/lib/components/forms/Percentage/index.js +2 -0
- package/lib/components/forms/Percentage/index.js.map +1 -0
- package/lib/components/forms/Phone/Phone.d.ts +3 -0
- package/lib/components/forms/Phone/Phone.d.ts.map +1 -0
- package/lib/components/forms/Phone/Phone.js +36 -0
- package/lib/components/forms/Phone/Phone.js.map +1 -0
- package/lib/components/forms/Phone/index.d.ts +2 -0
- package/lib/components/forms/Phone/index.d.ts.map +1 -0
- package/lib/components/forms/Phone/index.js +2 -0
- package/lib/components/forms/Phone/index.js.map +1 -0
- package/lib/components/forms/RadioButtons/RadioButtons.d.ts +3 -0
- package/lib/components/forms/RadioButtons/RadioButtons.d.ts.map +1 -0
- package/lib/components/forms/RadioButtons/RadioButtons.js +33 -0
- package/lib/components/forms/RadioButtons/RadioButtons.js.map +1 -0
- package/lib/components/forms/RadioButtons/index.d.ts +2 -0
- package/lib/components/forms/RadioButtons/index.d.ts.map +1 -0
- package/lib/components/forms/RadioButtons/index.js +2 -0
- package/lib/components/forms/RadioButtons/index.js.map +1 -0
- package/lib/components/forms/SemanticLink/SemanticLink.d.ts +12 -0
- package/lib/components/forms/SemanticLink/SemanticLink.d.ts.map +1 -0
- package/lib/components/forms/SemanticLink/SemanticLink.js +55 -0
- package/lib/components/forms/SemanticLink/SemanticLink.js.map +1 -0
- package/lib/components/forms/SemanticLink/index.d.ts +2 -0
- package/lib/components/forms/SemanticLink/index.d.ts.map +1 -0
- package/lib/components/forms/SemanticLink/index.js +2 -0
- package/lib/components/forms/SemanticLink/index.js.map +1 -0
- package/lib/components/forms/SemanticLink/utils.d.ts +14 -0
- package/lib/components/forms/SemanticLink/utils.d.ts.map +1 -0
- package/lib/components/forms/SemanticLink/utils.js +42 -0
- package/lib/components/forms/SemanticLink/utils.js.map +1 -0
- package/lib/components/forms/TextArea/TextArea.d.ts +3 -0
- package/lib/components/forms/TextArea/TextArea.d.ts.map +1 -0
- package/lib/components/forms/TextArea/TextArea.js +26 -0
- package/lib/components/forms/TextArea/TextArea.js.map +1 -0
- package/lib/components/forms/TextArea/index.d.ts +2 -0
- package/lib/components/forms/TextArea/index.d.ts.map +1 -0
- package/lib/components/forms/TextArea/index.js +2 -0
- package/lib/components/forms/TextArea/index.js.map +1 -0
- package/lib/components/forms/TextContent/TextContent.d.ts +3 -0
- package/lib/components/forms/TextContent/TextContent.d.ts.map +1 -0
- package/lib/components/forms/TextContent/TextContent.js +29 -0
- package/lib/components/forms/TextContent/TextContent.js.map +1 -0
- package/lib/components/forms/TextContent/index.d.ts +2 -0
- package/lib/components/forms/TextContent/index.d.ts.map +1 -0
- package/lib/components/forms/TextContent/index.js +2 -0
- package/lib/components/forms/TextContent/index.js.map +1 -0
- package/lib/components/forms/TextInput/TextInput.d.ts +3 -0
- package/lib/components/forms/TextInput/TextInput.d.ts.map +1 -0
- package/lib/components/forms/TextInput/TextInput.js +24 -0
- package/lib/components/forms/TextInput/TextInput.js.map +1 -0
- package/lib/components/forms/TextInput/index.d.ts +2 -0
- package/lib/components/forms/TextInput/index.d.ts.map +1 -0
- package/lib/components/forms/TextInput/index.js +2 -0
- package/lib/components/forms/TextInput/index.js.map +1 -0
- package/lib/components/forms/Time/Time.d.ts +3 -0
- package/lib/components/forms/Time/Time.d.ts.map +1 -0
- package/lib/components/forms/Time/Time.js +34 -0
- package/lib/components/forms/Time/Time.js.map +1 -0
- package/lib/components/forms/Time/index.d.ts +2 -0
- package/lib/components/forms/Time/index.d.ts.map +1 -0
- package/lib/components/forms/Time/index.js +2 -0
- package/lib/components/forms/Time/index.js.map +1 -0
- package/lib/components/forms/URL/URL.d.ts +3 -0
- package/lib/components/forms/URL/URL.d.ts.map +1 -0
- package/lib/components/forms/URL/URL.js +22 -0
- package/lib/components/forms/URL/URL.js.map +1 -0
- package/lib/components/forms/URL/index.d.ts +2 -0
- package/lib/components/forms/URL/index.d.ts.map +1 -0
- package/lib/components/forms/URL/index.js +2 -0
- package/lib/components/forms/URL/index.js.map +1 -0
- package/lib/components/forms/UserReference/UserReference.d.ts +43 -0
- package/lib/components/forms/UserReference/UserReference.d.ts.map +1 -0
- package/lib/components/forms/UserReference/UserReference.js +127 -0
- package/lib/components/forms/UserReference/UserReference.js.map +1 -0
- package/lib/components/forms/UserReference/UserReferenceUtils.d.ts +3 -0
- package/lib/components/forms/UserReference/UserReferenceUtils.d.ts.map +1 -0
- package/lib/components/forms/UserReference/UserReferenceUtils.js +14 -0
- package/lib/components/forms/UserReference/UserReferenceUtils.js.map +1 -0
- package/lib/components/forms/UserReference/index.d.ts +2 -0
- package/lib/components/forms/UserReference/index.d.ts.map +1 -0
- package/lib/components/forms/UserReference/index.js +2 -0
- package/lib/components/forms/UserReference/index.js.map +1 -0
- package/lib/components/helpers/auth.d.ts +16 -0
- package/lib/components/helpers/auth.d.ts.map +1 -0
- package/lib/components/helpers/auth.js +437 -0
- package/lib/components/helpers/auth.js.map +1 -0
- package/lib/components/helpers/authManager.d.ts +18 -0
- package/lib/components/helpers/authManager.d.ts.map +1 -0
- package/lib/components/helpers/authManager.js +588 -0
- package/lib/components/helpers/authManager.js.map +1 -0
- package/lib/components/helpers/config_access.d.ts +3 -0
- package/lib/components/helpers/config_access.d.ts.map +1 -0
- package/lib/components/helpers/config_access.js +268 -0
- package/lib/components/helpers/config_access.js.map +1 -0
- package/lib/components/helpers/data_page.d.ts +2 -0
- package/lib/components/helpers/data_page.d.ts.map +1 -0
- package/lib/components/helpers/data_page.js +23 -0
- package/lib/components/helpers/data_page.js.map +1 -0
- package/lib/components/helpers/event-utils.d.ts +3 -0
- package/lib/components/helpers/event-utils.d.ts.map +1 -0
- package/lib/components/helpers/event-utils.js +19 -0
- package/lib/components/helpers/event-utils.js.map +1 -0
- package/lib/components/helpers/field-group-utils.d.ts +3 -0
- package/lib/components/helpers/field-group-utils.d.ts.map +1 -0
- package/lib/components/helpers/field-group-utils.js +57 -0
- package/lib/components/helpers/field-group-utils.js.map +1 -0
- package/lib/components/helpers/formatters/Boolean.d.ts +5 -0
- package/lib/components/helpers/formatters/Boolean.d.ts.map +1 -0
- package/lib/components/helpers/formatters/Boolean.js +31 -0
- package/lib/components/helpers/formatters/Boolean.js.map +1 -0
- package/lib/components/helpers/formatters/Currency.d.ts +10 -0
- package/lib/components/helpers/formatters/Currency.d.ts.map +1 -0
- package/lib/components/helpers/formatters/Currency.js +62 -0
- package/lib/components/helpers/formatters/Currency.js.map +1 -0
- package/lib/components/helpers/formatters/CurrencyMap.d.ts +1401 -0
- package/lib/components/helpers/formatters/CurrencyMap.d.ts.map +1 -0
- package/lib/components/helpers/formatters/CurrencyMap.js +903 -0
- package/lib/components/helpers/formatters/CurrencyMap.js.map +1 -0
- package/lib/components/helpers/formatters/Date.d.ts +11 -0
- package/lib/components/helpers/formatters/Date.d.ts.map +1 -0
- package/lib/components/helpers/formatters/Date.js +69 -0
- package/lib/components/helpers/formatters/Date.js.map +1 -0
- package/lib/components/helpers/formatters/common.d.ts +3 -0
- package/lib/components/helpers/formatters/common.d.ts.map +1 -0
- package/lib/components/helpers/formatters/common.js +12 -0
- package/lib/components/helpers/formatters/common.js.map +1 -0
- package/lib/components/helpers/formatters/index.d.ts +19 -0
- package/lib/components/helpers/formatters/index.d.ts.map +1 -0
- package/lib/components/helpers/formatters/index.js +104 -0
- package/lib/components/helpers/formatters/index.js.map +1 -0
- package/lib/components/helpers/utils.d.ts +19 -0
- package/lib/components/helpers/utils.d.ts.map +1 -0
- package/lib/components/helpers/utils.js +310 -0
- package/lib/components/helpers/utils.js.map +1 -0
- package/lib/components/helpers/versionHelpers.d.ts +9 -0
- package/lib/components/helpers/versionHelpers.d.ts.map +1 -0
- package/lib/components/helpers/versionHelpers.js +13 -0
- package/lib/components/helpers/versionHelpers.js.map +1 -0
- package/lib/components/infra/ActionButtons/ActionButtons.d.ts +16 -0
- package/lib/components/infra/ActionButtons/ActionButtons.d.ts.map +1 -0
- package/lib/components/infra/ActionButtons/ActionButtons.js +42 -0
- package/lib/components/infra/ActionButtons/ActionButtons.js.map +1 -0
- package/lib/components/infra/ActionButtons/index.d.ts +2 -0
- package/lib/components/infra/ActionButtons/index.d.ts.map +1 -0
- package/lib/components/infra/ActionButtons/index.js +2 -0
- package/lib/components/infra/ActionButtons/index.js.map +1 -0
- package/lib/components/infra/Assignment/Assignment.d.ts +17 -0
- package/lib/components/infra/Assignment/Assignment.d.ts.map +1 -0
- package/lib/components/infra/Assignment/Assignment.js +217 -0
- package/lib/components/infra/Assignment/Assignment.js.map +1 -0
- package/lib/components/infra/Assignment/index.d.ts +2 -0
- package/lib/components/infra/Assignment/index.d.ts.map +1 -0
- package/lib/components/infra/Assignment/index.js +2 -0
- package/lib/components/infra/Assignment/index.js.map +1 -0
- package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts +17 -0
- package/lib/components/infra/AssignmentCard/AssignmentCard.d.ts.map +1 -0
- package/lib/components/infra/AssignmentCard/AssignmentCard.js +35 -0
- package/lib/components/infra/AssignmentCard/AssignmentCard.js.map +1 -0
- package/lib/components/infra/AssignmentCard/index.d.ts +2 -0
- package/lib/components/infra/AssignmentCard/index.d.ts.map +1 -0
- package/lib/components/infra/AssignmentCard/index.js +2 -0
- package/lib/components/infra/AssignmentCard/index.js.map +1 -0
- package/lib/components/infra/Attachment/Attachment.css +18 -0
- package/lib/components/infra/Attachment/Attachment.d.ts +4 -0
- package/lib/components/infra/Attachment/Attachment.d.ts.map +1 -0
- package/lib/components/infra/Attachment/Attachment.js +334 -0
- package/lib/components/infra/Attachment/Attachment.js.map +1 -0
- package/lib/components/infra/Attachment/AttachmentUtils.d.ts +13 -0
- package/lib/components/infra/Attachment/AttachmentUtils.d.ts.map +1 -0
- package/lib/components/infra/Attachment/AttachmentUtils.js +72 -0
- package/lib/components/infra/Attachment/AttachmentUtils.js.map +1 -0
- package/lib/components/infra/Attachment/index.d.ts +2 -0
- package/lib/components/infra/Attachment/index.d.ts.map +1 -0
- package/lib/components/infra/Attachment/index.js +2 -0
- package/lib/components/infra/Attachment/index.js.map +1 -0
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts +23 -0
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.d.ts.map +1 -0
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js +370 -0
- package/lib/components/infra/Containers/FlowContainer/FlowContainer.js.map +1 -0
- package/lib/components/infra/Containers/FlowContainer/helpers.d.ts +13 -0
- package/lib/components/infra/Containers/FlowContainer/helpers.d.ts.map +1 -0
- package/lib/components/infra/Containers/FlowContainer/helpers.js +117 -0
- package/lib/components/infra/Containers/FlowContainer/helpers.js.map +1 -0
- package/lib/components/infra/Containers/FlowContainer/index.d.ts +2 -0
- package/lib/components/infra/Containers/FlowContainer/index.d.ts.map +1 -0
- package/lib/components/infra/Containers/FlowContainer/index.js +2 -0
- package/lib/components/infra/Containers/FlowContainer/index.js.map +1 -0
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts +19 -0
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.d.ts.map +1 -0
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js +248 -0
- package/lib/components/infra/Containers/ModalViewContainer/ModalViewContainer.js.map +1 -0
- package/lib/components/infra/Containers/ModalViewContainer/index.d.ts +2 -0
- package/lib/components/infra/Containers/ModalViewContainer/index.d.ts.map +1 -0
- package/lib/components/infra/Containers/ModalViewContainer/index.js +2 -0
- package/lib/components/infra/Containers/ModalViewContainer/index.js.map +1 -0
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts +25 -0
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.d.ts.map +1 -0
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.js +167 -0
- package/lib/components/infra/Containers/ViewContainer/ViewContainer.js.map +1 -0
- package/lib/components/infra/Containers/ViewContainer/index.d.ts +2 -0
- package/lib/components/infra/Containers/ViewContainer/index.d.ts.map +1 -0
- package/lib/components/infra/Containers/ViewContainer/index.js +2 -0
- package/lib/components/infra/Containers/ViewContainer/index.js.map +1 -0
- package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts +23 -0
- package/lib/components/infra/DashboardFilter/DashboardFilter.d.ts.map +1 -0
- package/lib/components/infra/DashboardFilter/DashboardFilter.js +110 -0
- package/lib/components/infra/DashboardFilter/DashboardFilter.js.map +1 -0
- package/lib/components/infra/DashboardFilter/filterUtils.d.ts +35 -0
- package/lib/components/infra/DashboardFilter/filterUtils.d.ts.map +1 -0
- package/lib/components/infra/DashboardFilter/filterUtils.js +134 -0
- package/lib/components/infra/DashboardFilter/filterUtils.js.map +1 -0
- package/lib/components/infra/DashboardFilter/index.d.ts +2 -0
- package/lib/components/infra/DashboardFilter/index.d.ts.map +1 -0
- package/lib/components/infra/DashboardFilter/index.js +2 -0
- package/lib/components/infra/DashboardFilter/index.js.map +1 -0
- package/lib/components/infra/DeferLoad/DeferLoad.d.ts +15 -0
- package/lib/components/infra/DeferLoad/DeferLoad.d.ts.map +1 -0
- package/lib/components/infra/DeferLoad/DeferLoad.js +139 -0
- package/lib/components/infra/DeferLoad/DeferLoad.js.map +1 -0
- package/lib/components/infra/DeferLoad/index.d.ts +2 -0
- package/lib/components/infra/DeferLoad/index.d.ts.map +1 -0
- package/lib/components/infra/DeferLoad/index.js +2 -0
- package/lib/components/infra/DeferLoad/index.js.map +1 -0
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts +15 -0
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.d.ts.map +1 -0
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.js +86 -0
- package/lib/components/infra/ErrorBoundary/ErrorBoundary.js.map +1 -0
- package/lib/components/infra/ErrorBoundary/index.d.ts +2 -0
- package/lib/components/infra/ErrorBoundary/index.d.ts.map +1 -0
- package/lib/components/infra/ErrorBoundary/index.js +2 -0
- package/lib/components/infra/ErrorBoundary/index.js.map +1 -0
- package/lib/components/infra/MultiStep/MultiStep.css +261 -0
- package/lib/components/infra/MultiStep/MultiStep.d.ts +21 -0
- package/lib/components/infra/MultiStep/MultiStep.d.ts.map +1 -0
- package/lib/components/infra/MultiStep/MultiStep.js +130 -0
- package/lib/components/infra/MultiStep/MultiStep.js.map +1 -0
- package/lib/components/infra/MultiStep/index.d.ts +2 -0
- package/lib/components/infra/MultiStep/index.d.ts.map +1 -0
- package/lib/components/infra/MultiStep/index.js +2 -0
- package/lib/components/infra/MultiStep/index.js.map +1 -0
- package/lib/components/infra/NavBar/NavBar.css +170 -0
- package/lib/components/infra/NavBar/NavBar.d.ts +20 -0
- package/lib/components/infra/NavBar/NavBar.d.ts.map +1 -0
- package/lib/components/infra/NavBar/NavBar.js +266 -0
- package/lib/components/infra/NavBar/NavBar.js.map +1 -0
- package/lib/components/infra/NavBar/index.d.ts +2 -0
- package/lib/components/infra/NavBar/index.d.ts.map +1 -0
- package/lib/components/infra/NavBar/index.js +2 -0
- package/lib/components/infra/NavBar/index.js.map +1 -0
- package/lib/components/infra/Reference/Reference.d.ts +20 -0
- package/lib/components/infra/Reference/Reference.d.ts.map +1 -0
- package/lib/components/infra/Reference/Reference.js +48 -0
- package/lib/components/infra/Reference/Reference.js.map +1 -0
- package/lib/components/infra/Reference/index.d.ts +2 -0
- package/lib/components/infra/Reference/index.d.ts.map +1 -0
- package/lib/components/infra/Reference/index.js +2 -0
- package/lib/components/infra/Reference/index.js.map +1 -0
- package/lib/components/infra/Region/Region.d.ts +10 -0
- package/lib/components/infra/Region/Region.d.ts.map +1 -0
- package/lib/components/infra/Region/Region.js +11 -0
- package/lib/components/infra/Region/Region.js.map +1 -0
- package/lib/components/infra/Region/index.d.ts +2 -0
- package/lib/components/infra/Region/index.d.ts.map +1 -0
- package/lib/components/infra/Region/index.js +2 -0
- package/lib/components/infra/Region/index.js.map +1 -0
- package/lib/components/infra/RootContainer/RootContainer.d.ts +22 -0
- package/lib/components/infra/RootContainer/RootContainer.d.ts.map +1 -0
- package/lib/components/infra/RootContainer/RootContainer.js +258 -0
- package/lib/components/infra/RootContainer/RootContainer.js.map +1 -0
- package/lib/components/infra/RootContainer/index.d.ts +2 -0
- package/lib/components/infra/RootContainer/index.d.ts.map +1 -0
- package/lib/components/infra/RootContainer/index.js +2 -0
- package/lib/components/infra/RootContainer/index.js.map +1 -0
- package/lib/components/infra/Stages/Stages.d.ts +11 -0
- package/lib/components/infra/Stages/Stages.d.ts.map +1 -0
- package/lib/components/infra/Stages/Stages.js +94 -0
- package/lib/components/infra/Stages/Stages.js.map +1 -0
- package/lib/components/infra/Stages/index.d.ts +2 -0
- package/lib/components/infra/Stages/index.d.ts.map +1 -0
- package/lib/components/infra/Stages/index.js +2 -0
- package/lib/components/infra/Stages/index.js.map +1 -0
- package/lib/components/infra/ToDo/ToDo.css +87 -0
- package/lib/components/infra/ToDo/ToDo.d.ts +29 -0
- package/lib/components/infra/ToDo/ToDo.d.ts.map +1 -0
- package/lib/components/infra/ToDo/ToDo.js +226 -0
- package/lib/components/infra/ToDo/ToDo.js.map +1 -0
- package/lib/components/infra/ToDo/index.d.ts +2 -0
- package/lib/components/infra/ToDo/index.d.ts.map +1 -0
- package/lib/components/infra/ToDo/index.js +2 -0
- package/lib/components/infra/ToDo/index.js.map +1 -0
- package/lib/components/infra/VerticalTabs/LeftAlignVerticalTab.d.ts +3 -0
- package/lib/components/infra/VerticalTabs/LeftAlignVerticalTab.d.ts.map +1 -0
- package/lib/components/infra/VerticalTabs/LeftAlignVerticalTab.js +23 -0
- package/lib/components/infra/VerticalTabs/LeftAlignVerticalTab.js.map +1 -0
- package/lib/components/infra/VerticalTabs/VerticalTabs.d.ts +13 -0
- package/lib/components/infra/VerticalTabs/VerticalTabs.d.ts.map +1 -0
- package/lib/components/infra/VerticalTabs/VerticalTabs.js +50 -0
- package/lib/components/infra/VerticalTabs/VerticalTabs.js.map +1 -0
- package/lib/components/infra/VerticalTabs/index.d.ts +2 -0
- package/lib/components/infra/VerticalTabs/index.d.ts.map +1 -0
- package/lib/components/infra/VerticalTabs/index.js +2 -0
- package/lib/components/infra/VerticalTabs/index.js.map +1 -0
- package/lib/components/infra/View/View.css +8 -0
- package/lib/components/infra/View/View.d.ts +23 -0
- package/lib/components/infra/View/View.d.ts.map +1 -0
- package/lib/components/infra/View/View.js +136 -0
- package/lib/components/infra/View/View.js.map +1 -0
- package/lib/components/infra/View/index.d.ts +2 -0
- package/lib/components/infra/View/index.d.ts.map +1 -0
- package/lib/components/infra/View/index.js +2 -0
- package/lib/components/infra/View/index.js.map +1 -0
- package/lib/components/templates/AppShell/AppShell.css +40 -0
- package/lib/components/templates/AppShell/AppShell.d.ts +24 -0
- package/lib/components/templates/AppShell/AppShell.d.ts.map +1 -0
- package/lib/components/templates/AppShell/AppShell.js +390 -0
- package/lib/components/templates/AppShell/AppShell.js.map +1 -0
- package/lib/components/templates/AppShell/index.d.ts +2 -0
- package/lib/components/templates/AppShell/index.d.ts.map +1 -0
- package/lib/components/templates/AppShell/index.js +2 -0
- package/lib/components/templates/AppShell/index.js.map +1 -0
- package/lib/components/templates/CaseSummary/CaseSummary.d.ts +10 -0
- package/lib/components/templates/CaseSummary/CaseSummary.d.ts.map +1 -0
- package/lib/components/templates/CaseSummary/CaseSummary.js +40 -0
- package/lib/components/templates/CaseSummary/CaseSummary.js.map +1 -0
- package/lib/components/templates/CaseSummary/index.d.ts +2 -0
- package/lib/components/templates/CaseSummary/index.d.ts.map +1 -0
- package/lib/components/templates/CaseSummary/index.js +2 -0
- package/lib/components/templates/CaseSummary/index.js.map +1 -0
- package/lib/components/templates/CaseView/CaseView.d.ts +25 -0
- package/lib/components/templates/CaseView/CaseView.d.ts.map +1 -0
- package/lib/components/templates/CaseView/CaseView.js +180 -0
- package/lib/components/templates/CaseView/CaseView.js.map +1 -0
- package/lib/components/templates/CaseView/CaseViewActionsMenu.d.ts +16 -0
- package/lib/components/templates/CaseView/CaseViewActionsMenu.d.ts.map +1 -0
- package/lib/components/templates/CaseView/CaseViewActionsMenu.js +43 -0
- package/lib/components/templates/CaseView/CaseViewActionsMenu.js.map +1 -0
- package/lib/components/templates/CaseView/index.d.ts +2 -0
- package/lib/components/templates/CaseView/index.d.ts.map +1 -0
- package/lib/components/templates/CaseView/index.js +2 -0
- package/lib/components/templates/CaseView/index.js.map +1 -0
- package/lib/components/templates/DataReference/DataReference.d.ts +32 -0
- package/lib/components/templates/DataReference/DataReference.d.ts.map +1 -0
- package/lib/components/templates/DataReference/DataReference.js +221 -0
- package/lib/components/templates/DataReference/DataReference.js.map +1 -0
- package/lib/components/templates/DataReference/index.d.ts +2 -0
- package/lib/components/templates/DataReference/index.d.ts.map +1 -0
- package/lib/components/templates/DataReference/index.js +2 -0
- package/lib/components/templates/DataReference/index.js.map +1 -0
- package/lib/components/templates/DefaultForm/DefaultForm.css +25 -0
- package/lib/components/templates/DefaultForm/DefaultForm.d.ts +14 -0
- package/lib/components/templates/DefaultForm/DefaultForm.d.ts.map +1 -0
- package/lib/components/templates/DefaultForm/DefaultForm.js +39 -0
- package/lib/components/templates/DefaultForm/DefaultForm.js.map +1 -0
- package/lib/components/templates/DefaultForm/index.d.ts +2 -0
- package/lib/components/templates/DefaultForm/index.d.ts.map +1 -0
- package/lib/components/templates/DefaultForm/index.js +2 -0
- package/lib/components/templates/DefaultForm/index.js.map +1 -0
- package/lib/components/templates/Details/Details/Details.d.ts +8 -0
- package/lib/components/templates/Details/Details/Details.d.ts.map +1 -0
- package/lib/components/templates/Details/Details/Details.js +24 -0
- package/lib/components/templates/Details/Details/Details.js.map +1 -0
- package/lib/components/templates/Details/Details/index.d.ts +2 -0
- package/lib/components/templates/Details/Details/index.d.ts.map +1 -0
- package/lib/components/templates/Details/Details/index.js +2 -0
- package/lib/components/templates/Details/Details/index.js.map +1 -0
- package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.d.ts +18 -0
- package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.d.ts.map +1 -0
- package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.js +45 -0
- package/lib/components/templates/Details/DetailsSubTabs/DetailsSubTabs.js.map +1 -0
- package/lib/components/templates/Details/DetailsSubTabs/index.d.ts +2 -0
- package/lib/components/templates/Details/DetailsSubTabs/index.d.ts.map +1 -0
- package/lib/components/templates/Details/DetailsSubTabs/index.js +2 -0
- package/lib/components/templates/Details/DetailsSubTabs/index.js.map +1 -0
- package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts +7 -0
- package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.d.ts.map +1 -0
- package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.js +32 -0
- package/lib/components/templates/Details/DetailsThreeColumn/DetailsThreeColumn.js.map +1 -0
- package/lib/components/templates/Details/DetailsThreeColumn/index.d.ts +2 -0
- package/lib/components/templates/Details/DetailsThreeColumn/index.d.ts.map +1 -0
- package/lib/components/templates/Details/DetailsThreeColumn/index.js +2 -0
- package/lib/components/templates/Details/DetailsThreeColumn/index.js.map +1 -0
- package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts +7 -0
- package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.d.ts.map +1 -0
- package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.js +30 -0
- package/lib/components/templates/Details/DetailsTwoColumn/DetailsTwoColumn.js.map +1 -0
- package/lib/components/templates/Details/DetailsTwoColumn/index.d.ts +2 -0
- package/lib/components/templates/Details/DetailsTwoColumn/index.d.ts.map +1 -0
- package/lib/components/templates/Details/DetailsTwoColumn/index.js +2 -0
- package/lib/components/templates/Details/DetailsTwoColumn/index.js.map +1 -0
- package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.d.ts +22 -0
- package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.d.ts.map +1 -0
- package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.js +70 -0
- package/lib/components/templates/FieldGroupTemplate/FieldGroupTemplate.js.map +1 -0
- package/lib/components/templates/FieldGroupTemplate/index.d.ts +2 -0
- package/lib/components/templates/FieldGroupTemplate/index.d.ts.map +1 -0
- package/lib/components/templates/FieldGroupTemplate/index.js +2 -0
- package/lib/components/templates/FieldGroupTemplate/index.js.map +1 -0
- package/lib/components/templates/InlineDashboard/InlineDashboard.d.ts +10 -0
- package/lib/components/templates/InlineDashboard/InlineDashboard.d.ts.map +1 -0
- package/lib/components/templates/InlineDashboard/InlineDashboard.js +48 -0
- package/lib/components/templates/InlineDashboard/InlineDashboard.js.map +1 -0
- package/lib/components/templates/InlineDashboard/index.d.ts +2 -0
- package/lib/components/templates/InlineDashboard/index.d.ts.map +1 -0
- package/lib/components/templates/InlineDashboard/index.js +2 -0
- package/lib/components/templates/InlineDashboard/index.js.map +1 -0
- package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.d.ts +18 -0
- package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.d.ts.map +1 -0
- package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.js +34 -0
- package/lib/components/templates/InlineDashboardPage/InlineDashboardPage.js.map +1 -0
- package/lib/components/templates/InlineDashboardPage/index.d.ts +2 -0
- package/lib/components/templates/InlineDashboardPage/index.d.ts.map +1 -0
- package/lib/components/templates/InlineDashboardPage/index.js +2 -0
- package/lib/components/templates/InlineDashboardPage/index.js.map +1 -0
- package/lib/components/templates/ListPage/ListPage.d.ts +16 -0
- package/lib/components/templates/ListPage/ListPage.d.ts.map +1 -0
- package/lib/components/templates/ListPage/ListPage.js +14 -0
- package/lib/components/templates/ListPage/ListPage.js.map +1 -0
- package/lib/components/templates/ListPage/index.d.ts +2 -0
- package/lib/components/templates/ListPage/index.d.ts.map +1 -0
- package/lib/components/templates/ListPage/index.js +2 -0
- package/lib/components/templates/ListPage/index.js.map +1 -0
- package/lib/components/templates/ListView/ListView.css +10 -0
- package/lib/components/templates/ListView/ListView.d.ts +12 -0
- package/lib/components/templates/ListView/ListView.d.ts.map +1 -0
- package/lib/components/templates/ListView/ListView.js +842 -0
- package/lib/components/templates/ListView/ListView.js.map +1 -0
- package/lib/components/templates/ListView/index.d.ts +2 -0
- package/lib/components/templates/ListView/index.d.ts.map +1 -0
- package/lib/components/templates/ListView/index.js +2 -0
- package/lib/components/templates/ListView/index.js.map +1 -0
- package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts +17 -0
- package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.d.ts.map +1 -0
- package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.js +34 -0
- package/lib/components/templates/MultiReferenceReadOnly/MultiReferenceReadOnly.js.map +1 -0
- package/lib/components/templates/MultiReferenceReadOnly/index.d.ts +2 -0
- package/lib/components/templates/MultiReferenceReadOnly/index.d.ts.map +1 -0
- package/lib/components/templates/MultiReferenceReadOnly/index.js +2 -0
- package/lib/components/templates/MultiReferenceReadOnly/index.js.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.css +21 -0
- package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.d.ts +4 -0
- package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.d.ts.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.js +16 -0
- package/lib/components/templates/NarrowWide/NarrowWide/NarrowWide.js.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWide/index.d.ts +2 -0
- package/lib/components/templates/NarrowWide/NarrowWide/index.d.ts.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWide/index.js +2 -0
- package/lib/components/templates/NarrowWide/NarrowWide/index.js.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts +7 -0
- package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.d.ts.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.js +35 -0
- package/lib/components/templates/NarrowWide/NarrowWideDetails/NarrowWideDetails.js.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWideDetails/index.d.ts +2 -0
- package/lib/components/templates/NarrowWide/NarrowWideDetails/index.d.ts.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWideDetails/index.js +2 -0
- package/lib/components/templates/NarrowWide/NarrowWideDetails/index.js.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.css +21 -0
- package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts +4 -0
- package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.d.ts.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.js +10 -0
- package/lib/components/templates/NarrowWide/NarrowWideForm/NarrowWideForm.js.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWideForm/index.d.ts +2 -0
- package/lib/components/templates/NarrowWide/NarrowWideForm/index.d.ts.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWideForm/index.js +2 -0
- package/lib/components/templates/NarrowWide/NarrowWideForm/index.js.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts +17 -0
- package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.d.ts.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.js +25 -0
- package/lib/components/templates/NarrowWide/NarrowWidePage/NarrowWidePage.js.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWidePage/index.d.ts +2 -0
- package/lib/components/templates/NarrowWide/NarrowWidePage/index.d.ts.map +1 -0
- package/lib/components/templates/NarrowWide/NarrowWidePage/index.js +2 -0
- package/lib/components/templates/NarrowWide/NarrowWidePage/index.js.map +1 -0
- package/lib/components/templates/OneColumn/OneColumn/OneColumn.d.ts +10 -0
- package/lib/components/templates/OneColumn/OneColumn/OneColumn.d.ts.map +1 -0
- package/lib/components/templates/OneColumn/OneColumn/OneColumn.js +22 -0
- package/lib/components/templates/OneColumn/OneColumn/OneColumn.js.map +1 -0
- package/lib/components/templates/OneColumn/OneColumn/index.d.ts +2 -0
- package/lib/components/templates/OneColumn/OneColumn/index.d.ts.map +1 -0
- package/lib/components/templates/OneColumn/OneColumn/index.js +2 -0
- package/lib/components/templates/OneColumn/OneColumn/index.js.map +1 -0
- package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.d.ts +11 -0
- package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.d.ts.map +1 -0
- package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.js +15 -0
- package/lib/components/templates/OneColumn/OneColumnPage/OneColumnPage.js.map +1 -0
- package/lib/components/templates/OneColumn/OneColumnPage/index.d.ts +2 -0
- package/lib/components/templates/OneColumn/OneColumnPage/index.d.ts.map +1 -0
- package/lib/components/templates/OneColumn/OneColumnPage/index.js +2 -0
- package/lib/components/templates/OneColumn/OneColumnPage/index.js.map +1 -0
- package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.d.ts +10 -0
- package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.d.ts.map +1 -0
- package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.js +11 -0
- package/lib/components/templates/OneColumn/OneColumnTab/OneColumnTab.js.map +1 -0
- package/lib/components/templates/OneColumn/OneColumnTab/index.d.ts +2 -0
- package/lib/components/templates/OneColumn/OneColumnTab/index.d.ts.map +1 -0
- package/lib/components/templates/OneColumn/OneColumnTab/index.js +2 -0
- package/lib/components/templates/OneColumn/OneColumnTab/index.js.map +1 -0
- package/lib/components/templates/PromotedFilters/PromotedFilters.css +7 -0
- package/lib/components/templates/PromotedFilters/PromotedFilters.d.ts +17 -0
- package/lib/components/templates/PromotedFilters/PromotedFilters.d.ts.map +1 -0
- package/lib/components/templates/PromotedFilters/PromotedFilters.js +130 -0
- package/lib/components/templates/PromotedFilters/PromotedFilters.js.map +1 -0
- package/lib/components/templates/PromotedFilters/index.d.ts +2 -0
- package/lib/components/templates/PromotedFilters/index.d.ts.map +1 -0
- package/lib/components/templates/PromotedFilters/index.js +2 -0
- package/lib/components/templates/PromotedFilters/index.js.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.d.ts +3 -0
- package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.d.ts.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.js +26 -0
- package/lib/components/templates/SimpleTable/SimpleTable/SimpleTable.js.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTable/index.d.ts +2 -0
- package/lib/components/templates/SimpleTable/SimpleTable/index.d.ts.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTable/index.js +2 -0
- package/lib/components/templates/SimpleTable/SimpleTable/index.js.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts +3 -0
- package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.d.ts.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.js +505 -0
- package/lib/components/templates/SimpleTable/SimpleTableManual/SimpleTableManual.js.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTableManual/index.d.ts +2 -0
- package/lib/components/templates/SimpleTable/SimpleTableManual/index.d.ts.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTableManual/index.js +2 -0
- package/lib/components/templates/SimpleTable/SimpleTableManual/index.js.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts +35 -0
- package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.d.ts.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.js +105 -0
- package/lib/components/templates/SimpleTable/SimpleTableSelect/SimpleTableSelect.js.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTableSelect/index.d.ts +2 -0
- package/lib/components/templates/SimpleTable/SimpleTableSelect/index.d.ts.map +1 -0
- package/lib/components/templates/SimpleTable/SimpleTableSelect/index.js +2 -0
- package/lib/components/templates/SimpleTable/SimpleTableSelect/index.js.map +1 -0
- package/lib/components/templates/SimpleTable/helpers.d.ts +79 -0
- package/lib/components/templates/SimpleTable/helpers.d.ts.map +1 -0
- package/lib/components/templates/SimpleTable/helpers.js +306 -0
- package/lib/components/templates/SimpleTable/helpers.js.map +1 -0
- package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts +28 -0
- package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.d.ts.map +1 -0
- package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.js +51 -0
- package/lib/components/templates/SingleReferenceReadOnly/SingleReferenceReadOnly.js.map +1 -0
- package/lib/components/templates/SingleReferenceReadOnly/index.d.ts +2 -0
- package/lib/components/templates/SingleReferenceReadOnly/index.d.ts.map +1 -0
- package/lib/components/templates/SingleReferenceReadOnly/index.js +2 -0
- package/lib/components/templates/SingleReferenceReadOnly/index.js.map +1 -0
- package/lib/components/templates/SubTabs/SubTabs.d.ts +13 -0
- package/lib/components/templates/SubTabs/SubTabs.d.ts.map +1 -0
- package/lib/components/templates/SubTabs/SubTabs.js +33 -0
- package/lib/components/templates/SubTabs/SubTabs.js.map +1 -0
- package/lib/components/templates/SubTabs/index.d.ts +2 -0
- package/lib/components/templates/SubTabs/index.d.ts.map +1 -0
- package/lib/components/templates/SubTabs/index.js +2 -0
- package/lib/components/templates/SubTabs/index.js.map +1 -0
- package/lib/components/templates/SubTabs/tabUtils.d.ts +5 -0
- package/lib/components/templates/SubTabs/tabUtils.d.ts.map +1 -0
- package/lib/components/templates/SubTabs/tabUtils.js +62 -0
- package/lib/components/templates/SubTabs/tabUtils.js.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.css +13 -0
- package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.d.ts +14 -0
- package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.d.ts.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.js +43 -0
- package/lib/components/templates/TwoColumn/TwoColumn/TwoColumn.js.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumn/index.d.ts +2 -0
- package/lib/components/templates/TwoColumn/TwoColumn/index.d.ts.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumn/index.js +2 -0
- package/lib/components/templates/TwoColumn/TwoColumn/index.js.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts +11 -0
- package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.d.ts.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.js +16 -0
- package/lib/components/templates/TwoColumn/TwoColumnPage/TwoColumnPage.js.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumnPage/index.d.ts +2 -0
- package/lib/components/templates/TwoColumn/TwoColumnPage/index.d.ts.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumnPage/index.js +2 -0
- package/lib/components/templates/TwoColumn/TwoColumnPage/index.js.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.css +12 -0
- package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts +14 -0
- package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.d.ts.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.js +40 -0
- package/lib/components/templates/TwoColumn/TwoColumnTab/TwoColumnTab.js.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumnTab/index.d.ts +2 -0
- package/lib/components/templates/TwoColumn/TwoColumnTab/index.d.ts.map +1 -0
- package/lib/components/templates/TwoColumn/TwoColumnTab/index.js +2 -0
- package/lib/components/templates/TwoColumn/TwoColumnTab/index.js.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.css +21 -0
- package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.d.ts +4 -0
- package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.d.ts.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.js +16 -0
- package/lib/components/templates/WideNarrow/WideNarrow/WideNarrow.js.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrow/index.d.ts +2 -0
- package/lib/components/templates/WideNarrow/WideNarrow/index.d.ts.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrow/index.js +2 -0
- package/lib/components/templates/WideNarrow/WideNarrow/index.js.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts +7 -0
- package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.d.ts.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.js +35 -0
- package/lib/components/templates/WideNarrow/WideNarrowDetails/WideNarrowDetails.js.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowDetails/index.d.ts +2 -0
- package/lib/components/templates/WideNarrow/WideNarrowDetails/index.d.ts.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowDetails/index.js +2 -0
- package/lib/components/templates/WideNarrow/WideNarrowDetails/index.js.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.css +21 -0
- package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts +4 -0
- package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.d.ts.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.js +10 -0
- package/lib/components/templates/WideNarrow/WideNarrowForm/WideNarrowForm.js.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowForm/index.d.ts +2 -0
- package/lib/components/templates/WideNarrow/WideNarrowForm/index.d.ts.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowForm/index.js +2 -0
- package/lib/components/templates/WideNarrow/WideNarrowForm/index.js.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts +17 -0
- package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.d.ts.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.js +25 -0
- package/lib/components/templates/WideNarrow/WideNarrowPage/WideNarrowPage.js.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowPage/index.d.ts +2 -0
- package/lib/components/templates/WideNarrow/WideNarrowPage/index.d.ts.map +1 -0
- package/lib/components/templates/WideNarrow/WideNarrowPage/index.js +2 -0
- package/lib/components/templates/WideNarrow/WideNarrowPage/index.js.map +1 -0
- package/lib/components/templates/utils.d.ts +3 -0
- package/lib/components/templates/utils.d.ts.map +1 -0
- package/lib/components/templates/utils.js +22 -0
- package/lib/components/templates/utils.js.map +1 -0
- package/lib/components/widgets/AppAnnouncement/AppAnnouncement.d.ts +19 -0
- package/lib/components/widgets/AppAnnouncement/AppAnnouncement.d.ts.map +1 -0
- package/lib/components/widgets/AppAnnouncement/AppAnnouncement.js +53 -0
- package/lib/components/widgets/AppAnnouncement/AppAnnouncement.js.map +1 -0
- package/lib/components/widgets/AppAnnouncement/index.d.ts +2 -0
- package/lib/components/widgets/AppAnnouncement/index.d.ts.map +1 -0
- package/lib/components/widgets/AppAnnouncement/index.js +2 -0
- package/lib/components/widgets/AppAnnouncement/index.js.map +1 -0
- package/lib/components/widgets/CaseHistory/CaseHistory.d.ts +10 -0
- package/lib/components/widgets/CaseHistory/CaseHistory.d.ts.map +1 -0
- package/lib/components/widgets/CaseHistory/CaseHistory.js +118 -0
- package/lib/components/widgets/CaseHistory/CaseHistory.js.map +1 -0
- package/lib/components/widgets/CaseHistory/index.d.ts +2 -0
- package/lib/components/widgets/CaseHistory/index.d.ts.map +1 -0
- package/lib/components/widgets/CaseHistory/index.js +2 -0
- package/lib/components/widgets/CaseHistory/index.js.map +1 -0
- package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.css +27 -0
- package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.d.ts +4 -0
- package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.d.ts.map +1 -0
- package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.js +9 -0
- package/lib/components/widgets/FileUtility/ActionButtonsForFileUtil.js.map +1 -0
- package/lib/components/widgets/FileUtility/FileUtility.css +117 -0
- package/lib/components/widgets/FileUtility/FileUtility.d.ts +4 -0
- package/lib/components/widgets/FileUtility/FileUtility.d.ts.map +1 -0
- package/lib/components/widgets/FileUtility/FileUtility.js +456 -0
- package/lib/components/widgets/FileUtility/FileUtility.js.map +1 -0
- package/lib/components/widgets/FileUtility/index.d.ts +1 -0
- package/lib/components/widgets/FileUtility/index.d.ts.map +1 -0
- package/lib/components/widgets/FileUtility/index.js +2 -0
- package/lib/components/widgets/FileUtility/index.js.map +1 -0
- package/lib/components/widgets/Followers/Followers.d.ts +8 -0
- package/lib/components/widgets/Followers/Followers.d.ts.map +1 -0
- package/lib/components/widgets/Followers/Followers.js +40 -0
- package/lib/components/widgets/Followers/Followers.js.map +1 -0
- package/lib/components/widgets/Followers/index.d.ts +2 -0
- package/lib/components/widgets/Followers/index.d.ts.map +1 -0
- package/lib/components/widgets/Followers/index.js +2 -0
- package/lib/components/widgets/Followers/index.js.map +1 -0
- package/lib/components/widgets/SummaryItem/SummaryItem.css +78 -0
- package/lib/components/widgets/SummaryItem/SummaryItem.d.ts +4 -0
- package/lib/components/widgets/SummaryItem/SummaryItem.d.ts.map +1 -0
- package/lib/components/widgets/SummaryItem/SummaryItem.js +46 -0
- package/lib/components/widgets/SummaryItem/SummaryItem.js.map +1 -0
- package/lib/components/widgets/SummaryItem/index.d.ts +2 -0
- package/lib/components/widgets/SummaryItem/index.d.ts.map +1 -0
- package/lib/components/widgets/SummaryItem/index.js +2 -0
- package/lib/components/widgets/SummaryItem/index.js.map +1 -0
- package/lib/components/widgets/SummaryList/SummaryList.d.ts +3 -0
- package/lib/components/widgets/SummaryList/SummaryList.d.ts.map +1 -0
- package/lib/components/widgets/SummaryList/SummaryList.js +6 -0
- package/lib/components/widgets/SummaryList/SummaryList.js.map +1 -0
- package/lib/components/widgets/SummaryList/index.d.ts +2 -0
- package/lib/components/widgets/SummaryList/index.d.ts.map +1 -0
- package/lib/components/widgets/SummaryList/index.js +2 -0
- package/lib/components/widgets/SummaryList/index.js.map +1 -0
- package/lib/components_map.d.ts +4 -0
- package/lib/components_map.d.ts.map +1 -0
- package/lib/components_map.js +820 -0
- package/lib/components_map.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +3 -0
- package/lib/index.js.map +1 -0
- package/lib/sdk-pega-component-map.d.ts +156 -0
- package/lib/sdk-pega-component-map.d.ts.map +1 -0
- package/lib/sdk-pega-component-map.js +167 -0
- package/lib/sdk-pega-component-map.js.map +1 -0
- package/package.json +14 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import React, { useEffect, useRef, useState, createElement } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import isEqual from 'fast-deep-equal';
|
|
4
|
+
import Dialog from '@material-ui/core/Dialog';
|
|
5
|
+
import DialogContent from '@material-ui/core/DialogContent';
|
|
6
|
+
import DialogTitle from '@material-ui/core/DialogTitle';
|
|
7
|
+
import { makeStyles } from '@material-ui/core/styles';
|
|
8
|
+
import createPConnectComponent from '../../../../bridge/react_pconnect';
|
|
9
|
+
import Assignment from '../../Assignment';
|
|
10
|
+
import CancelAlert from '../../../forms/CancelAlert';
|
|
11
|
+
import Utils from '../../../helpers/utils';
|
|
12
|
+
function buildName(pConnect, name = '') {
|
|
13
|
+
const context = pConnect.getContextName();
|
|
14
|
+
return `${context}/${name}`;
|
|
15
|
+
}
|
|
16
|
+
function getKeyAndLatestItem(routinginfo, pConn) {
|
|
17
|
+
const containerName = pConn.getContainerName();
|
|
18
|
+
if (PCore.getContainerUtils().hasContainerItems(buildName(pConn, containerName))) {
|
|
19
|
+
const { accessedOrder, items } = routinginfo;
|
|
20
|
+
const key = accessedOrder[accessedOrder.length - 1];
|
|
21
|
+
const latestItem = items[key];
|
|
22
|
+
return { key, latestItem };
|
|
23
|
+
}
|
|
24
|
+
return {};
|
|
25
|
+
}
|
|
26
|
+
function getConfigObject(item, pConnect) {
|
|
27
|
+
if (item) {
|
|
28
|
+
const { context, view } = item;
|
|
29
|
+
const config = {
|
|
30
|
+
meta: view,
|
|
31
|
+
options: {
|
|
32
|
+
context,
|
|
33
|
+
pageReference: view.config.context || pConnect.getPageReference(),
|
|
34
|
+
hasForm: true
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
return PCore.createPConnect(config);
|
|
38
|
+
}
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
const useStyles = makeStyles(theme => ({
|
|
42
|
+
dlgTitle: {
|
|
43
|
+
marginLeft: theme.spacing(2),
|
|
44
|
+
marginRight: theme.spacing(2),
|
|
45
|
+
marginTop: theme.spacing(2),
|
|
46
|
+
marginBottom: theme.spacing(0)
|
|
47
|
+
// paddingLeft: theme.spacing(0),
|
|
48
|
+
// paddingRight: theme.spacing(0),
|
|
49
|
+
// paddingTop: theme.spacing(0),
|
|
50
|
+
// paddingBottom: theme.spacing(0),
|
|
51
|
+
},
|
|
52
|
+
dlgContent: {
|
|
53
|
+
marginLeft: theme.spacing(2),
|
|
54
|
+
marginRight: theme.spacing(2),
|
|
55
|
+
marginTop: theme.spacing(0),
|
|
56
|
+
marginBottom: theme.spacing(2)
|
|
57
|
+
// paddingLeft: theme.spacing(0),
|
|
58
|
+
// paddingRight: theme.spacing(0),
|
|
59
|
+
// paddingTop: theme.spacing(0),
|
|
60
|
+
// paddingBottom: theme.spacing(0),
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
const ModalViewContainer = props => {
|
|
64
|
+
const classes = useStyles();
|
|
65
|
+
const routingInfoRef = useRef({});
|
|
66
|
+
const { getPConnect, routingInfo, loadingInfo } = props;
|
|
67
|
+
const pConn = getPConnect();
|
|
68
|
+
const { CONTAINER_TYPE: { MULTIPLE }, PUB_SUB_EVENTS: { EVENT_SHOW_CANCEL_ALERT } } = PCore.getConstants();
|
|
69
|
+
const { subscribe } = PCore.getPubSubUtils();
|
|
70
|
+
const [bShowModal, setShowModal] = useState(false);
|
|
71
|
+
const [bSubscribed, setSubscribed] = useState(false);
|
|
72
|
+
const [bShowCancelAlert, setShowCancelAlert] = useState(false);
|
|
73
|
+
const [oCaseInfo, setOCaseInfo] = useState({});
|
|
74
|
+
const [createdView, setCreatedView] = useState(null);
|
|
75
|
+
const [title, setTitle] = useState('');
|
|
76
|
+
const [arNewChildrenAsReact, setArNewChildrenAsReact] = useState([]);
|
|
77
|
+
const [itemKey, setItemKey] = useState('');
|
|
78
|
+
const [cancelPConn, setCancelPConn] = useState(null);
|
|
79
|
+
function showAlert(payload) {
|
|
80
|
+
const { latestItem } = getKeyAndLatestItem(routingInfoRef.current, pConn);
|
|
81
|
+
const { isModalAction } = payload;
|
|
82
|
+
/*
|
|
83
|
+
If we are in create stage full page mode, created a new case and trying to click on cancel button
|
|
84
|
+
it will show two alert dialogs which is not expected. Hence isModalAction flag to avoid that.
|
|
85
|
+
*/
|
|
86
|
+
if (latestItem && isModalAction) {
|
|
87
|
+
const configObject = getConfigObject(latestItem, pConn);
|
|
88
|
+
setCancelPConn(configObject.getPConnect());
|
|
89
|
+
setShowCancelAlert(true);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function compareCaseInfoIsDifferent(oCurrentCaseInfo) {
|
|
93
|
+
let bRet = false;
|
|
94
|
+
// fast-deep-equal version
|
|
95
|
+
if (isEqual !== undefined) {
|
|
96
|
+
bRet = !isEqual(oCaseInfo, oCurrentCaseInfo);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
const sCurrentCaseInfo = JSON.stringify(oCurrentCaseInfo);
|
|
100
|
+
const sOldCaseInfo = JSON.stringify(oCaseInfo);
|
|
101
|
+
// stringify compare version
|
|
102
|
+
if (sCurrentCaseInfo !== sOldCaseInfo) {
|
|
103
|
+
bRet = true;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
// if different, save off new case info
|
|
107
|
+
if (bRet) {
|
|
108
|
+
setOCaseInfo(JSON.parse(JSON.stringify(oCurrentCaseInfo)));
|
|
109
|
+
}
|
|
110
|
+
return bRet;
|
|
111
|
+
}
|
|
112
|
+
const updateAlertState = modalFlag => {
|
|
113
|
+
setShowCancelAlert(false);
|
|
114
|
+
setShowModal(modalFlag);
|
|
115
|
+
};
|
|
116
|
+
useEffect(() => {
|
|
117
|
+
// Establish the necessary containers
|
|
118
|
+
const containerMgr = pConn.getContainerManager();
|
|
119
|
+
containerMgr.initializeContainers({ type: MULTIPLE });
|
|
120
|
+
}, [MULTIPLE, pConn]);
|
|
121
|
+
useEffect(() => {
|
|
122
|
+
// Update routingInfoRef.current whenever routingInfo changes
|
|
123
|
+
routingInfoRef.current = routingInfo;
|
|
124
|
+
}, [routingInfo]);
|
|
125
|
+
useEffect(() => {
|
|
126
|
+
if (routingInfoRef.current && !loadingInfo) {
|
|
127
|
+
const currentOrder = routingInfo.accessedOrder;
|
|
128
|
+
if (undefined === currentOrder) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
const currentItems = routingInfo.items;
|
|
132
|
+
const { key, latestItem } = getKeyAndLatestItem(routingInfoRef.current, pConn);
|
|
133
|
+
// console.log(`ModalViewContainer: key: ${key} latestItem: ${JSON.stringify(latestItem)}`);
|
|
134
|
+
if (currentOrder.length > 0) {
|
|
135
|
+
if (currentItems[key] &&
|
|
136
|
+
currentItems[key].view &&
|
|
137
|
+
!Utils.isEmptyObject(currentItems[key].view)) {
|
|
138
|
+
const currentItem = currentItems[key];
|
|
139
|
+
const rootView = currentItem.view;
|
|
140
|
+
const { context } = rootView.config;
|
|
141
|
+
const config = { meta: rootView };
|
|
142
|
+
config['options'] = {
|
|
143
|
+
context: currentItem.context,
|
|
144
|
+
hasForm: true,
|
|
145
|
+
pageReference: context || pConn.getPageReference()
|
|
146
|
+
};
|
|
147
|
+
if (!bSubscribed) {
|
|
148
|
+
setSubscribed(true);
|
|
149
|
+
subscribe(EVENT_SHOW_CANCEL_ALERT, showAlert, EVENT_SHOW_CANCEL_ALERT /* Unique string for subscription */);
|
|
150
|
+
}
|
|
151
|
+
const configObject = PCore.createPConnect(config);
|
|
152
|
+
// THIS is where the ViewContainer creates a View
|
|
153
|
+
// The config has meta.config.type = "view"
|
|
154
|
+
const newComp = configObject.getPConnect();
|
|
155
|
+
// const newCompName = newComp.getComponentName();
|
|
156
|
+
const caseInfo = newComp && newComp.getDataObject() && newComp.getDataObject().caseInfo
|
|
157
|
+
? newComp.getDataObject().caseInfo
|
|
158
|
+
: null;
|
|
159
|
+
// console.log(`ModalViewContainer just created newComp: ${newCompName}`);
|
|
160
|
+
// The metadata for pyDetails changed such that the "template": "CaseView"
|
|
161
|
+
// is no longer a child of the created View but is in the created View's
|
|
162
|
+
// config. So, we DON'T want to replace this.pConn$ since the created
|
|
163
|
+
// component is a View (and not a ViewContainer). We now look for the
|
|
164
|
+
// "template" type directly in the created component (newComp) and NOT
|
|
165
|
+
// as a child of the newly created component.
|
|
166
|
+
// console.log(`---> ModalViewContainer created new ${newCompName}`);
|
|
167
|
+
// Use the newly created component (View) info but DO NOT replace
|
|
168
|
+
// this ModalViewContainer's pConn$, etc.
|
|
169
|
+
// Note that we're now using the newly created View's PConnect in the
|
|
170
|
+
// ViewContainer HTML template to guide what's rendered similar to what
|
|
171
|
+
// the React return of React.Fragment does
|
|
172
|
+
// right now need to check caseInfo for changes, to trigger redraw, not getting
|
|
173
|
+
// changes from angularPconnect except for first draw
|
|
174
|
+
if (newComp && caseInfo && compareCaseInfoIsDifferent(caseInfo)) {
|
|
175
|
+
setCreatedView(configObject);
|
|
176
|
+
const { actionName } = latestItem;
|
|
177
|
+
const theNewCaseInfo = newComp.getCaseInfo();
|
|
178
|
+
const caseName = theNewCaseInfo.getName();
|
|
179
|
+
const ID = theNewCaseInfo.getID();
|
|
180
|
+
setTitle(actionName || `New ${caseName} (${ID})`);
|
|
181
|
+
let arChildrenAsReact = [];
|
|
182
|
+
if (newComp.getComponentName() === 'reference') {
|
|
183
|
+
// Reference component doesn't have children. It can build the View we want.
|
|
184
|
+
// The Reference component getPConnect is in configObject
|
|
185
|
+
arChildrenAsReact.push(createElement(createPConnectComponent(), {
|
|
186
|
+
...configObject,
|
|
187
|
+
key: `${caseName}-${ID}`
|
|
188
|
+
}));
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
// This is the 8.6 implementation. Leaving it in for reference for now.
|
|
192
|
+
// And create a similar array of the children as React components
|
|
193
|
+
// passed to Assignment component when rendered
|
|
194
|
+
arChildrenAsReact = newComp.getChildren().map(child => {
|
|
195
|
+
// Use Case Summary ID as the React element's key
|
|
196
|
+
const caseSummaryID = child.getPConnect().getCaseSummary().ID;
|
|
197
|
+
return createElement(createPConnectComponent(), { ...child, key: caseSummaryID });
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
if (arChildrenAsReact.length > 0)
|
|
201
|
+
setArNewChildrenAsReact(arChildrenAsReact);
|
|
202
|
+
setShowModal(true);
|
|
203
|
+
// save off itemKey to be used for finishAssignment, etc.
|
|
204
|
+
setItemKey(key);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
else {
|
|
209
|
+
if (bShowModal) {
|
|
210
|
+
setShowModal(false);
|
|
211
|
+
}
|
|
212
|
+
if (!Utils.isEmptyObject(oCaseInfo)) {
|
|
213
|
+
setOCaseInfo({});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
// function placeholderModalClose() {
|
|
219
|
+
// // Intentionally a no-op. Similar behavior in other SDKs.
|
|
220
|
+
// // Does NOT close the window. This forces the user to use
|
|
221
|
+
// // the cancel or submit button to close the modal (which, in turn, gets the right
|
|
222
|
+
// // Constellation code to run to clean up the containers, data, etc.)
|
|
223
|
+
// // console.log(`ModalViewContainer: placeholderModalClose setting bShowModal to false`) setShowModal(false);
|
|
224
|
+
// }
|
|
225
|
+
// if (bShowModal) {
|
|
226
|
+
// console.log(`ModalViewContainer about to show modal with`);
|
|
227
|
+
// console.log(`--> createdView: ${createdView} createdView.getPConnect: ${typeof createdView.getPConnect}`);
|
|
228
|
+
// console.log(`--> itemKey: ${itemKey}`);
|
|
229
|
+
// console.log(`--> arNewChildrenAsReact: ${JSON.stringify(arNewChildrenAsReact)}`);
|
|
230
|
+
// }
|
|
231
|
+
return (React.createElement(React.Fragment, null,
|
|
232
|
+
React.createElement(Dialog, { open: bShowModal, "aria-labelledby": 'form-dialog-title' },
|
|
233
|
+
React.createElement(DialogTitle, { id: 'form-dialog-title', className: classes.dlgTitle }, title),
|
|
234
|
+
React.createElement(DialogContent, { className: classes.dlgContent }, bShowModal ? (React.createElement(Assignment, { getPConnect: createdView.getPConnect, itemKey: itemKey, isCreateStage: true }, arNewChildrenAsReact)) : (React.createElement(React.Fragment, null)))),
|
|
235
|
+
bShowCancelAlert && (React.createElement(CancelAlert, { pConn: cancelPConn, showAlert: bShowCancelAlert, updateAlertState: updateAlertState }))));
|
|
236
|
+
};
|
|
237
|
+
export default ModalViewContainer;
|
|
238
|
+
ModalViewContainer.defaultProps = {
|
|
239
|
+
getPConnect: null,
|
|
240
|
+
loadingInfo: false,
|
|
241
|
+
routingInfo: null
|
|
242
|
+
};
|
|
243
|
+
ModalViewContainer.propTypes = {
|
|
244
|
+
getPConnect: PropTypes.func,
|
|
245
|
+
loadingInfo: PropTypes.bool,
|
|
246
|
+
routingInfo: PropTypes.objectOf(PropTypes.any)
|
|
247
|
+
};
|
|
248
|
+
//# sourceMappingURL=ModalViewContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalViewContainer.js","sourceRoot":"","sources":["../../../../../src/components/infra/Containers/ModalViewContainer/ModalViewContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,OAAO,MAAM,iBAAiB,CAAC;AACtC,OAAO,MAAM,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K,CACN,CACa,CACT;QACR,gBAAgB,IAAI,CACnB,oBAAC,WAAW,IACV,KAAK,EAAE,WAAW,EAClB,SAAS,EAAE,gBAAgB,EAC3B,gBAAgB,EAAE,gBAAgB,GAClC,CACH,CACA,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC;AAElC,kBAAkB,CAAC,YAAY,GAAG;IAChC,WAAW,EAAE,IAAI;IACjB,WAAW,EAAE,KAAK;IAClB,WAAW,EAAE,IAAI;CAClB,CAAC;AAEF,kBAAkB,CAAC,SAAS,GAAG;IAC7B,WAAW,EAAE,SAAS,CAAC,IAAI;IAC3B,WAAW,EAAE,SAAS,CAAC,IAAI;IAC3B,WAAW,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC;CAC/C,CAAC","sourcesContent":["import React, { useEffect, useRef, useState, createElement } from 'react';\nimport PropTypes from 'prop-types';\nimport isEqual from 'fast-deep-equal';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { makeStyles } from '@material-ui/core/styles';\nimport createPConnectComponent from '../../../../bridge/react_pconnect';\nimport Assignment from '../../Assignment';\nimport CancelAlert from '../../../forms/CancelAlert';\nimport Utils from '../../../helpers/utils';\n\ndeclare const PCore;\n\nfunction buildName(pConnect, name = '') {\n const context = pConnect.getContextName();\n return `${context}/${name}`;\n}\n\nfunction getKeyAndLatestItem(routinginfo, pConn) {\n const containerName = pConn.getContainerName();\n if (PCore.getContainerUtils().hasContainerItems(buildName(pConn, containerName))) {\n const { accessedOrder, items } = routinginfo;\n const key = accessedOrder[accessedOrder.length - 1];\n const latestItem = items[key];\n return { key, latestItem };\n }\n return {};\n}\n\nfunction getConfigObject(item, pConnect) {\n if (item) {\n const { context, view } = item;\n const config = {\n meta: view,\n options: {\n context,\n pageReference: view.config.context || pConnect.getPageReference(),\n hasForm: true\n }\n };\n return PCore.createPConnect(config);\n }\n return null;\n}\n\nconst useStyles = makeStyles(theme => ({\n dlgTitle: {\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2),\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(0)\n // paddingLeft: theme.spacing(0),\n // paddingRight: theme.spacing(0),\n // paddingTop: theme.spacing(0),\n // paddingBottom: theme.spacing(0),\n },\n dlgContent: {\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2),\n marginTop: theme.spacing(0),\n marginBottom: theme.spacing(2)\n // paddingLeft: theme.spacing(0),\n // paddingRight: theme.spacing(0),\n // paddingTop: theme.spacing(0),\n // paddingBottom: theme.spacing(0),\n }\n}));\n\nconst ModalViewContainer = props => {\n const classes = useStyles();\n\n const routingInfoRef = useRef({});\n const { getPConnect, routingInfo, loadingInfo } = props;\n const pConn = getPConnect();\n const {\n CONTAINER_TYPE: { MULTIPLE },\n PUB_SUB_EVENTS: { EVENT_SHOW_CANCEL_ALERT }\n } = PCore.getConstants();\n const { subscribe } = PCore.getPubSubUtils();\n const [bShowModal, setShowModal] = useState(false);\n const [bSubscribed, setSubscribed] = useState(false);\n const [bShowCancelAlert, setShowCancelAlert] = useState(false);\n const [oCaseInfo, setOCaseInfo] = useState({});\n const [createdView, setCreatedView] = useState<any>(null);\n const [title, setTitle] = useState('');\n const [arNewChildrenAsReact, setArNewChildrenAsReact] = useState<Array<any>>([]);\n const [itemKey, setItemKey] = useState('');\n const [cancelPConn, setCancelPConn] = useState(null);\n\n function showAlert(payload) {\n const { latestItem } = getKeyAndLatestItem(routingInfoRef.current, pConn);\n const { isModalAction } = payload;\n\n /*\n If we are in create stage full page mode, created a new case and trying to click on cancel button\n it will show two alert dialogs which is not expected. Hence isModalAction flag to avoid that.\n */\n if (latestItem && isModalAction) {\n const configObject = getConfigObject(latestItem, pConn);\n setCancelPConn(configObject.getPConnect());\n setShowCancelAlert(true);\n }\n }\n\n function compareCaseInfoIsDifferent(oCurrentCaseInfo: Object): boolean {\n let bRet = false;\n\n // fast-deep-equal version\n if (isEqual !== undefined) {\n bRet = !isEqual(oCaseInfo, oCurrentCaseInfo);\n } else {\n const sCurrentCaseInfo = JSON.stringify(oCurrentCaseInfo);\n const sOldCaseInfo = JSON.stringify(oCaseInfo);\n // stringify compare version\n if (sCurrentCaseInfo !== sOldCaseInfo) {\n bRet = true;\n }\n }\n\n // if different, save off new case info\n if (bRet) {\n setOCaseInfo(JSON.parse(JSON.stringify(oCurrentCaseInfo)));\n }\n\n return bRet;\n }\n\n const updateAlertState = modalFlag => {\n setShowCancelAlert(false);\n setShowModal(modalFlag);\n };\n\n useEffect(() => {\n // Establish the necessary containers\n const containerMgr = pConn.getContainerManager();\n containerMgr.initializeContainers({ type: MULTIPLE });\n }, [MULTIPLE, pConn]);\n\n useEffect(() => {\n // Update routingInfoRef.current whenever routingInfo changes\n routingInfoRef.current = routingInfo;\n }, [routingInfo]);\n\n useEffect(() => {\n if (routingInfoRef.current && !loadingInfo) {\n const currentOrder = routingInfo.accessedOrder;\n\n if (undefined === currentOrder) {\n return;\n }\n\n const currentItems = routingInfo.items;\n\n const { key, latestItem } = getKeyAndLatestItem(routingInfoRef.current, pConn);\n\n // console.log(`ModalViewContainer: key: ${key} latestItem: ${JSON.stringify(latestItem)}`);\n\n if (currentOrder.length > 0) {\n if (\n currentItems[key] &&\n currentItems[key].view &&\n !Utils.isEmptyObject(currentItems[key].view)\n ) {\n const currentItem = currentItems[key];\n const rootView = currentItem.view;\n const { context } = rootView.config;\n const config = { meta: rootView };\n config['options'] = {\n context: currentItem.context,\n hasForm: true,\n pageReference: context || pConn.getPageReference()\n };\n\n if (!bSubscribed) {\n setSubscribed(true);\n subscribe(\n EVENT_SHOW_CANCEL_ALERT,\n showAlert,\n EVENT_SHOW_CANCEL_ALERT /* Unique string for subscription */\n );\n }\n\n const configObject = PCore.createPConnect(config);\n\n // THIS is where the ViewContainer creates a View\n // The config has meta.config.type = \"view\"\n const newComp = configObject.getPConnect();\n // const newCompName = newComp.getComponentName();\n const caseInfo =\n newComp && newComp.getDataObject() && newComp.getDataObject().caseInfo\n ? newComp.getDataObject().caseInfo\n : null;\n\n // console.log(`ModalViewContainer just created newComp: ${newCompName}`);\n\n // The metadata for pyDetails changed such that the \"template\": \"CaseView\"\n // is no longer a child of the created View but is in the created View's\n // config. So, we DON'T want to replace this.pConn$ since the created\n // component is a View (and not a ViewContainer). We now look for the\n // \"template\" type directly in the created component (newComp) and NOT\n // as a child of the newly created component.\n // console.log(`---> ModalViewContainer created new ${newCompName}`);\n\n // Use the newly created component (View) info but DO NOT replace\n // this ModalViewContainer's pConn$, etc.\n // Note that we're now using the newly created View's PConnect in the\n // ViewContainer HTML template to guide what's rendered similar to what\n // the React return of React.Fragment does\n\n // right now need to check caseInfo for changes, to trigger redraw, not getting\n // changes from angularPconnect except for first draw\n if (newComp && caseInfo && compareCaseInfoIsDifferent(caseInfo)) {\n setCreatedView(configObject);\n\n const { actionName } = latestItem;\n const theNewCaseInfo = newComp.getCaseInfo();\n const caseName = theNewCaseInfo.getName();\n const ID = theNewCaseInfo.getID();\n\n setTitle(actionName || `New ${caseName} (${ID})`);\n\n let arChildrenAsReact: Array<any> = [];\n\n if (newComp.getComponentName() === 'reference') {\n // Reference component doesn't have children. It can build the View we want.\n // The Reference component getPConnect is in configObject\n\n arChildrenAsReact.push(\n createElement(createPConnectComponent(), {\n ...configObject,\n key: `${caseName}-${ID}`\n })\n );\n } else {\n // This is the 8.6 implementation. Leaving it in for reference for now.\n // And create a similar array of the children as React components\n // passed to Assignment component when rendered\n arChildrenAsReact = newComp.getChildren().map(child => {\n // Use Case Summary ID as the React element's key\n const caseSummaryID = child.getPConnect().getCaseSummary().ID;\n return createElement(createPConnectComponent(), { ...child, key: caseSummaryID });\n });\n }\n\n if (arChildrenAsReact.length > 0) setArNewChildrenAsReact(arChildrenAsReact);\n\n setShowModal(true);\n\n // save off itemKey to be used for finishAssignment, etc.\n setItemKey(key);\n }\n }\n } else {\n if (bShowModal) {\n setShowModal(false);\n }\n if (!Utils.isEmptyObject(oCaseInfo)) {\n setOCaseInfo({});\n }\n }\n }\n });\n\n // function placeholderModalClose() {\n // // Intentionally a no-op. Similar behavior in other SDKs.\n // // Does NOT close the window. This forces the user to use\n // // the cancel or submit button to close the modal (which, in turn, gets the right\n // // Constellation code to run to clean up the containers, data, etc.)\n\n // // console.log(`ModalViewContainer: placeholderModalClose setting bShowModal to false`) setShowModal(false);\n // }\n\n // if (bShowModal) {\n // console.log(`ModalViewContainer about to show modal with`);\n // console.log(`--> createdView: ${createdView} createdView.getPConnect: ${typeof createdView.getPConnect}`);\n // console.log(`--> itemKey: ${itemKey}`);\n // console.log(`--> arNewChildrenAsReact: ${JSON.stringify(arNewChildrenAsReact)}`);\n // }\n\n return (\n <>\n <Dialog open={bShowModal} aria-labelledby='form-dialog-title'>\n <DialogTitle id='form-dialog-title' className={classes.dlgTitle}>\n {title}\n </DialogTitle>\n <DialogContent className={classes.dlgContent}>\n {bShowModal ? (\n <Assignment getPConnect={createdView.getPConnect} itemKey={itemKey} isCreateStage>\n {arNewChildrenAsReact}\n </Assignment>\n ) : (\n <></>\n )}\n </DialogContent>\n </Dialog>\n {bShowCancelAlert && (\n <CancelAlert\n pConn={cancelPConn}\n showAlert={bShowCancelAlert}\n updateAlertState={updateAlertState}\n />\n )}\n </>\n );\n};\n\nexport default ModalViewContainer;\n\nModalViewContainer.defaultProps = {\n getPConnect: null,\n loadingInfo: false,\n routingInfo: null\n};\n\nModalViewContainer.propTypes = {\n getPConnect: PropTypes.func,\n loadingInfo: PropTypes.bool,\n routingInfo: PropTypes.objectOf(PropTypes.any)\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/infra/Containers/ModalViewContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/infra/Containers/ModalViewContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC","sourcesContent":["export { default } from './ModalViewContainer';"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
declare function ViewContainer(props: any): JSX.Element;
|
|
4
|
+
declare namespace ViewContainer {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
getPConnect: null;
|
|
7
|
+
name: string;
|
|
8
|
+
loadingInfo: boolean;
|
|
9
|
+
routingInfo: null;
|
|
10
|
+
mode: string;
|
|
11
|
+
limit: number;
|
|
12
|
+
};
|
|
13
|
+
var propTypes: {
|
|
14
|
+
getPConnect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
+
name: PropTypes.Requireable<string>;
|
|
16
|
+
loadingInfo: PropTypes.Requireable<boolean>;
|
|
17
|
+
routingInfo: PropTypes.Requireable<{
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
}>;
|
|
20
|
+
mode: PropTypes.Requireable<string>;
|
|
21
|
+
limit: PropTypes.Requireable<number>;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export default ViewContainer;
|
|
25
|
+
//# sourceMappingURL=ViewContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/infra/Containers/ViewContainer/ViewContainer.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAkBnC,iBAAwB,aAAa,CAAC,KAAK,KAAA,eAkL1C;kBAlLuB,aAAa;;;;;;;;;;;;;;;;;;;;eAAb,aAAa"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext, createElement } from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import { Box, CircularProgress } from "@material-ui/core";
|
|
4
|
+
import createPConnectComponent from "../../../../bridge/react_pconnect";
|
|
5
|
+
import StoreContext from "../../../../bridge/Context/StoreContext";
|
|
6
|
+
import Utils from '../../../helpers/utils';
|
|
7
|
+
//
|
|
8
|
+
// WARNING: It is not expected that this file should be modified. It is part of infrastructure code that works with
|
|
9
|
+
// Redux and creation/update of Redux containers and PConnect. Modifying this code could have undesireable results and
|
|
10
|
+
// is totally at your own risk.
|
|
11
|
+
//
|
|
12
|
+
export default function ViewContainer(props) {
|
|
13
|
+
// const { getPConnect, children, routingInfo, name } = props;
|
|
14
|
+
const { getPConnect, name, mode, limit, loadingInfo, routingInfo } = props;
|
|
15
|
+
const { displayOnlyFA } = useContext(StoreContext);
|
|
16
|
+
const { CONTAINER_TYPE, APP } = PCore.getConstants();
|
|
17
|
+
const pConn = getPConnect();
|
|
18
|
+
const containerMgr = pConn.getContainerManager();
|
|
19
|
+
const [dispatchObjState, setDispatchObjState] = useState({
|
|
20
|
+
dispatchObject: { semanticURL: "", context: "", acName: "" },
|
|
21
|
+
visible: false,
|
|
22
|
+
loadingInfo: null,
|
|
23
|
+
isLoadingInfoChange: false
|
|
24
|
+
}); // was this.state in class-based ViewContainer avoiding use of just "state" as the name
|
|
25
|
+
let root;
|
|
26
|
+
const thePConn = ((typeof getPConnect) === 'function') ? getPConnect() : null;
|
|
27
|
+
// beginning of functions for use by ViewContainer
|
|
28
|
+
function buildName() {
|
|
29
|
+
const context = thePConn.getContextName();
|
|
30
|
+
let viewContainerName = name;
|
|
31
|
+
if (!viewContainerName)
|
|
32
|
+
viewContainerName = "";
|
|
33
|
+
return `${context.toUpperCase()}/${viewContainerName.toUpperCase()}`;
|
|
34
|
+
}
|
|
35
|
+
function prepareDispatchObject() {
|
|
36
|
+
const baseContext = pConn.getContextName();
|
|
37
|
+
const { acName = "primary" } = pConn.getContainerName();
|
|
38
|
+
return {
|
|
39
|
+
semanticURL: "",
|
|
40
|
+
context: baseContext,
|
|
41
|
+
acName
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
// determine if or not loadingInfo prop changed on next re-render
|
|
45
|
+
// function getDerivedStateFromProps(nextProps, prevState) {
|
|
46
|
+
// const { loadingInfo: prevLoadingInfo } = prevState;
|
|
47
|
+
// const { loadingInfo: nextLoadingIndfo } = nextProps;
|
|
48
|
+
// return {
|
|
49
|
+
// loadingInfo: nextLoadingIndfo,
|
|
50
|
+
// isLoadingInfoChange: prevLoadingInfo !== nextLoadingIndfo
|
|
51
|
+
// };
|
|
52
|
+
// }
|
|
53
|
+
// set the root component that is retrieved by PConnectHOC
|
|
54
|
+
function setRootComponent(configObject) {
|
|
55
|
+
const { isLoadingInfoChange } = dispatchObjState;
|
|
56
|
+
if (!isLoadingInfoChange) {
|
|
57
|
+
root = createElement(createPConnectComponent(), configObject);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
// end of functions for use by ViewContainer
|
|
61
|
+
// useEffect on [] -> code that should be run once (as in old constructor and in componentDidMount)
|
|
62
|
+
useEffect(() => {
|
|
63
|
+
// This is adapted from the class-based ViewContainer constructor
|
|
64
|
+
containerMgr.initializeContainers({
|
|
65
|
+
type: mode === CONTAINER_TYPE.MULTIPLE
|
|
66
|
+
? CONTAINER_TYPE.MULTIPLE
|
|
67
|
+
: CONTAINER_TYPE.SINGLE
|
|
68
|
+
});
|
|
69
|
+
if (mode === CONTAINER_TYPE.MULTIPLE && limit) {
|
|
70
|
+
/* NOTE: setContainerLimit use is temporary. It is a non-public, unsupported API. */
|
|
71
|
+
PCore.getContainerUtils().setContainerLimit(`${APP.APP}/${name}`, limit);
|
|
72
|
+
}
|
|
73
|
+
const dispatchObject = prepareDispatchObject();
|
|
74
|
+
setDispatchObjState({
|
|
75
|
+
dispatchObject,
|
|
76
|
+
// PCore is defined in pxBootstrapShell - eventually will be exported in place of constellationCore
|
|
77
|
+
visible: !PCore.checkIfSemanticURL(),
|
|
78
|
+
loadingInfo,
|
|
79
|
+
isLoadingInfoChange: false
|
|
80
|
+
});
|
|
81
|
+
const { visible } = dispatchObjState;
|
|
82
|
+
if (visible)
|
|
83
|
+
containerMgr.addContainerItem(dispatchObject);
|
|
84
|
+
// This is adapted from the class-based ViewContainer componentDidMount
|
|
85
|
+
let objectForAddContainer;
|
|
86
|
+
if (PCore.checkIfSemanticURL()) {
|
|
87
|
+
objectForAddContainer = prepareDispatchObject();
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
const { dispatchObject: theDispatchObject } = dispatchObjState;
|
|
91
|
+
objectForAddContainer = theDispatchObject;
|
|
92
|
+
}
|
|
93
|
+
// Getting default view label
|
|
94
|
+
const navPages = pConn.getValue("pyPortal.pyPrimaryNavPages");
|
|
95
|
+
const defaultViewLabel = Array.isArray(navPages) && navPages[0] ? navPages[0].pyLabel : "";
|
|
96
|
+
// TODO: Plan is to rename window.constellationCore to window.pega (or similar)
|
|
97
|
+
// And expose less via ui-bootstrap.js
|
|
98
|
+
// PCore is defined in pxBootstrapShell - eventually will be exported in place of constellationCore
|
|
99
|
+
if (!displayOnlyFA) {
|
|
100
|
+
// configureForBrowserBookmark not applicable in Embedded mode
|
|
101
|
+
PCore.configureForBrowserBookmark({
|
|
102
|
+
...objectForAddContainer,
|
|
103
|
+
defaultViewLabel
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}, []);
|
|
107
|
+
// This code (that's run every time the ViewContainer is called) is adapted from the class-based ViewContainer's render
|
|
108
|
+
// Looking for routingInfo
|
|
109
|
+
// debugging/investigation help
|
|
110
|
+
// console.log(`ViewContainer props: ${JSON.stringify(props)}`);
|
|
111
|
+
const theBuildName = buildName();
|
|
112
|
+
const { CREATE_DETAILS_VIEW_NAME } = PCore.getConstants();
|
|
113
|
+
if (routingInfo) {
|
|
114
|
+
const { accessedOrder, items } = routingInfo;
|
|
115
|
+
if (accessedOrder && items) {
|
|
116
|
+
const key = accessedOrder[accessedOrder.length - 1];
|
|
117
|
+
let componentVisible = accessedOrder.length > 0;
|
|
118
|
+
const { visible } = dispatchObjState;
|
|
119
|
+
componentVisible = visible || componentVisible;
|
|
120
|
+
if (items[key] &&
|
|
121
|
+
items[key].view &&
|
|
122
|
+
!Utils.isEmptyObject(items[key].view)) {
|
|
123
|
+
const latestItem = items[key];
|
|
124
|
+
const rootView = latestItem.view;
|
|
125
|
+
const { context, name: viewName } = rootView.config;
|
|
126
|
+
const config = { meta: rootView };
|
|
127
|
+
config.options = {
|
|
128
|
+
context: latestItem.context,
|
|
129
|
+
pageReference: context || getPConnect().getPageReference(),
|
|
130
|
+
containerName: getPConnect().getContainerName(),
|
|
131
|
+
containerItemName: key,
|
|
132
|
+
hasForm: viewName === CREATE_DETAILS_VIEW_NAME
|
|
133
|
+
};
|
|
134
|
+
const configObject = PCore.createPConnect(config);
|
|
135
|
+
// Add in displayOnlyFA if prop is on ViewContainer
|
|
136
|
+
if (displayOnlyFA) {
|
|
137
|
+
configObject["displayOnlyFA"] = true;
|
|
138
|
+
}
|
|
139
|
+
setRootComponent(configObject);
|
|
140
|
+
return (React.createElement(React.Fragment, { key: theBuildName },
|
|
141
|
+
componentVisible && root,
|
|
142
|
+
loadingInfo && React.createElement(Box, { textAlign: "center" },
|
|
143
|
+
React.createElement(CircularProgress, null))));
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
// fall through return if insufficient routingInfo
|
|
148
|
+
return (React.createElement(React.Fragment, { key: theBuildName }, loadingInfo && React.createElement(Box, { textAlign: "center" },
|
|
149
|
+
React.createElement(CircularProgress, null))));
|
|
150
|
+
}
|
|
151
|
+
ViewContainer.defaultProps = {
|
|
152
|
+
getPConnect: null,
|
|
153
|
+
name: "",
|
|
154
|
+
loadingInfo: false,
|
|
155
|
+
routingInfo: null,
|
|
156
|
+
mode: "single",
|
|
157
|
+
limit: 16
|
|
158
|
+
};
|
|
159
|
+
ViewContainer.propTypes = {
|
|
160
|
+
getPConnect: PropTypes.func,
|
|
161
|
+
name: PropTypes.string,
|
|
162
|
+
loadingInfo: PropTypes.bool,
|
|
163
|
+
routingInfo: PropTypes.objectOf(PropTypes.any),
|
|
164
|
+
mode: PropTypes.string,
|
|
165
|
+
limit: PropTypes.number
|
|
166
|
+
};
|
|
167
|
+
//# sourceMappingURL=ViewContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewContainer.js","sourceRoot":"","sources":["../../../../../src/components/infra/Containers/ViewContainer/ViewContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,GAAG,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,uBAAuB,MAAM,mCAAmC,CAAC;AACxE,OAAO,YAAY,MAAM,yCAAyC,CAAC;AACnE,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAO3C,EAAE;AACF,qHAAqH;AACrH,uHAAuH;AACvH,+BAA+B;AAC/B,EAAE;AAGF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK;IACzC,8DAA8D;IAC9D,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE3E,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;IAGnD,MAAM,EAAE,cAAc,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;IACrD,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;IAC5B,MAAM,YAAY,GAAQ,KAAK,CAAC,mBAAmB,EAAE,CAAC;IAEtD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC;QACvD,cAAc,EAAE,EAAC,WAAW,EAAE,EAAE,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AC,SAAS,CAAC,GAAG,CAAC;IAC9C,IAAI,EAAE,SAAS,CAAC,MAAM;IACtB,KAAK,EAAE,SAAS,CAAC,MAAM;CACxB,CAAC","sourcesContent":["import React, { useEffect, useState, useContext, createElement } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Box, CircularProgress } from \"@material-ui/core\";\nimport createPConnectComponent from \"../../../../bridge/react_pconnect\";\nimport StoreContext from \"../../../../bridge/Context/StoreContext\";\nimport Utils from '../../../helpers/utils';\n\n// ViewContainer can emit View\n// import View from '../View';\n\ndeclare const PCore;\n\n//\n// WARNING: It is not expected that this file should be modified. It is part of infrastructure code that works with\n// Redux and creation/update of Redux containers and PConnect. Modifying this code could have undesireable results and\n// is totally at your own risk.\n//\n\n\nexport default function ViewContainer(props) {\n // const { getPConnect, children, routingInfo, name } = props;\n const { getPConnect, name, mode, limit, loadingInfo, routingInfo } = props;\n\n const { displayOnlyFA } = useContext(StoreContext);\n\n\n const { CONTAINER_TYPE, APP } = PCore.getConstants();\n const pConn = getPConnect();\n const containerMgr: any = pConn.getContainerManager();\n\n const [dispatchObjState, setDispatchObjState] = useState({\n dispatchObject: {semanticURL: \"\", context: \"\", acName: \"\"},\n visible: false,\n loadingInfo: null,\n isLoadingInfoChange: false\n }); // was this.state in class-based ViewContainer avoiding use of just \"state\" as the name\n\n let root;\n\n\n const thePConn = ((typeof getPConnect) === 'function') ? getPConnect() : null;\n\n // beginning of functions for use by ViewContainer\n\n function buildName() {\n const context = thePConn.getContextName();\n let viewContainerName = name;\n if (!viewContainerName) viewContainerName = \"\";\n return `${context.toUpperCase()}/${viewContainerName.toUpperCase()}`;\n }\n\n function prepareDispatchObject() {\n const baseContext = pConn.getContextName();\n const { acName = \"primary\" } = pConn.getContainerName();\n\n return {\n semanticURL: \"\",\n context: baseContext,\n acName\n };\n }\n\n // determine if or not loadingInfo prop changed on next re-render\n // function getDerivedStateFromProps(nextProps, prevState) {\n // const { loadingInfo: prevLoadingInfo } = prevState;\n // const { loadingInfo: nextLoadingIndfo } = nextProps;\n // return {\n // loadingInfo: nextLoadingIndfo,\n // isLoadingInfoChange: prevLoadingInfo !== nextLoadingIndfo\n // };\n // }\n\n // set the root component that is retrieved by PConnectHOC\n function setRootComponent(configObject) {\n\n const { isLoadingInfoChange } = dispatchObjState;\n if (!isLoadingInfoChange) {\n root = createElement(createPConnectComponent(), configObject);\n }\n }\n\n // end of functions for use by ViewContainer\n\n // useEffect on [] -> code that should be run once (as in old constructor and in componentDidMount)\n useEffect(() => {\n\n // This is adapted from the class-based ViewContainer constructor\n containerMgr.initializeContainers({\n type:\n mode === CONTAINER_TYPE.MULTIPLE\n ? CONTAINER_TYPE.MULTIPLE\n : CONTAINER_TYPE.SINGLE\n });\n\n if (mode === CONTAINER_TYPE.MULTIPLE && limit) {\n /* NOTE: setContainerLimit use is temporary. It is a non-public, unsupported API. */\n PCore.getContainerUtils().setContainerLimit(`${APP.APP}/${name}`, limit);\n }\n\n const dispatchObject = prepareDispatchObject();\n setDispatchObjState( {\n dispatchObject,\n // PCore is defined in pxBootstrapShell - eventually will be exported in place of constellationCore\n visible: !PCore.checkIfSemanticURL(),\n loadingInfo,\n isLoadingInfoChange: false\n });\n\n const { visible } = dispatchObjState;\n if (visible) containerMgr.addContainerItem(dispatchObject);\n\n // This is adapted from the class-based ViewContainer componentDidMount\n let objectForAddContainer;\n if (PCore.checkIfSemanticURL()) {\n objectForAddContainer = prepareDispatchObject();\n } else {\n const { dispatchObject: theDispatchObject } = dispatchObjState;\n objectForAddContainer = theDispatchObject;\n }\n\n // Getting default view label\n const navPages = pConn.getValue(\"pyPortal.pyPrimaryNavPages\");\n const defaultViewLabel =\n Array.isArray(navPages) && navPages[0] ? navPages[0].pyLabel : \"\";\n // TODO: Plan is to rename window.constellationCore to window.pega (or similar)\n // And expose less via ui-bootstrap.js\n // PCore is defined in pxBootstrapShell - eventually will be exported in place of constellationCore\n\n if (!displayOnlyFA) {\n // configureForBrowserBookmark not applicable in Embedded mode\n PCore.configureForBrowserBookmark({\n ...objectForAddContainer,\n defaultViewLabel\n });\n\n }\n\n },\n []);\n\n // This code (that's run every time the ViewContainer is called) is adapted from the class-based ViewContainer's render\n\n // Looking for routingInfo\n\n // debugging/investigation help\n // console.log(`ViewContainer props: ${JSON.stringify(props)}`);\n\n const theBuildName = buildName();\n const { CREATE_DETAILS_VIEW_NAME } = PCore.getConstants();\n if (routingInfo) {\n const { accessedOrder, items } = routingInfo;\n if (accessedOrder && items) {\n const key = accessedOrder[accessedOrder.length - 1];\n let componentVisible = accessedOrder.length > 0;\n const { visible } = dispatchObjState;\n componentVisible = visible || componentVisible;\n if (\n items[key] &&\n items[key].view &&\n !Utils.isEmptyObject(items[key].view)\n ) {\n const latestItem = items[key];\n const rootView = latestItem.view;\n const { context, name: viewName } = rootView.config;\n const config: any = { meta: rootView };\n config.options = {\n context: latestItem.context,\n pageReference: context || getPConnect().getPageReference(),\n containerName: getPConnect().getContainerName(),\n containerItemName: key,\n hasForm: viewName === CREATE_DETAILS_VIEW_NAME\n };\n const configObject = PCore.createPConnect(config);\n\n // Add in displayOnlyFA if prop is on ViewContainer\n if (displayOnlyFA) {\n configObject[\"displayOnlyFA\"] = true;\n }\n\n setRootComponent(configObject);\n return (\n <React.Fragment key={theBuildName}>\n {componentVisible && root}\n {loadingInfo && <Box textAlign=\"center\"><CircularProgress /></Box>}\n </React.Fragment>\n );\n }\n }\n }\n\n // fall through return if insufficient routingInfo\n return (\n <React.Fragment key={theBuildName}>\n {loadingInfo && <Box textAlign=\"center\"><CircularProgress /></Box>}\n </React.Fragment>\n );\n\n}\n\nViewContainer.defaultProps = {\n getPConnect: null,\n name: \"\",\n loadingInfo: false,\n routingInfo: null,\n mode: \"single\",\n limit: 16\n};\n\nViewContainer.propTypes = {\n getPConnect: PropTypes.func,\n name: PropTypes.string,\n loadingInfo: PropTypes.bool,\n routingInfo: PropTypes.objectOf(PropTypes.any),\n mode: PropTypes.string,\n limit: PropTypes.number\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/infra/Containers/ViewContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/infra/Containers/ViewContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { default } from './ViewContainer';\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import 'react-datepicker/dist/react-datepicker.css';
|
|
4
|
+
declare function DashboardFilter(props: any): JSX.Element;
|
|
5
|
+
declare namespace DashboardFilter {
|
|
6
|
+
var defaultProps: {
|
|
7
|
+
children: null;
|
|
8
|
+
type: null;
|
|
9
|
+
metadata: null;
|
|
10
|
+
};
|
|
11
|
+
var propTypes: {
|
|
12
|
+
getPConnect: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
+
children: PropTypes.Requireable<object>;
|
|
14
|
+
name: PropTypes.Validator<string>;
|
|
15
|
+
filterProp: PropTypes.Validator<string>;
|
|
16
|
+
type: PropTypes.Requireable<string>;
|
|
17
|
+
metadata: PropTypes.Requireable<{
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
}>;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export default DashboardFilter;
|
|
23
|
+
//# sourceMappingURL=DashboardFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardFilter.d.ts","sourceRoot":"","sources":["../../../../src/components/infra/DashboardFilter/DashboardFilter.tsx"],"names":[],"mappings":";AAIA,OAAO,SAAS,MAAM,YAAY,CAAC;AAQnC,OAAO,4CAA4C,CAAC;AAIpD,iBAAwB,eAAe,CAAC,KAAK,KAAA,eAoJ5C;kBApJuB,eAAe;;;;;;;;;;;;;;;;;eAAf,eAAe"}
|