@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
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
2
2
|
/* eslint-disable sonarjs/cognitive-complexity */
|
|
3
|
-
import { useEffect, useRef, useState,
|
|
4
|
-
import { ComboBox, menuHelpers, debounce, throttle, Button, Icon, type MenuGroupProps, type MenuItemProps } from '@pega/cosmos-react-core';
|
|
5
|
-
import PropTypes from 'prop-types';
|
|
3
|
+
import { useEffect, useRef, useState, useMemo, type MutableRefObject, type SetStateAction } from 'react';
|
|
4
|
+
import { ComboBox, menuHelpers, debounce, throttle, Button, Icon, withConfiguration, type MenuGroupProps, type MenuItemProps } from '@pega/cosmos-react-core';
|
|
6
5
|
import get from 'lodash.get';
|
|
7
6
|
import type { PConnFieldProps } from './PConnProps';
|
|
7
|
+
import './create-nonce';
|
|
8
8
|
|
|
9
9
|
// includes in bundle
|
|
10
10
|
import handleEvent from "./event-utils";
|
|
11
11
|
import { suggestionsHandler } from './suggestions-handler';
|
|
12
12
|
|
|
13
|
-
import { formatExists, textFormatter } from './textformat-utils
|
|
14
|
-
import { flattenParameters } from './picklist-utils
|
|
15
|
-
import { isSelfReferencedProperty, getDescriptorsFieldName } from './repeat-utils
|
|
16
|
-
import { getFieldNameFromEmbeddedFieldName } from './embed-utils
|
|
13
|
+
import { formatExists, textFormatter } from './textformat-utils';
|
|
14
|
+
import { flattenParameters } from './picklist-utils';
|
|
15
|
+
import { isSelfReferencedProperty, getDescriptorsFieldName } from './repeat-utils';
|
|
16
|
+
import { getFieldNameFromEmbeddedFieldName } from './embed-utils';
|
|
17
17
|
|
|
18
18
|
import { usePaginate, useDeepMemo, useIsMount, updatePropertiesForNewRecord } from './utils';
|
|
19
19
|
|
|
@@ -378,17 +378,17 @@ const DisplayComponent = (props: PegaDxilMySearchboxPropsSubSet) => {
|
|
|
378
378
|
|
|
379
379
|
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
380
380
|
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
381
|
-
|
|
381
|
+
function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
382
382
|
const {
|
|
383
383
|
getPConnect,
|
|
384
384
|
value,
|
|
385
385
|
placeholder,
|
|
386
386
|
validatemessage,
|
|
387
387
|
label,
|
|
388
|
-
hideLabel,
|
|
388
|
+
hideLabel = false,
|
|
389
389
|
helperText,
|
|
390
390
|
testId,
|
|
391
|
-
matchPosition,
|
|
391
|
+
matchPosition = 'contains',
|
|
392
392
|
maxResultsDisplay,
|
|
393
393
|
cacheLifeSpan,
|
|
394
394
|
displayMode,
|
|
@@ -396,17 +396,17 @@ export function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
|
396
396
|
createNewRecord,
|
|
397
397
|
datasourceMetadata,
|
|
398
398
|
deferDatasource,
|
|
399
|
-
additionalProps,
|
|
399
|
+
additionalProps = {},
|
|
400
400
|
referenceType,
|
|
401
401
|
primaryField,
|
|
402
|
-
isTableFormatter,
|
|
402
|
+
isTableFormatter = false,
|
|
403
403
|
descriptors,
|
|
404
404
|
dataRelationshipContext,
|
|
405
|
-
hasSuggestions,
|
|
405
|
+
hasSuggestions = false,
|
|
406
406
|
contextClass
|
|
407
407
|
} = props;
|
|
408
408
|
const { formatter } = props;
|
|
409
|
-
let { listType, datasource, parameters, columns } = props;
|
|
409
|
+
let { listType, datasource = [], parameters = {}, columns = [] } = props;
|
|
410
410
|
|
|
411
411
|
// enable searhing based on the key
|
|
412
412
|
const { isSearchableOnKey } = props;
|
|
@@ -488,7 +488,7 @@ export function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
// BUG-547602: Temporary type coercion for 8.5 until DXAPIs are enhanced to pass original pxViewMetadata JSON, respecting boolean primitives
|
|
491
|
-
let { readOnly, required, disabled } = props;
|
|
491
|
+
let { readOnly = false, required = false, disabled = false } = props;
|
|
492
492
|
[readOnly, required, disabled] = [readOnly, required, disabled].map(
|
|
493
493
|
prop => prop === true || (typeof prop === 'string' && prop === 'true')
|
|
494
494
|
);
|
|
@@ -646,12 +646,14 @@ export function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
|
646
646
|
PCore.getDataApi()
|
|
647
647
|
.init(dataConfig, contextName)
|
|
648
648
|
.then(dataObj => {
|
|
649
|
+
// @ts-ignore
|
|
649
650
|
setDataApiObj(dataObj);
|
|
650
651
|
// To avoid calling doSearch if someone types/pastes value before the API call is made
|
|
651
652
|
if (!filterValue)
|
|
652
653
|
doSearch(
|
|
653
654
|
'',
|
|
654
655
|
getDisplayFieldsMetaData(dataConfig.columns),
|
|
656
|
+
// @ts-ignore
|
|
655
657
|
dataObj,
|
|
656
658
|
setItems as any,
|
|
657
659
|
setLoading,
|
|
@@ -678,6 +680,7 @@ export function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
|
678
680
|
PCore.getDataApi()
|
|
679
681
|
.init(dataConfig, contextName)
|
|
680
682
|
.then(dataObj => {
|
|
683
|
+
// @ts-ignore
|
|
681
684
|
setDataApiObj(dataObj);
|
|
682
685
|
// To avoid calling doSearch if someone types/pastes value before the API call is made
|
|
683
686
|
if (!filterValue) {
|
|
@@ -693,6 +696,7 @@ export function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
|
693
696
|
doSearch(
|
|
694
697
|
'',
|
|
695
698
|
getDisplayFieldsMetaData(dataConfig.columns),
|
|
699
|
+
// @ts-ignore
|
|
696
700
|
dataObj,
|
|
697
701
|
setItems as any,
|
|
698
702
|
setLoading,
|
|
@@ -712,6 +716,7 @@ export function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
|
712
716
|
doSearch(
|
|
713
717
|
'',
|
|
714
718
|
getDisplayFieldsMetaData(dataConfig.columns),
|
|
719
|
+
// @ts-ignore
|
|
715
720
|
dataObj,
|
|
716
721
|
setItems as any,
|
|
717
722
|
setLoading,
|
|
@@ -771,10 +776,14 @@ export function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
|
771
776
|
PCore.getDataApi()
|
|
772
777
|
.init(dataConfig, contextName)
|
|
773
778
|
.then(dataObj => {
|
|
779
|
+
// @ts-ignore
|
|
774
780
|
setDataApiObj(dataObj);
|
|
781
|
+
// @ts-ignore
|
|
775
782
|
buildColumnForDisplayValue(dataObj);
|
|
776
783
|
// SET matchPosition to EQUALS to return exact matching record
|
|
784
|
+
// @ts-ignore
|
|
777
785
|
dataObj.matchPosition = 'equals';
|
|
786
|
+
// @ts-ignore
|
|
778
787
|
dataObj
|
|
779
788
|
.fetchData(value)
|
|
780
789
|
.then((displayResponse: { data: Array<never> }) => {
|
|
@@ -823,11 +832,13 @@ export function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
|
823
832
|
setSelected(searchedItem[0]);
|
|
824
833
|
setActualValue(value);
|
|
825
834
|
// RESET matchPosition
|
|
835
|
+
// @ts-ignore
|
|
826
836
|
dataObj.matchPosition = dataConfig.matchPosition;
|
|
827
837
|
})
|
|
828
838
|
.catch(() => {
|
|
829
839
|
setActualValue(value);
|
|
830
840
|
// RESET matchPosition
|
|
841
|
+
// @ts-ignore
|
|
831
842
|
dataObj.matchPosition = dataConfig.matchPosition;
|
|
832
843
|
});
|
|
833
844
|
});
|
|
@@ -1172,65 +1183,5 @@ export function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
|
|
|
1172
1183
|
);
|
|
1173
1184
|
}
|
|
1174
1185
|
|
|
1175
|
-
export default memo(PegaDxilMySearchbox);
|
|
1176
1186
|
|
|
1177
|
-
|
|
1178
|
-
value: '',
|
|
1179
|
-
matchPosition: 'contains',
|
|
1180
|
-
maxResultsDisplay: '',
|
|
1181
|
-
placeholder: '',
|
|
1182
|
-
hideLabel: false,
|
|
1183
|
-
validatemessage: '',
|
|
1184
|
-
helperText: '',
|
|
1185
|
-
disabled: false,
|
|
1186
|
-
readOnly: false,
|
|
1187
|
-
required: false,
|
|
1188
|
-
testId: '',
|
|
1189
|
-
datasource: [],
|
|
1190
|
-
listType: '',
|
|
1191
|
-
parameters: {},
|
|
1192
|
-
columns: [],
|
|
1193
|
-
cacheLifeSpan: '',
|
|
1194
|
-
displayMode: null,
|
|
1195
|
-
onRecordChange: null,
|
|
1196
|
-
datasourceMetadata: null,
|
|
1197
|
-
deferDatasource: false,
|
|
1198
|
-
additionalProps: {},
|
|
1199
|
-
formatter: '',
|
|
1200
|
-
referenceType: null,
|
|
1201
|
-
isTableFormatter: false,
|
|
1202
|
-
primaryField: '',
|
|
1203
|
-
hasSuggestions: false
|
|
1204
|
-
};
|
|
1205
|
-
|
|
1206
|
-
PegaDxilMySearchbox.propTypes = {
|
|
1207
|
-
value: PropTypes.string,
|
|
1208
|
-
maxResultsDisplay: PropTypes.string,
|
|
1209
|
-
matchPosition: PropTypes.string,
|
|
1210
|
-
placeholder: PropTypes.string,
|
|
1211
|
-
label: PropTypes.string.isRequired,
|
|
1212
|
-
hideLabel: PropTypes.bool,
|
|
1213
|
-
getPConnect: PropTypes.func.isRequired,
|
|
1214
|
-
validatemessage: PropTypes.string,
|
|
1215
|
-
helperText: PropTypes.string,
|
|
1216
|
-
disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
1217
|
-
readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
1218
|
-
required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
1219
|
-
testId: PropTypes.string,
|
|
1220
|
-
datasource: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.any), PropTypes.string]),
|
|
1221
|
-
listType: PropTypes.string,
|
|
1222
|
-
parameters: PropTypes.objectOf(PropTypes.any),
|
|
1223
|
-
columns: PropTypes.arrayOf(PropTypes.object),
|
|
1224
|
-
cacheLifeSpan: PropTypes.string,
|
|
1225
|
-
displayMode: PropTypes.string,
|
|
1226
|
-
createNewRecord: PropTypes.func,
|
|
1227
|
-
onRecordChange: PropTypes.func,
|
|
1228
|
-
datasourceMetadata: PropTypes.objectOf(PropTypes.any),
|
|
1229
|
-
deferDatasource: PropTypes.bool,
|
|
1230
|
-
additionalProps: PropTypes.objectOf(PropTypes.any),
|
|
1231
|
-
formatter: PropTypes.string,
|
|
1232
|
-
referenceType: PropTypes.string,
|
|
1233
|
-
primaryField: PropTypes.string,
|
|
1234
|
-
isTableFormatter: PropTypes.bool,
|
|
1235
|
-
hasSuggestions: PropTypes.bool
|
|
1236
|
-
};
|
|
1187
|
+
export default withConfiguration(PegaDxilMySearchbox);
|
|
@@ -20,7 +20,14 @@ export const configProps = {
|
|
|
20
20
|
],
|
|
21
21
|
helperText: 'Picklist Helper Text',
|
|
22
22
|
testId: 'picklist-12345678',
|
|
23
|
-
hasSuggestions: false
|
|
23
|
+
hasSuggestions: false,
|
|
24
|
+
displayMode: '',
|
|
25
|
+
hideLabel: false,
|
|
26
|
+
readOnly: false,
|
|
27
|
+
required: false,
|
|
28
|
+
disabled: false,
|
|
29
|
+
status: '',
|
|
30
|
+
validatemessage: ''
|
|
24
31
|
};
|
|
25
32
|
|
|
26
33
|
export const stateProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const apiRetryConfig = {
|
|
2
2
|
TIMEOUT: {
|
|
3
3
|
numberOfRetries: 1,
|
|
4
|
-
retryOnCondition: (serverApiResponse) => serverApiResponse?.status === 599,
|
|
4
|
+
retryOnCondition: (serverApiResponse: any) => serverApiResponse?.status === 599,
|
|
5
5
|
retryWithOptions: { useExtendedTimeout: true }
|
|
6
6
|
}
|
|
7
7
|
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/* eslint-disable sonarjs/no-collapsible-if */
|
|
2
|
-
/* eslint-disable default-param-last */
|
|
3
2
|
/* eslint-disable func-names */
|
|
4
|
-
|
|
3
|
+
// @ts-nocheck
|
|
5
4
|
import { splitConditionTree } from '@pega/cosmos-react-condition-builder';
|
|
6
5
|
import cloneDeep from 'lodash/cloneDeep.js';
|
|
7
6
|
|
|
8
|
-
import DateTimeFormatter from './date
|
|
9
|
-
import Constants from './component-constants
|
|
7
|
+
import DateTimeFormatter from './date';
|
|
8
|
+
import Constants from './component-constants';
|
|
10
9
|
|
|
11
|
-
import { getEmbeddedFieldName, mergePageListFieldAggregation } from './embed-utils
|
|
12
|
-
import { confirmationModalLabels } from './repeat-constants
|
|
10
|
+
import { getEmbeddedFieldName, mergePageListFieldAggregation } from './embed-utils';
|
|
11
|
+
import { confirmationModalLabels } from './repeat-constants';
|
|
13
12
|
|
|
14
13
|
export const SIMPLE_TABLE_MANUAL_READONLY = 'SimpleTableManualReadOnly';
|
|
15
14
|
export const PAGE = '!P!';
|
|
@@ -65,10 +64,8 @@ export function launchLocalAction(getPConnect, rowContext, action, cb) {
|
|
|
65
64
|
name: action.name,
|
|
66
65
|
callbacks: {
|
|
67
66
|
submit: (response) => {
|
|
68
|
-
/* eslint-disable no-console */
|
|
69
67
|
console.log('callback for modal submit');
|
|
70
68
|
console.log(response);
|
|
71
|
-
/* eslint-enable no-console */
|
|
72
69
|
cb();
|
|
73
70
|
},
|
|
74
71
|
cancel: () => {
|
|
@@ -97,18 +94,14 @@ export function launchBulkAction(getPConnect, selectedList, action, caseTypeID,
|
|
|
97
94
|
bulkContextType,
|
|
98
95
|
callbacks: {
|
|
99
96
|
submit: (response) => {
|
|
100
|
-
/* eslint-disable no-console */
|
|
101
97
|
console.log(response);
|
|
102
98
|
console.log('callback for modal submit 1');
|
|
103
|
-
/* eslint-enable no-console */
|
|
104
99
|
if (typeof cb === 'function') {
|
|
105
100
|
cb();
|
|
106
101
|
}
|
|
107
102
|
},
|
|
108
103
|
cancel: () => {
|
|
109
|
-
/* eslint-disable no-console */
|
|
110
104
|
console.log('callback for modal submit 2');
|
|
111
|
-
/* eslint-enable no-console */
|
|
112
105
|
}
|
|
113
106
|
},
|
|
114
107
|
showProgress: true,
|
|
@@ -278,6 +271,7 @@ export function getDescriptorsFieldName(property, pageClass) {
|
|
|
278
271
|
return property;
|
|
279
272
|
}
|
|
280
273
|
|
|
274
|
+
// eslint-disable-next-line @typescript-eslint/default-param-last, sonarjs/cognitive-complexity
|
|
281
275
|
export function preparePatchQueryFields(fields, isDataObject = false, classID = '', getPConnect) {
|
|
282
276
|
const queryFields = [];
|
|
283
277
|
// Descriptors can be configured only for single selectionMode properties
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
// utilizing theming, comment out, if want individual style
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { Configuration } from '@pega/cosmos-react-core';
|
|
5
|
-
|
|
6
|
-
export default styled(Configuration)``;
|
|
7
|
-
|
|
8
1
|
// individual style, comment out above, and uncomment here and add styles
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
import styled, { css } from 'styled-components';
|
|
3
|
+
|
|
4
|
+
export default styled.div(() => {
|
|
5
|
+
return css`
|
|
6
|
+
margin: 0px 0;
|
|
7
|
+
`;
|
|
8
|
+
});
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import {
|
|
3
|
+
EmailDisplay,
|
|
4
|
+
PhoneDisplay,
|
|
5
|
+
URLDisplay,
|
|
6
|
+
Image,
|
|
7
|
+
Button,
|
|
8
|
+
Lightbox
|
|
9
|
+
} from '@pega/cosmos-react-core';
|
|
2
10
|
import { useRef, useState } from 'react';
|
|
3
11
|
|
|
4
|
-
export const formatExists =
|
|
12
|
+
export const formatExists = formatterVal => {
|
|
5
13
|
const formatterValues = ['TextInput', 'Email', 'Phone'];
|
|
6
14
|
let isformatter = false;
|
|
7
15
|
if (formatterValues.includes(formatterVal)) {
|
|
@@ -27,10 +35,18 @@ const urlLabelVal = (urlLabelSelection, btnVal, urlLabel, propUrlLabel) => {
|
|
|
27
35
|
return btnVal;
|
|
28
36
|
};
|
|
29
37
|
|
|
30
|
-
const isImage =
|
|
38
|
+
const isImage = url => /\.(jpg|jpeg|png|webp|avif|gif|svg)$/.test(url);
|
|
31
39
|
|
|
32
|
-
const TableImage =
|
|
33
|
-
const {
|
|
40
|
+
const TableImage = imageProps => {
|
|
41
|
+
const {
|
|
42
|
+
value,
|
|
43
|
+
altText,
|
|
44
|
+
altTextOfImage,
|
|
45
|
+
propaltTextOfImage,
|
|
46
|
+
urlLabelSelection,
|
|
47
|
+
urlLabel,
|
|
48
|
+
propUrlLabel
|
|
49
|
+
} = imageProps;
|
|
34
50
|
const demoButtonRef = useRef(null);
|
|
35
51
|
let imageDisplayComp = null;
|
|
36
52
|
const [images, setImages] = useState(null);
|
|
@@ -43,16 +59,16 @@ const TableImage = (imageProps) => {
|
|
|
43
59
|
const onClick = () => {
|
|
44
60
|
setImages([imgDescription]);
|
|
45
61
|
};
|
|
46
|
-
const onItemDownload = async
|
|
62
|
+
const onItemDownload = async id => {
|
|
47
63
|
const a = document.createElement('a');
|
|
48
64
|
a.href = await fetch(images[0].src)
|
|
49
|
-
.then(
|
|
65
|
+
.then(response => {
|
|
50
66
|
return response.blob();
|
|
51
67
|
})
|
|
52
|
-
.then(
|
|
68
|
+
.then(blob => {
|
|
53
69
|
return URL.createObjectURL(blob);
|
|
54
70
|
});
|
|
55
|
-
a.download = images?.find(
|
|
71
|
+
a.download = images?.find(image => image.id === id)?.name ?? id;
|
|
56
72
|
document.body.appendChild(a);
|
|
57
73
|
a.click();
|
|
58
74
|
document.body.removeChild(a);
|
|
@@ -151,7 +167,11 @@ export const urlFormatter = (value, options) => {
|
|
|
151
167
|
} else {
|
|
152
168
|
const width = widthSel === 'widthpx' ? customWidth : null;
|
|
153
169
|
urlFormatComp = (
|
|
154
|
-
<Image
|
|
170
|
+
<Image
|
|
171
|
+
src={value}
|
|
172
|
+
width={width}
|
|
173
|
+
alt={altText === 'constant' ? altTextOfImage : propaltTextOfImage}
|
|
174
|
+
/>
|
|
155
175
|
);
|
|
156
176
|
}
|
|
157
177
|
} else {
|
|
@@ -2,7 +2,7 @@ import { useEffect, useRef } from 'react';
|
|
|
2
2
|
import equal from 'fast-deep-equal';
|
|
3
3
|
import get from 'lodash.get';
|
|
4
4
|
|
|
5
|
-
import { getFieldNameFromEmbeddedFieldName } from './embed-utils
|
|
5
|
+
import { getFieldNameFromEmbeddedFieldName } from './embed-utils';
|
|
6
6
|
|
|
7
7
|
import { buildColumnForDisplayValue, setValuesToPropertyList } from './index';
|
|
8
8
|
|
|
@@ -181,7 +181,9 @@ export const updatePropertiesForNewRecord = (
|
|
|
181
181
|
setDataApiObj(dataObj);
|
|
182
182
|
buildColumnForDisplayValue(dataObj);
|
|
183
183
|
// SET matchPosition to EQUALS to return exact matching record
|
|
184
|
+
// @ts-ignore
|
|
184
185
|
dataObj.matchPosition = 'equals';
|
|
186
|
+
// @ts-ignore
|
|
185
187
|
dataObj
|
|
186
188
|
.fetchData(newCaseId)
|
|
187
189
|
// @ts-ignore
|
|
@@ -212,6 +214,7 @@ export const updatePropertiesForNewRecord = (
|
|
|
212
214
|
})
|
|
213
215
|
.finally(() => {
|
|
214
216
|
// RESET matchPosition
|
|
217
|
+
// @ts-ignore
|
|
215
218
|
dataObj.matchPosition = dataConfig.matchPosition;
|
|
216
219
|
});
|
|
217
220
|
});
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
/* eslint-disable react/jsx-no-useless-fragment */
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
6
6
|
|
|
7
7
|
import { stateProps, configProps } from './mock';
|
|
8
8
|
|
|
9
9
|
import PegaDxilMyText from './index';
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
const meta: Meta<typeof PegaDxilMyText> = {
|
|
12
12
|
title: 'PegaDxilMyText',
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
component: PegaDxilMyText,
|
|
14
|
+
excludeStories: /.*Data$/
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof PegaDxilMyText>;
|
|
19
|
+
|
|
20
|
+
export const BasePegaDxilMyText: Story = args => {
|
|
18
21
|
|
|
19
22
|
const [value, setValue] = useState(configProps.value);
|
|
20
23
|
|
|
21
24
|
const props = {
|
|
22
25
|
value,
|
|
23
|
-
placeholder: configProps.placeholder,
|
|
24
|
-
label: configProps.label,
|
|
25
|
-
testId: configProps.testId,
|
|
26
26
|
hasSuggestions: configProps.hasSuggestions,
|
|
27
27
|
|
|
28
28
|
getPConnect: () => {
|
|
@@ -48,7 +48,21 @@ export const BasePegaDxilMyText = () => {
|
|
|
48
48
|
|
|
49
49
|
return (
|
|
50
50
|
<>
|
|
51
|
-
<PegaDxilMyText {...props} />
|
|
51
|
+
<PegaDxilMyText {...props} {...args} />
|
|
52
52
|
</>
|
|
53
53
|
);
|
|
54
54
|
};
|
|
55
|
+
|
|
56
|
+
BasePegaDxilMyText.args = {
|
|
57
|
+
label: configProps.label,
|
|
58
|
+
helperText: configProps.helperText,
|
|
59
|
+
placeholder: configProps.placeholder,
|
|
60
|
+
testId: configProps.testId,
|
|
61
|
+
readOnly: configProps.readOnly,
|
|
62
|
+
disabled: configProps.disabled,
|
|
63
|
+
required: configProps.required,
|
|
64
|
+
status: configProps.status,
|
|
65
|
+
hideLabel: configProps.hideLabel,
|
|
66
|
+
displayMode: configProps.displayMode,
|
|
67
|
+
validatemessage: configProps.validatemessage
|
|
68
|
+
};
|
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
Input,
|
|
3
|
+
FieldValueList,
|
|
4
|
+
Text,
|
|
5
|
+
EmailDisplay,
|
|
6
|
+
PhoneDisplay,
|
|
7
|
+
URLDisplay,
|
|
8
|
+
withConfiguration
|
|
9
|
+
} from '@pega/cosmos-react-core';
|
|
3
10
|
|
|
4
11
|
import type { PConnFieldProps } from './PConnProps';
|
|
12
|
+
import './create-nonce';
|
|
5
13
|
|
|
6
14
|
import StyledPegaDxilMyTextWrapper from './styles';
|
|
7
15
|
|
|
8
16
|
// interface for props
|
|
9
17
|
interface PegaDxilMyTextProps extends PConnFieldProps {
|
|
10
18
|
// If any, enter additional props that only exist on TextInput here
|
|
11
|
-
|
|
19
|
+
isTableFormatter?: boolean;
|
|
20
|
+
formatter: string;
|
|
21
|
+
variant?: any;
|
|
12
22
|
}
|
|
13
23
|
|
|
14
24
|
// interface for StateProps object
|
|
@@ -17,23 +27,103 @@ interface StateProps {
|
|
|
17
27
|
hasSuggestions: boolean;
|
|
18
28
|
}
|
|
19
29
|
|
|
20
|
-
|
|
30
|
+
export const formatExists = (formatterVal: string) => {
|
|
31
|
+
const formatterValues = [
|
|
32
|
+
'TextInput',
|
|
33
|
+
'WorkStatus',
|
|
34
|
+
'RichText',
|
|
35
|
+
'Email',
|
|
36
|
+
'Phone',
|
|
37
|
+
'URL',
|
|
38
|
+
'Operator'
|
|
39
|
+
];
|
|
40
|
+
let isformatter = false;
|
|
41
|
+
if (formatterValues.includes(formatterVal)) {
|
|
42
|
+
isformatter = true;
|
|
43
|
+
}
|
|
44
|
+
return isformatter;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export const textFormatter = (formatter: string, value: string) => {
|
|
48
|
+
let displayComponent: any = null;
|
|
49
|
+
switch (formatter) {
|
|
50
|
+
case 'TextInput': {
|
|
51
|
+
displayComponent = value;
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
case 'Email': {
|
|
55
|
+
displayComponent = <EmailDisplay value={value} displayText={value} variant='link' />;
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
case 'Phone': {
|
|
59
|
+
displayComponent = <PhoneDisplay value={value} variant='link' />;
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
case 'URL': {
|
|
63
|
+
displayComponent = (
|
|
64
|
+
<URLDisplay target='_blank' value={value} displayText={value} variant='link' />
|
|
65
|
+
);
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
// no default
|
|
69
|
+
}
|
|
70
|
+
return displayComponent;
|
|
71
|
+
};
|
|
21
72
|
|
|
22
73
|
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
23
74
|
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
24
|
-
|
|
25
|
-
const { getPConnect, value, placeholder, disabled, readOnly, required, label, hideLabel, testId } = props;
|
|
75
|
+
function PegaDxilMyText(props: PegaDxilMyTextProps) {
|
|
76
|
+
const { getPConnect, value, placeholder, disabled = false, displayMode, readOnly = false, required = false, label, hideLabel = false, testId, isTableFormatter = false, variant = 'inline' } = props;
|
|
26
77
|
|
|
27
78
|
const pConn = getPConnect();
|
|
28
79
|
const actions = pConn.getActionsApi();
|
|
29
80
|
const stateProps = pConn.getStateProps() as StateProps;
|
|
30
81
|
const propName: string = stateProps.value;
|
|
82
|
+
const { formatter } = props;
|
|
31
83
|
|
|
32
84
|
const handleOnChange = (event: any) => {
|
|
33
85
|
const { value: updatedValue } = event.target;
|
|
34
86
|
actions.updateFieldValue(propName, updatedValue);
|
|
35
87
|
};
|
|
36
88
|
|
|
89
|
+
if (displayMode === 'LABELS_LEFT' || displayMode === 'DISPLAY_ONLY') {
|
|
90
|
+
let displayComp = value || <span aria-hidden='true'>––</span>;
|
|
91
|
+
if (isTableFormatter && formatExists(formatter)) {
|
|
92
|
+
displayComp = textFormatter(formatter, value);
|
|
93
|
+
}
|
|
94
|
+
return displayMode === 'DISPLAY_ONLY' ? (
|
|
95
|
+
<StyledPegaDxilMyTextWrapper> {displayComp} </StyledPegaDxilMyTextWrapper>
|
|
96
|
+
) : (
|
|
97
|
+
<StyledPegaDxilMyTextWrapper>
|
|
98
|
+
<FieldValueList
|
|
99
|
+
variant={hideLabel ? 'stacked' : variant}
|
|
100
|
+
data-testid={testId}
|
|
101
|
+
fields={[{ id: '1', name: hideLabel ? '' : label, value: displayComp }]}
|
|
102
|
+
/>
|
|
103
|
+
</StyledPegaDxilMyTextWrapper>
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (displayMode === 'STACKED_LARGE_VAL') {
|
|
108
|
+
const isValDefined = typeof value !== 'undefined' && value !== '';
|
|
109
|
+
const val = isValDefined ? (
|
|
110
|
+
<Text variant='h1' as='span'>
|
|
111
|
+
{value}
|
|
112
|
+
</Text>
|
|
113
|
+
) : (
|
|
114
|
+
''
|
|
115
|
+
);
|
|
116
|
+
return (
|
|
117
|
+
<StyledPegaDxilMyTextWrapper>
|
|
118
|
+
<FieldValueList
|
|
119
|
+
variant='stacked'
|
|
120
|
+
data-testid={testId}
|
|
121
|
+
fields={[{ id: '2', name: hideLabel ? '' : label, value: val }]}
|
|
122
|
+
/>
|
|
123
|
+
</StyledPegaDxilMyTextWrapper>
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
|
|
37
127
|
return (
|
|
38
128
|
<StyledPegaDxilMyTextWrapper>
|
|
39
129
|
<Input
|
|
@@ -52,22 +142,5 @@ export default function PegaDxilMyText(props: PegaDxilMyTextProps) {
|
|
|
52
142
|
);
|
|
53
143
|
};
|
|
54
144
|
|
|
55
|
-
PegaDxilMyText.defaultProps = {
|
|
56
|
-
value: '',
|
|
57
|
-
placeholder: '',
|
|
58
|
-
disabled: false,
|
|
59
|
-
readOnly: false,
|
|
60
|
-
required: false,
|
|
61
|
-
testId: ''
|
|
62
|
-
};
|
|
63
145
|
|
|
64
|
-
|
|
65
|
-
label: PropTypes.string,
|
|
66
|
-
value: PropTypes.string,
|
|
67
|
-
placeholder: PropTypes.string,
|
|
68
|
-
getPConnect: PropTypes.func.isRequired,
|
|
69
|
-
disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
70
|
-
readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
71
|
-
required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
72
|
-
testId: PropTypes.string
|
|
73
|
-
};
|
|
146
|
+
export default withConfiguration(PegaDxilMyText);
|
package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/mock.ts
CHANGED
|
@@ -6,7 +6,14 @@ export const configProps = {
|
|
|
6
6
|
placeholder: 'Text Placeholder',
|
|
7
7
|
helperText: 'Text Helper Text',
|
|
8
8
|
testId: 'Text-12345678',
|
|
9
|
-
hasSuggestions: false
|
|
9
|
+
hasSuggestions: false,
|
|
10
|
+
displayMode: '',
|
|
11
|
+
hideLabel: false,
|
|
12
|
+
readOnly: false,
|
|
13
|
+
required: false,
|
|
14
|
+
disabled: false,
|
|
15
|
+
status: '',
|
|
16
|
+
validatemessage: ''
|
|
10
17
|
};
|
|
11
18
|
|
|
12
19
|
export const stateProps = {
|