@pega/custom-dx-components 0.23.21 → 0.23.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/tasks/create/templates/Constellation/Field/Boolean/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
- package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.js → src/tasks/create/templates/Constellation/Field/Boolean/mock.ts.mustache} +1 -2
- package/src/tasks/create/templates/Constellation/Field/Date/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +5 -2
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.js → src/tasks/create/templates/Constellation/Field/Date/mock.ts.mustache} +1 -2
- package/src/tasks/create/templates/Constellation/Field/DateTime/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +5 -2
- package/src/tasks/create/templates/Constellation/Field/DateTime/{mock.js.mustache → mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Decimal/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -3
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.js → src/tasks/create/templates/Constellation/Field/Decimal/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -3
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.js → src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -3
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/{mock.js.mustache → mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Integer/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -3
- package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.js → src/tasks/create/templates/Constellation/Field/Integer/mock.ts.mustache} +1 -2
- package/src/tasks/create/templates/Constellation/Field/Picklist/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -4
- package/src/tasks/create/templates/Constellation/Field/Picklist/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/{Picklist-RadioButtons/mock.js.mustache → Picklist/mock.ts.mustache} +1 -2
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -4
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/{mock.js.mustache → mock.ts.mustache} +1 -2
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -4
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/Field/{Picklist/mock.js.mustache → Picklist-RadioButtons/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Text/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -3
- package/{tests/assets/components/create/Pega_DXIL_MyTestText/mock.js → src/tasks/create/templates/Constellation/Field/Text/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/{Text-Paragraph/demo.stories.jsx.mustache → Text-Email/demo.stories.tsx.mustache} +3 -3
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.js → src/tasks/create/templates/Constellation/Field/Text-Email/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Text-Input/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Text-Input/{mock.js.mustache → mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/{Text-Email/demo.stories.jsx.mustache → Text-Paragraph/demo.stories.tsx.mustache} +3 -3
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/mock.js → src/tasks/create/templates/Constellation/Field/Text-Paragraph/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/{mock.js.mustache → mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/Text-URL/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.js → src/tasks/create/templates/Constellation/Field/Text-URL/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Field/TimeOfDay/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/mock.js → src/tasks/create/templates/Constellation/Field/TimeOfDay/mock.ts.mustache} +2 -2
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.jsx → src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.tsx.mustache} +4 -4
- package/src/tasks/create/templates/Constellation/Template/DETAILS/{mock.js.mustache → mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -2
- package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.js → src/tasks/create/templates/Constellation/Template/DETAILS-region/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Template/FORM/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -3
- package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/mock.js → src/tasks/create/templates/Constellation/Template/FORM/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Template/FORM-region/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +5 -3
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/mock.js → src/tasks/create/templates/Constellation/Template/FORM-region/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Template/PAGE/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -3
- package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/mock.js → src/tasks/create/templates/Constellation/Template/PAGE/mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/{Launchpad/Widget/CASE/demo.stories.jsx.mustache → Constellation/Widget/CASE/demo.stories.tsx.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Widget/CASE/{mock.js.mustache → mock.ts.mustache} +1 -1
- package/src/tasks/create/templates/Constellation/Widget/PAGE/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
- package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/mock.js → src/tasks/create/templates/Constellation/Widget/PAGE/mock.ts.mustache} +2 -1
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/{mock.js.mustache → mock.ts.mustache} +2 -2
- package/src/tasks/create/templates/Launchpad/Widget/CASE/PConnProps.d.ts.mustache +46 -0
- package/src/tasks/create/templates/{Constellation/Widget/CASE/demo.stories.jsx.mustache → Launchpad/Widget/CASE/demo.stories.tsx.mustache} +1 -1
- package/src/tasks/create/templates/Launchpad/Widget/CASE/{index.jsx.mustache → index.tsx.mustache} +17 -8
- package/src/tasks/create/templates/Launchpad/Widget/CASE/{mock.js.mustache → mock.ts.mustache} +1 -1
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{Avatar.jsx.mustache → Avatar.tsx.mustache} +17 -5
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{Operator.jsx.mustache → Operator.tsx.mustache} +29 -7
- 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.jsx.mustache → demo.stories.tsx.mustache} +1 -1
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{index.jsx.mustache → index.tsx.mustache} +13 -4
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{mock.js.mustache → mock.ts.mustache} +1 -2
- package/src/tasks/init/template/.eslintrc.json +1 -1
- package/src/tasks/init/template/package.json.mustache +5 -4
- package/tests/assets/components/create/Pega_DXIL_MyTestText/PConnProps.d.ts +46 -0
- package/tests/assets/components/create/Pega_DXIL_MyTestText/{demo.stories.jsx → demo.stories.tsx} +10 -16
- package/tests/assets/components/create/Pega_DXIL_MyTestText/{index.jsx → index.tsx} +17 -5
- package/tests/assets/components/{createAll/Constellation/Pega_DXIL_MyText/mock.js → create/Pega_DXIL_MyTestText/mock.ts} +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/{demo.stories.jsx → demo.stories.tsx} +21 -22
- package/tests/assets/components/createAll/Constellation/{Pega_DXIL_MyBoolean/event-utils.js → Pega_DXIL_MyAutocomplete/event-utils.ts} +4 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/{index.jsx → index.tsx} +319 -125
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/{mock.js → mock.ts} +1 -2
- package/tests/assets/components/createAll/Constellation/{Pega_DXIL_MyDateTime/suggestions-handler.js → Pega_DXIL_MyAutocomplete/suggestions-handler.ts} +1 -1
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyAutocomplete/utils.js → Constellation/Pega_DXIL_MyAutocomplete/utils.ts} +66 -30
- 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.js → boolean-format.ts} +1 -1
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyBoolean/demo.stories.jsx → Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx} +5 -6
- package/tests/assets/components/createAll/Constellation/{Pega_DXIL_MyAutocomplete/event-utils.js → Pega_DXIL_MyBoolean/event-utils.ts} +4 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/{index.jsx → index.tsx} +35 -8
- package/{src/tasks/create/templates/Constellation/Field/Boolean/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.ts} +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/{demo.stories.jsx → demo.stories.tsx} +12 -22
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/{index.jsx → index.tsx} +19 -8
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/{mock.js → mock.ts} +1 -1
- 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.js → event-utils.ts} +4 -4
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{index.jsx → index.tsx} +48 -12
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{mock.js → mock.ts} +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{suggestions-handler.js → suggestions-handler.ts} +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDate/demo.stories.jsx → Constellation/Pega_DXIL_MyDate/demo.stories.tsx} +12 -20
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDate/index.jsx → Constellation/Pega_DXIL_MyDate/index.tsx} +82 -36
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/{mock.js → mock.ts} +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/{suggestions-handler.js → suggestions-handler.ts} +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDateTime/demo.stories.jsx → Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx} +12 -20
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDateTime/index.jsx → Constellation/Pega_DXIL_MyDateTime/index.tsx} +64 -20
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/{mock.js → mock.ts} +2 -2
- 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.js → event-utils.ts} +4 -4
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDecimal/index.jsx → Constellation/Pega_DXIL_MyDecimal/index.tsx} +37 -7
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/{mock.js → mock.ts} +2 -2
- package/tests/assets/components/createAll/Constellation/{Pega_DXIL_MyAutocomplete/suggestions-handler.js → Pega_DXIL_MyDecimal/suggestions-handler.ts} +1 -1
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDetails/StatusWork.jsx → Constellation/Pega_DXIL_MyDetails/StatusWork.tsx} +2 -2
- package/{src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.jsx.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx} +2 -2
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDetails/index.jsx → Constellation/Pega_DXIL_MyDetails/index.tsx} +22 -4
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDetails/mock.js → Constellation/Pega_DXIL_MyDetails/mock.ts} +2 -2
- 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.jsx → index.tsx} +29 -10
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/{mock.js → mock.ts} +2 -2
- 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.jsx → demo.stories.tsx} +15 -6
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyForm/index.jsx → Constellation/Pega_DXIL_MyForm/index.tsx} +11 -6
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyForm/mock.js → Constellation/Pega_DXIL_MyForm/mock.ts} +2 -2
- 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.jsx → index.tsx} +50 -8
- package/{src/tasks/create/templates/Constellation/Field/Integer/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts} +1 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPage/GetNextWork.jsx → Constellation/Pega_DXIL_MyPage/GetNextWork.tsx} +12 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPage/demo.stories.jsx → Constellation/Pega_DXIL_MyPage/demo.stories.tsx} +12 -20
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/{index.jsx → index.tsx} +16 -4
- package/{src/tasks/create/templates/Constellation/Template/PAGE/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/mock.ts} +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{Avatar.jsx → Avatar.tsx} +19 -6
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{Operator.jsx → Operator.tsx} +29 -7
- 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.jsx → demo.stories.tsx} +11 -22
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{index.jsx → index.tsx} +23 -3
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPageCaseWidget/mock.js → Constellation/Pega_DXIL_MyPageCaseWidget/mock.ts} +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPageWidget/demo.stories.jsx → Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx} +8 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/{index.jsx → index.tsx} +14 -1
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPageWidget/mock.js → Constellation/Pega_DXIL_MyPageWidget/mock.ts} +2 -1
- 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.jsx → index.tsx} +29 -11
- package/{src/tasks/create/templates/Constellation/Field/Text-Paragraph/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.ts} +2 -2
- 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/{Launchpad/Pega_DXIL_MyPercentage/index.jsx → Constellation/Pega_DXIL_MyPercentage/index.tsx} +36 -6
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/{mock.js → mock.ts} +2 -2
- 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/{Launchpad/Pega_DXIL_MyPhone/index.jsx → Constellation/Pega_DXIL_MyPhone/index.tsx} +36 -14
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/{mock.js → mock.ts} +2 -2
- 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.jsx → demo.stories.tsx} +12 -20
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.ts +18 -0
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPicklist/index.jsx → Constellation/Pega_DXIL_MyPicklist/index.tsx} +52 -12
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.ts +68 -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/{Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.jsx → Constellation/Pega_DXIL_MyRadioButtons/demo.stories.tsx} +16 -20
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/{index.jsx → index.tsx} +34 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.ts +69 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyText/demo.stories.jsx → Constellation/Pega_DXIL_MyText/demo.stories.tsx} +10 -16
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyText/index.jsx → Constellation/Pega_DXIL_MyText/index.tsx} +17 -5
- package/{src/tasks/create/templates/Constellation/Field/Text/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/mock.ts} +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyTextInput/StatusWork.jsx → Constellation/Pega_DXIL_MyTextInput/StatusWork.tsx} +7 -3
- 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.jsx → index.tsx} +54 -30
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/{mock.js → mock.ts} +2 -2
- 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/{Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.jsx → Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx} +8 -17
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/{index.jsx → index.tsx} +45 -14
- package/{src/tasks/create/templates/Constellation/Field/TimeOfDay/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.ts} +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/{StatusWork.jsx → StatusWork.tsx} +2 -2
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx → Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx} +4 -3
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/{index.jsx → index.tsx} +21 -4
- package/{src/tasks/create/templates/Constellation/Template/DETAILS-region/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.ts} +2 -2
- 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.jsx → demo.stories.tsx} +9 -3
- package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyTwoColumnForm/index.jsx → Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx} +14 -2
- package/{src/tasks/create/templates/Constellation/Template/FORM-region/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/mock.ts} +2 -2
- 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.jsx → index.tsx} +38 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/{mock.js → mock.ts} +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/demo.stories.tsx +90 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/{index.jsx → index.tsx} +319 -125
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/mock.ts +68 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyAutocomplete/utils.js → Launchpad/Pega_DXIL_MyAutocomplete/utils.ts} +66 -30
- 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.js → boolean-format.ts} +1 -1
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyBoolean/demo.stories.jsx → Launchpad/Pega_DXIL_MyBoolean/demo.stories.tsx} +5 -6
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.ts +18 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/{index.jsx → index.tsx} +35 -8
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/{mock.js → mock.ts} +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/{demo.stories.jsx → demo.stories.tsx} +12 -20
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/{index.jsx → index.tsx} +17 -8
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/{mock.js → mock.ts} +1 -1
- 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.jsx → index.tsx} +48 -12
- package/{src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.ts} +2 -2
- 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/{Constellation/Pega_DXIL_MyDate/demo.stories.jsx → Launchpad/Pega_DXIL_MyDate/demo.stories.tsx} +12 -20
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDate/index.jsx → Launchpad/Pega_DXIL_MyDate/index.tsx} +82 -36
- package/{src/tasks/create/templates/Constellation/Field/Date/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.ts} +1 -2
- 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/{Constellation/Pega_DXIL_MyDateTime/demo.stories.jsx → Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx} +12 -20
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDateTime/index.jsx → Launchpad/Pega_DXIL_MyDateTime/index.tsx} +64 -20
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/{mock.js → mock.ts} +2 -2
- 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/{Constellation/Pega_DXIL_MyDecimal/index.jsx → Launchpad/Pega_DXIL_MyDecimal/index.tsx} +37 -7
- package/{src/tasks/create/templates/Constellation/Field/Decimal/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.ts} +2 -2
- 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/{Constellation/Pega_DXIL_MyDetails/StatusWork.jsx → Launchpad/Pega_DXIL_MyDetails/StatusWork.tsx} +2 -2
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDetails/demo.stories.jsx → Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx} +3 -2
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDetails/index.jsx → Launchpad/Pega_DXIL_MyDetails/index.tsx} +22 -4
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDetails/mock.js → Launchpad/Pega_DXIL_MyDetails/mock.ts} +2 -2
- 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.jsx → index.tsx} +29 -10
- package/{src/tasks/create/templates/Constellation/Field/Text-Email/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.ts} +2 -2
- 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.jsx → demo.stories.tsx} +17 -13
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyForm/index.jsx → Launchpad/Pega_DXIL_MyForm/index.tsx} +11 -6
- package/{src/tasks/create/templates/Constellation/Template/FORM/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/mock.ts} +2 -2
- 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.jsx → index.tsx} +50 -8
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/{mock.js → mock.ts} +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPage/GetNextWork.jsx → Launchpad/Pega_DXIL_MyPage/GetNextWork.tsx} +12 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPage/demo.stories.jsx → Launchpad/Pega_DXIL_MyPage/demo.stories.tsx} +12 -21
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/{index.jsx → index.tsx} +16 -4
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPage/mock.js → Launchpad/Pega_DXIL_MyPage/mock.ts} +2 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{Avatar.jsx → Avatar.tsx} +17 -5
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{Operator.jsx → Operator.tsx} +29 -7
- 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.jsx → demo.stories.tsx} +12 -21
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{index.jsx → index.tsx} +13 -4
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPageCaseWidget/mock.js → Launchpad/Pega_DXIL_MyPageCaseWidget/mock.ts} +1 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPageWidget/demo.stories.jsx → Launchpad/Pega_DXIL_MyPageWidget/demo.stories.tsx} +7 -4
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/{index.jsx → index.tsx} +14 -1
- package/{src/tasks/create/templates/Constellation/Widget/PAGE/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/mock.ts} +2 -1
- 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.jsx → index.tsx} +29 -11
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyParagraph/mock.js → Launchpad/Pega_DXIL_MyParagraph/mock.ts} +2 -2
- 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/{Constellation/Pega_DXIL_MyPercentage/index.jsx → Launchpad/Pega_DXIL_MyPercentage/index.tsx} +36 -6
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/{mock.js → mock.ts} +2 -2
- 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/{Constellation/Pega_DXIL_MyPhone/index.jsx → Launchpad/Pega_DXIL_MyPhone/index.tsx} +36 -14
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/{mock.js → mock.ts} +2 -2
- 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.jsx → demo.stories.tsx} +12 -20
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.ts +18 -0
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPicklist/index.jsx → Launchpad/Pega_DXIL_MyPicklist/index.tsx} +52 -12
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.ts +68 -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/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.jsx → index.tsx} +34 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.ts +69 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyText/demo.stories.jsx → Launchpad/Pega_DXIL_MyText/demo.stories.tsx} +10 -16
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyText/index.jsx → Launchpad/Pega_DXIL_MyText/index.tsx} +17 -5
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/{mock.js → mock.ts} +2 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTextInput/StatusWork.jsx → Launchpad/Pega_DXIL_MyTextInput/StatusWork.tsx} +7 -3
- 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.jsx → index.tsx} +54 -30
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/{mock.js → mock.ts} +2 -2
- 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/{Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.jsx → Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.tsx} +8 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/{index.jsx → index.tsx} +45 -14
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTimeOfDay/mock.js → Launchpad/Pega_DXIL_MyTimeOfDay/mock.ts} +2 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +9 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +46 -0
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/{StatusWork.jsx → StatusWork.tsx} +2 -2
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx → Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx} +4 -2
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/{index.jsx → index.tsx} +21 -4
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/{mock.js → mock.ts} +2 -2
- 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.jsx → demo.stories.tsx} +11 -10
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTwoColumnForm/index.jsx → Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx} +14 -2
- package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTwoColumnForm/mock.js → Launchpad/Pega_DXIL_MyTwoColumnForm/mock.ts} +2 -2
- 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.jsx → index.tsx} +38 -9
- package/{src/tasks/create/templates/Constellation/Field/Text-URL/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.ts} +2 -2
- 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 +4 -4
- package/tests/functional/localCreateBuildDelete.test.js +2 -2
- package/tests/functional/localCreateListDelete.test.js +2 -2
- package/tests/functional/localCreatePublishAllDeleteAll.test.js +4 -4
- package/tests/functional/localCreatePublishDelete.test.js +2 -2
- package/tests/functional/localCreateRenameDelete.test.js +2 -2
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.jsx +0 -67
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.jsx +0 -61
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.jsx +0 -59
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.jsx +0 -61
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.jsx +0 -59
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.jsx +0 -61
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.jsx +0 -59
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.js +0 -69
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/demo.stories.jsx +0 -91
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.js +0 -69
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.jsx +0 -61
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.jsx +0 -59
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/event-utils.js +0 -18
- package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/demo.stories.jsx +0 -89
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/mock.js +0 -69
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.jsx +0 -66
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.jsx +0 -60
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.jsx +0 -59
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.jsx +0 -60
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.jsx +0 -59
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.jsx +0 -60
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.jsx +0 -58
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.js +0 -69
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.js +0 -69
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.jsx +0 -59
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +0 -9
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.jsx +0 -58
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/event-utils.js +0 -18
- package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.js +0 -9
- /package/src/tasks/create/templates/Launchpad/Widget/CASE/{styles.js.mustache → styles.ts.mustache} +0 -0
- /package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{styles.js.mustache → styles.ts.mustache} +0 -0
- /package/tests/assets/components/create/Pega_DXIL_MyTestText/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/{styles.js → styles.ts} +0 -0
- /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/{styles.js → styles.ts} +0 -0
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* eslint-disable storybook/prefer-pascal-case */
|
|
2
|
-
/* eslint-disable react/jsx-no-useless-fragment */
|
|
3
|
-
import { withKnobs } from '@storybook/addon-knobs';
|
|
4
|
-
|
|
5
|
-
import PegaDxilMyUrl from './index.jsx';
|
|
6
|
-
import { stateProps, configProps } from './mock';
|
|
7
|
-
|
|
8
|
-
export default {
|
|
9
|
-
title: 'PegaDxilMyUrl',
|
|
10
|
-
decorators: [withKnobs],
|
|
11
|
-
component: PegaDxilMyUrl
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export const BasePegaDxilMyUrl = () => {
|
|
15
|
-
const props = {
|
|
16
|
-
value: configProps.value,
|
|
17
|
-
placeholder: configProps.placeholder,
|
|
18
|
-
label: configProps.label,
|
|
19
|
-
helperText: configProps.helperText,
|
|
20
|
-
testId: configProps.testId,
|
|
21
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
22
|
-
|
|
23
|
-
getPConnect: () => {
|
|
24
|
-
return {
|
|
25
|
-
getStateProps: () => {
|
|
26
|
-
return stateProps;
|
|
27
|
-
},
|
|
28
|
-
getActionsApi: () => {
|
|
29
|
-
return {
|
|
30
|
-
updateFieldValue: () => {
|
|
31
|
-
/* nothing */
|
|
32
|
-
},
|
|
33
|
-
triggerFieldChange: () => {
|
|
34
|
-
/* nothing */
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
},
|
|
38
|
-
ignoreSuggestion: () => {
|
|
39
|
-
/* nothing */
|
|
40
|
-
},
|
|
41
|
-
acceptSuggestion: () => {
|
|
42
|
-
/* nothing */
|
|
43
|
-
},
|
|
44
|
-
setInheritedProps: () => {
|
|
45
|
-
/* nothing */
|
|
46
|
-
},
|
|
47
|
-
resolveConfigProps: () => {
|
|
48
|
-
/* nothing */
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
return (
|
|
55
|
-
<>
|
|
56
|
-
<PegaDxilMyUrl {...props} />
|
|
57
|
-
</>
|
|
58
|
-
);
|
|
59
|
-
};
|
|
@@ -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;
|
package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/demo.stories.jsx
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/* eslint-disable react/jsx-no-useless-fragment */
|
|
2
|
-
import { useState } from 'react';
|
|
3
|
-
import { withKnobs } from '@storybook/addon-knobs';
|
|
4
|
-
|
|
5
|
-
import { configProps, rawMetadata, fieldMetadata, stateProps } from './mock.js';
|
|
6
|
-
import PegaDxilMyAutocomplete from './index.jsx';
|
|
7
|
-
|
|
8
|
-
export default {
|
|
9
|
-
title: 'PegaDxilMyAutocomplete',
|
|
10
|
-
decorators: [withKnobs],
|
|
11
|
-
component: PegaDxilMyAutocomplete
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export const BasePegaDxilMyAutocomplete = () => {
|
|
15
|
-
const [value, setValue] = useState(configProps.value);
|
|
16
|
-
|
|
17
|
-
const props = {
|
|
18
|
-
value,
|
|
19
|
-
placeholder: configProps.placeholder,
|
|
20
|
-
label: configProps.label,
|
|
21
|
-
helperText: configProps.helperText,
|
|
22
|
-
datasource: configProps.datasource,
|
|
23
|
-
testId: configProps.testId,
|
|
24
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
25
|
-
fieldMetadata,
|
|
26
|
-
|
|
27
|
-
getPConnect: () => {
|
|
28
|
-
return {
|
|
29
|
-
getConfigProps: () => {
|
|
30
|
-
return configProps;
|
|
31
|
-
},
|
|
32
|
-
getStateProps: () => {
|
|
33
|
-
return stateProps;
|
|
34
|
-
},
|
|
35
|
-
getLocalizedValue: val => {
|
|
36
|
-
return val;
|
|
37
|
-
},
|
|
38
|
-
getLocaleRuleNameFromKeys: (localeClass, localeContext, localeName) => {
|
|
39
|
-
return `${localeClass}!${localeContext}!${localeName}`;
|
|
40
|
-
},
|
|
41
|
-
getCaseInfo: () => {
|
|
42
|
-
return {
|
|
43
|
-
getClassName: () => {
|
|
44
|
-
return 'DIXL-MediaCo-Work-NewService';
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
},
|
|
48
|
-
getRawMetadata: () => {
|
|
49
|
-
return rawMetadata;
|
|
50
|
-
},
|
|
51
|
-
getActionsApi: () => {
|
|
52
|
-
return {
|
|
53
|
-
updateFieldValue: (propName, theValue) => {
|
|
54
|
-
setValue(theValue);
|
|
55
|
-
},
|
|
56
|
-
triggerFieldChange: () => {
|
|
57
|
-
/* nothing */
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
},
|
|
61
|
-
getValidationApi: () => {
|
|
62
|
-
return {
|
|
63
|
-
validate: () => {
|
|
64
|
-
/* nothing */
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
},
|
|
68
|
-
ignoreSuggestion: () => {
|
|
69
|
-
/* nothing */
|
|
70
|
-
},
|
|
71
|
-
acceptSuggestion: () => {
|
|
72
|
-
/* nothing */
|
|
73
|
-
},
|
|
74
|
-
setInheritedProps: () => {
|
|
75
|
-
/* nothing */
|
|
76
|
-
},
|
|
77
|
-
resolveConfigProps: () => {
|
|
78
|
-
/* nothing */
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
return (
|
|
85
|
-
<>
|
|
86
|
-
<PegaDxilMyAutocomplete {...props} />
|
|
87
|
-
</>
|
|
88
|
-
);
|
|
89
|
-
};
|
|
@@ -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;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/* eslint-disable storybook/default-exports */
|
|
2
|
-
/* eslint-disable storybook/prefer-pascal-case */
|
|
3
|
-
export const configProps = {
|
|
4
|
-
value: '',
|
|
5
|
-
label: 'Picklist Sample',
|
|
6
|
-
placeholder: 'Select...',
|
|
7
|
-
listType: 'associated',
|
|
8
|
-
datasource: [
|
|
9
|
-
{
|
|
10
|
-
key: 'Option 1',
|
|
11
|
-
value: 'Option 1'
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
key: 'Option 2',
|
|
15
|
-
value: 'Option 2'
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
key: 'Option 3',
|
|
19
|
-
value: 'Option 3'
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
helperText: 'Picklist Helper Text',
|
|
23
|
-
testId: 'picklist-12345678',
|
|
24
|
-
hasSuggestions: false
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export const stateProps = {
|
|
28
|
-
value: '.PicklistSample',
|
|
29
|
-
placeholder: 'Select...',
|
|
30
|
-
datasource: '.PicklistSample',
|
|
31
|
-
hasSuggestions: false
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export const rawMetadata = {
|
|
35
|
-
type: 'Dropdown',
|
|
36
|
-
config: {
|
|
37
|
-
value: '@P .PicklistSample',
|
|
38
|
-
label: '@L Picklist Sample',
|
|
39
|
-
placeholder: '@L Select...',
|
|
40
|
-
listType: 'associated',
|
|
41
|
-
datasource: '@ASSOCIATED .PicklistSample',
|
|
42
|
-
helperText: '@L Picklist Helper Text',
|
|
43
|
-
testId: 'picklist-12345678'
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export const fieldMetadata = {
|
|
48
|
-
classID: 'DIXL-MediaCo-Work-NewService',
|
|
49
|
-
type: 'Text',
|
|
50
|
-
displayAs: 'pxDropdown',
|
|
51
|
-
label: 'Picklist sample',
|
|
52
|
-
datasource: {
|
|
53
|
-
tableType: 'PromptList',
|
|
54
|
-
records: [
|
|
55
|
-
{
|
|
56
|
-
key: 'Option 1',
|
|
57
|
-
value: 'Option 1'
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
key: 'Option 2',
|
|
61
|
-
value: 'Option 2'
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
key: 'Option 3',
|
|
65
|
-
value: 'Option 3'
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
};
|
|
@@ -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;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/* eslint-disable react/jsx-no-useless-fragment */
|
|
2
|
-
import { withKnobs } from '@storybook/addon-knobs';
|
|
3
|
-
|
|
4
|
-
import { configProps, fieldMetadata, stateProps } from './mock.js';
|
|
5
|
-
import PegaDxilMyCurrency from './index.jsx';
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: 'PegaDxilMyCurrency',
|
|
9
|
-
decorators: [withKnobs],
|
|
10
|
-
component: PegaDxilMyCurrency
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const BasePegaDxilMyCurrency = () => {
|
|
14
|
-
const props = {
|
|
15
|
-
value: Number(configProps.value),
|
|
16
|
-
placeholder: configProps.placeholder,
|
|
17
|
-
label: configProps.label,
|
|
18
|
-
helperText: configProps.helperText,
|
|
19
|
-
showGroupSeparators: configProps.showGroupSeparators,
|
|
20
|
-
allowDecimals: configProps.allowDecimals,
|
|
21
|
-
currencyISOCode: configProps.currencyISOCode,
|
|
22
|
-
alwaysShowISOCode: configProps.alwaysShowISOCode,
|
|
23
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
24
|
-
testId: configProps.testId,
|
|
25
|
-
fieldMetadata,
|
|
26
|
-
|
|
27
|
-
getPConnect: () => {
|
|
28
|
-
return {
|
|
29
|
-
getStateProps: () => {
|
|
30
|
-
return stateProps;
|
|
31
|
-
},
|
|
32
|
-
getActionsApi: () => {
|
|
33
|
-
return {
|
|
34
|
-
updateFieldValue: () => {
|
|
35
|
-
/* nothing */
|
|
36
|
-
},
|
|
37
|
-
triggerFieldChange: () => {
|
|
38
|
-
/* nothing */
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
},
|
|
42
|
-
ignoreSuggestion: () => {
|
|
43
|
-
/* nothing */
|
|
44
|
-
},
|
|
45
|
-
acceptSuggestion: () => {
|
|
46
|
-
/* nothing */
|
|
47
|
-
},
|
|
48
|
-
setInheritedProps: () => {
|
|
49
|
-
/* nothing */
|
|
50
|
-
},
|
|
51
|
-
resolveConfigProps: () => {
|
|
52
|
-
/* nothing */
|
|
53
|
-
},
|
|
54
|
-
clearErrorMessages: () => {
|
|
55
|
-
/* nothing */
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
return (
|
|
62
|
-
<>
|
|
63
|
-
<PegaDxilMyCurrency {...props} />
|
|
64
|
-
</>
|
|
65
|
-
);
|
|
66
|
-
};
|
|
@@ -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;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/* eslint-disable react/jsx-no-useless-fragment */
|
|
2
|
-
import { withKnobs } from '@storybook/addon-knobs';
|
|
3
|
-
|
|
4
|
-
import { configProps, fieldMetadata, stateProps } from './mock.js';
|
|
5
|
-
import PegaDxilMyDecimal from './index.jsx';
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: 'PegaDxilMyDecimal',
|
|
9
|
-
decorators: [withKnobs],
|
|
10
|
-
component: PegaDxilMyDecimal
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const BasePegaDxilMyDecimal = () => {
|
|
14
|
-
const props = {
|
|
15
|
-
value: configProps.value,
|
|
16
|
-
placeholder: configProps.placeholder,
|
|
17
|
-
label: configProps.label,
|
|
18
|
-
helperText: configProps.helperText,
|
|
19
|
-
showGroupSeparators: configProps.showGroupSeparators,
|
|
20
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
21
|
-
testId: configProps.testId,
|
|
22
|
-
fieldMetadata,
|
|
23
|
-
|
|
24
|
-
getPConnect: () => {
|
|
25
|
-
return {
|
|
26
|
-
getStateProps: () => {
|
|
27
|
-
return stateProps;
|
|
28
|
-
},
|
|
29
|
-
getActionsApi: () => {
|
|
30
|
-
return {
|
|
31
|
-
updateFieldValue: () => {
|
|
32
|
-
/* nothing */
|
|
33
|
-
},
|
|
34
|
-
triggerFieldChange: () => {
|
|
35
|
-
/* nothing */
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
ignoreSuggestion: () => {
|
|
40
|
-
/* nothing */
|
|
41
|
-
},
|
|
42
|
-
acceptSuggestion: () => {
|
|
43
|
-
/* nothing */
|
|
44
|
-
},
|
|
45
|
-
setInheritedProps: () => {
|
|
46
|
-
/* nothing */
|
|
47
|
-
},
|
|
48
|
-
resolveConfigProps: () => {
|
|
49
|
-
/* nothing */
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
return (
|
|
56
|
-
<>
|
|
57
|
-
<PegaDxilMyDecimal {...props} />
|
|
58
|
-
</>
|
|
59
|
-
);
|
|
60
|
-
};
|
|
@@ -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;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* eslint-disable react/jsx-no-useless-fragment */
|
|
2
|
-
import { withKnobs } from '@storybook/addon-knobs';
|
|
3
|
-
|
|
4
|
-
import PegaDxilMyEmail from './index.jsx';
|
|
5
|
-
import { stateProps, configProps, fieldMetadata } from './mock';
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: 'PegaDxilMyEmail',
|
|
9
|
-
decorators: [withKnobs],
|
|
10
|
-
component: PegaDxilMyEmail
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const BasePegaDxilMyEmail = () => {
|
|
14
|
-
const props = {
|
|
15
|
-
value: configProps.value,
|
|
16
|
-
label: configProps.label,
|
|
17
|
-
placeholder: configProps.placeholder,
|
|
18
|
-
helperText: configProps.helperText,
|
|
19
|
-
testId: configProps.testId,
|
|
20
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
21
|
-
fieldMetadata,
|
|
22
|
-
|
|
23
|
-
getPConnect: () => {
|
|
24
|
-
return {
|
|
25
|
-
getStateProps: () => {
|
|
26
|
-
return stateProps;
|
|
27
|
-
},
|
|
28
|
-
getActionsApi: () => {
|
|
29
|
-
return {
|
|
30
|
-
updateFieldValue: () => {
|
|
31
|
-
/* nothing */
|
|
32
|
-
},
|
|
33
|
-
triggerFieldChange: () => {
|
|
34
|
-
/* nothing */
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
},
|
|
38
|
-
ignoreSuggestion: () => {
|
|
39
|
-
/* nothing */
|
|
40
|
-
},
|
|
41
|
-
acceptSuggestion: () => {
|
|
42
|
-
/* nothing */
|
|
43
|
-
},
|
|
44
|
-
setInheritedProps: () => {
|
|
45
|
-
/* nothing */
|
|
46
|
-
},
|
|
47
|
-
resolveConfigProps: () => {
|
|
48
|
-
/* nothing */
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
return (
|
|
55
|
-
<>
|
|
56
|
-
<PegaDxilMyEmail {...props} />
|
|
57
|
-
</>
|
|
58
|
-
);
|
|
59
|
-
};
|
|
@@ -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;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/* eslint-disable react/jsx-no-useless-fragment */
|
|
2
|
-
import { withKnobs } from '@storybook/addon-knobs';
|
|
3
|
-
|
|
4
|
-
import { stateProps, configProps, fieldMetadata } from './mock';
|
|
5
|
-
import PegaDxilMyInteger from './index.jsx';
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: 'PegaDxilMyInteger',
|
|
9
|
-
decorators: [withKnobs],
|
|
10
|
-
component: PegaDxilMyInteger
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const BasePegaDxilMyInteger = () => {
|
|
14
|
-
const props = {
|
|
15
|
-
value: configProps.value,
|
|
16
|
-
placeholder: configProps.placeholder,
|
|
17
|
-
label: configProps.label,
|
|
18
|
-
helperText: configProps.helperText,
|
|
19
|
-
showGroupSeparators: configProps.showGroupSeparators,
|
|
20
|
-
hasSuggestions: configProps.hasSuggestions,
|
|
21
|
-
testId: configProps.testId,
|
|
22
|
-
fieldMetadata,
|
|
23
|
-
|
|
24
|
-
getPConnect: () => {
|
|
25
|
-
return {
|
|
26
|
-
getStateProps: () => {
|
|
27
|
-
return stateProps;
|
|
28
|
-
},
|
|
29
|
-
getActionsApi: () => {
|
|
30
|
-
return {
|
|
31
|
-
updateFieldValue: () => {
|
|
32
|
-
/* nothing */
|
|
33
|
-
},
|
|
34
|
-
triggerFieldChange: () => {
|
|
35
|
-
/* nothing */
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
ignoreSuggestion: () => {
|
|
40
|
-
/* nothing */
|
|
41
|
-
},
|
|
42
|
-
acceptSuggestion: () => {
|
|
43
|
-
/* nothing */
|
|
44
|
-
},
|
|
45
|
-
setInheritedProps: () => {
|
|
46
|
-
/* nothing */
|
|
47
|
-
},
|
|
48
|
-
resolveConfigProps: () => {
|
|
49
|
-
/* nothing */
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
return (
|
|
56
|
-
<>
|
|
57
|
-
<PegaDxilMyInteger {...props} />
|
|
58
|
-
</>
|
|
59
|
-
);
|
|
60
|
-
};
|
|
@@ -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;
|