@pega/dx-component-builder-sdk 25.1.16 → 25.1.17
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 +0 -8
- package/src/tasks/create/index.js +11 -5
- package/src/tasks/create/templates/Constellation/field/Boolean/Boolean.ts.mustache +3 -17
- package/src/tasks/create/templates/Constellation/field/Boolean/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Boolean/boolean-format.ts.mustache +3 -7
- package/src/tasks/create/templates/Constellation/field/Boolean/demo.stories.tsx.mustache +6 -4
- package/src/tasks/create/templates/Constellation/field/Boolean/index.tsx.mustache +38 -63
- package/src/tasks/create/templates/Constellation/field/Date/DateFormatter.ts.mustache +3 -9
- package/src/tasks/create/templates/Constellation/field/Date/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Date/date.ts.mustache +3 -12
- package/src/tasks/create/templates/Constellation/field/Date/demo.stories.tsx.mustache +18 -7
- package/src/tasks/create/templates/Constellation/field/Date/index.tsx.mustache +74 -96
- package/src/tasks/create/templates/Constellation/field/Date/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/DateTime/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/DateTime/date-time.ts.mustache +25 -34
- package/src/tasks/create/templates/Constellation/field/DateTime/date-utils.ts.mustache +37 -45
- package/src/tasks/create/templates/Constellation/field/DateTime/date.ts.mustache +54 -76
- package/src/tasks/create/templates/Constellation/field/DateTime/demo.stories.tsx.mustache +18 -6
- package/src/tasks/create/templates/Constellation/field/DateTime/index.tsx.mustache +60 -79
- package/src/tasks/create/templates/Constellation/field/DateTime/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/DateTime/suggestions-handler.ts +0 -1
- package/src/tasks/create/templates/Constellation/field/Decimal/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Decimal/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Decimal/index.tsx.mustache +56 -63
- package/src/tasks/create/templates/Constellation/field/Decimal/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Decimal-Currency/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Decimal-Currency/demo.stories.tsx.mustache +21 -9
- package/src/tasks/create/templates/Constellation/field/Decimal-Currency/index.tsx.mustache +58 -74
- package/src/tasks/create/templates/Constellation/field/Decimal-Currency/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/index.tsx.mustache +61 -77
- package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/demo.stories.tsx.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/index.tsx.mustache +38 -59
- package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Integer/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Integer/demo.stories.tsx.mustache +18 -7
- package/src/tasks/create/templates/Constellation/field/Integer/index.tsx.mustache +77 -87
- package/src/tasks/create/templates/Constellation/field/Picklist/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Picklist/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Picklist/index.tsx.mustache +72 -102
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/{PConnProps.d.ts → PConnProps.d.ts.mustache} +17 -18
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/embed-utils.ts.mustache +9 -9
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/index.tsx.mustache +122 -228
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/picklist-utils.ts.mustache +9 -9
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/repeat-utils.ts.mustache +31 -64
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/textformat-utils.tsx.mustache +9 -38
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/utils.ts.mustache +5 -27
- package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/PConnProps.d.ts +17 -18
- package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/index.tsx.mustache +29 -36
- package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/textformat-utils.tsx.mustache +14 -24
- package/src/tasks/create/templates/Constellation/field/Text/{PConnProps.d.ts → PConnProps.d.ts.mustache} +17 -18
- package/src/tasks/create/templates/Constellation/field/Text/demo.stories.tsx.mustache +15 -7
- package/src/tasks/create/templates/Constellation/field/Text/index.tsx.mustache +24 -34
- package/src/tasks/create/templates/Constellation/field/Text/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-Email/PConnProps.d.ts +17 -18
- package/src/tasks/create/templates/Constellation/field/Text-Email/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Text-Email/index.tsx.mustache +76 -92
- package/src/tasks/create/templates/Constellation/field/Text-Email/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-Input/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Text-Input/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Text-Input/event-utils.ts.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Text-Input/index.tsx.mustache +47 -65
- package/src/tasks/create/templates/Constellation/field/Text-Input/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-Paragraph/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Text-Paragraph/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Text-Paragraph/index.tsx.mustache +73 -85
- package/src/tasks/create/templates/Constellation/field/Text-Paragraph/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-Phone/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Text-Phone/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Text-Phone/index.tsx.mustache +77 -92
- package/src/tasks/create/templates/Constellation/field/Text-Phone/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-URL/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/Text-URL/demo.stories.tsx.mustache +18 -8
- package/src/tasks/create/templates/Constellation/field/Text-URL/index.tsx.mustache +62 -68
- package/src/tasks/create/templates/Constellation/field/Text-URL/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/Text-URL/text-url.tsx.mustache +29 -47
- package/src/tasks/create/templates/Constellation/field/TimeOfDay/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/field/TimeOfDay/demo.stories.tsx.mustache +15 -5
- package/src/tasks/create/templates/Constellation/field/TimeOfDay/index.tsx.mustache +47 -58
- package/src/tasks/create/templates/Constellation/field/TimeOfDay/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/field/TimeOfDay/time-of-day.ts.mustache +37 -45
- package/src/tasks/create/templates/Constellation/template/DETAILS/Avatar.tsx.mustache +7 -12
- package/src/tasks/create/templates/Constellation/template/DETAILS/DetailsRender.tsx.mustache +3 -5
- package/src/tasks/create/templates/Constellation/template/DETAILS/HighlightRender.tsx.mustache +2 -2
- package/src/tasks/create/templates/Constellation/template/DETAILS/Operator.tsx.mustache +12 -29
- package/src/tasks/create/templates/Constellation/template/DETAILS/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/template/DETAILS/demo.stories.tsx.mustache +8 -19
- package/src/tasks/create/templates/Constellation/template/DETAILS/index.tsx.mustache +18 -26
- package/src/tasks/create/templates/Constellation/template/DETAILS/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS/styles.ts.mustache +1 -2
- package/src/tasks/create/templates/Constellation/template/DETAILS/utils.js.mustache +5 -7
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/Avatar.tsx.mustache +7 -12
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/DetailsRender.tsx.mustache +3 -5
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/HighlightRender.tsx.mustache +2 -2
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/Operator.tsx.mustache +12 -29
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/demo.stories.tsx.mustache +43 -55
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/index.tsx.mustache +19 -27
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/styles.ts.mustache +1 -1
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/utils.ts.mustache +0 -2
- package/src/tasks/create/templates/Constellation/template/FORM/{DetailsRender.tsx → DetailsRender.tsx.mustache} +1 -3
- package/src/tasks/create/templates/Constellation/template/FORM/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/template/FORM/demo.stories.tsx.mustache +13 -19
- package/src/tasks/create/templates/Constellation/template/FORM/index.tsx.mustache +10 -13
- package/src/tasks/create/templates/Constellation/template/FORM/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/FORM-region/{DetailsRender.tsx → DetailsRender.tsx.mustache} +1 -3
- package/src/tasks/create/templates/Constellation/template/FORM-region/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/template/FORM-region/demo.stories.tsx.mustache +7 -12
- package/src/tasks/create/templates/Constellation/template/FORM-region/index.tsx.mustache +11 -15
- package/src/tasks/create/templates/Constellation/template/FORM-region/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/PAGE/GetNextWork.tsx.mustache +1 -4
- package/src/tasks/create/templates/Constellation/template/PAGE/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/template/PAGE/demo.stories.tsx.mustache +25 -12
- package/src/tasks/create/templates/Constellation/template/PAGE/index.tsx.mustache +10 -18
- package/src/tasks/create/templates/Constellation/template/PAGE/localizations.json.mustache +3 -3
- package/src/tasks/create/templates/Constellation/template/PAGE/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/template/PAGE/utils.ts.mustache +12 -13
- package/src/tasks/create/templates/Constellation/widget/CASE/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/widget/CASE/demo.stories.tsx.mustache +29 -19
- package/src/tasks/create/templates/Constellation/widget/CASE/index.tsx.mustache +9 -12
- package/src/tasks/create/templates/Constellation/widget/PAGE/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/widget/PAGE/demo.stories.tsx.mustache +5 -7
- package/src/tasks/create/templates/Constellation/widget/PAGE/index.tsx.mustache +22 -27
- package/src/tasks/create/templates/Constellation/widget/PAGE/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/Avatar.tsx.mustache +7 -12
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/Operator.tsx.mustache +12 -29
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/PConnProps.d.ts.mustache +17 -18
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/demo.stories.tsx.mustache +20 -10
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/index.tsx.mustache +17 -31
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/mock.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.html.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.scss.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +1 -0
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.ts.mustache +1 -0
- package/src/tasks/create/templates/SDK-Angular/field/Date/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.scss.mustache +46 -40
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.ts.mustache +27 -0
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.html.mustache +2 -2
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.ts.mustache +34 -57
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.html.mustache +1 -0
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.ts.mustache +37 -43
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.html.mustache +2 -3
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.ts.mustache +51 -62
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/demo.stories.tsx.mustache +23 -23
- package/src/tasks/create/templates/SDK-Angular/field/Integer/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Integer/integer.component.html.mustache +13 -4
- package/src/tasks/create/templates/SDK-Angular/field/Integer/integer.component.ts.mustache +46 -12
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.html.mustache +2 -0
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.ts.mustache +10 -18
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/picklist-autocomplete.component.ts.mustache +6 -6
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Email/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Email/text-email.component.ts.mustache +1 -0
- package/src/tasks/create/templates/SDK-Angular/field/Text-Input/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Input/text.component.ts.mustache +1 -0
- package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.html.mustache +18 -20
- package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.ts.mustache +1 -2
- package/src/tasks/create/templates/SDK-Angular/field/Text-URL/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/demo.stories.tsx.mustache +9 -3
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.html.mustache +23 -3
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.scss.mustache +9 -2
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.ts.mustache +3 -70
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/mock.ts.mustache +85 -134
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/demo.stories.tsx.mustache +8 -5
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/details.component.html.mustache +21 -2
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/details.component.scss.mustache +8 -1
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/details.component.ts.mustache +3 -46
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/mock.ts.mustache +52 -78
- package/src/tasks/create/templates/SDK-Angular/template/FORM/demo.stories.tsx.mustache +4 -2
- package/src/tasks/create/templates/SDK-Angular/template/FORM-region/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/template/PAGE/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/template/PAGE/page.component.html.mustache +1 -0
- package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.ts.mustache +6 -2
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.html.mustache +1 -2
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.ts.mustache +6 -2
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/demo.stories.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.html.mustache +5 -3
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.ts.mustache +2 -1
- package/src/tasks/create-all/index.js +11 -3
- package/src/tasks/map/map.js +12 -6
- package/src/tasks/override/index.js +4 -2
- package/src/tasks/override-all/index.js +4 -2
- package/src/util.js +92 -90
- package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/demo.stories.tsx +15 -7
- package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +24 -34
- package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/mock.ts +0 -1
- package/tests/assets/sdk-a/components/create/custom-sdk/field/pega-dxil-my-test-text/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/operator/operator.component.ts +2 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/auto-complete/auto-complete.component.ts +6 -6
- package/tests/assets/sdk-a/components/create/override-sdk/field/currency/currency.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/currency/currency.component.ts +36 -43
- package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.scss +46 -40
- package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.ts +27 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/decimal/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/decimal/decimal.component.html +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/decimal/decimal.component.ts +35 -59
- package/tests/assets/sdk-a/components/create/override-sdk/field/dropdown/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/dropdown/dropdown.component.html +2 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/dropdown/dropdown.component.ts +10 -18
- package/tests/assets/sdk-a/components/create/override-sdk/field/email/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/group/config-ext.json +6 -7
- package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.ts +15 -4
- package/tests/assets/sdk-a/components/create/override-sdk/field/integer/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/integer/integer.component.html +13 -4
- package/tests/assets/sdk-a/components/create/override-sdk/field/integer/integer.component.ts +46 -12
- package/tests/assets/sdk-a/components/create/override-sdk/field/location/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/multiselect/multiselect.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/percentage.component.html +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/percentage.component.ts +46 -41
- package/tests/assets/sdk-a/components/create/override-sdk/field/phone/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/radio-buttons/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/rich-text/config-ext.json +9 -10
- package/tests/assets/sdk-a/components/create/override-sdk/field/scalar-list/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/semantic-link/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/text-area/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/text-content/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/text-input/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/time/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/url/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/field/user-reference/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/create/override-sdk/infra/assignment/assignment.component.ts +2 -7
- package/tests/assets/sdk-a/components/create/override-sdk/infra/assignment-card/assignment-card.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/assignment-card/assignment-card.component.ts +2 -8
- package/tests/assets/sdk-a/components/create/override-sdk/infra/defer-load/defer-load.component.ts +7 -5
- package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.ts +40 -44
- package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.ts +46 -52
- package/tests/assets/sdk-a/components/create/override-sdk/infra/navbar/navbar.component.ts +32 -35
- package/tests/assets/sdk-a/components/create/override-sdk/infra/region/region.component.ts +1 -3
- package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.ts +34 -42
- package/tests/assets/sdk-a/components/create/override-sdk/infra/view/view.component.ts +21 -46
- package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.ts +33 -38
- package/tests/assets/sdk-a/components/create/override-sdk/template/advanced-search/advanced-search.component.ts +0 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/advanced-search/search-groups/search-groups.component.ts +3 -4
- package/tests/assets/sdk-a/components/create/override-sdk/template/app-shell/app-shell.component.ts +12 -12
- package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/banner-page.component.ts +1 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-summary/case-summary.component.ts +14 -6
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-summary/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/confirmation/config-ext.json +10 -11
- package/tests/assets/sdk-a/components/create/override-sdk/template/data-reference/config-ext.json +7 -9
- package/tests/assets/sdk-a/components/create/override-sdk/template/data-reference/data-reference.component.ts +27 -19
- package/tests/assets/sdk-a/components/create/override-sdk/template/data-reference/search-form/tabsData.ts +0 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/default-form/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/default-form/default-form.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/default-form/default-form.component.ts +1 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/details/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/create/override-sdk/template/details/details.component.html +23 -3
- package/tests/assets/sdk-a/components/create/override-sdk/template/details/details.component.scss +9 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/details/details.component.ts +3 -70
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-narrow-wide/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-narrow-wide/details-narrow-wide.component.html +21 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-narrow-wide/details-narrow-wide.component.scss +8 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-narrow-wide/details-narrow-wide.component.ts +3 -39
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-one-column/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-one-column/details-one-column.component.html +23 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-one-column/details-one-column.component.scss +14 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-one-column/details-one-column.component.ts +3 -40
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-sub-tabs/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-three-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-three-column/details-three-column.component.html +21 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-three-column/details-three-column.component.scss +8 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-three-column/details-three-column.component.ts +3 -48
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-two-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-two-column/details-two-column.component.html +21 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-two-column/details-two-column.component.scss +8 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-two-column/details-two-column.component.ts +3 -46
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-wide-narrow/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-wide-narrow/details-wide-narrow.component.html +21 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-wide-narrow/details-wide-narrow.component.scss +8 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/details-wide-narrow/details-wide-narrow.component.ts +3 -43
- package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/config-ext.json +35 -36
- package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/dynamic-tabs.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/field-group-template/field-group-template.component.ts +18 -4
- package/tests/assets/sdk-a/components/create/override-sdk/template/field-value-list/field-value-list.component.scss +17 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/inline-dashboard-page/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/create/override-sdk/template/inline-dashboard-page/inline-dashboard-page.component.ts +2 -10
- package/tests/assets/sdk-a/components/create/override-sdk/template/list-page/config-ext.json +6 -7
- package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/list-view.component.ts +0 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/narrow-wide-form/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/one-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/one-column/one-column.component.html +3 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/one-column-page/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/one-column-tab/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/one-column-tab/one-column-tab.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/page/page.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/search-form/tabsData.ts +0 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/search-groups/search-groups.component.ts +3 -4
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table/simple-table.component.ts +5 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/helpers.ts +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/simple-table-manual.component.ts +13 -5
- package/tests/assets/sdk-a/components/create/override-sdk/template/sub-tabs/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/three-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/three-column-page/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/two-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/two-column-page/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/two-column-tab/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/wide-narrow-form/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/wide-narrow-page/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/wide-narrow-page/wide-narrow-page.component.ts +0 -3
- package/tests/assets/sdk-a/components/create/override-sdk/template/wss-nav-bar/wss-nav-bar.component.ts +18 -20
- package/tests/assets/sdk-a/components/create/override-sdk/widget/app-announcement/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/widget/attachment/attachment.component.ts +5 -2
- package/tests/assets/sdk-a/components/create/override-sdk/widget/attachment/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/create/override-sdk/widget/case-history/case-history.component.ts +6 -2
- package/tests/assets/sdk-a/components/create/override-sdk/widget/case-history/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/widget/feed-container/config-ext.json +11 -15
- package/tests/assets/sdk-a/components/create/override-sdk/widget/file-utility/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/widget/file-utility/file-utility.component.ts +25 -29
- package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/create/override-sdk/widget/todo/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/create/override-sdk/widget/todo/todo.component.ts +7 -2
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/Boolean.ts +3 -17
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/boolean-format.ts +3 -7
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/demo.stories.tsx +6 -4
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +38 -63
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/demo.stories.tsx +21 -9
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.tsx +58 -74
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/DateFormatter.ts +3 -9
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/date.ts +3 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/demo.stories.tsx +18 -7
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.tsx +74 -96
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/date-time.ts +25 -34
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/date-utils.ts +37 -45
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/date.ts +54 -76
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/demo.stories.tsx +18 -6
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.tsx +60 -79
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/suggestions-handler.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.tsx +56 -63
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.tsx +76 -92
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/index.tsx +38 -59
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/demo.stories.tsx +18 -7
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.tsx +77 -87
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.tsx +73 -85
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.tsx +61 -77
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.tsx +77 -92
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +72 -102
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/index.tsx +29 -36
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/textformat-utils.tsx +14 -24
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/embed-utils.ts +9 -9
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +122 -228
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/picklist-utils.ts +9 -9
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/repeat-utils.ts +31 -64
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/textformat-utils.tsx +9 -38
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/utils.ts +5 -27
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/demo.stories.tsx +15 -7
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +24 -34
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/event-utils.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.tsx +47 -65
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +15 -5
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.tsx +47 -58
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/time-of-day.ts +37 -45
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/demo.stories.tsx +18 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.tsx +62 -68
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/text-url.tsx +29 -47
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Avatar.tsx +7 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/DetailsRender.tsx +3 -5
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/HighlightRender.tsx +2 -2
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Operator.tsx +12 -29
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/demo.stories.tsx +8 -19
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +18 -26
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/styles.ts +1 -2
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/utils.js +5 -7
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/DetailsRender.tsx +1 -3
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/demo.stories.tsx +13 -19
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +9 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +1 -4
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/demo.stories.tsx +25 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/index.tsx +10 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/localizations.json +3 -3
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/utils.ts +12 -13
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +7 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +3 -5
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +2 -2
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +12 -29
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +43 -55
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +19 -27
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/styles.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/utils.ts +0 -2
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +1 -3
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +7 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +11 -15
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +29 -19
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/index.tsx +9 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +7 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Operator.tsx +12 -29
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +20 -10
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +17 -31
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/PConnProps.d.ts +17 -18
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +5 -7
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +22 -27
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/mock.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.scss +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.ts +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/pega-dxil-my-currency.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/pega-dxil-my-currency.component.ts +37 -43
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date/pega-dxil-my-date.component.ts +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.scss +46 -40
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.ts +27 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/pega-dxil-my-decimal.component.html +2 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/pega-dxil-my-decimal.component.ts +34 -57
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-email/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-email/pega-dxil-my-email.component.ts +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/demo.stories.tsx +23 -23
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-integer/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-integer/pega-dxil-my-integer.component.html +13 -4
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-integer/pega-dxil-my-integer.component.ts +46 -12
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-paragraph/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/pega-dxil-my-percentage.component.html +2 -3
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/pega-dxil-my-percentage.component.ts +51 -62
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-phone/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-phone/pega-dxil-my-phone.component.html +18 -20
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-phone/pega-dxil-my-phone.component.ts +1 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/demo.stories.tsx +2 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/pega-dxil-my-picklist.component.html +2 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/pega-dxil-my-picklist.component.ts +10 -18
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-radiobuttons/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-searchbox/demo.stories.tsx +2 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-searchbox/pega-dxil-my-searchbox.component.ts +6 -6
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-text/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-text-input/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-text-input/pega-dxil-my-text-input.component.ts +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-time-of-day/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-url/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-details/demo.stories.tsx +9 -3
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-details/mock.ts +85 -134
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-details/pega-dxil-my-details.component.html +23 -3
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-details/pega-dxil-my-details.component.scss +9 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-details/pega-dxil-my-details.component.ts +3 -70
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/demo.stories.tsx +4 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.ts +1 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-page/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-page/pega-dxil-my-page.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-details/demo.stories.tsx +8 -5
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-details/mock.ts +52 -78
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-details/pega-dxil-my-two-column-details.component.html +21 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-details/pega-dxil-my-two-column-details.component.scss +8 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-details/pega-dxil-my-two-column-details.component.ts +3 -46
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-form/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-case-widget/demo.stories.tsx +14 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-case-widget/pega-dxil-my-case-widget.component.ts +6 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/config.json +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/pega-dxil-my-page-case-widget.component.html +5 -3
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/pega-dxil-my-page-case-widget.component.ts +2 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/demo.stories.tsx +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/pega-dxil-my-page-widget.component.html +1 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/pega-dxil-my-page-widget.component.ts +6 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/operator/operator.component.ts +2 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/auto-complete/auto-complete.component.ts +6 -6
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.ts +36 -43
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.scss +46 -40
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.ts +27 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/decimal.component.html +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/decimal.component.ts +35 -59
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/dropdown/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/dropdown/dropdown.component.html +2 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/dropdown/dropdown.component.ts +10 -18
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/email/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/config-ext.json +6 -7
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.ts +15 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/integer/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/integer/integer.component.html +13 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/integer/integer.component.ts +46 -12
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/location/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/multiselect/multiselect.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/percentage.component.html +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/percentage.component.ts +46 -41
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/phone/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/radio-buttons/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/rich-text/config-ext.json +9 -10
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/scalar-list/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/semantic-link/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/text-area/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/text-content/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/text-input/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/time/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/url/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/user-reference/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/assignment/assignment.component.ts +2 -7
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/assignment-card/assignment-card.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/assignment-card/assignment-card.component.ts +2 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/defer-load/defer-load.component.ts +7 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.ts +40 -44
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.ts +46 -52
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/navbar/navbar.component.ts +32 -35
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/region/region.component.ts +1 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.ts +34 -42
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view/view.component.ts +21 -46
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.ts +33 -38
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/advanced-search/advanced-search.component.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/advanced-search/search-groups/search-groups.component.ts +3 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/app-shell/app-shell.component.ts +12 -12
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/banner-page.component.ts +1 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-summary/case-summary.component.ts +14 -6
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-summary/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/confirmation/config-ext.json +10 -11
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/data-reference/config-ext.json +7 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/data-reference/data-reference.component.ts +27 -19
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/data-reference/search-form/tabsData.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/default-form/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/default-form/default-form.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/default-form/default-form.component.ts +1 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details/details.component.html +23 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details/details.component.scss +9 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details/details.component.ts +3 -70
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-narrow-wide/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-narrow-wide/details-narrow-wide.component.html +21 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-narrow-wide/details-narrow-wide.component.scss +8 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-narrow-wide/details-narrow-wide.component.ts +3 -39
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-one-column/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-one-column/details-one-column.component.html +23 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-one-column/details-one-column.component.scss +14 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-one-column/details-one-column.component.ts +3 -40
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-sub-tabs/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-three-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-three-column/details-three-column.component.html +21 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-three-column/details-three-column.component.scss +8 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-three-column/details-three-column.component.ts +3 -48
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-two-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-two-column/details-two-column.component.html +21 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-two-column/details-two-column.component.scss +8 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-two-column/details-two-column.component.ts +3 -46
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-wide-narrow/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-wide-narrow/details-wide-narrow.component.html +21 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-wide-narrow/details-wide-narrow.component.scss +8 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details-wide-narrow/details-wide-narrow.component.ts +3 -43
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/config-ext.json +35 -36
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/dynamic-tabs.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/field-group-template/field-group-template.component.ts +18 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/field-value-list/field-value-list.component.scss +17 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/inline-dashboard-page/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/inline-dashboard-page/inline-dashboard-page.component.ts +2 -10
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-page/config-ext.json +6 -7
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/list-view.component.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/narrow-wide-form/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/one-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/one-column/one-column.component.html +3 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/one-column-page/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/one-column-tab/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/one-column-tab/one-column-tab.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/page/page.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/search-form/tabsData.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/search-groups/search-groups.component.ts +3 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table/simple-table.component.ts +5 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/helpers.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/simple-table-manual.component.ts +13 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/sub-tabs/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/three-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/three-column-page/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/two-column/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/two-column-page/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/two-column-tab/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/wide-narrow-form/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/wide-narrow-page/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/wide-narrow-page/wide-narrow-page.component.ts +0 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/wss-nav-bar/wss-nav-bar.component.ts +18 -20
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/app-announcement/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/attachment/attachment.component.ts +5 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/attachment/config-ext.json +6 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/case-history/case-history.component.ts +6 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/case-history/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/feed-container/config-ext.json +11 -15
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/file-utility/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/file-utility/file-utility.component.ts +25 -29
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/config-ext.json +8 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/config-ext.json +7 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/todo.component.ts +7 -2
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details/material-details.component.html +0 -40
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details/material-details.component.scss +0 -116
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details/material-details.component.spec.ts +0 -24
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details/material-details.component.ts +0 -31
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.html +0 -29
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.scss +0 -34
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.spec.ts +0 -22
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.ts +0 -37
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details/material-details.component.html +0 -40
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details/material-details.component.scss +0 -116
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details/material-details.component.spec.ts +0 -24
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details/material-details.component.ts +0 -31
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.html +0 -29
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.scss +0 -34
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.spec.ts +0 -22
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.ts +0 -37
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
/* eslint-disable react/jsx-no-useless-fragment */
|
|
3
2
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
4
3
|
|
|
@@ -6,15 +5,15 @@ import PegaDxilMyCaseWidget from './index';
|
|
|
6
5
|
|
|
7
6
|
import historyData from './mock';
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
8
|
+
window.PCore.getDataApiUtils = (): any => {
|
|
9
|
+
return {
|
|
10
|
+
getData: () => {
|
|
11
|
+
return new Promise(resolve => {
|
|
12
|
+
resolve(historyData);
|
|
13
|
+
});
|
|
14
|
+
}
|
|
17
15
|
};
|
|
16
|
+
};
|
|
18
17
|
|
|
19
18
|
const meta: Meta<typeof PegaDxilMyCaseWidget> = {
|
|
20
19
|
title: 'PegaDxilMyCaseWidget',
|
|
@@ -27,7 +26,6 @@ type Story = StoryObj<typeof PegaDxilMyCaseWidget>;
|
|
|
27
26
|
|
|
28
27
|
export const BasePegaDxilMyCaseWidget: Story = args => {
|
|
29
28
|
const props = {
|
|
30
|
-
|
|
31
29
|
getPConnect: () => {
|
|
32
30
|
return {
|
|
33
31
|
getValue: value => {
|
|
@@ -41,19 +39,31 @@ export const BasePegaDxilMyCaseWidget: Story = args => {
|
|
|
41
39
|
},
|
|
42
40
|
getActionsApi: () => {
|
|
43
41
|
return {
|
|
44
|
-
updateFieldValue: () => {
|
|
45
|
-
|
|
42
|
+
updateFieldValue: () => {
|
|
43
|
+
/* nothing */
|
|
44
|
+
},
|
|
45
|
+
triggerFieldChange: () => {
|
|
46
|
+
/* nothing */
|
|
47
|
+
}
|
|
46
48
|
};
|
|
47
49
|
},
|
|
48
|
-
ignoreSuggestion: () => {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
ignoreSuggestion: () => {
|
|
51
|
+
/* nothing */
|
|
52
|
+
},
|
|
53
|
+
acceptSuggestion: () => {
|
|
54
|
+
/* nothing */
|
|
55
|
+
},
|
|
56
|
+
setInheritedProps: () => {
|
|
57
|
+
/* nothing */
|
|
58
|
+
},
|
|
59
|
+
resolveConfigProps: () => {
|
|
60
|
+
/* nothing */
|
|
61
|
+
}
|
|
52
62
|
};
|
|
53
63
|
}
|
|
54
|
-
};
|
|
64
|
+
};
|
|
55
65
|
|
|
56
|
-
return (
|
|
66
|
+
return (
|
|
57
67
|
<>
|
|
58
68
|
<PegaDxilMyCaseWidget {...props} {...args} />
|
|
59
69
|
</>
|
|
@@ -61,5 +71,5 @@ return (
|
|
|
61
71
|
};
|
|
62
72
|
|
|
63
73
|
BasePegaDxilMyCaseWidget.args = {
|
|
64
|
-
label: 'Case history'
|
|
74
|
+
label: 'Case history'
|
|
65
75
|
};
|
|
@@ -8,10 +8,8 @@ import StyledPegaDxilMyCaseWidgetWrapper from './styles';
|
|
|
8
8
|
// interface for props
|
|
9
9
|
interface PegaDxilMyCaseWidgetProps extends PConnFieldProps {
|
|
10
10
|
// If any, enter additional props that only exist on TextInput here
|
|
11
|
-
|
|
12
11
|
}
|
|
13
12
|
|
|
14
|
-
|
|
15
13
|
// Duplicated runtime code from Constellation Design System Component
|
|
16
14
|
|
|
17
15
|
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
@@ -28,7 +26,7 @@ function PegaDxilMyCaseWidget(props: PegaDxilMyCaseWidgetProps) {
|
|
|
28
26
|
const columns = [
|
|
29
27
|
{ renderer: 'date', label: pConn.getLocalizedValue('Date', '', '') },
|
|
30
28
|
{ renderer: 'description', label: pConn.getLocalizedValue('Description', '', '') },
|
|
31
|
-
{ renderer: 'user', label: pConn.getLocalizedValue('Performed by', '','') }
|
|
29
|
+
{ renderer: 'user', label: pConn.getLocalizedValue('Performed by', '', '') }
|
|
32
30
|
];
|
|
33
31
|
|
|
34
32
|
useEffect(() => {
|
|
@@ -38,7 +36,7 @@ function PegaDxilMyCaseWidget(props: PegaDxilMyCaseWidgetProps) {
|
|
|
38
36
|
// @ts-ignore
|
|
39
37
|
.getData('D_pyWorkHistory', payload, context)
|
|
40
38
|
// @ts-ignore
|
|
41
|
-
.then(
|
|
39
|
+
.then(response => {
|
|
42
40
|
setIsLoading(false);
|
|
43
41
|
if (response.data.data !== null) {
|
|
44
42
|
setHistory(
|
|
@@ -62,16 +60,15 @@ function PegaDxilMyCaseWidget(props: PegaDxilMyCaseWidgetProps) {
|
|
|
62
60
|
}, [caseID, context]);
|
|
63
61
|
return (
|
|
64
62
|
<StyledPegaDxilMyCaseWidgetWrapper>
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
63
|
+
<Table
|
|
64
|
+
title={pConn.getLocalizedValue(label, '', '')}
|
|
65
|
+
columns={columns}
|
|
66
|
+
data={history}
|
|
67
|
+
loading={isLoading}
|
|
68
|
+
loadingMessage={pConn.getLocalizedValue('Loading case history', '', '')}
|
|
69
|
+
/>
|
|
72
70
|
</StyledPegaDxilMyCaseWidgetWrapper>
|
|
73
71
|
);
|
|
74
|
-
|
|
75
72
|
}
|
|
76
73
|
|
|
77
74
|
export default withConfiguration(PegaDxilMyCaseWidget);
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
3
|
import { Avatar as CosmosAvatar, withConfiguration } from '@pega/cosmos-react-core';
|
|
4
4
|
import type { PConnFieldProps } from './PConnProps';
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
// interface for props
|
|
8
7
|
interface PegaDxilMyPageCaseWidgetAvatarProps extends PConnFieldProps {
|
|
9
8
|
// If any, enter additional props that only exist on TextInput here
|
|
10
9
|
metaObj: any;
|
|
11
10
|
showStatus: boolean;
|
|
12
|
-
|
|
13
11
|
}
|
|
14
12
|
|
|
15
13
|
function Avatar(props: PegaDxilMyPageCaseWidgetAvatarProps) {
|
|
@@ -21,8 +19,8 @@ function Avatar(props: PegaDxilMyPageCaseWidgetAvatarProps) {
|
|
|
21
19
|
// TODO Below if conditions can be removed once we have apis to get worklist/mywork info
|
|
22
20
|
// This is non CaseView case (Dashboard, MyWork etc)
|
|
23
21
|
if (!metaObj) {
|
|
24
|
-
userName = PCore.getEnvironmentInfo().getOperatorName() ??
|
|
25
|
-
userIdentifier = PCore.getEnvironmentInfo().getOperatorIdentifier() ??
|
|
22
|
+
userName = PCore.getEnvironmentInfo().getOperatorName() ?? '';
|
|
23
|
+
userIdentifier = PCore.getEnvironmentInfo().getOperatorIdentifier() ?? '';
|
|
26
24
|
} else {
|
|
27
25
|
userName = metaObj.name;
|
|
28
26
|
userIdentifier = metaObj.ID;
|
|
@@ -36,23 +34,21 @@ function Avatar(props: PegaDxilMyPageCaseWidgetAvatarProps) {
|
|
|
36
34
|
if (imageKey) {
|
|
37
35
|
PCore.getAssetLoader()
|
|
38
36
|
.getSvcImage(imageKey)
|
|
39
|
-
.then(
|
|
40
|
-
.then(
|
|
37
|
+
.then(blob => window.URL.createObjectURL(blob))
|
|
38
|
+
.then(imagePath => setImageBlobUrl(imagePath as React.SetStateAction<any>));
|
|
41
39
|
}
|
|
42
40
|
}, [metaObj]);
|
|
43
41
|
|
|
44
42
|
if (showStatus) {
|
|
45
43
|
const currentState = PCore.getMessagingServiceManager().getUserPresence().getUserState(userIdentifier);
|
|
46
|
-
const [userState, setUserState]: any
|
|
44
|
+
const [userState, setUserState]: any = useState(currentState === 'online' ? 'active' : 'inactive');
|
|
47
45
|
|
|
48
46
|
const handleUserStateChange = ({ state }: any) => {
|
|
49
47
|
setUserState(state === 'online' ? 'active' : 'inactive');
|
|
50
48
|
};
|
|
51
49
|
|
|
52
50
|
useEffect(() => {
|
|
53
|
-
const subId = PCore.getMessagingServiceManager()
|
|
54
|
-
.getUserPresence()
|
|
55
|
-
.subscribe(userIdentifier, handleUserStateChange, '');
|
|
51
|
+
const subId = PCore.getMessagingServiceManager().getUserPresence().subscribe(userIdentifier, handleUserStateChange, '');
|
|
56
52
|
|
|
57
53
|
return function cleanup() {
|
|
58
54
|
PCore.getMessagingServiceManager().getUserPresence().unsubscribe(userIdentifier, subId);
|
|
@@ -71,5 +67,4 @@ function Avatar(props: PegaDxilMyPageCaseWidgetAvatarProps) {
|
|
|
71
67
|
return <CosmosAvatar name={userName} imageSrc={imageBlobUrl as React.SetStateAction<any>} />;
|
|
72
68
|
}
|
|
73
69
|
|
|
74
|
-
|
|
75
70
|
export default withConfiguration(Avatar);
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { useState, useEffect, Fragment } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
Link,
|
|
5
|
-
Button,
|
|
6
|
-
Popover,
|
|
7
|
-
useOuterEvent,
|
|
8
|
-
useElement,
|
|
9
|
-
Progress,
|
|
10
|
-
FormField,
|
|
11
|
-
useTheme,
|
|
12
|
-
withConfiguration
|
|
13
|
-
} from '@pega/cosmos-react-core';
|
|
3
|
+
import { Link, Button, Popover, useOuterEvent, useElement, Progress, FormField, useTheme, withConfiguration } from '@pega/cosmos-react-core';
|
|
14
4
|
import { Glimpse } from '@pega/cosmos-react-work';
|
|
15
5
|
import { EmailDisplay } from '@pega/cosmos-react-core';
|
|
16
6
|
|
|
@@ -18,7 +8,6 @@ import type { PConnFieldProps } from './PConnProps';
|
|
|
18
8
|
|
|
19
9
|
import Avatar from './Avatar';
|
|
20
10
|
|
|
21
|
-
|
|
22
11
|
// interface for props
|
|
23
12
|
interface PegaDxilMyPageCaseWidgetOperatorProps extends PConnFieldProps {
|
|
24
13
|
// If any, enter additional props that only exist on TextInput here
|
|
@@ -44,14 +33,10 @@ function Operator(props: PegaDxilMyPageCaseWidgetOperatorProps) {
|
|
|
44
33
|
pTarget = null;
|
|
45
34
|
}, [id]);
|
|
46
35
|
|
|
47
|
-
|
|
48
|
-
|
|
49
36
|
const OperatorPreview = () => {
|
|
50
37
|
const localizedVal = PCore.getLocaleUtils().getLocaleValue;
|
|
51
38
|
const localeCategory = 'Operator';
|
|
52
|
-
setpopoverContent(
|
|
53
|
-
<Progress variant='ring' message={localizedVal('Loading operator...', localeCategory)} placement='local' />
|
|
54
|
-
);
|
|
39
|
+
setpopoverContent(<Progress variant="ring" message={localizedVal('Loading operator...', localeCategory)} placement="local" />);
|
|
55
40
|
if (externalUser && externalUser.classID !== 'Data-Party-Operator') {
|
|
56
41
|
const fields = [
|
|
57
42
|
{
|
|
@@ -62,8 +47,7 @@ function Operator(props: PegaDxilMyPageCaseWidgetOperatorProps) {
|
|
|
62
47
|
{
|
|
63
48
|
id: 'pyEmail1',
|
|
64
49
|
name: localizedVal('Email', localeCategory),
|
|
65
|
-
value:
|
|
66
|
-
externalUser.email !== '' ? <Link href={`mailto:${externalUser.email}`}>{externalUser.email}</Link> : ''
|
|
50
|
+
value: externalUser.email !== '' ? <Link href={`mailto:${externalUser.email}`}>{externalUser.email}</Link> : ''
|
|
67
51
|
},
|
|
68
52
|
{
|
|
69
53
|
id: 'pyPhoneNumber',
|
|
@@ -127,7 +111,9 @@ function Operator(props: PegaDxilMyPageCaseWidgetOperatorProps) {
|
|
|
127
111
|
}}
|
|
128
112
|
fields={fields}
|
|
129
113
|
target={pTarget}
|
|
130
|
-
onDismiss={() => {
|
|
114
|
+
onDismiss={() => {
|
|
115
|
+
pTarget = null;
|
|
116
|
+
}}
|
|
131
117
|
/>
|
|
132
118
|
);
|
|
133
119
|
}
|
|
@@ -135,9 +121,7 @@ function Operator(props: PegaDxilMyPageCaseWidgetOperatorProps) {
|
|
|
135
121
|
}
|
|
136
122
|
};
|
|
137
123
|
|
|
138
|
-
|
|
139
124
|
const clickAction = (e: any) => {
|
|
140
|
-
|
|
141
125
|
setIsOpen(!isOpen);
|
|
142
126
|
if (pTarget === null) {
|
|
143
127
|
pTarget = e.currentTarget;
|
|
@@ -161,7 +145,7 @@ function Operator(props: PegaDxilMyPageCaseWidgetOperatorProps) {
|
|
|
161
145
|
<Fragment>
|
|
162
146
|
{metaObj ? (
|
|
163
147
|
<Button
|
|
164
|
-
variant=
|
|
148
|
+
variant="text"
|
|
165
149
|
aria-haspopup
|
|
166
150
|
aria-expanded={isOpen}
|
|
167
151
|
onClick={clickAction}
|
|
@@ -173,7 +157,7 @@ function Operator(props: PegaDxilMyPageCaseWidgetOperatorProps) {
|
|
|
173
157
|
</Button>
|
|
174
158
|
) : (
|
|
175
159
|
<Button
|
|
176
|
-
variant=
|
|
160
|
+
variant="link"
|
|
177
161
|
aria-haspopup
|
|
178
162
|
aria-expanded={isOpen}
|
|
179
163
|
onClick={clickAction}
|
|
@@ -188,11 +172,11 @@ function Operator(props: PegaDxilMyPageCaseWidgetOperatorProps) {
|
|
|
188
172
|
{isOpen && (
|
|
189
173
|
<Popover
|
|
190
174
|
ref={setPopoverEl}
|
|
191
|
-
groupId=
|
|
175
|
+
groupId="operator"
|
|
192
176
|
target={pTarget}
|
|
193
|
-
placement=
|
|
177
|
+
placement="bottom-start"
|
|
194
178
|
style={isLoading ? { position: 'relative', width: '10rem', minHeight: '4rem' } : undefined}
|
|
195
|
-
strategy=
|
|
179
|
+
strategy="fixed"
|
|
196
180
|
>
|
|
197
181
|
{popoverContent}
|
|
198
182
|
</Popover>
|
|
@@ -209,7 +193,6 @@ function Operator(props: PegaDxilMyPageCaseWidgetOperatorProps) {
|
|
|
209
193
|
}
|
|
210
194
|
|
|
211
195
|
return comp;
|
|
212
|
-
}
|
|
213
|
-
|
|
196
|
+
}
|
|
214
197
|
|
|
215
198
|
export default withConfiguration(Operator);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PConnect } from '@pega/pcore-pconnect-typedefs';
|
|
2
2
|
|
|
3
3
|
// PConnProps.d.ts
|
|
4
4
|
// This gives us a place to have each component (which is most DX Components) that is
|
|
@@ -22,25 +22,24 @@ export interface PConnProps {
|
|
|
22
22
|
// [key: string]: any;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
26
25
|
// PConnFieldProps extends PConnProps to bring in the common properties that are
|
|
27
26
|
// associated with most field components (ex: Dropdown, TextInput, etc.) in the
|
|
28
27
|
// components/field directory
|
|
29
28
|
export interface PConnFieldProps extends PConnProps {
|
|
30
|
-
label: string
|
|
31
|
-
required: boolean
|
|
32
|
-
disabled: boolean
|
|
33
|
-
value: any
|
|
34
|
-
validatemessage: string
|
|
35
|
-
status?: string
|
|
36
|
-
onChange?: any
|
|
37
|
-
onBlur?: any
|
|
38
|
-
readOnly: boolean
|
|
39
|
-
testId: string
|
|
40
|
-
helperText: string
|
|
41
|
-
displayMode?: string
|
|
42
|
-
hideLabel: boolean
|
|
43
|
-
placeholder?: string
|
|
44
|
-
fieldMetadata?: any
|
|
45
|
-
additionalProps?: any
|
|
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;
|
|
46
45
|
}
|
|
@@ -24,9 +24,7 @@ const meta: Meta<typeof PegaDxilMyPageCaseWidget> = {
|
|
|
24
24
|
export default meta;
|
|
25
25
|
type Story = StoryObj<typeof PegaDxilMyPageCaseWidget>;
|
|
26
26
|
|
|
27
|
-
|
|
28
27
|
export const BasePegaDxilMyPageCaseWidget: Story = args => {
|
|
29
|
-
|
|
30
28
|
const props = {
|
|
31
29
|
label: configProps.label,
|
|
32
30
|
createOperator: configProps.createOperator,
|
|
@@ -38,19 +36,31 @@ export const BasePegaDxilMyPageCaseWidget: Story = args => {
|
|
|
38
36
|
return {
|
|
39
37
|
getActionsApi: () => {
|
|
40
38
|
return {
|
|
41
|
-
updateFieldValue: () => {
|
|
42
|
-
|
|
39
|
+
updateFieldValue: () => {
|
|
40
|
+
/* nothing */
|
|
41
|
+
},
|
|
42
|
+
triggerFieldChange: () => {
|
|
43
|
+
/* nothing */
|
|
44
|
+
}
|
|
43
45
|
};
|
|
44
46
|
},
|
|
45
|
-
ignoreSuggestion: () => {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
ignoreSuggestion: () => {
|
|
48
|
+
/* nothing */
|
|
49
|
+
},
|
|
50
|
+
acceptSuggestion: () => {
|
|
51
|
+
/* nothing */
|
|
52
|
+
},
|
|
53
|
+
setInheritedProps: () => {
|
|
54
|
+
/* nothing */
|
|
55
|
+
},
|
|
56
|
+
resolveConfigProps: () => {
|
|
57
|
+
/* nothing */
|
|
58
|
+
}
|
|
49
59
|
};
|
|
50
60
|
}
|
|
51
|
-
};
|
|
61
|
+
};
|
|
52
62
|
|
|
53
|
-
return (
|
|
63
|
+
return (
|
|
54
64
|
<>
|
|
55
65
|
<PegaDxilMyPageCaseWidget {...props} {...args} />
|
|
56
66
|
</>
|
|
@@ -9,7 +9,6 @@ import Operator from './Operator';
|
|
|
9
9
|
|
|
10
10
|
import StyledPegaDxilMyPageCaseWidgetWrapper from './styles';
|
|
11
11
|
|
|
12
|
-
|
|
13
12
|
// interface for props
|
|
14
13
|
interface PegaDxilMyPageCaseWidgetProps extends PConnFieldProps {
|
|
15
14
|
// If any, enter additional props that only exist on TextInput here
|
|
@@ -26,13 +25,11 @@ interface PegaDxilMyPageCaseWidgetProps extends PConnFieldProps {
|
|
|
26
25
|
hideLabel: boolean;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
|
-
|
|
30
28
|
// Duplicated runtime code from Constellation Design System Component
|
|
31
29
|
|
|
32
30
|
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
33
31
|
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
34
32
|
function PegaDxilMyPageCaseWidget(props: PegaDxilMyPageCaseWidgetProps) {
|
|
35
|
-
|
|
36
33
|
const {
|
|
37
34
|
getPConnect,
|
|
38
35
|
title = 'Create operator',
|
|
@@ -49,61 +46,50 @@ function PegaDxilMyPageCaseWidget(props: PegaDxilMyPageCaseWidgetProps) {
|
|
|
49
46
|
hideLabel
|
|
50
47
|
} = props;
|
|
51
48
|
|
|
52
|
-
|
|
53
49
|
const [_label, user, dateTimeValue] =
|
|
54
50
|
label === 'Create operator'
|
|
55
51
|
? [createLabel, createOperator, createDateTime]
|
|
56
52
|
: label === 'Update operator'
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
? [updateLabel, updateOperator, updateDateTime]
|
|
54
|
+
: [resolveLabel, resolveOperator, resolveDateTime];
|
|
61
55
|
|
|
62
56
|
return user.userId && user.userName ? (
|
|
63
57
|
<StyledPegaDxilMyPageCaseWidgetWrapper>
|
|
64
58
|
<Card>
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
<CardHeader>{title}</CardHeader>
|
|
60
|
+
<CardContent>
|
|
61
|
+
<Flex container={{ direction: 'row' }}>
|
|
68
62
|
<Operator
|
|
69
63
|
label={hideLabel ? '' : _label}
|
|
70
64
|
name={user.userName}
|
|
71
65
|
id={user.userId}
|
|
72
66
|
getPConnect={getPConnect}
|
|
73
67
|
value={undefined}
|
|
74
|
-
validatemessage=
|
|
68
|
+
validatemessage=""
|
|
75
69
|
hideLabel={false}
|
|
76
70
|
readOnly={false}
|
|
77
71
|
required={false}
|
|
78
72
|
disabled={false}
|
|
79
73
|
externalUser={undefined}
|
|
80
74
|
metaObj={undefined}
|
|
81
|
-
testId=
|
|
82
|
-
helperText=
|
|
75
|
+
testId=""
|
|
76
|
+
helperText=""
|
|
83
77
|
/>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
78
|
+
{dateTimeValue && (
|
|
79
|
+
<Fragment>
|
|
80
|
+
{' '}
|
|
81
|
+
<DateTimeDisplay value={dateTimeValue} variant="relative" />
|
|
82
|
+
</Fragment>
|
|
83
|
+
)}
|
|
84
|
+
</Flex>
|
|
85
|
+
</CardContent>
|
|
92
86
|
</Card>
|
|
93
|
-
|
|
94
87
|
</StyledPegaDxilMyPageCaseWidgetWrapper>
|
|
95
88
|
) : (
|
|
96
|
-
<StyledPegaDxilMyPageCaseWidgetWrapper>
|
|
97
|
-
defVal
|
|
98
|
-
</StyledPegaDxilMyPageCaseWidgetWrapper>
|
|
89
|
+
<StyledPegaDxilMyPageCaseWidgetWrapper>defVal</StyledPegaDxilMyPageCaseWidgetWrapper>
|
|
99
90
|
);
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
91
|
}
|
|
104
92
|
|
|
105
|
-
|
|
106
|
-
|
|
107
93
|
export default withConfiguration(PegaDxilMyPageCaseWidget);
|
|
108
94
|
|
|
109
95
|
// as objects are there in props, shallow comparision fails & re-rendering of comp happens even with
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { PConnect } from '@pega/pcore-pconnect-typedefs';
|
|
2
2
|
|
|
3
3
|
// PConnProps.d.ts
|
|
4
4
|
// This gives us a place to have each component (which is most DX Components) that is
|
|
@@ -22,25 +22,24 @@ export interface PConnProps {
|
|
|
22
22
|
// [key: string]: any;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
26
25
|
// PConnFieldProps extends PConnProps to bring in the common properties that are
|
|
27
26
|
// associated with most field components (ex: Dropdown, TextInput, etc.) in the
|
|
28
27
|
// components/field directory
|
|
29
28
|
export interface PConnFieldProps extends PConnProps {
|
|
30
|
-
label: string
|
|
31
|
-
required: boolean
|
|
32
|
-
disabled: boolean
|
|
33
|
-
value: any
|
|
34
|
-
validatemessage: string
|
|
35
|
-
status?: string
|
|
36
|
-
onChange?: any
|
|
37
|
-
onBlur?: any
|
|
38
|
-
readOnly: boolean
|
|
39
|
-
testId: string
|
|
40
|
-
helperText: string
|
|
41
|
-
displayMode?: string
|
|
42
|
-
hideLabel: boolean
|
|
43
|
-
placeholder?: string
|
|
44
|
-
fieldMetadata?: any
|
|
45
|
-
additionalProps?: any
|
|
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;
|
|
46
45
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
2
1
|
/* eslint-disable react/jsx-no-useless-fragment */
|
|
3
2
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
4
3
|
|
|
5
4
|
import PegaDxilMyPageWidget from './index';
|
|
6
5
|
|
|
7
|
-
|
|
8
6
|
import configProps from './mock';
|
|
9
7
|
|
|
10
8
|
const meta: Meta<typeof PegaDxilMyPageWidget> = {
|
|
@@ -92,15 +90,15 @@ export const BasePegaDxilMyPageWidget: Story = args => {
|
|
|
92
90
|
};
|
|
93
91
|
|
|
94
92
|
return (
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
93
|
+
<>
|
|
94
|
+
<PegaDxilMyPageWidget {...props} {...args} />
|
|
95
|
+
</>
|
|
96
|
+
);
|
|
99
97
|
};
|
|
100
98
|
|
|
101
99
|
BasePegaDxilMyPageWidget.args = {
|
|
102
100
|
header: configProps.header,
|
|
103
101
|
description: configProps.description,
|
|
104
102
|
whatsnewlink: configProps.whatsnewlink,
|
|
105
|
-
datasource: configProps.datasource as any
|
|
103
|
+
datasource: configProps.datasource as any
|
|
106
104
|
};
|