@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
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/* eslint-disable no-undef */
|
|
1
|
+
|
|
3
2
|
import { createUID } from '@pega/cosmos-react-core';
|
|
4
3
|
|
|
5
4
|
// import { LazyMap as LazyComponentMap } from '../../components_map';
|
|
@@ -214,9 +213,7 @@ export function getInstructions(pConnect, instructions = 'casestep') {
|
|
|
214
213
|
|
|
215
214
|
// If the annotation wasn't processed correctly, don't return any instruction text
|
|
216
215
|
if (instructions?.startsWith('@PARAGRAPH')) {
|
|
217
|
-
/* eslint-disable no-console */
|
|
218
216
|
console.error('@PARAGRAPH annotation was not processed. Hiding custom instructions.');
|
|
219
|
-
/* eslint-enable no-console */
|
|
220
217
|
return undefined;
|
|
221
218
|
}
|
|
222
219
|
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.jsx
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
|
-
/* eslint-disable no-undef */
|
|
3
1
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
4
2
|
import { useEffect, useState } from 'react';
|
|
5
3
|
import PropTypes from 'prop-types';
|
|
@@ -32,7 +30,7 @@ function Avatar(props) {
|
|
|
32
30
|
.then((blob) => window.URL.createObjectURL(blob))
|
|
33
31
|
.then((imagePath) => setImageBlobUrl(imagePath));
|
|
34
32
|
}
|
|
35
|
-
}, []);
|
|
33
|
+
}, [metaObj]);
|
|
36
34
|
|
|
37
35
|
if (showStatus) {
|
|
38
36
|
const currentState = PCore.getMessagingServiceManager().getUserPresence().getUserState(userIdentifier);
|
|
@@ -50,7 +48,7 @@ function Avatar(props) {
|
|
|
50
48
|
return function cleanup() {
|
|
51
49
|
PCore.getMessagingServiceManager().getUserPresence().unsubscribe(userIdentifier, subId);
|
|
52
50
|
};
|
|
53
|
-
}, []);
|
|
51
|
+
}, [userIdentifier, handleUserStateChange]);
|
|
54
52
|
return <CosmosAvatar name={userName} imageSrc={imageBlobUrl} status={userState} />;
|
|
55
53
|
}
|
|
56
54
|
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Operator.jsx
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/* eslint-disable
|
|
2
|
-
/* eslint-disable no-undef */
|
|
1
|
+
/* eslint-disable react/jsx-fragments */
|
|
3
2
|
import { useState, useEffect, Fragment } from 'react';
|
|
4
3
|
import {
|
|
5
4
|
Link,
|
|
@@ -175,7 +174,7 @@ const Operator = (props) => {
|
|
|
175
174
|
data-test-id={testId}
|
|
176
175
|
style={label !== null ? { width: 'max-content', height: theme.components.input.height } : undefined}
|
|
177
176
|
>
|
|
178
|
-
<Avatar metaObj={metaObj}
|
|
177
|
+
<Avatar metaObj={metaObj} />
|
|
179
178
|
</Button>
|
|
180
179
|
) : (
|
|
181
180
|
<Button
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
1
|
/* eslint-disable storybook/prefer-pascal-case */
|
|
3
2
|
/* eslint-disable react/jsx-no-useless-fragment */
|
|
4
3
|
import { withKnobs } from '@storybook/addon-knobs';
|
|
5
4
|
|
|
6
5
|
import PegaDxilMyPageCaseWidget from './index.jsx';
|
|
7
6
|
|
|
8
|
-
import { configProps, operatorDetails } from './mock
|
|
7
|
+
import { configProps, operatorDetails } from './mock';
|
|
9
8
|
|
|
10
9
|
export default {
|
|
11
10
|
title: 'PegaDxilMyPageCaseWidget',
|
|
@@ -35,8 +34,7 @@ window.PCore.getUserApi = () => {
|
|
|
35
34
|
};
|
|
36
35
|
};
|
|
37
36
|
|
|
38
|
-
export const
|
|
39
|
-
|
|
37
|
+
export const BasePegaDxilMyPageCaseWidget = () => {
|
|
40
38
|
const props = {
|
|
41
39
|
label: configProps.label,
|
|
42
40
|
createLabel: configProps.createLabel,
|
|
@@ -51,19 +49,31 @@ export const basePegaDxilMyPageCaseWidget = () => {
|
|
|
51
49
|
return {
|
|
52
50
|
getActionsApi: () => {
|
|
53
51
|
return {
|
|
54
|
-
updateFieldValue: () => {
|
|
55
|
-
|
|
52
|
+
updateFieldValue: () => {
|
|
53
|
+
/* nothing */
|
|
54
|
+
},
|
|
55
|
+
triggerFieldChange: () => {
|
|
56
|
+
/* nothing */
|
|
57
|
+
}
|
|
56
58
|
};
|
|
57
59
|
},
|
|
58
|
-
ignoreSuggestion: () => {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
ignoreSuggestion: () => {
|
|
61
|
+
/* nothing */
|
|
62
|
+
},
|
|
63
|
+
acceptSuggestion: () => {
|
|
64
|
+
/* nothing */
|
|
65
|
+
},
|
|
66
|
+
setInheritedProps: () => {
|
|
67
|
+
/* nothing */
|
|
68
|
+
},
|
|
69
|
+
resolveConfigProps: () => {
|
|
70
|
+
/* nothing */
|
|
71
|
+
}
|
|
62
72
|
};
|
|
63
73
|
}
|
|
64
|
-
};
|
|
74
|
+
};
|
|
65
75
|
|
|
66
|
-
return (
|
|
76
|
+
return (
|
|
67
77
|
<>
|
|
68
78
|
<PegaDxilMyPageCaseWidget {...props} />
|
|
69
79
|
</>
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.jsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
/* eslint-disable no-nested-ternary */
|
|
3
|
+
/* eslint-disable react/jsx-fragments */
|
|
3
4
|
import { Fragment } from 'react';
|
|
4
5
|
import { DateTimeDisplay, Card, CardHeader, CardContent, Flex } from '@pega/cosmos-react-core';
|
|
5
6
|
import PropTypes from 'prop-types';
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.jsx
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
1
|
/* eslint-disable storybook/prefer-pascal-case */
|
|
3
2
|
/* eslint-disable react/jsx-no-useless-fragment */
|
|
4
3
|
import { withKnobs } from '@storybook/addon-knobs';
|
|
5
4
|
|
|
6
5
|
import PegaDxilMyPageWidget from './index.jsx';
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
import configProps from './mock.stories';
|
|
7
|
+
import configProps from './mock';
|
|
10
8
|
|
|
11
9
|
export default {
|
|
12
10
|
title: 'PegaDxilMyPageWidget',
|
|
@@ -14,8 +12,7 @@ export default {
|
|
|
14
12
|
component: PegaDxilMyPageWidget
|
|
15
13
|
};
|
|
16
14
|
|
|
17
|
-
export const
|
|
18
|
-
|
|
15
|
+
export const BasePegaDxilMyPageWidget = () => {
|
|
19
16
|
const props = {
|
|
20
17
|
label: configProps.label,
|
|
21
18
|
header: configProps.header,
|
|
@@ -23,9 +20,9 @@ export const basePegaDxilMyPageWidget = () => {
|
|
|
23
20
|
image: configProps.image,
|
|
24
21
|
datasource: configProps.datasource,
|
|
25
22
|
whatsnewlink: configProps.whatsnewlink
|
|
26
|
-
};
|
|
23
|
+
};
|
|
27
24
|
|
|
28
|
-
return (
|
|
25
|
+
return (
|
|
29
26
|
<>
|
|
30
27
|
<PegaDxilMyPageWidget {...props} />
|
|
31
28
|
</>
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.jsx
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
|
-
/* eslint-disable storybook/prefer-pascal-case */
|
|
3
1
|
/* eslint-disable react/jsx-no-useless-fragment */
|
|
4
2
|
import { withKnobs } from '@storybook/addon-knobs';
|
|
5
3
|
|
|
6
4
|
import PegaDxilMyParagraph from './index.jsx';
|
|
7
|
-
|
|
8
|
-
import { stateProps, configProps, fieldMetadata } from './mock.stories';
|
|
5
|
+
import { stateProps, configProps, fieldMetadata } from './mock';
|
|
9
6
|
|
|
10
7
|
export default {
|
|
11
8
|
title: 'PegaDxilMyParagraph',
|
|
@@ -13,8 +10,7 @@ export default {
|
|
|
13
10
|
component: PegaDxilMyParagraph
|
|
14
11
|
};
|
|
15
12
|
|
|
16
|
-
export const
|
|
17
|
-
|
|
13
|
+
export const BasePegaDxilMyParagraph = () => {
|
|
18
14
|
const props = {
|
|
19
15
|
value: configProps.value,
|
|
20
16
|
placeholder: configProps.placeholder,
|
|
@@ -31,14 +27,26 @@ export const basePegaDxilMyParagraph = () => {
|
|
|
31
27
|
},
|
|
32
28
|
getActionsApi: () => {
|
|
33
29
|
return {
|
|
34
|
-
updateFieldValue: () => {
|
|
35
|
-
|
|
30
|
+
updateFieldValue: () => {
|
|
31
|
+
/* nothing */
|
|
32
|
+
},
|
|
33
|
+
triggerFieldChange: () => {
|
|
34
|
+
/* nothing */
|
|
35
|
+
}
|
|
36
36
|
};
|
|
37
37
|
},
|
|
38
|
-
ignoreSuggestion: () => {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
ignoreSuggestion: () => {
|
|
39
|
+
/* nothing */
|
|
40
|
+
},
|
|
41
|
+
acceptSuggestion: () => {
|
|
42
|
+
/* nothing */
|
|
43
|
+
},
|
|
44
|
+
setInheritedProps: () => {
|
|
45
|
+
/* nothing */
|
|
46
|
+
},
|
|
47
|
+
resolveConfigProps: () => {
|
|
48
|
+
/* nothing */
|
|
49
|
+
}
|
|
42
50
|
};
|
|
43
51
|
}
|
|
44
52
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
1
|
import { useState, useEffect, useRef } from 'react';
|
|
3
2
|
import { TextArea as CosmosTextArea, FieldValueList, ParagraphDisplay, Text, EmailDisplay, PhoneDisplay, URLDisplay } from '@pega/cosmos-react-core';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
@@ -100,7 +99,7 @@ const PegaDxilMyParagraph = props => {
|
|
|
100
99
|
} else if (!hasSuggestions && status !== 'success') {
|
|
101
100
|
setStatus(validatemessage !== '' ? 'error' : undefined);
|
|
102
101
|
}
|
|
103
|
-
}, [validatemessage, hasSuggestions]);
|
|
102
|
+
}, [validatemessage, hasSuggestions, status]);
|
|
104
103
|
|
|
105
104
|
if (displayMode === 'LABELS_LEFT' || displayMode === 'DISPLAY_ONLY') {
|
|
106
105
|
let displayComp = <ParagraphDisplay value={value || undefined} />;
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.jsx
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
1
|
/* eslint-disable storybook/prefer-pascal-case */
|
|
3
2
|
/* eslint-disable react/jsx-no-useless-fragment */
|
|
4
3
|
import { withKnobs } from '@storybook/addon-knobs';
|
|
5
4
|
|
|
6
|
-
import { configProps, stateProps, fieldMetadata } from './mock.
|
|
7
|
-
|
|
5
|
+
import { configProps, stateProps, fieldMetadata } from './mock.js';
|
|
8
6
|
import PegaDxilMyPercentage from './index.jsx';
|
|
9
7
|
|
|
10
8
|
export default {
|
|
@@ -13,8 +11,7 @@ export default {
|
|
|
13
11
|
component: PegaDxilMyPercentage
|
|
14
12
|
};
|
|
15
13
|
|
|
16
|
-
export const
|
|
17
|
-
|
|
14
|
+
export const BasePegaDxilMyPercentage = () => {
|
|
18
15
|
const props = {
|
|
19
16
|
value: configProps.value,
|
|
20
17
|
placeholder: configProps.placeholder,
|
|
@@ -32,14 +29,26 @@ export const basePegaDxilMyPercentage = () => {
|
|
|
32
29
|
},
|
|
33
30
|
getActionsApi: () => {
|
|
34
31
|
return {
|
|
35
|
-
updateFieldValue: () => {
|
|
36
|
-
|
|
32
|
+
updateFieldValue: () => {
|
|
33
|
+
/* nothing */
|
|
34
|
+
},
|
|
35
|
+
triggerFieldChange: () => {
|
|
36
|
+
/* nothing */
|
|
37
|
+
}
|
|
37
38
|
};
|
|
38
39
|
},
|
|
39
|
-
ignoreSuggestion: () => {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
ignoreSuggestion: () => {
|
|
41
|
+
/* nothing */
|
|
42
|
+
},
|
|
43
|
+
acceptSuggestion: () => {
|
|
44
|
+
/* nothing */
|
|
45
|
+
},
|
|
46
|
+
setInheritedProps: () => {
|
|
47
|
+
/* nothing */
|
|
48
|
+
},
|
|
49
|
+
resolveConfigProps: () => {
|
|
50
|
+
/* nothing */
|
|
51
|
+
}
|
|
43
52
|
};
|
|
44
53
|
}
|
|
45
54
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
1
|
import { useState, useEffect, useRef } from 'react';
|
|
3
2
|
import {
|
|
4
3
|
NumberInput,
|
|
@@ -62,7 +61,7 @@ const PegaDxilMyPercentage = props => {
|
|
|
62
61
|
} else if (!hasSuggestions && status !== 'success') {
|
|
63
62
|
setStatus(validatemessage !== '' ? 'error' : undefined);
|
|
64
63
|
}
|
|
65
|
-
}, [validatemessage, hasSuggestions]);
|
|
64
|
+
}, [validatemessage, hasSuggestions, status]);
|
|
66
65
|
|
|
67
66
|
let numberOfDecimals = parseInt(decimalPrecision, 10);
|
|
68
67
|
if (Number.isNaN(numberOfDecimals)) {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
1
|
/* eslint-disable storybook/prefer-pascal-case */
|
|
3
2
|
/* eslint-disable react/jsx-no-useless-fragment */
|
|
4
3
|
import { withKnobs } from '@storybook/addon-knobs';
|
|
5
4
|
|
|
6
5
|
import PegaDxilMyPhone from './index.jsx';
|
|
7
|
-
import { stateProps, configProps } from './mock
|
|
6
|
+
import { stateProps, configProps } from './mock';
|
|
8
7
|
|
|
9
8
|
export default {
|
|
10
9
|
title: 'PegaDxilMyPhone',
|
|
@@ -12,8 +11,7 @@ export default {
|
|
|
12
11
|
component: PegaDxilMyPhone
|
|
13
12
|
};
|
|
14
13
|
|
|
15
|
-
export const
|
|
16
|
-
|
|
14
|
+
export const BasePegaDxilMyPhone = () => {
|
|
17
15
|
const props = {
|
|
18
16
|
value: configProps.value,
|
|
19
17
|
placeholder: configProps.placeholder,
|
|
@@ -29,14 +27,26 @@ export const basePegaDxilMyPhone = () => {
|
|
|
29
27
|
},
|
|
30
28
|
getActionsApi: () => {
|
|
31
29
|
return {
|
|
32
|
-
updateFieldValue: () => {
|
|
33
|
-
|
|
30
|
+
updateFieldValue: () => {
|
|
31
|
+
/* nothing */
|
|
32
|
+
},
|
|
33
|
+
triggerFieldChange: () => {
|
|
34
|
+
/* nothing */
|
|
35
|
+
}
|
|
34
36
|
};
|
|
35
37
|
},
|
|
36
|
-
ignoreSuggestion: () => {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
ignoreSuggestion: () => {
|
|
39
|
+
/* nothing */
|
|
40
|
+
},
|
|
41
|
+
acceptSuggestion: () => {
|
|
42
|
+
/* nothing */
|
|
43
|
+
},
|
|
44
|
+
setInheritedProps: () => {
|
|
45
|
+
/* nothing */
|
|
46
|
+
},
|
|
47
|
+
resolveConfigProps: () => {
|
|
48
|
+
/* nothing */
|
|
49
|
+
}
|
|
40
50
|
};
|
|
41
51
|
}
|
|
42
52
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
1
|
import { useState, useEffect, useRef } from 'react';
|
|
3
2
|
import {
|
|
4
3
|
PhoneInput as CosmosPhone,
|
|
@@ -116,7 +115,7 @@ const PegaDxilMyPhone = props => {
|
|
|
116
115
|
} else if (!hasSuggestions && status !== 'success') {
|
|
117
116
|
setStatus(validatemessage !== '' ? 'error' : undefined);
|
|
118
117
|
}
|
|
119
|
-
}, [validatemessage, hasSuggestions]);
|
|
118
|
+
}, [validatemessage, hasSuggestions, status]);
|
|
120
119
|
|
|
121
120
|
// funtion to exclude country code from phone number
|
|
122
121
|
function getPhoneNumberAlone(phoneNumber) {
|
package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.jsx
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
/* eslint-disable import/no-relative-packages */
|
|
2
|
-
/* eslint-disable storybook/prefer-pascal-case */
|
|
3
1
|
/* eslint-disable react/jsx-no-useless-fragment */
|
|
4
2
|
import { useState } from 'react';
|
|
5
3
|
import { withKnobs } from '@storybook/addon-knobs';
|
|
6
4
|
|
|
7
|
-
import { configProps, rawMetadata, fieldMetadata, stateProps } from './mock.
|
|
8
|
-
|
|
5
|
+
import { configProps, rawMetadata, fieldMetadata, stateProps } from './mock.js';
|
|
9
6
|
import PegaDxilMyPicklist from './index.jsx';
|
|
10
7
|
|
|
11
8
|
export default {
|
|
@@ -14,8 +11,7 @@ export default {
|
|
|
14
11
|
component: PegaDxilMyPicklist
|
|
15
12
|
};
|
|
16
13
|
|
|
17
|
-
export const
|
|
18
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
14
|
+
export const BasePegaDxilMyPicklist = () => {
|
|
19
15
|
const [value, setValue] = useState(configProps.value);
|
|
20
16
|
|
|
21
17
|
const props = {
|
|
@@ -57,18 +53,30 @@ export const basePegaDxilMyPicklist = () => {
|
|
|
57
53
|
updateFieldValue: (propName, theValue) => {
|
|
58
54
|
setValue(theValue);
|
|
59
55
|
},
|
|
60
|
-
triggerFieldChange: () => {
|
|
56
|
+
triggerFieldChange: () => {
|
|
57
|
+
/* nothing */
|
|
58
|
+
}
|
|
61
59
|
};
|
|
62
60
|
},
|
|
63
61
|
getValidationApi: () => {
|
|
64
62
|
return {
|
|
65
|
-
validate: () => {
|
|
63
|
+
validate: () => {
|
|
64
|
+
/* nothing */
|
|
65
|
+
}
|
|
66
66
|
};
|
|
67
67
|
},
|
|
68
|
-
ignoreSuggestion: () => {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
ignoreSuggestion: () => {
|
|
69
|
+
/* nothing */
|
|
70
|
+
},
|
|
71
|
+
acceptSuggestion: () => {
|
|
72
|
+
/* nothing */
|
|
73
|
+
},
|
|
74
|
+
setInheritedProps: () => {
|
|
75
|
+
/* nothing */
|
|
76
|
+
},
|
|
77
|
+
resolveConfigProps: () => {
|
|
78
|
+
/* nothing */
|
|
79
|
+
}
|
|
72
80
|
};
|
|
73
81
|
}
|
|
74
82
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* eslint-disable
|
|
1
|
+
/* eslint-disable react-hooks/exhaustive-deps */
|
|
2
2
|
import { useState, useEffect, useRef } from 'react';
|
|
3
3
|
import { Select, Option, FieldValueList, Text } from '@pega/cosmos-react-core';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -151,7 +151,7 @@ const PegaDxilMyPicklist = props => {
|
|
|
151
151
|
} else if (!hasSuggestions && status !== 'success') {
|
|
152
152
|
setStatus(validatemessage !== '' ? 'error' : undefined);
|
|
153
153
|
}
|
|
154
|
-
}, [validatemessage, hasSuggestions]);
|
|
154
|
+
}, [validatemessage, hasSuggestions, status]);
|
|
155
155
|
|
|
156
156
|
pushPlaceholderOption(placeholder, listSourceItems, items, pConnect);
|
|
157
157
|
|
|
@@ -206,7 +206,7 @@ const PegaDxilMyPicklist = props => {
|
|
|
206
206
|
if (!isDisplayModeEnabled && ((!placeholder && !value) || (!isMount && value && !selectedLabel))) {
|
|
207
207
|
setDefaultValue(items, pConnect, propName);
|
|
208
208
|
}
|
|
209
|
-
}, [firstOptionKey, firstOptionValue, placeholder, selectedLabel, value, propName]);
|
|
209
|
+
}, [firstOptionKey, firstOptionValue, placeholder, selectedLabel, value, propName, isDisplayModeEnabled, isMount, pConnect]);
|
|
210
210
|
|
|
211
211
|
if (displayMode === 'LABELS_LEFT' || displayMode === 'DISPLAY_ONLY') {
|
|
212
212
|
let displayComp = selectedLabel;
|
|
@@ -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
|
+
};
|