@pega/dx-component-builder-sdk 0.25.6 → 0.25.7
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/constants.js +2 -0
- package/src/tasks/create/index.js +50 -51
- package/src/tasks/create/templates/Constellation/field/Boolean/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Date/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Date/date.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/DateTime/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Decimal/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Decimal-Currency/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Integer/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Picklist/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Picklist/index.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/date.ts.mustache +0 -2
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/index.tsx.mustache +0 -2
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/repeat-utils.ts.mustache +0 -4
- package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/index.tsx.mustache +1 -2
- package/src/tasks/create/templates/Constellation/field/Text/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-Email/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-Input/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-Paragraph/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-Phone/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-URL/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/TimeOfDay/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS/Avatar.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS/HighlightRender.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS/StatusWork.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS/utils.js.mustache +0 -2
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/Avatar.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/HighlightRender.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/StatusWork.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/FORM/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/FORM-region/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/PAGE/GetNextWork.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/PAGE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/widget/CASE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/widget/PAGE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/Avatar.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/index.tsx.mustache +0 -2
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.html.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.scss.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +21 -150
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Date/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.html.mustache +2 -2
- package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.ts.mustache +29 -150
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.html.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.ts.mustache +34 -148
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.ts.mustache +37 -163
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.ts.mustache +34 -169
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.ts.mustache +36 -154
- package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Integer/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Integer/integer.component.ts.mustache +18 -157
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.ts.mustache +24 -148
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/demo.stories.tsx.mustache +7 -2
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/picklist-autocomplete.component.ts.mustache +28 -162
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/picklist-radio-buttons.component.scss.mustache +4 -2
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/picklist-radio-buttons.component.ts.mustache +35 -161
- package/src/tasks/create/templates/SDK-Angular/field/Text/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text/text.component.ts.mustache +29 -144
- package/src/tasks/create/templates/SDK-Angular/field/Text-Email/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Email/text-email.component.ts.mustache +15 -155
- package/src/tasks/create/templates/SDK-Angular/field/Text-Input/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Input/text.component.ts.mustache +15 -155
- package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/text-paragraph.component.ts.mustache +18 -152
- package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.scss.mustache +4 -0
- package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.ts.mustache +29 -142
- package/src/tasks/create/templates/SDK-Angular/field/Text-URL/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-URL/text-url.component.ts.mustache +16 -154
- package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/time-of-day.component.ts.mustache +17 -151
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/details.component.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/FORM/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.ts.mustache +10 -3
- package/src/tasks/create/templates/SDK-Angular/template/FORM-region/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/FORM-region/form.component.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/PAGE/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/PAGE/page.component.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/widget/CASE/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.html.mustache +2 -2
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.ts.mustache +4 -5
- package/src/tasks/create/templates/SDK-React/field/Boolean/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Boolean/index.tsx.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Date/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/DateTime/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Decimal/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Icon-Button-URL/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Icon-Button-URL/index.tsx.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Icon-Button-URL/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Integer/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Picklist/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Picklist/index.tsx.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Picklist-Autocomplete/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Picklist-RadioButtons/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text-Email/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text-Email/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text-Input/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text-Phone/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text-Phone/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text-URL/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/Text-URL/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/field/TimeOfDay/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/template/DETAILS/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/template/DETAILS/index.tsx.mustache +1 -2
- package/src/tasks/create/templates/SDK-React/template/DETAILS-region/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/template/DETAILS-region/index.tsx.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/template/FORM/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/template/FORM/index.tsx.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/template/FORM-region/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/template/FORM-region/index.tsx.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/template/PAGE/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/widget/CASE/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/widget/CASE/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/widget/PAGE/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/config.json.mustache +0 -1
- package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/index.tsx.mustache +0 -1
- package/src/tasks/create-all/index.js +68 -55
- package/src/tasks/validator/index.js +22 -2
- package/src/util.js +68 -4
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/config.json +0 -1
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/mock.ts +0 -1
- package/tests/assets/sdk-r/components/create/override-sdk/field/SelectableCard/utils.tsx +2 -1
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/Assignment.tsx +2 -2
- package/tests/assets/sdk-r/components/create/override-sdk/infra/FlowContainer/FlowContainer.tsx +2 -2
- package/tests/assets/sdk-r/components/create/override-sdk/infra/ModalViewContainer/ModalViewContainer.tsx +2 -2
- package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.tsx +14 -5
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Stages/Stages.tsx +2 -3
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/CaseView.tsx +5 -11
- package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/DataReference.tsx +1 -2
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.tsx +1 -1
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +1 -1
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/ToDo.tsx +10 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/date.ts +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/index.tsx +1 -2
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/date.ts +0 -2
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +0 -2
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -4
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/StatusWork.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Avatar.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/HighlightRender.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/StatusWork.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/utils.js +0 -2
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -2
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/mock.ts +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/mock.ts +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/mock.ts +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/mock.ts +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/mock.ts +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx +1 -2
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/index.tsx +3 -3
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/mock.ts +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/config.json +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx +3 -3
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/SelectableCard/utils.tsx +2 -1
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/Assignment.tsx +2 -2
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/FlowContainer/FlowContainer.tsx +2 -2
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ModalViewContainer/ModalViewContainer.tsx +2 -2
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.tsx +14 -5
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Stages/Stages.tsx +2 -3
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/CaseView.tsx +5 -11
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/DataReference.tsx +1 -2
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.tsx +1 -1
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +1 -1
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/ToDo.tsx +10 -5
- package/src/tasks/create/templates/Constellation/field/Text-Input/StatusWork.tsx +0 -26
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_Booleantest_sambhu/Boolean.ts +0 -21
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_Booleantest_sambhu/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_Booleantest_sambhu/boolean-format.ts +0 -21
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_Booleantest_sambhu/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_Booleantest_sambhu/demo.stories.tsx +0 -72
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_Booleantest_sambhu/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_Booleantest_sambhu/index.tsx +0 -141
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_Booleantest_sambhu/mock.ts +0 -22
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_Booleantest_sambhu/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Boolean/Boolean.ts +0 -21
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Boolean/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Boolean/boolean-format.ts +0 -21
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Boolean/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Boolean/demo.stories.tsx +0 -72
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Boolean/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Boolean/index.tsx +0 -141
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Boolean/mock.ts +0 -22
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Boolean/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Currency/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Currency/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Currency/demo.stories.tsx +0 -80
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Currency/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Currency/index.tsx +0 -264
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Currency/mock.ts +0 -34
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Currency/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Currency/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/DateFormatter.ts +0 -55
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/FormattedText.tsx +0 -20
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/date.ts +0 -430
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/demo.stories.tsx +0 -81
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/index.tsx +0 -239
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/mock.ts +0 -24
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Date/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/date-time.ts +0 -83
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/date-utils.ts +0 -280
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/date.ts +0 -309
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/demo.stories.tsx +0 -81
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/index.tsx +0 -233
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/mock.ts +0 -26
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25DateTime/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Decimal/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Decimal/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Decimal/demo.stories.tsx +0 -73
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Decimal/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Decimal/index.tsx +0 -238
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Decimal/mock.ts +0 -30
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Decimal/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Decimal/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Email/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Email/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Email/demo.stories.tsx +0 -73
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Email/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Email/index.tsx +0 -199
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Email/mock.ts +0 -31
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Email/styles.ts +0 -21
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Email/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25IconButtonURL/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25IconButtonURL/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25IconButtonURL/demo.stories.tsx +0 -92
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25IconButtonURL/index.tsx +0 -181
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25IconButtonURL/mock.ts +0 -4
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25IconButtonURL/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Integer/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Integer/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Integer/demo.stories.tsx +0 -74
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Integer/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Integer/index.tsx +0 -293
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Integer/mock.ts +0 -29
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Integer/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Integer/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Paragraph/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Paragraph/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Paragraph/demo.stories.tsx +0 -73
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Paragraph/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Paragraph/index.tsx +0 -201
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Paragraph/mock.ts +0 -29
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Paragraph/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Paragraph/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Percentage/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Percentage/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Percentage/demo.stories.tsx +0 -74
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Percentage/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Percentage/index.tsx +0 -247
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Percentage/mock.ts +0 -30
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Percentage/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Percentage/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Phone/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Phone/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Phone/demo.stories.tsx +0 -72
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Phone/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Phone/index.tsx +0 -235
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Phone/mock.ts +0 -46
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Phone/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Phone/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Picklist/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Picklist/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Picklist/demo.stories.tsx +0 -103
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Picklist/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Picklist/index.tsx +0 -314
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Picklist/mock.ts +0 -76
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Picklist/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Picklist/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Radiobuttons/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Radiobuttons/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Radiobuttons/demo.stories.tsx +0 -106
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Radiobuttons/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Radiobuttons/index.tsx +0 -187
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Radiobuttons/mock.ts +0 -76
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Radiobuttons/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Radiobuttons/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Radiobuttons/textformat-utils.tsx +0 -152
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/component-constants.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/date.ts +0 -141
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/demo.stories.tsx +0 -111
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/embed-utils.ts +0 -311
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/format-constants.ts +0 -41
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/index.tsx +0 -1045
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/mock.ts +0 -75
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/picklist-utils.ts +0 -88
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/repeat-constants.ts +0 -20
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/repeat-utils.ts +0 -623
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/textformat-utils.tsx +0 -152
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Searchbox/utils.ts +0 -199
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Text/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Text/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Text/demo.stories.tsx +0 -75
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Text/index.tsx +0 -136
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Text/mock.ts +0 -21
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25Text/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TextInput/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TextInput/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TextInput/demo.stories.tsx +0 -73
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TextInput/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TextInput/index.tsx +0 -207
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TextInput/mock.ts +0 -30
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TextInput/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TextInput/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TimeOfDay/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TimeOfDay/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TimeOfDay/demo.stories.tsx +0 -75
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TimeOfDay/index.tsx +0 -199
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TimeOfDay/mock.ts +0 -22
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TimeOfDay/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TimeOfDay/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TimeOfDay/time-of-day.ts +0 -280
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25URL/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25URL/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25URL/demo.stories.tsx +0 -71
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25URL/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25URL/index.tsx +0 -200
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25URL/mock.ts +0 -31
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25URL/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25URL/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25URL/text-url.tsx +0 -156
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/Avatar.tsx +0 -70
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/DetailsRender.tsx +0 -50
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/HighlightRender.tsx +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/OneColumnDetails.svg +0 -22
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/Operator.tsx +0 -198
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/StatusWork.tsx +0 -25
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/demo.stories.tsx +0 -202
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/index.tsx +0 -92
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/mock.ts +0 -249
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/styles.ts +0 -23
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Details/utils.js +0 -148
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Form/DefaultForm.svg +0 -29
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Form/DetailsRender.tsx +0 -57
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Form/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Form/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Form/demo.stories.tsx +0 -245
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Form/index.tsx +0 -68
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Form/mock.ts +0 -138
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Form/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/GetNextWork.tsx +0 -41
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/OneColumnPage.svg +0 -36
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/demo.stories.tsx +0 -113
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/index.tsx +0 -65
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/localizations.json +0 -6
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/mock.ts +0 -95
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25Page/utils.ts +0 -241
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/Avatar.tsx +0 -70
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/DetailsRender.tsx +0 -50
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/HighlightRender.tsx +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/Operator.tsx +0 -198
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/StatusWork.tsx +0 -25
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/TwoColumnDetails.svg +0 -28
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/demo.stories.tsx +0 -208
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/index.tsx +0 -82
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/mock.ts +0 -289
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/styles.ts +0 -23
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/utils.ts +0 -151
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/DetailsRender.tsx +0 -57
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/TwoColumn.svg +0 -38
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/demo.stories.tsx +0 -267
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/index.tsx +0 -70
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/mock.ts +0 -144
- package/tests/assets/sdk-r/components/create/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25CaseWidget/OneColumnPage.svg +0 -36
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25CaseWidget/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25CaseWidget/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25CaseWidget/demo.stories.tsx +0 -75
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25CaseWidget/index.tsx +0 -74
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25CaseWidget/mock.ts +0 -391
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25CaseWidget/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/Avatar.tsx +0 -70
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/OneColumnPage.svg +0 -36
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/Operator.tsx +0 -198
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/demo.stories.tsx +0 -74
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/index.tsx +0 -99
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/mock.ts +0 -52
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/styles.ts +0 -8
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageWidget/OneColumnPage.svg +0 -36
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageWidget/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageWidget/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageWidget/demo.stories.tsx +0 -104
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageWidget/index.tsx +0 -105
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageWidget/mock.ts +0 -24
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/YourOrg_test25_test25PageWidget/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_Booleantest_sambhu/Boolean.ts +0 -21
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_Booleantest_sambhu/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_Booleantest_sambhu/boolean-format.ts +0 -21
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_Booleantest_sambhu/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_Booleantest_sambhu/demo.stories.tsx +0 -72
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_Booleantest_sambhu/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_Booleantest_sambhu/index.tsx +0 -141
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_Booleantest_sambhu/mock.ts +0 -22
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_Booleantest_sambhu/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Boolean/Boolean.ts +0 -21
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Boolean/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Boolean/boolean-format.ts +0 -21
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Boolean/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Boolean/demo.stories.tsx +0 -72
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Boolean/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Boolean/index.tsx +0 -141
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Boolean/mock.ts +0 -22
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Boolean/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Currency/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Currency/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Currency/demo.stories.tsx +0 -80
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Currency/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Currency/index.tsx +0 -264
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Currency/mock.ts +0 -34
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Currency/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Currency/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/DateFormatter.ts +0 -55
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/FormattedText.tsx +0 -20
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/date.ts +0 -430
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/demo.stories.tsx +0 -81
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/index.tsx +0 -239
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/mock.ts +0 -24
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Date/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/date-time.ts +0 -83
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/date-utils.ts +0 -280
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/date.ts +0 -309
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/demo.stories.tsx +0 -81
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/index.tsx +0 -233
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/mock.ts +0 -26
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25DateTime/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Decimal/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Decimal/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Decimal/demo.stories.tsx +0 -73
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Decimal/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Decimal/index.tsx +0 -238
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Decimal/mock.ts +0 -30
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Decimal/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Decimal/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Email/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Email/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Email/demo.stories.tsx +0 -73
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Email/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Email/index.tsx +0 -199
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Email/mock.ts +0 -31
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Email/styles.ts +0 -21
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Email/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25IconButtonURL/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25IconButtonURL/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25IconButtonURL/demo.stories.tsx +0 -92
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25IconButtonURL/index.tsx +0 -181
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25IconButtonURL/mock.ts +0 -4
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25IconButtonURL/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Integer/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Integer/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Integer/demo.stories.tsx +0 -74
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Integer/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Integer/index.tsx +0 -293
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Integer/mock.ts +0 -29
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Integer/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Integer/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Paragraph/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Paragraph/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Paragraph/demo.stories.tsx +0 -73
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Paragraph/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Paragraph/index.tsx +0 -201
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Paragraph/mock.ts +0 -29
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Paragraph/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Paragraph/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Percentage/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Percentage/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Percentage/demo.stories.tsx +0 -74
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Percentage/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Percentage/index.tsx +0 -247
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Percentage/mock.ts +0 -30
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Percentage/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Percentage/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Phone/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Phone/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Phone/demo.stories.tsx +0 -72
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Phone/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Phone/index.tsx +0 -235
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Phone/mock.ts +0 -46
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Phone/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Phone/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Picklist/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Picklist/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Picklist/demo.stories.tsx +0 -103
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Picklist/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Picklist/index.tsx +0 -314
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Picklist/mock.ts +0 -76
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Picklist/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Picklist/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Radiobuttons/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Radiobuttons/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Radiobuttons/demo.stories.tsx +0 -106
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Radiobuttons/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Radiobuttons/index.tsx +0 -187
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Radiobuttons/mock.ts +0 -76
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Radiobuttons/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Radiobuttons/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Radiobuttons/textformat-utils.tsx +0 -152
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/component-constants.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/date.ts +0 -141
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/demo.stories.tsx +0 -111
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/embed-utils.ts +0 -311
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/format-constants.ts +0 -41
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/index.tsx +0 -1045
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/mock.ts +0 -75
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/picklist-utils.ts +0 -88
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/repeat-constants.ts +0 -20
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/repeat-utils.ts +0 -623
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/textformat-utils.tsx +0 -152
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Searchbox/utils.ts +0 -199
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Text/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Text/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Text/demo.stories.tsx +0 -75
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Text/index.tsx +0 -136
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Text/mock.ts +0 -21
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25Text/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TextInput/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TextInput/StatusWork.tsx +0 -25
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TextInput/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TextInput/demo.stories.tsx +0 -73
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TextInput/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TextInput/index.tsx +0 -207
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TextInput/mock.ts +0 -30
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TextInput/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TextInput/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TimeOfDay/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TimeOfDay/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TimeOfDay/demo.stories.tsx +0 -75
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TimeOfDay/index.tsx +0 -199
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TimeOfDay/mock.ts +0 -22
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TimeOfDay/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TimeOfDay/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25TimeOfDay/time-of-day.ts +0 -280
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25URL/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25URL/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25URL/demo.stories.tsx +0 -71
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25URL/event-utils.ts +0 -18
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25URL/index.tsx +0 -200
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25URL/mock.ts +0 -31
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25URL/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25URL/suggestions-handler.ts +0 -9
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/YourOrg_test25_test25URL/text-url.tsx +0 -156
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/Avatar.tsx +0 -70
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/DetailsRender.tsx +0 -50
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/HighlightRender.tsx +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/OneColumnDetails.svg +0 -22
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/Operator.tsx +0 -198
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/StatusWork.tsx +0 -25
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/demo.stories.tsx +0 -202
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/index.tsx +0 -92
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/mock.ts +0 -249
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/styles.ts +0 -23
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Details/utils.js +0 -148
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Form/DefaultForm.svg +0 -29
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Form/DetailsRender.tsx +0 -57
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Form/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Form/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Form/demo.stories.tsx +0 -245
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Form/index.tsx +0 -68
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Form/mock.ts +0 -138
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Form/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/GetNextWork.tsx +0 -41
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/OneColumnPage.svg +0 -36
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/demo.stories.tsx +0 -113
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/index.tsx +0 -65
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/localizations.json +0 -6
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/mock.ts +0 -95
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25Page/utils.ts +0 -241
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/Avatar.tsx +0 -70
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/DetailsRender.tsx +0 -50
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/HighlightRender.tsx +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/Operator.tsx +0 -198
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/StatusWork.tsx +0 -25
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/TwoColumnDetails.svg +0 -28
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/demo.stories.tsx +0 -208
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/index.tsx +0 -82
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/mock.ts +0 -289
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/styles.ts +0 -23
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnDetails/utils.ts +0 -151
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/DetailsRender.tsx +0 -57
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/TwoColumn.svg +0 -38
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/demo.stories.tsx +0 -267
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/index.tsx +0 -70
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/mock.ts +0 -144
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/YourOrg_test25_test25TwoColumnForm/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25CaseWidget/OneColumnPage.svg +0 -36
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25CaseWidget/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25CaseWidget/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25CaseWidget/demo.stories.tsx +0 -75
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25CaseWidget/index.tsx +0 -74
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25CaseWidget/mock.ts +0 -391
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25CaseWidget/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/Avatar.tsx +0 -70
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/OneColumnPage.svg +0 -36
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/Operator.tsx +0 -198
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/demo.stories.tsx +0 -74
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/index.tsx +0 -99
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/mock.ts +0 -52
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageCaseWidget/styles.ts +0 -8
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageWidget/OneColumnPage.svg +0 -36
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageWidget/PConnProps.d.ts +0 -45
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageWidget/create-nonce.ts +0 -5
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageWidget/demo.stories.tsx +0 -104
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageWidget/index.tsx +0 -105
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageWidget/mock.ts +0 -24
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/YourOrg_test25_test25PageWidget/styles.ts +0 -8
- /package/{tests/assets/sdk-r/components/create/custom-constellation/field/YourOrg_test25_test25TextInput/StatusWork.tsx → src/tasks/create/templates/Constellation/field/Text-Input/StatusWork.tsx.mustache} +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/PConnProps.d.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/create-nonce.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/demo.stories.tsx +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/event-utils.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/index.tsx +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/mock.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/styles.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/suggestions-handler.ts +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyRadioButtons → Pega_DXIL_MyRadiobuttons}/textformat-utils.tsx +0 -0
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EmailDisplay, PhoneDisplay, URLDisplay, Image, Button, Lightbox } from '@pega/cosmos-react-core';
|
|
3
|
-
import { useRef, useState } from 'react';
|
|
4
|
-
|
|
5
|
-
export const formatExists = formatterVal => {
|
|
6
|
-
const formatterValues = ['TextInput', 'Email', 'Phone'];
|
|
7
|
-
let isformatter = false;
|
|
8
|
-
if (formatterValues.includes(formatterVal)) {
|
|
9
|
-
isformatter = true;
|
|
10
|
-
}
|
|
11
|
-
return isformatter;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const urlLabelVal = (urlLabelSelection, btnVal, urlLabel, propUrlLabel) => {
|
|
15
|
-
if ((urlLabel !== '' || propUrlLabel !== '') && btnVal !== null) {
|
|
16
|
-
switch (urlLabelSelection) {
|
|
17
|
-
case 'constant': {
|
|
18
|
-
btnVal = urlLabel;
|
|
19
|
-
break;
|
|
20
|
-
}
|
|
21
|
-
case 'propertyRef': {
|
|
22
|
-
btnVal = propUrlLabel;
|
|
23
|
-
break;
|
|
24
|
-
}
|
|
25
|
-
// no default
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return btnVal;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
const isImage = url => /\.(jpg|jpeg|png|webp|avif|gif|svg)$/.test(url);
|
|
32
|
-
|
|
33
|
-
const TableImage = imageProps => {
|
|
34
|
-
const { value, altText, altTextOfImage, propaltTextOfImage, urlLabelSelection, urlLabel, propUrlLabel } = imageProps;
|
|
35
|
-
const demoButtonRef = useRef(null);
|
|
36
|
-
let imageDisplayComp = null;
|
|
37
|
-
const [images, setImages] = useState(null);
|
|
38
|
-
const imgDescription = {
|
|
39
|
-
id: 'url',
|
|
40
|
-
name: urlLabelSelection === 'constant' ? urlLabel : propUrlLabel,
|
|
41
|
-
description: altText === 'constant' ? altTextOfImage : propaltTextOfImage,
|
|
42
|
-
src: value
|
|
43
|
-
};
|
|
44
|
-
const onClick = () => {
|
|
45
|
-
setImages([imgDescription]);
|
|
46
|
-
};
|
|
47
|
-
const onItemDownload = async id => {
|
|
48
|
-
const a = document.createElement('a');
|
|
49
|
-
a.href = await fetch(images[0].src)
|
|
50
|
-
.then(response => {
|
|
51
|
-
return response.blob();
|
|
52
|
-
})
|
|
53
|
-
.then(blob => {
|
|
54
|
-
return URL.createObjectURL(blob);
|
|
55
|
-
});
|
|
56
|
-
a.download = images?.find(image => image.id === id)?.name ?? id;
|
|
57
|
-
document.body.appendChild(a);
|
|
58
|
-
a.click();
|
|
59
|
-
document.body.removeChild(a);
|
|
60
|
-
};
|
|
61
|
-
let btnVal = value;
|
|
62
|
-
btnVal = urlLabelVal(urlLabelSelection, btnVal, urlLabel, propUrlLabel);
|
|
63
|
-
imageDisplayComp = (
|
|
64
|
-
<>
|
|
65
|
-
{btnVal !== null && (
|
|
66
|
-
<Button ref={demoButtonRef} variant='link' compact={false} onClick={onClick} autoFocus>
|
|
67
|
-
{btnVal}
|
|
68
|
-
</Button>
|
|
69
|
-
)}
|
|
70
|
-
{images && (
|
|
71
|
-
<Lightbox
|
|
72
|
-
items={images}
|
|
73
|
-
cycle={false}
|
|
74
|
-
onAfterClose={() => {
|
|
75
|
-
setImages(null);
|
|
76
|
-
demoButtonRef.current?.focus();
|
|
77
|
-
}}
|
|
78
|
-
onItemDownload={isImage(images[0].src) ? onItemDownload : undefined}
|
|
79
|
-
/>
|
|
80
|
-
)}
|
|
81
|
-
</>
|
|
82
|
-
);
|
|
83
|
-
return imageDisplayComp;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
export const textFormatter = (formatter, value) => {
|
|
87
|
-
let displayComponent = null;
|
|
88
|
-
switch (formatter) {
|
|
89
|
-
case 'TextInput': {
|
|
90
|
-
displayComponent = value;
|
|
91
|
-
break;
|
|
92
|
-
}
|
|
93
|
-
case 'Email': {
|
|
94
|
-
displayComponent = <EmailDisplay value={value} displayText={value} variant='link' />;
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
case 'Phone': {
|
|
98
|
-
displayComponent = <PhoneDisplay value={value} variant='link' />;
|
|
99
|
-
break;
|
|
100
|
-
}
|
|
101
|
-
// no default
|
|
102
|
-
}
|
|
103
|
-
return displayComponent;
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Returns a URL display component based on the options
|
|
108
|
-
* @function urlFormatter
|
|
109
|
-
* @param {string} value value
|
|
110
|
-
* @param {object} options options for formatting
|
|
111
|
-
* { displayAs,tableDisplayAs,isTableFormatter,altText,altTextOfImage,propaltTextOfImage,urlLabelSelection, urlLabel,propUrlLabel, widthSel, customWidth}
|
|
112
|
-
*/
|
|
113
|
-
export const urlFormatter = (value, options) => {
|
|
114
|
-
const {
|
|
115
|
-
displayAs,
|
|
116
|
-
tableDisplayAs,
|
|
117
|
-
isTableFormatter,
|
|
118
|
-
altText,
|
|
119
|
-
altTextOfImage,
|
|
120
|
-
propaltTextOfImage,
|
|
121
|
-
urlLabelSelection,
|
|
122
|
-
urlLabel,
|
|
123
|
-
propUrlLabel,
|
|
124
|
-
widthSel,
|
|
125
|
-
customWidth
|
|
126
|
-
} = options;
|
|
127
|
-
|
|
128
|
-
let urlFormatComp = null;
|
|
129
|
-
if ((displayAs === 'labelText' || (isTableFormatter && tableDisplayAs === 'link')) && (urlLabel !== '' || propUrlLabel !== '')) {
|
|
130
|
-
urlFormatComp = (
|
|
131
|
-
<URLDisplay target='_blank' value={value} displayText={urlLabelSelection === 'constant' ? urlLabel : propUrlLabel} variant='link' />
|
|
132
|
-
);
|
|
133
|
-
} else if ((displayAs === 'Image' || tableDisplayAs === 'Image') && !!value) {
|
|
134
|
-
if (isTableFormatter) {
|
|
135
|
-
urlFormatComp = TableImage({
|
|
136
|
-
value,
|
|
137
|
-
altText,
|
|
138
|
-
altTextOfImage,
|
|
139
|
-
propaltTextOfImage,
|
|
140
|
-
urlLabelSelection,
|
|
141
|
-
urlLabel,
|
|
142
|
-
propUrlLabel
|
|
143
|
-
});
|
|
144
|
-
} else {
|
|
145
|
-
const width = widthSel === 'widthpx' ? customWidth : null;
|
|
146
|
-
urlFormatComp = <Image src={value} width={width} alt={altText === 'constant' ? altTextOfImage : propaltTextOfImage} />;
|
|
147
|
-
}
|
|
148
|
-
} else {
|
|
149
|
-
urlFormatComp = <URLDisplay target='_blank' value={value} displayText={value} variant='link' />;
|
|
150
|
-
}
|
|
151
|
-
return urlFormatComp;
|
|
152
|
-
};
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { useEffect, useRef } from 'react';
|
|
2
|
-
import equal from 'fast-deep-equal';
|
|
3
|
-
import get from 'lodash.get';
|
|
4
|
-
|
|
5
|
-
import { getFieldNameFromEmbeddedFieldName } from './embed-utils';
|
|
6
|
-
|
|
7
|
-
import { buildColumnForDisplayValue, setValuesToPropertyList } from './index';
|
|
8
|
-
|
|
9
|
-
export function usePaginate() {
|
|
10
|
-
const paginatationProperties = useRef({
|
|
11
|
-
startIndex: 0,
|
|
12
|
-
endIndex: 50,
|
|
13
|
-
matchPosition: '',
|
|
14
|
-
totalRecords: []
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
useEffect(() => {
|
|
18
|
-
// clean up on unmount
|
|
19
|
-
return () => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
paginatationProperties.current = null;
|
|
22
|
-
};
|
|
23
|
-
}, []);
|
|
24
|
-
|
|
25
|
-
const getInitialPaginatedRecords = (totalRecords: any, matchPosition: string) => {
|
|
26
|
-
const initialPaginatedRecords = totalRecords.slice(0, 50);
|
|
27
|
-
paginatationProperties.current.startIndex = 0;
|
|
28
|
-
paginatationProperties.current.endIndex = 50;
|
|
29
|
-
paginatationProperties.current.matchPosition = matchPosition;
|
|
30
|
-
paginatationProperties.current.totalRecords = totalRecords;
|
|
31
|
-
return initialPaginatedRecords;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
const positionMatches = (text: string, searchText: string) => {
|
|
35
|
-
switch (paginatationProperties.current.matchPosition) {
|
|
36
|
-
case 'start':
|
|
37
|
-
return text.toLowerCase().startsWith(searchText.toLowerCase());
|
|
38
|
-
case 'contains':
|
|
39
|
-
return text.toLowerCase().includes(searchText.toLowerCase());
|
|
40
|
-
default:
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
const fetchData = (searchText: string, onScroll: boolean, columns = []) => {
|
|
46
|
-
let progressivePaginatedRecords;
|
|
47
|
-
paginatationProperties.current.startIndex += 50;
|
|
48
|
-
paginatationProperties.current.endIndex += 50;
|
|
49
|
-
|
|
50
|
-
if (searchText === '' || searchText === undefined || searchText === null) {
|
|
51
|
-
// paginate on entire resultset
|
|
52
|
-
progressivePaginatedRecords = paginatationProperties.current.totalRecords.slice(
|
|
53
|
-
paginatationProperties.current.startIndex,
|
|
54
|
-
paginatationProperties.current.endIndex
|
|
55
|
-
);
|
|
56
|
-
} else if (onScroll) {
|
|
57
|
-
// paginate on filtered resultset
|
|
58
|
-
// @ts-ignore
|
|
59
|
-
progressivePaginatedRecords = paginatationProperties.current.filteredRecords.slice(
|
|
60
|
-
paginatationProperties.current.startIndex,
|
|
61
|
-
paginatationProperties.current.endIndex
|
|
62
|
-
);
|
|
63
|
-
} else {
|
|
64
|
-
// @ts-ignore
|
|
65
|
-
const searchInSecondaryItem = columns.some(e => e.secondary && e.useForSearch);
|
|
66
|
-
// Filter the items and paginate on filtered resultset
|
|
67
|
-
const filteredRecords = paginatationProperties.current.totalRecords.filter(
|
|
68
|
-
filteritem =>
|
|
69
|
-
// @ts-ignore
|
|
70
|
-
(filteritem.primary && positionMatches(filteritem.primary, searchText)) ||
|
|
71
|
-
(searchInSecondaryItem &&
|
|
72
|
-
// @ts-ignore
|
|
73
|
-
filteritem.secondary &&
|
|
74
|
-
// @ts-ignore
|
|
75
|
-
filteritem.secondary.length > 0 &&
|
|
76
|
-
// @ts-ignore
|
|
77
|
-
filteritem.secondary.find(item => positionMatches(item, searchText)))
|
|
78
|
-
);
|
|
79
|
-
progressivePaginatedRecords = filteredRecords.slice(paginatationProperties.current.startIndex, paginatationProperties.current.endIndex);
|
|
80
|
-
// @ts-ignore
|
|
81
|
-
paginatationProperties.current.filteredRecords = filteredRecords;
|
|
82
|
-
}
|
|
83
|
-
return progressivePaginatedRecords;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
const resetIndexes = () => {
|
|
87
|
-
paginatationProperties.current.startIndex = -50;
|
|
88
|
-
paginatationProperties.current.endIndex = 0;
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
const hasMoreResults = (searchText: string) => {
|
|
92
|
-
if (searchText === '' || searchText === undefined || searchText === null) {
|
|
93
|
-
return paginatationProperties.current.startIndex + 50 < paginatationProperties.current.totalRecords.length;
|
|
94
|
-
}
|
|
95
|
-
return (
|
|
96
|
-
// @ts-ignore
|
|
97
|
-
paginatationProperties.current.startIndex + 50 <
|
|
98
|
-
// @ts-ignore
|
|
99
|
-
paginatationProperties.current.filteredRecords.length
|
|
100
|
-
);
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
return {
|
|
104
|
-
getInitialPaginatedRecords,
|
|
105
|
-
fetchData,
|
|
106
|
-
resetIndexes,
|
|
107
|
-
hasMoreResults
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export function useDeepMemo(memoFn: any, key: any) {
|
|
112
|
-
const ref = useRef();
|
|
113
|
-
// @ts-ignore
|
|
114
|
-
if (!ref.current || !equal(key, ref.current.key)) {
|
|
115
|
-
// @ts-ignore
|
|
116
|
-
ref.current = { key, value: memoFn() };
|
|
117
|
-
}
|
|
118
|
-
// @ts-ignore
|
|
119
|
-
return ref.current.value;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export function useIsMount() {
|
|
123
|
-
const isMountRef = useRef(true);
|
|
124
|
-
useEffect(() => {
|
|
125
|
-
isMountRef.current = false;
|
|
126
|
-
}, []);
|
|
127
|
-
return isMountRef.current;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
const transformSearchedItem = (displayResponseData: any, displayFieldMeta: any, columnsWithSetProperty: any, dataApiObj: any) => {
|
|
131
|
-
// @ts-ignore
|
|
132
|
-
return displayResponseData.map(entry => {
|
|
133
|
-
const secondaryArr: Array<any> = [];
|
|
134
|
-
const secondaryFieldValues: Array<any> = [];
|
|
135
|
-
// @ts-ignore
|
|
136
|
-
displayFieldMeta.current.secondary.forEach(col => {
|
|
137
|
-
if (!displayFieldMeta.hidden?.includes(col)) secondaryArr.push(entry[col]);
|
|
138
|
-
if (columnsWithSetProperty.includes(col)) {
|
|
139
|
-
if (dataApiObj.isQueryable) {
|
|
140
|
-
secondaryFieldValues.push(entry[col]);
|
|
141
|
-
} else {
|
|
142
|
-
secondaryFieldValues.push(get(entry, getFieldNameFromEmbeddedFieldName(col)));
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
return {
|
|
147
|
-
id: entry[displayFieldMeta.current.key],
|
|
148
|
-
primary: entry[displayFieldMeta.current.primary],
|
|
149
|
-
secondary: secondaryArr,
|
|
150
|
-
secondaryFieldValues
|
|
151
|
-
};
|
|
152
|
-
});
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
// @ts-ignore
|
|
156
|
-
export const updatePropertiesForNewRecord = (
|
|
157
|
-
dataConfig: any,
|
|
158
|
-
contextName: any,
|
|
159
|
-
dataApiObj: any,
|
|
160
|
-
setDataApiObj: any,
|
|
161
|
-
displayFieldMeta: any,
|
|
162
|
-
c11nEnv: any,
|
|
163
|
-
columns: Array<any>,
|
|
164
|
-
actions: any,
|
|
165
|
-
newCaseId: string
|
|
166
|
-
) => {
|
|
167
|
-
PCore.getDataApi()
|
|
168
|
-
.init(dataConfig, contextName)
|
|
169
|
-
.then(dataObj => {
|
|
170
|
-
setDataApiObj(dataObj);
|
|
171
|
-
buildColumnForDisplayValue(dataObj);
|
|
172
|
-
// SET matchPosition to EQUALS to return exact matching record
|
|
173
|
-
// @ts-ignore
|
|
174
|
-
dataObj.matchPosition = 'equals';
|
|
175
|
-
// @ts-ignore
|
|
176
|
-
dataObj
|
|
177
|
-
.fetchData(newCaseId)
|
|
178
|
-
// @ts-ignore
|
|
179
|
-
.then((displayResponse: any) => {
|
|
180
|
-
let columnsWithSetProperty = [];
|
|
181
|
-
if (dataApiObj.columns) {
|
|
182
|
-
columnsWithSetProperty = dataApiObj.columns
|
|
183
|
-
// @ts-ignore
|
|
184
|
-
.filter(col => col.setProperty && col.setProperty !== 'Associated property')
|
|
185
|
-
// @ts-ignore
|
|
186
|
-
.map(col => col.value);
|
|
187
|
-
}
|
|
188
|
-
const displayResponseData = displayResponse.data || [];
|
|
189
|
-
|
|
190
|
-
const searchedItem = transformSearchedItem(displayResponseData, displayFieldMeta, columnsWithSetProperty, dataApiObj);
|
|
191
|
-
setValuesToPropertyList(searchedItem[0], c11nEnv.getStateProps().value, searchedItem[0], columns, actions);
|
|
192
|
-
})
|
|
193
|
-
.finally(() => {
|
|
194
|
-
// RESET matchPosition
|
|
195
|
-
// @ts-ignore
|
|
196
|
-
dataObj.matchPosition = dataConfig.matchPosition;
|
|
197
|
-
});
|
|
198
|
-
});
|
|
199
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { PConnect } from '@pega/pcore-pconnect-typedefs';
|
|
2
|
-
|
|
3
|
-
// PConnProps.d.ts
|
|
4
|
-
// This gives us a place to have each component (which is most DX Components) that is
|
|
5
|
-
// expected to have a getPConnect extend its props (from BaseProps)
|
|
6
|
-
// such that every component will be expected to have a getPConnect() function
|
|
7
|
-
// that returns a PConnect object. (new/better way of doing .propTypes).
|
|
8
|
-
// This PConnProps can be extended to include other props that we know are in every component
|
|
9
|
-
export interface PConnProps {
|
|
10
|
-
// getPConnect should exist for every C11n component. (add @ts-ignore in special cases where it isn't)
|
|
11
|
-
getPConnect: () => typeof PConnect;
|
|
12
|
-
|
|
13
|
-
// Allow any/all other key/value pairs in the BaseProps for now
|
|
14
|
-
// TODO: refine which other props are always expected for various component
|
|
15
|
-
// types and consider further interface "subclassing". For example, we may
|
|
16
|
-
// want to create a "BasePropsForm" that gives guidance on required, readonly, etc.
|
|
17
|
-
// and any other props that every Form component expects.
|
|
18
|
-
// For example, see the PConnFieldProps below.
|
|
19
|
-
// NOTE: if you uncomment the line below, the PConnProps type will allow
|
|
20
|
-
// otherwise undefined types to appear. This can be helpful for debugging
|
|
21
|
-
// or when adding new components whose types aren't yet known.
|
|
22
|
-
// [key: string]: any;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// PConnFieldProps extends PConnProps to bring in the common properties that are
|
|
26
|
-
// associated with most field components (ex: Dropdown, TextInput, etc.) in the
|
|
27
|
-
// components/field directory
|
|
28
|
-
export interface PConnFieldProps extends PConnProps {
|
|
29
|
-
label: string;
|
|
30
|
-
required: boolean;
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
value: any;
|
|
33
|
-
validatemessage: string;
|
|
34
|
-
status?: string;
|
|
35
|
-
onChange?: any;
|
|
36
|
-
onBlur?: any;
|
|
37
|
-
readOnly: boolean;
|
|
38
|
-
testId: string;
|
|
39
|
-
helperText: string;
|
|
40
|
-
displayMode?: string;
|
|
41
|
-
hideLabel: boolean;
|
|
42
|
-
placeholder?: string;
|
|
43
|
-
fieldMetadata?: any;
|
|
44
|
-
additionalProps?: any;
|
|
45
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/* eslint-disable react/jsx-no-useless-fragment */
|
|
2
|
-
import { useState } from 'react';
|
|
3
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
4
|
-
|
|
5
|
-
import { stateProps, configProps } from './mock';
|
|
6
|
-
|
|
7
|
-
import YourOrgTest25Test25Text from './index';
|
|
8
|
-
|
|
9
|
-
const meta: Meta<typeof YourOrgTest25Test25Text> = {
|
|
10
|
-
title: 'YourOrgTest25Test25Text',
|
|
11
|
-
component: YourOrgTest25Test25Text,
|
|
12
|
-
excludeStories: /.*Data$/
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof YourOrgTest25Test25Text>;
|
|
17
|
-
|
|
18
|
-
export const BaseYourOrgTest25Test25Text: Story = args => {
|
|
19
|
-
const [value, setValue] = useState(configProps.value);
|
|
20
|
-
|
|
21
|
-
const props = {
|
|
22
|
-
value,
|
|
23
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
24
|
-
|
|
25
|
-
getPConnect: () => {
|
|
26
|
-
return {
|
|
27
|
-
getStateProps: () => {
|
|
28
|
-
return stateProps;
|
|
29
|
-
},
|
|
30
|
-
getActionsApi: () => {
|
|
31
|
-
return {
|
|
32
|
-
updateFieldValue: (propName, theValue) => {
|
|
33
|
-
setValue(theValue);
|
|
34
|
-
},
|
|
35
|
-
triggerFieldChange: () => {
|
|
36
|
-
/* nothing */
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
},
|
|
40
|
-
ignoreSuggestion: () => {
|
|
41
|
-
/* nothing */
|
|
42
|
-
},
|
|
43
|
-
acceptSuggestion: () => {
|
|
44
|
-
/* nothing */
|
|
45
|
-
},
|
|
46
|
-
setInheritedProps: () => {
|
|
47
|
-
/* nothing */
|
|
48
|
-
},
|
|
49
|
-
resolveConfigProps: () => {
|
|
50
|
-
/* nothing */
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
return (
|
|
57
|
-
<>
|
|
58
|
-
<YourOrgTest25Test25Text {...props} {...args} />
|
|
59
|
-
</>
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
BaseYourOrgTest25Test25Text.args = {
|
|
64
|
-
label: configProps.label,
|
|
65
|
-
helperText: configProps.helperText,
|
|
66
|
-
placeholder: configProps.placeholder,
|
|
67
|
-
testId: configProps.testId,
|
|
68
|
-
readOnly: configProps.readOnly,
|
|
69
|
-
disabled: configProps.disabled,
|
|
70
|
-
required: configProps.required,
|
|
71
|
-
status: configProps.status,
|
|
72
|
-
hideLabel: configProps.hideLabel,
|
|
73
|
-
displayMode: configProps.displayMode,
|
|
74
|
-
validatemessage: configProps.validatemessage
|
|
75
|
-
};
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { Input, FieldValueList, Text, EmailDisplay, PhoneDisplay, URLDisplay, withConfiguration } from '@pega/cosmos-react-core';
|
|
2
|
-
|
|
3
|
-
import type { PConnFieldProps } from './PConnProps';
|
|
4
|
-
import './create-nonce';
|
|
5
|
-
|
|
6
|
-
import StyledYourOrgTest25Test25TextWrapper from './styles';
|
|
7
|
-
|
|
8
|
-
// interface for props
|
|
9
|
-
interface YourOrgTest25Test25TextProps extends PConnFieldProps {
|
|
10
|
-
// If any, enter additional props that only exist on TextInput here
|
|
11
|
-
isTableFormatter?: boolean;
|
|
12
|
-
formatter: string;
|
|
13
|
-
variant?: any;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// interface for StateProps object
|
|
17
|
-
interface StateProps {
|
|
18
|
-
value: string;
|
|
19
|
-
hasSuggestions: boolean;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export const formatExists = (formatterVal: string) => {
|
|
23
|
-
const formatterValues = ['TextInput', 'WorkStatus', 'RichText', 'Email', 'Phone', 'URL', 'Operator'];
|
|
24
|
-
let isformatter = false;
|
|
25
|
-
if (formatterValues.includes(formatterVal)) {
|
|
26
|
-
isformatter = true;
|
|
27
|
-
}
|
|
28
|
-
return isformatter;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export const textFormatter = (formatter: string, value: string) => {
|
|
32
|
-
let displayComponent: any = null;
|
|
33
|
-
switch (formatter) {
|
|
34
|
-
case 'TextInput': {
|
|
35
|
-
displayComponent = value;
|
|
36
|
-
break;
|
|
37
|
-
}
|
|
38
|
-
case 'Email': {
|
|
39
|
-
displayComponent = <EmailDisplay value={value} displayText={value} variant='link' />;
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
case 'Phone': {
|
|
43
|
-
displayComponent = <PhoneDisplay value={value} variant='link' />;
|
|
44
|
-
break;
|
|
45
|
-
}
|
|
46
|
-
case 'URL': {
|
|
47
|
-
displayComponent = <URLDisplay target='_blank' value={value} displayText={value} variant='link' />;
|
|
48
|
-
break;
|
|
49
|
-
}
|
|
50
|
-
// no default
|
|
51
|
-
}
|
|
52
|
-
return displayComponent;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
56
|
-
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
57
|
-
function YourOrgTest25Test25Text(props: YourOrgTest25Test25TextProps) {
|
|
58
|
-
const {
|
|
59
|
-
getPConnect,
|
|
60
|
-
value,
|
|
61
|
-
placeholder,
|
|
62
|
-
disabled = false,
|
|
63
|
-
displayMode,
|
|
64
|
-
readOnly = false,
|
|
65
|
-
required = false,
|
|
66
|
-
label,
|
|
67
|
-
hideLabel = false,
|
|
68
|
-
testId,
|
|
69
|
-
isTableFormatter = false,
|
|
70
|
-
variant = 'inline'
|
|
71
|
-
} = props;
|
|
72
|
-
|
|
73
|
-
const pConn = getPConnect();
|
|
74
|
-
const actions = pConn.getActionsApi();
|
|
75
|
-
const stateProps = pConn.getStateProps() as StateProps;
|
|
76
|
-
const propName: string = stateProps.value;
|
|
77
|
-
const { formatter } = props;
|
|
78
|
-
|
|
79
|
-
const handleOnChange = (event: any) => {
|
|
80
|
-
const { value: updatedValue } = event.target;
|
|
81
|
-
actions.updateFieldValue(propName, updatedValue);
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
if (displayMode === 'LABELS_LEFT' || displayMode === 'DISPLAY_ONLY') {
|
|
85
|
-
let displayComp = value || <span aria-hidden='true'>––</span>;
|
|
86
|
-
if (isTableFormatter && formatExists(formatter)) {
|
|
87
|
-
displayComp = textFormatter(formatter, value);
|
|
88
|
-
}
|
|
89
|
-
return displayMode === 'DISPLAY_ONLY' ? (
|
|
90
|
-
<StyledYourOrgTest25Test25TextWrapper> {displayComp} </StyledYourOrgTest25Test25TextWrapper>
|
|
91
|
-
) : (
|
|
92
|
-
<StyledYourOrgTest25Test25TextWrapper>
|
|
93
|
-
<FieldValueList
|
|
94
|
-
variant={hideLabel ? 'stacked' : variant}
|
|
95
|
-
data-testid={testId}
|
|
96
|
-
fields={[{ id: '1', name: hideLabel ? '' : label, value: displayComp }]}
|
|
97
|
-
/>
|
|
98
|
-
</StyledYourOrgTest25Test25TextWrapper>
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
if (displayMode === 'STACKED_LARGE_VAL') {
|
|
103
|
-
const isValDefined = typeof value !== 'undefined' && value !== '';
|
|
104
|
-
const val = isValDefined ? (
|
|
105
|
-
<Text variant='h1' as='span'>
|
|
106
|
-
{value}
|
|
107
|
-
</Text>
|
|
108
|
-
) : (
|
|
109
|
-
''
|
|
110
|
-
);
|
|
111
|
-
return (
|
|
112
|
-
<StyledYourOrgTest25Test25TextWrapper>
|
|
113
|
-
<FieldValueList variant='stacked' data-testid={testId} fields={[{ id: '2', name: hideLabel ? '' : label, value: val }]} />
|
|
114
|
-
</StyledYourOrgTest25Test25TextWrapper>
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
return (
|
|
119
|
-
<StyledYourOrgTest25Test25TextWrapper>
|
|
120
|
-
<Input
|
|
121
|
-
type='text'
|
|
122
|
-
value={value}
|
|
123
|
-
label={label}
|
|
124
|
-
labelHidden={hideLabel}
|
|
125
|
-
placeholder={placeholder}
|
|
126
|
-
disabled={disabled}
|
|
127
|
-
readOnly={readOnly}
|
|
128
|
-
required={required}
|
|
129
|
-
onChange={handleOnChange}
|
|
130
|
-
testId={testId}
|
|
131
|
-
/>
|
|
132
|
-
</StyledYourOrgTest25Test25TextWrapper>
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export default withConfiguration(YourOrgTest25Test25Text);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
export const configProps = {
|
|
3
|
-
value: '',
|
|
4
|
-
label: 'Text Sample',
|
|
5
|
-
placeholder: 'Text Placeholder',
|
|
6
|
-
helperText: 'Text Helper Text',
|
|
7
|
-
testId: 'Text-12345678',
|
|
8
|
-
hasSuggestions: false,
|
|
9
|
-
displayMode: '',
|
|
10
|
-
hideLabel: false,
|
|
11
|
-
readOnly: false,
|
|
12
|
-
required: false,
|
|
13
|
-
disabled: false,
|
|
14
|
-
status: '',
|
|
15
|
-
validatemessage: ''
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export const stateProps = {
|
|
19
|
-
value: '.TextSample',
|
|
20
|
-
hasSuggestions: false
|
|
21
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { PConnect } from '@pega/pcore-pconnect-typedefs';
|
|
2
|
-
|
|
3
|
-
// PConnProps.d.ts
|
|
4
|
-
// This gives us a place to have each component (which is most DX Components) that is
|
|
5
|
-
// expected to have a getPConnect extend its props (from BaseProps)
|
|
6
|
-
// such that every component will be expected to have a getPConnect() function
|
|
7
|
-
// that returns a PConnect object. (new/better way of doing .propTypes).
|
|
8
|
-
// This PConnProps can be extended to include other props that we know are in every component
|
|
9
|
-
export interface PConnProps {
|
|
10
|
-
// getPConnect should exist for every C11n component. (add @ts-ignore in special cases where it isn't)
|
|
11
|
-
getPConnect: () => typeof PConnect;
|
|
12
|
-
|
|
13
|
-
// Allow any/all other key/value pairs in the BaseProps for now
|
|
14
|
-
// TODO: refine which other props are always expected for various component
|
|
15
|
-
// types and consider further interface "subclassing". For example, we may
|
|
16
|
-
// want to create a "BasePropsForm" that gives guidance on required, readonly, etc.
|
|
17
|
-
// and any other props that every Form component expects.
|
|
18
|
-
// For example, see the PConnFieldProps below.
|
|
19
|
-
// NOTE: if you uncomment the line below, the PConnProps type will allow
|
|
20
|
-
// otherwise undefined types to appear. This can be helpful for debugging
|
|
21
|
-
// or when adding new components whose types aren't yet known.
|
|
22
|
-
// [key: string]: any;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// PConnFieldProps extends PConnProps to bring in the common properties that are
|
|
26
|
-
// associated with most field components (ex: Dropdown, TextInput, etc.) in the
|
|
27
|
-
// components/field directory
|
|
28
|
-
export interface PConnFieldProps extends PConnProps {
|
|
29
|
-
label: string;
|
|
30
|
-
required: boolean;
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
value: any;
|
|
33
|
-
validatemessage: string;
|
|
34
|
-
status?: string;
|
|
35
|
-
onChange?: any;
|
|
36
|
-
onBlur?: any;
|
|
37
|
-
readOnly: boolean;
|
|
38
|
-
testId: string;
|
|
39
|
-
helperText: string;
|
|
40
|
-
displayMode?: string;
|
|
41
|
-
hideLabel: boolean;
|
|
42
|
-
placeholder?: string;
|
|
43
|
-
fieldMetadata?: any;
|
|
44
|
-
additionalProps?: any;
|
|
45
|
-
}
|