@pega/dx-component-builder-sdk 0.23.10 → 0.23.12
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/tasks/create/templates/SDK-Angular/field/Boolean/demo.stories.tsx.mustache +22 -14
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Date/demo.stories.tsx.mustache +28 -13
- package/src/tasks/create/templates/SDK-Angular/field/Date/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.ts.mustache +3 -2
- package/src/tasks/create/templates/SDK-Angular/field/DateTime/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Decimal/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Integer/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Integer/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/mock.ts.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.ts.mustache +1 -1
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/demo.stories.tsx.mustache +19 -13
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/mock.ts.mustache +7 -3
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/mock.ts.mustache +7 -2
- package/src/tasks/create/templates/SDK-Angular/field/Text/demo.stories.tsx.mustache +19 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text/mock.ts.mustache +9 -2
- package/src/tasks/create/templates/SDK-Angular/field/Text-Email/demo.stories.tsx.mustache +19 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text-Input/demo.stories.tsx.mustache +19 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text-Input/mock.ts.mustache +8 -2
- package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/Text-URL/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/demo.stories.tsx.mustache +18 -13
- package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/mock.ts.mustache +6 -1
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/demo.stories.tsx.mustache +12 -13
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/demo.stories.tsx.mustache +12 -13
- package/src/tasks/create/templates/SDK-Angular/template/FORM/demo.stories.tsx.mustache +14 -13
- package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.scss.mustache +0 -2
- package/src/tasks/create/templates/SDK-Angular/template/FORM-region/demo.stories.tsx.mustache +13 -13
- package/src/tasks/create/templates/SDK-Angular/template/PAGE/demo.stories.tsx.mustache +14 -15
- package/src/tasks/create/templates/SDK-Angular/template/PAGE/mock.ts.mustache +0 -6
- package/src/tasks/create/templates/SDK-Angular/widget/CASE/demo.stories.tsx.mustache +11 -14
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/demo.stories.tsx.mustache +8 -11
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.scss.mustache +2 -4
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/demo.stories.tsx.mustache +9 -12
- package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.scss.mustache +7 -9
- package/src/tasks/create/templates/SDK-React/template/FORM/demo.stories.tsx.mustache +26 -0
- package/src/tasks/delete/helper.js +23 -5
- package/src/tasks/delete-all/helper.js +24 -5
- package/src/tasks/list/helper.js +16 -5
- package/src/tasks/list/index.js +17 -4
- package/src/tasks/publish/helper.js +15 -5
- package/src/tasks/publish-all/helper.js +51 -20
- package/src/util.js +18 -1
- package/tests/assets/sdk-a/components/create/custom-sdk/field/pega-dxil-my-test-text/demo.stories.tsx +19 -13
- package/tests/assets/sdk-a/components/create/custom-sdk/field/pega-dxil-my-test-text/mock.ts +9 -2
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/alert/alert.component.scss +12 -12
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.scss +7 -9
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details/material-details.component.scss +5 -5
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.scss +3 -3
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-summary-item/material-summary-item.component.scss +7 -9
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-summary-list/material-summary-list.component.scss +0 -1
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-utility/material-utility.component.scss +3 -5
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.scss +1 -3
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/operator/operator.component.scss +7 -9
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/pulse/pulse.component.scss +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/auto-complete/auto-complete.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/auto-complete/auto-complete.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/cancel-alert/cancel-alert.component.scss +4 -4
- package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.html +2 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/currency/currency.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/currency/currency.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/date/date.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/date/date.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.ts +5 -4
- package/tests/assets/sdk-a/components/create/override-sdk/field/decimal/decimal.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/decimal/decimal.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/dropdown/dropdown.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/dropdown/dropdown.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/email/email.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/email/email.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/integer/integer.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/integer/integer.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/percentage.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/percentage.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/phone/phone.component.html +1 -3
- package/tests/assets/sdk-a/components/create/override-sdk/field/phone/phone.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/radio-buttons/radio-buttons.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/radio-buttons/radio-buttons.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/scalar-list/scalar-list.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/semantic-link/semantic-link.component.scss +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/text/text.component.scss +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/text-area/text-area.component.html +1 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/text-area/text-area.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/text-input/text-input.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/text-input/text-input.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/time/time.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/time/time.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/url/url.component.html +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/url/url.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/user-reference/user-reference.component.html +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/user-reference/user-reference.component.scss +1 -3
- package/tests/assets/sdk-a/components/create/override-sdk/infra/action-buttons/action-buttons.component.scss +0 -1
- package/tests/assets/sdk-a/components/create/override-sdk/infra/assignment-card/assignment-card.component.scss +1 -3
- package/tests/assets/sdk-a/components/create/override-sdk/infra/multi-step/multi-step.component.scss +23 -25
- package/tests/assets/sdk-a/components/create/override-sdk/infra/navbar/navbar.component.scss +16 -18
- package/tests/assets/sdk-a/components/create/override-sdk/infra/stages/stages.component.scss +12 -13
- package/tests/assets/sdk-a/components/create/override-sdk/template/app-shell/app-shell.component.scss +4 -6
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-summary/case-summary.component.scss +2 -4
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.scss +6 -8
- package/tests/assets/sdk-a/components/create/override-sdk/template/default-form/default-form.component.scss +0 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/field-group-list/field-group-list.component.scss +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/list-view.component.scss +13 -15
- package/tests/assets/sdk-a/components/create/override-sdk/template/one-column-tab/one-column-tab.component.scss +1 -3
- package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/simple-table-manual.component.scss +14 -16
- package/tests/assets/sdk-a/components/create/override-sdk/widget/app-announcement/app-announcement.component.scss +2 -4
- package/tests/assets/sdk-a/components/create/override-sdk/widget/attachment/attachment.component.scss +5 -7
- package/tests/assets/sdk-a/components/create/override-sdk/widget/feed-container/feed-container.component.scss +10 -12
- package/tests/assets/sdk-a/components/create/override-sdk/widget/file-utility/file-utility.component.scss +9 -11
- package/tests/assets/sdk-a/components/create/override-sdk/widget/list-utility/list-utility.component.scss +7 -9
- package/tests/assets/sdk-a/components/create/override-sdk/widget/todo/todo.component.scss +10 -12
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/demo.stories.tsx +22 -14
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/mock.ts +5 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/mock.ts +5 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date/demo.stories.tsx +28 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date/mock.ts +5 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.ts +3 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/mock.ts +5 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-email/demo.stories.tsx +19 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-integer/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-integer/mock.ts +5 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-paragraph/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/mock.ts +5 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-phone/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/mock.ts +5 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/pega-dxil-my-picklist.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-radiobuttons/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-radiobuttons/mock.ts +7 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-searchbox/demo.stories.tsx +19 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-searchbox/mock.ts +7 -3
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-text/demo.stories.tsx +19 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-text/mock.ts +9 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-text-input/demo.stories.tsx +19 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-text-input/mock.ts +8 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-time-of-day/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-time-of-day/mock.ts +6 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-url/demo.stories.tsx +18 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-details/demo.stories.tsx +12 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/demo.stories.tsx +14 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.scss +0 -2
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-page/demo.stories.tsx +14 -15
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-page/mock.ts +0 -6
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-details/demo.stories.tsx +12 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-form/demo.stories.tsx +13 -13
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-case-widget/demo.stories.tsx +11 -14
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/demo.stories.tsx +9 -12
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/pega-dxil-my-page-case-widget.component.scss +7 -9
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/demo.stories.tsx +8 -11
- package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/pega-dxil-my-page-widget.component.scss +2 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/alert/alert.component.scss +12 -12
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.scss +7 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details/material-details.component.scss +5 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.scss +3 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-summary-item/material-summary-item.component.scss +7 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-summary-list/material-summary-list.component.scss +0 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-utility/material-utility.component.scss +3 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.scss +1 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/operator/operator.component.scss +7 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/pulse/pulse.component.scss +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/auto-complete/auto-complete.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/auto-complete/auto-complete.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/cancel-alert/cancel-alert.component.scss +4 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.html +2 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date/date.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date/date.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.ts +5 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/decimal.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/decimal.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/dropdown/dropdown.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/dropdown/dropdown.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/email/email.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/email/email.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/integer/integer.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/integer/integer.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/percentage.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/percentage.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/phone/phone.component.html +1 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/phone/phone.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/radio-buttons/radio-buttons.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/radio-buttons/radio-buttons.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/scalar-list/scalar-list.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/semantic-link/semantic-link.component.scss +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/text/text.component.scss +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/text-area/text-area.component.html +1 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/text-area/text-area.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/text-input/text-input.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/text-input/text-input.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/time/time.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/time/time.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/url/url.component.html +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/url/url.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/user-reference/user-reference.component.html +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/user-reference/user-reference.component.scss +1 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/action-buttons/action-buttons.component.scss +0 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/assignment-card/assignment-card.component.scss +1 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/multi-step/multi-step.component.scss +23 -25
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/navbar/navbar.component.scss +16 -18
- package/tests/assets/sdk-a/components/createAll/override-sdk/infra/stages/stages.component.scss +12 -13
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/app-shell/app-shell.component.scss +4 -6
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-summary/case-summary.component.scss +2 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.scss +6 -8
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/default-form/default-form.component.scss +0 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/field-group-list/field-group-list.component.scss +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/list-view.component.scss +13 -15
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/one-column-tab/one-column-tab.component.scss +1 -3
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/simple-table-manual.component.scss +14 -16
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/app-announcement/app-announcement.component.scss +2 -4
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/attachment/attachment.component.scss +5 -7
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/feed-container/feed-container.component.scss +10 -12
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/file-utility/file-utility.component.scss +9 -11
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/list-utility/list-utility.component.scss +7 -9
- package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/todo.component.scss +10 -12
- package/tests/assets/sdk-r/components/create/custom-constellation/_custom-constellation.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/demo.stories.tsx +54 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +73 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/mock.ts +15 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/styles.ts +15 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/field/_field.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/template/_template.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-constellation/widget/_widget.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/_custom-sdk.md +5 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/config.json +83 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/demo.stories.tsx +55 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +102 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/mock.ts +16 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/styles.js +7 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/field/_field.md +6 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/template/_template.md +6 -0
- package/tests/assets/sdk-r/components/create/custom-sdk/widget/_widget.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/_override-sdk.md +5 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/AlertBanner/AlertBanner.tsx +39 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/AlertBanner/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/Banner.css +39 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/Banner.tsx +50 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +18 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +245 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/DetailsFields/DetailsFields.tsx +141 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/DetailsFields/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +51 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroup/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroupList/FieldGroupList.tsx +58 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroupList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldValueList/FieldValueList.tsx +79 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldValueList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Operator/Operator.tsx +215 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Operator/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Pulse/Pulse.tsx +33 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Pulse/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/RichTextEditor/RichTextEditor.tsx +122 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/RichTextEditor/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.css +40 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +37 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/_designSystemExtension.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/AutoComplete/AutoComplete.tsx +218 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/AutoComplete/config-ext.json +10 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/AutoComplete/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.css +24 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.tsx +132 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/Checkbox.tsx +87 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/Currency.tsx +104 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/currency-utils.ts +68 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Date/Date.tsx +113 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Date/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Date/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/DateTime/DateTime.tsx +103 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/DateTime/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/DateTime/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/Decimal.tsx +100 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Dropdown/Dropdown.tsx +233 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Dropdown/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Dropdown/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Email/Email.tsx +77 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Email/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Email/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Integer/Integer.tsx +88 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Integer/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Integer/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/Percentage.tsx +92 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Phone/Phone.tsx +101 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Phone/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RadioButtons/RadioButtons.tsx +116 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RadioButtons/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RadioButtons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RichText/RichText.tsx +96 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/RichText/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/ScalarList.tsx +63 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/config-ext.json +7 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/SemanticLink.tsx +76 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/utils.ts +49 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextArea/TextArea.tsx +78 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextArea/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextArea/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextContent/TextContent.tsx +47 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextContent/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextContent/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextInput/TextInput.tsx +94 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextInput/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/TextInput/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Time/Time.tsx +76 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Time/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Time/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/URL/URL.tsx +72 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/URL/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/URL/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/UserReference.tsx +191 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/UserReferenceUtils.ts +13 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/_field.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/ActionButtons/ActionButtons.tsx +74 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/ActionButtons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/Assignment.tsx +335 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/AssignmentCard/AssignmentCard.tsx +40 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/AssignmentCard/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +155 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/filterUtils.tsx +160 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DeferLoad/DeferLoad.tsx +166 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/DeferLoad/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/ErrorBoundary/ErrorBoundary.tsx +46 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/ErrorBoundary/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/LeftAlignVerticalTabs/LeftAlignVerticalTabs.tsx +34 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/LeftAlignVerticalTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.css +243 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.tsx +189 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.css +168 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.tsx +288 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Stages/Stages.tsx +118 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/Stages/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/VerticalTabs/VerticalTabs.tsx +68 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/VerticalTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/View/View.css +8 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/View/View.tsx +159 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/View/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/infra/_infra.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/AppShell.css +39 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/AppShell.tsx +210 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/BannerPage/BannerPage.tsx +54 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/BannerPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseSummary/CaseSummary.tsx +55 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseSummary/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseSummary/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/CaseView.tsx +266 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +71 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Confirmation/Confirmation.tsx +73 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Confirmation/config-ext.json +12 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Confirmation/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/DataReference.tsx +262 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/config-ext.json +10 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/DefaultForm.css +30 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/DefaultForm.tsx +66 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/utils/index.ts +33 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Details/Details.tsx +73 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/Details/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsSubTabs/DetailsSubTabs.tsx +58 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsSubTabs/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsSubTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +73 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +73 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +103 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/FieldGroupTemplate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboard/InlineDashboard.tsx +74 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboard/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboardPage/InlineDashboardPage.tsx +39 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboardPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListPage/ListPage.tsx +16 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListPage/config-ext.json +8 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/DefaultViewMeta.ts +220 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.css +10 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.tsx +1254 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/hooks.ts +97 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/utils.ts +747 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +37 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/MultiReferenceReadOnly/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWide/NarrowWide.css +19 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWide/NarrowWide.tsx +37 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWide/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +76 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/NarrowWideForm.css +19 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/NarrowWideForm.tsx +22 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWidePage/NarrowWidePage.tsx +28 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWidePage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWidePage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumn/OneColumn.tsx +32 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnPage/OneColumnPage.tsx +17 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnTab/OneColumnTab.tsx +11 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnTab/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnTab/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/PromotedFilters.css +7 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/PromotedFilters.tsx +171 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTable/SimpleTable.tsx +129 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTable/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTable/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +753 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableSelect/SimpleTableSelect.tsx +124 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableSelect/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +63 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SingleReferenceReadOnly/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/SubTabs.tsx +46 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/tabUtils.ts +68 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/TwoColumn.css +12 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/TwoColumn.tsx +55 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnPage/TwoColumnPage.tsx +17 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/TwoColumnTab.css +12 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/TwoColumnTab.tsx +55 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrow/WideNarrow.css +19 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrow/WideNarrow.tsx +37 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrow/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +86 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/WideNarrowForm.css +19 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/WideNarrowForm.tsx +22 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowPage/WideNarrowPage.tsx +28 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/WssNavBar.css +11 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/WssNavBar.tsx +157 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/_template.md +6 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +27 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +32 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/AppAnnouncement/AppAnnouncement.tsx +60 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/AppAnnouncement/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/AppAnnouncement/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.css +96 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.tsx +454 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/CaseHistory/CaseHistory.tsx +169 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/CaseHistory/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/CaseHistory/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.css +117 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.tsx +639 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Followers/Followers.tsx +45 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Followers/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/Followers/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/QuickCreate/QuickCreate.tsx +62 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/QuickCreate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/SummaryItem.css +78 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/SummaryItem.tsx +88 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryList/SummaryList.tsx +23 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/ToDo.css +93 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/ToDo.tsx +322 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/widget/_widget.md +6 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/_custom-constellation.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/Boolean.js +38 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/boolean-format.ts +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/demo.stories.jsx +63 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +200 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/demo.stories.tsx +56 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.tsx +333 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/mock.ts +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/DateFormatter.js +61 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/FormattedText.jsx +41 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/date.js +439 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/demo.stories.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.tsx +303 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/mock.ts +24 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/date-time.js +92 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/date-utils.js +287 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/date.js +330 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/demo.stories.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.tsx +298 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/mock.ts +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/suggestions-handler.ts +10 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/demo.stories.tsx +52 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.tsx +300 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/mock.ts +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/demo.stories.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.tsx +251 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/mock.ts +24 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/demo.stories.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.tsx +376 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/demo.stories.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.tsx +248 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/demo.stories.tsx +52 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.tsx +306 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/mock.ts +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/demo.stories.tsx +49 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.tsx +288 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/mock.ts +39 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/demo.stories.tsx +81 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +393 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/mock.ts +68 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +85 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/index.tsx +243 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/mock.ts +69 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/textformat-utils.jsx +161 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/component-constants.js +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/date.js +162 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/demo.stories.tsx +90 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/embed-utils.js +310 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/format-constants.js +41 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +1236 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/mock.ts +68 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/picklist-utils.js +87 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/repeat-constants.js +20 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/repeat-utils.js +664 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/textformat-utils.jsx +161 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/utils.ts +218 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/demo.stories.tsx +54 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/mock.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/StatusWork.tsx +32 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/demo.stories.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.tsx +264 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/mock.ts +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +60 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.tsx +245 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/time-of-day.js +287 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/demo.stories.tsx +49 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/event-utils.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.tsx +261 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/mock.ts +24 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/suggestions-handler.ts +9 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/text-url.jsx +173 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/_field.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/OneColumnDetails.svg +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/StatusWork.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/demo.stories.tsx +138 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +101 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/mock.ts +192 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/utils.js +151 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/demo.stories.tsx +176 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +53 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/mock.ts +139 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +44 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/demo.stories.tsx +106 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/index.tsx +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/localizations.json +4 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/mock.ts +96 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/utils.js +228 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +142 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +100 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +232 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/utils.js +151 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +182 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +60 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/mock.ts +145 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/template/_template.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +81 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/index.tsx +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/mock.ts +391 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +88 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Operator.tsx +230 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +70 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +129 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/mock.ts +53 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +33 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +61 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/mock.ts +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/_widget.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/_custom-sdk.md +5 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/config.json +87 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/demo.stories.tsx +64 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx +95 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +125 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/demo.stories.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/index.tsx +112 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/mock.ts +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/config.json +147 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/demo.stories.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/index.tsx +123 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/mock.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/config.json +204 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/demo.stories.tsx +70 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/index.tsx +115 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/mock.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/config.json +94 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/demo.stories.tsx +78 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/index.tsx +107 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/mock.ts +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/config.json +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/demo.stories.tsx +53 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/index.tsx +84 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/mock.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/config.json +88 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/demo.stories.tsx +59 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/index.tsx +96 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/mock.ts +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/config.json +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/demo.stories.tsx +57 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/index.tsx +87 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/config.json +94 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/demo.stories.tsx +59 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/index.tsx +98 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/mock.ts +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/config.json +95 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/demo.stories.tsx +56 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +112 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/mock.ts +33 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/config.json +86 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/demo.stories.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +241 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/mock.ts +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/config.json +113 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/index.tsx +123 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/mock.ts +51 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/config.json +115 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/demo.stories.tsx +76 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/index.tsx +225 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/mock.ts +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/config.json +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/demo.stories.tsx +55 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/index.tsx +102 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/mock.ts +16 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/config.json +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/demo.stories.tsx +56 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/index.tsx +102 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/mock.ts +22 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/config.json +135 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +56 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/index.tsx +88 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/mock.ts +18 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/config.json +111 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/demo.stories.tsx +54 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/index.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/mock.ts +16 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/_field.md +6 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/DefaultForm.svg +29 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/config.json +21 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/demo.stories.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/mock.ts +350 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/DefaultForm.css +25 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/config.json +45 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/demo.stories.tsx +256 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx +75 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/utils.ts +33 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/OneColumn.tsx +32 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/OneColumnPage.svg +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/config.json +32 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/demo.stories.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/index.tsx +29 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/mock.ts +115 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/config.json +27 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +72 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +443 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/config.json +49 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +188 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/index.tsx +63 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/mock.ts +132 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/_template.md +6 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/config.json +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +68 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/index.tsx +178 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/mock.ts +390 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/config.json +66 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +52 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +222 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/mock.ts +52 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/config.json +59 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx +69 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/mock.ts +23 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/_widget.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/_override-sdk.md +5 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/AlertBanner/AlertBanner.tsx +39 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/AlertBanner/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/Banner.css +39 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/Banner.tsx +50 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +18 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +245 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/DetailsFields/DetailsFields.tsx +141 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/DetailsFields/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +51 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroup/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroupList/FieldGroupList.tsx +58 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroupList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldValueList/FieldValueList.tsx +79 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldValueList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Operator/Operator.tsx +215 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Operator/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Pulse/Pulse.tsx +33 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Pulse/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/RichTextEditor/RichTextEditor.tsx +122 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/RichTextEditor/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.css +40 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +37 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/_designSystemExtension.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/AutoComplete/AutoComplete.tsx +218 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/AutoComplete/config-ext.json +10 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/AutoComplete/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.css +24 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.tsx +132 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/Checkbox.tsx +87 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/Currency.tsx +104 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/currency-utils.ts +68 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Date/Date.tsx +113 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Date/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Date/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/DateTime/DateTime.tsx +103 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/DateTime/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/DateTime/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/Decimal.tsx +100 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Dropdown/Dropdown.tsx +233 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Dropdown/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Dropdown/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Email/Email.tsx +77 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Email/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Email/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Integer/Integer.tsx +88 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Integer/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Integer/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/Percentage.tsx +92 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Phone/Phone.tsx +101 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Phone/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RadioButtons/RadioButtons.tsx +116 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RadioButtons/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RadioButtons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RichText/RichText.tsx +96 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/RichText/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/ScalarList.tsx +63 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/config-ext.json +7 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/SemanticLink.tsx +76 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/utils.ts +49 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextArea/TextArea.tsx +78 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextArea/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextArea/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextContent/TextContent.tsx +47 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextContent/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextContent/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextInput/TextInput.tsx +94 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextInput/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextInput/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Time/Time.tsx +76 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Time/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Time/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/URL/URL.tsx +72 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/URL/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/URL/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/UserReference.tsx +191 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/UserReferenceUtils.ts +13 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/_field.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ActionButtons/ActionButtons.tsx +74 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ActionButtons/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/Assignment.tsx +335 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/AssignmentCard/AssignmentCard.tsx +40 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/AssignmentCard/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +155 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/filterUtils.tsx +160 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DeferLoad/DeferLoad.tsx +166 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DeferLoad/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ErrorBoundary/ErrorBoundary.tsx +46 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ErrorBoundary/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/LeftAlignVerticalTabs/LeftAlignVerticalTabs.tsx +34 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/LeftAlignVerticalTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.css +243 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.tsx +189 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.css +168 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.tsx +288 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Stages/Stages.tsx +118 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Stages/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/VerticalTabs/VerticalTabs.tsx +68 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/VerticalTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/View/View.css +8 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/View/View.tsx +159 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/View/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/infra/_infra.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/AppShell.css +39 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/AppShell.tsx +210 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/BannerPage/BannerPage.tsx +54 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/BannerPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseSummary/CaseSummary.tsx +55 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseSummary/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseSummary/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/CaseView.tsx +266 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +71 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Confirmation/Confirmation.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Confirmation/config-ext.json +12 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Confirmation/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/DataReference.tsx +262 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/config-ext.json +10 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/DefaultForm.css +30 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/DefaultForm.tsx +66 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/utils/index.ts +33 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Details/Details.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/Details/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsSubTabs/DetailsSubTabs.tsx +58 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsSubTabs/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsSubTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +103 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/FieldGroupTemplate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboard/InlineDashboard.tsx +74 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboard/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboardPage/InlineDashboardPage.tsx +39 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboardPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListPage/ListPage.tsx +16 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListPage/config-ext.json +8 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/DefaultViewMeta.ts +220 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.css +10 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.tsx +1254 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/hooks.ts +97 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/utils.ts +747 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +37 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/MultiReferenceReadOnly/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWide/NarrowWide.css +19 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWide/NarrowWide.tsx +37 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWide/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +76 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/NarrowWideForm.css +19 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/NarrowWideForm.tsx +22 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWidePage/NarrowWidePage.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWidePage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWidePage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumn/OneColumn.tsx +32 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnPage/OneColumnPage.tsx +17 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnTab/OneColumnTab.tsx +11 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnTab/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnTab/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/PromotedFilters.css +7 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/PromotedFilters.tsx +171 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTable/SimpleTable.tsx +129 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTable/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTable/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +753 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableSelect/SimpleTableSelect.tsx +124 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableSelect/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +63 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SingleReferenceReadOnly/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/SubTabs.tsx +46 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/tabUtils.ts +68 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/TwoColumn.css +12 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/TwoColumn.tsx +55 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnPage/TwoColumnPage.tsx +17 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/TwoColumnTab.css +12 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/TwoColumnTab.tsx +55 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrow/WideNarrow.css +19 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrow/WideNarrow.tsx +37 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrow/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +86 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/WideNarrowForm.css +19 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/WideNarrowForm.tsx +22 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowPage/WideNarrowPage.tsx +28 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowPage/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowPage/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/WssNavBar.css +11 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/WssNavBar.tsx +157 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/_template.md +6 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +27 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +32 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/AppAnnouncement/AppAnnouncement.tsx +60 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/AppAnnouncement/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/AppAnnouncement/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.css +96 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.tsx +454 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/CaseHistory/CaseHistory.tsx +169 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/CaseHistory/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/CaseHistory/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.css +117 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.tsx +639 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Followers/Followers.tsx +45 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Followers/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Followers/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/QuickCreate/QuickCreate.tsx +62 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/QuickCreate/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/SummaryItem.css +78 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/SummaryItem.tsx +88 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryList/SummaryList.tsx +23 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryList/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/ToDo.css +93 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/ToDo.tsx +322 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/config-ext.json +9 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/_widget.md +6 -0
- package/tests/functional/sdk-a/localCreateAllListDeleteAllCustom.test.js +4 -0
- package/tests/functional/sdk-r/localCreateAllListDeleteAllCustom.test.js +160 -0
- package/tests/functional/sdk-r/localCreateAllListDeleteAllOverride.test.js +138 -0
- package/tests/functional/sdk-r/localCreateBuildAllDeleteAllCustom.test.js +165 -0
- package/tests/functional/sdk-r/localCreateBuildDeleteCustom.test.js +92 -0
- package/tests/functional/sdk-r/localCreateBuildDeleteOverride.test.js +76 -0
- package/tests/functional/sdk-r/localCreateListDeleteCustom.test.js +141 -0
- package/tests/functional/sdk-r/localCreateListDeleteOverride.test.js +104 -0
- package/tests/functional/sdk-r/localCreateMapAllClearMap.test.js +242 -0
- package/tests/functional/sdk-r/localCreatePublishAllDeleteAllCustom.test.js +226 -0
- package/tests/functional/sdk-r/localCreatePublishAllDeleteAllOverride.test.js +171 -0
- package/tests/functional/sdk-r/localCreatePublishDeleteCustom.test.js +129 -0
- package/tests/functional/sdk-r/localCreatePublishDeleteOverride.test.js +99 -0
- package/tests/functional/sdk-r/localCreateRenameDeleteCustom.test.js +87 -0
|
@@ -0,0 +1,664 @@
|
|
|
1
|
+
/* eslint-disable sonarjs/no-collapsible-if */
|
|
2
|
+
/* eslint-disable default-param-last */
|
|
3
|
+
/* eslint-disable func-names */
|
|
4
|
+
/* eslint-disable no-undef */
|
|
5
|
+
import { splitConditionTree } from '@pega/cosmos-react-condition-builder';
|
|
6
|
+
import cloneDeep from 'lodash/cloneDeep.js';
|
|
7
|
+
|
|
8
|
+
import DateTimeFormatter from './date.js';
|
|
9
|
+
import Constants from './component-constants.js';
|
|
10
|
+
|
|
11
|
+
import { getEmbeddedFieldName, mergePageListFieldAggregation } from './embed-utils.js';
|
|
12
|
+
import { confirmationModalLabels } from './repeat-constants.js';
|
|
13
|
+
|
|
14
|
+
export const SIMPLE_TABLE_MANUAL_READONLY = 'SimpleTableManualReadOnly';
|
|
15
|
+
export const PAGE = '!P!';
|
|
16
|
+
export const PAGELIST = '!PL!';
|
|
17
|
+
|
|
18
|
+
/** Date-functions supported by the Data-views API */
|
|
19
|
+
export const defaultDateFunctions = {
|
|
20
|
+
// TODO: Enable HOURS
|
|
21
|
+
DATE_TIME: [
|
|
22
|
+
'YEARS',
|
|
23
|
+
'QUARTERS',
|
|
24
|
+
'MONTHS',
|
|
25
|
+
'WEEKS',
|
|
26
|
+
'DAYS',
|
|
27
|
+
'HOURS',
|
|
28
|
+
'MINUTES',
|
|
29
|
+
'MONTHS_OF_YEAR',
|
|
30
|
+
'DAYS_OF_MONTH',
|
|
31
|
+
'DAYS_OF_WEEK',
|
|
32
|
+
'HOURS_OF_DAY'
|
|
33
|
+
],
|
|
34
|
+
DATE_ONLY: ['YEARS', 'QUARTERS', 'MONTHS', 'WEEKS', 'MONTHS_OF_YEAR', 'DAYS_OF_MONTH', 'DAYS_OF_WEEK']
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export function getMappedKey(key) {
|
|
38
|
+
const mappedKey = PCore.getEnvironmentInfo().getKeyMapping(key);
|
|
39
|
+
if (!mappedKey) {
|
|
40
|
+
return key;
|
|
41
|
+
}
|
|
42
|
+
return mappedKey;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function launchLocalAction(getPConnect, rowContext, action, cb) {
|
|
46
|
+
const pConnect = getPConnect && getPConnect();
|
|
47
|
+
const actionsAPI = pConnect && pConnect.getActionsApi();
|
|
48
|
+
const openLocalAction = actionsAPI && actionsAPI.openLocalAction.bind(actionsAPI);
|
|
49
|
+
|
|
50
|
+
const assignmentID = rowContext[getMappedKey('pzInsKey')];
|
|
51
|
+
let caseID;
|
|
52
|
+
if (assignmentID.indexOf('!') === -1) {
|
|
53
|
+
caseID = assignmentID;
|
|
54
|
+
} else {
|
|
55
|
+
// "ASSIGN-WORKLIST ON8TTL-C11NGALL-WORK LAT-3!ENTERINFO_FLOW_1" use case
|
|
56
|
+
const [assignKey] = assignmentID.split('!');
|
|
57
|
+
const [, className, workId] = assignKey.split(' ');
|
|
58
|
+
// eslint-disable-next-line prefer-template
|
|
59
|
+
caseID = className + ' ' + workId;
|
|
60
|
+
}
|
|
61
|
+
openLocalAction(action.ID, {
|
|
62
|
+
caseID,
|
|
63
|
+
type: 'express',
|
|
64
|
+
containerName: 'modal',
|
|
65
|
+
name: action.name,
|
|
66
|
+
callbacks: {
|
|
67
|
+
submit: (response) => {
|
|
68
|
+
/* eslint-disable no-console */
|
|
69
|
+
console.log('callback for modal submit');
|
|
70
|
+
console.log(response);
|
|
71
|
+
/* eslint-enable no-console */
|
|
72
|
+
cb();
|
|
73
|
+
},
|
|
74
|
+
cancel: () => {
|
|
75
|
+
cb();
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
refreshConditions: action.refreshConditions
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function launchBulkAction(getPConnect, selectedList, action, caseTypeID, cb) {
|
|
83
|
+
const pConnect = getPConnect && getPConnect();
|
|
84
|
+
const actionsAPI = pConnect && pConnect.getActionsApi();
|
|
85
|
+
const openBulkAction = actionsAPI && actionsAPI.openBulkAction.bind(actionsAPI);
|
|
86
|
+
|
|
87
|
+
const caseSummary = getPConnect().getCaseSummary();
|
|
88
|
+
const { ID: bulkContextID, caseTypeID: bulkContextType } = caseSummary;
|
|
89
|
+
|
|
90
|
+
openBulkAction(action.ID, {
|
|
91
|
+
selectedList,
|
|
92
|
+
type: 'express',
|
|
93
|
+
containerName: 'modal',
|
|
94
|
+
name: action.name,
|
|
95
|
+
caseTypeID,
|
|
96
|
+
bulkContextID,
|
|
97
|
+
bulkContextType,
|
|
98
|
+
callbacks: {
|
|
99
|
+
submit: (response) => {
|
|
100
|
+
/* eslint-disable no-console */
|
|
101
|
+
console.log(response);
|
|
102
|
+
console.log('callback for modal submit 1');
|
|
103
|
+
/* eslint-enable no-console */
|
|
104
|
+
if (typeof cb === 'function') {
|
|
105
|
+
cb();
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
cancel: () => {
|
|
109
|
+
/* eslint-disable no-console */
|
|
110
|
+
console.log('callback for modal submit 2');
|
|
111
|
+
/* eslint-enable no-console */
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
showProgress: true,
|
|
115
|
+
progressMessage: 'Updating data... please wait'
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function getFieldMapByName(fieldDefs) {
|
|
120
|
+
return fieldDefs.reduce((acc, field) => {
|
|
121
|
+
acc[field.name] = field;
|
|
122
|
+
return acc;
|
|
123
|
+
}, {});
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
const updateDateTimeField = (expr, fieldMap, dateOnlyFunctions, timezone) => {
|
|
127
|
+
if (expr.condition) {
|
|
128
|
+
// TODO: Get back to this after knowing if the server api considers timezone or not and how it works internally
|
|
129
|
+
if (
|
|
130
|
+
fieldMap[expr.condition.lhs.field].type === 'datetime' &&
|
|
131
|
+
expr.condition.rhs?.value &&
|
|
132
|
+
(!expr.condition.rhs?.dateFunction ||
|
|
133
|
+
(expr.condition.rhs?.dateFunction && !dateOnlyFunctions.includes(expr.condition.rhs?.dateFunction)))
|
|
134
|
+
) {
|
|
135
|
+
if (expr.condition.rhs?.dateFunction === 'HOURS_OF_DAY') {
|
|
136
|
+
expr.condition.rhs.value = Number(expr.condition.rhs.value).toString().padStart(2, '0');
|
|
137
|
+
} else {
|
|
138
|
+
expr.condition.rhs.value = new Date(
|
|
139
|
+
DateTimeFormatter.convertFromTimezone(expr.condition.rhs.value, timezone)
|
|
140
|
+
).toISOString();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
} else if (Array.isArray(expr)) {
|
|
144
|
+
expr.forEach((e) => updateDateTimeField(e, fieldMap, dateOnlyFunctions, timezone));
|
|
145
|
+
} else {
|
|
146
|
+
Object.values(expr).forEach((e) => updateDateTimeField(e, fieldMap, dateOnlyFunctions, timezone));
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
export function updateWithTimeZone(stateFromTable, meta) {
|
|
151
|
+
const { externalFilters } = meta;
|
|
152
|
+
const isExternalFiltersExist =
|
|
153
|
+
externalFilters &&
|
|
154
|
+
stateFromTable.externalState?.[externalFilters] &&
|
|
155
|
+
Object.keys(stateFromTable.externalState?.[externalFilters]).length > 0;
|
|
156
|
+
|
|
157
|
+
if (!(stateFromTable.filterExpression || isExternalFiltersExist)) {
|
|
158
|
+
return stateFromTable;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
stateFromTable = cloneDeep(stateFromTable);
|
|
162
|
+
const fieldMap = getFieldMapByName(meta.fieldDefs);
|
|
163
|
+
const environmentInfo = PCore.getEnvironmentInfo();
|
|
164
|
+
const timezone = environmentInfo && environmentInfo.getTimeZone();
|
|
165
|
+
const dateOnlyFunctions = [...defaultDateFunctions.DATE_ONLY, 'DAYS'];
|
|
166
|
+
if (stateFromTable.filterExpression) {
|
|
167
|
+
updateDateTimeField(stateFromTable.filterExpression, fieldMap, dateOnlyFunctions, timezone);
|
|
168
|
+
}
|
|
169
|
+
if (isExternalFiltersExist) {
|
|
170
|
+
updateDateTimeField(stateFromTable.externalState[externalFilters], fieldMap, dateOnlyFunctions, timezone);
|
|
171
|
+
}
|
|
172
|
+
return stateFromTable;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export function isHybrid() {
|
|
176
|
+
return typeof pega !== 'undefined' && typeof pega.desktop !== 'undefined';
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export const isPageListInPath = (propertyName, currentClassID) => {
|
|
180
|
+
if (!propertyName.includes('.')) {
|
|
181
|
+
return false;
|
|
182
|
+
}
|
|
183
|
+
const [first, ...rest] = propertyName.split('.');
|
|
184
|
+
const metadata = PCore.getMetadataUtils().getPropertyMetadata(first, currentClassID);
|
|
185
|
+
if (metadata?.type === 'Page List') {
|
|
186
|
+
return true;
|
|
187
|
+
}
|
|
188
|
+
return isPageListInPath(rest.join('.'), metadata?.pageClass);
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
export const isEmbeddedField = (field) => {
|
|
192
|
+
if (field?.startsWith('@')) {
|
|
193
|
+
field = field.substring(field.indexOf(' ') + 1);
|
|
194
|
+
if (field[0] === '.') field = field.substring(1);
|
|
195
|
+
}
|
|
196
|
+
return field?.indexOf('.') > 0;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
// Take a filterExpression created by ConditionBuilder, and convert to match table's group/sort syntax
|
|
200
|
+
export const getFieldListFromFilter = (filterExpression) => {
|
|
201
|
+
const splitFilter = splitConditionTree(filterExpression);
|
|
202
|
+
const arrFilter = Object.values(splitFilter.conditions);
|
|
203
|
+
|
|
204
|
+
const filterReferences = [];
|
|
205
|
+
|
|
206
|
+
// Add in any field references
|
|
207
|
+
arrFilter.forEach((item) => {
|
|
208
|
+
if (item.lhs?.field) {
|
|
209
|
+
filterReferences.push({ columnId: item.lhs.field });
|
|
210
|
+
}
|
|
211
|
+
if (item.rhs?.field) {
|
|
212
|
+
filterReferences.push({ columnId: item.rhs.field });
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
return filterReferences;
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
// Todo : This check used to skip fetch data in grouping, remove it once its handled by table --> in ServerApi.js
|
|
220
|
+
// and also used to make fetchAllData if groups are applied --> in DataApi.js
|
|
221
|
+
export function isGroupingAdded(state) {
|
|
222
|
+
const { groups, groupFilters } = state;
|
|
223
|
+
|
|
224
|
+
return groups && groups.length > 0 && !(groupFilters && groupFilters.length > 0);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/*
|
|
228
|
+
It validates and returns the dataviewParameters.
|
|
229
|
+
*/
|
|
230
|
+
export function getDataViewParameters(parameters, runtimeParams) {
|
|
231
|
+
if (!runtimeParams || !parameters) return {};
|
|
232
|
+
|
|
233
|
+
return Object.keys(runtimeParams)
|
|
234
|
+
.filter((key) => parameters.find((e) => e.name === key) && runtimeParams[key] !== '')
|
|
235
|
+
.reduce((obj, key) => {
|
|
236
|
+
return {
|
|
237
|
+
...obj,
|
|
238
|
+
[key]: runtimeParams[key]
|
|
239
|
+
};
|
|
240
|
+
}, {});
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export function generateKeyFromCompositeKeys(compositeKeys, rowData) {
|
|
244
|
+
const key = compositeKeys.reduce((acc, k) => (rowData[k] ? `${acc}${rowData[k]}` : acc), '').trim();
|
|
245
|
+
return `${key}`;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export function getLookUpDataPageInfo(classID) {
|
|
249
|
+
const lookUpDatePage = PCore.getDataTypeUtils().getLookUpDataPage(classID);
|
|
250
|
+
const lookUpDataPageInfo = PCore.getDataTypeUtils().getLookUpDataPageInfo(classID);
|
|
251
|
+
return { lookUpDatePage, lookUpDataPageInfo };
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export function isAlternateKeyStorageForLookUp(lookUpDataPageInfo) {
|
|
255
|
+
return !!lookUpDataPageInfo?.isAlternateKeyStorage;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export const isSelfReferencedProperty = (param, referenceProp) => {
|
|
259
|
+
const [, parentPropName] = param.split('.');
|
|
260
|
+
const referencePropParent = referenceProp?.split('.').pop();
|
|
261
|
+
return parentPropName === referencePropParent;
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
/*
|
|
265
|
+
convert configured descriptors/parameters fieldNames
|
|
266
|
+
for leaf level property - @P .Employee.Name -> Name
|
|
267
|
+
for embedded porperty - @P .Employee.Address.City -> !P!Address:City
|
|
268
|
+
*/
|
|
269
|
+
export function getDescriptorsFieldName(property, pageClass) {
|
|
270
|
+
if (property.startsWith('@')) {
|
|
271
|
+
property = property.substring(property.indexOf(' ') + 1);
|
|
272
|
+
if (property[0] === '.') property = property.substring(1);
|
|
273
|
+
}
|
|
274
|
+
property = property.substring(property.indexOf('.') + 1);
|
|
275
|
+
if (isEmbeddedField(property)) {
|
|
276
|
+
return getEmbeddedFieldName(property, pageClass);
|
|
277
|
+
}
|
|
278
|
+
return property;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export function preparePatchQueryFields(fields, isDataObject = false, classID = '', getPConnect) {
|
|
282
|
+
const queryFields = [];
|
|
283
|
+
// Descriptors can be configured only for single selectionMode properties
|
|
284
|
+
const configProps = getPConnect?.().getRawConfigProps();
|
|
285
|
+
if (configProps?.descriptors?.length) {
|
|
286
|
+
const { descriptors, dataRelationshipContext, pageClass } = getPConnect().getRawConfigProps();
|
|
287
|
+
descriptors.forEach((value) => {
|
|
288
|
+
if (isSelfReferencedProperty(value, dataRelationshipContext) && !value.includes('(')) {
|
|
289
|
+
const name = getDescriptorsFieldName(value, pageClass);
|
|
290
|
+
queryFields.push(name);
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
const { lookUpDatePage, lookUpDataPageInfo } = getLookUpDataPageInfo(classID);
|
|
295
|
+
fields.forEach((field) => {
|
|
296
|
+
const pzInsKey = getMappedKey('pzInsKey');
|
|
297
|
+
const pyID = getMappedKey('pyID');
|
|
298
|
+
const pxObjClass = getMappedKey('pxObjClass');
|
|
299
|
+
const pxRefObjectClass = getMappedKey('pxRefObjectClass');
|
|
300
|
+
const patchFields = [];
|
|
301
|
+
const { meta: { config } = {} } = field;
|
|
302
|
+
if (field.cellRenderer === 'WorkLink') {
|
|
303
|
+
if (field.customObject && field.customObject.isAssignmentLink) {
|
|
304
|
+
const associationName = field.name.includes(':') ? `${field.name.split(':')[0]}:` : '';
|
|
305
|
+
patchFields.push(`${associationName}${pzInsKey}`);
|
|
306
|
+
patchFields.push(`${associationName}${pxRefObjectClass}`);
|
|
307
|
+
} else if (field.customObject && field.customObject.isAssociation) {
|
|
308
|
+
const associationCategory = field.name.split(':')[0];
|
|
309
|
+
patchFields.push(`${associationCategory}:${pyID}`);
|
|
310
|
+
patchFields.push(`${associationCategory}:${pzInsKey}`);
|
|
311
|
+
patchFields.push(`${associationCategory}:${pxObjClass}`);
|
|
312
|
+
} else if (isDataObject) {
|
|
313
|
+
const dataViewName = PCore.getDataTypeUtils().getSavableDataPage(classID);
|
|
314
|
+
const dataPageKeys = PCore.getDataTypeUtils().getDataPageKeys(dataViewName);
|
|
315
|
+
dataPageKeys?.forEach((item) =>
|
|
316
|
+
item.isAlternateKeyStorage ? patchFields.push(item.linkedField) : patchFields.push(item.keyName)
|
|
317
|
+
);
|
|
318
|
+
} else {
|
|
319
|
+
patchFields.push(pyID);
|
|
320
|
+
patchFields.push(pzInsKey);
|
|
321
|
+
patchFields.push(pxObjClass);
|
|
322
|
+
}
|
|
323
|
+
if (lookUpDatePage && isAlternateKeyStorageForLookUp(lookUpDataPageInfo)) {
|
|
324
|
+
const { parameters } = lookUpDataPageInfo;
|
|
325
|
+
Object.keys(parameters).forEach((param) => {
|
|
326
|
+
const paramValue = parameters[param];
|
|
327
|
+
|
|
328
|
+
if (PCore.getAnnotationUtils().isProperty(paramValue)) {
|
|
329
|
+
patchFields.push(PCore.getAnnotationUtils().getPropertyName(paramValue));
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
} else if (field.cellRenderer === 'UserReference') {
|
|
334
|
+
// TODO: Support Embedded UserReference(.Page.UserReference) with field.cellRenderer === 'PageReferenceRenderer' || 'ScalarList'. Please check BUG-784885 / US-539805
|
|
335
|
+
if (field.customObject.associationID) {
|
|
336
|
+
patchFields.push(`${field.customObject.associationID}:pyUserName`);
|
|
337
|
+
}
|
|
338
|
+
} else if (field.cellRenderer === 'URL') {
|
|
339
|
+
if (config?.urlLabelSelection === Constants.PROPERTY_REFERENCE && config?.propUrlLabel !== '') {
|
|
340
|
+
patchFields.push(PCore.getAnnotationUtils().getPropertyName(config.propUrlLabel));
|
|
341
|
+
}
|
|
342
|
+
} else if (field.cellRenderer === 'Currency-Code') {
|
|
343
|
+
if (config?.isoCodeSelection === Constants.PROPERTY_REFERENCE && config?.currencyISOCode !== '') {
|
|
344
|
+
patchFields.push(PCore.getAnnotationUtils().getPropertyName(config.currencyISOCode));
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
patchFields.forEach((k) => {
|
|
349
|
+
if (!queryFields.find((q) => q === k)) {
|
|
350
|
+
queryFields.push(k);
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
});
|
|
354
|
+
return queryFields;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
function getFilterExpression(key, value = null, comparator = 'IS_NULL') {
|
|
358
|
+
return {
|
|
359
|
+
comparator,
|
|
360
|
+
lhs: {
|
|
361
|
+
field: key
|
|
362
|
+
},
|
|
363
|
+
...(value && { rhs: { value } })
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export function prepareFilters(keys = [], data = {}, logicOperator = '') {
|
|
368
|
+
if (!(keys.length && Object.keys(data))) {
|
|
369
|
+
return null;
|
|
370
|
+
}
|
|
371
|
+
let logicString = '';
|
|
372
|
+
const filterConditions = {};
|
|
373
|
+
keys.forEach((key, index) => {
|
|
374
|
+
const value = data[key];
|
|
375
|
+
let filterExpression = {};
|
|
376
|
+
if (value) {
|
|
377
|
+
filterExpression = getFilterExpression(key, value, 'EQ');
|
|
378
|
+
} else {
|
|
379
|
+
filterExpression = getFilterExpression(key);
|
|
380
|
+
}
|
|
381
|
+
filterConditions[`T${index + 1}`] = filterExpression;
|
|
382
|
+
|
|
383
|
+
if (index + 1 !== keys.length) {
|
|
384
|
+
logicString = `${logicString}T${index + 1} ${logicOperator} `;
|
|
385
|
+
} else {
|
|
386
|
+
logicString = `${logicString}T${index + 1}`;
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
return { logic: logicString, filterConditions };
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export function prepareAdditionalApiParams({ useExtendedTimeout, includeTotalCount } = {}) {
|
|
393
|
+
const additionalApiParams = {};
|
|
394
|
+
if (useExtendedTimeout) {
|
|
395
|
+
additionalApiParams.useExtendedTimeout = useExtendedTimeout;
|
|
396
|
+
}
|
|
397
|
+
additionalApiParams.includeTotalCount = includeTotalCount;
|
|
398
|
+
return additionalApiParams;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
function getTableViewName({ personalization = {} } = {}) {
|
|
402
|
+
const activePersonalization = personalization.active;
|
|
403
|
+
return personalization.allPersonalizations?.[activePersonalization]?.name;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export function getLabelsForTimeoutModal(tableState) {
|
|
407
|
+
const getLocaleValue = PCore.getLocaleUtils().getLocaleValue;
|
|
408
|
+
|
|
409
|
+
let {
|
|
410
|
+
heading,
|
|
411
|
+
genericDescription,
|
|
412
|
+
tableNameMessagePrefix,
|
|
413
|
+
tableNameMessageSuffix,
|
|
414
|
+
cancelButtonLabel,
|
|
415
|
+
submitButtonLabel
|
|
416
|
+
} = confirmationModalLabels.TIMEOUT;
|
|
417
|
+
|
|
418
|
+
heading = getLocaleValue(heading, 'TableConfirmationModal');
|
|
419
|
+
genericDescription = getLocaleValue(genericDescription, 'TableConfirmationModal');
|
|
420
|
+
tableNameMessagePrefix = getLocaleValue(tableNameMessagePrefix, 'TableConfirmationModal');
|
|
421
|
+
tableNameMessageSuffix = getLocaleValue(tableNameMessageSuffix, 'TableConfirmationModal');
|
|
422
|
+
cancelButtonLabel = getLocaleValue(cancelButtonLabel, 'TableConfirmationModal');
|
|
423
|
+
submitButtonLabel = getLocaleValue(submitButtonLabel, 'TableConfirmationModal');
|
|
424
|
+
|
|
425
|
+
const tableViewName = getTableViewName(tableState);
|
|
426
|
+
const description = tableViewName
|
|
427
|
+
? `${tableNameMessagePrefix} ${tableViewName} ${tableNameMessageSuffix}`
|
|
428
|
+
: genericDescription;
|
|
429
|
+
|
|
430
|
+
return {
|
|
431
|
+
heading,
|
|
432
|
+
description,
|
|
433
|
+
submitButtonLabel,
|
|
434
|
+
cancelButtonLabel
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
function isAssociationField(field) {
|
|
439
|
+
return field.includes(':') && !(field.startsWith(PAGE) || field.startsWith(PAGELIST));
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* [isAssociationAlreadyAdded]
|
|
444
|
+
* Description - A utility to be called when it is required to check only one field of an association should be considered.
|
|
445
|
+
* @ignore
|
|
446
|
+
* @param {string} field field name
|
|
447
|
+
* @param {Set} associationNames a utility set of associations that will be used to add association parents names in case it is not considered before.
|
|
448
|
+
* @returns {boolean} if association is already considered or not
|
|
449
|
+
*/
|
|
450
|
+
function isAssociationAlreadyAdded(field, associationNames) {
|
|
451
|
+
const [associationName] = field.split(':');
|
|
452
|
+
if (!associationNames.has(associationName)) {
|
|
453
|
+
associationNames.add(associationName);
|
|
454
|
+
return false;
|
|
455
|
+
}
|
|
456
|
+
return true;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
export function getAssociationFieldsFromQuery(query) {
|
|
460
|
+
const associationNames = new Set();
|
|
461
|
+
return query?.select.filter(
|
|
462
|
+
({ field }) => isAssociationField(field) && !isAssociationAlreadyAdded(field, associationNames)
|
|
463
|
+
);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
// Other - Sort,group,filter fields
|
|
467
|
+
function getOtherRelevantFields(stateFromTable) {
|
|
468
|
+
const otherRelevantFields = [];
|
|
469
|
+
stateFromTable.sortingOrder?.forEach((sort) => {
|
|
470
|
+
if (!otherRelevantFields.includes(sort.columnId)) {
|
|
471
|
+
otherRelevantFields.push(sort.columnId);
|
|
472
|
+
}
|
|
473
|
+
});
|
|
474
|
+
stateFromTable.groups?.forEach((group) => {
|
|
475
|
+
if (!otherRelevantFields.includes(group.columnId)) {
|
|
476
|
+
otherRelevantFields.push(group.columnId);
|
|
477
|
+
}
|
|
478
|
+
});
|
|
479
|
+
|
|
480
|
+
if (stateFromTable.filterExpression) {
|
|
481
|
+
const filterArray = getFieldListFromFilter(stateFromTable.filterExpression);
|
|
482
|
+
filterArray.forEach((item) => {
|
|
483
|
+
const id = item.columnId;
|
|
484
|
+
if (!otherRelevantFields.includes(id)) {
|
|
485
|
+
otherRelevantFields.push(id);
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
return otherRelevantFields;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export function mergeAssociationFieldsAggregations(meta, stateFromTable, select, existingAggregations) {
|
|
493
|
+
const otherRelevantFields = meta.isAnalyticsTable ? getOtherRelevantFields(stateFromTable) : [];
|
|
494
|
+
const existingAggregationNames = Object.keys(existingAggregations).toString();
|
|
495
|
+
const associationNames = new Set();
|
|
496
|
+
meta.fieldDefs.forEach(({ name }) => {
|
|
497
|
+
if (
|
|
498
|
+
isAssociationField(name) &&
|
|
499
|
+
(meta.isAnalyticsTable
|
|
500
|
+
? !stateFromTable.hiddenColumns.includes(name) || otherRelevantFields.includes(name)
|
|
501
|
+
: true) &&
|
|
502
|
+
!isAssociationAlreadyAdded(name, associationNames)
|
|
503
|
+
) {
|
|
504
|
+
mergePageListFieldAggregation(name, select, existingAggregations, existingAggregationNames);
|
|
505
|
+
}
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export function filterDuplicatesBy(id) {
|
|
510
|
+
const uniqueSelectFields = new Set();
|
|
511
|
+
return function (obj) {
|
|
512
|
+
let check = false;
|
|
513
|
+
if (obj[id] && !uniqueSelectFields.has(obj[id])) {
|
|
514
|
+
uniqueSelectFields.add(obj[id]);
|
|
515
|
+
check = true;
|
|
516
|
+
} else if (!obj[id]) {
|
|
517
|
+
check = true;
|
|
518
|
+
}
|
|
519
|
+
return check;
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export function isOpenViewInModal(additionalDetails) {
|
|
524
|
+
return (
|
|
525
|
+
additionalDetails.type === 'OPEN_VIEW' && additionalDetails.mode === 'MODAL' && additionalDetails.params.config.name
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
*
|
|
531
|
+
* @param {Object} promotedFiltersObject
|
|
532
|
+
* @returns An array of conditions formed with the promoted filters
|
|
533
|
+
*
|
|
534
|
+
* example:
|
|
535
|
+
* promotedFiltersObject = {a:2, b: 3};
|
|
536
|
+
* return
|
|
537
|
+
* [
|
|
538
|
+
condition: {
|
|
539
|
+
comp: 'EQ',
|
|
540
|
+
lhs: {field: 'a'},
|
|
541
|
+
rhs: {value: '2'}
|
|
542
|
+
},
|
|
543
|
+
condition: {
|
|
544
|
+
comp: 'EQ',
|
|
545
|
+
lhs: {field: 'b'},
|
|
546
|
+
rhs: {value: '3'}
|
|
547
|
+
}
|
|
548
|
+
]
|
|
549
|
+
*/
|
|
550
|
+
export function formatPromotedFiltersAsFilterConditions(promotedFiltersObject = {}) {
|
|
551
|
+
return Object.entries(promotedFiltersObject).reduce((acc, [field, value]) => {
|
|
552
|
+
if (value) {
|
|
553
|
+
acc.push({
|
|
554
|
+
condition: {
|
|
555
|
+
lhs: {
|
|
556
|
+
field
|
|
557
|
+
},
|
|
558
|
+
comparator: 'EQ',
|
|
559
|
+
rhs: {
|
|
560
|
+
value
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
return acc;
|
|
567
|
+
}, []);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* @param {Object} state
|
|
572
|
+
* @param {Object} meta
|
|
573
|
+
* @returns Calculated indexes in multiple of pageSize(splitting the virtualizer indexes)
|
|
574
|
+
* For pageSize: 25, startIndex: 0, endIndex: 40 => generate [0, 24], [25, 49]
|
|
575
|
+
*/
|
|
576
|
+
function calculateIndexes(state, meta) {
|
|
577
|
+
const virtualizerIndexes = state.paginationOptions.rootVirtualiser;
|
|
578
|
+
const pageSize = meta.pageSize;
|
|
579
|
+
|
|
580
|
+
const fromPage = Math.floor(virtualizerIndexes.startIndex / pageSize);
|
|
581
|
+
const toPage = Math.ceil((virtualizerIndexes.endIndex + 1) / pageSize); // adding +1 because if endIndex is 175 then toPage = 7 but the the last page ends at 174[... (125, 149), (150, 174)]
|
|
582
|
+
const indexes = [];
|
|
583
|
+
for (let i = fromPage; i < toPage; i += 1) {
|
|
584
|
+
indexes.push({ startIndex: pageSize * i, endIndex: pageSize * (i + 1) - 1 });
|
|
585
|
+
}
|
|
586
|
+
return indexes;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* @param {Object} state
|
|
591
|
+
* @param {Object} meta
|
|
592
|
+
* @returns Copy of states with virtualizer indexes
|
|
593
|
+
*/
|
|
594
|
+
export function updatePaginationStatesForMultipleCalls(state, meta) {
|
|
595
|
+
const indexes = calculateIndexes(state, meta);
|
|
596
|
+
return indexes.map((index) => ({
|
|
597
|
+
...state,
|
|
598
|
+
paginationOptions: {
|
|
599
|
+
rootVirtualiser: {
|
|
600
|
+
startIndex: index.startIndex,
|
|
601
|
+
endIndex: index.endIndex
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}));
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @param {Object} state
|
|
609
|
+
* @param {Object} meta
|
|
610
|
+
* @param {Array} requests
|
|
611
|
+
* @returns Resolves promise, compiles and slices the data
|
|
612
|
+
*/
|
|
613
|
+
export async function processRequests(state, meta, requests) {
|
|
614
|
+
let data = [];
|
|
615
|
+
let queryStats = [];
|
|
616
|
+
let count;
|
|
617
|
+
const virtualizerIndexes = state.paginationOptions.rootVirtualiser;
|
|
618
|
+
|
|
619
|
+
await Promise.all(requests)
|
|
620
|
+
.then((results) =>
|
|
621
|
+
results.forEach((result) => {
|
|
622
|
+
if (result.status === 200 || Array.isArray(result.data)) {
|
|
623
|
+
data = data.concat(result.data);
|
|
624
|
+
queryStats = queryStats.concat(result.queryStats);
|
|
625
|
+
if (result.count !== null && result.count !== undefined) count = result.count;
|
|
626
|
+
} else {
|
|
627
|
+
throw new Error('Failed: Error while fetching records');
|
|
628
|
+
}
|
|
629
|
+
return { data, queryStats, count };
|
|
630
|
+
})
|
|
631
|
+
)
|
|
632
|
+
.catch((err) => {
|
|
633
|
+
throw err;
|
|
634
|
+
});
|
|
635
|
+
|
|
636
|
+
if (meta.pageSize) {
|
|
637
|
+
// For slicing data, startIndex needs to be calculated from the page fetched
|
|
638
|
+
// eg: startIndex: 63, endIndex: 120, pageSize: 25, pages fetched - [50, 74], [75, 99], [100, 124]
|
|
639
|
+
// Have to slice the data from arr of records [50, 124] -> [13, 70]
|
|
640
|
+
const startIdx = virtualizerIndexes.startIndex % meta.pageSize; // 63 % 25 = 13
|
|
641
|
+
const endIdx = virtualizerIndexes.endIndex - virtualizerIndexes.startIndex + startIdx; // (120 - 63) + 13
|
|
642
|
+
data = data.slice(startIdx, endIdx + 1);
|
|
643
|
+
}
|
|
644
|
+
return { data, queryStats: queryStats[0], count };
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
export function getLeafValue(data, fieldName, fieldSeparator) {
|
|
648
|
+
if (!data) {
|
|
649
|
+
return null;
|
|
650
|
+
}
|
|
651
|
+
if (!fieldName.includes(fieldSeparator)) {
|
|
652
|
+
return data[fieldName];
|
|
653
|
+
}
|
|
654
|
+
const [first, ...rest] = fieldName.split(fieldSeparator);
|
|
655
|
+
return getLeafValue(data[first], rest.join(fieldSeparator));
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
// Builds a uniquely identifyable aggregation/calculation ID for sending to the server.
|
|
659
|
+
export const buildAggOrCalcId = (columnId, functionName) => {
|
|
660
|
+
// Server does not support agg/calc ID's containing special chars, but Association ID's can contain - and _
|
|
661
|
+
// AND the data_views API uses : to separate the assoc ID and the field ID
|
|
662
|
+
// EmbeddedFields starts with !P! or !PL!, so ! should be removed as it is a special chars
|
|
663
|
+
return `${columnId.replace(/[-_!:]/g, '')}${functionName}`;
|
|
664
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
// individual style, comment out above, and uncomment here and add styles
|
|
9
|
+
// import styled, { css } from 'styled-components';
|
|
10
|
+
//
|
|
11
|
+
// export default styled.div(() => {
|
|
12
|
+
// return css`
|
|
13
|
+
// margin: 0px 0;
|
|
14
|
+
// `;
|
|
15
|
+
// });
|