@pega/dx-component-builder-sdk 24.1.10 → 24.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/constants.js +54 -2
- package/src/tasks/create/templates/Constellation/field/Boolean/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Boolean/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Date/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Date/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/DateTime/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/DateTime/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Decimal/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Decimal/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Decimal-Currency/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Decimal-Currency/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/demo.stories.tsx.mustache +15 -10
- package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Integer/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Integer/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Picklist/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Picklist/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Text/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Text/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Text-Email/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Text-Email/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Text-Input/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Text-Input/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Text-Paragraph/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Text-Paragraph/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Text-Phone/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Text-Phone/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/Text-URL/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/Text-URL/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/field/TimeOfDay/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/field/TimeOfDay/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/template/DETAILS/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/template/DETAILS/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/template/DETAILS-region/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/template/FORM/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/template/FORM/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/template/FORM-region/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/template/FORM-region/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/template/PAGE/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/template/PAGE/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/widget/CASE/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/widget/CASE/demo.stories.tsx.mustache +22 -22
- package/src/tasks/create/templates/Constellation/widget/CASE/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/widget/PAGE/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/widget/PAGE/demo.stories.tsx.mustache +15 -17
- package/src/tasks/create/templates/Constellation/widget/PAGE/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/create-nonce.ts.mustache +5 -0
- package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/index.tsx.mustache +1 -0
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.scss.mustache +14 -1
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +6 -7
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/demo.stories.tsx.mustache +10 -0
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.html.mustache +5 -5
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.scss.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.ts.mustache +14 -37
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.html.mustache +14 -4
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.ts.mustache +42 -5
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/demo.stories.tsx.mustache +3 -0
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/config.json.mustache +166 -0
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.html.mustache +15 -6
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.scss.mustache +2 -2
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.ts.mustache +36 -18
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.html.mustache +15 -4
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.scss.mustache +18 -18
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.ts.mustache +29 -5
- package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/demo.stories.tsx.mustache +42 -41
- package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/icon-button-url.component.ts.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.ts.mustache +0 -3
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/picklist-autocomplete.component.ts.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/picklist-radio-buttons.component.ts.mustache +1 -3
- package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/text-paragraph.component.ts.mustache +0 -2
- package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.html.mustache +3 -4
- package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.ts.mustache +0 -1
- package/src/tasks/create/templates/SDK-Angular/template/FORM-region/form.component.html.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.ts.mustache +5 -5
- package/src/tasks/create/templates/SDK-Angular/widget/CASE/demo.stories.tsx.mustache +35 -34
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/demo.stories.tsx.mustache +27 -26
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.html.mustache +0 -2
- package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/config.json.mustache +166 -0
- package/src/tasks/override/index.js +11 -1
- package/src/tasks/override-all/index.js +12 -9
- package/tests/assets/sdk-a/components/create/_components.md +6 -0
- package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/demo.stories.tsx +23 -9
- package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +97 -24
- package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/mock.ts +8 -1
- package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/styles.ts +7 -14
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/banner/banner.component.html +28 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/banner/banner.component.scss +64 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/banner/banner.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/banner/banner.component.ts +26 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.html +7 -4
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.ts +3 -1
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/operator/operator.component.ts +10 -5
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.html +13 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.scss +43 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.ts +15 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/auto-complete/auto-complete.component.ts +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/cancel-alert/cancel-alert.component.ts +0 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.html +16 -15
- package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.scss +14 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.ts +126 -44
- package/tests/assets/sdk-a/components/create/override-sdk/field/currency/currency.component.html +15 -6
- package/tests/assets/sdk-a/components/create/override-sdk/field/currency/currency.component.ts +36 -18
- package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.html +5 -5
- package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.ts +15 -37
- package/tests/assets/sdk-a/components/create/override-sdk/field/decimal/decimal.component.html +14 -4
- package/tests/assets/sdk-a/components/create/override-sdk/field/decimal/decimal.component.ts +42 -5
- package/tests/assets/sdk-a/components/create/override-sdk/field/dropdown/dropdown.component.ts +0 -3
- package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.ts +4 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/percentage.component.html +15 -4
- package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/percentage.component.ts +29 -5
- package/tests/assets/sdk-a/components/create/override-sdk/field/radio-buttons/radio-buttons.component.ts +0 -3
- package/tests/assets/sdk-a/components/create/override-sdk/field/rich-text/config-ext.json +11 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/rich-text/rich-text.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/scalar-list/scalar-list.component.ts +2 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/text-area/text-area.component.ts +0 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/time/time.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/time/time.component.ts +2 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/url/url.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/url/url.component.ts +2 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/user-reference/user-reference.component.html +50 -45
- package/tests/assets/sdk-a/components/create/override-sdk/field/user-reference/user-reference.component.ts +33 -15
- package/tests/assets/sdk-a/components/create/override-sdk/infra/assignment/assignment.component.ts +38 -39
- package/tests/assets/sdk-a/components/create/override-sdk/infra/dashboard-filter/dashboard-filter.component.html +35 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/dashboard-filter/dashboard-filter.component.scss +14 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/dashboard-filter/dashboard-filter.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/dashboard-filter/dashboard-filter.component.ts +89 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/defer-load/defer-load.component.ts +5 -8
- package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.html +44 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.scss +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.ts +634 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/helpers.ts +79 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.scss +0 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.ts +24 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.html +35 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.scss +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.ts +426 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/multi-step/multi-step.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/infra/multi-step/multi-step.component.scss +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/navbar/navbar.component.html +4 -4
- package/tests/assets/sdk-a/components/create/override-sdk/infra/navbar/navbar.component.ts +6 -3
- package/tests/assets/sdk-a/components/create/override-sdk/infra/preview-view-container/preview-view-container.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/preview-view-container/preview-view-container.component.scss +0 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/preview-view-container/preview-view-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/preview-view-container/preview-view-container.component.ts +35 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.html +36 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.scss +18 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.ts +256 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/view/view.component.ts +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.html +31 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.scss +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.ts +288 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/banner-page.component.html +12 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/banner-page.component.scss +0 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/banner-page.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/banner-page.component.ts +65 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-summary/case-summary.component.ts +37 -3
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.html +3 -3
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.scss +2 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.ts +0 -6
- package/tests/assets/sdk-a/components/create/override-sdk/template/data-reference/data-reference.component.ts +1 -3
- package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/config-ext.json +37 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/dynamic-tabs.component.html +5 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/dynamic-tabs.component.scss +0 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/dynamic-tabs.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/dynamic-tabs.component.ts +77 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/field-group-template/field-group-template.component.ts +4 -12
- package/tests/assets/sdk-a/components/create/override-sdk/template/field-value-list/field-value-list.component.html +7 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/field-value-list/field-value-list.component.ts +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/inline-dashboard-page/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/list-view.component.html +6 -6
- package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/list-view.component.ts +36 -28
- package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/listViewHelpers.ts +0 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/repeating-structures/repeating-structures.component.ts +1 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table/simple-table.component.ts +0 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/helpers.ts +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/simple-table-manual.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/simple-table-manual.component.ts +49 -19
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-select/simple-table-select.component.ts +2 -4
- package/tests/assets/sdk-a/components/create/override-sdk/template/wss-nav-bar/wss-nav-bar.component.html +32 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/wss-nav-bar/wss-nav-bar.component.scss +164 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/wss-nav-bar/wss-nav-bar.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/wss-nav-bar/wss-nav-bar.component.ts +173 -0
- package/tests/assets/sdk-a/components/create/override-sdk/widget/attachment/attachment.component.html +50 -26
- package/tests/assets/sdk-a/components/create/override-sdk/widget/attachment/attachment.component.scss +118 -0
- package/tests/assets/sdk-a/components/create/override-sdk/widget/attachment/attachment.component.ts +256 -501
- package/tests/assets/sdk-a/components/create/override-sdk/widget/case-history/case-history.component.ts +1 -2
- package/tests/assets/sdk-a/components/create/override-sdk/widget/feed-container/feed-container.component.ts +0 -4
- package/tests/assets/sdk-a/components/create/override-sdk/widget/file-utility/file-utility.component.html +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/widget/file-utility/file-utility.component.ts +13 -17
- package/tests/assets/sdk-a/components/create/override-sdk/widget/list-utility/list-utility.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/quick-create.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/quick-create.component.scss +0 -0
- package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/quick-create.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/quick-create.component.ts +96 -0
- package/tests/assets/sdk-a/components/create/override-sdk/widget/todo/todo.component.html +6 -5
- package/tests/assets/sdk-a/components/create/override-sdk/widget/todo/todo.component.ts +7 -6
- package/tests/assets/sdk-a/components/createAll/_components.md +6 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/Boolean.ts +35 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/{demo.stories.jsx → demo.stories.tsx} +28 -20
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +14 -49
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/mock.ts +2 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/demo.stories.tsx +28 -15
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.tsx +25 -76
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/mock.ts +11 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/{DateFormatter.js → DateFormatter.ts} +6 -6
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/FormattedText.tsx +20 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/{date.js → date.ts} +3 -2
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/demo.stories.tsx +31 -24
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.tsx +20 -60
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/mock.ts +2 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/{date-time.js → date-time.ts} +12 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyTimeOfDay/time-of-day.js → Pega_DXIL_MyDateTime/date-utils.ts} +27 -26
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/{date.js → date.ts} +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/demo.stories.tsx +32 -25
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.tsx +14 -60
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/mock.ts +3 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/demo.stories.tsx +25 -13
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.tsx +16 -68
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/mock.ts +9 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/demo.stories.tsx +24 -11
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.tsx +11 -47
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/mock.ts +8 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +104 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/index.tsx +202 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/mock.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/styles.ts +8 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/demo.stories.tsx +25 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.tsx +25 -88
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/mock.ts +8 -2
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/demo.stories.tsx +24 -11
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.tsx +14 -49
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/mock.ts +9 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/demo.stories.tsx +25 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.tsx +15 -55
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/mock.ts +9 -2
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/demo.stories.tsx +25 -11
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.tsx +15 -53
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/mock.ts +9 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/demo.stories.tsx +25 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +14 -62
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/mock.ts +9 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/demo.stories.tsx +25 -13
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/index.tsx +12 -58
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/mock.ts +9 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/{textformat-utils.jsx → textformat-utils.tsx} +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{date.js → date.ts} +16 -37
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/demo.stories.tsx +26 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{embed-utils.js → embed-utils.ts} +2 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +27 -76
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/mock.ts +8 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{picklist-utils.js → picklist-utils.ts} +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{repeat-constants.js → repeat-constants.ts} +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{repeat-utils.js → repeat-utils.ts} +6 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{textformat-utils.jsx → textformat-utils.tsx} +30 -10
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/utils.ts +4 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/demo.stories.tsx +23 -9
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +97 -24
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/mock.ts +8 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/StatusWork.tsx +3 -9
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/demo.stories.tsx +24 -11
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.tsx +12 -51
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/mock.ts +9 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +28 -22
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.tsx +18 -53
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/mock.ts +2 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyDateTime/date-utils.js → Pega_DXIL_MyTimeOfDay/time-of-day.ts} +24 -23
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/demo.stories.tsx +24 -11
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.tsx +16 -71
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/mock.ts +9 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/{text-url.jsx → text-url.tsx} +4 -3
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Avatar.tsx +78 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/DetailsRender.tsx +52 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/HighlightRender.tsx +46 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Operator.tsx +215 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/StatusWork.tsx +17 -19
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/demo.stories.tsx +94 -29
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +51 -52
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/mock.ts +78 -20
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/styles.ts +21 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/DetailsRender.tsx +59 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/demo.stories.tsx +91 -16
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +34 -16
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +2 -1
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/demo.stories.tsx +14 -8
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/index.tsx +6 -16
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/localizations.json +4 -2
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/{utils.js → utils.ts} +28 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +78 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +52 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +46 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +215 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +17 -19
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +112 -34
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +43 -53
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +68 -10
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/styles.ts +20 -12
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/{utils.js → utils.ts} +15 -13
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +59 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +112 -22
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +27 -13
- package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +34 -28
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/index.tsx +4 -10
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +3 -13
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Operator.tsx +5 -20
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +15 -9
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +25 -39
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/create-nonce.ts +5 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +100 -16
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +70 -21
- package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/styles.ts +7 -14
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/demo.stories.tsx +10 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.html +18 -17
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.scss +14 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.ts +126 -44
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/config.json +166 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/pega-dxil-my-currency.component.html +15 -6
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/pega-dxil-my-currency.component.scss +2 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/pega-dxil-my-currency.component.ts +36 -18
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.html +5 -5
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.scss +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.ts +14 -37
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/demo.stories.tsx +3 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/pega-dxil-my-decimal.component.html +14 -4
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/pega-dxil-my-decimal.component.ts +42 -5
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/config.json +64 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/demo.stories.tsx +64 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/mock.ts +37 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/pega-dxil-my-icon-button-url.component.html +37 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/pega-dxil-my-icon-button-url.component.scss +24 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/pega-dxil-my-icon-button-url.component.spec.ts +26 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/pega-dxil-my-icon-button-url.component.ts +195 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-paragraph/pega-dxil-my-paragraph.component.ts +0 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/pega-dxil-my-percentage.component.html +15 -4
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/pega-dxil-my-percentage.component.scss +18 -18
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/pega-dxil-my-percentage.component.ts +29 -5
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/pega-dxil-my-picklist.component.ts +0 -3
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-radiobuttons/pega-dxil-my-radiobuttons.component.ts +1 -3
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-searchbox/pega-dxil-my-searchbox.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-time-of-day/pega-dxil-my-time-of-day.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-time-of-day/pega-dxil-my-time-of-day.component.ts +2 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-url/pega-dxil-my-url.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-url/pega-dxil-my-url.component.ts +2 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.html +3 -4
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-form/pega-dxil-my-two-column-form.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-form/pega-dxil-my-two-column-form.component.scss +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-case-widget/demo.stories.tsx +35 -34
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-case-widget/pega-dxil-my-case-widget.component.ts +7 -7
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/pega-dxil-my-page-case-widget.component.html +0 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/pega-dxil-my-page-case-widget.component.ts +7 -5
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/demo.stories.tsx +27 -9
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/mock.ts +25 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/pega-dxil-my-page-widget.component.html +11 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/pega-dxil-my-page-widget.component.ts +93 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/banner/banner.component.html +28 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/banner/banner.component.scss +64 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/banner/banner.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/banner/banner.component.ts +26 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.html +7 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.ts +3 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/operator/operator.component.ts +10 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.html +13 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.scss +43 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.ts +15 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/auto-complete/auto-complete.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/cancel-alert/cancel-alert.component.ts +0 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.html +16 -15
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.scss +14 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.ts +126 -44
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.html +15 -6
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.ts +36 -18
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.html +5 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.ts +15 -37
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/decimal.component.html +14 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/decimal.component.ts +42 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/dropdown/dropdown.component.ts +0 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.ts +4 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/percentage.component.html +15 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/percentage.component.ts +29 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/radio-buttons/radio-buttons.component.ts +0 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/rich-text/config-ext.json +11 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/rich-text/rich-text.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/scalar-list/scalar-list.component.ts +2 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/text-area/text-area.component.ts +0 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/time/time.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/time/time.component.ts +2 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/url/url.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/url/url.component.ts +2 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/user-reference/user-reference.component.html +50 -45
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/user-reference/user-reference.component.ts +33 -15
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/assignment/assignment.component.ts +38 -39
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/dashboard-filter/dashboard-filter.component.html +35 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/dashboard-filter/dashboard-filter.component.scss +14 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/dashboard-filter/dashboard-filter.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/dashboard-filter/dashboard-filter.component.ts +89 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/defer-load/defer-load.component.ts +5 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.html +44 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.scss +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.ts +634 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/helpers.ts +79 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.scss +0 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.ts +24 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.html +35 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.scss +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.ts +426 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/multi-step/multi-step.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/multi-step/multi-step.component.scss +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/navbar/navbar.component.html +4 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/navbar/navbar.component.ts +6 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/preview-view-container/preview-view-container.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/preview-view-container/preview-view-container.component.scss +0 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/preview-view-container/preview-view-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/preview-view-container/preview-view-container.component.ts +35 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.html +36 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.scss +18 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.ts +256 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view/view.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.html +31 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.scss +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.spec.ts +24 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.ts +288 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/banner-page.component.html +12 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/banner-page.component.scss +0 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/banner-page.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/banner-page.component.ts +65 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-summary/case-summary.component.ts +37 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.html +3 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.scss +2 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.ts +0 -6
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/data-reference/data-reference.component.ts +1 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/config-ext.json +37 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/dynamic-tabs.component.html +5 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/dynamic-tabs.component.scss +0 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/dynamic-tabs.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/dynamic-tabs.component.ts +77 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/field-group-template/field-group-template.component.ts +4 -12
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/field-value-list/field-value-list.component.html +7 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/field-value-list/field-value-list.component.ts +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/inline-dashboard-page/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/list-view.component.html +6 -6
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/list-view.component.ts +36 -28
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/listViewHelpers.ts +0 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/repeating-structures/repeating-structures.component.ts +1 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table/simple-table.component.ts +0 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/helpers.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/simple-table-manual.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/simple-table-manual.component.ts +49 -19
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-select/simple-table-select.component.ts +2 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/wss-nav-bar/wss-nav-bar.component.html +32 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/wss-nav-bar/wss-nav-bar.component.scss +164 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/wss-nav-bar/wss-nav-bar.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/wss-nav-bar/wss-nav-bar.component.ts +173 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/attachment/attachment.component.html +50 -26
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/attachment/attachment.component.scss +118 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/attachment/attachment.component.ts +256 -501
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/case-history/case-history.component.ts +1 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/feed-container/feed-container.component.ts +0 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/file-utility/file-utility.component.html +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/file-utility/file-utility.component.ts +13 -17
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/list-utility/list-utility.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/config-ext.json +10 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/quick-create.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/quick-create.component.scss +0 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/quick-create.component.spec.ts +22 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/quick-create.component.ts +96 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/todo.component.html +6 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/todo.component.ts +7 -6
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +15 -10
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +22 -22
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/create-nonce.ts +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +15 -17
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +166 -0
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/Boolean.js +0 -38
- package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/FormattedText.jsx +0 -41
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{component-constants.js → component-constants.ts} +0 -0
- /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{format-constants.js → format-constants.ts} +0 -0
|
@@ -71,7 +71,6 @@ export class CancelAlertComponent implements OnChanges {
|
|
|
71
71
|
this.psService.sendMessage(false);
|
|
72
72
|
this.dismissAlert();
|
|
73
73
|
|
|
74
|
-
// @ts-ignore - second parameter “payload” for publish method should be optional
|
|
75
74
|
PCore.getPubSubUtils().publish(PCore.getConstants().PUB_SUB_EVENTS.CASE_EVENTS.CASE_CREATED);
|
|
76
75
|
})
|
|
77
76
|
.catch(() => {
|
|
@@ -92,7 +91,6 @@ export class CancelAlertComponent implements OnChanges {
|
|
|
92
91
|
.then(() => {
|
|
93
92
|
this.psService.sendMessage(false);
|
|
94
93
|
this.dismissAlert();
|
|
95
|
-
// @ts-ignore - second parameter “payload” for publish method should be optional
|
|
96
94
|
PCore.getPubSubUtils().publish(PCore.getConstants().PUB_SUB_EVENTS.EVENT_CANCEL);
|
|
97
95
|
})
|
|
98
96
|
.catch(() => {
|
|
@@ -6,36 +6,37 @@
|
|
|
6
6
|
></component-mapper>
|
|
7
7
|
</div>
|
|
8
8
|
<ng-template #noDisplayMode>
|
|
9
|
-
<div *ngIf="
|
|
9
|
+
<div *ngIf="bHasForm$; else noEdit">
|
|
10
10
|
<div [formGroup]="formGroup$" *ngIf="bVisible$">
|
|
11
11
|
<div class="mat-form-field-infix" *ngIf="showLabel$">
|
|
12
12
|
<span>
|
|
13
13
|
<label class="mat-form-field-label psdk-label-readonly">{{ label$ }}</label>
|
|
14
14
|
</span>
|
|
15
|
-
<mat-checkbox
|
|
16
|
-
[labelPosition]="'after'"
|
|
17
|
-
[checked]="isChecked$"
|
|
18
|
-
[disabled]="bDisabled$"
|
|
19
|
-
[attr.data-test-id]="testId"
|
|
20
|
-
[formControl]="fieldControl"
|
|
21
|
-
(change)="fieldOnChange($event)"
|
|
22
|
-
(blur)="fieldOnBlur($event)"
|
|
23
|
-
>{{ caption$ }}</mat-checkbox
|
|
24
|
-
>
|
|
25
15
|
</div>
|
|
26
|
-
<div
|
|
16
|
+
<div *ngIf="selectionMode === 'multi'; else single">
|
|
17
|
+
<mat-option *ngFor="let item of listOfCheckboxes" (click)="handleChangeMultiMode($event, item)">
|
|
18
|
+
<mat-checkbox
|
|
19
|
+
[labelPosition]="'after'"
|
|
20
|
+
[checked]="item.selected"
|
|
21
|
+
[attr.data-test-id]="testId + ':' + item.value"
|
|
22
|
+
(change)="handleChangeMultiMode($event, item)"
|
|
23
|
+
(blur)="fieldOnBlur($event)"
|
|
24
|
+
>{{ item.text ?? item.value }}
|
|
25
|
+
</mat-checkbox>
|
|
26
|
+
</mat-option>
|
|
27
|
+
</div>
|
|
28
|
+
<ng-template #single>
|
|
27
29
|
<mat-checkbox
|
|
28
30
|
[labelPosition]="'after'"
|
|
29
31
|
[checked]="isChecked$"
|
|
30
|
-
[disabled]="bDisabled$"
|
|
31
32
|
[attr.data-test-id]="testId"
|
|
32
33
|
[formControl]="fieldControl"
|
|
33
34
|
(change)="fieldOnChange($event)"
|
|
34
35
|
(blur)="fieldOnBlur($event)"
|
|
35
36
|
>{{ caption$ }}</mat-checkbox
|
|
36
37
|
>
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
<p *ngIf="helperText">{{ helperText }}</p>
|
|
39
|
+
</ng-template>
|
|
39
40
|
<mat-error *ngIf="fieldControl.invalid">{{ getErrorMessage() }}</mat-error>
|
|
40
41
|
</div>
|
|
41
42
|
</div>
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
top: 0rem;
|
|
9
9
|
margin-top: 0.625rem;
|
|
10
10
|
font-size: 0.875rem;
|
|
11
|
-
display: block;
|
|
12
11
|
transform: translateY(-1.28125em) scale(0.75) perspective(100px) translateZ(0.001px);
|
|
13
12
|
-ms-transform: translateY(-1.28125em) scale(0.75);
|
|
14
13
|
width: 133.33333%;
|
|
14
|
+
color: rgba(0, 0, 0, 0.6);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.psdk-data-readonly {
|
|
@@ -22,3 +22,16 @@
|
|
|
22
22
|
::ng-deep .mat-mdc-form-field-infix {
|
|
23
23
|
width: auto;
|
|
24
24
|
}
|
|
25
|
+
|
|
26
|
+
p {
|
|
27
|
+
font-size: 0.75rem;
|
|
28
|
+
color: rgba(0, 0, 0, 0.58);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
mat-checkbox {
|
|
32
|
+
margin-left: -11px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.mat-mdc-option {
|
|
36
|
+
margin-left: -16px;
|
|
37
|
+
}
|
package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.ts
CHANGED
|
@@ -3,10 +3,14 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
|
4
4
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
5
5
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
6
|
+
import { MatOptionModule } from '@angular/material/core';
|
|
7
|
+
import { interval } from 'rxjs';
|
|
6
8
|
import { AngularPConnectData, AngularPConnectService } from '@pega/angular-sdk-components';
|
|
7
9
|
import { Utils } from '@pega/angular-sdk-components';
|
|
8
10
|
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
9
11
|
import { PConnFieldProps } from '@pega/angular-sdk-components';
|
|
12
|
+
import { deleteInstruction, insertInstruction, updateNewInstructions } from '@pega/angular-sdk-components';
|
|
13
|
+
import { handleEvent } from '@pega/angular-sdk-components';
|
|
10
14
|
|
|
11
15
|
interface CheckboxProps extends Omit<PConnFieldProps, 'value'> {
|
|
12
16
|
// If any, enter additional props that only exist on Checkbox here
|
|
@@ -15,6 +19,13 @@ interface CheckboxProps extends Omit<PConnFieldProps, 'value'> {
|
|
|
15
19
|
caption?: string;
|
|
16
20
|
trueLabel?: string;
|
|
17
21
|
falseLabel?: string;
|
|
22
|
+
selectionMode?: string;
|
|
23
|
+
datasource?: any;
|
|
24
|
+
selectionKey?: string;
|
|
25
|
+
selectionList?: any;
|
|
26
|
+
primaryField: string;
|
|
27
|
+
readonlyContextList: any;
|
|
28
|
+
referenceList: string;
|
|
18
29
|
}
|
|
19
30
|
|
|
20
31
|
@Component({
|
|
@@ -22,7 +33,7 @@ interface CheckboxProps extends Omit<PConnFieldProps, 'value'> {
|
|
|
22
33
|
templateUrl: './check-box.component.html',
|
|
23
34
|
styleUrls: ['./check-box.component.scss'],
|
|
24
35
|
standalone: true,
|
|
25
|
-
imports: [CommonModule, ReactiveFormsModule, MatCheckboxModule, MatFormFieldModule, forwardRef(() => ComponentMapperComponent)]
|
|
36
|
+
imports: [CommonModule, ReactiveFormsModule, MatCheckboxModule, MatFormFieldModule, MatOptionModule, forwardRef(() => ComponentMapperComponent)]
|
|
26
37
|
})
|
|
27
38
|
export class CheckBoxComponent implements OnInit, OnDestroy {
|
|
28
39
|
@Input() pConn$: typeof PConnect;
|
|
@@ -50,6 +61,17 @@ export class CheckBoxComponent implements OnInit, OnDestroy {
|
|
|
50
61
|
trueLabel$?: string;
|
|
51
62
|
falseLabel$?: string;
|
|
52
63
|
|
|
64
|
+
selectionMode?: string;
|
|
65
|
+
datasource?: any;
|
|
66
|
+
selectionKey?: string;
|
|
67
|
+
selectionList?: any;
|
|
68
|
+
primaryField: string;
|
|
69
|
+
selectedvalues: any;
|
|
70
|
+
referenceList: string;
|
|
71
|
+
listOfCheckboxes: any[] = [];
|
|
72
|
+
actionsApi: any;
|
|
73
|
+
propName: any;
|
|
74
|
+
|
|
53
75
|
fieldControl = new FormControl('', null);
|
|
54
76
|
|
|
55
77
|
constructor(
|
|
@@ -69,6 +91,11 @@ export class CheckBoxComponent implements OnInit, OnDestroy {
|
|
|
69
91
|
// this.updateSelf();
|
|
70
92
|
this.checkAndUpdate();
|
|
71
93
|
|
|
94
|
+
if (this.selectionMode === 'multi' && this.referenceList?.length > 0) {
|
|
95
|
+
this.pConn$.setReferenceList(this.selectionList);
|
|
96
|
+
updateNewInstructions(this.pConn$, this.selectionList);
|
|
97
|
+
}
|
|
98
|
+
|
|
72
99
|
if (this.formGroup$) {
|
|
73
100
|
// add control to formGroup
|
|
74
101
|
this.formGroup$.addControl(this.controlName$, this.fieldControl);
|
|
@@ -111,68 +138,123 @@ export class CheckBoxComponent implements OnInit, OnDestroy {
|
|
|
111
138
|
// moved this from ngOnInit() and call this from there instead...
|
|
112
139
|
this.configProps$ = this.pConn$.resolveConfigProps(this.pConn$.getConfigProps()) as CheckboxProps;
|
|
113
140
|
|
|
114
|
-
if (this.configProps$.value != undefined) {
|
|
115
|
-
this.value$ = this.configProps$.value;
|
|
116
|
-
}
|
|
117
141
|
this.testId = this.configProps$.testId;
|
|
118
|
-
this.label$ = this.configProps$.label;
|
|
119
142
|
this.displayMode$ = this.configProps$.displayMode;
|
|
143
|
+
this.label$ = this.configProps$.label;
|
|
144
|
+
if (this.label$ != '') {
|
|
145
|
+
this.showLabel$ = true;
|
|
146
|
+
}
|
|
120
147
|
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
148
|
+
this.actionsApi = this.pConn$.getActionsApi();
|
|
149
|
+
this.propName = (this.pConn$.getStateProps() as any).value;
|
|
150
|
+
|
|
151
|
+
// multi case
|
|
152
|
+
this.selectionMode = this.configProps$.selectionMode;
|
|
153
|
+
if (this.selectionMode === 'multi') {
|
|
154
|
+
this.referenceList = this.configProps$.referenceList;
|
|
155
|
+
this.selectionList = this.configProps$.selectionList;
|
|
156
|
+
this.selectedvalues = this.configProps$.readonlyContextList;
|
|
157
|
+
this.primaryField = this.configProps$.primaryField;
|
|
158
|
+
|
|
159
|
+
this.datasource = this.configProps$.datasource;
|
|
160
|
+
this.selectionKey = this.configProps$.selectionKey;
|
|
161
|
+
const listSourceItems = this.datasource?.source ?? [];
|
|
162
|
+
const dataField: any = this.selectionKey?.split?.('.')[1];
|
|
163
|
+
const listToDisplay: any[] = [];
|
|
164
|
+
listSourceItems.forEach(element => {
|
|
165
|
+
element.selected = this.selectedvalues?.some?.(data => data[dataField] === element.key);
|
|
166
|
+
listToDisplay.push(element);
|
|
167
|
+
});
|
|
168
|
+
this.listOfCheckboxes = listToDisplay;
|
|
169
|
+
} else {
|
|
170
|
+
if (this.configProps$.value != undefined) {
|
|
171
|
+
this.value$ = this.configProps$.value;
|
|
130
172
|
}
|
|
131
|
-
this.cdRef.detectChanges();
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
if (this.configProps$.visibility != null) {
|
|
135
|
-
this.bVisible$ = this.utils.getBooleanValue(this.configProps$.visibility);
|
|
136
|
-
}
|
|
137
173
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
this.
|
|
141
|
-
|
|
174
|
+
this.caption$ = this.configProps$.caption;
|
|
175
|
+
this.helperText = this.configProps$.helperText;
|
|
176
|
+
this.trueLabel$ = this.configProps$.trueLabel;
|
|
177
|
+
this.falseLabel$ = this.configProps$.falseLabel;
|
|
178
|
+
|
|
179
|
+
// timeout and detectChanges to avoid ExpressionChangedAfterItHasBeenCheckedError
|
|
180
|
+
setTimeout(() => {
|
|
181
|
+
if (this.configProps$.required != null) {
|
|
182
|
+
this.bRequired$ = this.utils.getBooleanValue(this.configProps$.required);
|
|
183
|
+
}
|
|
184
|
+
this.cdRef.detectChanges();
|
|
185
|
+
});
|
|
186
|
+
|
|
187
|
+
if (this.configProps$.visibility != null) {
|
|
188
|
+
this.bVisible$ = this.utils.getBooleanValue(this.configProps$.visibility);
|
|
189
|
+
}
|
|
142
190
|
|
|
143
|
-
|
|
144
|
-
this.
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
191
|
+
// disabled
|
|
192
|
+
if (this.configProps$.disabled != undefined) {
|
|
193
|
+
this.bDisabled$ = this.utils.getBooleanValue(this.configProps$.disabled);
|
|
194
|
+
}
|
|
148
195
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
196
|
+
if (this.configProps$.readOnly != null) {
|
|
197
|
+
this.bReadonly$ = this.utils.getBooleanValue(this.configProps$.readOnly);
|
|
198
|
+
}
|
|
152
199
|
|
|
153
|
-
|
|
200
|
+
if (this.bDisabled$ || this.bReadonly$) {
|
|
201
|
+
this.fieldControl.disable();
|
|
202
|
+
} else {
|
|
203
|
+
this.fieldControl.enable();
|
|
204
|
+
}
|
|
154
205
|
|
|
155
|
-
|
|
156
|
-
this.showLabel$ = true;
|
|
157
|
-
}
|
|
206
|
+
this.componentReference = (this.pConn$.getStateProps() as any).value;
|
|
158
207
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
208
|
+
// eslint-disable-next-line sonarjs/no-redundant-boolean
|
|
209
|
+
if (this.value$ === 'true' || this.value$ == true) {
|
|
210
|
+
this.isChecked$ = true;
|
|
211
|
+
} else {
|
|
212
|
+
this.isChecked$ = false;
|
|
213
|
+
}
|
|
214
|
+
// trigger display of error message with field control
|
|
215
|
+
if (this.angularPConnectData.validateMessage != null && this.angularPConnectData.validateMessage != '') {
|
|
216
|
+
const timer = interval(100).subscribe(() => {
|
|
217
|
+
this.fieldControl.setErrors({ message: true });
|
|
218
|
+
this.fieldControl.markAsTouched();
|
|
219
|
+
|
|
220
|
+
timer.unsubscribe();
|
|
221
|
+
});
|
|
222
|
+
}
|
|
164
223
|
}
|
|
165
224
|
}
|
|
166
225
|
|
|
167
226
|
fieldOnChange(event: any) {
|
|
168
227
|
event.value = event.checked;
|
|
169
228
|
|
|
170
|
-
this.
|
|
229
|
+
handleEvent(this.actionsApi, 'changeNblur', this.propName, event.checked);
|
|
171
230
|
}
|
|
172
231
|
|
|
173
232
|
fieldOnBlur(event: any) {
|
|
174
|
-
|
|
175
|
-
|
|
233
|
+
if (this.selectionMode === 'multi') {
|
|
234
|
+
this.pConn$.getValidationApi().validate(this.selectedvalues, this.selectionList);
|
|
235
|
+
} else {
|
|
236
|
+
event.value = event.checked;
|
|
237
|
+
this.angularPConnectData.actions?.onBlur(this, event);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
handleChangeMultiMode(event, element) {
|
|
242
|
+
if (!element.selected) {
|
|
243
|
+
insertInstruction(this.pConn$, this.selectionList, this.selectionKey, this.primaryField, {
|
|
244
|
+
id: element.key,
|
|
245
|
+
primary: element.text ?? element.value
|
|
246
|
+
});
|
|
247
|
+
} else {
|
|
248
|
+
deleteInstruction(this.pConn$, this.selectionList, this.selectionKey, {
|
|
249
|
+
id: element.key,
|
|
250
|
+
primary: element.text ?? element.value
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
this.pConn$.clearErrorMessages({
|
|
254
|
+
property: this.selectionList,
|
|
255
|
+
category: '',
|
|
256
|
+
context: ''
|
|
257
|
+
});
|
|
176
258
|
}
|
|
177
259
|
|
|
178
260
|
getErrorMessage() {
|
package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.html
CHANGED
|
@@ -2,23 +2,32 @@
|
|
|
2
2
|
<component-mapper *ngIf="bVisible$ !== false" name="FieldValueList" [props]="{ label$, value$, displayMode$ }"></component-mapper>
|
|
3
3
|
</div>
|
|
4
4
|
<ng-template #noDisplayMode>
|
|
5
|
-
<div *ngIf="
|
|
5
|
+
<div *ngIf="bHasForm$; else noEdit">
|
|
6
6
|
<div [formGroup]="formGroup$" *ngIf="bVisible$" class="psdk-currency-field">
|
|
7
7
|
<mat-form-field class="psdk-full-width" subscriptSizing="dynamic" [hintLabel]="helperText">
|
|
8
8
|
<mat-label>{{ label$ }}</mat-label>
|
|
9
9
|
<div class="psdk-currency-input">
|
|
10
|
-
<span>{{ symbol }}</span>
|
|
11
10
|
<input
|
|
12
|
-
style="margin-left: 5px"
|
|
13
|
-
type="
|
|
11
|
+
style="margin-left: 5px; margin-top: -1rem"
|
|
12
|
+
type="text"
|
|
14
13
|
matInput
|
|
14
|
+
currencyMask
|
|
15
|
+
[options]="{
|
|
16
|
+
prefix: currSym,
|
|
17
|
+
thousands: currSep,
|
|
18
|
+
decimal: currDec,
|
|
19
|
+
align: 'left',
|
|
20
|
+
nullable: true,
|
|
21
|
+
precision: decimalPrecision,
|
|
22
|
+
inputMode: inputMode
|
|
23
|
+
}"
|
|
15
24
|
[placeholder]="placeholder"
|
|
16
|
-
[
|
|
25
|
+
[formControlName]="controlName$"
|
|
17
26
|
[required]="bRequired$"
|
|
18
27
|
[formControl]="fieldControl"
|
|
19
28
|
[attr.data-test-id]="testId"
|
|
20
|
-
(change)="fieldOnChange($event)"
|
|
21
29
|
(blur)="fieldOnBlur($event)"
|
|
30
|
+
[readonly]="bReadonly$"
|
|
22
31
|
/>
|
|
23
32
|
</div>
|
|
24
33
|
<mat-error *ngIf="fieldControl.invalid">{{ getErrorMessage() }}</mat-error>
|
package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.ts
CHANGED
|
@@ -4,15 +4,18 @@ import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
|
|
4
4
|
import { MatInputModule } from '@angular/material/input';
|
|
5
5
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
6
6
|
import { interval } from 'rxjs';
|
|
7
|
+
import { NgxCurrencyDirective, NgxCurrencyInputMode } from 'ngx-currency';
|
|
7
8
|
import { AngularPConnectData, AngularPConnectService } from '@pega/angular-sdk-components';
|
|
8
9
|
import { Utils } from '@pega/angular-sdk-components';
|
|
9
10
|
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
11
|
+
import { handleEvent } from '@pega/angular-sdk-components';
|
|
10
12
|
import { getCurrencyCharacters } from '@pega/angular-sdk-components';
|
|
11
13
|
import { PConnFieldProps } from '@pega/angular-sdk-components';
|
|
12
14
|
|
|
13
15
|
interface CurrrencyProps extends PConnFieldProps {
|
|
14
16
|
// If any, enter additional props that only exist on Currency here
|
|
15
17
|
currencyISOCode?: string;
|
|
18
|
+
allowDecimals: boolean;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
@Component({
|
|
@@ -20,7 +23,7 @@ interface CurrrencyProps extends PConnFieldProps {
|
|
|
20
23
|
templateUrl: './currency.component.html',
|
|
21
24
|
styleUrls: ['./currency.component.scss'],
|
|
22
25
|
standalone: true,
|
|
23
|
-
imports: [CommonModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, forwardRef(() => ComponentMapperComponent)]
|
|
26
|
+
imports: [CommonModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, NgxCurrencyDirective, forwardRef(() => ComponentMapperComponent)]
|
|
24
27
|
})
|
|
25
28
|
export class CurrencyComponent implements OnInit, OnDestroy {
|
|
26
29
|
@Input() pConn$: typeof PConnect;
|
|
@@ -31,7 +34,7 @@ export class CurrencyComponent implements OnInit, OnDestroy {
|
|
|
31
34
|
configProps$: CurrrencyProps;
|
|
32
35
|
|
|
33
36
|
label$ = '';
|
|
34
|
-
value$:
|
|
37
|
+
value$: any;
|
|
35
38
|
bRequired$ = false;
|
|
36
39
|
bReadonly$ = false;
|
|
37
40
|
bDisabled$ = false;
|
|
@@ -47,9 +50,11 @@ export class CurrencyComponent implements OnInit, OnDestroy {
|
|
|
47
50
|
currencyOptions: Object = {};
|
|
48
51
|
|
|
49
52
|
fieldControl = new FormControl<number | null>(null, { updateOn: 'blur' });
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
currSym: string;
|
|
54
|
+
currSep: string;
|
|
55
|
+
currDec: string;
|
|
56
|
+
inputMode: any;
|
|
57
|
+
decimalPrecision: number | undefined;
|
|
53
58
|
|
|
54
59
|
constructor(
|
|
55
60
|
private angularPConnect: AngularPConnectService,
|
|
@@ -114,10 +119,22 @@ export class CurrencyComponent implements OnInit, OnDestroy {
|
|
|
114
119
|
this.testId = this.configProps$.testId;
|
|
115
120
|
this.label$ = this.configProps$.label;
|
|
116
121
|
this.displayMode$ = this.configProps$.displayMode;
|
|
117
|
-
|
|
118
|
-
|
|
122
|
+
this.inputMode = NgxCurrencyInputMode.Natural;
|
|
123
|
+
let nValue: any = this.configProps$.value;
|
|
124
|
+
if (nValue) {
|
|
125
|
+
if (typeof nValue === 'string') {
|
|
126
|
+
nValue = parseFloat(nValue);
|
|
127
|
+
}
|
|
128
|
+
this.value$ = nValue;
|
|
129
|
+
}
|
|
119
130
|
this.helperText = this.configProps$.helperText;
|
|
120
131
|
this.placeholder = this.configProps$.placeholder || '';
|
|
132
|
+
const currencyISOCode: any = this.configProps$?.currencyISOCode;
|
|
133
|
+
|
|
134
|
+
const theSymbols = getCurrencyCharacters(currencyISOCode);
|
|
135
|
+
this.currSym = theSymbols.theCurrencySymbol;
|
|
136
|
+
this.currSep = theSymbols.theDigitGroupSeparator;
|
|
137
|
+
this.currDec = theSymbols.theDecimalIndicator;
|
|
121
138
|
|
|
122
139
|
// timeout and detectChanges to avoid ExpressionChangedAfterItHasBeenCheckedError
|
|
123
140
|
setTimeout(() => {
|
|
@@ -150,10 +167,7 @@ export class CurrencyComponent implements OnInit, OnDestroy {
|
|
|
150
167
|
this.currencyISOCode = this.configProps$.currencyISOCode;
|
|
151
168
|
}
|
|
152
169
|
|
|
153
|
-
|
|
154
|
-
this.symbol = theSymbols.theCurrencySymbol;
|
|
155
|
-
this.thousandsSep = theSymbols.theDigitGroupSeparator;
|
|
156
|
-
this.decimalSep = theSymbols.theDecimalIndicator;
|
|
170
|
+
this.decimalPrecision = this.configProps$?.allowDecimals ? 2 : 0;
|
|
157
171
|
|
|
158
172
|
this.componentReference = (this.pConn$.getStateProps() as any).value;
|
|
159
173
|
|
|
@@ -168,14 +182,18 @@ export class CurrencyComponent implements OnInit, OnDestroy {
|
|
|
168
182
|
}
|
|
169
183
|
}
|
|
170
184
|
|
|
171
|
-
fieldOnChange(event: any) {
|
|
172
|
-
this.angularPConnectData.actions?.onChange(this, event);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
185
|
fieldOnBlur(event: any) {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
186
|
+
const actionsApi = this.pConn$?.getActionsApi();
|
|
187
|
+
const propName = (this.pConn$?.getStateProps() as any).value;
|
|
188
|
+
let value = event?.target?.value;
|
|
189
|
+
value = value?.substring(1);
|
|
190
|
+
if (this.currSep === ',') {
|
|
191
|
+
value = value.replace(/,/g, '');
|
|
192
|
+
} else {
|
|
193
|
+
value = value?.replace(/\./g, '');
|
|
194
|
+
value = value?.replace(/,/g, '.');
|
|
195
|
+
}
|
|
196
|
+
handleEvent(actionsApi, 'changeNblur', propName, value);
|
|
179
197
|
}
|
|
180
198
|
|
|
181
199
|
getErrorMessage() {
|
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
<mat-label>{{ label$ }}</mat-label>
|
|
9
9
|
<input
|
|
10
10
|
matInput
|
|
11
|
+
[owlDateTime]="dtPicker"
|
|
11
12
|
[attr.data-test-id]="testId"
|
|
12
|
-
[ngxMatDatetimePicker]="picker"
|
|
13
13
|
[placeholder]="placeholder"
|
|
14
14
|
[formControl]="fieldControl"
|
|
15
|
-
(dateChange)="fieldOnChange($event)"
|
|
16
15
|
(blur)="fieldOnBlur($event)"
|
|
16
|
+
(dateTimeChange)="fieldOnDateChange($event)"
|
|
17
17
|
[value]="value$"
|
|
18
18
|
[required]="bRequired$"
|
|
19
19
|
/>
|
|
20
|
-
<mat-datepicker-toggle matSuffix [
|
|
21
|
-
<
|
|
22
|
-
<mat-error *ngIf="fieldControl
|
|
20
|
+
<mat-datepicker-toggle matSuffix [owlDateTimeTrigger]="dtPicker"></mat-datepicker-toggle>
|
|
21
|
+
<owl-date-time #dtPicker></owl-date-time>
|
|
22
|
+
<mat-error *ngIf="fieldControl?.invalid">{{ getErrorMessage() }}</mat-error>
|
|
23
23
|
</mat-form-field>
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.ts
CHANGED
|
@@ -1,44 +1,21 @@
|
|
|
1
|
-
/* eslint-disable max-classes-per-file */
|
|
2
1
|
import { Component, OnInit, Input, ChangeDetectorRef, forwardRef, OnDestroy } from '@angular/core';
|
|
3
2
|
import { CommonModule } from '@angular/common';
|
|
4
3
|
import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import { NgxMatDatetimePickerModule, NgxMatTimepickerModule, NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-picker';
|
|
6
|
-
import { NgxMatMomentModule } from '@angular-material-components/moment-adapter';
|
|
7
|
-
import { MomentDateModule } from '@angular/material-moment-adapter';
|
|
8
4
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
9
5
|
import { MatInputModule } from '@angular/material/input';
|
|
10
6
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
+
import { OwlDateTimeModule, OwlNativeDateTimeModule } from '@danielmoncada/angular-datetime-picker';
|
|
11
8
|
import { interval } from 'rxjs';
|
|
12
9
|
import { AngularPConnectData, AngularPConnectService } from '@pega/angular-sdk-components';
|
|
13
10
|
import { Utils } from '@pega/angular-sdk-components';
|
|
14
11
|
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
15
12
|
import { dateFormatInfoDefault, getDateFormatInfo } from '@pega/angular-sdk-components';
|
|
16
|
-
import { handleEvent } from '@pega/angular-sdk-components';
|
|
17
13
|
import { PConnFieldProps } from '@pega/angular-sdk-components';
|
|
18
14
|
|
|
19
15
|
interface DateTimeProps extends PConnFieldProps {
|
|
20
16
|
// If any, enter additional props that only exist on DateTime here
|
|
21
17
|
}
|
|
22
18
|
|
|
23
|
-
class MyFormat {
|
|
24
|
-
theDateFormat: any = getDateFormatInfo();
|
|
25
|
-
|
|
26
|
-
get display() {
|
|
27
|
-
return {
|
|
28
|
-
dateInput: `${this.theDateFormat.dateFormatString}, LT`,
|
|
29
|
-
monthYearLabel: 'MMM YYYY',
|
|
30
|
-
dateA11yLabel: 'LL',
|
|
31
|
-
monthYearA11yLabel: 'MMMM YYYY'
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
get parse() {
|
|
36
|
-
return {
|
|
37
|
-
dateInput: `${this.theDateFormat.dateFormatString}, LT`
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
19
|
@Component({
|
|
43
20
|
selector: 'app-date-time',
|
|
44
21
|
templateUrl: './date-time.component.html',
|
|
@@ -50,13 +27,10 @@ class MyFormat {
|
|
|
50
27
|
MatFormFieldModule,
|
|
51
28
|
MatInputModule,
|
|
52
29
|
MatDatepickerModule,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
NgxMatTimepickerModule,
|
|
56
|
-
MomentDateModule,
|
|
30
|
+
OwlDateTimeModule,
|
|
31
|
+
OwlNativeDateTimeModule,
|
|
57
32
|
forwardRef(() => ComponentMapperComponent)
|
|
58
|
-
]
|
|
59
|
-
providers: [{ provide: NGX_MAT_DATE_FORMATS, useClass: MyFormat }]
|
|
33
|
+
]
|
|
60
34
|
})
|
|
61
35
|
export class DateTimeComponent implements OnInit, OnDestroy {
|
|
62
36
|
@Input() pConn$: typeof PConnect;
|
|
@@ -194,16 +168,20 @@ export class DateTimeComponent implements OnInit, OnDestroy {
|
|
|
194
168
|
}
|
|
195
169
|
}
|
|
196
170
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
171
|
+
fieldOnDateChange(event: any) {
|
|
172
|
+
// this comes from the date pop up
|
|
173
|
+
if (typeof event.value === 'object') {
|
|
174
|
+
// convert date to pega "date" format
|
|
175
|
+
event.value = event.value?.toISOString();
|
|
176
|
+
}
|
|
177
|
+
this.angularPConnectData.actions?.onChange(this, { value: event.value });
|
|
202
178
|
}
|
|
203
179
|
|
|
204
180
|
fieldOnBlur(event: any) {
|
|
205
|
-
|
|
206
|
-
|
|
181
|
+
if (typeof event.value === 'object') {
|
|
182
|
+
// convert date to pega "date" format
|
|
183
|
+
event.value = event.value?.toISOString();
|
|
184
|
+
}
|
|
207
185
|
|
|
208
186
|
this.angularPConnectData.actions?.onBlur(this, event);
|
|
209
187
|
}
|
package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/decimal.component.html
CHANGED
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
<div *ngIf="displayMode$; else noDisplayMode">
|
|
2
|
-
<component-mapper *ngIf="bVisible$ !== false" name="FieldValueList" [props]="{ label$, value
|
|
2
|
+
<component-mapper *ngIf="bVisible$ !== false" name="FieldValueList" [props]="{ label$, value$: formattedValue, displayMode$ }"></component-mapper>
|
|
3
3
|
</div>
|
|
4
4
|
<ng-template #noDisplayMode>
|
|
5
|
-
<div *ngIf="
|
|
5
|
+
<div *ngIf="bHasForm$; else noEdit">
|
|
6
6
|
<div [formGroup]="formGroup$" *ngIf="bVisible$">
|
|
7
7
|
<mat-form-field class="psdk-full-width" subscriptSizing="dynamic" [hintLabel]="helperText">
|
|
8
8
|
<mat-label>{{ label$ }}</mat-label>
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
matInput
|
|
12
|
-
|
|
12
|
+
currencyMask
|
|
13
|
+
[options]="{
|
|
14
|
+
prefix: bReadonly$ && formatter === 'Currency' ? currSym : '',
|
|
15
|
+
thousands: currSep,
|
|
16
|
+
decimal: currDec,
|
|
17
|
+
align: 'left',
|
|
18
|
+
nullable: true,
|
|
19
|
+
precision: decimalPrecision,
|
|
20
|
+
inputMode: inputMode
|
|
21
|
+
}"
|
|
13
22
|
[placeholder]="placeholder"
|
|
14
23
|
step="0.01"
|
|
15
|
-
[
|
|
24
|
+
[formControlName]="controlName$"
|
|
16
25
|
[required]="bRequired$"
|
|
17
26
|
[formControl]="fieldControl"
|
|
18
27
|
[attr.data-test-id]="testId"
|
|
19
28
|
(blur)="fieldOnBlur($event)"
|
|
29
|
+
[readonly]="bReadonly$"
|
|
20
30
|
/>
|
|
21
31
|
<mat-error *ngIf="fieldControl.invalid">{{ getErrorMessage() }}</mat-error>
|
|
22
32
|
</mat-form-field>
|