@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,80 @@
|
|
|
1
|
+
import { Component, OnInit, Input, forwardRef, OnChanges } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { Utils } from '@pega/angular-sdk-components';
|
|
4
|
+
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'app-material-case-summary',
|
|
8
|
+
templateUrl: './material-case-summary.component.html',
|
|
9
|
+
styleUrls: ['./material-case-summary.component.scss'],
|
|
10
|
+
standalone: true,
|
|
11
|
+
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
12
|
+
})
|
|
13
|
+
export class MaterialCaseSummaryComponent implements OnInit, OnChanges {
|
|
14
|
+
@Input() status$: string;
|
|
15
|
+
@Input() bShowStatus$: boolean;
|
|
16
|
+
@Input() primaryFields$: any[];
|
|
17
|
+
@Input() secondaryFields$: any[];
|
|
18
|
+
|
|
19
|
+
primaryFieldsWithStatus$: any[];
|
|
20
|
+
|
|
21
|
+
constructor(private utils: Utils) {}
|
|
22
|
+
|
|
23
|
+
ngOnInit(): void {
|
|
24
|
+
this.updatePrimaryWithStatus();
|
|
25
|
+
this.updateLabelAndDate(this.primaryFieldsWithStatus$);
|
|
26
|
+
this.updateLabelAndDate(this.secondaryFields$);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// eslint-disable-next-line sonarjs/no-identical-functions
|
|
30
|
+
ngOnChanges() {
|
|
31
|
+
this.updatePrimaryWithStatus();
|
|
32
|
+
this.updateLabelAndDate(this.primaryFieldsWithStatus$);
|
|
33
|
+
this.updateLabelAndDate(this.secondaryFields$);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
updateLabelAndDate(arData: any[]) {
|
|
37
|
+
for (const field of arData) {
|
|
38
|
+
switch (field.type.toLowerCase()) {
|
|
39
|
+
case 'caseoperator':
|
|
40
|
+
if (field.config.label.toLowerCase() == 'create operator') {
|
|
41
|
+
field.config.displayLabel = field.config.createLabel;
|
|
42
|
+
} else if (field.config.label.toLowerCase() == 'update operator') {
|
|
43
|
+
field.config.displayLabel = field.config.updateLabel;
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
46
|
+
case 'date':
|
|
47
|
+
field.config.value = this.utils.generateDate(field.config.value, 'Date-Long');
|
|
48
|
+
break;
|
|
49
|
+
case 'userreference':
|
|
50
|
+
case 'decimal':
|
|
51
|
+
case 'dropdown':
|
|
52
|
+
field.config.displayLabel = field.config.label;
|
|
53
|
+
break;
|
|
54
|
+
case 'checkbox':
|
|
55
|
+
field.config.displayLabel = field.config.caption;
|
|
56
|
+
break;
|
|
57
|
+
default:
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
updatePrimaryWithStatus() {
|
|
64
|
+
this.primaryFieldsWithStatus$ = [];
|
|
65
|
+
for (const prim of this.primaryFields$) {
|
|
66
|
+
this.primaryFieldsWithStatus$.push(prim);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (this.bShowStatus$) {
|
|
70
|
+
const oStatus = { type: 'status', config: { value: this.status$, label: 'Status' } };
|
|
71
|
+
|
|
72
|
+
const count = this.primaryFieldsWithStatus$.length;
|
|
73
|
+
if (count < 2) {
|
|
74
|
+
this.primaryFieldsWithStatus$.push(oStatus);
|
|
75
|
+
} else {
|
|
76
|
+
this.primaryFieldsWithStatus$.splice(1, 0, oStatus);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<div id="details-fields-list">
|
|
2
|
+
<div
|
|
3
|
+
*ngIf="arHighlightedFields && arHighlightedFields.length > 0"
|
|
4
|
+
[ngClass]="{
|
|
5
|
+
'psdk-grid-filter-1': this.layout === 'one-column',
|
|
6
|
+
'psdk-grid-filter-2': this.layout === 'two-column',
|
|
7
|
+
'psdk-grid-filter-3': this.layout === 'three-column',
|
|
8
|
+
'psdk-grid-filter-wide-narrow': this.layout === 'wide-narrow',
|
|
9
|
+
'psdk-grid-filter-narrow-wide': this.layout === 'narrow-wide'
|
|
10
|
+
}"
|
|
11
|
+
>
|
|
12
|
+
<div *ngFor="let field of arHighlightedFields">
|
|
13
|
+
<div class="psdk-details-fields-label">
|
|
14
|
+
{{ field.config.label }}
|
|
15
|
+
</div>
|
|
16
|
+
<div [ngSwitch]="field.type.toLowerCase()" class="psdk-csf-primary-field-value">
|
|
17
|
+
<span *ngSwitchCase="'textinput'" class="psdk-details-text-style-hf">{{ _getValue(field.config.value) }}</span>
|
|
18
|
+
<span *ngSwitchCase="'status'" class="psdk-details-status-style-hf">{{ _getValue(field.config.value) }}</span>
|
|
19
|
+
<a *ngSwitchCase="'phone'" as="a" href="tel: {{ field.config.value }}">{{ _getValue(field.config.value) }}</a>
|
|
20
|
+
<a *ngSwitchCase="'email'" href="mailto: {{ field.config.value }}">{{ _getValue(field.config.value) }}</a>
|
|
21
|
+
<span *ngSwitchCase="'date'" class="psdk-details-text-style-hf">{{ _formatDate(field.config.value, field.type) }}</span>
|
|
22
|
+
<span *ngSwitchCase="'caseoperator'"></span>
|
|
23
|
+
<span *ngSwitchDefault>{{ _getValue(field.config.value) }}</span>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div
|
|
28
|
+
[ngClass]="{
|
|
29
|
+
'psdk-grid-filter-1': this.layout === 'one-column',
|
|
30
|
+
'psdk-grid-filter-2': this.layout === 'two-column',
|
|
31
|
+
'psdk-grid-filter-3': this.layout === 'three-column',
|
|
32
|
+
'psdk-grid-filter-wide-narrow': this.layout === 'wide-narrow',
|
|
33
|
+
'psdk-grid-filter-narrow-wide': this.layout === 'narrow-wide'
|
|
34
|
+
}"
|
|
35
|
+
>
|
|
36
|
+
<component-mapper *ngIf="arFields$" name="DetailsFields" [props]="{ arFields$: arFields$ }"></component-mapper>
|
|
37
|
+
<component-mapper *ngIf="arFields2$" name="DetailsFields" [props]="{ arFields$: arFields2$ }"></component-mapper>
|
|
38
|
+
<component-mapper *ngIf="arFields3$" name="DetailsFields" [props]="{ arFields$: arFields3$ }"></component-mapper>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
.psdk-details-group {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
}
|
|
6
|
+
.psdk-details-fields {
|
|
7
|
+
padding: calc(2 * 0.5rem);
|
|
8
|
+
grid-row-gap: calc(2 * 0.5rem);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.psdk-details-fields-primary {
|
|
12
|
+
width: 100%;
|
|
13
|
+
display: grid;
|
|
14
|
+
grid-template-columns: 1fr;
|
|
15
|
+
grid-column-gap: calc(2 * 0.5rem);
|
|
16
|
+
grid-row-gap: calc(1 * 0.5rem);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.psdk-details-fields-single {
|
|
20
|
+
display: grid;
|
|
21
|
+
grid-template-columns: 20ch 1fr;
|
|
22
|
+
grid-column-gap: calc(2 * 0.5rem);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.psdk-details-fields-label {
|
|
26
|
+
color: rgba(0, 0, 0, 0.54);
|
|
27
|
+
margin: 8px 0px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.psdk-details-fields-value {
|
|
31
|
+
word-break: break-word;
|
|
32
|
+
grid-column-start: 2;
|
|
33
|
+
grid-row-start: 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
span.psdk-details-text-style-hf {
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
font-size: 1.25rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
span.psdk-details-text-style {
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
span.psdk-details-status-style {
|
|
46
|
+
background-color: #e9eef3;
|
|
47
|
+
border-radius: calc(0.25 * 0.5rem);
|
|
48
|
+
color: #4c5a67;
|
|
49
|
+
display: inline-block;
|
|
50
|
+
font-size: 0.75rem;
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
line-height: calc(0.5rem * 2.5);
|
|
53
|
+
height: calc(0.5rem * 2.5);
|
|
54
|
+
padding: 0 0.5rem;
|
|
55
|
+
text-transform: uppercase;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.psdk-grid-filter {
|
|
59
|
+
display: grid;
|
|
60
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
61
|
+
column-gap: calc(2 * 0.5rem);
|
|
62
|
+
row-gap: calc(2 * 0.5rem);
|
|
63
|
+
align-items: start;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.psdk-csf-primary-field-value {
|
|
67
|
+
margin: 8px 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
span.psdk-details-status-style-hf {
|
|
71
|
+
background-color: #e9eef3;
|
|
72
|
+
border-radius: calc(0.25 * 0.5rem);
|
|
73
|
+
color: #4c5a67;
|
|
74
|
+
display: inline-block;
|
|
75
|
+
font-size: 1.25rem;
|
|
76
|
+
font-weight: 500;
|
|
77
|
+
line-height: calc(0.5rem * 2.5);
|
|
78
|
+
height: calc(0.5rem * 2.5);
|
|
79
|
+
padding: 0 0.5rem;
|
|
80
|
+
text-transform: uppercase;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.psdk-grid-filter-1 {
|
|
84
|
+
display: grid;
|
|
85
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
86
|
+
column-gap: calc(2 * 0.5rem);
|
|
87
|
+
row-gap: calc(2 * 0.5rem);
|
|
88
|
+
align-items: start;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.psdk-grid-filter-2 {
|
|
92
|
+
display: grid;
|
|
93
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
94
|
+
column-gap: calc(2 * 0.5rem);
|
|
95
|
+
row-gap: calc(2 * 0.5rem);
|
|
96
|
+
align-items: start;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.psdk-grid-filter-3 {
|
|
100
|
+
display: grid;
|
|
101
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
102
|
+
column-gap: calc(2 * 0.5rem);
|
|
103
|
+
row-gap: calc(2 * 0.5rem);
|
|
104
|
+
align-items: start;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.psdk-grid-filter-wide-narrow {
|
|
108
|
+
display: grid;
|
|
109
|
+
grid-template-columns: 7fr 3fr;
|
|
110
|
+
column-gap: calc(2 * 0.5rem);
|
|
111
|
+
row-gap: calc(2 * 0.5rem);
|
|
112
|
+
align-items: start;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.psdk-grid-filter-narrow-wide {
|
|
116
|
+
display: grid;
|
|
117
|
+
grid-template-columns: 3fr 7fr;
|
|
118
|
+
column-gap: calc(2 * 0.5rem);
|
|
119
|
+
row-gap: calc(2 * 0.5rem);
|
|
120
|
+
align-items: start;
|
|
121
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { MaterialDetailsComponent } from './material-details.component';
|
|
4
|
+
|
|
5
|
+
describe('MaterialDetailsComponent', () => {
|
|
6
|
+
let component: MaterialDetailsComponent;
|
|
7
|
+
let fixture: ComponentFixture<MaterialDetailsComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [MaterialDetailsComponent]
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
fixture = TestBed.createComponent(MaterialDetailsComponent);
|
|
17
|
+
component = fixture.componentInstance;
|
|
18
|
+
fixture.detectChanges();
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it('should create', () => {
|
|
22
|
+
expect(component).toBeTruthy();
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component, Input, forwardRef } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { Utils } from '@pega/angular-sdk-components';
|
|
4
|
+
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'app-material-details',
|
|
8
|
+
templateUrl: './material-details.component.html',
|
|
9
|
+
styleUrls: ['./material-details.component.scss'],
|
|
10
|
+
standalone: true,
|
|
11
|
+
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
12
|
+
})
|
|
13
|
+
export class MaterialDetailsComponent {
|
|
14
|
+
constructor(private utils: Utils) {}
|
|
15
|
+
|
|
16
|
+
@Input() arFields$: any[];
|
|
17
|
+
@Input() arFields2$: any[];
|
|
18
|
+
@Input() arFields3$: any[];
|
|
19
|
+
@Input() arHighlightedFields: any[];
|
|
20
|
+
@Input() layout: any;
|
|
21
|
+
|
|
22
|
+
_getValue(configValue) {
|
|
23
|
+
if (configValue && configValue != '') {
|
|
24
|
+
return configValue;
|
|
25
|
+
}
|
|
26
|
+
return '---';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
_formatDate(dateValue: string, dateFormat: string): string {
|
|
30
|
+
return this.utils.generateDate(dateValue, dateFormat);
|
|
31
|
+
}
|
|
32
|
+
}
|
package/lib/designSystemExtension/material-details-fields/material-details-fields.component.html
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<div id="details-fields-list">
|
|
2
|
+
<div *ngFor="let field of arFields$">
|
|
3
|
+
<div *ngIf="field.type === 'reference'; else showDetails">
|
|
4
|
+
<component-mapper name="View" [props]="{ pConn$: field.pConn }"></component-mapper>
|
|
5
|
+
</div>
|
|
6
|
+
<ng-template #showDetails>
|
|
7
|
+
<div class="psdk-grid-filter" *ngIf="field.config.label">
|
|
8
|
+
<div class="psdk-details-fields-label">
|
|
9
|
+
{{ field.config.label }}
|
|
10
|
+
</div>
|
|
11
|
+
<div [ngSwitch]="field.type.toLowerCase()" class="psdk-csf-primary-field-value">
|
|
12
|
+
<span *ngSwitchCase="'textinput'" class="psdk-details-text-style">{{ _getValue(field.config.value) }}</span>
|
|
13
|
+
<span *ngSwitchCase="'status'" class="psdk-details-status-style">{{ _getValue(field.config.value) }}</span>
|
|
14
|
+
<a *ngSwitchCase="'phone'" as="a" href="tel: {{ field.config.value }}">{{ _getValue(field.config.value) }}</a>
|
|
15
|
+
<a *ngSwitchCase="'email'" href="mailto: {{ field.config.value }}">{{ _getValue(field.config.value) }}</a>
|
|
16
|
+
<span *ngSwitchCase="'date'" class="psdk-details-text-style">{{ _formatDate(field.config.value, field.type) }}</span>
|
|
17
|
+
<span *ngSwitchCase="'caseoperator'"></span>
|
|
18
|
+
<span *ngSwitchDefault>{{ _getValue(field.config.value) }}</span>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</ng-template>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
package/lib/designSystemExtension/material-details-fields/material-details-fields.component.scss
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.psdk-details-fields-label {
|
|
2
|
+
color: rgba(0, 0, 0, 0.54);
|
|
3
|
+
margin: 8px 0px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
span.psdk-details-text-style-hf {
|
|
7
|
+
font-weight: bold;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
span.psdk-details-status-style-hf {
|
|
11
|
+
background-color: #e9eef3;
|
|
12
|
+
border-radius: calc(0.25 * 0.5rem);
|
|
13
|
+
color: #4c5a67;
|
|
14
|
+
display: inline-block;
|
|
15
|
+
font-size: 0.75rem;
|
|
16
|
+
font-weight: bold;
|
|
17
|
+
line-height: calc(0.5rem * 2.5);
|
|
18
|
+
height: calc(0.5rem * 2.5);
|
|
19
|
+
padding: 0 0.5rem;
|
|
20
|
+
text-transform: uppercase;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.psdk-grid-filter {
|
|
24
|
+
display: grid;
|
|
25
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
26
|
+
column-gap: calc(2 * 0.5rem);
|
|
27
|
+
row-gap: calc(2 * 0.5rem);
|
|
28
|
+
align-items: start;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.psdk-csf-primary-field-value {
|
|
32
|
+
margin: 8px 0;
|
|
33
|
+
}
|
package/lib/designSystemExtension/material-details-fields/material-details-fields.component.spec.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { MaterialDetailsFieldsComponent } from './material-details-fields.component';
|
|
4
|
+
|
|
5
|
+
describe('MaterialDetailsFieldsComponent', () => {
|
|
6
|
+
let component: MaterialDetailsFieldsComponent;
|
|
7
|
+
let fixture: ComponentFixture<MaterialDetailsFieldsComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [MaterialDetailsFieldsComponent]
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
|
|
14
|
+
fixture = TestBed.createComponent(MaterialDetailsFieldsComponent);
|
|
15
|
+
component = fixture.componentInstance;
|
|
16
|
+
fixture.detectChanges();
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it('should create', () => {
|
|
20
|
+
expect(component).toBeTruthy();
|
|
21
|
+
});
|
|
22
|
+
});
|
package/lib/designSystemExtension/material-details-fields/material-details-fields.component.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Component, Input, forwardRef } from '@angular/core';
|
|
2
|
+
import { Utils } from '@pega/angular-sdk-components';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'app-material-details-fields',
|
|
8
|
+
templateUrl: './material-details-fields.component.html',
|
|
9
|
+
styleUrls: ['./material-details-fields.component.scss'],
|
|
10
|
+
standalone: true,
|
|
11
|
+
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
12
|
+
})
|
|
13
|
+
export class MaterialDetailsFieldsComponent {
|
|
14
|
+
constructor(private utils: Utils) {}
|
|
15
|
+
|
|
16
|
+
@Input() arFields$: any[];
|
|
17
|
+
@Input() arHighlightedFields: any[];
|
|
18
|
+
|
|
19
|
+
_getValue(configValue) {
|
|
20
|
+
if (configValue && configValue != '') {
|
|
21
|
+
return configValue;
|
|
22
|
+
}
|
|
23
|
+
return '---';
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
_formatDate(dateValue: string, dateFormat: string): string {
|
|
27
|
+
return this.utils.generateDate(dateValue, dateFormat);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<div class="psdk-utility-card">
|
|
2
|
+
<div class="psdk-utility-card-icon">
|
|
3
|
+
<img class="psdk-utility-card-svg-icon" src="{{ imagePath$ }}{{ item$.visual.icon }}.svg" />
|
|
4
|
+
</div>
|
|
5
|
+
<div class="psdk-utility-card-main">
|
|
6
|
+
<div *ngIf="item$.primary.type == 'URL'" class="psdk-utility-card-main-primary-url">
|
|
7
|
+
<button mat-button color="primary" (click)="item$.primary.click()">
|
|
8
|
+
{{ item$.primary.name }}
|
|
9
|
+
<img class="psdk-utility-card-actions-svg-icon" src="{{ imagePath$ }}{{ item$.primary.icon }}.svg" />
|
|
10
|
+
</button>
|
|
11
|
+
</div>
|
|
12
|
+
<div *ngIf="item$.primary.type != 'URL'" class="psdk-utility-card-main-primary-label">
|
|
13
|
+
{{ item$.primary.name }}
|
|
14
|
+
</div>
|
|
15
|
+
<div *ngIf="item$.secondary.text != ''" [style.color]="item$.secondary.error ? 'red' : undefined">{{ item$.secondary.text }}</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="psdk-utility-card-actions">
|
|
18
|
+
<div *ngIf="menuIconOverride$ == ''; else showCustom">
|
|
19
|
+
<button mat-icon-button [matMenuTriggerFor]="actionMenu">
|
|
20
|
+
<img class="psdk-utility-card-action-svg-icon" src="{{ settingsSvgIcon$ }}" />
|
|
21
|
+
</button>
|
|
22
|
+
<mat-menu #actionMenu="matMenu" overlapTrigger="false">
|
|
23
|
+
<ng-container *ngFor="let action of item$.actions">
|
|
24
|
+
<button mat-menu-item (click)="action.onClick()">
|
|
25
|
+
<img class="psdk-utility-card-action-actions-svg-icon" src="{{ imagePath$ }}{{ action.icon }}.svg" />
|
|
26
|
+
{{ action.text }}
|
|
27
|
+
</button>
|
|
28
|
+
</ng-container>
|
|
29
|
+
</mat-menu>
|
|
30
|
+
</div>
|
|
31
|
+
<ng-template #showCustom>
|
|
32
|
+
<button mat-icon-button (click)="menuIconOverrideAction$.onClick(item$)">
|
|
33
|
+
<img class="psdk-utility-card-action-svg-icon" src="{{ menuIconOverride$ }}" />
|
|
34
|
+
</button>
|
|
35
|
+
</ng-template>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
@import '@pega/angular-sdk-components/_shared/styles.scss';
|
|
2
|
+
|
|
3
|
+
.psdk-icon {
|
|
4
|
+
padding: 0rem 0.125rem;
|
|
5
|
+
min-width: unset;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.psdk-utility-divider {
|
|
9
|
+
border-bottom: 0.0625rem solid $app-neutral-light-color;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.psdk-utility-view-all {
|
|
13
|
+
width: 100%;
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.psdk-utility-count {
|
|
19
|
+
background: $app-primary-light-color;
|
|
20
|
+
border-radius: calc(1.125 * 0.5rem);
|
|
21
|
+
color: black;
|
|
22
|
+
display: inline-block;
|
|
23
|
+
font-size: 0.75rem;
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
text-align: center;
|
|
26
|
+
width: 1.125rem;
|
|
27
|
+
|
|
28
|
+
vertical-align: top;
|
|
29
|
+
margin: 0 0 0.313rem 1rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.psdk-utility .header-text {
|
|
33
|
+
font-size: 1rem;
|
|
34
|
+
font-weight: bold;
|
|
35
|
+
padding-bottom: 0.3125rem;
|
|
36
|
+
text-align: left;
|
|
37
|
+
display: inline-block;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.psdk-utility .header-icon {
|
|
41
|
+
display: inline-block;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.psdk-utility {
|
|
45
|
+
width: 100%;
|
|
46
|
+
padding: 0.625rem 0rem;
|
|
47
|
+
text-align: left;
|
|
48
|
+
background-color: $app-form-color;
|
|
49
|
+
border-radius: 0.6125rem;
|
|
50
|
+
margin: 0.3125rem 0rem;
|
|
51
|
+
}
|
|
52
|
+
.psdk-utility .header {
|
|
53
|
+
text-align: left;
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.psdk-utility-svg-icon {
|
|
59
|
+
width: 1.4rem;
|
|
60
|
+
display: inline-block;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.psdk-settings-svg-icon {
|
|
64
|
+
width: 1.4rem;
|
|
65
|
+
display: inline-block;
|
|
66
|
+
filter: $app-primary-color-filter;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.psdk-utility .message {
|
|
70
|
+
text-align: center;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.psdk-utility-card {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: row;
|
|
76
|
+
padding: 0.25rem 0rem 0.25rem 0.25rem;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.psdk-utility-card-icon {
|
|
80
|
+
flex-grow: 1;
|
|
81
|
+
max-width: 2.813rem;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.psdk-utility-card-svg-icon {
|
|
85
|
+
width: 2.5rem;
|
|
86
|
+
display: inline-block;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.psdk-utility-card-main {
|
|
90
|
+
flex-grow: 2;
|
|
91
|
+
max-width: 16.563rem;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.psdk-utility-card-main-primary-url {
|
|
95
|
+
color: $app-primary-color;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.psdk-utility-card-main-primary-url .mat-mdc-button.mat-primary {
|
|
99
|
+
padding-left: 0px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.psdk-utility-card-main-primary-label {
|
|
103
|
+
font-weight: bold;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.psdk-utility-card-actions {
|
|
107
|
+
flex-grow: 1;
|
|
108
|
+
text-align: right;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.psdk-utility-card-action-svg-icon {
|
|
112
|
+
width: 1.4rem;
|
|
113
|
+
display: inline-block;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.psdk-utility-card-actions-svg-icon {
|
|
117
|
+
width: 1.4rem;
|
|
118
|
+
display: inline-block;
|
|
119
|
+
vertical-align: middle;
|
|
120
|
+
filter: $app-primary-color-filter;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.psdk-utility-card-action-actions-svg-icon {
|
|
124
|
+
width: 1.4rem;
|
|
125
|
+
display: inline-block;
|
|
126
|
+
vertical-align: bottom;
|
|
127
|
+
}
|
package/lib/designSystemExtension/material-summary-item/material-summary-item.component.spec.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { MaterialSummaryItemComponent } from './material-summary-item.component';
|
|
4
|
+
|
|
5
|
+
describe('MaterialSummaryItemComponent', () => {
|
|
6
|
+
let component: MaterialSummaryItemComponent;
|
|
7
|
+
let fixture: ComponentFixture<MaterialSummaryItemComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(waitForAsync(() => {
|
|
10
|
+
TestBed.configureTestingModule({
|
|
11
|
+
declarations: [MaterialSummaryItemComponent]
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
fixture = TestBed.createComponent(MaterialSummaryItemComponent);
|
|
17
|
+
component = fixture.componentInstance;
|
|
18
|
+
fixture.detectChanges();
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it('should create', () => {
|
|
22
|
+
expect(component).toBeTruthy();
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Component, OnInit, Input } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
4
|
+
import { MatMenuModule } from '@angular/material/menu';
|
|
5
|
+
import { Utils } from '@pega/angular-sdk-components';
|
|
6
|
+
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 'app-material-summary-item',
|
|
9
|
+
templateUrl: './material-summary-item.component.html',
|
|
10
|
+
styleUrls: ['./material-summary-item.component.scss'],
|
|
11
|
+
standalone: true,
|
|
12
|
+
imports: [CommonModule, MatButtonModule, MatMenuModule]
|
|
13
|
+
})
|
|
14
|
+
export class MaterialSummaryItemComponent implements OnInit {
|
|
15
|
+
@Input() item$: any;
|
|
16
|
+
@Input() menuIconOverride$ = '';
|
|
17
|
+
@Input() menuIconOverrideAction$: any;
|
|
18
|
+
|
|
19
|
+
settingsSvgIcon$: string;
|
|
20
|
+
imagePath$ = '';
|
|
21
|
+
|
|
22
|
+
constructor(private utils: Utils) {}
|
|
23
|
+
|
|
24
|
+
ngOnInit(): void {
|
|
25
|
+
this.imagePath$ = this.utils.getIconPath(this.utils.getSDKStaticContentUrl());
|
|
26
|
+
|
|
27
|
+
this.settingsSvgIcon$ = this.utils.getImageSrc('more', this.utils.getSDKStaticContentUrl());
|
|
28
|
+
if (this.menuIconOverride$ != '') {
|
|
29
|
+
this.menuIconOverride$ = this.utils.getImageSrc(this.menuIconOverride$, this.utils.getSDKStaticContentUrl());
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@pega/angular-sdk-components/_shared/styles.scss';
|
package/lib/designSystemExtension/material-summary-list/material-summary-list.component.spec.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { MaterialSummaryListComponent } from './material-summary-list.component';
|
|
4
|
+
|
|
5
|
+
describe('MaterialSummaryListComponent', () => {
|
|
6
|
+
let component: MaterialSummaryListComponent;
|
|
7
|
+
let fixture: ComponentFixture<MaterialSummaryListComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(waitForAsync(() => {
|
|
10
|
+
TestBed.configureTestingModule({
|
|
11
|
+
declarations: [MaterialSummaryListComponent]
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
fixture = TestBed.createComponent(MaterialSummaryListComponent);
|
|
17
|
+
component = fixture.componentInstance;
|
|
18
|
+
fixture.detectChanges();
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it('should create', () => {
|
|
22
|
+
expect(component).toBeTruthy();
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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-material-summary-list',
|
|
7
|
+
templateUrl: './material-summary-list.component.html',
|
|
8
|
+
styleUrls: ['./material-summary-list.component.scss'],
|
|
9
|
+
standalone: true,
|
|
10
|
+
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
11
|
+
})
|
|
12
|
+
export class MaterialSummaryListComponent {
|
|
13
|
+
@Input() arItems$: any[];
|
|
14
|
+
@Input() icon$: string;
|
|
15
|
+
@Input() menuIconOverride$ = '';
|
|
16
|
+
@Input() menuIconOverrideAction$: any;
|
|
17
|
+
}
|