@pega/dx-component-builder-sdk 0.23.9 → 0.23.11
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/package.json +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/demo.stories.tsx.mustache +22 -14
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Date/demo.stories.tsx.mustache +28 -13
- package/src/tasks/create/templates/SDK-Angular/field/Date/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.ts.mustache +3 -2
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/config.json.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/config.json.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Integer/config.json.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Integer/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Integer/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/demo.stories.tsx.mustache +19 -13
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/mock.ts.mustache +7 -3
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/mock.ts.mustache +7 -2
- package/src/tasks/create/templates/SDK-Angular/field/Text/config.json.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text/demo.stories.tsx.mustache +19 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text/mock.ts.mustache +9 -2
- package/src/tasks/create/templates/SDK-Angular/field/Text-Email/config.json.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Email/demo.stories.tsx.mustache +19 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text-Input/config.json.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Input/demo.stories.tsx.mustache +19 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text-Input/mock.ts.mustache +8 -2
- package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text-URL/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/mock.ts.mustache +6 -1
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/demo.stories.tsx.mustache +12 -13
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/demo.stories.tsx.mustache +12 -13
- package/src/tasks/create/templates/SDK-Angular/template/FORM/config.json.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/template/FORM/demo.stories.tsx.mustache +14 -13
- package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.scss.mustache +0 -2
- package/src/tasks/create/templates/SDK-Angular/template/FORM-region/demo.stories.tsx.mustache +13 -13
- package/src/tasks/create/templates/SDK-Angular/template/PAGE/demo.stories.tsx.mustache +14 -15
- package/src/tasks/create/templates/SDK-Angular/template/PAGE/mock.ts.mustache +0 -6
- package/src/tasks/create/templates/SDK-Angular/widget/CASE/demo.stories.tsx.mustache +11 -14
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/demo.stories.tsx.mustache +8 -11
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.scss.mustache +2 -4
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/demo.stories.tsx.mustache +9 -12
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.scss.mustache +7 -9
- package/src/tasks/create/templates/SDK-React/template/FORM/demo.stories.tsx.mustache +26 -0
- package/src/tasks/delete/helper.js +23 -5
- package/src/tasks/delete-all/helper.js +24 -5
- package/src/tasks/list/helper.js +16 -5
- package/src/tasks/list/index.js +20 -4
- package/src/tasks/publish/helper.js +15 -5
- package/src/tasks/publish-all/helper.js +25 -8
- package/src/util.js +18 -1
- package/tests/assets/sdk-r/components/create/custom-constellation/_custom-constellation.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/demo.stories.tsx +54 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +73 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/mock.ts +15 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/styles.ts +15 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/_field.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/template/_template.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/_widget.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/_custom-sdk.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/config.json +83 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/demo.stories.tsx +55 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +102 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/mock.ts +16 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/styles.js +7 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/_field.md +6 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/template/_template.md +6 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/widget/_widget.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/_override-sdk.md +5 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/AlertBanner/AlertBanner.tsx +39 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/AlertBanner/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/Banner.css +39 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/Banner.tsx +50 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +18 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +245 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/DetailsFields/DetailsFields.tsx +141 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/DetailsFields/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +51 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroup/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroupList/FieldGroupList.tsx +58 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroupList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldValueList/FieldValueList.tsx +79 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldValueList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Operator/Operator.tsx +215 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Operator/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Pulse/Pulse.tsx +33 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Pulse/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/RichTextEditor/RichTextEditor.tsx +122 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/RichTextEditor/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.css +40 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +37 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/_designSystemExtension.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/AutoComplete/AutoComplete.tsx +218 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/AutoComplete/config-ext.json +10 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/AutoComplete/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.css +24 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.tsx +132 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/Checkbox.tsx +87 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/Currency.tsx +104 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/currency-utils.ts +68 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Date/Date.tsx +113 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Date/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Date/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/DateTime/DateTime.tsx +103 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/DateTime/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/DateTime/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/Decimal.tsx +100 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Dropdown/Dropdown.tsx +233 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Dropdown/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Dropdown/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Email/Email.tsx +77 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Email/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Email/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Integer/Integer.tsx +88 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Integer/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Integer/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/Percentage.tsx +92 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Phone/Phone.tsx +101 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Phone/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RadioButtons/RadioButtons.tsx +116 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RadioButtons/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RadioButtons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RichText/RichText.tsx +96 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RichText/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/ScalarList.tsx +63 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/config-ext.json +7 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/SemanticLink.tsx +76 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/utils.ts +49 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextArea/TextArea.tsx +78 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextArea/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextArea/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextContent/TextContent.tsx +47 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextContent/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextContent/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextInput/TextInput.tsx +94 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextInput/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextInput/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Time/Time.tsx +76 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Time/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Time/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/URL/URL.tsx +72 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/URL/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/URL/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/UserReference.tsx +191 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/UserReferenceUtils.ts +13 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/_field.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/ActionButtons/ActionButtons.tsx +74 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/ActionButtons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/Assignment.tsx +335 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/AssignmentCard/AssignmentCard.tsx +40 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/AssignmentCard/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +155 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/filterUtils.tsx +160 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DeferLoad/DeferLoad.tsx +166 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DeferLoad/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/ErrorBoundary/ErrorBoundary.tsx +46 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/ErrorBoundary/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/LeftAlignVerticalTabs/LeftAlignVerticalTabs.tsx +34 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/LeftAlignVerticalTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.css +243 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.tsx +189 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.css +168 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.tsx +288 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Stages/Stages.tsx +118 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Stages/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/VerticalTabs/VerticalTabs.tsx +68 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/VerticalTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/View/View.css +8 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/View/View.tsx +159 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/View/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/_infra.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/AppShell.css +39 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/AppShell.tsx +210 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/BannerPage/BannerPage.tsx +54 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/BannerPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseSummary/CaseSummary.tsx +55 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseSummary/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseSummary/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/CaseView.tsx +266 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +71 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Confirmation/Confirmation.tsx +73 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Confirmation/config-ext.json +12 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Confirmation/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/DataReference.tsx +262 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/config-ext.json +10 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/DefaultForm.css +30 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/DefaultForm.tsx +66 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/utils/index.ts +33 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Details/Details.tsx +73 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Details/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsSubTabs/DetailsSubTabs.tsx +58 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsSubTabs/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsSubTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +73 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +73 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +103 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/FieldGroupTemplate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboard/InlineDashboard.tsx +74 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboard/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboardPage/InlineDashboardPage.tsx +39 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboardPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListPage/ListPage.tsx +16 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListPage/config-ext.json +8 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/DefaultViewMeta.ts +220 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.css +10 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.tsx +1254 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/hooks.ts +97 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/utils.ts +747 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +37 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/MultiReferenceReadOnly/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWide/NarrowWide.css +19 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWide/NarrowWide.tsx +37 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWide/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +76 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/NarrowWideForm.css +19 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/NarrowWideForm.tsx +22 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWidePage/NarrowWidePage.tsx +28 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWidePage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWidePage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumn/OneColumn.tsx +32 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnPage/OneColumnPage.tsx +17 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnTab/OneColumnTab.tsx +11 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnTab/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnTab/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/PromotedFilters.css +7 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/PromotedFilters.tsx +171 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTable/SimpleTable.tsx +129 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTable/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTable/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +753 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableSelect/SimpleTableSelect.tsx +124 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableSelect/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +63 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SingleReferenceReadOnly/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/SubTabs.tsx +46 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/tabUtils.ts +68 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/TwoColumn.css +12 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/TwoColumn.tsx +55 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnPage/TwoColumnPage.tsx +17 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/TwoColumnTab.css +12 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/TwoColumnTab.tsx +55 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrow/WideNarrow.css +19 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrow/WideNarrow.tsx +37 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrow/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +86 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/WideNarrowForm.css +19 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/WideNarrowForm.tsx +22 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowPage/WideNarrowPage.tsx +28 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/WssNavBar.css +11 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/WssNavBar.tsx +157 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/_template.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +27 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +32 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/AppAnnouncement/AppAnnouncement.tsx +60 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/AppAnnouncement/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/AppAnnouncement/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.css +96 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.tsx +454 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/CaseHistory/CaseHistory.tsx +169 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/CaseHistory/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/CaseHistory/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.css +117 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.tsx +639 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Followers/Followers.tsx +45 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Followers/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Followers/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/QuickCreate/QuickCreate.tsx +62 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/QuickCreate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/SummaryItem.css +78 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/SummaryItem.tsx +88 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryList/SummaryList.tsx +23 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/ToDo.css +93 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/ToDo.tsx +322 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/_widget.md +6 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/_custom-constellation.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/Boolean.js +38 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/boolean-format.ts +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/demo.stories.jsx +63 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +200 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/demo.stories.tsx +56 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.tsx +333 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/mock.ts +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/DateFormatter.js +61 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/FormattedText.jsx +41 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/date.js +439 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/demo.stories.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.tsx +303 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/mock.ts +24 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/date-time.js +92 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/date-utils.js +287 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/date.js +330 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/demo.stories.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.tsx +298 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/mock.ts +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/suggestions-handler.ts +10 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/demo.stories.tsx +52 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.tsx +300 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/mock.ts +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/demo.stories.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.tsx +251 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/mock.ts +24 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/demo.stories.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.tsx +376 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/demo.stories.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.tsx +248 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/demo.stories.tsx +52 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.tsx +306 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/mock.ts +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/demo.stories.tsx +49 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.tsx +288 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/mock.ts +39 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/demo.stories.tsx +81 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +393 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/mock.ts +68 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +85 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/index.tsx +243 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/mock.ts +69 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/textformat-utils.jsx +161 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/component-constants.js +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/date.js +162 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/demo.stories.tsx +90 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/embed-utils.js +310 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/format-constants.js +41 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +1236 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/mock.ts +68 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/picklist-utils.js +87 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/repeat-constants.js +20 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/repeat-utils.js +664 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/textformat-utils.jsx +161 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/utils.ts +218 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/demo.stories.tsx +54 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/mock.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/StatusWork.tsx +32 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/demo.stories.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.tsx +264 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/mock.ts +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +60 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.tsx +245 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/time-of-day.js +287 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/demo.stories.tsx +49 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.tsx +261 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/mock.ts +24 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/text-url.jsx +173 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/_field.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/OneColumnDetails.svg +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/StatusWork.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/demo.stories.tsx +138 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +101 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/mock.ts +192 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/utils.js +151 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/demo.stories.tsx +176 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +53 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/mock.ts +139 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +44 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/demo.stories.tsx +106 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/index.tsx +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/localizations.json +4 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/mock.ts +96 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/utils.js +228 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +142 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +100 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +232 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/utils.js +151 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +182 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +60 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/mock.ts +145 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/_template.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +81 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/index.tsx +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/mock.ts +391 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +88 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Operator.tsx +230 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +70 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +129 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/mock.ts +53 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +33 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +61 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/mock.ts +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/_widget.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/_custom-sdk.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/config.json +87 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/demo.stories.tsx +64 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx +95 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +125 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/demo.stories.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/index.tsx +112 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/mock.ts +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/config.json +147 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/demo.stories.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/index.tsx +123 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/mock.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/config.json +204 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/demo.stories.tsx +70 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/index.tsx +115 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/mock.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/config.json +94 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/demo.stories.tsx +78 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/index.tsx +107 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/mock.ts +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/config.json +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/demo.stories.tsx +53 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/index.tsx +84 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/mock.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/config.json +88 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/demo.stories.tsx +59 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/index.tsx +96 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/mock.ts +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/config.json +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/demo.stories.tsx +57 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/index.tsx +87 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/config.json +94 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/demo.stories.tsx +59 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/index.tsx +98 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/mock.ts +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/config.json +95 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/demo.stories.tsx +56 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +112 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/mock.ts +33 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/config.json +86 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/demo.stories.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +241 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/mock.ts +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/config.json +113 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/index.tsx +123 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/mock.ts +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/config.json +115 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/demo.stories.tsx +76 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/index.tsx +225 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/mock.ts +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/config.json +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/demo.stories.tsx +55 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/index.tsx +102 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/mock.ts +16 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/config.json +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/demo.stories.tsx +56 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/index.tsx +102 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/config.json +135 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +56 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/index.tsx +88 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/mock.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/config.json +111 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/demo.stories.tsx +54 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/index.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/mock.ts +16 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/_field.md +6 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/DefaultForm.svg +29 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/config.json +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/demo.stories.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/mock.ts +350 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/DefaultForm.css +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/config.json +45 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/demo.stories.tsx +256 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx +75 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/utils.ts +33 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/OneColumn.tsx +32 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/OneColumnPage.svg +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/config.json +32 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/demo.stories.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/index.tsx +29 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/mock.ts +115 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/config.json +27 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +72 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +443 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/config.json +49 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +188 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/index.tsx +63 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/mock.ts +132 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/_template.md +6 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/config.json +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +68 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/index.tsx +178 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/mock.ts +390 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/config.json +66 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +52 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +222 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/mock.ts +52 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/config.json +59 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx +69 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/mock.ts +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/_widget.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/_override-sdk.md +5 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/AlertBanner/AlertBanner.tsx +39 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/AlertBanner/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/Banner.css +39 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/Banner.tsx +50 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +18 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +245 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/DetailsFields/DetailsFields.tsx +141 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/DetailsFields/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroup/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroupList/FieldGroupList.tsx +58 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroupList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldValueList/FieldValueList.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldValueList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Operator/Operator.tsx +215 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Operator/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Pulse/Pulse.tsx +33 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Pulse/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/RichTextEditor/RichTextEditor.tsx +122 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/RichTextEditor/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.css +40 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +37 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/_designSystemExtension.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/AutoComplete/AutoComplete.tsx +218 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/AutoComplete/config-ext.json +10 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/AutoComplete/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.css +24 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.tsx +132 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/Checkbox.tsx +87 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/Currency.tsx +104 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/currency-utils.ts +68 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Date/Date.tsx +113 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Date/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Date/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/DateTime/DateTime.tsx +103 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/DateTime/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/DateTime/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/Decimal.tsx +100 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Dropdown/Dropdown.tsx +233 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Dropdown/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Dropdown/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Email/Email.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Email/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Email/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Integer/Integer.tsx +88 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Integer/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Integer/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/Percentage.tsx +92 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Phone/Phone.tsx +101 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Phone/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RadioButtons/RadioButtons.tsx +116 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RadioButtons/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RadioButtons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RichText/RichText.tsx +96 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RichText/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/ScalarList.tsx +63 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/config-ext.json +7 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/SemanticLink.tsx +76 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/utils.ts +49 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextArea/TextArea.tsx +78 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextArea/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextArea/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextContent/TextContent.tsx +47 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextContent/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextContent/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextInput/TextInput.tsx +94 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextInput/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextInput/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Time/Time.tsx +76 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Time/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Time/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/URL/URL.tsx +72 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/URL/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/URL/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/UserReference.tsx +191 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/UserReferenceUtils.ts +13 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/_field.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ActionButtons/ActionButtons.tsx +74 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ActionButtons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/Assignment.tsx +335 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/AssignmentCard/AssignmentCard.tsx +40 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/AssignmentCard/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +155 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/filterUtils.tsx +160 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DeferLoad/DeferLoad.tsx +166 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DeferLoad/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ErrorBoundary/ErrorBoundary.tsx +46 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ErrorBoundary/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/LeftAlignVerticalTabs/LeftAlignVerticalTabs.tsx +34 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/LeftAlignVerticalTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.css +243 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.tsx +189 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.css +168 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.tsx +288 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Stages/Stages.tsx +118 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Stages/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/VerticalTabs/VerticalTabs.tsx +68 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/VerticalTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/View/View.css +8 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/View/View.tsx +159 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/View/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/_infra.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/AppShell.css +39 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/AppShell.tsx +210 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/BannerPage/BannerPage.tsx +54 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/BannerPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseSummary/CaseSummary.tsx +55 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseSummary/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseSummary/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/CaseView.tsx +266 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +71 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Confirmation/Confirmation.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Confirmation/config-ext.json +12 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Confirmation/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/DataReference.tsx +262 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/config-ext.json +10 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/DefaultForm.css +30 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/DefaultForm.tsx +66 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/utils/index.ts +33 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Details/Details.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Details/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsSubTabs/DetailsSubTabs.tsx +58 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsSubTabs/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsSubTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +103 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/FieldGroupTemplate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboard/InlineDashboard.tsx +74 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboard/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboardPage/InlineDashboardPage.tsx +39 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboardPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListPage/ListPage.tsx +16 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListPage/config-ext.json +8 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/DefaultViewMeta.ts +220 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.css +10 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.tsx +1254 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/hooks.ts +97 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/utils.ts +747 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +37 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/MultiReferenceReadOnly/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWide/NarrowWide.css +19 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWide/NarrowWide.tsx +37 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWide/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +76 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/NarrowWideForm.css +19 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/NarrowWideForm.tsx +22 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWidePage/NarrowWidePage.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWidePage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWidePage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumn/OneColumn.tsx +32 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnPage/OneColumnPage.tsx +17 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnTab/OneColumnTab.tsx +11 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnTab/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnTab/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/PromotedFilters.css +7 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/PromotedFilters.tsx +171 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTable/SimpleTable.tsx +129 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTable/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTable/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +753 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableSelect/SimpleTableSelect.tsx +124 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableSelect/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +63 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SingleReferenceReadOnly/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/SubTabs.tsx +46 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/tabUtils.ts +68 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/TwoColumn.css +12 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/TwoColumn.tsx +55 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnPage/TwoColumnPage.tsx +17 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/TwoColumnTab.css +12 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/TwoColumnTab.tsx +55 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrow/WideNarrow.css +19 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrow/WideNarrow.tsx +37 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrow/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +86 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/WideNarrowForm.css +19 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/WideNarrowForm.tsx +22 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowPage/WideNarrowPage.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/WssNavBar.css +11 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/WssNavBar.tsx +157 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/_template.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +27 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +32 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/AppAnnouncement/AppAnnouncement.tsx +60 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/AppAnnouncement/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/AppAnnouncement/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.css +96 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.tsx +454 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/CaseHistory/CaseHistory.tsx +169 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/CaseHistory/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/CaseHistory/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.css +117 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.tsx +639 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Followers/Followers.tsx +45 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Followers/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Followers/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/QuickCreate/QuickCreate.tsx +62 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/QuickCreate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/SummaryItem.css +78 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/SummaryItem.tsx +88 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryList/SummaryList.tsx +23 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/ToDo.css +93 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/ToDo.tsx +322 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/_widget.md +6 -0
- package/tests/functional/sdk-a/localCreateAllListDeleteAllCustom.test.js +4 -0
- package/tests/functional/sdk-r/localCreateAllListDeleteAllCustom.test.js +160 -0
- package/tests/functional/sdk-r/localCreateAllListDeleteAllOverride.test.js +138 -0
- package/tests/functional/sdk-r/localCreateBuildAllDeleteAllCustom.test.js +165 -0
- package/tests/functional/sdk-r/localCreateBuildDeleteCustom.test.js +92 -0
- package/tests/functional/sdk-r/localCreateBuildDeleteOverride.test.js +76 -0
- package/tests/functional/sdk-r/localCreateListDeleteCustom.test.js +141 -0
- package/tests/functional/sdk-r/localCreateListDeleteOverride.test.js +104 -0
- package/tests/functional/sdk-r/localCreateMapAllClearMap.test.js +242 -0
- package/tests/functional/sdk-r/localCreatePublishAllDeleteAllCustom.test.js +226 -0
- package/tests/functional/sdk-r/localCreatePublishAllDeleteAllOverride.test.js +171 -0
- package/tests/functional/sdk-r/localCreatePublishDeleteCustom.test.js +129 -0
- package/tests/functional/sdk-r/localCreatePublishDeleteOverride.test.js +99 -0
- package/tests/functional/sdk-r/localCreateRenameDeleteCustom.test.js +87 -0
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
|
+
import TextField from '@material-ui/core/TextField';
|
|
3
|
+
|
|
4
|
+
import { Utils } from '@pega/react-sdk-components/lib/components/helpers/utils';
|
|
5
|
+
|
|
6
|
+
import download from 'downloadjs';
|
|
7
|
+
// import SummaryList from '../../SummaryList';
|
|
8
|
+
// import ActionButtonsForFileUtil from '../ActionButtonsForFileUtil';
|
|
9
|
+
import './FileUtility.css';
|
|
10
|
+
import { IconButton, Menu, MenuItem, Button, CircularProgress } from '@material-ui/core';
|
|
11
|
+
import MoreVertIcon from '@material-ui/icons/MoreVert';
|
|
12
|
+
|
|
13
|
+
import { validateMaxSize } from '@pega/react-sdk-components/lib/components/helpers/attachmentHelpers';
|
|
14
|
+
import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
|
|
15
|
+
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
16
|
+
|
|
17
|
+
interface FileUtilityProps extends PConnProps {
|
|
18
|
+
// If any, enter additional props that only exist on this component
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default function FileUtility(props: FileUtilityProps) {
|
|
22
|
+
// Get emitted components from map (so we can get any override that may exist)
|
|
23
|
+
const SummaryList = getComponentFromMap('SummaryList');
|
|
24
|
+
const ActionButtonsForFileUtil = getComponentFromMap('ActionButtonsForFileUtil');
|
|
25
|
+
|
|
26
|
+
const { getPConnect } = props;
|
|
27
|
+
const thePConn = getPConnect();
|
|
28
|
+
const required = true;
|
|
29
|
+
const listTemp = {
|
|
30
|
+
data: [],
|
|
31
|
+
count: 0
|
|
32
|
+
};
|
|
33
|
+
const [list, setList] = useState(listTemp);
|
|
34
|
+
const headerSvgIcon$ = Utils.getImageSrc('paper-clip', Utils.getSDKStaticConentUrl());
|
|
35
|
+
const closeSvgIcon = Utils.getImageSrc('times', Utils.getSDKStaticConentUrl());
|
|
36
|
+
const configProps: any = thePConn.resolveConfigProps(thePConn.getConfigProps());
|
|
37
|
+
|
|
38
|
+
const header = configProps.label;
|
|
39
|
+
const fileTemp = {
|
|
40
|
+
showfileModal: false,
|
|
41
|
+
fileList: [],
|
|
42
|
+
attachedFiles: [],
|
|
43
|
+
fileMainButtons: [
|
|
44
|
+
{
|
|
45
|
+
actionID: 'attach',
|
|
46
|
+
jsAction: 'attachFiles',
|
|
47
|
+
name: thePConn.getLocalizedValue('Attach files', '', '')
|
|
48
|
+
}
|
|
49
|
+
], // 2nd and 3rd args empty string until typedef marked correctly
|
|
50
|
+
fileSecondaryButtons: [
|
|
51
|
+
{
|
|
52
|
+
actionID: 'cancel',
|
|
53
|
+
jsAction: 'cancel',
|
|
54
|
+
name: thePConn.getLocalizedValue('Cancel', '', '')
|
|
55
|
+
}
|
|
56
|
+
] // 2nd and 3rd args empty string until typedef marked correctly
|
|
57
|
+
};
|
|
58
|
+
const [fileData, setFileData] = useState(fileTemp);
|
|
59
|
+
const linkTemp = {
|
|
60
|
+
showLinkModal: false,
|
|
61
|
+
linksList: [],
|
|
62
|
+
attachedLinks: [],
|
|
63
|
+
linkMainButtons: [
|
|
64
|
+
{
|
|
65
|
+
actionID: 'attach',
|
|
66
|
+
jsAction: 'attachLinks',
|
|
67
|
+
name: thePConn.getLocalizedValue('Attach links', '', '')
|
|
68
|
+
}
|
|
69
|
+
], // 2nd and 3rd args empty string until typedef marked correctly
|
|
70
|
+
linkSecondaryButtons: [
|
|
71
|
+
{
|
|
72
|
+
actionID: 'cancel',
|
|
73
|
+
jsAction: 'cancel',
|
|
74
|
+
name: thePConn.getLocalizedValue('Cancel', '', '')
|
|
75
|
+
}
|
|
76
|
+
] // 2nd and 3rd args empty string until typedef marked correctly
|
|
77
|
+
};
|
|
78
|
+
const [linkData, setLinkData] = useState(linkTemp);
|
|
79
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
|
80
|
+
const open = Boolean(anchorEl);
|
|
81
|
+
const [link, setLink] = useState({ title: '', url: '', disable: true });
|
|
82
|
+
const [inProgress, setProgress] = useState(false);
|
|
83
|
+
const [showViewAllModal, setViewAll] = useState(false);
|
|
84
|
+
const [vaItems, setFullAttachments] = useState([]);
|
|
85
|
+
|
|
86
|
+
function addAttachments(attsFromResp: any[] = []) {
|
|
87
|
+
attsFromResp = attsFromResp.map(respAtt => {
|
|
88
|
+
const updatedAtt = {
|
|
89
|
+
...respAtt,
|
|
90
|
+
meta: `${respAtt.category} . ${Utils.generateDateTime(respAtt.createTime, 'DateTime-Since')}, ${respAtt.createdBy}`
|
|
91
|
+
};
|
|
92
|
+
if (updatedAtt.type === 'FILE') {
|
|
93
|
+
updatedAtt.nameWithExt = updatedAtt.fileName;
|
|
94
|
+
}
|
|
95
|
+
return updatedAtt;
|
|
96
|
+
});
|
|
97
|
+
return attsFromResp;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
function getListUtilityItemProps({ att, cancelFile, downloadFile, deleteFile, removeFile }) {
|
|
101
|
+
let actions;
|
|
102
|
+
|
|
103
|
+
if (att.progress && att.progress !== 100) {
|
|
104
|
+
actions = [
|
|
105
|
+
{
|
|
106
|
+
id: `Cancel-${att.ID}`,
|
|
107
|
+
text: thePConn.getLocalizedValue('Cancel', '', ''), // 2nd and 3rd args empty string until typedef marked correctly
|
|
108
|
+
icon: 'times',
|
|
109
|
+
onClick: cancelFile
|
|
110
|
+
}
|
|
111
|
+
];
|
|
112
|
+
} else if (att.links) {
|
|
113
|
+
const isFile = att.type === 'FILE';
|
|
114
|
+
const ID = att.ID.replace(/\s/gi, '');
|
|
115
|
+
const actionsMap = new Map([
|
|
116
|
+
[
|
|
117
|
+
'download',
|
|
118
|
+
{
|
|
119
|
+
id: `download-${ID}`,
|
|
120
|
+
text: isFile ? thePConn.getLocalizedValue('Download', '', '') : thePConn.getLocalizedValue('Open', '', ''), // 2nd and 3rd args empty string until typedef marked correctly
|
|
121
|
+
icon: isFile ? 'download' : 'open',
|
|
122
|
+
onClick: downloadFile
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
[
|
|
126
|
+
'delete',
|
|
127
|
+
{
|
|
128
|
+
id: `Delete-${ID}`,
|
|
129
|
+
text: thePConn.getLocalizedValue('Delete', '', ''), // 2nd and 3rd args empty string until typedef marked correctly
|
|
130
|
+
icon: 'trash',
|
|
131
|
+
onClick: deleteFile
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
]);
|
|
135
|
+
actions = [];
|
|
136
|
+
actionsMap.forEach((action, actionKey) => {
|
|
137
|
+
if (att.links[actionKey]) {
|
|
138
|
+
actions.push(action);
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
} else if (att.error) {
|
|
142
|
+
actions = [
|
|
143
|
+
{
|
|
144
|
+
id: `Remove-${att.ID}`,
|
|
145
|
+
text: thePConn.getLocalizedValue('Remove', '', ''), // 2nd and 3rd args empty string until typedef marked correctly
|
|
146
|
+
icon: 'trash',
|
|
147
|
+
onClick: removeFile
|
|
148
|
+
}
|
|
149
|
+
];
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
id: att.ID,
|
|
154
|
+
visual: {
|
|
155
|
+
icon: Utils.getIconForAttachment(att),
|
|
156
|
+
progress: att.progress === 100 ? undefined : att.progress
|
|
157
|
+
},
|
|
158
|
+
primary: {
|
|
159
|
+
type: att.type,
|
|
160
|
+
name: att.name,
|
|
161
|
+
icon: 'open',
|
|
162
|
+
click: downloadFile
|
|
163
|
+
},
|
|
164
|
+
secondary: {
|
|
165
|
+
text: att.meta
|
|
166
|
+
},
|
|
167
|
+
actions
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
function fileDownload(data, fileName, ext) {
|
|
172
|
+
const file = ext ? `${fileName}.${ext}` : fileName;
|
|
173
|
+
download(atob(data), file);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
function downloadAttachedFile(att: any) {
|
|
177
|
+
const attachUtils = PCore.getAttachmentUtils();
|
|
178
|
+
const { ID, name, extension, type } = att;
|
|
179
|
+
const context = thePConn.getContextName();
|
|
180
|
+
|
|
181
|
+
attachUtils
|
|
182
|
+
// @ts-ignore - 3rd parameter "responseEncoding" is optional
|
|
183
|
+
.downloadAttachment(ID, context)
|
|
184
|
+
.then((content: any) => {
|
|
185
|
+
if (type === 'FILE') {
|
|
186
|
+
fileDownload(content.data, name, extension);
|
|
187
|
+
} else if (type === 'URL') {
|
|
188
|
+
let { data } = content;
|
|
189
|
+
if (!/^(http|https):\/\//.test(data)) {
|
|
190
|
+
data = `//${data}`;
|
|
191
|
+
}
|
|
192
|
+
window.open(content.data, '_blank');
|
|
193
|
+
}
|
|
194
|
+
})
|
|
195
|
+
.catch();
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
function deleteAttachedFile(att: any) {
|
|
199
|
+
const attachUtils = PCore.getAttachmentUtils();
|
|
200
|
+
const { ID } = att;
|
|
201
|
+
const context = thePConn.getContextName();
|
|
202
|
+
|
|
203
|
+
attachUtils
|
|
204
|
+
.deleteAttachment(ID, context)
|
|
205
|
+
.then(() => {
|
|
206
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
207
|
+
getAttachments();
|
|
208
|
+
})
|
|
209
|
+
.catch();
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
const getAttachments = () => {
|
|
213
|
+
const attachmentUtils = PCore.getAttachmentUtils();
|
|
214
|
+
const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly
|
|
215
|
+
|
|
216
|
+
if (caseID && caseID !== '') {
|
|
217
|
+
const attPromise = attachmentUtils.getCaseAttachments(caseID, thePConn.getContextName());
|
|
218
|
+
|
|
219
|
+
attPromise.then((resp: any) => {
|
|
220
|
+
const arFullListAttachments = addAttachments(resp);
|
|
221
|
+
const attachmentsCount = arFullListAttachments.length;
|
|
222
|
+
const arItems: any = arFullListAttachments.slice(0, 3).map(att => {
|
|
223
|
+
return getListUtilityItemProps({
|
|
224
|
+
att,
|
|
225
|
+
downloadFile: !att.progress ? () => downloadAttachedFile(att) : null,
|
|
226
|
+
cancelFile: null,
|
|
227
|
+
deleteFile: !att.progress ? () => deleteAttachedFile(att) : null,
|
|
228
|
+
removeFile: null
|
|
229
|
+
});
|
|
230
|
+
});
|
|
231
|
+
const viewAllarItems: any = arFullListAttachments.map(att => {
|
|
232
|
+
return getListUtilityItemProps({
|
|
233
|
+
att,
|
|
234
|
+
downloadFile: !att.progress ? () => downloadAttachedFile(att) : null,
|
|
235
|
+
cancelFile: null,
|
|
236
|
+
deleteFile: !att.progress ? () => deleteAttachedFile(att) : null,
|
|
237
|
+
removeFile: null
|
|
238
|
+
});
|
|
239
|
+
});
|
|
240
|
+
setProgress(false);
|
|
241
|
+
setList(current => {
|
|
242
|
+
return { ...current, count: attachmentsCount, data: arItems };
|
|
243
|
+
});
|
|
244
|
+
setFullAttachments(viewAllarItems);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
useEffect(() => {
|
|
250
|
+
getAttachments();
|
|
251
|
+
}, []);
|
|
252
|
+
|
|
253
|
+
useEffect(() => {
|
|
254
|
+
PCore.getPubSubUtils().subscribe(
|
|
255
|
+
(PCore.getEvents().getCaseEvent() as any).CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW,
|
|
256
|
+
getAttachments,
|
|
257
|
+
'caseAttachmentsUpdateFromCaseview'
|
|
258
|
+
);
|
|
259
|
+
|
|
260
|
+
return () => {
|
|
261
|
+
PCore.getPubSubUtils().unsubscribe(
|
|
262
|
+
(PCore.getEvents().getCaseEvent() as any).CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW,
|
|
263
|
+
'caseAttachmentsUpdateFromCaseview'
|
|
264
|
+
);
|
|
265
|
+
};
|
|
266
|
+
}, []);
|
|
267
|
+
|
|
268
|
+
function setNewFiles(arFiles) {
|
|
269
|
+
let index = 0;
|
|
270
|
+
for (const file of arFiles) {
|
|
271
|
+
if (!validateMaxSize(file, '5')) {
|
|
272
|
+
file.error = true;
|
|
273
|
+
file.meta = 'File is too big. Max allowed size is 5MB.';
|
|
274
|
+
}
|
|
275
|
+
file.mimeType = file.type;
|
|
276
|
+
file.icon = Utils.getIconFromFileType(file.type);
|
|
277
|
+
file.ID = `${new Date().getTime()}I${index}`;
|
|
278
|
+
index += 1;
|
|
279
|
+
}
|
|
280
|
+
return arFiles;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
function getFiles(arFiles: any[]): any[] {
|
|
284
|
+
return setNewFiles(arFiles);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
function uploadMyFiles(event) {
|
|
288
|
+
// alert($event.target.files[0]); // outputs the first file
|
|
289
|
+
const arFiles = getFiles(event.target.files);
|
|
290
|
+
// convert FileList to an array
|
|
291
|
+
const myFiles: any = Array.from(arFiles);
|
|
292
|
+
|
|
293
|
+
const arFileList$: any = myFiles.map((att: any) => {
|
|
294
|
+
return getListUtilityItemProps({
|
|
295
|
+
att,
|
|
296
|
+
downloadFile: !att.progress ? () => downloadAttachedFile(att) : null,
|
|
297
|
+
cancelFile: null,
|
|
298
|
+
deleteFile: !att.progress ? () => deleteAttachedFile(att) : null,
|
|
299
|
+
removeFile: null
|
|
300
|
+
});
|
|
301
|
+
});
|
|
302
|
+
setFileData(current => {
|
|
303
|
+
return { ...current, fileList: arFileList$, attachedFiles: myFiles };
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
const handleClick = event => {
|
|
308
|
+
setAnchorEl(event.currentTarget);
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
const handleClose = () => {
|
|
312
|
+
setAnchorEl(null);
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
function onAddFilesClick() {
|
|
316
|
+
setFileData(current => {
|
|
317
|
+
return { ...current, showfileModal: true };
|
|
318
|
+
});
|
|
319
|
+
setAnchorEl(null);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
function removeFileFromList(item: any) {
|
|
323
|
+
let attachedFiles: any = fileData.attachedFiles;
|
|
324
|
+
let fileList: any = fileData.fileList;
|
|
325
|
+
if (item !== null) {
|
|
326
|
+
attachedFiles = attachedFiles.filter(ele => ele.ID !== item.id);
|
|
327
|
+
fileList = fileList.filter(ele => ele.id !== item.id);
|
|
328
|
+
setFileData(current => {
|
|
329
|
+
return { ...current, fileList, attachedFiles };
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
function closeFilePopup() {
|
|
335
|
+
setFileData(current => {
|
|
336
|
+
return { ...current, showfileModal: false };
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
function onAttachFiles() {
|
|
341
|
+
const attachmentUtils = PCore.getAttachmentUtils();
|
|
342
|
+
const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly
|
|
343
|
+
const onUploadProgress = () => {};
|
|
344
|
+
const errorHandler = () => {};
|
|
345
|
+
closeFilePopup();
|
|
346
|
+
if (fileData.attachedFiles && fileData.attachedFiles.length > 0) {
|
|
347
|
+
setProgress(true);
|
|
348
|
+
}
|
|
349
|
+
for (const file of fileData.attachedFiles) {
|
|
350
|
+
attachmentUtils
|
|
351
|
+
.uploadAttachment(file, onUploadProgress, errorHandler, thePConn.getContextName())
|
|
352
|
+
.then((fileResponse: any) => {
|
|
353
|
+
if (fileResponse.type === 'File') {
|
|
354
|
+
(attachmentUtils.linkAttachmentsToCase(caseID, [fileResponse], 'File', thePConn.getContextName()) as Promise<any>)
|
|
355
|
+
.then(() => {
|
|
356
|
+
setFileData(current => {
|
|
357
|
+
return { ...current, fileList: [], attachedFiles: [] };
|
|
358
|
+
});
|
|
359
|
+
getAttachments();
|
|
360
|
+
})
|
|
361
|
+
.catch();
|
|
362
|
+
}
|
|
363
|
+
})
|
|
364
|
+
.catch();
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
function onAddLinksClick() {
|
|
369
|
+
setLinkData(current => {
|
|
370
|
+
return { ...current, showLinkModal: true };
|
|
371
|
+
});
|
|
372
|
+
setAnchorEl(null);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
function closeAddLinksPopup() {
|
|
376
|
+
setLinkData(current => {
|
|
377
|
+
return { ...current, showLinkModal: false };
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
const fieldlinkOnChange = event => {
|
|
382
|
+
const title = event.target.value;
|
|
383
|
+
setLink(current => {
|
|
384
|
+
const updatedData = { ...current, title };
|
|
385
|
+
updatedData.disable = !(updatedData.title && updatedData.url);
|
|
386
|
+
return updatedData;
|
|
387
|
+
});
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
function fieldurlOnChange(event) {
|
|
391
|
+
const url = event.target.value;
|
|
392
|
+
setLink(current => {
|
|
393
|
+
const updatedData = { ...current, url };
|
|
394
|
+
updatedData.disable = !(updatedData.title && updatedData.url);
|
|
395
|
+
return updatedData;
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
function addLink() {
|
|
400
|
+
// copy list locally
|
|
401
|
+
const localList: any = linkData.linksList.slice();
|
|
402
|
+
const url = link.url;
|
|
403
|
+
if (!/^(http|https):\/\//.test(link.url)) {
|
|
404
|
+
link.url = `http://${link.url}`;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
// list for display
|
|
408
|
+
let oLink: any = {};
|
|
409
|
+
oLink.icon = 'chain';
|
|
410
|
+
oLink.ID = `${new Date().getTime()}`;
|
|
411
|
+
oLink = getListUtilityItemProps({
|
|
412
|
+
att: oLink,
|
|
413
|
+
downloadFile: null,
|
|
414
|
+
cancelFile: null,
|
|
415
|
+
deleteFile: null,
|
|
416
|
+
removeFile: null
|
|
417
|
+
});
|
|
418
|
+
oLink.type = 'URL';
|
|
419
|
+
oLink.primary.type = oLink.type;
|
|
420
|
+
oLink.visual.icon = 'chain';
|
|
421
|
+
oLink.primary.name = link.title;
|
|
422
|
+
oLink.primary.icon = 'open';
|
|
423
|
+
oLink.secondary.text = url;
|
|
424
|
+
|
|
425
|
+
localList.push(oLink);
|
|
426
|
+
|
|
427
|
+
// list for actually attachments
|
|
428
|
+
const attachedListTemp: any = linkData.attachedLinks.slice();
|
|
429
|
+
const attachedLink: any = {};
|
|
430
|
+
attachedLink.id = oLink.id;
|
|
431
|
+
attachedLink.linkTitle = link.title;
|
|
432
|
+
attachedLink.type = oLink.type;
|
|
433
|
+
attachedLink.url = url;
|
|
434
|
+
|
|
435
|
+
attachedListTemp.push(attachedLink);
|
|
436
|
+
setLinkData(current => {
|
|
437
|
+
return {
|
|
438
|
+
...current,
|
|
439
|
+
linksList: localList,
|
|
440
|
+
attachedLinks: attachedListTemp
|
|
441
|
+
};
|
|
442
|
+
});
|
|
443
|
+
// clear values
|
|
444
|
+
setLink({ title: '', url: '', disable: true });
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
function removeLinksFromList(item: any) {
|
|
448
|
+
let attachedLinks: any = linkData.attachedLinks;
|
|
449
|
+
let linksList: any = linkData.linksList;
|
|
450
|
+
if (item !== null) {
|
|
451
|
+
attachedLinks = attachedLinks.filter(ele => ele.id !== item.id);
|
|
452
|
+
linksList = linksList.filter(ele => ele.id !== item.id);
|
|
453
|
+
setLinkData(current => {
|
|
454
|
+
return { ...current, linksList, attachedLinks };
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
function onAttachLinks() {
|
|
460
|
+
const attachmentUtils = PCore.getAttachmentUtils();
|
|
461
|
+
const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly
|
|
462
|
+
const links = linkData.attachedLinks;
|
|
463
|
+
closeAddLinksPopup();
|
|
464
|
+
const linksToAttach = links.map((item: any) => ({
|
|
465
|
+
type: 'URL',
|
|
466
|
+
category: 'URL',
|
|
467
|
+
url: item.url,
|
|
468
|
+
name: item.linkTitle
|
|
469
|
+
}));
|
|
470
|
+
|
|
471
|
+
if (linksToAttach && linksToAttach.length > 0) {
|
|
472
|
+
setProgress(true);
|
|
473
|
+
(attachmentUtils.linkAttachmentsToCase(caseID, linksToAttach, 'URL', thePConn.getContextName()) as Promise<any>)
|
|
474
|
+
.then(() => {
|
|
475
|
+
setLinkData(current => {
|
|
476
|
+
return { ...current, linksList: [], attachedLinks: [] };
|
|
477
|
+
});
|
|
478
|
+
getAttachments();
|
|
479
|
+
})
|
|
480
|
+
.catch(() => setProgress(false));
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
return (
|
|
485
|
+
<div className='psdk-utility'>
|
|
486
|
+
{inProgress && (
|
|
487
|
+
<div className='progress-div'>
|
|
488
|
+
<CircularProgress />
|
|
489
|
+
</div>
|
|
490
|
+
)}
|
|
491
|
+
<div className='psdk-header'>
|
|
492
|
+
<img className='psdk-file-utility-card-svg-icon' src={headerSvgIcon$} />
|
|
493
|
+
<div className='header-text'>{header}</div>
|
|
494
|
+
<div className='psdk-utility-count' id='attachments-count'>
|
|
495
|
+
{list.count}
|
|
496
|
+
</div>
|
|
497
|
+
<div style={{ flexGrow: 1 }} />
|
|
498
|
+
<div>
|
|
499
|
+
<IconButton
|
|
500
|
+
id='long-button'
|
|
501
|
+
aria-controls={open ? 'simple-menu' : undefined}
|
|
502
|
+
aria-expanded={open ? 'true' : undefined}
|
|
503
|
+
aria-haspopup='true'
|
|
504
|
+
onClick={handleClick}
|
|
505
|
+
>
|
|
506
|
+
<MoreVertIcon />
|
|
507
|
+
</IconButton>
|
|
508
|
+
<Menu style={{ marginTop: '3rem' }} id='simple-menu' anchorEl={anchorEl} keepMounted open={Boolean(anchorEl)} onClose={handleClose}>
|
|
509
|
+
<MenuItem style={{ fontSize: '14px' }} onClick={onAddFilesClick}>
|
|
510
|
+
{thePConn.getLocalizedValue('Add files', '', '')}
|
|
511
|
+
</MenuItem>{' '}
|
|
512
|
+
{/* 2nd and 3rd args empty string until typedef marked correctly */}
|
|
513
|
+
<MenuItem style={{ fontSize: '14px' }} onClick={onAddLinksClick}>
|
|
514
|
+
{thePConn.getLocalizedValue('Add links', '', '')}
|
|
515
|
+
</MenuItem>{' '}
|
|
516
|
+
{/* 2nd and 3rd args empty string until typedef marked correctly */}
|
|
517
|
+
</Menu>
|
|
518
|
+
</div>
|
|
519
|
+
</div>
|
|
520
|
+
{list.data.length > 0 && (
|
|
521
|
+
<div style={{ marginTop: '1rem' }}>
|
|
522
|
+
<SummaryList arItems$={list.data} />
|
|
523
|
+
</div>
|
|
524
|
+
)}
|
|
525
|
+
{list.count > 3 && (
|
|
526
|
+
<div className='psdk-utility-view-all'>
|
|
527
|
+
<Button style={{ textTransform: 'none' }} color='primary' onClick={() => setViewAll(true)}>
|
|
528
|
+
View all
|
|
529
|
+
</Button>
|
|
530
|
+
</div>
|
|
531
|
+
)}
|
|
532
|
+
{fileData.showfileModal && (
|
|
533
|
+
<div className='psdk-dialog-background'>
|
|
534
|
+
<div className='psdk-modal-file-top'>
|
|
535
|
+
<h3>{thePConn.getLocalizedValue('Add local files', '', '')}</h3>
|
|
536
|
+
<div className='psdk-modal-body'>
|
|
537
|
+
<div className='psdk-modal-file-selector'>
|
|
538
|
+
<label htmlFor='upload-files'>
|
|
539
|
+
<input style={{ display: 'none' }} id='upload-files' name='upload-files' type='file' multiple onChange={uploadMyFiles} />
|
|
540
|
+
<Button variant='outlined' color='primary' component='span'>
|
|
541
|
+
{thePConn.getLocalizedValue('Attach files', '', '')}
|
|
542
|
+
</Button>{' '}
|
|
543
|
+
{/* 2nd and 3rd args empty string until typedef marked correctly */}
|
|
544
|
+
</label>
|
|
545
|
+
</div>
|
|
546
|
+
{fileData.fileList.length > 0 && (
|
|
547
|
+
<div style={{ marginTop: '1rem' }}>
|
|
548
|
+
<SummaryList menuIconOverride$='trash' arItems$={fileData.fileList} menuIconOverrideAction$={removeFileFromList} />
|
|
549
|
+
</div>
|
|
550
|
+
)}
|
|
551
|
+
{fileData.fileList.length === 0 && <div />}
|
|
552
|
+
<ActionButtonsForFileUtil
|
|
553
|
+
arMainButtons={fileData.fileMainButtons}
|
|
554
|
+
arSecondaryButtons={fileData.fileSecondaryButtons}
|
|
555
|
+
primaryAction={onAttachFiles}
|
|
556
|
+
secondaryAction={closeFilePopup}
|
|
557
|
+
/>
|
|
558
|
+
</div>
|
|
559
|
+
</div>
|
|
560
|
+
</div>
|
|
561
|
+
)}
|
|
562
|
+
{linkData.showLinkModal && (
|
|
563
|
+
<div className='psdk-dialog-background'>
|
|
564
|
+
<div className='psdk-modal-file-top'>
|
|
565
|
+
<h3>{thePConn.getLocalizedValue('Add links', '', '')}</h3> {/* 2nd and 3rd args empty string until typedef marked correctly */}
|
|
566
|
+
<div className='psdk-modal-body'>
|
|
567
|
+
<div className='psdk-modal-links-row'>
|
|
568
|
+
<div className='psdk-links-two-column'>
|
|
569
|
+
<div className='psdk-modal-link-data'>
|
|
570
|
+
<TextField
|
|
571
|
+
fullWidth
|
|
572
|
+
variant='outlined'
|
|
573
|
+
label='Link title'
|
|
574
|
+
size='small'
|
|
575
|
+
required={required}
|
|
576
|
+
value={link.title}
|
|
577
|
+
onChange={fieldlinkOnChange}
|
|
578
|
+
/>
|
|
579
|
+
</div>
|
|
580
|
+
<div className='psdk-modal-link-data'>
|
|
581
|
+
<TextField
|
|
582
|
+
fullWidth
|
|
583
|
+
variant='outlined'
|
|
584
|
+
label='URL'
|
|
585
|
+
size='small'
|
|
586
|
+
required={required}
|
|
587
|
+
value={link.url}
|
|
588
|
+
onChange={fieldurlOnChange}
|
|
589
|
+
/>
|
|
590
|
+
</div>
|
|
591
|
+
</div>
|
|
592
|
+
<div className='psdk-modal-link-add'>
|
|
593
|
+
<Button
|
|
594
|
+
className='psdk-add-link-action'
|
|
595
|
+
color='primary'
|
|
596
|
+
variant='contained'
|
|
597
|
+
component='span'
|
|
598
|
+
onClick={addLink}
|
|
599
|
+
disabled={link.disable}
|
|
600
|
+
>
|
|
601
|
+
{thePConn.getLocalizedValue('Add link', '', '')}
|
|
602
|
+
</Button>{' '}
|
|
603
|
+
{/* 2nd and 3rd args empty string until typedef marked correctly */}
|
|
604
|
+
</div>
|
|
605
|
+
</div>
|
|
606
|
+
{linkData.linksList.length > 0 && (
|
|
607
|
+
<div style={{ marginTop: '1rem' }}>
|
|
608
|
+
<SummaryList menuIconOverride$='trash' arItems$={linkData.linksList} menuIconOverrideAction$={removeLinksFromList} />
|
|
609
|
+
</div>
|
|
610
|
+
)}
|
|
611
|
+
<ActionButtonsForFileUtil
|
|
612
|
+
arMainButtons={linkData.linkMainButtons}
|
|
613
|
+
arSecondaryButtons={linkData.linkSecondaryButtons}
|
|
614
|
+
primaryAction={onAttachLinks}
|
|
615
|
+
secondaryAction={closeAddLinksPopup}
|
|
616
|
+
/>
|
|
617
|
+
</div>
|
|
618
|
+
</div>
|
|
619
|
+
</div>
|
|
620
|
+
)}
|
|
621
|
+
{showViewAllModal && (
|
|
622
|
+
<div className='psdk-dialog-background'>
|
|
623
|
+
<div className='psdk-modal-file-top'>
|
|
624
|
+
<div className='psdk-view-all-header'>
|
|
625
|
+
<h3>{thePConn.getLocalizedValue('Attachments', '', '')}</h3> {/* 2nd and 3rd args empty string until typedef marked correctly */}
|
|
626
|
+
{/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}
|
|
627
|
+
<button type='button' className='psdk-close-button' onClick={() => setViewAll(false)}>
|
|
628
|
+
<img className='psdk-utility-card-actions-svg-icon' src={closeSvgIcon} />
|
|
629
|
+
</button>
|
|
630
|
+
</div>
|
|
631
|
+
<div className='psdk-view-all-body'>
|
|
632
|
+
<SummaryList arItems$={vaItems} />
|
|
633
|
+
</div>
|
|
634
|
+
</div>
|
|
635
|
+
</div>
|
|
636
|
+
)}
|
|
637
|
+
</div>
|
|
638
|
+
);
|
|
639
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './FileUtility';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { Card, CardContent, CardHeader, Typography } from '@material-ui/core';
|
|
3
|
+
import { makeStyles } from '@material-ui/core/styles';
|
|
4
|
+
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
5
|
+
|
|
6
|
+
interface FollowersProps extends PConnProps {
|
|
7
|
+
// If any, enter additional props that only exist on this component
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const useStyles = makeStyles(theme => ({
|
|
11
|
+
root: {
|
|
12
|
+
paddingRight: theme.spacing(1),
|
|
13
|
+
paddingLeft: theme.spacing(1),
|
|
14
|
+
paddingTop: theme.spacing(1),
|
|
15
|
+
paddingBottom: theme.spacing(1),
|
|
16
|
+
marginRight: theme.spacing(1),
|
|
17
|
+
marginLeft: theme.spacing(1),
|
|
18
|
+
marginTop: theme.spacing(1),
|
|
19
|
+
marginBottom: theme.spacing(1)
|
|
20
|
+
// borderLeft: "6px solid",
|
|
21
|
+
// borderLeftColor: green[300]
|
|
22
|
+
}
|
|
23
|
+
}));
|
|
24
|
+
|
|
25
|
+
export default function Followers(props: PropsWithChildren<FollowersProps>) {
|
|
26
|
+
const componentName = 'Followers';
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
28
|
+
const { children } = props;
|
|
29
|
+
const classes = useStyles();
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<Card className={classes.root}>
|
|
33
|
+
<CardHeader
|
|
34
|
+
title={
|
|
35
|
+
<Typography variant='h6' component='div'>
|
|
36
|
+
{componentName} - <em>unsupported</em>
|
|
37
|
+
</Typography>
|
|
38
|
+
}
|
|
39
|
+
/>
|
|
40
|
+
<CardContent>
|
|
41
|
+
<Typography>{componentName} content</Typography>
|
|
42
|
+
</CardContent>
|
|
43
|
+
</Card>
|
|
44
|
+
);
|
|
45
|
+
}
|