@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,55 +0,0 @@
|
|
|
1
|
-
import dayjs from 'dayjs';
|
|
2
|
-
import relativeTime from 'dayjs/plugin/relativeTime.js';
|
|
3
|
-
import localizedFormat from 'dayjs/plugin/localizedFormat.js';
|
|
4
|
-
import utc from 'dayjs/plugin/utc.js';
|
|
5
|
-
import timezone from 'dayjs/plugin/timezone.js';
|
|
6
|
-
|
|
7
|
-
dayjs.extend(relativeTime);
|
|
8
|
-
dayjs.extend(localizedFormat);
|
|
9
|
-
dayjs.extend(utc);
|
|
10
|
-
dayjs.extend(timezone);
|
|
11
|
-
|
|
12
|
-
const types = ['fromNow', 'customFormat'];
|
|
13
|
-
|
|
14
|
-
// value should be in ISO 8601 format.
|
|
15
|
-
function DateFormatter(value: any, { type = types[1], format = 'DD/MM/YYYY', tzone = null } = {}) {
|
|
16
|
-
if (!value) return value;
|
|
17
|
-
switch (type) {
|
|
18
|
-
case types[1]:
|
|
19
|
-
if (tzone) return dayjs(value).tz(tzone).format(format);
|
|
20
|
-
return dayjs(value).format(format);
|
|
21
|
-
case types[0]:
|
|
22
|
-
return dayjs(value).from(dayjs());
|
|
23
|
-
default:
|
|
24
|
-
return value;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// value should be in hh:mm:ss format (00:00:00 - 23:59:59).
|
|
29
|
-
function TimeFormatter(value: any, options: any) {
|
|
30
|
-
if (!value) return value;
|
|
31
|
-
const { locale = 'en-US' } = options;
|
|
32
|
-
const timeOnlyRegex = /^(?:[01]\d|2[0123]):(?:[012345]\d):(?:[012345]\d)$/;
|
|
33
|
-
if (value.length === 8 && timeOnlyRegex.test(value)) {
|
|
34
|
-
const tempDate = new Date();
|
|
35
|
-
const hours = parseInt(value.substr(0, 2), 10);
|
|
36
|
-
const minutes = parseInt(value.substr(3, 2), 10);
|
|
37
|
-
const seconds = parseInt(value.substr(6, 2), 10);
|
|
38
|
-
tempDate.setHours(hours);
|
|
39
|
-
tempDate.setMinutes(minutes);
|
|
40
|
-
tempDate.setSeconds(seconds);
|
|
41
|
-
return tempDate.toLocaleTimeString(locale);
|
|
42
|
-
}
|
|
43
|
-
return DateFormatter(value, options);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export default {
|
|
47
|
-
Date: (value: any, options: any) => DateFormatter(value, { type: 'customFormat', ...options }),
|
|
48
|
-
'Date-Time-Default': (value: any, options: any) => DateFormatter(value, { ...options, type: 'customFormat', format: 'lll' }),
|
|
49
|
-
'Time-Default': (value: any, options: any) =>
|
|
50
|
-
TimeFormatter(value, {
|
|
51
|
-
...options,
|
|
52
|
-
type: 'customFormat',
|
|
53
|
-
format: 'hh:mm A'
|
|
54
|
-
})
|
|
55
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FieldValueList } from '@pega/cosmos-react-core';
|
|
2
|
-
|
|
3
|
-
import { format } from './date';
|
|
4
|
-
|
|
5
|
-
export default function FormattedText(props: any) {
|
|
6
|
-
const { formatType = 'none', label, value, testId, hideLabel, variant = 'stacked', additionalProps = {} } = props;
|
|
7
|
-
|
|
8
|
-
let text = value;
|
|
9
|
-
|
|
10
|
-
text = format(text, formatType, additionalProps);
|
|
11
|
-
|
|
12
|
-
const fields = [
|
|
13
|
-
{
|
|
14
|
-
id: label.toLowerCase(),
|
|
15
|
-
name: hideLabel ? '' : label,
|
|
16
|
-
value: text
|
|
17
|
-
}
|
|
18
|
-
];
|
|
19
|
-
return <FieldValueList variant={variant} fields={fields} data-testid={testId} />;
|
|
20
|
-
}
|
|
@@ -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,430 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import dayjs from 'dayjs';
|
|
3
|
-
import DateFormatter from './DateFormatter';
|
|
4
|
-
|
|
5
|
-
import relativeTime from 'dayjs/plugin/relativeTime.js';
|
|
6
|
-
import localizedFormat from 'dayjs/plugin/localizedFormat.js';
|
|
7
|
-
import utc from 'dayjs/plugin/utc.js';
|
|
8
|
-
import timezone from 'dayjs/plugin/timezone.js';
|
|
9
|
-
|
|
10
|
-
dayjs.extend(relativeTime);
|
|
11
|
-
dayjs.extend(localizedFormat);
|
|
12
|
-
dayjs.extend(utc);
|
|
13
|
-
dayjs.extend(timezone);
|
|
14
|
-
|
|
15
|
-
function isIsoDate(str) {
|
|
16
|
-
if (!/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(str)) return false;
|
|
17
|
-
const d = new Date(str);
|
|
18
|
-
return d.toISOString() === str;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
function getDateObject(text) {
|
|
22
|
-
// TODO - cleanup formatters util functions as DX APIs are returning values per ISO std now.
|
|
23
|
-
const timeStamp = text.replace(/-/g, '');
|
|
24
|
-
const isDateTime = timeStamp.indexOf('GMT') !== -1;
|
|
25
|
-
const year = parseInt(timeStamp.substr(0, 4), 10);
|
|
26
|
-
const month = parseInt(timeStamp.substr(4, 2), 10) - 1;
|
|
27
|
-
const day = parseInt(timeStamp.substr(6, 2), 10);
|
|
28
|
-
|
|
29
|
-
const date = new Date();
|
|
30
|
-
|
|
31
|
-
date.setDate(day);
|
|
32
|
-
date.setMonth(month);
|
|
33
|
-
date.setFullYear(year);
|
|
34
|
-
|
|
35
|
-
if (isDateTime) {
|
|
36
|
-
const hours = parseInt(timeStamp.substr(9, 2), 10);
|
|
37
|
-
const minutes = parseInt(timeStamp.substr(11, 2), 10);
|
|
38
|
-
const seconds = parseInt(timeStamp.substr(13, 2), 10);
|
|
39
|
-
const ms = parseInt(timeStamp.substr(16, 3), 10);
|
|
40
|
-
date.setHours(hours);
|
|
41
|
-
date.setMinutes(minutes);
|
|
42
|
-
date.setSeconds(seconds);
|
|
43
|
-
date.setMilliseconds(ms);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return date;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function parseDateInISO(value) {
|
|
50
|
-
const isMilliSeconds = new RegExp('^[0-9]+$').exec(value);
|
|
51
|
-
if (isMilliSeconds) {
|
|
52
|
-
const date = new Date(parseInt(value, 10));
|
|
53
|
-
return date.toISOString();
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
if (isIsoDate(value)) {
|
|
57
|
-
const date = new Date(value);
|
|
58
|
-
return date.toISOString();
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return value ? getDateObject(value).toISOString() : value;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export default {
|
|
65
|
-
...DateFormatter
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
export const datetimedisplayformatter = formatter => {
|
|
69
|
-
const objectvalues = {};
|
|
70
|
-
switch (formatter) {
|
|
71
|
-
case 'DateTime-Long': {
|
|
72
|
-
objectvalues.variantVal = 'datetime';
|
|
73
|
-
objectvalues.formatVal = 'long';
|
|
74
|
-
break;
|
|
75
|
-
}
|
|
76
|
-
case 'DateTime-Short': {
|
|
77
|
-
objectvalues.variantVal = 'date';
|
|
78
|
-
objectvalues.formatVal = 'short';
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
case 'DateTime-Since': {
|
|
82
|
-
objectvalues.variantVal = 'relative';
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
case 'Time-Only': {
|
|
86
|
-
objectvalues.variantVal = 'time';
|
|
87
|
-
objectvalues.formatVal = 'short';
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
// no default
|
|
91
|
-
}
|
|
92
|
-
return objectvalues;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
export const formatExists = formatterVal => {
|
|
96
|
-
const formatterValues = ['DateTime-Long', 'DateTime-Short', 'DateTime-Since', 'Time-Only'];
|
|
97
|
-
let isformatter = false;
|
|
98
|
-
if (formatterValues.includes(formatterVal)) {
|
|
99
|
-
isformatter = true;
|
|
100
|
-
}
|
|
101
|
-
return isformatter;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Return relative time in fromNow for the given datetime
|
|
106
|
-
* @description Convert and return the given datetime in dayJSObject
|
|
107
|
-
*
|
|
108
|
-
* @param {string} text datetime
|
|
109
|
-
* @returns {object} datetime as a dayjs object
|
|
110
|
-
*/
|
|
111
|
-
export const getDayJSObject = text => {
|
|
112
|
-
const momObj = dayjs(text);
|
|
113
|
-
if (momObj.isValid()) return momObj;
|
|
114
|
-
const timeStamp = text;
|
|
115
|
-
const isDateTime = timeStamp.indexOf('GMT') !== -1;
|
|
116
|
-
const year = parseInt(timeStamp.substr(0, 4), 10);
|
|
117
|
-
const month = parseInt(timeStamp.substr(4, 2), 10) - 1;
|
|
118
|
-
const day = parseInt(timeStamp.substr(6, 2), 10);
|
|
119
|
-
|
|
120
|
-
const CurrentTz = PCore.getLocaleUtils().getTimeZoneInUse();
|
|
121
|
-
|
|
122
|
-
let mom = new Date();
|
|
123
|
-
|
|
124
|
-
mom.setUTCDate(day);
|
|
125
|
-
mom.setUTCMonth(month);
|
|
126
|
-
mom.setUTCFullYear(year);
|
|
127
|
-
|
|
128
|
-
/* istanbul ignore else */
|
|
129
|
-
if (isDateTime) {
|
|
130
|
-
const hours = parseInt(timeStamp.substr(9, 2), 10);
|
|
131
|
-
const minutes = parseInt(timeStamp.substr(11, 2), 10);
|
|
132
|
-
const seconds = parseInt(timeStamp.substr(13, 2), 10);
|
|
133
|
-
const ms = parseInt(timeStamp.substr(16, 3), 10);
|
|
134
|
-
mom.setUTCHours(hours);
|
|
135
|
-
mom.setUTCMinutes(minutes);
|
|
136
|
-
mom.setUTCSeconds(seconds);
|
|
137
|
-
mom.setUTCMilliseconds(ms);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
mom = dayjs(
|
|
141
|
-
mom.toLocaleString('en-US', {
|
|
142
|
-
timeZone: CurrentTz
|
|
143
|
-
})
|
|
144
|
-
);
|
|
145
|
-
|
|
146
|
-
return mom;
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Return relative time in fromNow for the given datetime
|
|
151
|
-
*
|
|
152
|
-
* @param {string} time datetime
|
|
153
|
-
* @returns {object} relative time from now
|
|
154
|
-
*/
|
|
155
|
-
export const getRelativeTime = time => {
|
|
156
|
-
let relativetime = '';
|
|
157
|
-
if (dayjs(time).isUTC()) {
|
|
158
|
-
relativetime = dayjs(time).fromNow();
|
|
159
|
-
} else {
|
|
160
|
-
const dayjstime = getDayJSObject(time);
|
|
161
|
-
relativetime = dayjs(dayjstime).fromNow();
|
|
162
|
-
}
|
|
163
|
-
return relativetime;
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Return year for the date passed
|
|
168
|
-
*
|
|
169
|
-
* @param {string} value from which Year needs to be taken out
|
|
170
|
-
* @returns {number} year for the date passed
|
|
171
|
-
*/
|
|
172
|
-
export const getFullYear = value => (value ? new Date(value).getFullYear() : new Date().getFullYear());
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Return maxDate for the date passed
|
|
176
|
-
*
|
|
177
|
-
* @param {number} nextYears next number of years
|
|
178
|
-
* @param {number} currentYear current year
|
|
179
|
-
* @param {number} yearFromValue year set on value in redux
|
|
180
|
-
*
|
|
181
|
-
* @returns {string} maxDate calculated based on inputs
|
|
182
|
-
*/
|
|
183
|
-
export const getMaxDate = (nextYears, currentYear, yearFromValue) => {
|
|
184
|
-
if (Number.isNaN(nextYears)) {
|
|
185
|
-
nextYears = 20;
|
|
186
|
-
}
|
|
187
|
-
let maxYear = currentYear + nextYears;
|
|
188
|
-
if (yearFromValue > maxYear) {
|
|
189
|
-
maxYear = yearFromValue;
|
|
190
|
-
}
|
|
191
|
-
return `${maxYear}-01-01`;
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Return minDate for the date passed
|
|
196
|
-
*
|
|
197
|
-
* @param {number} previousYears previous number of years
|
|
198
|
-
* @param {number} currentYear current year
|
|
199
|
-
* @param {number} yearFromValue year set on value in redux
|
|
200
|
-
*
|
|
201
|
-
* @returns {string} minDate calculated based on inputs
|
|
202
|
-
*/
|
|
203
|
-
export const getMinDate = (previousYears, currentYear, yearFromValue) => {
|
|
204
|
-
if (Number.isNaN(previousYears)) {
|
|
205
|
-
previousYears = 100;
|
|
206
|
-
}
|
|
207
|
-
let minYear = currentYear - previousYears;
|
|
208
|
-
if (yearFromValue < minYear) {
|
|
209
|
-
minYear = yearFromValue;
|
|
210
|
-
}
|
|
211
|
-
return `${minYear}-12-31`;
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Return clockFormat after parsing
|
|
216
|
-
*
|
|
217
|
-
* @param {number | string} clockFormat chosen by user
|
|
218
|
-
*
|
|
219
|
-
* @returns {number} clockFormat
|
|
220
|
-
*/
|
|
221
|
-
export const parseClockFormat = clockFormat => (typeof clockFormat === 'string' ? parseInt(clockFormat, 10) : clockFormat);
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Return datetime value string off to seconds
|
|
225
|
-
*
|
|
226
|
-
* @param {string} datetime in ISO format
|
|
227
|
-
* @param {boolean} withSeconds to specify if seconds is needed or not
|
|
228
|
-
*
|
|
229
|
-
* @returns {string} datetime after stripping of ms and seconds if selected to
|
|
230
|
-
*/
|
|
231
|
-
export const correctDateTimeToSeconds = (datetime, withSeconds) => {
|
|
232
|
-
if (withSeconds) {
|
|
233
|
-
return `${datetime.substring(0, datetime.indexOf('Z'))}.000Z`;
|
|
234
|
-
}
|
|
235
|
-
return `${datetime.substring(0, datetime.lastIndexOf(':'))}:00.000Z`;
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Return time value string off to seconds
|
|
240
|
-
*
|
|
241
|
-
* @param {string} datetime in ISO format
|
|
242
|
-
* @param {boolean} withSeconds to specify if seconds is needed or not
|
|
243
|
-
*
|
|
244
|
-
* @returns {string} just time after stripping of ms and seconds if selected to
|
|
245
|
-
*/
|
|
246
|
-
export const timeCorrectedToSeconds = (datetime, withSeconds) => {
|
|
247
|
-
if (withSeconds) {
|
|
248
|
-
return datetime.substring(datetime.indexOf('T') + 1, datetime.indexOf('.'));
|
|
249
|
-
}
|
|
250
|
-
return `${datetime.substring(datetime.indexOf('T') + 1, datetime.lastIndexOf(':'))}:00`;
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* This function handles the cosmos blur handler of DateTime components
|
|
255
|
-
*
|
|
256
|
-
* @param {string | undefined} errorState for the selected datetime value
|
|
257
|
-
* @param {string} actualValue present in redux
|
|
258
|
-
* @param {string} formattedValue retrieved by trimming ISO to just Date/Time, also applying timezone if DateTime
|
|
259
|
-
* @param {object} actions object which has fire and blur callbacks
|
|
260
|
-
* @param {string} propName name of the property bound
|
|
261
|
-
* @param {object} pConn component's PConnect object which is useful to invoke validationApi
|
|
262
|
-
*
|
|
263
|
-
* @returns {void}
|
|
264
|
-
*/
|
|
265
|
-
export const datetimeFireChangeBlurEvents = (errorState, actualValue, formattedValue, actions, propName, pConn) => {
|
|
266
|
-
// TODO - clean up, we should not rely on timestamp from cosmos to check InComplete validation
|
|
267
|
-
// above triggerFieldChange should have validated this
|
|
268
|
-
if (errorState) {
|
|
269
|
-
pConn.getValidationApi().validate(errorState);
|
|
270
|
-
}
|
|
271
|
-
// BUG-640834 In errorState presist old values avoiding store update & re-render.
|
|
272
|
-
else {
|
|
273
|
-
if (formattedValue !== actualValue) {
|
|
274
|
-
actions.updateFieldValue(propName, formattedValue);
|
|
275
|
-
}
|
|
276
|
-
actions.triggerFieldChange(propName, formattedValue);
|
|
277
|
-
}
|
|
278
|
-
};
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Return Date format for the locale passed
|
|
282
|
-
*
|
|
283
|
-
* @param {string} locale locale string
|
|
284
|
-
* @param {object} options options for format string
|
|
285
|
-
* @returns {string} dateformat for the locale
|
|
286
|
-
* Example : getDateFormat("pl-PL") returns "DD.MM.YYYY"
|
|
287
|
-
*/
|
|
288
|
-
export const getDateFormat = (locale, options) => {
|
|
289
|
-
return new Intl.DateTimeFormat(locale, options)
|
|
290
|
-
.formatToParts()
|
|
291
|
-
.map(({ type, value }) => {
|
|
292
|
-
switch (type) {
|
|
293
|
-
case 'day':
|
|
294
|
-
return 'DD';
|
|
295
|
-
case 'month':
|
|
296
|
-
return 'MM';
|
|
297
|
-
case 'year':
|
|
298
|
-
return 'YYYY';
|
|
299
|
-
case 'hour':
|
|
300
|
-
return 'hh';
|
|
301
|
-
case 'minute':
|
|
302
|
-
return 'mm';
|
|
303
|
-
case 'second':
|
|
304
|
-
return 'ss';
|
|
305
|
-
case 'dayPeriod':
|
|
306
|
-
return 'A';
|
|
307
|
-
case 'literal':
|
|
308
|
-
return value;
|
|
309
|
-
default:
|
|
310
|
-
return '';
|
|
311
|
-
}
|
|
312
|
-
})
|
|
313
|
-
.join('');
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Return boolean for the locale passed to specify if locale uses 12 hour format
|
|
318
|
-
*
|
|
319
|
-
* @param {string} locale locale string
|
|
320
|
-
* @returns {boolean} True or False for the locale
|
|
321
|
-
* Example : getDateFormat("pl-PL") returns false
|
|
322
|
-
*/
|
|
323
|
-
export const is12HClockFormat = locale => {
|
|
324
|
-
const meridiem = new Intl.DateTimeFormat(locale, {
|
|
325
|
-
hour: 'numeric'
|
|
326
|
-
})
|
|
327
|
-
.formatToParts()
|
|
328
|
-
.find(({ type }) => type === 'dayPeriod');
|
|
329
|
-
return !!(meridiem === null || meridiem === undefined ? undefined : meridiem.value);
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Return Option object for Time formatting
|
|
334
|
-
*
|
|
335
|
-
* @param {boolean} withSeconds true or false depending on seconds to be included
|
|
336
|
-
* @param {boolean} is12h 12 hour format
|
|
337
|
-
* @returns {object} options object time formatting
|
|
338
|
-
* Example : getTimeOptions(false, true) returns {hour: 'numeric',minute: 'numeric',hour12: true}
|
|
339
|
-
*/
|
|
340
|
-
export const getTimeOptions = (withSeconds, is12h = false) => {
|
|
341
|
-
return {
|
|
342
|
-
hour: 'numeric',
|
|
343
|
-
minute: 'numeric',
|
|
344
|
-
...(withSeconds && { second: 'numeric' }),
|
|
345
|
-
hour12: is12h
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* Return Option object for Datetime formatting
|
|
351
|
-
*
|
|
352
|
-
* @param {boolean} withSeconds true or false depending on seconds to be included
|
|
353
|
-
* @param {boolean} is12h 12 hour format
|
|
354
|
-
* @returns {object} options object datetime formatting
|
|
355
|
-
* Example : getDateTimeOptions(false, true) returns {year: 'numeric',month: 'numeric',day: 'numeric',hour: 'numeric',minute: 'numeric',hour12: true}
|
|
356
|
-
*/
|
|
357
|
-
export const getDateTimeOptions = (withSeconds, is12h = false) => {
|
|
358
|
-
return {
|
|
359
|
-
year: 'numeric',
|
|
360
|
-
month: 'numeric',
|
|
361
|
-
day: 'numeric',
|
|
362
|
-
...getTimeOptions(withSeconds, is12h)
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
export function getCurrentTimezone(tzone) {
|
|
367
|
-
if (tzone) return tzone;
|
|
368
|
-
return PCore?.getLocaleUtils?.().getTimeZoneInUse?.();
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
export function format(value, type, options) {
|
|
372
|
-
let formattedValue;
|
|
373
|
-
|
|
374
|
-
switch (type?.toLowerCase()) {
|
|
375
|
-
case 'currency': {
|
|
376
|
-
const defaultOptions = {
|
|
377
|
-
locale: getLocale(),
|
|
378
|
-
position: 'before',
|
|
379
|
-
decPlaces: 2
|
|
380
|
-
};
|
|
381
|
-
const params = { ...defaultOptions, ...options };
|
|
382
|
-
formattedValue = Currency.Currency(value, params);
|
|
383
|
-
break;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
case 'decimal': {
|
|
387
|
-
const defaultOptions = { locale: getLocale(), decPlaces: 2 };
|
|
388
|
-
const params = { ...defaultOptions, ...options };
|
|
389
|
-
formattedValue = Currency.Decimal(value, params);
|
|
390
|
-
break;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
case 'integer': {
|
|
394
|
-
const defaultOptions = { locale: getLocale() };
|
|
395
|
-
const params = { ...defaultOptions, ...options };
|
|
396
|
-
formattedValue = Currency.Integer(value, params);
|
|
397
|
-
break;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
case 'date': {
|
|
401
|
-
const defaultOptions = {
|
|
402
|
-
format: 'MMM DD, YYYY',
|
|
403
|
-
timezone: getCurrentTimezone()
|
|
404
|
-
};
|
|
405
|
-
const params = { ...defaultOptions, ...options };
|
|
406
|
-
formattedValue = DateFormatter.Date(parseDateInISO(value), params);
|
|
407
|
-
break;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
case 'datetime': {
|
|
411
|
-
const defaultOptions = {
|
|
412
|
-
format: 'MMM DD, YYYY h:mm A',
|
|
413
|
-
timezone: getCurrentTimezone()
|
|
414
|
-
};
|
|
415
|
-
const params = { ...defaultOptions, ...options };
|
|
416
|
-
formattedValue = DateFormatter.Date(parseDateInISO(value), params);
|
|
417
|
-
break;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
case 'boolean':
|
|
421
|
-
case 'checkbox': {
|
|
422
|
-
formattedValue = Boolean.TrueFalse(value, { allowEmpty: false });
|
|
423
|
-
break;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
default:
|
|
427
|
-
formattedValue = value;
|
|
428
|
-
}
|
|
429
|
-
return formattedValue;
|
|
430
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/* eslint-disable react/jsx-no-useless-fragment */
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
import { configProps, stateProps } from './mock';
|
|
4
|
-
import YourOrgTest25Test25Date from './index';
|
|
5
|
-
|
|
6
|
-
const meta: Meta<typeof YourOrgTest25Test25Date> = {
|
|
7
|
-
title: 'YourOrgTest25Test25Date',
|
|
8
|
-
component: YourOrgTest25Test25Date,
|
|
9
|
-
excludeStories: /.*Data$/
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof YourOrgTest25Test25Date>;
|
|
14
|
-
|
|
15
|
-
export const BaseYourOrgTest25Test25Date: Story = args => {
|
|
16
|
-
const props = {
|
|
17
|
-
value: configProps.value,
|
|
18
|
-
additionalProps: configProps.additionalProps,
|
|
19
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
20
|
-
getPConnect: () => {
|
|
21
|
-
return {
|
|
22
|
-
getActionsApi: () => {
|
|
23
|
-
return {
|
|
24
|
-
updateFieldValue: () => {
|
|
25
|
-
/* nothing */
|
|
26
|
-
},
|
|
27
|
-
triggerFieldChange: () => {
|
|
28
|
-
/* nothing */
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
getValidationApi: () => {
|
|
33
|
-
return {
|
|
34
|
-
validate: () => {
|
|
35
|
-
/* nothing */
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
getStateProps: () => {
|
|
40
|
-
return stateProps;
|
|
41
|
-
},
|
|
42
|
-
getConfigProps: () => {
|
|
43
|
-
return configProps;
|
|
44
|
-
},
|
|
45
|
-
ignoreSuggestion: () => {
|
|
46
|
-
/* nothing */
|
|
47
|
-
},
|
|
48
|
-
acceptSuggestion: () => {
|
|
49
|
-
/* nothing */
|
|
50
|
-
},
|
|
51
|
-
clearErrorMessages: () => {
|
|
52
|
-
/* nothing */
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
return (
|
|
59
|
-
<>
|
|
60
|
-
<YourOrgTest25Test25Date {...props} {...args} />
|
|
61
|
-
</>
|
|
62
|
-
);
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
BaseYourOrgTest25Test25Date.args = {
|
|
66
|
-
label: configProps.label,
|
|
67
|
-
helperText: configProps.helperText,
|
|
68
|
-
showWeekNumber: configProps.showWeekNumber,
|
|
69
|
-
testId: configProps.testId,
|
|
70
|
-
readOnly: configProps.readOnly,
|
|
71
|
-
disabled: configProps.disabled,
|
|
72
|
-
required: configProps.required,
|
|
73
|
-
status: configProps.status,
|
|
74
|
-
hideLabel: configProps.hideLabel,
|
|
75
|
-
nextYearRange: configProps.nextYearRange,
|
|
76
|
-
previousYearRange: configProps.previousYearRange,
|
|
77
|
-
showAsFormattedText: configProps.showAsFormattedText,
|
|
78
|
-
displayMode: configProps.displayMode,
|
|
79
|
-
variant: configProps.variant,
|
|
80
|
-
validatemessage: configProps.validatemessage
|
|
81
|
-
};
|