@pega/custom-dx-components 8.8.20 → 23.1.11
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/.prettierrc.json +1 -7
- package/README.md +2 -2
- package/package.json +37 -37
- package/src/constants.js +14 -3
- package/src/tasks/authenticate/helper.js +44 -32
- package/src/tasks/authenticate/index.js +58 -16
- package/src/tasks/build-all/helper.js +14 -10
- package/src/tasks/build-all/index.js +4 -2
- package/src/tasks/build-comp/helper.js +126 -0
- package/src/tasks/build-comp/index.js +76 -0
- package/src/tasks/bundle/builder/index.js +3 -3
- package/src/tasks/bundle/builder/webpack.config.js +12 -0
- 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.ts.mustache +25 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/demo.stories.tsx.mustache +64 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/index.tsx.mustache +200 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/mock.ts.mustache +22 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Field/Date/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Date/config.json.mustache +5 -1
- package/src/tasks/create/templates/Constellation/Field/Date/demo.stories.tsx.mustache +79 -0
- package/src/tasks/create/templates/Constellation/Field/Date/index.tsx.mustache +303 -0
- package/src/tasks/create/templates/Constellation/Field/Date/mock.ts.mustache +24 -0
- package/src/tasks/create/templates/Constellation/Field/Date/styles.ts.mustache +15 -0
- 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-utils.js.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/DateTime/date.js.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/DateTime/demo.stories.tsx.mustache +79 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/index.tsx.mustache +298 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/mock.ts.mustache +25 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/styles.ts.mustache +15 -0
- 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.tsx.mustache +52 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/index.tsx.mustache +303 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/mock.ts.mustache +23 -0
- 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.tsx.mustache +56 -0
- 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.tsx.mustache +336 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.ts.mustache +25 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/styles.ts.mustache +15 -0
- 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.tsx.mustache +52 -0
- 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.tsx.mustache +312 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/mock.ts.mustache +23 -0
- 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.tsx.mustache +51 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/index.tsx.mustache +379 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/mock.ts.mustache +22 -0
- 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.tsx.mustache +81 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/event-utils.ts.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/index.tsx.mustache +393 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/mock.ts.mustache +68 -0
- 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 +162 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/demo.stories.tsx.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 +1239 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/mock.ts.mustache +68 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/picklist-utils.js.mustache +87 -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 +664 -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.tsx.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/mock.ts.mustache +69 -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.tsx.mustache +54 -0
- package/src/tasks/create/templates/Constellation/Field/Text/index.tsx.mustache +73 -0
- package/src/tasks/create/templates/Constellation/Field/Text/mock.ts.mustache +15 -0
- 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.tsx.mustache +51 -0
- 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.tsx.mustache +251 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/mock.ts.mustache +24 -0
- 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 +32 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/demo.stories.tsx.mustache +51 -0
- 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.tsx.mustache +264 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/mock.ts.mustache +23 -0
- 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.tsx.mustache +51 -0
- 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.tsx.mustache +248 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/mock.ts.mustache +22 -0
- 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.tsx.mustache +49 -0
- 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.tsx.mustache +288 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/mock.ts.mustache +39 -0
- 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.tsx.mustache +49 -0
- 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.tsx.mustache +261 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/mock.ts.mustache +24 -0
- 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/TimeofDay/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/TimeofDay/demo.stories.tsx.mustache +60 -0
- package/src/tasks/create/templates/Constellation/Field/TimeofDay/index.tsx.mustache +245 -0
- package/src/tasks/create/templates/Constellation/Field/TimeofDay/mock.ts.mustache +22 -0
- 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/time-of-day.js.mustache +287 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/StatusWork.tsx.mustache +28 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.tsx.mustache +138 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/index.tsx.mustache +104 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/mock.ts.mustache +192 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/utils.js.mustache +3 -4
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/StatusWork.tsx.mustache +28 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.tsx.mustache +142 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/index.tsx.mustache +103 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/mock.ts.mustache +232 -0
- 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 +2 -6
- package/src/tasks/create/templates/Constellation/Template/FORM/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/demo.stories.tsx.mustache +179 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/index.tsx.mustache +56 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/mock.ts.mustache +139 -0
- 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.tsx.mustache +185 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/index.tsx.mustache +63 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/mock.ts.mustache +145 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/GetNextWork.tsx.mustache +44 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/demo.stories.tsx.mustache +106 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/index.tsx.mustache +83 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/mock.ts.mustache +96 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/utils.js.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Widget/CASE/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/config.json.mustache +1 -1
- package/src/tasks/create/templates/Constellation/Widget/CASE/demo.stories.tsx.mustache +81 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/index.tsx.mustache +86 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/mock.ts.mustache +391 -0
- 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.tsx.mustache +33 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/index.tsx.mustache +61 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/mock.ts.mustache +25 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/Avatar.tsx.mustache +88 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/Operator.tsx.mustache +233 -0
- 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.tsx.mustache +70 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/index.tsx.mustache +131 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/mock.ts.mustache +53 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/config.json.mustache +1 -1
- package/src/tasks/create/templates/Launchpad/Widget/CASE/demo.stories.tsx.mustache +81 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/index.tsx.mustache +84 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/mock.ts.mustache +391 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/styles.ts.mustache +15 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Avatar.tsx.mustache +88 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Operator.tsx.mustache +231 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/demo.stories.tsx.mustache +76 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/index.tsx.mustache +89 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/mock.ts.mustache +52 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/styles.ts.mustache +15 -0
- package/src/tasks/create-all/index.js +114 -99
- package/src/tasks/delete/helper.js +32 -24
- package/src/tasks/delete-all/helper.js +15 -12
- 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 +58 -9
- 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/babel.config.cjs +4 -4
- package/src/tasks/init/template/jest.config.cjs +21 -0
- package/src/tasks/init/template/package.json.mustache +45 -34
- package/src/tasks/init/template/tsconfig.json +2 -1
- package/src/tasks/list/helper.js +14 -19
- 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 +10 -4
- package/src/tasks/revert-webpack/index.js +5 -7
- package/src/tasks/upgrade/index.js +1 -1
- package/src/util.js +69 -45
- package/tests/assets/components/create/Pega_DXIL_MyTestText/PConnProps.d.ts +46 -0
- package/tests/assets/components/create/Pega_DXIL_MyTestText/demo.stories.tsx +54 -0
- package/tests/assets/components/create/Pega_DXIL_MyTestText/index.tsx +73 -0
- package/tests/assets/components/create/Pega_DXIL_MyTestText/mock.ts +15 -0
- package/tests/assets/components/create/Pega_DXIL_MyTestText/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/boolean-format.ts +25 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx +64 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +200 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.ts +22 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +81 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +83 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/mock.ts +391 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx +56 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +333 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.ts +25 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +5 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx +79 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +303 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/mock.ts +24 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-utils.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +79 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +298 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/mock.ts +25 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/suggestions-handler.ts +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx +52 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +300 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/mock.ts +23 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/StatusWork.tsx +28 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +138 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +101 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/mock.ts +192 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/utils.js +3 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.tsx +51 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +251 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/mock.ts +24 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.tsx +176 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +53 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/mock.ts +139 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx +51 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +376 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts +22 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/GetNextWork.tsx +44 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +106 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +83 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/mock.ts +96 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/utils.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +88 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Operator.tsx +230 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +70 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.tsx +129 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/mock.ts +53 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +33 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +61 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/mock.ts +25 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx +51 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +248 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.ts +22 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx +52 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +306 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.ts +23 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.tsx +49 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +288 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/mock.ts +39 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.tsx +81 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +393 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.ts +68 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/config.json +113 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/demo.stories.tsx +85 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/index.tsx +243 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.ts +69 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/textformat-utils.jsx +161 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/component-constants.js +5 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +115 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/date.js +162 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.stories.tsx +90 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/embed-utils.js +310 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/format-constants.js +41 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +1236 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/mock.ts +68 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/picklist-utils.js +87 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-constants.js +20 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-utils.js +664 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/textformat-utils.jsx +161 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/utils.ts +218 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.tsx +54 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +73 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/mock.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/StatusWork.tsx +32 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx +51 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +264 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/mock.ts +23 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +60 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +245 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.ts +22 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/time-of-day.js +0 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +28 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +142 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +100 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.ts +232 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/utils.js +2 -6
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +182 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +60 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/mock.ts +145 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.tsx +49 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +261 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/mock.ts +24 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/styles.ts +15 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/boolean-format.ts +25 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.tsx +64 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.tsx +200 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/mock.ts +22 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/config.json +1 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.tsx +81 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.tsx +81 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/mock.ts +391 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.tsx +56 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.tsx +333 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.ts +25 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/config.json +5 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.tsx +79 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/index.tsx +303 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.ts +24 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-utils.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx +79 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.tsx +298 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/mock.ts +25 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.ts +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.tsx +52 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.tsx +300 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.ts +23 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/StatusWork.tsx +28 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx +138 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.tsx +101 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/mock.ts +192 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/utils.js +3 -4
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.tsx +51 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.tsx +251 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.ts +24 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/demo.stories.tsx +176 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/index.tsx +53 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/mock.ts +139 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.tsx +51 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.tsx +376 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/mock.ts +22 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/GetNextWork.tsx +44 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.tsx +106 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/index.tsx +83 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/mock.ts +96 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/utils.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +88 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Operator.tsx +228 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +76 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.tsx +87 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/mock.ts +52 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.tsx +33 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.tsx +61 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/mock.ts +25 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.tsx +51 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.tsx +248 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/mock.ts +22 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.tsx +52 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.tsx +306 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/mock.ts +23 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.tsx +49 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.tsx +288 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/mock.ts +39 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.tsx +81 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.tsx +393 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.ts +68 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/config.json +113 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.tsx +85 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/index.tsx +243 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.ts +69 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/textformat-utils.jsx +161 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/component-constants.js +5 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/config.json +115 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/date.js +162 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/demo.stories.tsx +90 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/embed-utils.js +310 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/format-constants.js +41 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/index.tsx +1236 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/mock.ts +68 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/picklist-utils.js +87 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/repeat-constants.js +20 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/repeat-utils.js +664 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/textformat-utils.jsx +161 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/utils.ts +218 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.tsx +54 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/index.tsx +73 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/mock.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/StatusWork.tsx +32 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.tsx +51 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.tsx +264 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/mock.ts +23 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +60 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.tsx +245 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/mock.ts +22 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/time-of-day.js +0 -1
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +28 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +142 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.tsx +100 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/mock.ts +232 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/utils.js +2 -6
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +182 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx +60 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/mock.ts +145 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.tsx +49 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/index.tsx +261 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.ts +24 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/styles.ts +15 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.ts +9 -0
- package/tests/functional/localCreateAllListDeleteAll.test.js +2 -2
- package/tests/functional/localCreateBuildAllDeleteAll.test.js +16 -7
- package/tests/functional/localCreateBuildDelete.test.js +3 -3
- package/tests/functional/localCreateListDelete.test.js +2 -2
- package/tests/functional/localCreatePublishAllDeleteAll.test.js +16 -7
- package/tests/functional/localCreatePublishDelete.test.js +4 -3
- package/tests/functional/localCreateRenameDelete.test.js +2 -2
- package/src/auth.js +0 -637
- package/src/tasks/build/helper.js +0 -116
- package/src/tasks/build/index.js +0 -76
- package/src/tasks/create/templates/Constellation/Field/Boolean/boolean-format.js.mustache +0 -26
- package/src/tasks/create/templates/Constellation/Field/Boolean/demo.stories.jsx.mustache +0 -61
- package/src/tasks/create/templates/Constellation/Field/Boolean/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Boolean/index.jsx.mustache +0 -170
- package/src/tasks/create/templates/Constellation/Field/Boolean/mock.stories.js.mustache +0 -21
- package/src/tasks/create/templates/Constellation/Field/Boolean/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Date/demo.stories.jsx.mustache +0 -73
- package/src/tasks/create/templates/Constellation/Field/Date/index.jsx.mustache +0 -256
- package/src/tasks/create/templates/Constellation/Field/Date/mock.stories.js.mustache +0 -23
- package/src/tasks/create/templates/Constellation/Field/Date/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Date/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/DateTime/demo.stories.jsx.mustache +0 -73
- package/src/tasks/create/templates/Constellation/Field/DateTime/index.jsx.mustache +0 -254
- package/src/tasks/create/templates/Constellation/Field/DateTime/mock.stories.js.mustache +0 -23
- package/src/tasks/create/templates/Constellation/Field/DateTime/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/DateTime/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Decimal/demo.stories.jsx.mustache +0 -49
- package/src/tasks/create/templates/Constellation/Field/Decimal/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Decimal/index.jsx.mustache +0 -273
- package/src/tasks/create/templates/Constellation/Field/Decimal/mock.stories.js.mustache +0 -21
- package/src/tasks/create/templates/Constellation/Field/Decimal/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Decimal/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/demo.stories.jsx.mustache +0 -53
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/index.jsx.mustache +0 -299
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.stories.js.mustache +0 -23
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/demo.stories.jsx.mustache +0 -49
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/index.jsx.mustache +0 -281
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/mock.stories.js.mustache +0 -21
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Integer/demo.stories.jsx.mustache +0 -49
- package/src/tasks/create/templates/Constellation/Field/Integer/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Integer/index.jsx.mustache +0 -336
- package/src/tasks/create/templates/Constellation/Field/Integer/mock.stories.js.mustache +0 -21
- package/src/tasks/create/templates/Constellation/Field/Integer/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Integer/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Picklist/demo.stories.jsx.mustache +0 -78
- package/src/tasks/create/templates/Constellation/Field/Picklist/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Picklist/index.jsx.mustache +0 -351
- package/src/tasks/create/templates/Constellation/Field/Picklist/mock.stories.js.mustache +0 -67
- package/src/tasks/create/templates/Constellation/Field/Picklist/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Picklist/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text/demo.stories.jsx.mustache +0 -51
- package/src/tasks/create/templates/Constellation/Field/Text/index.jsx.mustache +0 -60
- package/src/tasks/create/templates/Constellation/Field/Text/mock.stories.js.mustache +0 -13
- package/src/tasks/create/templates/Constellation/Field/Text/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Text-Email/demo.stories.jsx.mustache +0 -48
- package/src/tasks/create/templates/Constellation/Field/Text-Email/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-Email/index.jsx.mustache +0 -231
- package/src/tasks/create/templates/Constellation/Field/Text-Email/mock.stories.js.mustache +0 -22
- package/src/tasks/create/templates/Constellation/Field/Text-Email/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Text-Email/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text-Input/StatusWork.jsx +0 -26
- package/src/tasks/create/templates/Constellation/Field/Text-Input/demo.stories.jsx.mustache +0 -48
- package/src/tasks/create/templates/Constellation/Field/Text-Input/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-Input/index.jsx.mustache +0 -239
- package/src/tasks/create/templates/Constellation/Field/Text-Input/mock.stories.js.mustache +0 -21
- package/src/tasks/create/templates/Constellation/Field/Text-Input/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Text-Input/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/demo.stories.jsx.mustache +0 -48
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/index.jsx.mustache +0 -231
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/mock.stories.js.mustache +0 -20
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/demo.stories.jsx.mustache +0 -46
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/index.jsx.mustache +0 -266
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/mock.stories.js.mustache +0 -37
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/Text-URL/demo.stories.jsx.mustache +0 -46
- package/src/tasks/create/templates/Constellation/Field/Text-URL/event-utils.js.mustache +0 -18
- package/src/tasks/create/templates/Constellation/Field/Text-URL/index.jsx.mustache +0 -232
- package/src/tasks/create/templates/Constellation/Field/Text-URL/mock.stories.js.mustache +0 -22
- package/src/tasks/create/templates/Constellation/Field/Text-URL/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/Text-URL/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/demo.stories.jsx.mustache +0 -57
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/index.jsx.mustache +0 -213
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/mock.stories.js.mustache +0 -20
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/suggestions-handler.js +0 -10
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/time-of-day.js.mustache +0 -288
- package/src/tasks/create/templates/Constellation/Template/DETAILS/StatusWork.jsx.mustache +0 -26
- package/src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.jsx.mustache +0 -132
- package/src/tasks/create/templates/Constellation/Template/DETAILS/index.jsx.mustache +0 -86
- package/src/tasks/create/templates/Constellation/Template/DETAILS/mock.stories.js.mustache +0 -189
- package/src/tasks/create/templates/Constellation/Template/DETAILS/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/StatusWork.jsx.mustache +0 -26
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.jsx.mustache +0 -136
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/index.jsx.mustache +0 -86
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/mock.stories.js.mustache +0 -230
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Template/FORM/demo.stories.jsx.mustache +0 -169
- package/src/tasks/create/templates/Constellation/Template/FORM/index.jsx.mustache +0 -45
- package/src/tasks/create/templates/Constellation/Template/FORM/mock.stories.js.mustache +0 -137
- package/src/tasks/create/templates/Constellation/Template/FORM/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Template/FORM-region/demo.stories.jsx.mustache +0 -178
- package/src/tasks/create/templates/Constellation/Template/FORM-region/index.jsx.mustache +0 -48
- package/src/tasks/create/templates/Constellation/Template/FORM-region/mock.stories.js.mustache +0 -143
- package/src/tasks/create/templates/Constellation/Template/FORM-region/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Template/PAGE/GetNextWork.jsx.mustache +0 -35
- package/src/tasks/create/templates/Constellation/Template/PAGE/demo.stories.jsx.mustache +0 -102
- package/src/tasks/create/templates/Constellation/Template/PAGE/index.jsx.mustache +0 -70
- package/src/tasks/create/templates/Constellation/Template/PAGE/mock.stories.js.mustache +0 -94
- package/src/tasks/create/templates/Constellation/Template/PAGE/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Widget/CASE/demo.stories.jsx.mustache +0 -78
- package/src/tasks/create/templates/Constellation/Widget/CASE/index.jsx.mustache +0 -76
- package/src/tasks/create/templates/Constellation/Widget/CASE/mock.stories.js.mustache +0 -390
- package/src/tasks/create/templates/Constellation/Widget/CASE/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Widget/PAGE/demo.stories.jsx.mustache +0 -30
- package/src/tasks/create/templates/Constellation/Widget/PAGE/index.jsx.mustache +0 -48
- package/src/tasks/create/templates/Constellation/Widget/PAGE/mock.stories.js.mustache +0 -23
- package/src/tasks/create/templates/Constellation/Widget/PAGE/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/Avatar.jsx.mustache +0 -75
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/Operator.jsx.mustache +0 -240
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/demo.stories.jsx.mustache +0 -68
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/index.jsx.mustache +0 -110
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/mock.stories.js.mustache +0 -51
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Launchpad/Widget/CASE/demo.stories.jsx.mustache +0 -78
- package/src/tasks/create/templates/Launchpad/Widget/CASE/index.jsx.mustache +0 -76
- package/src/tasks/create/templates/Launchpad/Widget/CASE/mock.stories.js.mustache +0 -390
- package/src/tasks/create/templates/Launchpad/Widget/CASE/styles.js.mustache +0 -14
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Avatar.jsx.mustache +0 -75
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Operator.jsx.mustache +0 -282
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/demo.stories.jsx.mustache +0 -74
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/index.jsx.mustache +0 -82
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/mock.stories.js.mustache +0 -51
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/styles.js.mustache +0 -14
- 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/tests/assets/components/create/Pega_DXIL_MyTestText/demo.stories.jsx +0 -51
- package/tests/assets/components/create/Pega_DXIL_MyTestText/index.jsx +0 -60
- package/tests/assets/components/create/Pega_DXIL_MyTestText/mock.stories.js +0 -13
- package/tests/assets/components/create/Pega_DXIL_MyTestText/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/boolean-format.js +0 -26
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.jsx +0 -61
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.jsx +0 -170
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.jsx +0 -78
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.jsx +0 -73
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/mock.stories.js +0 -390
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.jsx +0 -53
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.jsx +0 -296
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.stories.js +0 -23
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.jsx +0 -73
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/index.jsx +0 -256
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/mock.stories.js +0 -23
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.jsx +0 -73
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.jsx +0 -254
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/mock.stories.js +0 -23
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.jsx +0 -49
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.jsx +0 -270
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/StatusWork.jsx +0 -26
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.jsx +0 -132
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/index.jsx +0 -83
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/mock.stories.js +0 -189
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.jsx +0 -48
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/index.jsx +0 -231
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/mock.stories.js +0 -22
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.jsx +0 -166
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/index.jsx +0 -42
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/mock.stories.js +0 -137
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.jsx +0 -49
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/index.jsx +0 -333
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/GetNextWork.jsx +0 -35
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.jsx +0 -102
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/index.jsx +0 -70
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/mock.stories.js +0 -94
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.jsx +0 -75
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Operator.jsx +0 -237
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx +0 -68
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.jsx +0 -108
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/mock.stories.js +0 -51
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.jsx +0 -30
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.jsx +0 -48
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/mock.stories.js +0 -23
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.jsx +0 -48
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.jsx +0 -231
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.stories.js +0 -20
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.jsx +0 -49
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.jsx +0 -275
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.jsx +0 -46
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/index.jsx +0 -266
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/mock.stories.js +0 -37
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.jsx +0 -78
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.jsx +0 -351
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.stories.js +0 -67
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.jsx +0 -51
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/index.jsx +0 -60
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/mock.stories.js +0 -13
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/StatusWork.jsx +0 -26
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.jsx +0 -48
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.jsx +0 -239
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.jsx +0 -57
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.jsx +0 -213
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.stories.js +0 -20
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/StatusWork.jsx +0 -26
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx +0 -136
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.jsx +0 -83
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.stories.js +0 -230
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.jsx +0 -175
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.jsx +0 -45
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/mock.stories.js +0 -143
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.jsx +0 -46
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/index.jsx +0 -232
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/mock.stories.js +0 -22
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/styles.js +0 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/boolean-format.js +0 -26
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.jsx +0 -61
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.jsx +0 -170
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.jsx +0 -78
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.jsx +0 -73
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/mock.stories.js +0 -390
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.jsx +0 -53
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.jsx +0 -296
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.stories.js +0 -23
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.jsx +0 -73
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/index.jsx +0 -256
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.stories.js +0 -23
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.jsx +0 -73
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.jsx +0 -254
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/mock.stories.js +0 -23
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.jsx +0 -49
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.jsx +0 -270
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/StatusWork.jsx +0 -26
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.jsx +0 -132
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.jsx +0 -83
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/mock.stories.js +0 -189
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.jsx +0 -48
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.jsx +0 -231
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.stories.js +0 -22
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/demo.stories.jsx +0 -166
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/index.jsx +0 -42
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/mock.stories.js +0 -137
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.jsx +0 -49
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.jsx +0 -333
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/GetNextWork.jsx +0 -35
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.jsx +0 -102
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/index.jsx +0 -70
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/mock.stories.js +0 -94
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Avatar.jsx +0 -75
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Operator.jsx +0 -279
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx +0 -74
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.jsx +0 -80
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/mock.stories.js +0 -51
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.jsx +0 -30
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.jsx +0 -48
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/mock.stories.js +0 -23
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.jsx +0 -48
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.jsx +0 -231
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/mock.stories.js +0 -20
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.jsx +0 -49
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.jsx +0 -275
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.jsx +0 -46
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.jsx +0 -266
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/mock.stories.js +0 -37
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.jsx +0 -78
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.jsx +0 -351
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.stories.js +0 -67
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.jsx +0 -51
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/index.jsx +0 -60
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/mock.stories.js +0 -13
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/StatusWork.jsx +0 -26
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.jsx +0 -48
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.jsx +0 -239
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/mock.stories.js +0 -21
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.jsx +0 -57
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.jsx +0 -213
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/mock.stories.js +0 -20
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +0 -10
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/StatusWork.jsx +0 -26
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx +0 -136
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.jsx +0 -83
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/mock.stories.js +0 -230
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/demo.stories.jsx +0 -175
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.jsx +0 -45
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/mock.stories.js +0 -143
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.jsx +0 -46
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/index.jsx +0 -232
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.stories.js +0 -22
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/styles.js +0 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.js +0 -10
- /package/src/tasks/create/templates/Constellation/Field/{TimeOfDay → TimeofDay}/config.json.mustache +0 -0
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
import { useState, useEffect, useRef } from 'react';
|
|
2
|
-
import { Select, Option, FieldValueList, Text } from '@pega/cosmos-react-core';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
|
|
5
|
-
// includes in bundle
|
|
6
|
-
import handleEvent from "./event-utils";
|
|
7
|
-
import { suggestionsHandler } from './suggestions-handler';
|
|
8
|
-
|
|
9
|
-
import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
|
|
10
|
-
import {EmailDisplay, PhoneDisplay, URLDisplay } from "@pega/cosmos-react-core";
|
|
11
|
-
|
|
12
|
-
export const formatExists = (formatterVal) => {
|
|
13
|
-
const formatterValues = [
|
|
14
|
-
"TextInput",
|
|
15
|
-
"WorkStatus",
|
|
16
|
-
"RichText",
|
|
17
|
-
"Email",
|
|
18
|
-
"Phone",
|
|
19
|
-
"URL",
|
|
20
|
-
"Operator"
|
|
21
|
-
];
|
|
22
|
-
let isformatter = false;
|
|
23
|
-
if (formatterValues.includes(formatterVal)) {
|
|
24
|
-
isformatter = true;
|
|
25
|
-
}
|
|
26
|
-
return isformatter;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export const textFormatter = (formatter,value) => {
|
|
31
|
-
let displayComponent = null;
|
|
32
|
-
switch(formatter){
|
|
33
|
-
case "TextInput" : {
|
|
34
|
-
displayComponent = value;
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
case "Email" : {
|
|
38
|
-
displayComponent = (<EmailDisplay value={value} displayText={value} variant="link" />);
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
case "Phone" : {
|
|
42
|
-
displayComponent = (<PhoneDisplay value={value} variant="link" />);
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
case "URL" : {
|
|
46
|
-
displayComponent = (<URLDisplay target="_blank" value={value} displayText={value} variant="link" />);
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
// no default
|
|
50
|
-
}
|
|
51
|
-
return displayComponent;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
export const setDefaultValue = (dropdownOptions, pConnect, propName) => {
|
|
56
|
-
// calculate the default option and set it to dropdown
|
|
57
|
-
const option = (dropdownOptions && dropdownOptions[0]) || {};
|
|
58
|
-
const defaultValue = option.key ? option.props.value : '';
|
|
59
|
-
pConnect.setValue(propName, defaultValue, defaultValue);
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
const pushPlaceholderOption = (placeholder, listSourceItems, items, pConnect) => {
|
|
63
|
-
// If we have a placeholder, push that option in the list of items
|
|
64
|
-
if (placeholder) {
|
|
65
|
-
items.push(
|
|
66
|
-
<Option key={placeholder} value=''>
|
|
67
|
-
{pConnect.getLocalizedValue(placeholder)}
|
|
68
|
-
</Option>
|
|
69
|
-
);
|
|
70
|
-
} else if (!listSourceItems) {
|
|
71
|
-
// If we don't have a placeholder and our list source is empty, push a blank row option in the list of items
|
|
72
|
-
items.push(<Option key='' value='' />);
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
// Duplicated runtime code from Constellation Design System Component
|
|
78
|
-
|
|
79
|
-
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
80
|
-
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
81
|
-
const {{COMPONENT_CLASS_NAME}} = props => {
|
|
82
|
-
const {
|
|
83
|
-
getPConnect,
|
|
84
|
-
value,
|
|
85
|
-
label,
|
|
86
|
-
hideLabel,
|
|
87
|
-
placeholder,
|
|
88
|
-
datasource,
|
|
89
|
-
listType,
|
|
90
|
-
validatemessage,
|
|
91
|
-
testId,
|
|
92
|
-
helperText,
|
|
93
|
-
additionalProps,
|
|
94
|
-
displayMode,
|
|
95
|
-
onRecordChange,
|
|
96
|
-
variant,
|
|
97
|
-
fieldMetadata,
|
|
98
|
-
isTableFormatter,
|
|
99
|
-
hasSuggestions
|
|
100
|
-
} = props;
|
|
101
|
-
const { formatter } = props;
|
|
102
|
-
const pConnect = getPConnect();
|
|
103
|
-
const actions = pConnect.getActionsApi();
|
|
104
|
-
const propName = pConnect.getStateProps().value;
|
|
105
|
-
const className = pConnect.getCaseInfo().getClassName();
|
|
106
|
-
const refName = propName?.slice(propName.lastIndexOf('.') + 1);
|
|
107
|
-
|
|
108
|
-
let { readOnly, required, disabled } = props;
|
|
109
|
-
[readOnly, required, disabled] = [readOnly, required, disabled].map(
|
|
110
|
-
(prop) => prop === true || (typeof prop === 'string' && prop === 'true')
|
|
111
|
-
);
|
|
112
|
-
|
|
113
|
-
const [status, setStatus] = useState(hasSuggestions ? 'pending' : undefined);
|
|
114
|
-
|
|
115
|
-
const useIsMount = () => {
|
|
116
|
-
const isMountRef = useRef(true);
|
|
117
|
-
useEffect(() => {
|
|
118
|
-
isMountRef.current = false;
|
|
119
|
-
}, []);
|
|
120
|
-
return isMountRef.current;
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
const isMount = useIsMount();
|
|
124
|
-
|
|
125
|
-
const metaData = Array.isArray(fieldMetadata)
|
|
126
|
-
? fieldMetadata.filter((field) => field?.classID === className)[0]
|
|
127
|
-
: fieldMetadata;
|
|
128
|
-
let displayName = metaData?.datasource?.propertyForDisplayText;
|
|
129
|
-
displayName = displayName?.slice(displayName.lastIndexOf('.') + 1);
|
|
130
|
-
const localeContext = metaData?.datasource?.tableType === 'DataPage' ? 'datapage' : 'associated';
|
|
131
|
-
const localeClass = localeContext === 'datapage' ? '@baseclass' : className;
|
|
132
|
-
const localeName = localeContext === 'datapage' ? metaData?.datasource?.name : refName;
|
|
133
|
-
const localePath = localeContext === 'datapage' ? displayName : '';
|
|
134
|
-
|
|
135
|
-
const configProps = pConnect.getConfigProps();
|
|
136
|
-
const items = [];
|
|
137
|
-
const isDatapage = listType === 'datapage';
|
|
138
|
-
let listSourceItems = isDatapage ? configProps.listOutput : datasource;
|
|
139
|
-
|
|
140
|
-
if (isDatapage && typeof datasource === 'object' && !Array.isArray(listSourceItems)) {
|
|
141
|
-
listSourceItems = datasource.source ? datasource.source : [];
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
useEffect(() => {
|
|
145
|
-
if (validatemessage !== '') {
|
|
146
|
-
setStatus('error');
|
|
147
|
-
}
|
|
148
|
-
if (hasSuggestions) {
|
|
149
|
-
setStatus('pending');
|
|
150
|
-
} else if (!hasSuggestions && status !== 'success') {
|
|
151
|
-
setStatus(validatemessage !== '' ? 'error' : undefined);
|
|
152
|
-
}
|
|
153
|
-
}, [validatemessage, hasSuggestions]);
|
|
154
|
-
|
|
155
|
-
pushPlaceholderOption(placeholder, listSourceItems, items, pConnect);
|
|
156
|
-
|
|
157
|
-
// Loop through all of our list source items that make up the values of the dropdown
|
|
158
|
-
|
|
159
|
-
let selectedLabel = '';
|
|
160
|
-
(listSourceItems || []).forEach((item) => {
|
|
161
|
-
selectedLabel =
|
|
162
|
-
value !== undefined &&
|
|
163
|
-
value !== null &&
|
|
164
|
-
item.key !== undefined &&
|
|
165
|
-
item.key !== null &&
|
|
166
|
-
value.toString() === item.key.toString()
|
|
167
|
-
? item.text || item.value
|
|
168
|
-
: selectedLabel;
|
|
169
|
-
items.push(
|
|
170
|
-
<Option key={item.key} value={item.key}>
|
|
171
|
-
{isDatapage
|
|
172
|
-
? pConnect.getLocalizedValue(
|
|
173
|
-
item.text,
|
|
174
|
-
localePath,
|
|
175
|
-
pConnect.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
176
|
-
)
|
|
177
|
-
: pConnect.getLocalizedValue(
|
|
178
|
-
item.value,
|
|
179
|
-
localePath,
|
|
180
|
-
pConnect.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
181
|
-
)}
|
|
182
|
-
</Option>
|
|
183
|
-
);
|
|
184
|
-
});
|
|
185
|
-
|
|
186
|
-
const isDisplayModeEnabled =
|
|
187
|
-
displayMode === 'LABELS_LEFT' || displayMode === 'STACKED_LARGE_VAL' || displayMode === 'DISPLAY_ONLY';
|
|
188
|
-
let firstOptionKey = '';
|
|
189
|
-
let firstOptionValue = '';
|
|
190
|
-
if (!placeholder && listSourceItems?.length > 0) {
|
|
191
|
-
// First option isn't going to change as long as placeholder is present. Incase placeholder is not there
|
|
192
|
-
// check for new option
|
|
193
|
-
firstOptionKey = listSourceItems[0].key;
|
|
194
|
-
firstOptionValue = listSourceItems[0].text || listSourceItems[0].value;
|
|
195
|
-
}
|
|
196
|
-
useEffect(() => {
|
|
197
|
-
// placeholder - placeholder option configured to be shown with dropdown, empty string if not configured
|
|
198
|
-
// value - value of the dropdown if set to something prior (either by pre-activity or default value etc.), empty string if nothing is set
|
|
199
|
-
// selectedLabel - is value(the one above) if it is one of the option in the dropdown datasource, empty string if not
|
|
200
|
-
// below code does this -
|
|
201
|
-
// set dropdown value to first option if placeholder is NOT present and ((value is empty) or (value is not empty and selectedLabel is empty))
|
|
202
|
-
// set dropdown value to empty if placeholder is present and value is not empty and selectedLabel is empty
|
|
203
|
-
// Broken down first option(key, value) to be as dependency instead of entire items array which creates new reference on every render
|
|
204
|
-
// First option is kept as dependency as setDefaultValue sets only first value from options
|
|
205
|
-
if (!isDisplayModeEnabled && ((!placeholder && !value) || (!isMount && value && !selectedLabel))) {
|
|
206
|
-
setDefaultValue(items, pConnect, propName);
|
|
207
|
-
}
|
|
208
|
-
}, [firstOptionKey, firstOptionValue, placeholder, selectedLabel, value, propName]);
|
|
209
|
-
|
|
210
|
-
if (displayMode === 'LABELS_LEFT' || displayMode === 'DISPLAY_ONLY') {
|
|
211
|
-
let displayComp = selectedLabel;
|
|
212
|
-
if (isTableFormatter && formatExists(formatter)) {
|
|
213
|
-
displayComp = textFormatter(formatter, selectedLabel);
|
|
214
|
-
}
|
|
215
|
-
if (selectedLabel === '') {
|
|
216
|
-
displayComp = value || <span aria-hidden='true'>––</span>;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
return displayMode === 'DISPLAY_ONLY' ? (
|
|
220
|
-
<Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
221
|
-
displayComp
|
|
222
|
-
</Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
223
|
-
) : (
|
|
224
|
-
<Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
225
|
-
<FieldValueList
|
|
226
|
-
variant={hideLabel ? 'stacked' : variant}
|
|
227
|
-
data-testid={testId}
|
|
228
|
-
fields={[
|
|
229
|
-
{
|
|
230
|
-
id: '1',
|
|
231
|
-
name: hideLabel ? '' : label,
|
|
232
|
-
value: displayComp
|
|
233
|
-
}
|
|
234
|
-
]}
|
|
235
|
-
/>
|
|
236
|
-
</Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
237
|
-
);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
if (displayMode === 'STACKED_LARGE_VAL') {
|
|
241
|
-
selectedLabel = selectedLabel === '' ? value : selectedLabel;
|
|
242
|
-
const isValDefined = typeof selectedLabel !== 'undefined' && selectedLabel !== '';
|
|
243
|
-
const val = isValDefined ? (
|
|
244
|
-
<Text variant='h1' as='span'>
|
|
245
|
-
{selectedLabel}
|
|
246
|
-
</Text>
|
|
247
|
-
) : (
|
|
248
|
-
''
|
|
249
|
-
);
|
|
250
|
-
return (
|
|
251
|
-
<Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
252
|
-
<FieldValueList
|
|
253
|
-
variant='stacked'
|
|
254
|
-
data-testid={testId}
|
|
255
|
-
fields={[{ id: '2', name: hideLabel ? '' : label, value: val }]}
|
|
256
|
-
/>
|
|
257
|
-
</Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
258
|
-
);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
const onResolveSuggestionHandler = (accepted) => {
|
|
262
|
-
suggestionsHandler(accepted, pConnect, setStatus);
|
|
263
|
-
};
|
|
264
|
-
|
|
265
|
-
return (
|
|
266
|
-
<Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
267
|
-
<Select
|
|
268
|
-
{...additionalProps}
|
|
269
|
-
label={label}
|
|
270
|
-
labelHidden={hideLabel}
|
|
271
|
-
info={validatemessage || helperText}
|
|
272
|
-
status={status}
|
|
273
|
-
data-testid={testId}
|
|
274
|
-
key={getPConnect().getRawMetadata().config.value}
|
|
275
|
-
value={value}
|
|
276
|
-
disabled={disabled}
|
|
277
|
-
required={required}
|
|
278
|
-
readOnly={readOnly}
|
|
279
|
-
onChange={(event) => {
|
|
280
|
-
handleEvent(actions, 'changeNblur', propName, event.target.value);
|
|
281
|
-
if (hasSuggestions) {
|
|
282
|
-
pConnect.ignoreSuggestion();
|
|
283
|
-
setStatus(undefined);
|
|
284
|
-
}
|
|
285
|
-
if (onRecordChange) {
|
|
286
|
-
onRecordChange(event);
|
|
287
|
-
}
|
|
288
|
-
}}
|
|
289
|
-
onBlur={(event) => {
|
|
290
|
-
pConnect.getValidationApi().validate(event.target.value);
|
|
291
|
-
}}
|
|
292
|
-
onResolveSuggestion={onResolveSuggestionHandler}
|
|
293
|
-
>
|
|
294
|
-
{items}
|
|
295
|
-
</Select>
|
|
296
|
-
</Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
297
|
-
);
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
{{COMPONENT_CLASS_NAME}}.defaultProps = {
|
|
301
|
-
value: '',
|
|
302
|
-
placeholder: '',
|
|
303
|
-
validatemessage: '',
|
|
304
|
-
hideLabel: false,
|
|
305
|
-
disabled: false,
|
|
306
|
-
readOnly: false,
|
|
307
|
-
required: false,
|
|
308
|
-
testId: null,
|
|
309
|
-
helperText: '',
|
|
310
|
-
datasource: [],
|
|
311
|
-
listType: '',
|
|
312
|
-
additionalProps: {},
|
|
313
|
-
fieldMetadata: {},
|
|
314
|
-
displayMode: null,
|
|
315
|
-
onRecordChange: null,
|
|
316
|
-
variant: 'inline',
|
|
317
|
-
formatter: '',
|
|
318
|
-
isTableFormatter: false,
|
|
319
|
-
hasSuggestions: false
|
|
320
|
-
};
|
|
321
|
-
|
|
322
|
-
{{COMPONENT_CLASS_NAME}}.propTypes = {
|
|
323
|
-
getPConnect: PropTypes.func.isRequired,
|
|
324
|
-
value: PropTypes.string,
|
|
325
|
-
placeholder: PropTypes.string,
|
|
326
|
-
label: PropTypes.string.isRequired,
|
|
327
|
-
hideLabel: PropTypes.bool,
|
|
328
|
-
datasource: PropTypes.oneOfType([
|
|
329
|
-
PropTypes.arrayOf(PropTypes.any),
|
|
330
|
-
PropTypes.shape({
|
|
331
|
-
source: PropTypes.arrayOf(PropTypes.any)
|
|
332
|
-
})
|
|
333
|
-
]),
|
|
334
|
-
listType: PropTypes.string,
|
|
335
|
-
validatemessage: PropTypes.string,
|
|
336
|
-
disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
337
|
-
readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
338
|
-
required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
339
|
-
testId: PropTypes.string,
|
|
340
|
-
helperText: PropTypes.string,
|
|
341
|
-
additionalProps: PropTypes.objectOf(PropTypes.any),
|
|
342
|
-
fieldMetadata: PropTypes.objectOf(PropTypes.any),
|
|
343
|
-
displayMode: PropTypes.string,
|
|
344
|
-
onRecordChange: PropTypes.func,
|
|
345
|
-
variant: PropTypes.string,
|
|
346
|
-
formatter: PropTypes.string,
|
|
347
|
-
isTableFormatter: PropTypes.bool,
|
|
348
|
-
hasSuggestions: PropTypes.bool
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
export default {{COMPONENT_CLASS_NAME}};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
export const configProps = {
|
|
2
|
-
value: '',
|
|
3
|
-
label: 'Picklist Sample',
|
|
4
|
-
placeholder: 'Select...',
|
|
5
|
-
listType: 'associated',
|
|
6
|
-
datasource: [
|
|
7
|
-
{
|
|
8
|
-
key: 'Option 1',
|
|
9
|
-
value: 'Option 1'
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
key: 'Option 2',
|
|
13
|
-
value: 'Option 2'
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
key: 'Option 3',
|
|
17
|
-
value: 'Option 3'
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
helperText: 'Picklist Helper Text',
|
|
21
|
-
testId: 'picklist-12345678',
|
|
22
|
-
hasSuggestions: false
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const stateProps = {
|
|
26
|
-
value: '.PicklistSample',
|
|
27
|
-
placeholder: 'Select...',
|
|
28
|
-
datasource: '.PicklistSample',
|
|
29
|
-
hasSuggestions: false
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export const rawMetadata = {
|
|
33
|
-
type: 'Dropdown',
|
|
34
|
-
config: {
|
|
35
|
-
value: '@P .PicklistSample',
|
|
36
|
-
label: '@L Picklist Sample',
|
|
37
|
-
placeholder: '@L Select...',
|
|
38
|
-
listType: 'associated',
|
|
39
|
-
datasource: '@ASSOCIATED .PicklistSample',
|
|
40
|
-
helperText: '@L Picklist Helper Text',
|
|
41
|
-
testId: 'picklist-12345678'
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export const fieldMetadata = {
|
|
46
|
-
classID: 'DIXL-MediaCo-Work-NewService',
|
|
47
|
-
type: 'Text',
|
|
48
|
-
displayAs: 'pxDropdown',
|
|
49
|
-
label: 'Picklist sample',
|
|
50
|
-
datasource: {
|
|
51
|
-
tableType: 'PromptList',
|
|
52
|
-
records: [
|
|
53
|
-
{
|
|
54
|
-
key: 'Option 1',
|
|
55
|
-
value: 'Option 1'
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
key: 'Option 2',
|
|
59
|
-
value: 'Option 2'
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
key: 'Option 3',
|
|
63
|
-
value: 'Option 3'
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// utilizing theming, comment out, if want individual style
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
import { Configuration } from '@pega/cosmos-react-core';
|
|
4
|
-
|
|
5
|
-
export default styled(Configuration)``;
|
|
6
|
-
|
|
7
|
-
// individual style, comment out above, and uncomment here and add styles
|
|
8
|
-
// import styled, { css } from 'styled-components';
|
|
9
|
-
//
|
|
10
|
-
// export default styled.div(() => {
|
|
11
|
-
// return css`
|
|
12
|
-
// margin: 0px 0;
|
|
13
|
-
// `;
|
|
14
|
-
// });
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* eslint-disable import/prefer-default-export */
|
|
2
|
-
export const suggestionsHandler = (accepted, pConn, setStatus) => {
|
|
3
|
-
if (accepted) {
|
|
4
|
-
pConn.acceptSuggestion();
|
|
5
|
-
setStatus('success');
|
|
6
|
-
} else {
|
|
7
|
-
pConn.ignoreSuggestion();
|
|
8
|
-
setStatus(undefined);
|
|
9
|
-
}
|
|
10
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
2
|
-
import { withKnobs } from '@storybook/addon-knobs';
|
|
3
|
-
|
|
4
|
-
import { stateProps, configProps } from './mock.stories';
|
|
5
|
-
|
|
6
|
-
import {{COMPONENT_CLASS_NAME}} from './index.jsx';
|
|
7
|
-
|
|
8
|
-
export default {
|
|
9
|
-
title: '{{COMPONENT_CLASS_NAME}}',
|
|
10
|
-
decorators: [withKnobs],
|
|
11
|
-
component: {{COMPONENT_CLASS_NAME}}
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export const base{{COMPONENT_CLASS_NAME}} = () => {
|
|
15
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
16
|
-
const [value, setValue] = useState(configProps.value);
|
|
17
|
-
|
|
18
|
-
const props = {
|
|
19
|
-
value,
|
|
20
|
-
placeholder: configProps.placeholder,
|
|
21
|
-
label: configProps.label,
|
|
22
|
-
testId: configProps.testId,
|
|
23
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
24
|
-
|
|
25
|
-
getPConnect: () => {
|
|
26
|
-
return {
|
|
27
|
-
getStateProps: () => {
|
|
28
|
-
return stateProps;
|
|
29
|
-
},
|
|
30
|
-
getActionsApi: () => {
|
|
31
|
-
return {
|
|
32
|
-
updateFieldValue: (propName, theValue) => {
|
|
33
|
-
setValue(theValue);
|
|
34
|
-
},
|
|
35
|
-
triggerFieldChange: () => {/* nothing */}
|
|
36
|
-
};
|
|
37
|
-
},
|
|
38
|
-
ignoreSuggestion: () => {/* nothing */},
|
|
39
|
-
acceptSuggestion: () => {/* nothing */},
|
|
40
|
-
setInheritedProps: () => {/* nothing */},
|
|
41
|
-
resolveConfigProps: () => {/* nothing */}
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
return (
|
|
47
|
-
<>
|
|
48
|
-
<{{COMPONENT_CLASS_NAME}} {...props} />
|
|
49
|
-
</>
|
|
50
|
-
);
|
|
51
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import { Input, Label } from '@pega/cosmos-react-core';
|
|
3
|
-
|
|
4
|
-
import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
// Duplicated runtime code from Constellation Design System Component
|
|
8
|
-
|
|
9
|
-
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
10
|
-
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
11
|
-
const {{COMPONENT_CLASS_NAME}} = props => {
|
|
12
|
-
const { getPConnect, value, placeholder, disabled, readOnly, required, label, testId } = props;
|
|
13
|
-
|
|
14
|
-
const pConn = getPConnect();
|
|
15
|
-
const actions = pConn.getActionsApi();
|
|
16
|
-
const propName = pConn?.getStateProps()?.value;
|
|
17
|
-
|
|
18
|
-
const handleOnChange = event => {
|
|
19
|
-
const { value: updatedValue } = event.target;
|
|
20
|
-
actions.updateFieldValue(propName, updatedValue);
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
return (
|
|
24
|
-
<Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
25
|
-
<Label>{label}</Label>
|
|
26
|
-
<Input
|
|
27
|
-
type='text'
|
|
28
|
-
value={value}
|
|
29
|
-
placeholder={placeholder}
|
|
30
|
-
disabled={disabled}
|
|
31
|
-
readOnly={readOnly}
|
|
32
|
-
required={required}
|
|
33
|
-
onChange={handleOnChange}
|
|
34
|
-
testId={testId}
|
|
35
|
-
/>
|
|
36
|
-
</Styled{{COMPONENT_CLASS_NAME}}Wrapper>
|
|
37
|
-
);
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
{{COMPONENT_CLASS_NAME}}.defaultProps = {
|
|
41
|
-
value: '',
|
|
42
|
-
placeholder: '',
|
|
43
|
-
disabled: false,
|
|
44
|
-
readOnly: false,
|
|
45
|
-
required: false,
|
|
46
|
-
testId: null
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
{{COMPONENT_CLASS_NAME}}.propTypes = {
|
|
50
|
-
label: PropTypes.string,
|
|
51
|
-
value: PropTypes.string,
|
|
52
|
-
placeholder: PropTypes.string,
|
|
53
|
-
getPConnect: PropTypes.func.isRequired,
|
|
54
|
-
disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
55
|
-
readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
56
|
-
required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
57
|
-
testId: PropTypes.string
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export default {{COMPONENT_CLASS_NAME}};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const configProps = {
|
|
2
|
-
value: '',
|
|
3
|
-
label: 'Text Sample',
|
|
4
|
-
placeholder: 'Text Placeholder',
|
|
5
|
-
helperText: 'Text Helper Text',
|
|
6
|
-
testId: 'Text-12345678',
|
|
7
|
-
hasSuggestions: false
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export const stateProps = {
|
|
11
|
-
value: '.TextSample',
|
|
12
|
-
hasSuggestions: false
|
|
13
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// utilizing theming, comment out, if want individual style
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
import { Configuration } from '@pega/cosmos-react-core';
|
|
4
|
-
|
|
5
|
-
export default styled(Configuration)``;
|
|
6
|
-
|
|
7
|
-
// individual style, comment out above, and uncomment here and add styles
|
|
8
|
-
// import styled, { css } from 'styled-components';
|
|
9
|
-
//
|
|
10
|
-
// export default styled.div(() => {
|
|
11
|
-
// return css`
|
|
12
|
-
// margin: 0px 0;
|
|
13
|
-
// `;
|
|
14
|
-
// });
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { withKnobs } from '@storybook/addon-knobs';
|
|
2
|
-
|
|
3
|
-
import {{COMPONENT_CLASS_NAME}} from './index.jsx';
|
|
4
|
-
|
|
5
|
-
import { stateProps, configProps, fieldMetadata } from './mock.stories';
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: '{{COMPONENT_CLASS_NAME}}',
|
|
9
|
-
decorators: [withKnobs],
|
|
10
|
-
component: {{COMPONENT_CLASS_NAME}}
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const base{{COMPONENT_CLASS_NAME}} = () => {
|
|
14
|
-
|
|
15
|
-
const props = {
|
|
16
|
-
value: configProps.value,
|
|
17
|
-
label: configProps.label,
|
|
18
|
-
placeholder: configProps.placeholder,
|
|
19
|
-
helperText: configProps.helperText,
|
|
20
|
-
testId: configProps.testId,
|
|
21
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
22
|
-
fieldMetadata,
|
|
23
|
-
|
|
24
|
-
getPConnect: () => {
|
|
25
|
-
return {
|
|
26
|
-
getStateProps: () => {
|
|
27
|
-
return stateProps;
|
|
28
|
-
},
|
|
29
|
-
getActionsApi: () => {
|
|
30
|
-
return {
|
|
31
|
-
updateFieldValue: () => {/* nothing */},
|
|
32
|
-
triggerFieldChange: () => {/* nothing */}
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
ignoreSuggestion: () => {/* nothing */},
|
|
36
|
-
acceptSuggestion: () => {/* nothing */},
|
|
37
|
-
setInheritedProps: () => {/* nothing */},
|
|
38
|
-
resolveConfigProps: () => {/* nothing */}
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
return (
|
|
44
|
-
<>
|
|
45
|
-
<{{COMPONENT_CLASS_NAME}} {...props} />
|
|
46
|
-
</>
|
|
47
|
-
);
|
|
48
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const handleEvent = (actions, eventType, propName, value) => {
|
|
2
|
-
switch (eventType) {
|
|
3
|
-
case "change":
|
|
4
|
-
actions.updateFieldValue(propName, value);
|
|
5
|
-
break;
|
|
6
|
-
case "blur":
|
|
7
|
-
actions.triggerFieldChange(propName, value);
|
|
8
|
-
break;
|
|
9
|
-
case "changeNblur":
|
|
10
|
-
actions.updateFieldValue(propName, value);
|
|
11
|
-
actions.triggerFieldChange(propName, value);
|
|
12
|
-
break;
|
|
13
|
-
default:
|
|
14
|
-
break;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export default handleEvent;
|