@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,40 @@
|
|
|
1
|
+
.appshell-top {
|
|
2
|
+
display: flex;
|
|
3
|
+
background-color: var(--app-background-color);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
.appshell-main {
|
|
8
|
+
position: relative;
|
|
9
|
+
min-height: 100vh;
|
|
10
|
+
display: block;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.psdk-icon {
|
|
15
|
+
padding: 0rem 0.125rem;
|
|
16
|
+
min-width: unset;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.progress-box {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
height: 100%;
|
|
25
|
+
width: 100%;
|
|
26
|
+
background-color: whitesmoke;
|
|
27
|
+
position: fixed;
|
|
28
|
+
z-index: 999;
|
|
29
|
+
top: 0rem;
|
|
30
|
+
left: 0rem;
|
|
31
|
+
opacity: 0.5;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.progress-spinner {
|
|
35
|
+
text-align: center;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
::ng-deep snack-bar-container.snackbar-newline {
|
|
39
|
+
white-space: pre-line;
|
|
40
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import './AppShell.css';
|
|
4
|
+
export declare const useNavBar: () => {
|
|
5
|
+
open: boolean;
|
|
6
|
+
setOpen: (f: any) => any;
|
|
7
|
+
};
|
|
8
|
+
declare function AppShell(props: any): JSX.Element;
|
|
9
|
+
declare namespace AppShell {
|
|
10
|
+
var defaultProps: {
|
|
11
|
+
pages: never[];
|
|
12
|
+
caseTypes: never[];
|
|
13
|
+
children: never[];
|
|
14
|
+
};
|
|
15
|
+
var propTypes: {
|
|
16
|
+
showAppName: PropTypes.Requireable<boolean>;
|
|
17
|
+
pages: PropTypes.Requireable<(object | null | undefined)[]>;
|
|
18
|
+
caseTypes: PropTypes.Requireable<(object | null | undefined)[]>;
|
|
19
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
|
|
20
|
+
getPConnect: PropTypes.Validator<(...args: any[]) => any>;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export default AppShell;
|
|
24
|
+
//# sourceMappingURL=AppShell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/AppShell/AppShell.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAanC,OAAO,gBAAgB,CAAC;AAsBxB,eAAO,MAAM,SAAS;;;CAA+B,CAAC;AAMtD,iBAAwB,QAAQ,CAAC,KAAK,KAAA,eA0XrC;kBA1XuB,QAAQ;;;;;;;;;;;;;;eAAR,QAAQ"}
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import React, { useEffect, useState, createContext, useContext } from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import { makeStyles } from '@material-ui/core/styles';
|
|
4
|
+
// import {
|
|
5
|
+
// Avatar,
|
|
6
|
+
// Toaster,
|
|
7
|
+
// Banner,
|
|
8
|
+
// AppShell as CosmosAppShell
|
|
9
|
+
// } from "@pega/cosmos-react-core";
|
|
10
|
+
// import createPConnectComponent from "../../../bridge/react_pconnect";
|
|
11
|
+
// import { buildRecentList, onRecentClickHandler } from "./Recents/utils";
|
|
12
|
+
import './AppShell.css';
|
|
13
|
+
// AppShell can emit NavBar and ViewContainer
|
|
14
|
+
import NavBar from '../../infra/NavBar';
|
|
15
|
+
const useStyles = makeStyles((theme) => ({
|
|
16
|
+
root: {
|
|
17
|
+
display: 'flex',
|
|
18
|
+
},
|
|
19
|
+
content: {
|
|
20
|
+
flexGrow: 1,
|
|
21
|
+
height: '100vh',
|
|
22
|
+
overflow: 'auto',
|
|
23
|
+
marginLeft: theme.spacing(2),
|
|
24
|
+
marginRight: theme.spacing(2),
|
|
25
|
+
},
|
|
26
|
+
}));
|
|
27
|
+
const NavContext = createContext({ open: false, setOpen: f => f });
|
|
28
|
+
export const useNavBar = () => useContext(NavContext);
|
|
29
|
+
/*
|
|
30
|
+
* The wrapper handles knowing how to take in just children and mapping
|
|
31
|
+
* to the Cosmos template. This could be a combination of things but it knows...
|
|
32
|
+
*/
|
|
33
|
+
export default function AppShell(props) {
|
|
34
|
+
const { pages, caseTypes, showAppName, children, getPConnect, } = props;
|
|
35
|
+
const [open, setOpen] = useState(true);
|
|
36
|
+
const pConn = getPConnect();
|
|
37
|
+
// const actionsAPI = pConn.getActionsApi();
|
|
38
|
+
const envInfo = PCore.getEnvironmentInfo();
|
|
39
|
+
// const bannerRef = useRef(null);
|
|
40
|
+
// const hasBanner = httpMessages && httpMessages.length ? httpMessages.length > 0 : false;
|
|
41
|
+
const appNameToDisplay = showAppName ? envInfo.getApplicationLabel() : "";
|
|
42
|
+
const classes = useStyles();
|
|
43
|
+
// let banners = null;
|
|
44
|
+
// banners = hasBanner && (
|
|
45
|
+
// <Banner
|
|
46
|
+
// ref={bannerRef}
|
|
47
|
+
// id="appShellBanner"
|
|
48
|
+
// variant="urgent"
|
|
49
|
+
// heading="Error"
|
|
50
|
+
// onDismiss={() =>
|
|
51
|
+
// pConn.clearErrorMessages({
|
|
52
|
+
// category: "HTTP",
|
|
53
|
+
// context: null
|
|
54
|
+
// })
|
|
55
|
+
// }
|
|
56
|
+
// messages={httpMessages}
|
|
57
|
+
// />
|
|
58
|
+
// );
|
|
59
|
+
// useEffect(() => {
|
|
60
|
+
// if (hasBanner && bannerRef.current) {
|
|
61
|
+
// bannerRef.current.focus();
|
|
62
|
+
// window.scrollTo(0, bannerRef.current.offsetTop);
|
|
63
|
+
// }
|
|
64
|
+
// }, [hasBanner]);
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* Function to dispatch a show page action for the page links in
|
|
68
|
+
* the left nav of the app shell
|
|
69
|
+
*
|
|
70
|
+
* @param {string} searchString Name of view to show
|
|
71
|
+
*/
|
|
72
|
+
// function showSearchResults(searchString) {
|
|
73
|
+
// if (searchString === "") {
|
|
74
|
+
// actionsAPI.showPage("pySearchPage", "Data-Portal");
|
|
75
|
+
// return;
|
|
76
|
+
// }
|
|
77
|
+
// const searchTerm = searchString.replace(/['"]+/g, "");
|
|
78
|
+
// PCore.getDataApiUtils()
|
|
79
|
+
// .getData(
|
|
80
|
+
// "D_pySearch",
|
|
81
|
+
// `{"dataViewParameters": {"SearchString": "${encodeURIComponent(
|
|
82
|
+
// searchTerm
|
|
83
|
+
// )}"}}`
|
|
84
|
+
// )
|
|
85
|
+
// .then((response) => {
|
|
86
|
+
// if (
|
|
87
|
+
// response.data.data !== null &&
|
|
88
|
+
// response.data.resultCount === 1 &&
|
|
89
|
+
// response.data.data[0].pyID === searchTerm
|
|
90
|
+
// ) {
|
|
91
|
+
// /* This is a match for a work item - then we will open it */
|
|
92
|
+
// pConn
|
|
93
|
+
// .getActionsApi()
|
|
94
|
+
// .openWorkByHandle(
|
|
95
|
+
// response.data.data[0].pzInsKey,
|
|
96
|
+
// response.data.data[0].pzCategoryActionKeys
|
|
97
|
+
// );
|
|
98
|
+
// return;
|
|
99
|
+
// }
|
|
100
|
+
// // window.searchResults = {
|
|
101
|
+
// // searchString: searchTerm,
|
|
102
|
+
// // results: response.data
|
|
103
|
+
// // };
|
|
104
|
+
// actionsAPI.showPage("pySearchPage", "Data-Portal");
|
|
105
|
+
// });
|
|
106
|
+
// }
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* Function to dispatch a show page action for the page links in
|
|
110
|
+
* the left nav of the app shell
|
|
111
|
+
*
|
|
112
|
+
* @param {string} viewName Name of view to show
|
|
113
|
+
* @param {string} className Pega Applies to class of the page
|
|
114
|
+
*/
|
|
115
|
+
// function showPage(viewName, className) {
|
|
116
|
+
// actionsAPI.showPage(viewName, className);
|
|
117
|
+
// }
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* Function to dispatch a create work action
|
|
121
|
+
* @param {string} className - placeholder string of case type being created
|
|
122
|
+
*/
|
|
123
|
+
// function createWork(className) {
|
|
124
|
+
// actionsAPI
|
|
125
|
+
// .createWork(className)
|
|
126
|
+
// .catch((error) =>
|
|
127
|
+
// // eslint-disable-next-line no-console
|
|
128
|
+
// console.log("Error in case creation: ", error?.message)
|
|
129
|
+
// );
|
|
130
|
+
// }
|
|
131
|
+
/**
|
|
132
|
+
* Returns the Custome Component for each active case
|
|
133
|
+
*/
|
|
134
|
+
// const VisualComponent = useCallback(
|
|
135
|
+
// (context) => {
|
|
136
|
+
// if (activeCases && activeCases.length > 0) {
|
|
137
|
+
// const meta = PCore.getViewResources().fetchViewResources(
|
|
138
|
+
// "pyCaseVisual",
|
|
139
|
+
// getPConnect(),
|
|
140
|
+
// PCore.getStoreValue(".caseTypeID", "caseInfo", context)
|
|
141
|
+
// );
|
|
142
|
+
// if (meta?.config && !meta.config.defaultVisual) {
|
|
143
|
+
// const config = {
|
|
144
|
+
// meta,
|
|
145
|
+
// options: {
|
|
146
|
+
// context,
|
|
147
|
+
// pageReference: "caseInfo.content"
|
|
148
|
+
// }
|
|
149
|
+
// };
|
|
150
|
+
// const visualConfig = PCore.createPConnect(config);
|
|
151
|
+
// return React.createElement(createPConnectComponent(), visualConfig);
|
|
152
|
+
// }
|
|
153
|
+
// }
|
|
154
|
+
// return undefined;
|
|
155
|
+
// },
|
|
156
|
+
// [getPConnect, activeCases]
|
|
157
|
+
// );
|
|
158
|
+
/**
|
|
159
|
+
* Transforms the active cases information into the model that cosmos expect.
|
|
160
|
+
*/
|
|
161
|
+
// function getActiveCases() {
|
|
162
|
+
// if (activeCases) {
|
|
163
|
+
// const activeCaseLinks = [];
|
|
164
|
+
// activeCases.forEach((activeCase) => {
|
|
165
|
+
// const { caseID, className, workID, active, context } = activeCase;
|
|
166
|
+
// // activeCaseLinks.push({
|
|
167
|
+
// // onDismiss: () => {
|
|
168
|
+
// // PCore.getContainerUtils().closeContainerItem(
|
|
169
|
+
// // activeCase.containerItemID
|
|
170
|
+
// // );
|
|
171
|
+
// // },
|
|
172
|
+
// // key: caseID,
|
|
173
|
+
// // name: caseID,
|
|
174
|
+
// // onClick: () => {
|
|
175
|
+
// // actionsAPI.openWorkByHandle(workID, className);
|
|
176
|
+
// // },
|
|
177
|
+
// // active,
|
|
178
|
+
// // visual: VisualComponent(context)
|
|
179
|
+
// // });
|
|
180
|
+
// });
|
|
181
|
+
// return activeCaseLinks;
|
|
182
|
+
// }
|
|
183
|
+
// return activeCases;
|
|
184
|
+
// }
|
|
185
|
+
/**
|
|
186
|
+
* Translate Pega Data Page into the model that Cosmos expects
|
|
187
|
+
*
|
|
188
|
+
* Example:
|
|
189
|
+
* pxPageViewIcon: "pi pi-home-solid"
|
|
190
|
+
* pxURLPath: "Home"
|
|
191
|
+
* pyClassName: "Data-Portal"
|
|
192
|
+
* pyLabel: "Home"
|
|
193
|
+
* pyRuleName: "pyHome"
|
|
194
|
+
*/
|
|
195
|
+
// const links = !pages
|
|
196
|
+
// ? []
|
|
197
|
+
// : pages.map((page) => {
|
|
198
|
+
// return {
|
|
199
|
+
// name: page.pyLabel,
|
|
200
|
+
// icon: page.pxPageViewIcon.replace("pi pi-", ""),
|
|
201
|
+
// onClick: () => showPage(page.pyRuleName, page.pyClassName)
|
|
202
|
+
// };
|
|
203
|
+
// });
|
|
204
|
+
// const userName = envInfo.getOperatorName();
|
|
205
|
+
// const imageKey = envInfo.getOperatorImageInsKey();
|
|
206
|
+
// const logOffAction = () => {
|
|
207
|
+
// actionsAPI.logout().then(() => window?.top?.location?.reload());
|
|
208
|
+
// };
|
|
209
|
+
// const getOperator = () => {
|
|
210
|
+
// const operatorActions = [
|
|
211
|
+
// [{ text: "Logoff", id: "1", onClick: logOffAction }]
|
|
212
|
+
// ];
|
|
213
|
+
// if (imageKey) {
|
|
214
|
+
// return {
|
|
215
|
+
// avatar: (
|
|
216
|
+
// <div id="AvatarWithImageKey">Avatar with image key</div>
|
|
217
|
+
// // <Avatar
|
|
218
|
+
// // name={userName}
|
|
219
|
+
// // imageSrc={getPConnect().getImagePath(imageKey)}
|
|
220
|
+
// // />
|
|
221
|
+
// ),
|
|
222
|
+
// actions: operatorActions,
|
|
223
|
+
// name: userName
|
|
224
|
+
// };
|
|
225
|
+
// }
|
|
226
|
+
// return {
|
|
227
|
+
// avatar: (
|
|
228
|
+
// <div id="Avatar">Avatar</div>
|
|
229
|
+
// // <Avatar name={userName}>
|
|
230
|
+
// // {userName
|
|
231
|
+
// // .split(" ")
|
|
232
|
+
// // .map((i) => i.charAt(0))
|
|
233
|
+
// // .join("")
|
|
234
|
+
// // .toUpperCase()}
|
|
235
|
+
// // </Avatar>
|
|
236
|
+
// ),
|
|
237
|
+
// actions: operatorActions,
|
|
238
|
+
// name: userName
|
|
239
|
+
// };
|
|
240
|
+
// };
|
|
241
|
+
/**
|
|
242
|
+
* Translate Case Types page into what is expected by Cosmos
|
|
243
|
+
*
|
|
244
|
+
* Example:
|
|
245
|
+
* pyClassName: ""
|
|
246
|
+
* pyFlowType: ""
|
|
247
|
+
* pyLabel: "No case types defined"
|
|
248
|
+
*/
|
|
249
|
+
// const cases = !caseTypes
|
|
250
|
+
// ? []
|
|
251
|
+
// : caseTypes.map((caseType) => {
|
|
252
|
+
// let action = {};
|
|
253
|
+
// // Only add actions to entries with a class name to create so in case of empty message no action is added
|
|
254
|
+
// if (caseType.pyClassName) {
|
|
255
|
+
// action = { onClick: () => createWork(caseType.pyClassName) };
|
|
256
|
+
// }
|
|
257
|
+
// return {
|
|
258
|
+
// name: caseType.pyLabel,
|
|
259
|
+
// ...action
|
|
260
|
+
// };
|
|
261
|
+
// });
|
|
262
|
+
// const [recents, setRecents] = useState([]);
|
|
263
|
+
// const [searchVal, setSearchVal] = useState("");
|
|
264
|
+
// // default the icon to be empty. This will cause the image to be initially broken.
|
|
265
|
+
// const [iconURL, setIconURL] = useState("");
|
|
266
|
+
// useEffect(() => {
|
|
267
|
+
// // using the default icon then fetch it from the static folder (not auth involved)
|
|
268
|
+
// if (
|
|
269
|
+
// !portalLogo ||
|
|
270
|
+
// portalLogo.toLowerCase().includes("pzpega-logo-mark") ||
|
|
271
|
+
// portalLogo.toLowerCase().includes("py-logo")
|
|
272
|
+
// ) {
|
|
273
|
+
// setIconURL(
|
|
274
|
+
// `${PCore.getAssetLoader().getStaticServerUrl()}static/py-logo.svg`
|
|
275
|
+
// );
|
|
276
|
+
// }
|
|
277
|
+
// // not using default icon to fetch it using the way which uses authentication
|
|
278
|
+
// else {
|
|
279
|
+
// PCore.getAssetLoader()
|
|
280
|
+
// .getSvcImage(portalLogo)
|
|
281
|
+
// .then((data) => {
|
|
282
|
+
// setIconURL(window.URL.createObjectURL(data));
|
|
283
|
+
// })
|
|
284
|
+
// .catch(() => {
|
|
285
|
+
// console.error(
|
|
286
|
+
// `Unable to load the image for the portal logo/icon with the insName:${portalLogo}`
|
|
287
|
+
// );
|
|
288
|
+
// });
|
|
289
|
+
// }
|
|
290
|
+
// }, [portalLogo]);
|
|
291
|
+
/**
|
|
292
|
+
* To fetch recents and translate items into what Cosmos expects
|
|
293
|
+
*/
|
|
294
|
+
// const fetchRecents = () => {
|
|
295
|
+
// actionsAPI.getRecents(15).then((response) => {
|
|
296
|
+
// const recentsitems = response.data.recents;
|
|
297
|
+
// // setRecents(buildRecentList(recentsitems));
|
|
298
|
+
// });
|
|
299
|
+
// };
|
|
300
|
+
/**
|
|
301
|
+
* To handle on click of any recent item after the drawer is open
|
|
302
|
+
*
|
|
303
|
+
* @param {*} id : Recent item unique id
|
|
304
|
+
*/
|
|
305
|
+
// const onItemClick = (id, e) => {
|
|
306
|
+
// e.preventDefault();
|
|
307
|
+
// // onRecentClickHandler(id, actionsAPI);
|
|
308
|
+
// };
|
|
309
|
+
// useState for appName and mapChildren - note these are ONLY updated once (on component mount!)
|
|
310
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars
|
|
311
|
+
const [appName, setAppName] = useState("");
|
|
312
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars
|
|
313
|
+
const [mapChildren, setMapChildren] = useState([]);
|
|
314
|
+
// Initial setting of appName and mapChildren
|
|
315
|
+
useEffect(() => {
|
|
316
|
+
setAppName(PCore.getEnvironmentInfo().getApplicationName());
|
|
317
|
+
const tempMap = pConn.getChildren().map((child, index) => {
|
|
318
|
+
const theChildComp = child.getPConnect().getComponentName();
|
|
319
|
+
const theKey = `.${index}`;
|
|
320
|
+
return React.createElement("div", { id: theChildComp, key: theKey, style: { border: "solid 1px silver", margin: "1px" } },
|
|
321
|
+
theChildComp,
|
|
322
|
+
" will be here");
|
|
323
|
+
});
|
|
324
|
+
setMapChildren(tempMap);
|
|
325
|
+
}, []);
|
|
326
|
+
if (pConn.hasChildren()) {
|
|
327
|
+
// const theChildren = pConn.getChildren();
|
|
328
|
+
// const mapChildCompNames = theChildren.map((child) => { return child.getPConnect().getComponentName()});
|
|
329
|
+
// debugging/investigation help
|
|
330
|
+
// console.log(`AppShell has children: ${theChildren.length}`);
|
|
331
|
+
// console.log(`--> ${mapChildCompNames.map((name) => {return name;})}`);
|
|
332
|
+
}
|
|
333
|
+
return (React.createElement(NavContext.Provider, { value: { open, setOpen } },
|
|
334
|
+
React.createElement("div", { id: "AppShell", className: classes.root },
|
|
335
|
+
React.createElement(NavBar, { pConn: getPConnect(), appName: appNameToDisplay, pages: pages, caseTypes: caseTypes }),
|
|
336
|
+
React.createElement("div", { className: classes.content }, children)))
|
|
337
|
+
// <Toaster dismissAfter={3000}>
|
|
338
|
+
// <CosmosAppShell
|
|
339
|
+
// {...{
|
|
340
|
+
// appInfo: {
|
|
341
|
+
// imageSrc: `${iconURL}`,
|
|
342
|
+
// appName: `${appNameToDisplay}`,
|
|
343
|
+
// portalName
|
|
344
|
+
// },
|
|
345
|
+
// recents: {
|
|
346
|
+
// items: recents,
|
|
347
|
+
// onDrawerOpen: fetchRecents,
|
|
348
|
+
// onItemClick
|
|
349
|
+
// },
|
|
350
|
+
// searchInput: {
|
|
351
|
+
// onSearchChange: (value) => {
|
|
352
|
+
// setSearchVal(value);
|
|
353
|
+
// },
|
|
354
|
+
// onSearchSubmit: (value) => {
|
|
355
|
+
// showSearchResults(value.trim());
|
|
356
|
+
// setSearchVal("");
|
|
357
|
+
// },
|
|
358
|
+
// value: searchVal
|
|
359
|
+
// },
|
|
360
|
+
// caseTypes: cases,
|
|
361
|
+
// links,
|
|
362
|
+
// cases: getActiveCases(),
|
|
363
|
+
// operator: getOperator()
|
|
364
|
+
// }}
|
|
365
|
+
// main={[children]}
|
|
366
|
+
// banners={banners}
|
|
367
|
+
// className="app-shell"
|
|
368
|
+
// />
|
|
369
|
+
// </Toaster>
|
|
370
|
+
);
|
|
371
|
+
}
|
|
372
|
+
AppShell.defaultProps = {
|
|
373
|
+
pages: [],
|
|
374
|
+
caseTypes: [],
|
|
375
|
+
children: [],
|
|
376
|
+
// httpMessages: [],
|
|
377
|
+
// activeCases: null
|
|
378
|
+
};
|
|
379
|
+
AppShell.propTypes = {
|
|
380
|
+
// portalName: PropTypes.string/* .isRequired */,
|
|
381
|
+
// portalLogo: PropTypes.string/* .isRequired */,
|
|
382
|
+
showAppName: PropTypes.bool /* .isRequired */,
|
|
383
|
+
pages: PropTypes.arrayOf(PropTypes.object),
|
|
384
|
+
caseTypes: PropTypes.arrayOf(PropTypes.object),
|
|
385
|
+
children: PropTypes.arrayOf(PropTypes.node),
|
|
386
|
+
getPConnect: PropTypes.func.isRequired,
|
|
387
|
+
// httpMessages: PropTypes.arrayOf(PropTypes.string),
|
|
388
|
+
// activeCases: PropTypes.arrayOf(PropTypes.object)
|
|
389
|
+
};
|
|
390
|
+
//# sourceMappingURL=AppShell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppShell.js","sourceRoot":"","sources":["../../../../src/components/templates/AppShell/AppShell.tsx"],"names":[],"mappings":"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","sourcesContent":["import React, { useEffect, useState, createContext, useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { makeStyles } from '@material-ui/core/styles';\n\n// import {\n// Avatar,\n// Toaster,\n// Banner,\n// AppShell as CosmosAppShell\n// } from \"@pega/cosmos-react-core\";\n\n// import createPConnectComponent from \"../../../bridge/react_pconnect\";\n// import { buildRecentList, onRecentClickHandler } from \"./Recents/utils\";\n\nimport './AppShell.css';\n\n// AppShell can emit NavBar and ViewContainer\nimport NavBar from '../../infra/NavBar';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n display: 'flex',\n },\n content: {\n flexGrow: 1,\n height: '100vh',\n overflow: 'auto',\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2),\n },\n}));\n\ndeclare const PCore;\n\n\nconst NavContext = createContext({open: false, setOpen: f => f});\nexport const useNavBar = () => useContext(NavContext);\n\n/*\n * The wrapper handles knowing how to take in just children and mapping\n * to the Cosmos template. This could be a combination of things but it knows...\n */\nexport default function AppShell(props) {\n const {\n pages,\n caseTypes,\n showAppName,\n children,\n getPConnect,\n } = props;\n const [open, setOpen] = useState(true);\n\n const pConn = getPConnect();\n // const actionsAPI = pConn.getActionsApi();\n const envInfo = PCore.getEnvironmentInfo();\n\n // const bannerRef = useRef(null);\n // const hasBanner = httpMessages && httpMessages.length ? httpMessages.length > 0 : false;\n\n const appNameToDisplay = showAppName ? envInfo.getApplicationLabel() : \"\";\n\n const classes = useStyles();\n // let banners = null;\n // banners = hasBanner && (\n // <Banner\n // ref={bannerRef}\n // id=\"appShellBanner\"\n // variant=\"urgent\"\n // heading=\"Error\"\n // onDismiss={() =>\n // pConn.clearErrorMessages({\n // category: \"HTTP\",\n // context: null\n // })\n // }\n // messages={httpMessages}\n // />\n // );\n\n // useEffect(() => {\n // if (hasBanner && bannerRef.current) {\n // bannerRef.current.focus();\n // window.scrollTo(0, bannerRef.current.offsetTop);\n // }\n // }, [hasBanner]);\n\n /**\n *\n * Function to dispatch a show page action for the page links in\n * the left nav of the app shell\n *\n * @param {string} searchString Name of view to show\n */\n // function showSearchResults(searchString) {\n // if (searchString === \"\") {\n // actionsAPI.showPage(\"pySearchPage\", \"Data-Portal\");\n // return;\n // }\n // const searchTerm = searchString.replace(/['\"]+/g, \"\");\n // PCore.getDataApiUtils()\n // .getData(\n // \"D_pySearch\",\n // `{\"dataViewParameters\": {\"SearchString\": \"${encodeURIComponent(\n // searchTerm\n // )}\"}}`\n // )\n // .then((response) => {\n // if (\n // response.data.data !== null &&\n // response.data.resultCount === 1 &&\n // response.data.data[0].pyID === searchTerm\n // ) {\n // /* This is a match for a work item - then we will open it */\n // pConn\n // .getActionsApi()\n // .openWorkByHandle(\n // response.data.data[0].pzInsKey,\n // response.data.data[0].pzCategoryActionKeys\n // );\n // return;\n // }\n // // window.searchResults = {\n // // searchString: searchTerm,\n // // results: response.data\n // // };\n // actionsAPI.showPage(\"pySearchPage\", \"Data-Portal\");\n // });\n // }\n\n /**\n *\n * Function to dispatch a show page action for the page links in\n * the left nav of the app shell\n *\n * @param {string} viewName Name of view to show\n * @param {string} className Pega Applies to class of the page\n */\n // function showPage(viewName, className) {\n // actionsAPI.showPage(viewName, className);\n // }\n\n /**\n *\n * Function to dispatch a create work action\n * @param {string} className - placeholder string of case type being created\n */\n // function createWork(className) {\n // actionsAPI\n // .createWork(className)\n // .catch((error) =>\n // // eslint-disable-next-line no-console\n // console.log(\"Error in case creation: \", error?.message)\n // );\n // }\n\n /**\n * Returns the Custome Component for each active case\n */\n // const VisualComponent = useCallback(\n // (context) => {\n // if (activeCases && activeCases.length > 0) {\n // const meta = PCore.getViewResources().fetchViewResources(\n // \"pyCaseVisual\",\n // getPConnect(),\n // PCore.getStoreValue(\".caseTypeID\", \"caseInfo\", context)\n // );\n // if (meta?.config && !meta.config.defaultVisual) {\n // const config = {\n // meta,\n // options: {\n // context,\n // pageReference: \"caseInfo.content\"\n // }\n // };\n // const visualConfig = PCore.createPConnect(config);\n // return React.createElement(createPConnectComponent(), visualConfig);\n // }\n // }\n // return undefined;\n // },\n // [getPConnect, activeCases]\n // );\n\n /**\n * Transforms the active cases information into the model that cosmos expect.\n */\n // function getActiveCases() {\n // if (activeCases) {\n // const activeCaseLinks = [];\n // activeCases.forEach((activeCase) => {\n // const { caseID, className, workID, active, context } = activeCase;\n // // activeCaseLinks.push({\n // // onDismiss: () => {\n // // PCore.getContainerUtils().closeContainerItem(\n // // activeCase.containerItemID\n // // );\n // // },\n // // key: caseID,\n // // name: caseID,\n // // onClick: () => {\n // // actionsAPI.openWorkByHandle(workID, className);\n // // },\n // // active,\n // // visual: VisualComponent(context)\n // // });\n // });\n // return activeCaseLinks;\n // }\n // return activeCases;\n // }\n\n /**\n * Translate Pega Data Page into the model that Cosmos expects\n *\n * Example:\n * pxPageViewIcon: \"pi pi-home-solid\"\n * pxURLPath: \"Home\"\n * pyClassName: \"Data-Portal\"\n * pyLabel: \"Home\"\n * pyRuleName: \"pyHome\"\n */\n // const links = !pages\n // ? []\n // : pages.map((page) => {\n // return {\n // name: page.pyLabel,\n // icon: page.pxPageViewIcon.replace(\"pi pi-\", \"\"),\n // onClick: () => showPage(page.pyRuleName, page.pyClassName)\n // };\n // });\n\n // const userName = envInfo.getOperatorName();\n // const imageKey = envInfo.getOperatorImageInsKey();\n\n // const logOffAction = () => {\n // actionsAPI.logout().then(() => window?.top?.location?.reload());\n // };\n\n // const getOperator = () => {\n // const operatorActions = [\n // [{ text: \"Logoff\", id: \"1\", onClick: logOffAction }]\n // ];\n // if (imageKey) {\n // return {\n // avatar: (\n // <div id=\"AvatarWithImageKey\">Avatar with image key</div>\n // // <Avatar\n // // name={userName}\n // // imageSrc={getPConnect().getImagePath(imageKey)}\n // // />\n // ),\n // actions: operatorActions,\n // name: userName\n // };\n // }\n // return {\n // avatar: (\n // <div id=\"Avatar\">Avatar</div>\n // // <Avatar name={userName}>\n // // {userName\n // // .split(\" \")\n // // .map((i) => i.charAt(0))\n // // .join(\"\")\n // // .toUpperCase()}\n // // </Avatar>\n // ),\n // actions: operatorActions,\n // name: userName\n // };\n // };\n\n /**\n * Translate Case Types page into what is expected by Cosmos\n *\n * Example:\n * pyClassName: \"\"\n * pyFlowType: \"\"\n * pyLabel: \"No case types defined\"\n */\n // const cases = !caseTypes\n // ? []\n // : caseTypes.map((caseType) => {\n // let action = {};\n // // Only add actions to entries with a class name to create so in case of empty message no action is added\n // if (caseType.pyClassName) {\n // action = { onClick: () => createWork(caseType.pyClassName) };\n // }\n // return {\n // name: caseType.pyLabel,\n // ...action\n // };\n // });\n\n // const [recents, setRecents] = useState([]);\n\n // const [searchVal, setSearchVal] = useState(\"\");\n\n // // default the icon to be empty. This will cause the image to be initially broken.\n // const [iconURL, setIconURL] = useState(\"\");\n // useEffect(() => {\n // // using the default icon then fetch it from the static folder (not auth involved)\n // if (\n // !portalLogo ||\n // portalLogo.toLowerCase().includes(\"pzpega-logo-mark\") ||\n // portalLogo.toLowerCase().includes(\"py-logo\")\n // ) {\n // setIconURL(\n // `${PCore.getAssetLoader().getStaticServerUrl()}static/py-logo.svg`\n // );\n // }\n // // not using default icon to fetch it using the way which uses authentication\n // else {\n // PCore.getAssetLoader()\n // .getSvcImage(portalLogo)\n // .then((data) => {\n // setIconURL(window.URL.createObjectURL(data));\n // })\n // .catch(() => {\n // console.error(\n // `Unable to load the image for the portal logo/icon with the insName:${portalLogo}`\n // );\n // });\n // }\n // }, [portalLogo]);\n\n /**\n * To fetch recents and translate items into what Cosmos expects\n */\n // const fetchRecents = () => {\n // actionsAPI.getRecents(15).then((response) => {\n // const recentsitems = response.data.recents;\n // // setRecents(buildRecentList(recentsitems));\n // });\n // };\n\n /**\n * To handle on click of any recent item after the drawer is open\n *\n * @param {*} id : Recent item unique id\n */\n\n // const onItemClick = (id, e) => {\n // e.preventDefault();\n // // onRecentClickHandler(id, actionsAPI);\n // };\n\n // useState for appName and mapChildren - note these are ONLY updated once (on component mount!)\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars\n const [appName, setAppName] = useState(\"\");\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars\n const [mapChildren, setMapChildren] = useState([]);\n\n // Initial setting of appName and mapChildren\n useEffect( () => {\n setAppName(PCore.getEnvironmentInfo().getApplicationName());\n\n const tempMap = pConn.getChildren().map((child, index) => {\n const theChildComp = child.getPConnect().getComponentName();\n const theKey = `.${index}`;\n return <div id={theChildComp} key={theKey} style={{border: \"solid 1px silver\", margin: \"1px\"}}>{theChildComp} will be here</div>\n });\n\n setMapChildren(tempMap)\n\n }, []);\n\n if (pConn.hasChildren()) {\n // const theChildren = pConn.getChildren();\n // const mapChildCompNames = theChildren.map((child) => { return child.getPConnect().getComponentName()});\n\n // debugging/investigation help\n // console.log(`AppShell has children: ${theChildren.length}`);\n // console.log(`--> ${mapChildCompNames.map((name) => {return name;})}`);\n }\n\n return (\n\n <NavContext.Provider value={{open, setOpen}}>\n <div id=\"AppShell\" className={classes.root}>\n <NavBar pConn={getPConnect()} appName={appNameToDisplay} pages={pages} caseTypes={caseTypes}></NavBar>\n <div className={classes.content}>\n {children}\n </div>\n </div>\n </NavContext.Provider>\n\n // <Toaster dismissAfter={3000}>\n // <CosmosAppShell\n // {...{\n // appInfo: {\n // imageSrc: `${iconURL}`,\n // appName: `${appNameToDisplay}`,\n // portalName\n // },\n // recents: {\n // items: recents,\n // onDrawerOpen: fetchRecents,\n // onItemClick\n // },\n // searchInput: {\n // onSearchChange: (value) => {\n // setSearchVal(value);\n // },\n // onSearchSubmit: (value) => {\n // showSearchResults(value.trim());\n // setSearchVal(\"\");\n // },\n // value: searchVal\n // },\n // caseTypes: cases,\n // links,\n // cases: getActiveCases(),\n // operator: getOperator()\n // }}\n // main={[children]}\n // banners={banners}\n // className=\"app-shell\"\n // />\n // </Toaster>\n );\n}\nAppShell.defaultProps = {\n pages: [],\n caseTypes: [],\n children: [],\n // httpMessages: [],\n // activeCases: null\n};\nAppShell.propTypes = {\n // portalName: PropTypes.string/* .isRequired */,\n // portalLogo: PropTypes.string/* .isRequired */,\n showAppName: PropTypes.bool/* .isRequired */,\n pages: PropTypes.arrayOf(PropTypes.object),\n caseTypes: PropTypes.arrayOf(PropTypes.object),\n children: PropTypes.arrayOf(PropTypes.node),\n getPConnect: PropTypes.func.isRequired,\n // httpMessages: PropTypes.arrayOf(PropTypes.string),\n // activeCases: PropTypes.arrayOf(PropTypes.object)\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/AppShell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/templates/AppShell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC","sourcesContent":["export { default } from './AppShell';"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
declare function CaseSummary(props: any): JSX.Element;
|
|
4
|
+
declare namespace CaseSummary {
|
|
5
|
+
var propTypes: {
|
|
6
|
+
getPConnect: PropTypes.Validator<(...args: any[]) => any>;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export default CaseSummary;
|
|
10
|
+
//# sourceMappingURL=CaseSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseSummary.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/CaseSummary/CaseSummary.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAInC,iBAAwB,WAAW,CAAC,KAAK,KAAA,eAwCxC;kBAxCuB,WAAW;;;;;eAAX,WAAW"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import CaseSummaryFields from '../../designSystemExtensions/CaseSummaryFields';
|
|
4
|
+
export default function CaseSummary(props) {
|
|
5
|
+
const { getPConnect, children } = props;
|
|
6
|
+
const thePConn = getPConnect();
|
|
7
|
+
const theConfigProps = thePConn.getConfigProps();
|
|
8
|
+
const { status, showStatus } = theConfigProps;
|
|
9
|
+
// from Nebula
|
|
10
|
+
// get the primary and secondary fields with the raw data (which has the non-resolved property values)
|
|
11
|
+
// const regionsRaw = getPConnect().getRawMetadata().children;
|
|
12
|
+
// const primaryFieldsRaw = regionsRaw[0].children;
|
|
13
|
+
// const secondaryFieldsRaw = regionsRaw[1].children;
|
|
14
|
+
// From other SDKs
|
|
15
|
+
// may want to move these into useEffect/useState combo
|
|
16
|
+
let arPrimaryFields = [];
|
|
17
|
+
let arSecondaryFields = [];
|
|
18
|
+
for (const child of children) {
|
|
19
|
+
const childPConn = child.props.getPConnect();
|
|
20
|
+
const childPConnData = childPConn.resolveConfigProps(childPConn.getRawMetadata());
|
|
21
|
+
if (childPConnData.name.toLowerCase() === "primary fields") {
|
|
22
|
+
arPrimaryFields = childPConnData.children;
|
|
23
|
+
}
|
|
24
|
+
else if (childPConnData.name.toLowerCase() === "secondary fields") {
|
|
25
|
+
arSecondaryFields = childPConnData.children;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
// At this point, should hand off to another component for layout and rendering
|
|
29
|
+
// of primary and secondary fields in the Case Summary
|
|
30
|
+
// debugging/investigation help
|
|
31
|
+
// console.log(`CaseSummary: arPrimaryFields: ${JSON.stringify(arPrimaryFields)}`);
|
|
32
|
+
// console.log(`CaseSummary: arSecondaryFields: ${JSON.stringify(arSecondaryFields)}`);
|
|
33
|
+
return (React.createElement("div", { id: "CaseSummary" },
|
|
34
|
+
React.createElement(CaseSummaryFields, { status: status, showStatus: showStatus, theFields: arPrimaryFields }),
|
|
35
|
+
React.createElement(CaseSummaryFields, { theFields: arSecondaryFields })));
|
|
36
|
+
}
|
|
37
|
+
CaseSummary.propTypes = {
|
|
38
|
+
getPConnect: PropTypes.func.isRequired
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=CaseSummary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseSummary.js","sourceRoot":"","sources":["../../../../src/components/templates/CaseSummary/CaseSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,iBAAiB,MAAM,gDAAgD,CAAC;AAE/E,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK;IACvC,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACxC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,cAAc,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;IACjD,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,cAAc,CAAC;IAE9C,cAAc;IACd,sGAAsG;IACtG,8DAA8D;IAC9D,mDAAmD;IACnD,qDAAqD;IAErD,kBAAkB;IAClB,uDAAuD;IACvD,IAAI,eAAe,GAAc,EAAE,CAAC;IACpC,IAAI,iBAAiB,GAAc,EAAE,CAAC;IAEtC,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC5B,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAC7C,MAAM,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,CAAC;QAClF,IAAI,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,gBAAgB,EAAE;YAC1D,eAAe,GAAG,cAAc,CAAC,QAAQ,CAAC;SAC3C;aAAM,IAAI,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,kBAAkB,EAAE;YACnE,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC;SAC7C;KACF;IAED,+EAA+E;IAC/E,uDAAuD;IAEvD,+BAA+B;IAC/B,mFAAmF;IACnF,uFAAuF;IAEvF,OAAO,CACL,6BAAK,EAAE,EAAC,aAAa;QACnB,oBAAC,iBAAiB,IAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,GAAI;QACzF,oBAAC,iBAAiB,IAAC,SAAS,EAAE,iBAAiB,GAAI,CAC/C,CACP,CAAA;AACH,CAAC;AAED,WAAW,CAAC,SAAS,GAAG;IACtB,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;CACvC,CAAC","sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport CaseSummaryFields from '../../designSystemExtensions/CaseSummaryFields';\n\nexport default function CaseSummary(props) {\n const { getPConnect, children } = props;\n const thePConn = getPConnect();\n const theConfigProps = thePConn.getConfigProps();\n const { status, showStatus } = theConfigProps;\n\n // from Nebula\n // get the primary and secondary fields with the raw data (which has the non-resolved property values)\n // const regionsRaw = getPConnect().getRawMetadata().children;\n // const primaryFieldsRaw = regionsRaw[0].children;\n // const secondaryFieldsRaw = regionsRaw[1].children;\n\n // From other SDKs\n // may want to move these into useEffect/useState combo\n let arPrimaryFields:Array<any> = [];\n let arSecondaryFields:Array<any> = [];\n\n for (const child of children) {\n const childPConn = child.props.getPConnect();\n const childPConnData = childPConn.resolveConfigProps(childPConn.getRawMetadata());\n if (childPConnData.name.toLowerCase() === \"primary fields\") {\n arPrimaryFields = childPConnData.children;\n } else if (childPConnData.name.toLowerCase() === \"secondary fields\") {\n arSecondaryFields = childPConnData.children;\n }\n }\n\n // At this point, should hand off to another component for layout and rendering\n // of primary and secondary fields in the Case Summary\n\n // debugging/investigation help\n // console.log(`CaseSummary: arPrimaryFields: ${JSON.stringify(arPrimaryFields)}`);\n // console.log(`CaseSummary: arSecondaryFields: ${JSON.stringify(arSecondaryFields)}`);\n\n return (\n <div id=\"CaseSummary\">\n <CaseSummaryFields status={status} showStatus={showStatus} theFields={arPrimaryFields} />\n <CaseSummaryFields theFields={arSecondaryFields} />\n </div>\n )\n}\n\nCaseSummary.propTypes = {\n getPConnect: PropTypes.func.isRequired\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/CaseSummary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/templates/CaseSummary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { default } from './CaseSummary';\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
declare function CaseView(props: any): JSX.Element;
|
|
4
|
+
declare namespace CaseView {
|
|
5
|
+
var defaultProps: {
|
|
6
|
+
icon: string;
|
|
7
|
+
children: never[];
|
|
8
|
+
caseInfo: {};
|
|
9
|
+
showIconInHeader: boolean;
|
|
10
|
+
getPConnect: null;
|
|
11
|
+
};
|
|
12
|
+
var propTypes: {
|
|
13
|
+
icon: PropTypes.Requireable<string>;
|
|
14
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike[]>;
|
|
15
|
+
subheader: PropTypes.Validator<string>;
|
|
16
|
+
header: PropTypes.Validator<string>;
|
|
17
|
+
showIconInHeader: PropTypes.Requireable<boolean>;
|
|
18
|
+
caseInfo: PropTypes.Requireable<{
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
}>;
|
|
21
|
+
getPConnect: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export default CaseView;
|
|
25
|
+
//# sourceMappingURL=CaseView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseView.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/CaseView/CaseView.tsx"],"names":[],"mappings":";AAGA,OAAO,SAAS,MAAM,YAAY,CAAC;AA2CnC,iBAAwB,QAAQ,CAAC,KAAK,KAAA,eAoMrC;kBApMuB,QAAQ;;;;;;;;;;;;;;;;;;;;eAAR,QAAQ"}
|