@pega/custom-dx-components 0.23.20 → 0.23.21
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 +35 -35
- package/src/constants.js +14 -3
- package/src/tasks/authenticate/helper.js +44 -32
- package/src/tasks/authenticate/index.js +3 -1
- package/src/tasks/build-all/index.js +1 -1
- package/src/tasks/{build → build-comp}/index.js +1 -1
- package/src/tasks/create/index.js +20 -7
- package/src/tasks/create/templates/Constellation/Field/Boolean/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/{boolean-format.js.mustache → boolean-format.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Boolean/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Boolean/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/{index.jsx.mustache → index.tsx.mustache} +35 -10
- package/src/tasks/create/templates/Constellation/Field/{Date/styles.js.mustache → Boolean/styles.ts.mustache} +1 -1
- package/src/tasks/create/templates/Constellation/Field/Date/DateFormatter.js.mustache +1 -1
- package/src/tasks/create/templates/Constellation/Field/Date/FormattedText.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/Field/Date/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Date/date.js.mustache +0 -2
- package/src/tasks/create/templates/Constellation/Field/Date/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Date/{index.jsx.mustache → index.tsx.mustache} +82 -38
- package/src/tasks/create/templates/Constellation/Field/{Boolean/styles.js.mustache → Date/styles.ts.mustache} +1 -1
- package/src/tasks/create/templates/Constellation/Field/Date/suggestions-handler.ts +9 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/date-time.js.mustache +1 -1
- package/src/tasks/create/templates/Constellation/Field/DateTime/date-utils.js.mustache +1 -2
- package/src/tasks/create/templates/Constellation/Field/DateTime/date.js.mustache +1 -2
- package/src/tasks/create/templates/Constellation/Field/DateTime/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/DateTime/{index.jsx.mustache → index.tsx.mustache} +64 -22
- package/src/tasks/create/templates/Constellation/Field/{Decimal-Currency/styles.js.mustache → DateTime/styles.ts.mustache} +1 -1
- package/src/tasks/create/templates/Constellation/Field/DateTime/suggestions-handler.ts +10 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Decimal/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/{index.jsx.mustache → index.tsx.mustache} +38 -9
- package/src/tasks/create/templates/Constellation/Field/Decimal/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/suggestions-handler.ts +9 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/{index.jsx.mustache → index.tsx.mustache} +50 -14
- package/src/tasks/create/templates/Constellation/Field/{DateTime/styles.js.mustache → Decimal-Currency/styles.ts.mustache} +1 -1
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/suggestions-handler.ts +9 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/{index.jsx.mustache → index.tsx.mustache} +37 -8
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/suggestions-handler.ts +9 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Integer/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/{index.jsx.mustache → index.tsx.mustache} +52 -11
- package/src/tasks/create/templates/Constellation/Field/Integer/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/suggestions-handler.ts +9 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Picklist/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/{index.jsx.mustache → index.tsx.mustache} +54 -15
- package/src/tasks/create/templates/Constellation/Field/Picklist/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/suggestions-handler.ts +9 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/PConnProps.d.ts +46 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/component-constants.js +5 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/config.json.mustache +115 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/date.js.mustache +161 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/demo.stories.jsx.mustache +90 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/embed-utils.js.mustache +310 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/format-constants.js.mustache +41 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/index.tsx.mustache +1238 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/picklist-utils.js.mustache +88 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/repeat-constants.js.mustache +20 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/repeat-utils.js.mustache +657 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/suggestions-handler.ts.mustache +9 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/textformat-utils.jsx.mustache +161 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/utils.ts.mustache +218 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/PConnProps.d.ts +46 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/config.json.mustache +113 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/demo.stories.jsx.mustache +85 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache +243 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/suggestions-handler.ts.mustache +9 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/textformat-utils.jsx.mustache +161 -0
- package/src/tasks/create/templates/Constellation/Field/Text/PConnProps.d.ts +46 -0
- package/src/tasks/create/templates/Constellation/Field/Text/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Text/{index.jsx.mustache → index.tsx.mustache} +17 -6
- package/src/tasks/create/templates/Constellation/Field/Text/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/PConnProps.d.ts +46 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Text-Email/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/{index.jsx.mustache → index.tsx.mustache} +30 -12
- package/src/tasks/create/templates/Constellation/Field/Text-Email/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/suggestions-handler.ts.mustache +9 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/StatusWork.tsx +30 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Text-Input/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/{index.jsx.mustache → index.tsx.mustache} +54 -31
- package/src/tasks/create/templates/Constellation/Field/Text-Input/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/suggestions-handler.ts.mustache +9 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/{index.jsx.mustache → index.tsx.mustache} +30 -13
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/suggestions-handler.ts.mustache +9 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/{index.jsx.mustache → index.tsx.mustache} +37 -16
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/suggestions-handler.ts.mustache +9 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/Text-URL/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/{index.jsx.mustache → index.tsx.mustache} +39 -11
- package/src/tasks/create/templates/Constellation/Field/Text-URL/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/suggestions-handler.ts.mustache +9 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/text-url.jsx.mustache +2 -1
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/{TimeofDay → TimeOfDay}/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Field/{TimeofDay/index.jsx.mustache → TimeOfDay/index.tsx.mustache} +46 -16
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/suggestions-handler.ts.mustache +9 -0
- package/src/tasks/create/templates/Constellation/Field/{TimeofDay → TimeOfDay}/time-of-day.js.mustache +0 -2
- package/src/tasks/create/templates/Constellation/Template/DETAILS/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Template/{DETAILS-region/StatusWork.jsx.mustache → DETAILS/StatusWork.tsx.mustache} +2 -3
- package/src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.jsx.mustache +3 -4
- package/src/tasks/create/templates/Constellation/Template/{DETAILS-region/index.jsx.mustache → DETAILS/index.tsx.mustache} +22 -5
- package/src/tasks/create/templates/Constellation/Template/DETAILS/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/utils.js.mustache +2 -3
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/{Field/Text-Input/StatusWork.jsx → Template/DETAILS-region/StatusWork.tsx.mustache} +2 -3
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.jsx.mustache +3 -4
- package/src/tasks/create/templates/Constellation/Template/{DETAILS/index.jsx.mustache → DETAILS-region/index.tsx.mustache} +21 -5
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/utils.js.mustache +0 -4
- package/src/tasks/create/templates/Constellation/Template/FORM/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/demo.stories.jsx.mustache +15 -13
- package/src/tasks/create/templates/Constellation/Template/FORM/{index.jsx.mustache → index.tsx.mustache} +11 -7
- package/src/tasks/create/templates/Constellation/Template/FORM/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/demo.stories.jsx.mustache +7 -8
- package/src/tasks/create/templates/Constellation/Template/FORM-region/{index.jsx.mustache → index.tsx.mustache} +14 -3
- package/src/tasks/create/templates/Constellation/Template/FORM-region/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/{GetNextWork.jsx.mustache → GetNextWork.tsx.mustache} +13 -6
- package/src/tasks/create/templates/Constellation/Template/PAGE/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Template/PAGE/{index.jsx.mustache → index.tsx.mustache} +18 -6
- package/src/tasks/create/templates/Constellation/Template/PAGE/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/utils.js.mustache +1 -4
- package/src/tasks/create/templates/Constellation/Widget/CASE/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Widget/CASE/{index.jsx.mustache → index.tsx.mustache} +19 -10
- package/src/tasks/create/templates/Constellation/Widget/CASE/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Constellation/Widget/PAGE/{index.jsx.mustache → index.tsx.mustache} +14 -2
- package/src/tasks/create/templates/Constellation/Widget/PAGE/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/{Avatar.jsx.mustache → Avatar.tsx.mustache} +21 -10
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/{Operator.jsx.mustache → Operator.tsx.mustache} +30 -9
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/demo.stories.jsx.mustache +2 -3
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/{index.jsx.mustache → index.tsx.mustache} +25 -4
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/demo.stories.jsx.mustache +3 -3
- package/src/tasks/create/templates/Launchpad/Widget/CASE/index.jsx.mustache +0 -2
- package/src/tasks/create/templates/Launchpad/Widget/CASE/styles.js.mustache +1 -1
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Avatar.jsx.mustache +2 -4
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Operator.jsx.mustache +1 -2
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/demo.stories.jsx.mustache +2 -3
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/index.jsx.mustache +1 -2
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/styles.js.mustache +1 -1
- package/src/tasks/create-all/index.js +9 -1
- package/src/tasks/index.js +1 -1
- package/src/tasks/init/helper.js +0 -1
- package/src/tasks/init/index.js +31 -16
- package/src/tasks/init/template/.eslintrc.json +15 -10
- package/src/tasks/init/template/.storybook/main.js +12 -0
- package/src/tasks/init/template/.storybook/preview.js +14 -0
- package/src/tasks/init/template/package.json.mustache +36 -35
- package/src/tasks/publish/helper.js +34 -14
- package/src/tasks/publish/index.js +1 -1
- package/src/tasks/publish-all/helper.js +42 -16
- package/src/tasks/publish-all/index.js +1 -1
- package/src/tasks/revert-webpack/index.js +5 -7
- package/src/tasks/upgrade/index.js +1 -1
- package/src/util.js +68 -44
- package/tests/assets/components/create/Pega_DXIL_MyTestText/demo.stories.jsx +17 -11
- package/tests/assets/components/create/Pega_DXIL_MyTestText/index.jsx +0 -1
- package/tests/assets/components/create/Pega_DXIL_MyTestText/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/component-constants.js +5 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/config.json +115 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/date.js +161 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/demo.stories.jsx +91 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/embed-utils.js +310 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/format-constants.js +41 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/index.jsx +1042 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/mock.js +69 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/picklist-utils.js +88 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/repeat-constants.js +20 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/repeat-utils.js +657 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/styles.js +15 -0
- package/{src/tasks/create/templates/Constellation/Field/Date → tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete}/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/textformat-utils.jsx +161 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/utils.js +182 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/boolean-format.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.jsx +8 -7
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.jsx +0 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.jsx +22 -12
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.jsx +0 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.jsx +23 -12
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.jsx +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/DateFormatter.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/FormattedText.jsx +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/date.js +0 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.jsx +20 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/index.jsx +1 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-time.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-utils.js +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date.js +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.jsx +20 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.jsx +1 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.jsx +20 -11
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.jsx +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/StatusWork.jsx +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.jsx +2 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/index.jsx +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/utils.js +2 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/index.jsx +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.jsx +15 -21
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/index.jsx +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.jsx +20 -11
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/index.jsx +2 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/GetNextWork.jsx +1 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.jsx +20 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/index.jsx +3 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/utils.js +1 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.jsx +2 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Operator.jsx +2 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx +22 -12
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.jsx +2 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.jsx +4 -7
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.jsx +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.jsx +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.jsx +20 -11
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.jsx +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.jsx +20 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/index.jsx +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.jsx +3 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.js +69 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/config.json +113 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/demo.stories.jsx +91 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/index.jsx +218 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.js +69 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/styles.js +15 -0
- package/{src/tasks/create/templates/Constellation/Field/DateTime → tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons}/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/textformat-utils.jsx +161 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.jsx +17 -11
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/index.jsx +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/StatusWork.jsx +15 -16
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.jsx +20 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.jsx +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.jsx +18 -8
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.jsx +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/time-of-day.js +0 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/StatusWork.jsx +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx +2 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.jsx +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/utils.js +0 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.jsx +6 -11
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.jsx +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.jsx +20 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/index.jsx +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/styles.js +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/text-url.jsx +2 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/component-constants.js +5 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/config.json +115 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/date.js +161 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/demo.stories.jsx +89 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/embed-utils.js +310 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/format-constants.js +41 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/index.jsx +1042 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/mock.js +69 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/picklist-utils.js +88 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/repeat-constants.js +20 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/repeat-utils.js +657 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/styles.js +15 -0
- package/{src/tasks/create/templates/Constellation/Field/Decimal-Percentage → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete}/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/textformat-utils.jsx +161 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/utils.js +182 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/boolean-format.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.jsx +8 -7
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.jsx +0 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.jsx +22 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.jsx +0 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.jsx +23 -13
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.jsx +2 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/DateFormatter.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/FormattedText.jsx +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/date.js +0 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.jsx +21 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/index.jsx +1 -3
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-time.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-utils.js +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date.js +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.jsx +21 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.jsx +1 -3
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/StatusWork.jsx +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.jsx +5 -6
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.jsx +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/utils.js +2 -3
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/demo.stories.jsx +23 -24
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/index.jsx +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.jsx +2 -3
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/GetNextWork.jsx +1 -4
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.jsx +20 -11
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/index.jsx +3 -3
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/utils.js +1 -4
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Avatar.jsx +2 -4
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Operator.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx +23 -15
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.jsx +4 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.jsx +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.jsx +20 -11
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.jsx +3 -3
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.js +69 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/config.json +113 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.jsx +89 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/index.jsx +218 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.js +69 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/styles.js +15 -0
- package/{src/tasks/create/templates/Constellation/Field/Decimal-Currency → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons}/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/textformat-utils.jsx +161 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.jsx +17 -11
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/index.jsx +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/StatusWork.jsx +15 -16
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.jsx +20 -12
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.jsx +18 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/time-of-day.js +0 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/StatusWork.jsx +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx +5 -6
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.jsx +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/utils.js +0 -4
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/demo.stories.jsx +14 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.jsx +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.jsx +20 -11
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/index.jsx +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/styles.js +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/text-url.jsx +2 -1
- package/src/tasks/create/templates/Constellation/Field/Decimal/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Decimal/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Integer/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Integer/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Integer/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Picklist/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Picklist/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Picklist/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Text-Email/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-Email/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Text-Email/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text-Input/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-Input/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Text-Input/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text-URL/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-URL/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/Text-URL/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/TimeofDay/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Field/TimeofDay/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Template/DETAILS/StatusWork.jsx.mustache +0 -27
- package/src/tasks/create/templates/Constellation/Template/DETAILS/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Template/FORM/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Template/FORM-region/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Template/PAGE/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Widget/CASE/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Widget/PAGE/styles.js.mustache +0 -15
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/styles.js.mustache +0 -15
- package/src/tasks/init/template/.storybook/main.cjs +0 -6
- package/src/tasks/init/template/.storybook/package.json +0 -1
- package/src/tasks/init/template/.storybook/preview.tsx +0 -44
- /package/src/tasks/{build → build-comp}/helper.js +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Boolean/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Date/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/DateTime/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Decimal/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Integer/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.stories.js → src/tasks/create/templates/Constellation/Field/Picklist/mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/{Picklist/mock.stories.js.mustache → Picklist-Autocomplete/mock.js.mustache} +0 -0
- /package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.stories.js → src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Text/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Text-Email/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Text-Input/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Text-Phone/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/Text-URL/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Field/{TimeofDay → TimeOfDay}/config.json.mustache +0 -0
- /package/src/tasks/create/templates/Constellation/Field/{TimeofDay/mock.stories.js.mustache → TimeOfDay/mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Template/DETAILS/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Template/DETAILS-region/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Template/FORM/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Template/FORM-region/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Template/PAGE/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Widget/CASE/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Widget/PAGE/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Launchpad/Widget/CASE/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{mock.stories.js.mustache → mock.js.mustache} +0 -0
- /package/tests/assets/components/create/Pega_DXIL_MyTestText/{mock.stories.js → mock.js} +0 -0
- /package/{src/tasks/create/templates/Constellation/Field/Boolean/event-utils.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/event-utils.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/{mock.stories.js → mock.js} +0 -0
- /package/{src/tasks/create/templates/Constellation/Field/Decimal-Currency/event-utils.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/event-utils.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/{mock.stories.js → mock.js} +0 -0
- /package/{src/tasks/create/templates/Constellation/Field/Decimal-Percentage/event-utils.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/event-utils.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/{mock.stories.js → mock.js} +0 -0
- /package/{src/tasks/create/templates/Constellation/Field/Decimal/event-utils.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/event-utils.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/{mock.stories.js → mock.js} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/{mock.stories.js → mock.js} +0 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Pega_DXIL_MyRadioButtons",
|
|
3
|
+
"label": "My Radio Buttons",
|
|
4
|
+
"description": "My Radio Buttons",
|
|
5
|
+
"organization": "Pega",
|
|
6
|
+
"version": "0.0.1",
|
|
7
|
+
"library": "DXIL",
|
|
8
|
+
"allowedApplications": [],
|
|
9
|
+
"componentKey": "Pega_DXIL_MyRadioButtons",
|
|
10
|
+
"type": "Field",
|
|
11
|
+
"subtype": "Picklist",
|
|
12
|
+
"icon": "images/pz-dropdown-active.svg",
|
|
13
|
+
"properties": [
|
|
14
|
+
{
|
|
15
|
+
"name": "label",
|
|
16
|
+
"label": "Field label",
|
|
17
|
+
"format": "TEXT",
|
|
18
|
+
"required": true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "readOnly",
|
|
22
|
+
"label": "Edit mode",
|
|
23
|
+
"format": "READONLY"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "inline",
|
|
27
|
+
"label": "Horizontal display",
|
|
28
|
+
"format": "BOOLEAN"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"label": "Column settings",
|
|
32
|
+
"format": "GROUP",
|
|
33
|
+
"visibility": "@VIEWTYPE == 'MultiRecordDisplayAsTable'",
|
|
34
|
+
"properties": [
|
|
35
|
+
{
|
|
36
|
+
"name": "columnWidth",
|
|
37
|
+
"label": "Column width",
|
|
38
|
+
"format": "SELECT",
|
|
39
|
+
"source": [
|
|
40
|
+
{
|
|
41
|
+
"key": "auto",
|
|
42
|
+
"value": "Auto"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"key": "custom",
|
|
46
|
+
"value": "Custom"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "width",
|
|
52
|
+
"label": "Width (px)",
|
|
53
|
+
"format": "NUMBER",
|
|
54
|
+
"visibility": "$this.columnWidth == 'custom'"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"label": "Input settings",
|
|
60
|
+
"format": "GROUP",
|
|
61
|
+
"visibility": "(!readOnly = true)",
|
|
62
|
+
"properties": [
|
|
63
|
+
{
|
|
64
|
+
"name": "helperText",
|
|
65
|
+
"label": "Helper text",
|
|
66
|
+
"format": "TEXT"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"label": "Conditions",
|
|
72
|
+
"format": "GROUP",
|
|
73
|
+
"properties": [
|
|
74
|
+
{
|
|
75
|
+
"name": "required",
|
|
76
|
+
"label": "Required",
|
|
77
|
+
"format": "REQUIRED",
|
|
78
|
+
"visibility": "(!readOnly = true)"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "disabled",
|
|
82
|
+
"label": "Disabled",
|
|
83
|
+
"format": "DISABLED",
|
|
84
|
+
"visibility": "(!readOnly = true)"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "visibility",
|
|
88
|
+
"label": "Visibility",
|
|
89
|
+
"format": "VISIBILITY"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"label": "Advanced",
|
|
95
|
+
"format": "GROUP",
|
|
96
|
+
"collapsible": true,
|
|
97
|
+
"properties": [
|
|
98
|
+
{
|
|
99
|
+
"name": "testId",
|
|
100
|
+
"label": "Test ID",
|
|
101
|
+
"format": "TEXT",
|
|
102
|
+
"ignorePattern": "[^-_\\p{N}\\p{L}]",
|
|
103
|
+
"includeAnnotations": false
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"defaultConfig": {
|
|
109
|
+
"label": "@L $this.label",
|
|
110
|
+
"listType": "associated",
|
|
111
|
+
"datasource": "@ASSOCIATED .$this.name"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* eslint-disable react/jsx-no-useless-fragment */
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import { withKnobs } from '@storybook/addon-knobs';
|
|
4
|
+
|
|
5
|
+
import { configProps, rawMetadata, fieldMetadata, stateProps } from './mock.js';
|
|
6
|
+
import PegaDxilMyRadioButtons from './index.jsx';
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
title: 'PegaDxilMyRadioButtons',
|
|
10
|
+
decorators: [withKnobs],
|
|
11
|
+
component: PegaDxilMyRadioButtons
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const BasePegaDxilMyRadioButtons = () => {
|
|
15
|
+
const [value, setValue] = useState(configProps.value);
|
|
16
|
+
|
|
17
|
+
const props = {
|
|
18
|
+
value,
|
|
19
|
+
placeholder: configProps.placeholder,
|
|
20
|
+
label: configProps.label,
|
|
21
|
+
helperText: configProps.helperText,
|
|
22
|
+
datasource: configProps.datasource,
|
|
23
|
+
testId: configProps.testId,
|
|
24
|
+
hasSuggestions: configProps.hasSuggestions,
|
|
25
|
+
fieldMetadata,
|
|
26
|
+
|
|
27
|
+
getPConnect: () => {
|
|
28
|
+
return {
|
|
29
|
+
getConfigProps: () => {
|
|
30
|
+
return configProps;
|
|
31
|
+
},
|
|
32
|
+
getStateProps: () => {
|
|
33
|
+
return stateProps;
|
|
34
|
+
},
|
|
35
|
+
getLocalizedValue: val => {
|
|
36
|
+
return val;
|
|
37
|
+
},
|
|
38
|
+
getLocaleRuleNameFromKeys: (localeClass, localeContext, localeName) => {
|
|
39
|
+
return `${localeClass}!${localeContext}!${localeName}`;
|
|
40
|
+
},
|
|
41
|
+
getCaseInfo: () => {
|
|
42
|
+
return {
|
|
43
|
+
getClassName: () => {
|
|
44
|
+
return 'DIXL-MediaCo-Work-NewService';
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
getRawMetadata: () => {
|
|
49
|
+
return rawMetadata;
|
|
50
|
+
},
|
|
51
|
+
getActionsApi: () => {
|
|
52
|
+
return {
|
|
53
|
+
updateFieldValue: (propName, theValue) => {
|
|
54
|
+
setValue(theValue);
|
|
55
|
+
},
|
|
56
|
+
triggerFieldChange: () => {
|
|
57
|
+
/* nothing */
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
getValidationApi: () => {
|
|
62
|
+
return {
|
|
63
|
+
validate: () => {
|
|
64
|
+
/* nothing */
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
ignoreSuggestion: () => {
|
|
69
|
+
/* nothing */
|
|
70
|
+
},
|
|
71
|
+
acceptSuggestion: () => {
|
|
72
|
+
/* nothing */
|
|
73
|
+
},
|
|
74
|
+
setInheritedProps: () => {
|
|
75
|
+
/* nothing */
|
|
76
|
+
},
|
|
77
|
+
resolveConfigProps: () => {
|
|
78
|
+
/* nothing */
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<>
|
|
86
|
+
<PegaDxilMyRadioButtons {...props} />
|
|
87
|
+
</>
|
|
88
|
+
);
|
|
89
|
+
};
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/* eslint-disable no-nested-ternary */
|
|
2
|
+
import { useMemo } from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { RadioButton, RadioButtonGroup } from '@pega/cosmos-react-core';
|
|
5
|
+
|
|
6
|
+
// includes in bundle
|
|
7
|
+
import { formatExists, textFormatter } from './textformat-utils.jsx';
|
|
8
|
+
import handleEvent from './event-utils.js';
|
|
9
|
+
|
|
10
|
+
import StyledPegaDxilMyRadioButtonsWrapper from './styles';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
const getFullReference = (pConn, configProperty) => {
|
|
14
|
+
const pageReference = pConn.getPageReference();
|
|
15
|
+
return pageReference ? `${pageReference}.${configProperty}` : configProperty;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
const getDisplayValue = (dataSource, value, isDatapage) => {
|
|
19
|
+
if (value !== 0 && (!value || (typeof value === 'string' && !value.trim().length))) {
|
|
20
|
+
return <span aria-hidden='true'>––</span>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const matchedEntry =
|
|
24
|
+
dataSource &&
|
|
25
|
+
dataSource.filter((entry) => {
|
|
26
|
+
return entry.key === value;
|
|
27
|
+
})[0];
|
|
28
|
+
return matchedEntry ? (isDatapage ? matchedEntry.text : matchedEntry.value) : value;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
// Duplicated runtime code from Constellation Design System Component
|
|
33
|
+
|
|
34
|
+
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
35
|
+
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
36
|
+
const PegaDxilMyRadioButtons = props => {
|
|
37
|
+
const {
|
|
38
|
+
getPConnect,
|
|
39
|
+
value,
|
|
40
|
+
label,
|
|
41
|
+
hideLabel,
|
|
42
|
+
helperText,
|
|
43
|
+
datasource,
|
|
44
|
+
listType,
|
|
45
|
+
validatemessage,
|
|
46
|
+
align,
|
|
47
|
+
testId,
|
|
48
|
+
additionalProps,
|
|
49
|
+
displayMode,
|
|
50
|
+
inline,
|
|
51
|
+
placeholder,
|
|
52
|
+
fieldMetadata,
|
|
53
|
+
isTableFormatter
|
|
54
|
+
} = props;
|
|
55
|
+
const pConn = getPConnect();
|
|
56
|
+
const { formatter } = props;
|
|
57
|
+
const actions = pConn.getActionsApi();
|
|
58
|
+
const propName = pConn.getStateProps().value;
|
|
59
|
+
const configProps = pConn.getConfigProps();
|
|
60
|
+
const className = pConn.getCaseInfo().getClassName();
|
|
61
|
+
const { getLocaleRuleNameFromKeys, getLocalizedValue } = pConn;
|
|
62
|
+
|
|
63
|
+
let configProperty = pConn.getRawMetadata()?.config?.value || '';
|
|
64
|
+
configProperty = configProperty.startsWith('@P') ? configProperty.substring(3) : configProperty;
|
|
65
|
+
configProperty = configProperty.startsWith('.') ? configProperty.substring(1) : configProperty;
|
|
66
|
+
const fullReference = getFullReference(pConn, configProperty);
|
|
67
|
+
|
|
68
|
+
// BUG-547602: Temporary type coercion for 8.5 until DXAPIs are enhanced to pass original pxViewMetadata JSON, respecting boolean primitives
|
|
69
|
+
let { readOnly, required, disabled } = props;
|
|
70
|
+
[readOnly, required, disabled] = [readOnly, required, disabled].map(
|
|
71
|
+
(prop) => prop === true || (typeof prop === 'string' && prop === 'true')
|
|
72
|
+
);
|
|
73
|
+
|
|
74
|
+
let status = '';
|
|
75
|
+
if (validatemessage !== '') {
|
|
76
|
+
status = 'error';
|
|
77
|
+
}
|
|
78
|
+
const metaData = Array.isArray(fieldMetadata)
|
|
79
|
+
? fieldMetadata.filter((field) => field?.classID === className)[0]
|
|
80
|
+
: fieldMetadata;
|
|
81
|
+
let displayName = metaData?.datasource?.propertyForDisplayText;
|
|
82
|
+
displayName = displayName?.slice(displayName.lastIndexOf('.') + 1);
|
|
83
|
+
const localeContext = metaData?.datasource?.tableType === 'DataPage' ? 'datapage' : 'associated';
|
|
84
|
+
const localeClass = localeContext === 'datapage' ? '@baseclass' : className;
|
|
85
|
+
const localeName = localeContext === 'datapage' ? metaData?.datasource?.name : configProperty;
|
|
86
|
+
const localePath = localeContext === 'datapage' ? displayName : localeName;
|
|
87
|
+
|
|
88
|
+
const items = [];
|
|
89
|
+
const isDatapage = listType === 'datapage';
|
|
90
|
+
const listSource = isDatapage ? configProps.listOutput : datasource;
|
|
91
|
+
let autoFocusProp = additionalProps?.autoFocus
|
|
92
|
+
? {
|
|
93
|
+
autoFocus: true
|
|
94
|
+
}
|
|
95
|
+
: {};
|
|
96
|
+
if (placeholder) {
|
|
97
|
+
items.push(
|
|
98
|
+
<RadioButton
|
|
99
|
+
{...autoFocusProp}
|
|
100
|
+
defaultChecked={value === ''}
|
|
101
|
+
id={`${fullReference}.EMPTY`}
|
|
102
|
+
value=''
|
|
103
|
+
key={`${fullReference}.EMPTY`}
|
|
104
|
+
label={placeholder}
|
|
105
|
+
name={fullReference}
|
|
106
|
+
/>
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
(listSource || []).forEach((item) => {
|
|
110
|
+
if (additionalProps?.autoFocus && value === item.key) {
|
|
111
|
+
autoFocusProp = {
|
|
112
|
+
autoFocus: true
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
items.push(
|
|
116
|
+
<RadioButton
|
|
117
|
+
{...autoFocusProp}
|
|
118
|
+
checked={`${value}` === `${item.key}`}
|
|
119
|
+
id={`${fullReference}.${item.key}`}
|
|
120
|
+
value={item.key}
|
|
121
|
+
key={`${fullReference}.${item.key}`}
|
|
122
|
+
label={getLocalizedValue(
|
|
123
|
+
isDatapage ? item.text : item.value,
|
|
124
|
+
localePath,
|
|
125
|
+
getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
126
|
+
)}
|
|
127
|
+
name={fullReference}
|
|
128
|
+
/>
|
|
129
|
+
);
|
|
130
|
+
autoFocusProp = {};
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
const displayComponent = useMemo(() => {
|
|
134
|
+
const displayValue = getDisplayValue(listSource, value, isDatapage);
|
|
135
|
+
|
|
136
|
+
return isTableFormatter && formatExists(formatter) ? textFormatter(formatter, displayValue) : displayValue;
|
|
137
|
+
}, [listSource, value, isDatapage, isTableFormatter, formatter]);
|
|
138
|
+
|
|
139
|
+
if (displayMode === 'DISPLAY_ONLY') {
|
|
140
|
+
return displayComponent;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
return (
|
|
144
|
+
<StyledPegaDxilMyRadioButtonsWrapper>
|
|
145
|
+
<RadioButtonGroup
|
|
146
|
+
{...additionalProps}
|
|
147
|
+
label={label}
|
|
148
|
+
labelHidden={hideLabel}
|
|
149
|
+
info={validatemessage || helperText}
|
|
150
|
+
inline={inline}
|
|
151
|
+
status={status}
|
|
152
|
+
data-testid={testId}
|
|
153
|
+
value={value}
|
|
154
|
+
required={required}
|
|
155
|
+
readOnly={readOnly}
|
|
156
|
+
onChange={(event) => {
|
|
157
|
+
handleEvent(actions, 'changeNblur', propName, event.target.value);
|
|
158
|
+
}}
|
|
159
|
+
onBlur={(event) => {
|
|
160
|
+
pConn.getValidationApi().validate(event.target.value);
|
|
161
|
+
}}
|
|
162
|
+
align={align}
|
|
163
|
+
disabled={disabled}
|
|
164
|
+
className='standard'
|
|
165
|
+
name={fullReference}
|
|
166
|
+
>
|
|
167
|
+
{items}
|
|
168
|
+
</RadioButtonGroup>
|
|
169
|
+
</StyledPegaDxilMyRadioButtonsWrapper>
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
PegaDxilMyRadioButtons.defaultProps = {
|
|
175
|
+
value: '',
|
|
176
|
+
validatemessage: '',
|
|
177
|
+
helperText: '',
|
|
178
|
+
hideLabel: false,
|
|
179
|
+
disabled: false,
|
|
180
|
+
readOnly: false,
|
|
181
|
+
required: false,
|
|
182
|
+
align: 'vertical',
|
|
183
|
+
testId: '',
|
|
184
|
+
datasource: [],
|
|
185
|
+
listType: '',
|
|
186
|
+
additionalProps: {},
|
|
187
|
+
fieldMetadata: {},
|
|
188
|
+
displayMode: null,
|
|
189
|
+
inline: false,
|
|
190
|
+
placeholder: null,
|
|
191
|
+
formatter: '',
|
|
192
|
+
isTableFormatter: false
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
PegaDxilMyRadioButtons.propTypes = {
|
|
196
|
+
getPConnect: PropTypes.func.isRequired,
|
|
197
|
+
value: PropTypes.string,
|
|
198
|
+
label: PropTypes.string.isRequired,
|
|
199
|
+
hideLabel: PropTypes.bool,
|
|
200
|
+
datasource: PropTypes.arrayOf(PropTypes.any),
|
|
201
|
+
listType: PropTypes.string,
|
|
202
|
+
validatemessage: PropTypes.string,
|
|
203
|
+
helperText: PropTypes.string,
|
|
204
|
+
disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
205
|
+
readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
206
|
+
required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
207
|
+
align: PropTypes.string,
|
|
208
|
+
testId: PropTypes.string,
|
|
209
|
+
additionalProps: PropTypes.objectOf(PropTypes.any),
|
|
210
|
+
fieldMetadata: PropTypes.objectOf(PropTypes.any),
|
|
211
|
+
displayMode: PropTypes.string,
|
|
212
|
+
inline: PropTypes.bool,
|
|
213
|
+
placeholder: PropTypes.string,
|
|
214
|
+
formatter: PropTypes.string,
|
|
215
|
+
isTableFormatter: PropTypes.bool
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
export default PegaDxilMyRadioButtons;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* eslint-disable storybook/default-exports */
|
|
2
|
+
/* eslint-disable storybook/prefer-pascal-case */
|
|
3
|
+
export const configProps = {
|
|
4
|
+
value: '',
|
|
5
|
+
label: 'Picklist Sample',
|
|
6
|
+
placeholder: 'Select...',
|
|
7
|
+
listType: 'associated',
|
|
8
|
+
datasource: [
|
|
9
|
+
{
|
|
10
|
+
key: 'Option 1',
|
|
11
|
+
value: 'Option 1'
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
key: 'Option 2',
|
|
15
|
+
value: 'Option 2'
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
key: 'Option 3',
|
|
19
|
+
value: 'Option 3'
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
helperText: 'Picklist Helper Text',
|
|
23
|
+
testId: 'picklist-12345678',
|
|
24
|
+
hasSuggestions: false
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export const stateProps = {
|
|
28
|
+
value: '.PicklistSample',
|
|
29
|
+
placeholder: 'Select...',
|
|
30
|
+
datasource: '.PicklistSample',
|
|
31
|
+
hasSuggestions: false
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const rawMetadata = {
|
|
35
|
+
type: 'Dropdown',
|
|
36
|
+
config: {
|
|
37
|
+
value: '@P .PicklistSample',
|
|
38
|
+
label: '@L Picklist Sample',
|
|
39
|
+
placeholder: '@L Select...',
|
|
40
|
+
listType: 'associated',
|
|
41
|
+
datasource: '@ASSOCIATED .PicklistSample',
|
|
42
|
+
helperText: '@L Picklist Helper Text',
|
|
43
|
+
testId: 'picklist-12345678'
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export const fieldMetadata = {
|
|
48
|
+
classID: 'DIXL-MediaCo-Work-NewService',
|
|
49
|
+
type: 'Text',
|
|
50
|
+
displayAs: 'pxDropdown',
|
|
51
|
+
label: 'Picklist sample',
|
|
52
|
+
datasource: {
|
|
53
|
+
tableType: 'PromptList',
|
|
54
|
+
records: [
|
|
55
|
+
{
|
|
56
|
+
key: 'Option 1',
|
|
57
|
+
value: 'Option 1'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
key: 'Option 2',
|
|
61
|
+
value: 'Option 2'
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
key: 'Option 3',
|
|
65
|
+
value: 'Option 3'
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
// utilizing theming, comment out, if want individual style
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
import { Configuration } from '@pega/cosmos-react-core';
|
|
5
|
+
|
|
6
|
+
export default styled(Configuration)``;
|
|
7
|
+
|
|
8
|
+
// individual style, comment out above, and uncomment here and add styles
|
|
9
|
+
// import styled, { css } from 'styled-components';
|
|
10
|
+
//
|
|
11
|
+
// export default styled.div(() => {
|
|
12
|
+
// return css`
|
|
13
|
+
// margin: 0px 0;
|
|
14
|
+
// `;
|
|
15
|
+
// });
|
package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/textformat-utils.jsx
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { EmailDisplay, PhoneDisplay, URLDisplay, Image, Button, Lightbox } from '@pega/cosmos-react-core';
|
|
2
|
+
import { useRef, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
export const formatExists = (formatterVal) => {
|
|
5
|
+
const formatterValues = ['TextInput', 'Email', 'Phone'];
|
|
6
|
+
let isformatter = false;
|
|
7
|
+
if (formatterValues.includes(formatterVal)) {
|
|
8
|
+
isformatter = true;
|
|
9
|
+
}
|
|
10
|
+
return isformatter;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const urlLabelVal = (urlLabelSelection, btnVal, urlLabel, propUrlLabel) => {
|
|
14
|
+
if ((urlLabel !== '' || propUrlLabel !== '') && btnVal !== null) {
|
|
15
|
+
switch (urlLabelSelection) {
|
|
16
|
+
case 'constant': {
|
|
17
|
+
btnVal = urlLabel;
|
|
18
|
+
break;
|
|
19
|
+
}
|
|
20
|
+
case 'propertyRef': {
|
|
21
|
+
btnVal = propUrlLabel;
|
|
22
|
+
break;
|
|
23
|
+
}
|
|
24
|
+
// no default
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return btnVal;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const isImage = (url) => /\.(jpg|jpeg|png|webp|avif|gif|svg)$/.test(url);
|
|
31
|
+
|
|
32
|
+
const TableImage = (imageProps) => {
|
|
33
|
+
const { value, altText, altTextOfImage, propaltTextOfImage, urlLabelSelection, urlLabel, propUrlLabel } = imageProps;
|
|
34
|
+
const demoButtonRef = useRef(null);
|
|
35
|
+
let imageDisplayComp = null;
|
|
36
|
+
const [images, setImages] = useState(null);
|
|
37
|
+
const imgDescription = {
|
|
38
|
+
id: 'url',
|
|
39
|
+
name: urlLabelSelection === 'constant' ? urlLabel : propUrlLabel,
|
|
40
|
+
description: altText === 'constant' ? altTextOfImage : propaltTextOfImage,
|
|
41
|
+
src: value
|
|
42
|
+
};
|
|
43
|
+
const onClick = () => {
|
|
44
|
+
setImages([imgDescription]);
|
|
45
|
+
};
|
|
46
|
+
const onItemDownload = async (id) => {
|
|
47
|
+
const a = document.createElement('a');
|
|
48
|
+
a.href = await fetch(images[0].src)
|
|
49
|
+
.then((response) => {
|
|
50
|
+
return response.blob();
|
|
51
|
+
})
|
|
52
|
+
.then((blob) => {
|
|
53
|
+
return URL.createObjectURL(blob);
|
|
54
|
+
});
|
|
55
|
+
a.download = images?.find((image) => image.id === id)?.name ?? id;
|
|
56
|
+
document.body.appendChild(a);
|
|
57
|
+
a.click();
|
|
58
|
+
document.body.removeChild(a);
|
|
59
|
+
};
|
|
60
|
+
let btnVal = value;
|
|
61
|
+
btnVal = urlLabelVal(urlLabelSelection, btnVal, urlLabel, propUrlLabel);
|
|
62
|
+
imageDisplayComp = (
|
|
63
|
+
<>
|
|
64
|
+
{btnVal !== null && (
|
|
65
|
+
<Button ref={demoButtonRef} variant='link' compact={false} onClick={onClick} autoFocus>
|
|
66
|
+
{btnVal}
|
|
67
|
+
</Button>
|
|
68
|
+
)}
|
|
69
|
+
{images && (
|
|
70
|
+
<Lightbox
|
|
71
|
+
items={images}
|
|
72
|
+
cycle={false}
|
|
73
|
+
onAfterClose={() => {
|
|
74
|
+
setImages(null);
|
|
75
|
+
demoButtonRef.current?.focus();
|
|
76
|
+
}}
|
|
77
|
+
onItemDownload={isImage(images[0].src) ? onItemDownload : undefined}
|
|
78
|
+
/>
|
|
79
|
+
)}
|
|
80
|
+
</>
|
|
81
|
+
);
|
|
82
|
+
return imageDisplayComp;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
export const textFormatter = (formatter, value) => {
|
|
86
|
+
let displayComponent = null;
|
|
87
|
+
switch (formatter) {
|
|
88
|
+
case 'TextInput': {
|
|
89
|
+
displayComponent = value;
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
case 'Email': {
|
|
93
|
+
displayComponent = <EmailDisplay value={value} displayText={value} variant='link' />;
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
case 'Phone': {
|
|
97
|
+
displayComponent = <PhoneDisplay value={value} variant='link' />;
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
// no default
|
|
101
|
+
}
|
|
102
|
+
return displayComponent;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Returns a URL display component based on the options
|
|
107
|
+
* @function urlFormatter
|
|
108
|
+
* @param {string} value value
|
|
109
|
+
* @param {object} options options for formatting
|
|
110
|
+
* { displayAs,tableDisplayAs,isTableFormatter,altText,altTextOfImage,propaltTextOfImage,urlLabelSelection, urlLabel,propUrlLabel, widthSel, customWidth}
|
|
111
|
+
*/
|
|
112
|
+
export const urlFormatter = (value, options) => {
|
|
113
|
+
const {
|
|
114
|
+
displayAs,
|
|
115
|
+
tableDisplayAs,
|
|
116
|
+
isTableFormatter,
|
|
117
|
+
altText,
|
|
118
|
+
altTextOfImage,
|
|
119
|
+
propaltTextOfImage,
|
|
120
|
+
urlLabelSelection,
|
|
121
|
+
urlLabel,
|
|
122
|
+
propUrlLabel,
|
|
123
|
+
widthSel,
|
|
124
|
+
customWidth
|
|
125
|
+
} = options;
|
|
126
|
+
|
|
127
|
+
let urlFormatComp = null;
|
|
128
|
+
if (
|
|
129
|
+
(displayAs === 'labelText' || (isTableFormatter && tableDisplayAs === 'link')) &&
|
|
130
|
+
(urlLabel !== '' || propUrlLabel !== '')
|
|
131
|
+
) {
|
|
132
|
+
urlFormatComp = (
|
|
133
|
+
<URLDisplay
|
|
134
|
+
target='_blank'
|
|
135
|
+
value={value}
|
|
136
|
+
displayText={urlLabelSelection === 'constant' ? urlLabel : propUrlLabel}
|
|
137
|
+
variant='link'
|
|
138
|
+
/>
|
|
139
|
+
);
|
|
140
|
+
} else if ((displayAs === 'Image' || tableDisplayAs === 'Image') && !!value) {
|
|
141
|
+
if (isTableFormatter) {
|
|
142
|
+
urlFormatComp = TableImage({
|
|
143
|
+
value,
|
|
144
|
+
altText,
|
|
145
|
+
altTextOfImage,
|
|
146
|
+
propaltTextOfImage,
|
|
147
|
+
urlLabelSelection,
|
|
148
|
+
urlLabel,
|
|
149
|
+
propUrlLabel
|
|
150
|
+
});
|
|
151
|
+
} else {
|
|
152
|
+
const width = widthSel === 'widthpx' ? customWidth : null;
|
|
153
|
+
urlFormatComp = (
|
|
154
|
+
<Image src={value} width={width} alt={altText === 'constant' ? altTextOfImage : propaltTextOfImage} />
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
} else {
|
|
158
|
+
urlFormatComp = <URLDisplay target='_blank' value={value} displayText={value} variant='link' />;
|
|
159
|
+
}
|
|
160
|
+
return urlFormatComp;
|
|
161
|
+
};
|