@pega/angular-sdk-overrides 0.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/designSystemExtension/alert/alert.component.html +19 -0
- package/lib/designSystemExtension/alert/alert.component.scss +52 -0
- package/lib/designSystemExtension/alert/alert.component.spec.ts +22 -0
- package/lib/designSystemExtension/alert/alert.component.ts +43 -0
- package/lib/designSystemExtension/alert-banner/alert-banner.component.html +12 -0
- package/lib/designSystemExtension/alert-banner/alert-banner.component.scss +0 -0
- package/lib/designSystemExtension/alert-banner/alert-banner.component.spec.ts +22 -0
- package/lib/designSystemExtension/alert-banner/alert-banner.component.ts +27 -0
- package/lib/designSystemExtension/banner/banner.component.html +28 -0
- package/lib/designSystemExtension/banner/banner.component.scss +64 -0
- package/lib/designSystemExtension/banner/banner.component.spec.ts +22 -0
- package/lib/designSystemExtension/banner/banner.component.ts +26 -0
- package/lib/designSystemExtension/case-create-stage/case-create-stage.component.html +12 -0
- package/lib/designSystemExtension/case-create-stage/case-create-stage.component.scss +0 -0
- package/lib/designSystemExtension/case-create-stage/case-create-stage.component.spec.ts +24 -0
- package/lib/designSystemExtension/case-create-stage/case-create-stage.component.ts +58 -0
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.html +52 -0
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.scss +142 -0
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.spec.ts +24 -0
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.ts +80 -0
- package/lib/designSystemExtension/material-details/material-details.component.html +40 -0
- package/lib/designSystemExtension/material-details/material-details.component.scss +121 -0
- package/lib/designSystemExtension/material-details/material-details.component.spec.ts +24 -0
- package/lib/designSystemExtension/material-details/material-details.component.ts +32 -0
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.html +23 -0
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.scss +33 -0
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.spec.ts +22 -0
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.ts +29 -0
- package/lib/designSystemExtension/material-summary-item/material-summary-item.component.html +37 -0
- package/lib/designSystemExtension/material-summary-item/material-summary-item.component.scss +127 -0
- package/lib/designSystemExtension/material-summary-item/material-summary-item.component.spec.ts +24 -0
- package/lib/designSystemExtension/material-summary-item/material-summary-item.component.ts +32 -0
- package/lib/designSystemExtension/material-summary-list/material-summary-list.component.html +3 -0
- package/lib/designSystemExtension/material-summary-list/material-summary-list.component.scss +1 -0
- package/lib/designSystemExtension/material-summary-list/material-summary-list.component.spec.ts +24 -0
- package/lib/designSystemExtension/material-summary-list/material-summary-list.component.ts +17 -0
- package/lib/designSystemExtension/material-utility/material-utility.component.html +17 -0
- package/lib/designSystemExtension/material-utility/material-utility.component.scss +52 -0
- package/lib/designSystemExtension/material-utility/material-utility.component.spec.ts +24 -0
- package/lib/designSystemExtension/material-utility/material-utility.component.ts +26 -0
- package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.html +12 -0
- package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.scss +28 -0
- package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.spec.ts +24 -0
- package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.ts +40 -0
- package/lib/designSystemExtension/operator/operator.component.html +20 -0
- package/lib/designSystemExtension/operator/operator.component.scss +83 -0
- package/lib/designSystemExtension/operator/operator.component.spec.ts +24 -0
- package/lib/designSystemExtension/operator/operator.component.ts +146 -0
- package/lib/designSystemExtension/pulse/pulse.component.html +3 -0
- package/lib/designSystemExtension/pulse/pulse.component.scss +8 -0
- package/lib/designSystemExtension/pulse/pulse.component.spec.ts +24 -0
- package/lib/designSystemExtension/pulse/pulse.component.ts +40 -0
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.html +33 -0
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.scss +20 -0
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.spec.ts +24 -0
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.ts +89 -0
- package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.html +13 -0
- package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.scss +43 -0
- package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.spec.ts +22 -0
- package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.ts +15 -0
- package/lib/field/auto-complete/auto-complete.component.html +32 -0
- package/lib/field/auto-complete/auto-complete.component.scss +20 -0
- package/lib/field/auto-complete/auto-complete.component.spec.ts +24 -0
- package/lib/field/auto-complete/auto-complete.component.ts +345 -0
- package/lib/field/auto-complete/config-ext.json +10 -0
- package/lib/field/cancel-alert/cancel-alert.component.html +18 -0
- package/lib/field/cancel-alert/cancel-alert.component.scss +24 -0
- package/lib/field/cancel-alert/cancel-alert.component.spec.ts +24 -0
- package/lib/field/cancel-alert/cancel-alert.component.ts +107 -0
- package/lib/field/check-box/check-box.component.html +41 -0
- package/lib/field/check-box/check-box.component.scss +24 -0
- package/lib/field/check-box/check-box.component.spec.ts +24 -0
- package/lib/field/check-box/check-box.component.ts +188 -0
- package/lib/field/check-box/config-ext.json +9 -0
- package/lib/field/currency/config-ext.json +9 -0
- package/lib/field/currency/currency.component.html +31 -0
- package/lib/field/currency/currency.component.scss +28 -0
- package/lib/field/currency/currency.component.spec.ts +24 -0
- package/lib/field/currency/currency.component.ts +197 -0
- package/lib/field/date/config-ext.json +9 -0
- package/lib/field/date/date.component.html +31 -0
- package/lib/field/date/date.component.scss +24 -0
- package/lib/field/date/date.component.spec.ts +24 -0
- package/lib/field/date/date.component.ts +245 -0
- package/lib/field/date-time/config-ext.json +8 -0
- package/lib/field/date-time/date-time.component.html +29 -0
- package/lib/field/date-time/date-time.component.scss +80 -0
- package/lib/field/date-time/date-time.component.spec.ts +24 -0
- package/lib/field/date-time/date-time.component.ts +224 -0
- package/lib/field/decimal/config-ext.json +8 -0
- package/lib/field/decimal/decimal.component.html +28 -0
- package/lib/field/decimal/decimal.component.scss +20 -0
- package/lib/field/decimal/decimal.component.spec.ts +24 -0
- package/lib/field/decimal/decimal.component.ts +187 -0
- package/lib/field/dropdown/config-ext.json +8 -0
- package/lib/field/dropdown/dropdown.component.html +31 -0
- package/lib/field/dropdown/dropdown.component.scss +25 -0
- package/lib/field/dropdown/dropdown.component.spec.ts +24 -0
- package/lib/field/dropdown/dropdown.component.ts +247 -0
- package/lib/field/email/config-ext.json +8 -0
- package/lib/field/email/email.component.html +27 -0
- package/lib/field/email/email.component.scss +20 -0
- package/lib/field/email/email.component.spec.ts +24 -0
- package/lib/field/email/email.component.ts +180 -0
- package/lib/field/integer/config-ext.json +8 -0
- package/lib/field/integer/integer.component.html +28 -0
- package/lib/field/integer/integer.component.scss +20 -0
- package/lib/field/integer/integer.component.spec.ts +24 -0
- package/lib/field/integer/integer.component.ts +185 -0
- package/lib/field/list-view-action-buttons/list-view-action-buttons.component.html +12 -0
- package/lib/field/list-view-action-buttons/list-view-action-buttons.component.scss +1 -0
- package/lib/field/list-view-action-buttons/list-view-action-buttons.component.spec.ts +22 -0
- package/lib/field/list-view-action-buttons/list-view-action-buttons.component.ts +40 -0
- package/lib/field/percentage/config-ext.json +8 -0
- package/lib/field/percentage/percentage.component.html +29 -0
- package/lib/field/percentage/percentage.component.scss +20 -0
- package/lib/field/percentage/percentage.component.spec.ts +24 -0
- package/lib/field/percentage/percentage.component.ts +181 -0
- package/lib/field/phone/config-ext.json +8 -0
- package/lib/field/phone/phone.component.html +26 -0
- package/lib/field/phone/phone.component.scss +81 -0
- package/lib/field/phone/phone.component.spec.ts +24 -0
- package/lib/field/phone/phone.component.ts +199 -0
- package/lib/field/radio-buttons/config-ext.json +8 -0
- package/lib/field/radio-buttons/radio-buttons.component.html +37 -0
- package/lib/field/radio-buttons/radio-buttons.component.scss +39 -0
- package/lib/field/radio-buttons/radio-buttons.component.spec.ts +24 -0
- package/lib/field/radio-buttons/radio-buttons.component.ts +241 -0
- package/lib/field/rich-text/rich-text.component.html +20 -0
- package/lib/field/rich-text/rich-text.component.scss +0 -0
- package/lib/field/rich-text/rich-text.component.spec.ts +24 -0
- package/lib/field/rich-text/rich-text.component.ts +131 -0
- package/lib/field/scalar-list/config-ext.json +8 -0
- package/lib/field/scalar-list/scalar-list.component.html +9 -0
- package/lib/field/scalar-list/scalar-list.component.scss +0 -0
- package/lib/field/scalar-list/scalar-list.component.spec.ts +22 -0
- package/lib/field/scalar-list/scalar-list.component.ts +119 -0
- package/lib/field/semantic-link/config-ext.json +7 -0
- package/lib/field/semantic-link/semantic-link.component.html +10 -0
- package/lib/field/semantic-link/semantic-link.component.scss +16 -0
- package/lib/field/semantic-link/semantic-link.component.spec.ts +0 -0
- package/lib/field/semantic-link/semantic-link.component.ts +70 -0
- package/lib/field/text/text.component.html +14 -0
- package/lib/field/text/text.component.scss +30 -0
- package/lib/field/text/text.component.spec.ts +24 -0
- package/lib/field/text/text.component.ts +158 -0
- package/lib/field/text-area/config-ext.json +8 -0
- package/lib/field/text-area/text-area.component.html +29 -0
- package/lib/field/text-area/text-area.component.scss +20 -0
- package/lib/field/text-area/text-area.component.spec.ts +24 -0
- package/lib/field/text-area/text-area.component.ts +186 -0
- package/lib/field/text-content/config-ext.json +7 -0
- package/lib/field/text-content/text-content.component.html +7 -0
- package/lib/field/text-content/text-content.component.scss +4 -0
- package/lib/field/text-content/text-content.component.spec.ts +24 -0
- package/lib/field/text-content/text-content.component.ts +89 -0
- package/lib/field/text-input/config-ext.json +8 -0
- package/lib/field/text-input/text-input.component.html +27 -0
- package/lib/field/text-input/text-input.component.scss +20 -0
- package/lib/field/text-input/text-input.component.spec.ts +24 -0
- package/lib/field/text-input/text-input.component.ts +183 -0
- package/lib/field/time/config-ext.json +8 -0
- package/lib/field/time/time.component.html +26 -0
- package/lib/field/time/time.component.scss +20 -0
- package/lib/field/time/time.component.spec.ts +24 -0
- package/lib/field/time/time.component.ts +177 -0
- package/lib/field/url/config-ext.json +8 -0
- package/lib/field/url/url.component.html +26 -0
- package/lib/field/url/url.component.scss +20 -0
- package/lib/field/url/url.component.spec.ts +24 -0
- package/lib/field/url/url.component.ts +179 -0
- package/lib/field/user-reference/config-ext.json +7 -0
- package/lib/field/user-reference/user-reference.component.html +48 -0
- package/lib/field/user-reference/user-reference.component.scss +30 -0
- package/lib/field/user-reference/user-reference.component.spec.ts +24 -0
- package/lib/field/user-reference/user-reference.component.ts +213 -0
- package/lib/infra/Containers/flow-container/flow-container.component.html +39 -0
- package/lib/infra/Containers/flow-container/flow-container.component.scss +33 -0
- package/lib/infra/Containers/flow-container/flow-container.component.spec.ts +24 -0
- package/lib/infra/Containers/flow-container/flow-container.component.ts +633 -0
- package/lib/infra/Containers/flow-container/helpers.ts +79 -0
- package/lib/infra/Containers/hybrid-view-container/hybrid-view-container.component.html +1 -0
- package/lib/infra/Containers/hybrid-view-container/hybrid-view-container.component.scss +0 -0
- package/lib/infra/Containers/hybrid-view-container/hybrid-view-container.component.spec.ts +24 -0
- package/lib/infra/Containers/hybrid-view-container/hybrid-view-container.component.ts +24 -0
- package/lib/infra/Containers/modal-view-container/modal-view-container.component.html +35 -0
- package/lib/infra/Containers/modal-view-container/modal-view-container.component.scss +29 -0
- package/lib/infra/Containers/modal-view-container/modal-view-container.component.spec.ts +24 -0
- package/lib/infra/Containers/modal-view-container/modal-view-container.component.ts +394 -0
- package/lib/infra/Containers/preview-view-container/preview-view-container.component.html +1 -0
- package/lib/infra/Containers/preview-view-container/preview-view-container.component.scss +0 -0
- package/lib/infra/Containers/preview-view-container/preview-view-container.component.spec.ts +24 -0
- package/lib/infra/Containers/preview-view-container/preview-view-container.component.ts +35 -0
- package/lib/infra/Containers/view-container/view-container.component.html +31 -0
- package/lib/infra/Containers/view-container/view-container.component.scss +7 -0
- package/lib/infra/Containers/view-container/view-container.component.spec.ts +24 -0
- package/lib/infra/Containers/view-container/view-container.component.ts +289 -0
- package/lib/infra/action-buttons/action-buttons.component.html +12 -0
- package/lib/infra/action-buttons/action-buttons.component.scss +1 -0
- package/lib/infra/action-buttons/action-buttons.component.spec.ts +24 -0
- package/lib/infra/action-buttons/action-buttons.component.ts +25 -0
- package/lib/infra/assignment/assignment.component.html +28 -0
- package/lib/infra/assignment/assignment.component.scss +0 -0
- package/lib/infra/assignment/assignment.component.spec.ts +24 -0
- package/lib/infra/assignment/assignment.component.ts +463 -0
- package/lib/infra/assignment-card/assignment-card.component.html +26 -0
- package/lib/infra/assignment-card/assignment-card.component.scss +9 -0
- package/lib/infra/assignment-card/assignment-card.component.spec.ts +24 -0
- package/lib/infra/assignment-card/assignment-card.component.ts +39 -0
- package/lib/infra/dashboard-filter/dashboard-filter.component.html +35 -0
- package/lib/infra/dashboard-filter/dashboard-filter.component.scss +14 -0
- package/lib/infra/dashboard-filter/dashboard-filter.component.spec.ts +24 -0
- package/lib/infra/dashboard-filter/dashboard-filter.component.ts +90 -0
- package/lib/infra/defer-load/defer-load.component.html +3 -0
- package/lib/infra/defer-load/defer-load.component.scss +0 -0
- package/lib/infra/defer-load/defer-load.component.spec.ts +24 -0
- package/lib/infra/defer-load/defer-load.component.ts +169 -0
- package/lib/infra/error-boundary/error-boundary.component.html +1 -0
- package/lib/infra/error-boundary/error-boundary.component.scss +0 -0
- package/lib/infra/error-boundary/error-boundary.component.spec.ts +22 -0
- package/lib/infra/error-boundary/error-boundary.component.ts +16 -0
- package/lib/infra/multi-step/multi-step.component.html +98 -0
- package/lib/infra/multi-step/multi-step.component.scss +247 -0
- package/lib/infra/multi-step/multi-step.component.spec.ts +24 -0
- package/lib/infra/multi-step/multi-step.component.ts +85 -0
- package/lib/infra/navbar/navbar.component.html +55 -0
- package/lib/infra/navbar/navbar.component.scss +154 -0
- package/lib/infra/navbar/navbar.component.spec.ts +24 -0
- package/lib/infra/navbar/navbar.component.ts +175 -0
- package/lib/infra/reference/reference.component.html +1 -0
- package/lib/infra/reference/reference.component.scss +0 -0
- package/lib/infra/reference/reference.component.ts +165 -0
- package/lib/infra/region/region.component.html +11 -0
- package/lib/infra/region/region.component.scss +0 -0
- package/lib/infra/region/region.component.spec.ts +24 -0
- package/lib/infra/region/region.component.ts +37 -0
- package/lib/infra/root-container/root-container.component.html +36 -0
- package/lib/infra/root-container/root-container.component.scss +20 -0
- package/lib/infra/root-container/root-container.component.spec.ts +24 -0
- package/lib/infra/root-container/root-container.component.ts +256 -0
- package/lib/infra/stages/stages.component.html +15 -0
- package/lib/infra/stages/stages.component.scss +109 -0
- package/lib/infra/stages/stages.component.spec.ts +24 -0
- package/lib/infra/stages/stages.component.ts +83 -0
- package/lib/infra/view/view.component.html +38 -0
- package/lib/infra/view/view.component.scss +16 -0
- package/lib/infra/view/view.component.spec.ts +24 -0
- package/lib/infra/view/view.component.ts +214 -0
- package/lib/template/app-shell/app-shell.component.html +15 -0
- package/lib/template/app-shell/app-shell.component.scss +51 -0
- package/lib/template/app-shell/app-shell.component.spec.ts +24 -0
- package/lib/template/app-shell/app-shell.component.ts +192 -0
- package/lib/template/banner-page/banner-page.component.html +12 -0
- package/lib/template/banner-page/banner-page.component.scss +0 -0
- package/lib/template/banner-page/banner-page.component.spec.ts +22 -0
- package/lib/template/banner-page/banner-page.component.ts +65 -0
- package/lib/template/case-summary/case-summary.component.html +1 -0
- package/lib/template/case-summary/case-summary.component.scss +44 -0
- package/lib/template/case-summary/case-summary.component.spec.ts +24 -0
- package/lib/template/case-summary/case-summary.component.ts +100 -0
- package/lib/template/case-summary/config-ext.json +8 -0
- package/lib/template/case-view/case-view.component.html +89 -0
- package/lib/template/case-view/case-view.component.scss +107 -0
- package/lib/template/case-view/case-view.component.spec.ts +24 -0
- package/lib/template/case-view/case-view.component.ts +242 -0
- package/lib/template/case-view/config-ext.json +8 -0
- package/lib/template/confirmation/config-ext.json +11 -0
- package/lib/template/confirmation/confirmation.component.html +23 -0
- package/lib/template/confirmation/confirmation.component.scss +10 -0
- package/lib/template/confirmation/confirmation.component.spec.ts +23 -0
- package/lib/template/confirmation/confirmation.component.ts +91 -0
- package/lib/template/data-reference/config-ext.json +8 -0
- package/lib/template/data-reference/data-reference.component.html +13 -0
- package/lib/template/data-reference/data-reference.component.scss +0 -0
- package/lib/template/data-reference/data-reference.component.spec.ts +24 -0
- package/lib/template/data-reference/data-reference.component.ts +275 -0
- package/lib/template/default-form/config-ext.json +8 -0
- package/lib/template/default-form/default-form.component.html +19 -0
- package/lib/template/default-form/default-form.component.scss +38 -0
- package/lib/template/default-form/default-form.component.spec.ts +24 -0
- package/lib/template/default-form/default-form.component.ts +76 -0
- package/lib/template/details/config-ext.json +9 -0
- package/lib/template/details/details.component.html +3 -0
- package/lib/template/details/details.component.scss +7 -0
- package/lib/template/details/details.component.spec.ts +24 -0
- package/lib/template/details/details.component.ts +113 -0
- package/lib/template/details-narrow-wide/config-ext.json +8 -0
- package/lib/template/details-narrow-wide/details-narrow-wide.component.html +4 -0
- package/lib/template/details-narrow-wide/details-narrow-wide.component.scss +7 -0
- package/lib/template/details-narrow-wide/details-narrow-wide.component.spec.ts +24 -0
- package/lib/template/details-narrow-wide/details-narrow-wide.component.ts +82 -0
- package/lib/template/details-one-column/config-ext.json +9 -0
- package/lib/template/details-one-column/details-one-column.component.html +1 -0
- package/lib/template/details-one-column/details-one-column.component.scss +0 -0
- package/lib/template/details-one-column/details-one-column.component.spec.ts +24 -0
- package/lib/template/details-one-column/details-one-column.component.ts +85 -0
- package/lib/template/details-sub-tabs/config-ext.json +8 -0
- package/lib/template/details-sub-tabs/details-sub-tabs.component.html +15 -0
- package/lib/template/details-sub-tabs/details-sub-tabs.component.scss +0 -0
- package/lib/template/details-sub-tabs/details-sub-tabs.component.spec.ts +24 -0
- package/lib/template/details-sub-tabs/details-sub-tabs.component.ts +73 -0
- package/lib/template/details-three-column/config-ext.json +8 -0
- package/lib/template/details-three-column/details-three-column.component.html +4 -0
- package/lib/template/details-three-column/details-three-column.component.scss +7 -0
- package/lib/template/details-three-column/details-three-column.component.spec.ts +24 -0
- package/lib/template/details-three-column/details-three-column.component.ts +94 -0
- package/lib/template/details-two-column/config-ext.json +8 -0
- package/lib/template/details-two-column/details-two-column.component.html +4 -0
- package/lib/template/details-two-column/details-two-column.component.scss +7 -0
- package/lib/template/details-two-column/details-two-column.component.spec.ts +24 -0
- package/lib/template/details-two-column/details-two-column.component.ts +92 -0
- package/lib/template/details-wide-narrow/config-ext.json +8 -0
- package/lib/template/details-wide-narrow/details-wide-narrow.component.html +4 -0
- package/lib/template/details-wide-narrow/details-wide-narrow.component.scss +7 -0
- package/lib/template/details-wide-narrow/details-wide-narrow.component.spec.ts +24 -0
- package/lib/template/details-wide-narrow/details-wide-narrow.component.ts +88 -0
- package/lib/template/dynamic-tabs/config-ext.json +36 -0
- package/lib/template/dynamic-tabs/dynamic-tabs.component.html +5 -0
- package/lib/template/dynamic-tabs/dynamic-tabs.component.scss +0 -0
- package/lib/template/dynamic-tabs/dynamic-tabs.component.spec.ts +22 -0
- package/lib/template/dynamic-tabs/dynamic-tabs.component.ts +78 -0
- package/lib/template/field-group-list/field-group-list.component.html +8 -0
- package/lib/template/field-group-list/field-group-list.component.scss +12 -0
- package/lib/template/field-group-list/field-group-list.component.spec.ts +22 -0
- package/lib/template/field-group-list/field-group-list.component.ts +18 -0
- package/lib/template/field-group-template/field-group-template.component.html +33 -0
- package/lib/template/field-group-template/field-group-template.component.scss +8 -0
- package/lib/template/field-group-template/field-group-template.component.spec.ts +22 -0
- package/lib/template/field-group-template/field-group-template.component.ts +168 -0
- package/lib/template/field-value-list/field-value-list.component.html +15 -0
- package/lib/template/field-value-list/field-value-list.component.scss +18 -0
- package/lib/template/field-value-list/field-value-list.component.spec.ts +22 -0
- package/lib/template/field-value-list/field-value-list.component.ts +15 -0
- package/lib/template/inline-dashboard/inline-dashboard.component.html +19 -0
- package/lib/template/inline-dashboard/inline-dashboard.component.scss +31 -0
- package/lib/template/inline-dashboard/inline-dashboard.component.spec.ts +24 -0
- package/lib/template/inline-dashboard/inline-dashboard.component.ts +24 -0
- package/lib/template/inline-dashboard-page/inline-dashboard-page.component.html +1 -0
- package/lib/template/inline-dashboard-page/inline-dashboard-page.component.scss +0 -0
- package/lib/template/inline-dashboard-page/inline-dashboard-page.component.spec.ts +24 -0
- package/lib/template/inline-dashboard-page/inline-dashboard-page.component.ts +55 -0
- package/lib/template/list-page/config-ext.json +7 -0
- package/lib/template/list-page/list-page.component.html +1 -0
- package/lib/template/list-page/list-page.component.scss +0 -0
- package/lib/template/list-page/list-page.component.spec.ts +24 -0
- package/lib/template/list-page/list-page.component.ts +13 -0
- package/lib/template/list-view/DefaultViewMeta.ts +220 -0
- package/lib/template/list-view/config-ext.json +8 -0
- package/lib/template/list-view/list-view.component.html +253 -0
- package/lib/template/list-view/list-view.component.scss +169 -0
- package/lib/template/list-view/list-view.component.spec.ts +24 -0
- package/lib/template/list-view/list-view.component.ts +1408 -0
- package/lib/template/list-view/listViewHelpers.ts +87 -0
- package/lib/template/list-view/utils.ts +745 -0
- package/lib/template/multi-reference-readonly/multi-reference-readonly.component.html +4 -0
- package/lib/template/multi-reference-readonly/multi-reference-readonly.component.scss +0 -0
- package/lib/template/multi-reference-readonly/multi-reference-readonly.component.spec.ts +22 -0
- package/lib/template/multi-reference-readonly/multi-reference-readonly.component.ts +54 -0
- package/lib/template/narrow-wide-form/config-ext.json +8 -0
- package/lib/template/narrow-wide-form/narrow-wide-form.component.html +16 -0
- package/lib/template/narrow-wide-form/narrow-wide-form.component.scss +20 -0
- package/lib/template/narrow-wide-form/narrow-wide-form.component.spec.ts +24 -0
- package/lib/template/narrow-wide-form/narrow-wide-form.component.ts +34 -0
- package/lib/template/one-column/config-ext.json +8 -0
- package/lib/template/one-column/one-column.component.html +11 -0
- package/lib/template/one-column/one-column.component.scss +3 -0
- package/lib/template/one-column/one-column.component.spec.ts +24 -0
- package/lib/template/one-column/one-column.component.ts +34 -0
- package/lib/template/one-column-page/config-ext.json +8 -0
- package/lib/template/one-column-page/one-column-page.component.html +1 -0
- package/lib/template/one-column-page/one-column-page.component.scss +0 -0
- package/lib/template/one-column-page/one-column-page.component.spec.ts +24 -0
- package/lib/template/one-column-page/one-column-page.component.ts +15 -0
- package/lib/template/one-column-tab/config-ext.json +8 -0
- package/lib/template/one-column-tab/one-column-tab.component.html +9 -0
- package/lib/template/one-column-tab/one-column-tab.component.scss +9 -0
- package/lib/template/one-column-tab/one-column-tab.component.ts +34 -0
- package/lib/template/page/page.component.html +12 -0
- package/lib/template/page/page.component.scss +3 -0
- package/lib/template/page/page.component.spec.ts +24 -0
- package/lib/template/page/page.component.ts +68 -0
- package/lib/template/promoted-filters/promoted-filters.component.html +27 -0
- package/lib/template/promoted-filters/promoted-filters.component.scss +7 -0
- package/lib/template/promoted-filters/promoted-filters.component.spec.ts +24 -0
- package/lib/template/promoted-filters/promoted-filters.component.ts +157 -0
- package/lib/template/repeating-structures/repeating-structures.component.html +21 -0
- package/lib/template/repeating-structures/repeating-structures.component.scss +17 -0
- package/lib/template/repeating-structures/repeating-structures.component.spec.ts +24 -0
- package/lib/template/repeating-structures/repeating-structures.component.ts +155 -0
- package/lib/template/simple-table/config-ext.json +7 -0
- package/lib/template/simple-table/simple-table.component.html +13 -0
- package/lib/template/simple-table/simple-table.component.scss +0 -0
- package/lib/template/simple-table/simple-table.component.spec.ts +24 -0
- package/lib/template/simple-table/simple-table.component.ts +171 -0
- package/lib/template/simple-table-manual/helpers.ts +294 -0
- package/lib/template/simple-table-manual/simple-table-manual.component.html +147 -0
- package/lib/template/simple-table-manual/simple-table-manual.component.scss +185 -0
- package/lib/template/simple-table-manual/simple-table-manual.component.spec.ts +24 -0
- package/lib/template/simple-table-manual/simple-table-manual.component.ts +950 -0
- package/lib/template/simple-table-select/simple-table-select.component.html +14 -0
- package/lib/template/simple-table-select/simple-table-select.component.scss +0 -0
- package/lib/template/simple-table-select/simple-table-select.component.spec.ts +24 -0
- package/lib/template/simple-table-select/simple-table-select.component.ts +151 -0
- package/lib/template/single-reference-readonly/single-reference-readonly.component.html +1 -0
- package/lib/template/single-reference-readonly/single-reference-readonly.component.scss +0 -0
- package/lib/template/single-reference-readonly/single-reference-readonly.component.spec.ts +22 -0
- package/lib/template/single-reference-readonly/single-reference-readonly.component.ts +15 -0
- package/lib/template/sub-tabs/config-ext.json +8 -0
- package/lib/template/sub-tabs/sub-tabs.component.html +12 -0
- package/lib/template/sub-tabs/sub-tabs.component.scss +3 -0
- package/lib/template/sub-tabs/sub-tabs.component.spec.ts +24 -0
- package/lib/template/sub-tabs/sub-tabs.component.ts +76 -0
- package/lib/template/three-column/config-ext.json +8 -0
- package/lib/template/three-column/three-column.component.html +13 -0
- package/lib/template/three-column/three-column.component.scss +16 -0
- package/lib/template/three-column/three-column.component.spec.ts +24 -0
- package/lib/template/three-column/three-column.component.ts +34 -0
- package/lib/template/three-column-page/config-ext.json +8 -0
- package/lib/template/three-column-page/three-column-page.component.html +1 -0
- package/lib/template/three-column-page/three-column-page.component.scss +0 -0
- package/lib/template/three-column-page/three-column-page.component.spec.ts +24 -0
- package/lib/template/three-column-page/three-column-page.component.ts +15 -0
- package/lib/template/two-column/config-ext.json +8 -0
- package/lib/template/two-column/two-column.component.html +16 -0
- package/lib/template/two-column/two-column.component.scss +28 -0
- package/lib/template/two-column/two-column.component.spec.ts +24 -0
- package/lib/template/two-column/two-column.component.ts +34 -0
- package/lib/template/two-column-page/config-ext.json +8 -0
- package/lib/template/two-column-page/two-column-page.component.html +1 -0
- package/lib/template/two-column-page/two-column-page.component.scss +0 -0
- package/lib/template/two-column-page/two-column-page.component.spec.ts +24 -0
- package/lib/template/two-column-page/two-column-page.component.ts +43 -0
- package/lib/template/two-column-tab/config-ext.json +8 -0
- package/lib/template/two-column-tab/two-column-tab.component.html +16 -0
- package/lib/template/two-column-tab/two-column-tab.component.scss +28 -0
- package/lib/template/two-column-tab/two-column-tab.component.spec.ts +24 -0
- package/lib/template/two-column-tab/two-column-tab.component.ts +34 -0
- package/lib/template/utils.ts +23 -0
- package/lib/template/wide-narrow-form/config-ext.json +8 -0
- package/lib/template/wide-narrow-form/wide-narrow-form.component.html +16 -0
- package/lib/template/wide-narrow-form/wide-narrow-form.component.scss +20 -0
- package/lib/template/wide-narrow-form/wide-narrow-form.component.spec.ts +24 -0
- package/lib/template/wide-narrow-form/wide-narrow-form.component.ts +34 -0
- package/lib/template/wide-narrow-page/config-ext.json +8 -0
- package/lib/template/wide-narrow-page/wide-narrow-page.component.html +6 -0
- package/lib/template/wide-narrow-page/wide-narrow-page.component.scss +0 -0
- package/lib/template/wide-narrow-page/wide-narrow-page.component.ts +61 -0
- package/lib/template/wss-nav-bar/wss-nav-bar.component.html +32 -0
- package/lib/template/wss-nav-bar/wss-nav-bar.component.scss +166 -0
- package/lib/template/wss-nav-bar/wss-nav-bar.component.spec.ts +22 -0
- package/lib/template/wss-nav-bar/wss-nav-bar.component.ts +172 -0
- package/lib/widget/app-announcement/app-announcement.component.html +13 -0
- package/lib/widget/app-announcement/app-announcement.component.scss +21 -0
- package/lib/widget/app-announcement/app-announcement.component.spec.ts +24 -0
- package/lib/widget/app-announcement/app-announcement.component.ts +35 -0
- package/lib/widget/app-announcement/config-ext.json +8 -0
- package/lib/widget/attachment/attachment.component.html +31 -0
- package/lib/widget/attachment/attachment.component.scss +57 -0
- package/lib/widget/attachment/attachment.component.spec.ts +24 -0
- package/lib/widget/attachment/attachment.component.ts +705 -0
- package/lib/widget/attachment/config-ext.json +7 -0
- package/lib/widget/case-history/case-history.component.html +12 -0
- package/lib/widget/case-history/case-history.component.scss +22 -0
- package/lib/widget/case-history/case-history.component.spec.ts +24 -0
- package/lib/widget/case-history/case-history.component.ts +104 -0
- package/lib/widget/case-history/config-ext.json +8 -0
- package/lib/widget/feed-container/config-ext.json +12 -0
- package/lib/widget/feed-container/feed-api.ts +410 -0
- package/lib/widget/feed-container/feed-container.component.html +137 -0
- package/lib/widget/feed-container/feed-container.component.scss +188 -0
- package/lib/widget/feed-container/feed-container.component.spec.ts +24 -0
- package/lib/widget/feed-container/feed-container.component.ts +616 -0
- package/lib/widget/file-utility/config-ext.json +8 -0
- package/lib/widget/file-utility/file-utility.component.html +100 -0
- package/lib/widget/file-utility/file-utility.component.scss +107 -0
- package/lib/widget/file-utility/file-utility.component.spec.ts +24 -0
- package/lib/widget/file-utility/file-utility.component.ts +759 -0
- package/lib/widget/list-utility/list-utility.component.html +32 -0
- package/lib/widget/list-utility/list-utility.component.scss +135 -0
- package/lib/widget/list-utility/list-utility.component.spec.ts +24 -0
- package/lib/widget/list-utility/list-utility.component.ts +47 -0
- package/lib/widget/quick-create/quick-create.component.html +1 -0
- package/lib/widget/quick-create/quick-create.component.scss +0 -0
- package/lib/widget/quick-create/quick-create.component.spec.ts +22 -0
- package/lib/widget/quick-create/quick-create.component.ts +96 -0
- package/lib/widget/todo/config-ext.json +8 -0
- package/lib/widget/todo/todo.component.html +47 -0
- package/lib/widget/todo/todo.component.scss +98 -0
- package/lib/widget/todo/todo.component.spec.ts +24 -0
- package/lib/widget/todo/todo.component.ts +265 -0
- package/lib/widget/utility/utility.component.html +1 -0
- package/lib/widget/utility/utility.component.scss +0 -0
- package/lib/widget/utility/utility.component.spec.ts +24 -0
- package/lib/widget/utility/utility.component.ts +50 -0
- package/package.json +14 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<div
|
|
2
|
+
class="psdk-alert"
|
|
3
|
+
[ngClass]="{
|
|
4
|
+
'psdk-alert-error': severity === 'error',
|
|
5
|
+
'psdk-grid-warning': severity === 'warning',
|
|
6
|
+
'psdk-grid-success': severity === 'success',
|
|
7
|
+
'psdk-grid-info': severity === 'info'
|
|
8
|
+
}"
|
|
9
|
+
>
|
|
10
|
+
<div class="psdk-alert-icon">
|
|
11
|
+
<mat-icon>{{ getMatIcon(severity) }}</mat-icon>
|
|
12
|
+
</div>
|
|
13
|
+
<div>{{ message }}</div>
|
|
14
|
+
<div *ngIf="!hideClose" style="margin-left: auto">
|
|
15
|
+
<button class="close-button" mat-icon-button (click)="onCloseClick()">
|
|
16
|
+
<mat-icon>close</mat-icon>
|
|
17
|
+
</button>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.psdk-alert {
|
|
2
|
+
border: 1px solid;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
border-radius: 4px;
|
|
6
|
+
padding: 10px;
|
|
7
|
+
margin: 5px 0px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.psdk-alert-icon {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
margin-right: 10px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.psdk-alert-error {
|
|
17
|
+
color: rgb(82, 21, 8);
|
|
18
|
+
border: 1px solid rgb(207, 53, 22);
|
|
19
|
+
.mat-icon {
|
|
20
|
+
color: rgb(207, 53, 22);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.psdk-grid-warning {
|
|
25
|
+
color: rgb(102, 60, 0);
|
|
26
|
+
border: 1px solid #ff9800;
|
|
27
|
+
.mat-icon {
|
|
28
|
+
color: #ff9800;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.psdk-grid-success {
|
|
33
|
+
color: rgb(2, 46, 9);
|
|
34
|
+
border: 1px solid rgb(6, 116, 23);
|
|
35
|
+
.mat-icon {
|
|
36
|
+
color: rgb(6, 116, 23);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.psdk-grid-info {
|
|
41
|
+
color: rgb(13, 60, 97);
|
|
42
|
+
border: 1px solid #2196f3;
|
|
43
|
+
.mat-icon {
|
|
44
|
+
color: #2196f3;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.close-button {
|
|
49
|
+
background: none;
|
|
50
|
+
border: none;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { AlertComponent } from './alert.component';
|
|
4
|
+
|
|
5
|
+
describe('AlertComponent', () => {
|
|
6
|
+
let component: AlertComponent;
|
|
7
|
+
let fixture: ComponentFixture<AlertComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [AlertComponent]
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
|
|
14
|
+
fixture = TestBed.createComponent(AlertComponent);
|
|
15
|
+
component = fixture.componentInstance;
|
|
16
|
+
fixture.detectChanges();
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it('should create', () => {
|
|
20
|
+
expect(component).toBeTruthy();
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'app-alert',
|
|
7
|
+
templateUrl: './alert.component.html',
|
|
8
|
+
styleUrls: ['./alert.component.scss'],
|
|
9
|
+
standalone: true,
|
|
10
|
+
imports: [CommonModule, MatIconModule]
|
|
11
|
+
})
|
|
12
|
+
export class AlertComponent {
|
|
13
|
+
@Input() message: any[];
|
|
14
|
+
@Input() severity;
|
|
15
|
+
@Input() hideClose;
|
|
16
|
+
@Output() onClose: EventEmitter<any> = new EventEmitter();
|
|
17
|
+
|
|
18
|
+
getMatIcon(severity) {
|
|
19
|
+
let variant;
|
|
20
|
+
switch (severity) {
|
|
21
|
+
case 'error':
|
|
22
|
+
variant = 'error_outline';
|
|
23
|
+
break;
|
|
24
|
+
case 'warning':
|
|
25
|
+
variant = 'warning_amber';
|
|
26
|
+
break;
|
|
27
|
+
case 'success':
|
|
28
|
+
variant = 'task_alt';
|
|
29
|
+
break;
|
|
30
|
+
case 'info':
|
|
31
|
+
variant = 'info_outline';
|
|
32
|
+
break;
|
|
33
|
+
default:
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
return variant;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
onCloseClick() {
|
|
40
|
+
alert('Close clicked');
|
|
41
|
+
this.onClose.emit({ Page: 'Page', target: 'target', type: 'type' });
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<div>
|
|
2
|
+
<div *ngFor="let banner of banners">
|
|
3
|
+
<div *ngFor="let message of banner.messages">
|
|
4
|
+
<component-mapper
|
|
5
|
+
name="Alert"
|
|
6
|
+
[props]="{ message, severity: SEVERITY_MAP[banner.variant], hideClose: banner.variant === 'urgent' }"
|
|
7
|
+
[parent]="this"
|
|
8
|
+
[outputEvents]="{ onClose: onAlertClose }"
|
|
9
|
+
></component-mapper>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { AlertBannerComponent } from './alert-banner.component';
|
|
4
|
+
|
|
5
|
+
describe('AlertBannerComponent', () => {
|
|
6
|
+
let component: AlertBannerComponent;
|
|
7
|
+
let fixture: ComponentFixture<AlertBannerComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [AlertBannerComponent]
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
|
|
14
|
+
fixture = TestBed.createComponent(AlertBannerComponent);
|
|
15
|
+
component = fixture.componentInstance;
|
|
16
|
+
fixture.detectChanges();
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it('should create', () => {
|
|
20
|
+
expect(component).toBeTruthy();
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Component, Input, forwardRef } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'app-alert-banner',
|
|
7
|
+
templateUrl: './alert-banner.component.html',
|
|
8
|
+
styleUrls: ['./alert-banner.component.scss'],
|
|
9
|
+
standalone: true,
|
|
10
|
+
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
11
|
+
})
|
|
12
|
+
export class AlertBannerComponent {
|
|
13
|
+
@Input() banners: any[];
|
|
14
|
+
|
|
15
|
+
SEVERITY_MAP = {
|
|
16
|
+
urgent: 'error',
|
|
17
|
+
warning: 'warning',
|
|
18
|
+
success: 'success',
|
|
19
|
+
info: 'info'
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
onAlertClose(config) {
|
|
23
|
+
const { PAGE, type, target } = config;
|
|
24
|
+
const { clearMessages } = PCore.getMessageManager();
|
|
25
|
+
clearMessages({ category: PAGE, type, context: target } as any);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<div style="margin-bottom: '2rem'">
|
|
2
|
+
<div class="background-image-style" [ngStyle]="{ 'background-image': getUrl() }">
|
|
3
|
+
<div class="background-style content">
|
|
4
|
+
<div>
|
|
5
|
+
<h1 class="title">{{ title }}</h1>
|
|
6
|
+
<p class="message">{{ message }}</p>
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<div
|
|
11
|
+
[ngClass]="{
|
|
12
|
+
'psdk-grid-filter-1': this.layout$ === 'two-column',
|
|
13
|
+
'psdk-grid-filter-wide-narrow': this.layout$ === 'wide-narrow',
|
|
14
|
+
'psdk-grid-filter-narrow-wide': this.layout$ === 'narrow-wide'
|
|
15
|
+
}"
|
|
16
|
+
>
|
|
17
|
+
<component-mapper
|
|
18
|
+
[name]="arChildren$[0].getPConnect().getComponentName()"
|
|
19
|
+
[props]="{ pConn$: arChildren$[0].getPConnect(), formGroup$ }"
|
|
20
|
+
errorMsg="Region wants component not yet available: {{ arChildren$[0].getPConnect().getComponentName() }}"
|
|
21
|
+
></component-mapper>
|
|
22
|
+
<component-mapper
|
|
23
|
+
[name]="arChildren$[1].getPConnect().getComponentName()"
|
|
24
|
+
[props]="{ pConn$: arChildren$[1].getPConnect(), formGroup$ }"
|
|
25
|
+
errorMsg="Region wants component not yet available: {{ arChildren$[1].getPConnect().getComponentName() }}"
|
|
26
|
+
></component-mapper>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.psdk-grid-filter-1 {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
4
|
+
column-gap: calc(2 * 0.5rem);
|
|
5
|
+
row-gap: calc(2 * 0.5rem);
|
|
6
|
+
align-items: start;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.psdk-grid-filter-wide-narrow {
|
|
10
|
+
display: grid;
|
|
11
|
+
grid-template-columns: 7fr 3fr;
|
|
12
|
+
column-gap: calc(2 * 0.5rem);
|
|
13
|
+
row-gap: calc(2 * 0.5rem);
|
|
14
|
+
align-items: start;
|
|
15
|
+
padding: 1rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.psdk-grid-filter-narrow-wide {
|
|
19
|
+
display: grid;
|
|
20
|
+
grid-template-columns: 3fr 7fr;
|
|
21
|
+
column-gap: calc(2 * 0.5rem);
|
|
22
|
+
row-gap: calc(2 * 0.5rem);
|
|
23
|
+
align-items: start;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.background-image-style {
|
|
27
|
+
margin-left: -16px;
|
|
28
|
+
margin-right: -16px;
|
|
29
|
+
height: calc(19rem);
|
|
30
|
+
background-size: cover;
|
|
31
|
+
background-position: center center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.background-style {
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
color: rgb(0, 0, 0);
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: 100%;
|
|
39
|
+
text-align: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.content {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
align-items: center;
|
|
47
|
+
gap: calc(0.5rem);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.title {
|
|
51
|
+
margin: 0rem;
|
|
52
|
+
font-size: 1.728rem;
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.message {
|
|
57
|
+
margin: 0;
|
|
58
|
+
font-size: 1rem;
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.banner-layout {
|
|
63
|
+
padding: 1rem;
|
|
64
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { BannerComponent } from './banner.component';
|
|
4
|
+
|
|
5
|
+
describe('BannerComponent', () => {
|
|
6
|
+
let component: BannerComponent;
|
|
7
|
+
let fixture: ComponentFixture<BannerComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [BannerComponent]
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
|
|
14
|
+
fixture = TestBed.createComponent(BannerComponent);
|
|
15
|
+
component = fixture.componentInstance;
|
|
16
|
+
fixture.detectChanges();
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it('should create', () => {
|
|
20
|
+
expect(component).toBeTruthy();
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Component, Input, forwardRef } from '@angular/core';
|
|
4
|
+
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'app-banner',
|
|
8
|
+
templateUrl: './banner.component.html',
|
|
9
|
+
styleUrls: ['./banner.component.scss'],
|
|
10
|
+
standalone: true,
|
|
11
|
+
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
12
|
+
})
|
|
13
|
+
export class BannerComponent {
|
|
14
|
+
@Input() pConn$: typeof PConnect;
|
|
15
|
+
@Input() formGroup$: FormGroup;
|
|
16
|
+
|
|
17
|
+
@Input() arChildren$: any[];
|
|
18
|
+
@Input() title: string;
|
|
19
|
+
@Input() message: any;
|
|
20
|
+
@Input() backgroundImage: string;
|
|
21
|
+
@Input() layout$: string;
|
|
22
|
+
|
|
23
|
+
getUrl() {
|
|
24
|
+
return `url(${this.backgroundImage})`;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<div *ngFor="let kid of arChildren$">
|
|
2
|
+
<div *ngIf="kid.getPConnect().getConfigProps().template != ''">
|
|
3
|
+
<component-mapper
|
|
4
|
+
[name]="kid.getPConnect().getConfigProps().template"
|
|
5
|
+
[props]="{
|
|
6
|
+
pConn$: kid.getPConnect(),
|
|
7
|
+
formGroup$: formGroup$
|
|
8
|
+
}"
|
|
9
|
+
errorMsg="CreateCaseStage Missing: {{ kid.getPConnect().getConfigProps().template }}"
|
|
10
|
+
></component-mapper>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { CaseCreateStageComponent } from './case-create-stage.component';
|
|
4
|
+
|
|
5
|
+
describe('CaseCreateStageComponent', () => {
|
|
6
|
+
let component: CaseCreateStageComponent;
|
|
7
|
+
let fixture: ComponentFixture<CaseCreateStageComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(waitForAsync(() => {
|
|
10
|
+
TestBed.configureTestingModule({
|
|
11
|
+
declarations: [CaseCreateStageComponent]
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
fixture = TestBed.createComponent(CaseCreateStageComponent);
|
|
17
|
+
component = fixture.componentInstance;
|
|
18
|
+
fixture.detectChanges();
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it('should create', () => {
|
|
22
|
+
expect(component).toBeTruthy();
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Component, OnInit, Input, forwardRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { AngularPConnectData, AngularPConnectService } from '@pega/angular-sdk-components';
|
|
5
|
+
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
6
|
+
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 'app-case-create-stage',
|
|
9
|
+
templateUrl: './case-create-stage.component.html',
|
|
10
|
+
styleUrls: ['./case-create-stage.component.scss'],
|
|
11
|
+
standalone: true,
|
|
12
|
+
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
13
|
+
})
|
|
14
|
+
export class CaseCreateStageComponent implements OnInit, OnDestroy {
|
|
15
|
+
@Input() pConn$: typeof PConnect;
|
|
16
|
+
@Input() formGroup$: FormGroup;
|
|
17
|
+
|
|
18
|
+
arChildren$: any[];
|
|
19
|
+
|
|
20
|
+
// For interaction with AngularPConnect
|
|
21
|
+
angularPConnectData: AngularPConnectData = {};
|
|
22
|
+
|
|
23
|
+
constructor(private angularPConnect: AngularPConnectService) {}
|
|
24
|
+
|
|
25
|
+
ngOnInit(): void {
|
|
26
|
+
// First thing in initialization is registering and subscribing to the AngularPConnect service
|
|
27
|
+
this.angularPConnectData = this.angularPConnect.registerAndSubscribeComponent(this, this.onStateChange);
|
|
28
|
+
|
|
29
|
+
// this.updateSelf();
|
|
30
|
+
this.checkAndUpdate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
ngOnDestroy() {
|
|
34
|
+
if (this.angularPConnectData.unsubscribeFn) {
|
|
35
|
+
this.angularPConnectData.unsubscribeFn();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Callback passed when subscribing to store change
|
|
40
|
+
onStateChange() {
|
|
41
|
+
this.checkAndUpdate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
checkAndUpdate() {
|
|
45
|
+
// Should always check the bridge to see if the component should
|
|
46
|
+
// update itself (re-render)
|
|
47
|
+
const bUpdateSelf = this.angularPConnect.shouldComponentUpdate(this);
|
|
48
|
+
|
|
49
|
+
// ONLY call updateSelf when the component should update
|
|
50
|
+
if (bUpdateSelf) {
|
|
51
|
+
this.updateSelf();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
updateSelf() {
|
|
56
|
+
this.arChildren$ = this.pConn$.getChildren() as any[];
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<div class="psdk-case-summary-fields">
|
|
2
|
+
<dl class="psdk-case-summary-fields-primary">
|
|
3
|
+
<div *ngFor="let field of primaryFieldsWithStatus$" class="psdk-csf-primary-field">
|
|
4
|
+
<dt class="psdk-csf-primary-field-header">
|
|
5
|
+
{{ field.config.label }}
|
|
6
|
+
</dt>
|
|
7
|
+
<dd *ngIf="field.config.value === ''; else hasValue" class="psdk-csf-primary-field-data">
|
|
8
|
+
<ng-container [ngSwitch]="field.type.toLowerCase()">
|
|
9
|
+
<label *ngSwitchCase="'caseoperator'">operator</label>
|
|
10
|
+
<span *ngSwitchDefault class="psdk-csf-text-style">---</span>
|
|
11
|
+
</ng-container>
|
|
12
|
+
</dd>
|
|
13
|
+
<ng-template #hasValue>
|
|
14
|
+
<dd class="psdk-csf-primary-field-data" [ngSwitch]="field.type.toLowerCase()">
|
|
15
|
+
<span *ngSwitchCase="'textinput'" class="psdk-csf-text-style">{{ field.config.value }}</span>
|
|
16
|
+
<span *ngSwitchCase="'status'" class="psdk-csf-status-style">{{ field.config.value }}</span>
|
|
17
|
+
<a *ngSwitchCase="'phone'" as="a" href="tel: {{ field.config.value }}">{{ field.config.value }}</a>
|
|
18
|
+
<a *ngSwitchCase="'email'" href="mailto: {{ field.config.value }}">{{ field.config.value }}</a>
|
|
19
|
+
<span *ngSwitchCase="'date'" class="psdk-csf-text-style">{{ field.config.value }}</span>
|
|
20
|
+
<label *ngSwitchCase="'caseoperator'">operator</label>
|
|
21
|
+
<span *ngSwitchDefault class="psdk-csf-text-style">{{ field.config.value }}</span>
|
|
22
|
+
</dd>
|
|
23
|
+
</ng-template>
|
|
24
|
+
</div>
|
|
25
|
+
</dl>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="psdk-case-summary-fields">
|
|
28
|
+
<dl *ngFor="let field of secondaryFields$" class="psdk-case-summary-fields-secondary">
|
|
29
|
+
<div
|
|
30
|
+
*ngIf="
|
|
31
|
+
field.config?.label?.toLowerCase() == 'create operator' || field.config?.label?.toLowerCase() == 'update operator';
|
|
32
|
+
else hasSecondaryValue
|
|
33
|
+
"
|
|
34
|
+
>
|
|
35
|
+
<component-mapper name="Operator" [props]="{ pConn$: field?.kid }"></component-mapper>
|
|
36
|
+
</div>
|
|
37
|
+
<ng-template #hasSecondaryValue>
|
|
38
|
+
<div class="psdk-csf-secondary-field">
|
|
39
|
+
<dt class="psdk-csf-secondary-field-header">
|
|
40
|
+
{{ field.config.displayLabel || field.config.label }}
|
|
41
|
+
</dt>
|
|
42
|
+
<dd class="psdk-csf-secondary-field-data">
|
|
43
|
+
<div [ngSwitch]="field.type">
|
|
44
|
+
<label *ngSwitchCase="'UserReference'" class="psdk-secondary-value">{{ field.config.value.userName || '---' }}</label>
|
|
45
|
+
<label *ngSwitchCase="'Checkbox'" class="psdk-secondary-value">{{ field.config.falseLabel || '---' }}</label>
|
|
46
|
+
<label *ngSwitchDefault class="psdk-secondary-value">{{ field.config.value || '---' }}</label>
|
|
47
|
+
</div>
|
|
48
|
+
</dd>
|
|
49
|
+
</div>
|
|
50
|
+
</ng-template>
|
|
51
|
+
</dl>
|
|
52
|
+
</div>
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
@import '@pega/angular-sdk-components/_shared/styles.scss';
|
|
2
|
+
|
|
3
|
+
.psdk-case-summary {
|
|
4
|
+
display: block;
|
|
5
|
+
margin: 0.625rem;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.psdk-case-summary-primary {
|
|
9
|
+
text-align: left;
|
|
10
|
+
margin-bottom: 0.75rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.psdk-case-summary-secondary {
|
|
14
|
+
text-align: left;
|
|
15
|
+
margin-bottom: 0.75rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.psdk-case-summary-status {
|
|
19
|
+
text-align: left;
|
|
20
|
+
margin-bottom: 0.75rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.psdk-case-summary-status-data {
|
|
24
|
+
display: block;
|
|
25
|
+
background-color: lavender;
|
|
26
|
+
color: $app-primary-color;
|
|
27
|
+
padding: 0rem 0.625rem;
|
|
28
|
+
display: inline;
|
|
29
|
+
font-size: 0.75rem;
|
|
30
|
+
font-weight: 700;
|
|
31
|
+
text-transform: uppercase;
|
|
32
|
+
line-height: 1.5rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.psdk-case-summary-primary .label {
|
|
36
|
+
font-weight: 600;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.psdk-case-summary-primary .data {
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
font-size: 1.625rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.psdk-case-summary-secondary .label {
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
}
|
|
47
|
+
.psdk-case-summary-secondary .data {
|
|
48
|
+
font-weight: 600;
|
|
49
|
+
color: $app-primary-color;
|
|
50
|
+
padding-left: 1.25rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.psdk-case-summary-fields {
|
|
54
|
+
padding: calc(2 * 0.5rem);
|
|
55
|
+
display: grid;
|
|
56
|
+
grid-row-gap: calc(2 * 0.5rem);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.psdk-case-summary-fields-primary {
|
|
60
|
+
grid-template-columns: 20ch 1fr;
|
|
61
|
+
display: grid;
|
|
62
|
+
grid-column-gap: calc(2 * 0.5rem);
|
|
63
|
+
grid-row-gap: calc(2 * 0.5rem);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.psdk-csf-primary-field {
|
|
67
|
+
display: grid;
|
|
68
|
+
grid-template-columns: 1fr;
|
|
69
|
+
grid-column-gap: calc(0 * 0.5rem);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.psdk-csf-primary-field-header {
|
|
73
|
+
word-break: break-word;
|
|
74
|
+
grid-column-start: 1;
|
|
75
|
+
grid-row-start: 1;
|
|
76
|
+
max-width: max-content;
|
|
77
|
+
font-size: 0.8125rem;
|
|
78
|
+
font-weight: 400;
|
|
79
|
+
color: rgba(0, 0, 0, 0.8);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.psdk-csf-primary-field-data {
|
|
83
|
+
word-break: break-word;
|
|
84
|
+
grid-column-start: 1;
|
|
85
|
+
grid-row-start: 2;
|
|
86
|
+
margin-inline-start: unset;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.psdk-case-summary-fields-secondary {
|
|
90
|
+
width: 100%;
|
|
91
|
+
display: grid;
|
|
92
|
+
grid-template-columns: 1fr;
|
|
93
|
+
grid-column-gap: calc(2 * 0.5rem);
|
|
94
|
+
grid-row-gap: calc(1 * 0.5rem);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.psdk-csf-secondary-field {
|
|
98
|
+
display: grid;
|
|
99
|
+
grid-template-columns: auto;
|
|
100
|
+
grid-column-gap: calc(2 * 0.5rem);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.psdk-csf-secondary-field-header {
|
|
104
|
+
word-break: break-word;
|
|
105
|
+
grid-column-start: 1;
|
|
106
|
+
grid-row-start: 1;
|
|
107
|
+
max-width: max-content;
|
|
108
|
+
font-size: 0.8125rem;
|
|
109
|
+
font-weight: 400;
|
|
110
|
+
color: rgba(0, 0, 0, 0.8);
|
|
111
|
+
align-items: center;
|
|
112
|
+
display: flex;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.psdk-csf-secondary-field-data {
|
|
116
|
+
word-break: break-word;
|
|
117
|
+
grid-column-start: 2;
|
|
118
|
+
grid-row-start: 1;
|
|
119
|
+
margin-inline-start: unset;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
span.psdk-csf-text-style {
|
|
123
|
+
font-size: 1.125rem;
|
|
124
|
+
font-weight: 600;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
span.psdk-csf-status-style {
|
|
128
|
+
background-color: #e9eef3;
|
|
129
|
+
border-radius: calc(0.25 * 0.5rem);
|
|
130
|
+
color: #4c5a67;
|
|
131
|
+
display: inline-block;
|
|
132
|
+
font-size: 0.75rem;
|
|
133
|
+
font-weight: bold;
|
|
134
|
+
line-height: calc(0.5rem * 2.5);
|
|
135
|
+
height: calc(0.5rem * 2.5);
|
|
136
|
+
padding: 0 0.5rem;
|
|
137
|
+
text-transform: uppercase;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.psdk-secondary-value {
|
|
141
|
+
font-size: 1rem;
|
|
142
|
+
}
|
package/lib/designSystemExtension/material-case-summary/material-case-summary.component.spec.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { MaterialCaseSummaryComponent } from './material-case-summary.component';
|
|
4
|
+
|
|
5
|
+
describe('MaterialCaseSummaryComponent', () => {
|
|
6
|
+
let component: MaterialCaseSummaryComponent;
|
|
7
|
+
let fixture: ComponentFixture<MaterialCaseSummaryComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(waitForAsync(() => {
|
|
10
|
+
TestBed.configureTestingModule({
|
|
11
|
+
declarations: [MaterialCaseSummaryComponent]
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
fixture = TestBed.createComponent(MaterialCaseSummaryComponent);
|
|
17
|
+
component = fixture.componentInstance;
|
|
18
|
+
fixture.detectChanges();
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it('should create', () => {
|
|
22
|
+
expect(component).toBeTruthy();
|
|
23
|
+
});
|
|
24
|
+
});
|