@pega/custom-dx-components 0.0.1 → 0.8.1
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 +7 -1
- package/.vscode/extensions.json +1 -1
- package/README.md +6 -189
- package/babel.config.cjs +13 -0
- package/jest.config.cjs +37 -0
- package/package.json +45 -33
- package/src/auth.js +637 -0
- package/src/cli.js +49 -1
- package/src/constants.js +123 -8
- package/src/currentPath.cjs +1 -0
- package/src/tasks/authenticate/helper.js +155 -8
- package/src/tasks/authenticate/index.js +188 -51
- package/src/tasks/build/helper.js +116 -0
- package/src/tasks/build/index.js +76 -0
- package/src/tasks/build-all/helper.js +71 -0
- package/src/tasks/build-all/index.js +86 -0
- package/src/tasks/{publish/bundle → bundle}/builder/index.js +54 -5
- package/src/tasks/{publish/bundle → bundle}/builder/webpack.config.js +9 -8
- package/src/tasks/{publish/bundle → bundle}/index.js +2 -2
- package/src/tasks/create/index.js +129 -69
- package/src/tasks/create/templates/Constellation/Field/Boolean/Boolean.js.mustache +38 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/boolean-format.js.mustache +26 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/config.json.mustache +145 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/demo.stories.jsx.mustache +61 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/index.jsx.mustache +170 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/mock.stories.js.mustache +21 -0
- package/src/tasks/create/templates/Constellation/Field/Boolean/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Date/DateFormatter.js.mustache +61 -0
- package/src/tasks/create/templates/Constellation/Field/Date/FormattedText.jsx.mustache +41 -0
- package/src/tasks/create/templates/Constellation/Field/Date/config.json.mustache +195 -0
- package/src/tasks/create/templates/Constellation/Field/Date/date.js.mustache +439 -0
- package/src/tasks/create/templates/Constellation/Field/Date/demo.stories.jsx.mustache +73 -0
- package/src/tasks/create/templates/Constellation/Field/Date/index.jsx.mustache +256 -0
- package/src/tasks/create/templates/Constellation/Field/Date/mock.stories.js.mustache +23 -0
- package/src/tasks/create/templates/Constellation/Field/Date/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Date/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/config.json.mustache +256 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/date-time.js.mustache +92 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/date-utils.js.mustache +288 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/date.js.mustache +331 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/demo.stories.jsx.mustache +73 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/index.jsx.mustache +254 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/mock.stories.js.mustache +23 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/DateTime/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/config.json.mustache +278 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/demo.stories.jsx.mustache +49 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/index.jsx.mustache +273 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/mock.stories.js.mustache +21 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/config.json.mustache +291 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/demo.stories.jsx.mustache +53 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/index.jsx.mustache +299 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.stories.js.mustache +23 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/config.json.mustache +93 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/demo.stories.jsx.mustache +49 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/index.jsx.mustache +281 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/mock.stories.js.mustache +21 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/config.json.mustache +347 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/demo.stories.jsx.mustache +49 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/index.jsx.mustache +336 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/mock.stories.js.mustache +21 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Integer/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/config.json.mustache +114 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/demo.stories.jsx.mustache +78 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/index.jsx.mustache +351 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/mock.stories.js.mustache +67 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist/suggestions-handler.js +10 -0
- package/src/tasks/create/{template → templates/Constellation/Field/Text}/config.json.mustache +14 -5
- package/src/tasks/create/templates/Constellation/Field/Text/demo.stories.jsx.mustache +51 -0
- package/src/tasks/create/{template → templates/Constellation/Field/Text}/index.jsx.mustache +5 -0
- package/src/tasks/create/templates/Constellation/Field/Text/mock.stories.js.mustache +13 -0
- package/src/tasks/create/templates/Constellation/Field/Text/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/config.json.mustache +111 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/demo.stories.jsx.mustache +48 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/index.jsx.mustache +231 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/mock.stories.js.mustache +22 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Email/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/StatusWork.jsx +26 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/config.json.mustache +111 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/demo.stories.jsx.mustache +48 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/index.jsx.mustache +239 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/mock.stories.js.mustache +21 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Input/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/config.json.mustache +111 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/demo.stories.jsx.mustache +48 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/index.jsx.mustache +231 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/mock.stories.js.mustache +20 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/config.json.mustache +123 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/demo.stories.jsx.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/index.jsx.mustache +266 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/mock.stories.js.mustache +37 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/config.json.mustache +237 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/demo.stories.jsx.mustache +46 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/event-utils.js.mustache +18 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/index.jsx.mustache +232 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/mock.stories.js.mustache +22 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/Text-URL/text-url.jsx.mustache +173 -0
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/config.json.mustache +185 -0
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/demo.stories.jsx.mustache +57 -0
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/index.jsx.mustache +213 -0
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/mock.stories.js.mustache +20 -0
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/suggestions-handler.js +10 -0
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/time-of-day.js.mustache +288 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/OneColumnDetails.svg +22 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/StatusWork.jsx.mustache +26 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/config.json.mustache +35 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.jsx.mustache +132 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/index.jsx.mustache +86 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/mock.stories.js.mustache +189 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS/utils.js.mustache +152 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/StatusWork.jsx.mustache +26 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/TwoColumnDetails.svg +28 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/config.json.mustache +42 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.jsx.mustache +136 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/index.jsx.mustache +86 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/mock.stories.js.mustache +230 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/utils.js.mustache +155 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/DefaultForm.svg +29 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/config.json.mustache +45 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/demo.stories.jsx.mustache +169 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/index.jsx.mustache +45 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/mock.stories.js.mustache +137 -0
- package/src/tasks/create/templates/Constellation/Template/FORM/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/TwoColumn.svg +38 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/config.json.mustache +27 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/demo.stories.jsx.mustache +178 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/index.jsx.mustache +48 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/mock.stories.js.mustache +143 -0
- package/src/tasks/create/templates/Constellation/Template/FORM-region/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/GetNextWork.jsx.mustache +35 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/OneColumnPage.svg +36 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/config.json.mustache +32 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/demo.stories.jsx.mustache +102 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/index.jsx.mustache +70 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/localizations.json.mustache +4 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/mock.stories.js.mustache +94 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Template/PAGE/utils.js.mustache +229 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/OneColumnPage.svg +36 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/config.json.mustache +23 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/demo.stories.jsx.mustache +78 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/index.jsx.mustache +76 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/mock.stories.js.mustache +390 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/OneColumnPage.svg +36 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/config.json.mustache +59 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/demo.stories.jsx.mustache +30 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/index.jsx.mustache +48 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/mock.stories.js.mustache +23 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/Avatar.jsx.mustache +75 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/OneColumnPage.svg +36 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/Operator.jsx.mustache +240 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/config.json.mustache +66 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/demo.stories.jsx.mustache +68 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/index.jsx.mustache +110 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/mock.stories.js.mustache +51 -0
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Launchpad/Field/__components.md +3 -0
- package/src/tasks/create/templates/Launchpad/Template/__components.md +3 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/OneColumnPage.svg +36 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/config.json.mustache +23 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/demo.stories.jsx.mustache +78 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/index.jsx.mustache +76 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/mock.stories.js.mustache +390 -0
- package/src/tasks/create/templates/Launchpad/Widget/CASE/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Avatar.jsx.mustache +75 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/OneColumnPage.svg +36 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Operator.jsx.mustache +282 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/config.json.mustache +55 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/demo.stories.jsx.mustache +74 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/index.jsx.mustache +82 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/mock.stories.js.mustache +51 -0
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/styles.js.mustache +14 -0
- package/src/tasks/create/templates/Launchpad/Widget/__components.md +3 -0
- package/src/tasks/create-all/index.js +383 -0
- package/src/tasks/delete/helper.js +158 -55
- package/src/tasks/delete/index.js +11 -14
- package/src/tasks/delete-all/helper.js +265 -0
- package/src/tasks/delete-all/index.js +42 -0
- package/src/tasks/index.js +8 -0
- package/src/tasks/init/index.js +27 -23
- package/src/tasks/init/template/.eslintignore +8 -0
- package/src/tasks/init/template/.eslintrc.json +186 -5
- package/src/tasks/init/template/.storybook/package.json +1 -0
- package/src/tasks/init/template/.vscode/extensions.json +1 -1
- package/src/tasks/init/template/README.md +6 -189
- package/src/tasks/init/template/babel.config.cjs +13 -0
- package/src/tasks/init/template/keys/DX-ComponentDev.zip +0 -0
- package/src/tasks/init/template/keys/dxcb.crt +32 -0
- package/src/tasks/init/template/keys/dxcb.key +51 -0
- package/src/tasks/init/template/package.json.mustache +55 -23
- package/src/tasks/init/template/src/components/_components.md +1 -0
- package/src/tasks/init/template/tasks.config.json +25 -8
- package/src/tasks/init/template/templateNPMRC.txt +8 -0
- package/src/tasks/linter/index.js +46 -0
- package/src/tasks/list/helper.js +195 -57
- package/src/tasks/list/index.js +22 -3
- package/src/tasks/promote-webpack/index.js +126 -0
- package/src/tasks/promote-webpack/webpack.config.js +376 -0
- package/src/tasks/publish/helper.js +110 -61
- package/src/tasks/publish/index.js +43 -12
- package/src/tasks/publish-all/helper.js +187 -0
- package/src/tasks/publish-all/index.js +107 -0
- package/src/tasks/rename/index.js +344 -0
- package/src/tasks/revert-webpack/index.js +71 -0
- package/src/tasks/validator/index.js +291 -18
- package/src/util.js +246 -76
- package/tests/assets/components/create/Pega_DXIL_MyTestText/config.json +55 -0
- package/tests/assets/components/create/Pega_DXIL_MyTestText/demo.stories.jsx +51 -0
- package/tests/assets/components/create/Pega_DXIL_MyTestText/index.jsx +60 -0
- package/tests/assets/components/create/Pega_DXIL_MyTestText/mock.stories.js +13 -0
- package/tests/assets/components/create/Pega_DXIL_MyTestText/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/Boolean.js +38 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/boolean-format.js +26 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +145 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.jsx +61 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.jsx +170 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +23 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.jsx +78 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.jsx +73 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/mock.stories.js +390 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +291 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.jsx +53 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.jsx +296 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.stories.js +23 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/DateFormatter.js +61 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/FormattedText.jsx +41 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +195 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/date.js +439 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.jsx +73 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/index.jsx +256 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/mock.stories.js +23 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +256 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-time.js +92 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-utils.js +288 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date.js +331 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.jsx +73 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.jsx +254 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/mock.stories.js +23 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +278 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.jsx +49 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.jsx +270 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/OneColumnDetails.svg +22 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/StatusWork.jsx +26 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +35 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.jsx +132 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/index.jsx +83 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/mock.stories.js +189 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/utils.js +152 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +111 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.jsx +48 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/index.jsx +231 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/mock.stories.js +22 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +45 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.jsx +166 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/index.jsx +42 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/mock.stories.js +137 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +344 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.jsx +49 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/index.jsx +333 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/GetNextWork.jsx +35 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/OneColumnPage.svg +36 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +32 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.jsx +102 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/index.jsx +70 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/localizations.json +4 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/mock.stories.js +94 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/utils.js +229 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.jsx +75 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Operator.jsx +237 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +66 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx +68 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.jsx +108 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/mock.stories.js +51 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +59 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.jsx +30 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.jsx +48 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/mock.stories.js +23 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +111 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.jsx +48 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.jsx +231 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.stories.js +20 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +93 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.jsx +49 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.jsx +275 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +123 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.jsx +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/index.jsx +266 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/mock.stories.js +37 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +114 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.jsx +78 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.jsx +351 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.stories.js +67 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/suggestions-handler.js +10 -0
- package/{src/tasks/init/template/src/components/Organization_Library_VideoPlayer → tests/assets/components/createAll/Constellation/Pega_DXIL_MyText}/config.json +24 -13
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.jsx +51 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/index.jsx +60 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/mock.stories.js +13 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/StatusWork.jsx +26 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +111 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.jsx +48 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.jsx +239 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +185 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.jsx +57 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.jsx +213 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.stories.js +20 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/time-of-day.js +288 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/StatusWork.jsx +26 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +42 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx +136 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.jsx +83 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.stories.js +230 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/utils.js +155 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +27 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.jsx +175 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.jsx +45 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/mock.stories.js +143 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +237 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.jsx +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/event-utils.js +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/index.jsx +232 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/mock.stories.js +22 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/styles.js +14 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/text-url.jsx +173 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/Boolean.js +38 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/boolean-format.js +26 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/config.json +145 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.jsx +61 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.jsx +170 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/config.json +23 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.jsx +78 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.jsx +73 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/mock.stories.js +390 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/config.json +291 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.jsx +53 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.jsx +296 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.stories.js +23 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/DateFormatter.js +61 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/FormattedText.jsx +41 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/config.json +195 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/date.js +439 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.jsx +73 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/index.jsx +256 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.stories.js +23 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/config.json +256 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-time.js +92 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-utils.js +288 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date.js +331 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.jsx +73 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.jsx +254 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/mock.stories.js +23 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/config.json +278 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.jsx +49 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.jsx +270 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/OneColumnDetails.svg +22 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/StatusWork.jsx +26 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/config.json +35 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.jsx +132 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.jsx +83 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/mock.stories.js +189 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/utils.js +152 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/config.json +111 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.jsx +48 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.jsx +231 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.stories.js +22 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/config.json +45 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/demo.stories.jsx +166 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/index.jsx +42 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/mock.stories.js +137 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/config.json +344 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.jsx +49 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.jsx +333 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/GetNextWork.jsx +35 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/OneColumnPage.svg +36 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/config.json +32 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.jsx +102 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/index.jsx +70 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/localizations.json +4 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/mock.stories.js +94 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/utils.js +229 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Avatar.jsx +75 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Operator.jsx +279 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/config.json +55 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx +74 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.jsx +80 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/mock.stories.js +51 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/config.json +59 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.jsx +30 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.jsx +48 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/mock.stories.js +23 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/config.json +111 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.jsx +48 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.jsx +231 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/mock.stories.js +20 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/config.json +93 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.jsx +49 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.jsx +275 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/config.json +123 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.jsx +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.jsx +266 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/mock.stories.js +37 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/config.json +114 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.jsx +78 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.jsx +351 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.stories.js +67 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/config.json +55 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.jsx +51 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/index.jsx +60 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/mock.stories.js +13 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/StatusWork.jsx +26 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/config.json +111 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.jsx +48 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.jsx +239 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/mock.stories.js +21 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/config.json +185 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.jsx +57 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.jsx +213 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/mock.stories.js +20 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/time-of-day.js +288 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/StatusWork.jsx +26 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/config.json +42 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx +136 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.jsx +83 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/mock.stories.js +230 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/utils.js +155 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/config.json +27 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/demo.stories.jsx +175 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.jsx +45 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/mock.stories.js +143 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/config.json +237 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.jsx +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/event-utils.js +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/index.jsx +232 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.stories.js +22 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/styles.js +14 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.js +10 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/text-url.jsx +173 -0
- package/tests/functional/localCreateAllListDeleteAll.test.js +163 -0
- package/tests/functional/localCreateBuildAllDeleteAll.test.js +148 -0
- package/tests/functional/localCreateBuildDelete.test.js +84 -0
- package/tests/functional/localCreateListDelete.test.js +108 -0
- package/tests/functional/localCreatePublishAllDeleteAll.test.js +148 -0
- package/tests/functional/localCreatePublishDelete.test.js +84 -0
- package/tests/functional/localCreateRenameDelete.test.js +84 -0
- package/tests/functional/localPromoteRevertWP.test.js +59 -0
- package/tests/unit/util.test.js +544 -0
- package/src/tasks/create/template/demo.stories.jsx.mustache +0 -44
- package/src/tasks/create/template/styles.js.mustache +0 -7
- package/src/tasks/init/template/src/components/MBTAList/MBTAList.stories.tsx +0 -10
- package/src/tasks/init/template/src/components/MBTAList/MBTAList.tsx +0 -122
- package/src/tasks/init/template/src/components/MBTAList/icons/accessible.icon.tsx +0 -14
- package/src/tasks/init/template/src/components/MBTAList/icons/bus.icon.tsx +0 -13
- package/src/tasks/init/template/src/components/MBTAList/icons/mbta.icon.tsx +0 -10
- package/src/tasks/init/template/src/components/MBTAList/icons/subway.icon.tsx +0 -14
- package/src/tasks/init/template/src/components/MBTAList/index.ts +0 -2
- package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURL.stories.tsx +0 -19
- package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURL.styles.ts +0 -5
- package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURL.types.ts +0 -10
- package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURLDisplay.tsx +0 -25
- package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURLInput.tsx +0 -24
- package/src/tasks/init/template/src/components/Organization_Library_MediaURL/config.json +0 -13
- package/src/tasks/init/template/src/components/Organization_Library_MediaURL/index.ts +0 -2
- package/src/tasks/init/template/src/components/Organization_Library_VideoPlayer/demo.stories.jsx +0 -40
- package/src/tasks/init/template/src/components/Organization_Library_VideoPlayer/index.jsx +0 -42
- package/src/tasks/init/template/src/components/Organization_Library_VideoPlayer/styles.js +0 -5
- /package/src/tasks/{publish/bundle → bundle}/builder/modules.js +0 -0
- /package/src/tasks/{publish/bundle → bundle}/builder/paths.js +0 -0
- /package/src/tasks/init/template/.storybook/{main.js → main.cjs} +0 -0
|
@@ -8,197 +8,14 @@ This project provides you with an environment to extend Constellation by giving
|
|
|
8
8
|
|
|
9
9
|
Ensure you have access to the following in your system:
|
|
10
10
|
|
|
11
|
-
- Pega Infinity Server version 8.7
|
|
11
|
+
- Pega Infinity Server version 8.7 or later
|
|
12
12
|
|
|
13
|
-
- Git version 2.30
|
|
13
|
+
- Git version 2.30 or later
|
|
14
14
|
|
|
15
|
-
- System node version
|
|
15
|
+
- System node version 18
|
|
16
16
|
|
|
17
|
-
- System npm version
|
|
17
|
+
- System npm version 8
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Latest Documentation
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
1. Enter the following command to initialize the project.
|
|
24
|
-
`npx @pega/custom-dx-components init`
|
|
25
|
-
|
|
26
|
-
2. If prompted, enter `y` to install the Custom UI Components package.
|
|
27
|
-
You will then be asked to set up the project by entering the required details.
|
|
28
|
-
|
|
29
|
-
3. Enter the following details:
|
|
30
|
-
- Name of the project (required)
|
|
31
|
-
Example - `mycustomcomponents`
|
|
32
|
-
- Name of the organization (required)
|
|
33
|
-
Example - `customorg`
|
|
34
|
-
- Version (required)
|
|
35
|
-
Example - `1.0.0`
|
|
36
|
-
- Description of the project (optional)
|
|
37
|
-
Example - `This project is intended to create and publish a custom component.`
|
|
38
|
-
- Git repository URL (optional)
|
|
39
|
-
Example - `https://git.custom-components.io/custom-cc.git`
|
|
40
|
-
- Author (optional)
|
|
41
|
-
Example - `Michelle`
|
|
42
|
-
|
|
43
|
-
The workspace is now set up to create custom components and publish them to the server.
|
|
44
|
-
|
|
45
|
-
## Create custom components
|
|
46
|
-
|
|
47
|
-
Create custom components using the following procedure:
|
|
48
|
-
|
|
49
|
-
1. Enter the following command to create a component:
|
|
50
|
-
`npm run create`
|
|
51
|
-
You will then be asked to enter or review the following details of the component:
|
|
52
|
-
- Name of the component (required)
|
|
53
|
-
Example - `customcomp0`
|
|
54
|
-
- Name of component label (required)
|
|
55
|
-
Example - `custom component`
|
|
56
|
-
- Name of the library (required)
|
|
57
|
-
Example - `basic`
|
|
58
|
-
- Component version (required)
|
|
59
|
-
Example - `0.0.1`
|
|
60
|
-
- Type of component (required)
|
|
61
|
-
Example - `Field`
|
|
62
|
-
- Sub-type of component (required)
|
|
63
|
-
Example - `Text`
|
|
64
|
-
- Description of the component (optional)
|
|
65
|
-
Example - `This is a customized searchbox that filters data.`
|
|
66
|
-
The component is created in the following path: _/Users/your_user_name/project_name/src/components/component_name_
|
|
67
|
-
You can also pre-configure the values for the above options in a tasks.config.json file as shown below.
|
|
68
|
-
|
|
69
|
-
```json
|
|
70
|
-
{
|
|
71
|
-
"component": {
|
|
72
|
-
"library": "basic",
|
|
73
|
-
"type": "field",
|
|
74
|
-
"subtype": "text",
|
|
75
|
-
"description": "basic field for capturing textual data",
|
|
76
|
-
"icon": "basic-field-text.svg"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
```
|
|
80
|
-
>**Note**:
|
|
81
|
-
Alternatively, you can enter the following command to skip entering the details of the component now and can manually enter the details in the config.json file after the component is created:
|
|
82
|
-
`npm run create <enter_component_name>`
|
|
83
|
-
|
|
84
|
-
A _src/components_ folder is created and the necessary files required to build the component are initialized as seen below.
|
|
85
|
-
|
|
86
|
-
```sh
|
|
87
|
-
├── src
|
|
88
|
-
├── components
|
|
89
|
-
├── <component_name>
|
|
90
|
-
├── index.js
|
|
91
|
-
├── demo.stories.js
|
|
92
|
-
├── config.json
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
The *index.js* file contains the actual component rendering logic.
|
|
97
|
-
The *demo.stories.js* file contains the demo that can be viewed in the storybook.
|
|
98
|
-
The *config.json* file contains the mapping of properties for configuring the auto generated property panel. This property panel appears in AppStudio when an application is being authored to use the custom component.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
2. Enter the following command to start the storybook to view the demo.
|
|
102
|
-
`npm start`
|
|
103
|
-
|
|
104
|
-
3. Modify the source files to build your own component. You can also install and import third-party libraries if required for your component.
|
|
105
|
-
|
|
106
|
-
The custom component is now created. We use the information provided to create uniquely namespaced components in this convention - `<organization>_<library>_<component name>`.
|
|
107
|
-
|
|
108
|
-
## Authenticate the user
|
|
109
|
-
Before we publish the custom component to the Pega Infinity Server, authenticate the user to access the resources in the Pega Infinity Server.
|
|
110
|
-
|
|
111
|
-
>**Note**:
|
|
112
|
-
It is required that you configure a value for clientId, clientSecret, and accessTokenUri.
|
|
113
|
-
1. Login to Pega Infinity Server, navigate to Records / Security / OAuth 2.0 Client Registration landing page and open the *DX-CustomComponents* record.
|
|
114
|
-
2. Click **Regenerate Client Secret**, download the Client Credentials (as the Client ID, Client Secret, and Access token endpoint will be needed), and save the record.
|
|
115
|
-
3. Update the the task.config.json file with these downloaded values:
|
|
116
|
-
```json
|
|
117
|
-
"server-config": {
|
|
118
|
-
"server": "https://127.0.0.1:8080/prweb",
|
|
119
|
-
"user": "customcomponentoperator",
|
|
120
|
-
"password": "pwd",
|
|
121
|
-
"clientId": "<mention client ID here>",
|
|
122
|
-
"clientSecret": "<mention client secret here>",
|
|
123
|
-
"accessTokenUri": "https://127.0.0.1:8080/prweb/PRRestService/oauth2/v1/token"
|
|
124
|
-
},
|
|
125
|
-
```
|
|
126
|
-
4. Enter the following command to initiate authentication.
|
|
127
|
-
`npm run authenticate`
|
|
128
|
-
|
|
129
|
-
The user is now authenticated and can proceed to either publish or list the components.
|
|
130
|
-
|
|
131
|
-
## Publish custom components
|
|
132
|
-
Enter the following command to publish custom components to Pega Infinity Server:
|
|
133
|
-
`npm run publish`
|
|
134
|
-
Publish the finalized custom components changes to Pega Infinity Server so that it can be discoverable in authoring (design palette).
|
|
135
|
-
You will then be asked to enter the following details:
|
|
136
|
-
|
|
137
|
-
- The component to be published to Pega Infinity Server. It will be updated if the component exists.
|
|
138
|
-
- The name of the ruleset where the component must be published.
|
|
139
|
-
- The version of the ruleset where the component must be published.
|
|
140
|
-
- Specify if the development build should be generated for debugging.
|
|
141
|
-
You can also pre-configure the values for the above options in a tasks.config.json file as shown below. The server, user name, and password must be pre-configured.
|
|
142
|
-
|
|
143
|
-
```json
|
|
144
|
-
{
|
|
145
|
-
"components-server-config": {
|
|
146
|
-
"server": "http://127.0.0.1:8080/prweb",
|
|
147
|
-
"user": "customcomponentoperator",
|
|
148
|
-
"password": "pwd"
|
|
149
|
-
"rulesetName": "TestPega-C11nGall",
|
|
150
|
-
"rulesetVersion": "01-01-03",
|
|
151
|
-
"sourceOfComponents": "Server",
|
|
152
|
-
"devBuild": false,
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
```
|
|
156
|
-
When the component is successfully published, you can use the newly published component in App Studio's view authoring.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
>**Note**:
|
|
160
|
-
The Rule-UI-Component instance (with component name) is created on the Pega Infinity Server after publishing the component.
|
|
161
|
-
|
|
162
|
-
## List custom components
|
|
163
|
-
View the available components in the local machine or the server.
|
|
164
|
-
|
|
165
|
-
Enter the following command to list custom components:
|
|
166
|
-
`npm run list`
|
|
167
|
-
|
|
168
|
-
You will then be asked to enter the following details:
|
|
169
|
-
|
|
170
|
-
- List components from Server or Local?
|
|
171
|
-
Example - `Server`
|
|
172
|
-
|
|
173
|
-
The custom components will now be listed in the terminal.
|
|
174
|
-
|
|
175
|
-
## Delete custom components
|
|
176
|
-
Delete the available or published components in the local machine or the server.
|
|
177
|
-
|
|
178
|
-
Enter the following command to delete custom components:
|
|
179
|
-
`npm run delete`
|
|
180
|
-
|
|
181
|
-
You will then be asked to enter the following details:
|
|
182
|
-
|
|
183
|
-
- Delete components from Server or Local?
|
|
184
|
-
Example - `Local`
|
|
185
|
-
|
|
186
|
-
- Select component to delete
|
|
187
|
-
The list of available components in the following path will be displayed: _/Users/your_user_name/project_name/src/components
|
|
188
|
-
Select the component to be deleted from this list.
|
|
189
|
-
|
|
190
|
-
- Are you sure?
|
|
191
|
-
Example - `yes`
|
|
192
|
-
|
|
193
|
-
>**Note**:
|
|
194
|
-
If you choose to delete components from the server, the successfully published components along with their ruleset name and ruleset version from the Pega Infinity Server will be displayed. Select the component to be deleted from this list.
|
|
195
|
-
|
|
196
|
-
## View existing custom components in storybook
|
|
197
|
-
View custom components in a storybook by performing the following procedure:
|
|
198
|
-
1. Enter the following command to open the project.
|
|
199
|
-
`cd <enter your project's name>`
|
|
200
|
-
|
|
201
|
-
2. Enter the following command to start the storybook in development mode.
|
|
202
|
-
`npm start`
|
|
203
|
-
|
|
204
|
-
The storybook is launched in a browser where you can view the components working in isolation.
|
|
21
|
+
Find the latest documentation on using **DX Component Builder** [here](https://docs.pega.com/bundle/constellation-dx-components-88/page/constellation-dx-components/custom-components/lifecycle-dx-cosmos-components.html)
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
|
2
|
+
MIIFezCCA2OgAwIBAgIJAKvPeOFKh/IbMA0GCSqGSIb3DQEBCwUAMHAxCzAJBgNV
|
|
3
|
+
BAYTAlVTMRYwFAYDVQQIDA1NYXNzYWNodX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AcA6cwCqFcoDY1pDlYSNMCCUBGnw+XcD/I+55Qz5Pt0OGn7xRy2td3GASgpR
|
|
45
|
+
kLqUkuiR53LGOd0sXionmTq08Pjlxu8CggEACjKlyYFSmlMVmRShc1OAHN1oRexz
|
|
46
|
+
Z26vXK4oqD7lDbHv9l0ehmalxcn+qnW2qmFkjUaQpAtE5Hg7sWUexyZBVABHlmh0
|
|
47
|
+
nx8vEQuB+HYXk4ijxVc13yBKb1YczewXnaRKQhUZua3O3AfEskgcjQBimY8HPBu0
|
|
48
|
+
lz6gYuMKVoj012MO1L2L8QKZkTmaOi2u7yU/eG4k1zUhTutLoMvPuxZnneG0PdMD
|
|
49
|
+
6Cp8D9zt7CEWoC4QQSCK5j5nS+YQSz+DQqv75JAF62WFBonEyGCZESvIKFsh7ouv
|
|
50
|
+
++g2Lr1Bh6g3JGeG3J9aRMC+yOpGb6Y2lqP3Dd16VAw2/6ES6u7jnrSUxA==
|
|
51
|
+
-----END RSA PRIVATE KEY-----
|
|
@@ -4,23 +4,39 @@
|
|
|
4
4
|
"description": "{{description}}",
|
|
5
5
|
"organization": "{{organization}}",
|
|
6
6
|
"main": "src/index.js",
|
|
7
|
+
"type": "module",
|
|
7
8
|
"scripts": {
|
|
8
|
-
"
|
|
9
|
-
"build": "tsc -b tsconfig.build.json",
|
|
9
|
+
"startStorybook": "start-storybook --port 6040 --quiet",
|
|
10
10
|
"lint": "run-p -cl lint:*",
|
|
11
|
-
"fix": "run-p -cl fix:*",
|
|
12
11
|
"authenticate": "custom-dx-components authenticate",
|
|
12
|
+
"buildComponent": "custom-dx-components buildComponent",
|
|
13
|
+
"buildAllComponents": "custom-dx-components buildAllComponents",
|
|
13
14
|
"create": "custom-dx-components create",
|
|
15
|
+
"createAll": "custom-dx-components createAll",
|
|
14
16
|
"publish": "custom-dx-components publish",
|
|
17
|
+
"publishAll": "custom-dx-components publishAll",
|
|
18
|
+
"rename": "custom-dx-components rename",
|
|
15
19
|
"list": "custom-dx-components list",
|
|
16
20
|
"validate-schema": "custom-dx-components validateSchema",
|
|
17
21
|
"update": "custom-dx-components update",
|
|
18
22
|
"delete": "custom-dx-components delete",
|
|
23
|
+
"deleteAll": "custom-dx-components deleteAll",
|
|
24
|
+
"promoteWebPack": "custom-dx-components promoteWebPack",
|
|
25
|
+
"revertWebPack": "custom-dx-components revertWebPack",
|
|
19
26
|
"lint:types": "tsc --noEmit",
|
|
20
27
|
"lint:es": "eslint .",
|
|
21
28
|
"lint:styles": "stylelint \"./**/*.@(js|jsx|ts|tsx)\"",
|
|
22
29
|
"lint:format": "prettier -c .",
|
|
23
30
|
"lint:spelling": "cspell --no-progress **/*",
|
|
31
|
+
"test": "echo 'Running functional and unit tests will DELETE existing local components, proceed (y/n)?' && read proceed && if test \"$proceed\" = \"y\"; then npm run test:full; fi ",
|
|
32
|
+
"test:full": "npm run test:functional && npm run test:unit",
|
|
33
|
+
"test:functional": "npm run test:functional:local --prefix node_modules/@pega/custom-dx-components",
|
|
34
|
+
"test-coverage": "node --input-type=module --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand node_modules/@pega/custom-dx-component --ci --testResultsProcessor='jest-junit' --coverage",
|
|
35
|
+
"test:unit": "npm run test:unit:local --prefix node_modules/@pega/custom-dx-components"
|
|
36
|
+
},
|
|
37
|
+
"scriptsComments": {
|
|
38
|
+
"build": "tsc -b tsconfig.build.json",
|
|
39
|
+
"fix": "run-p -cl fix:*",
|
|
24
40
|
"fix:es": "eslint --fix .",
|
|
25
41
|
"fix:format": "prettier -w ."
|
|
26
42
|
},
|
|
@@ -35,35 +51,51 @@
|
|
|
35
51
|
"license": "Enter License",
|
|
36
52
|
"sideEffects": false,
|
|
37
53
|
"dependencies": {
|
|
38
|
-
"@pega/cosmos-react-core": "^3.
|
|
39
|
-
"
|
|
54
|
+
"@pega/cosmos-react-core": "^3.2.2",
|
|
55
|
+
"@pega/cosmos-react-work": "3.2.2",
|
|
56
|
+
"dayjs": "^1.11.5",
|
|
57
|
+
"polished": "^4.2.2",
|
|
58
|
+
"prop-types": "^15.8.1",
|
|
40
59
|
"react": "^17.0.2",
|
|
41
60
|
"react-autosuggest": "^10.1.0",
|
|
42
61
|
"react-dom": "^17.0.2",
|
|
43
|
-
"react-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
62
|
+
"react-is": "^18.2.0",
|
|
63
|
+
"react-player": "^2.10.1",
|
|
64
|
+
"react-redux": "^7.2.6",
|
|
65
|
+
"styled-components": "^5.3.5"
|
|
47
66
|
},
|
|
48
67
|
"devDependencies": {
|
|
49
|
-
"@pega/configs": "^0.3
|
|
50
|
-
"@pega/custom-dx-components": "^0.
|
|
51
|
-
"@
|
|
52
|
-
"@storybook/addon-
|
|
53
|
-
"@storybook/addon-
|
|
54
|
-
"@storybook/addon-
|
|
55
|
-
"@storybook/
|
|
56
|
-
"@storybook/
|
|
57
|
-
"@storybook/
|
|
68
|
+
"@pega/configs": "^0.5.3",
|
|
69
|
+
"@pega/custom-dx-components": "^0.8.1",
|
|
70
|
+
"@pega/eslint-config": "^0.3.2",
|
|
71
|
+
"@storybook/addon-actions": "^6.5.12",
|
|
72
|
+
"@storybook/addon-essentials": "^6.5.12",
|
|
73
|
+
"@storybook/addon-links": "^6.5.12",
|
|
74
|
+
"@storybook/addon-knobs": "^6.3.1",
|
|
75
|
+
"@storybook/addon-storysource": "^6.5.12",
|
|
76
|
+
"@storybook/builder-webpack5": "^6.5.12",
|
|
77
|
+
"@storybook/manager-webpack5": "^6.5.12",
|
|
78
|
+
"@storybook/react": "^6.5.12",
|
|
58
79
|
"@types/emoji-mart": "^3.0.9",
|
|
59
80
|
"@types/react": "^17.0.39",
|
|
60
81
|
"@types/react-color": "^3.0.6",
|
|
61
82
|
"@types/react-dom": "^17.0.11",
|
|
62
|
-
"@types/styled-components": "^5.1.
|
|
63
|
-
"eslint": "^
|
|
83
|
+
"@types/styled-components": "^5.1.26",
|
|
84
|
+
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
85
|
+
"eslint": "^8.4.1",
|
|
86
|
+
"eslint-plugin-import": "^2.25.3",
|
|
87
|
+
"eslint-plugin-jest": "^25.3.0",
|
|
88
|
+
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
89
|
+
"eslint-plugin-mdx": "^2.0.5",
|
|
90
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
91
|
+
"eslint-plugin-react": "^7.27.1",
|
|
92
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
93
|
+
"eslint-plugin-sonarjs": "^0.11.0",
|
|
94
|
+
"jest": "^29.3.1",
|
|
95
|
+
"jest-environment-jsdom": "^29.3.1",
|
|
64
96
|
"npm-run-all": "^4.1.5",
|
|
65
|
-
"prettier": "2.
|
|
66
|
-
"stylelint": "^14.
|
|
67
|
-
"typescript": "~4.
|
|
97
|
+
"prettier": "2.7.1",
|
|
98
|
+
"stylelint": "^14.11.0",
|
|
99
|
+
"typescript": "~4.8.3"
|
|
68
100
|
}
|
|
69
101
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# directory for components #
|
|
@@ -1,19 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"components-directory-path": "src/components",
|
|
3
3
|
"server-config": {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"password": "password",
|
|
7
|
-
"rulesetName": "rulesetName",
|
|
8
|
-
"rulesetVersion": "rulesetVersion",
|
|
4
|
+
"rulesetName": "CustomDXComponents",
|
|
5
|
+
"rulesetVersion": "01-01-01",
|
|
9
6
|
"sourceOfComponents": "Server",
|
|
10
7
|
"devBuild": false,
|
|
11
|
-
"
|
|
12
|
-
"
|
|
8
|
+
"serverType": "infinity",
|
|
9
|
+
"server": "https://localhost:1080/prweb",
|
|
10
|
+
"clientId": "10095186356008396159",
|
|
11
|
+
"clientSecret_comment": "Needed only when using 'passwordCreds' or 'clientCreds' grantType",
|
|
12
|
+
"clientSecret": "",
|
|
13
|
+
"grantType": "authCode",
|
|
14
|
+
"redirectUri": "https://localhost:4010/",
|
|
15
|
+
"authService_comment": "Infinity authentication service alias (when grantType is set to 'authCode')",
|
|
16
|
+
"authService": "pega",
|
|
17
|
+
"cert_and_key_comment": "Path to SSL certificate file and SSL key file to use when starting local HTTPS server",
|
|
18
|
+
"cert_and_key_comment2": "Needed only when using 'authCode' grantType and redirectUri begins with 'https://localhost'",
|
|
19
|
+
"cert": "./keys/dxcb.crt",
|
|
20
|
+
"key": "./keys/dxcb.key",
|
|
21
|
+
"user_and_password_comment": "useful primarily when grantType is set to 'passwordCreds'",
|
|
22
|
+
"user": "",
|
|
23
|
+
"password": "",
|
|
24
|
+
"questions_comment": "useful for designating how frequently questions should be asked during npm run authenticate",
|
|
25
|
+
"questions_askAlways": "",
|
|
26
|
+
"questions_askNever": "",
|
|
27
|
+
"questions_askOnce": "server,authService",
|
|
28
|
+
"questions_askedOnce": ""
|
|
13
29
|
},
|
|
14
30
|
"component": {
|
|
15
|
-
"library": "",
|
|
31
|
+
"library": "Extensions",
|
|
16
32
|
"type": "",
|
|
33
|
+
"version": "1.0.0",
|
|
17
34
|
"subtype": "",
|
|
18
35
|
"description": "",
|
|
19
36
|
"icon": ""
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Use default npmjs registry for the SDKs
|
|
2
|
+
registry = https://registry.npmjs.org/
|
|
3
|
+
# For now, turn off npm auto-install of peer dependencies to get rid of warnings
|
|
4
|
+
legacy-peer-deps=true
|
|
5
|
+
# Turn off messages such as > react-sdk@0.1.0 list and > dx-component-builder-sdk list
|
|
6
|
+
loglevel=silent
|
|
7
|
+
#
|
|
8
|
+
#
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ESLint } from 'eslint';
|
|
2
|
+
import chalk from 'chalk';
|
|
3
|
+
|
|
4
|
+
export const lintComponent = async (dirToLint) => {
|
|
5
|
+
// console.log("in dx-component-builder-sdk: lintComponent - dirToLint: " + dirToLint);
|
|
6
|
+
console.log(chalk.green(` linting ${dirToLint}`));
|
|
7
|
+
|
|
8
|
+
// 1. Create an instance.
|
|
9
|
+
const eslint = new ESLint();
|
|
10
|
+
|
|
11
|
+
// 2. Lint files.
|
|
12
|
+
const results = await eslint.lintFiles([dirToLint]);
|
|
13
|
+
|
|
14
|
+
// 3. Format the results.
|
|
15
|
+
const formatter = await eslint.loadFormatter("stylish");
|
|
16
|
+
const resultText = formatter.format(results);
|
|
17
|
+
|
|
18
|
+
// 4. Output it.
|
|
19
|
+
// console.log(`lint resultText: ${resultText}`);
|
|
20
|
+
console.log(resultText);
|
|
21
|
+
|
|
22
|
+
// Indicate linting is complete
|
|
23
|
+
console.log(chalk.green(` linting complete...`));
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
// inpsired by https://eslint.org/docs/latest/developer-guide/nodejs-api
|
|
27
|
+
|
|
28
|
+
// (async function main() {
|
|
29
|
+
// // 1. Create an instance.
|
|
30
|
+
// const eslint = new ESLint();
|
|
31
|
+
|
|
32
|
+
// // 2. Lint files.
|
|
33
|
+
// const results = await eslint.lintFiles(["lib/**/*.js"]);
|
|
34
|
+
|
|
35
|
+
// // 3. Format the results.
|
|
36
|
+
// const formatter = await eslint.loadFormatter("stylish");
|
|
37
|
+
// const resultText = formatter.format(results);
|
|
38
|
+
|
|
39
|
+
// // 4. Output it.
|
|
40
|
+
// console.log(resultText);
|
|
41
|
+
// })().catch((error) => {
|
|
42
|
+
// process.exitCode = 1;
|
|
43
|
+
// console.error(error);
|
|
44
|
+
// });
|
|
45
|
+
|
|
46
|
+
export default lintComponent;
|