@pega/angular-sdk-overrides 0.24.9 → 0.25.2
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.scss +3 -3
- package/lib/designSystemExtension/alert/alert.component.ts +0 -1
- package/lib/designSystemExtension/alert-banner/alert-banner.component.ts +1 -2
- package/lib/designSystemExtension/banner/banner.component.scss +12 -2
- package/lib/designSystemExtension/banner/banner.component.ts +0 -1
- package/lib/designSystemExtension/case-create-stage/case-create-stage.component.ts +1 -2
- package/lib/designSystemExtension/field-group/field-group.component.ts +0 -1
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.html +6 -3
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.scss +7 -35
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.ts +0 -2
- package/lib/designSystemExtension/material-details/material-details.component.scss +0 -5
- package/lib/designSystemExtension/material-details/material-details.component.ts +0 -1
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.html +4 -4
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.scss +4 -3
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.ts +10 -2
- package/lib/designSystemExtension/material-summary-item/material-summary-item.component.scss +2 -17
- package/lib/designSystemExtension/material-summary-item/material-summary-item.component.ts +0 -1
- package/lib/designSystemExtension/material-summary-list/material-summary-list.component.ts +0 -1
- package/lib/designSystemExtension/material-utility/material-utility.component.scss +1 -2
- package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.scss +1 -1
- package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.ts +0 -1
- package/lib/designSystemExtension/operator/operator.component.html +2 -2
- package/lib/designSystemExtension/operator/operator.component.scss +13 -12
- package/lib/designSystemExtension/operator/operator.component.ts +5 -6
- package/lib/designSystemExtension/pulse/pulse.component.scss +2 -2
- package/lib/designSystemExtension/pulse/pulse.component.ts +7 -8
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.scss +0 -1
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.ts +0 -1
- package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.scss +16 -8
- package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.ts +0 -1
- package/lib/field/auto-complete/auto-complete.component.html +0 -2
- package/lib/field/auto-complete/auto-complete.component.ts +56 -178
- package/lib/field/cancel-alert/cancel-alert.component.html +8 -12
- package/lib/field/cancel-alert/cancel-alert.component.scss +2 -3
- package/lib/field/cancel-alert/cancel-alert.component.ts +24 -37
- package/lib/field/check-box/check-box.component.html +17 -6
- package/lib/field/check-box/check-box.component.scss +0 -1
- package/lib/field/check-box/check-box.component.ts +32 -157
- package/lib/field/currency/currency.component.html +4 -4
- package/lib/field/currency/currency.component.ts +65 -175
- package/lib/field/date/date.component.html +4 -8
- package/lib/field/date/date.component.ts +39 -177
- package/lib/field/date-time/date-time.component.html +3 -4
- package/lib/field/date-time/date-time.component.ts +46 -146
- package/lib/field/decimal/decimal.component.html +4 -3
- package/lib/field/decimal/decimal.component.ts +66 -166
- package/lib/field/dropdown/dropdown.component.html +1 -0
- package/lib/field/dropdown/dropdown.component.ts +158 -153
- package/lib/field/email/email.component.ts +28 -148
- package/lib/field/field.base.ts +149 -0
- package/lib/field/group/group.component.ts +9 -7
- package/lib/field/integer/integer.component.ts +30 -152
- package/lib/field/list-view-action-buttons/list-view-action-buttons.component.html +1 -1
- package/lib/field/list-view-action-buttons/list-view-action-buttons.component.ts +3 -3
- package/lib/field/location/config-ext.json +8 -0
- package/lib/field/location/location.component.html +45 -0
- package/lib/field/location/location.component.scss +18 -0
- package/lib/field/location/location.component.spec.ts +22 -0
- package/lib/field/location/location.component.ts +385 -0
- package/lib/field/multiselect/multiselect.component.ts +56 -151
- package/lib/field/multiselect/utils.ts +55 -47
- package/lib/field/object-reference/object-reference.component.html +17 -0
- package/lib/field/object-reference/object-reference.component.scss +0 -0
- package/lib/field/object-reference/object-reference.component.spec.ts +22 -0
- package/lib/field/object-reference/object-reference.component.ts +237 -0
- package/lib/field/percentage/percentage.component.html +3 -3
- package/lib/field/percentage/percentage.component.ts +68 -161
- package/lib/field/phone/config-ext.json +1 -1
- package/lib/field/phone/phone.component.html +9 -6
- package/lib/field/phone/phone.component.scss +9 -0
- package/lib/field/phone/phone.component.ts +48 -159
- package/lib/field/radio-buttons/radio-buttons.component.html +17 -12
- package/lib/field/radio-buttons/radio-buttons.component.scss +4 -2
- package/lib/field/radio-buttons/radio-buttons.component.ts +39 -162
- package/lib/field/rich-text/rich-text.component.ts +32 -93
- package/lib/field/scalar-list/scalar-list.component.ts +20 -77
- package/lib/field/selectable-card/selectable-card.component.html +70 -0
- package/lib/field/selectable-card/selectable-card.component.scss +11 -0
- package/lib/field/selectable-card/selectable-card.component.spec.ts +22 -0
- package/lib/field/selectable-card/selectable-card.component.ts +219 -0
- package/lib/field/semantic-link/semantic-link.component.html +4 -8
- package/lib/field/semantic-link/semantic-link.component.scss +0 -13
- package/lib/field/semantic-link/semantic-link.component.ts +165 -6
- package/lib/field/text/text.component.scss +0 -1
- package/lib/field/text/text.component.ts +8 -5
- package/lib/field/text-area/text-area.component.html +4 -1
- package/lib/field/text-area/text-area.component.ts +30 -148
- package/lib/field/text-content/text-content.component.ts +0 -1
- package/lib/field/text-input/text-input.component.ts +28 -150
- package/lib/field/time/time.component.html +2 -2
- package/lib/field/time/time.component.ts +39 -145
- package/lib/field/url/url.component.ts +28 -149
- package/lib/field/user-reference/user-reference.component.html +40 -46
- package/lib/field/user-reference/user-reference.component.scss +0 -1
- package/lib/field/user-reference/user-reference.component.ts +110 -21
- package/lib/infra/Containers/flow-container/flow-container.component.html +1 -1
- package/lib/infra/Containers/flow-container/flow-container.component.ts +29 -54
- package/lib/infra/Containers/flow-container/helpers.ts +2 -2
- package/lib/infra/Containers/hybrid-view-container/hybrid-view-container.component.ts +0 -1
- package/lib/infra/Containers/modal-view-container/modal-view-container.component.html +1 -11
- package/lib/infra/Containers/modal-view-container/modal-view-container.component.ts +6 -19
- package/lib/infra/Containers/preview-view-container/preview-view-container.component.ts +1 -1
- package/lib/infra/Containers/view-container/helper.ts +55 -0
- package/lib/infra/Containers/view-container/view-container.component.ts +6 -19
- package/lib/infra/action-buttons/action-buttons.component.html +13 -8
- package/lib/infra/action-buttons/action-buttons.component.scss +23 -0
- package/lib/infra/action-buttons/action-buttons.component.ts +1 -3
- package/lib/infra/assignment/assignment.component.html +1 -1
- package/lib/infra/assignment/assignment.component.ts +90 -47
- package/lib/infra/assignment-card/assignment-card.component.html +2 -2
- package/lib/infra/assignment-card/assignment-card.component.scss +0 -4
- package/lib/infra/assignment-card/assignment-card.component.ts +21 -5
- package/lib/infra/dashboard-filter/dashboard-filter.component.ts +0 -1
- package/lib/infra/defer-load/defer-load.component.html +6 -2
- package/lib/infra/defer-load/defer-load.component.ts +24 -16
- package/lib/infra/error-boundary/error-boundary.component.ts +0 -1
- package/lib/infra/multi-step/multi-step.component.scss +1 -21
- package/lib/infra/multi-step/multi-step.component.ts +0 -1
- package/lib/infra/navbar/navbar.component.html +25 -28
- package/lib/infra/navbar/navbar.component.scss +16 -4
- package/lib/infra/navbar/navbar.component.ts +11 -9
- package/lib/infra/reference/reference.component.ts +77 -90
- package/lib/infra/region/region.component.ts +0 -1
- package/lib/infra/root-container/root-container.component.html +2 -15
- package/lib/infra/root-container/root-container.component.scss +0 -1
- package/lib/infra/root-container/root-container.component.ts +28 -35
- package/lib/infra/stages/stages.component.html +2 -2
- package/lib/infra/stages/stages.component.scss +9 -37
- package/lib/infra/stages/stages.component.ts +4 -3
- package/lib/infra/view/view.component.html +7 -20
- package/lib/infra/view/view.component.ts +20 -5
- package/lib/template/advanced-search/advanced-search.component.html +12 -0
- package/lib/template/advanced-search/advanced-search.component.scss +0 -0
- package/lib/template/advanced-search/advanced-search.component.spec.ts +0 -0
- package/lib/template/advanced-search/advanced-search.component.ts +112 -0
- package/lib/template/advanced-search/advanced-search.service.ts +27 -0
- package/lib/template/advanced-search/search-group/persist-utils.ts +56 -0
- package/lib/template/advanced-search/search-groups/search-groups.component.html +32 -0
- package/lib/template/advanced-search/search-groups/search-groups.component.scss +0 -0
- package/lib/template/advanced-search/search-groups/search-groups.component.spec.ts +0 -0
- package/lib/template/advanced-search/search-groups/search-groups.component.ts +294 -0
- package/lib/template/advanced-search/search-groups/utils.ts +29 -0
- package/lib/template/app-shell/app-shell.component.html +4 -1
- package/lib/template/app-shell/app-shell.component.scss +0 -3
- package/lib/template/app-shell/app-shell.component.ts +66 -10
- package/lib/template/banner-page/banner-page.component.ts +0 -1
- package/lib/template/base/details-template-base.ts +67 -0
- package/lib/template/base/form-template-base.ts +16 -0
- package/lib/template/case-summary/case-summary.component.scss +0 -2
- package/lib/template/case-summary/case-summary.component.ts +7 -23
- package/lib/template/case-view/case-view.component.html +7 -7
- package/lib/template/case-view/case-view.component.scss +18 -10
- package/lib/template/case-view/case-view.component.ts +9 -15
- package/lib/template/confirmation/confirmation.component.html +1 -1
- package/lib/template/confirmation/confirmation.component.ts +1 -2
- package/lib/template/data-reference/data-reference-advanced-search.service.ts +16 -0
- package/lib/template/data-reference/data-reference.component.html +11 -8
- package/lib/template/data-reference/data-reference.component.ts +377 -148
- package/lib/template/data-reference/search-form/search-form.component.html +39 -0
- package/lib/template/data-reference/search-form/search-form.component.scss +11 -0
- package/lib/template/data-reference/search-form/search-form.component.spec.ts +0 -0
- package/lib/template/data-reference/search-form/search-form.component.ts +167 -0
- package/lib/template/data-reference/search-form/tabsData.ts +160 -0
- package/lib/template/data-reference/utils.ts +92 -0
- package/lib/template/default-form/default-form.component.html +0 -4
- package/lib/template/default-form/default-form.component.ts +50 -26
- package/lib/template/default-page/default-page.component.html +34 -0
- package/lib/template/default-page/default-page.component.scss +31 -0
- package/lib/template/default-page/default-page.component.spec.ts +24 -0
- package/lib/template/default-page/default-page.component.ts +64 -0
- package/lib/template/details/details.component.ts +7 -42
- package/lib/template/details-narrow-wide/details-narrow-wide.component.ts +6 -40
- package/lib/template/details-one-column/details-one-column.component.ts +7 -43
- package/lib/template/details-sub-tabs/details-sub-tabs.component.html +1 -2
- package/lib/template/details-sub-tabs/details-sub-tabs.component.ts +5 -38
- package/lib/template/details-three-column/details-three-column.component.ts +7 -44
- package/lib/template/details-two-column/details-two-column.component.ts +8 -45
- package/lib/template/details-wide-narrow/details-wide-narrow.component.ts +7 -43
- package/lib/template/dynamic-tabs/dynamic-tabs.component.html +3 -0
- package/lib/template/dynamic-tabs/dynamic-tabs.component.ts +8 -4
- package/lib/template/field-group-list/field-group-list.component.scss +0 -1
- package/lib/template/field-group-list/field-group-list.component.ts +0 -1
- package/lib/template/field-group-template/field-group-template.component.html +7 -7
- package/lib/template/field-group-template/field-group-template.component.scss +8 -0
- package/lib/template/field-group-template/field-group-template.component.ts +68 -48
- package/lib/template/field-value-list/field-value-list.component.html +2 -2
- package/lib/template/field-value-list/field-value-list.component.scss +6 -1
- package/lib/template/field-value-list/field-value-list.component.ts +0 -1
- package/lib/template/inline-dashboard/inline-dashboard.component.ts +0 -1
- package/lib/template/inline-dashboard-page/inline-dashboard-page.component.ts +2 -3
- package/lib/template/list-page/list-page.component.ts +0 -1
- package/lib/template/list-view/list-view.component.html +14 -4
- package/lib/template/list-view/list-view.component.scss +30 -19
- package/lib/template/list-view/list-view.component.ts +179 -95
- package/lib/template/list-view/listViewHelpers.ts +4 -10
- package/lib/template/list-view/utils.ts +27 -7
- package/lib/template/multi-reference-readonly/multi-reference-readonly.component.ts +0 -1
- package/lib/template/narrow-wide-form/narrow-wide-form.component.ts +1 -2
- package/lib/template/object-page/object-page.component.html +1 -0
- package/lib/template/object-page/object-page.component.scss +0 -0
- package/lib/template/object-page/object-page.component.spec.ts +22 -0
- package/lib/template/object-page/object-page.component.ts +14 -0
- package/lib/template/one-column/one-column.component.ts +4 -4
- package/lib/template/one-column-page/one-column-page.component.ts +0 -1
- package/lib/template/one-column-tab/one-column-tab.component.scss +1 -1
- package/lib/template/one-column-tab/one-column-tab.component.ts +1 -2
- package/lib/template/page/page.component.ts +1 -2
- package/lib/template/promoted-filters/promoted-filters.component.ts +1 -2
- package/lib/template/repeating-structures/repeating-structures.component.ts +1 -3
- package/lib/template/self-service-case-view/self-service-case-view.component.html +80 -0
- package/lib/template/self-service-case-view/self-service-case-view.component.scss +124 -0
- package/lib/template/self-service-case-view/self-service-case-view.component.spec.ts +24 -0
- package/lib/template/self-service-case-view/self-service-case-view.component.ts +216 -0
- package/lib/template/simple-table/simple-table.component.ts +0 -2
- package/lib/template/simple-table-manual/helpers.ts +127 -11
- package/lib/template/simple-table-manual/simple-table-manual.component.html +27 -8
- package/lib/template/simple-table-manual/simple-table-manual.component.scss +16 -17
- package/lib/template/simple-table-manual/simple-table-manual.component.ts +118 -58
- package/lib/template/simple-table-select/simple-table-select.component.ts +3 -4
- package/lib/template/single-reference-readonly/single-reference-readonly.component.html +4 -1
- package/lib/template/single-reference-readonly/single-reference-readonly.component.scss +21 -0
- package/lib/template/single-reference-readonly/single-reference-readonly.component.ts +104 -4
- package/lib/template/sub-tabs/sub-tabs.component.ts +0 -1
- package/lib/template/three-column/three-column.component.ts +4 -4
- package/lib/template/three-column-page/three-column-page.component.ts +0 -1
- package/lib/template/two-column/two-column.component.ts +4 -4
- package/lib/template/two-column-page/two-column-page.component.ts +0 -1
- package/lib/template/two-column-tab/two-column-tab.component.ts +1 -2
- package/lib/template/utils.ts +58 -0
- package/lib/template/wide-narrow-form/wide-narrow-form.component.ts +4 -4
- package/lib/template/wide-narrow-page/wide-narrow-page.component.ts +1 -2
- package/lib/template/wss-nav-bar/wss-nav-bar.component.html +5 -4
- package/lib/template/wss-nav-bar/wss-nav-bar.component.scss +2 -8
- package/lib/template/wss-nav-bar/wss-nav-bar.component.ts +3 -11
- package/lib/widget/app-announcement/app-announcement.component.html +1 -2
- package/lib/widget/app-announcement/app-announcement.component.scss +2 -2
- package/lib/widget/app-announcement/app-announcement.component.ts +0 -1
- package/lib/widget/attachment/Attachment.types.ts +92 -0
- package/lib/widget/attachment/AttachmentUtils.ts +287 -0
- package/lib/widget/attachment/attachment.component.html +3 -3
- package/lib/widget/attachment/attachment.component.scss +2 -5
- package/lib/widget/attachment/attachment.component.ts +256 -259
- package/lib/widget/case-history/case-history.component.ts +0 -1
- package/lib/widget/feed-container/feed-container.component.scss +3 -9
- package/lib/widget/feed-container/feed-container.component.ts +9 -12
- package/lib/widget/file-utility/file-utility.component.html +3 -3
- package/lib/widget/file-utility/file-utility.component.scss +5 -16
- package/lib/widget/file-utility/file-utility.component.ts +2 -6
- package/lib/widget/list-utility/list-utility.component.scss +3 -5
- package/lib/widget/list-utility/list-utility.component.ts +0 -1
- package/lib/widget/quick-create/quick-create.component.ts +0 -1
- package/lib/widget/todo/todo.component.html +13 -11
- package/lib/widget/todo/todo.component.scss +19 -11
- package/lib/widget/todo/todo.component.ts +101 -87
- package/lib/widget/utility/utility.component.ts +0 -1
- package/package.json +1 -1
|
@@ -11,7 +11,6 @@ interface CaseHistoryProps {
|
|
|
11
11
|
selector: 'app-case-history',
|
|
12
12
|
templateUrl: './case-history.component.html',
|
|
13
13
|
styleUrls: ['./case-history.component.scss'],
|
|
14
|
-
standalone: true,
|
|
15
14
|
imports: [CommonModule, MatTableModule]
|
|
16
15
|
})
|
|
17
16
|
export class CaseHistoryComponent implements OnInit {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.psdk-pulse-divider {
|
|
2
|
-
border-bottom: 0.0625rem solid var(--
|
|
2
|
+
border-bottom: 0.0625rem solid var(--mat-sys-outline-variant);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.psdk-full-width {
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
padding: 0rem 0.125rem;
|
|
18
18
|
min-width: unset;
|
|
19
19
|
display: inline-block;
|
|
20
|
-
color: var(--app-primary-color);
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
.psdk-send-svg-icon {
|
|
@@ -52,8 +51,6 @@
|
|
|
52
51
|
align-items: center;
|
|
53
52
|
text-align: center;
|
|
54
53
|
display: flex;
|
|
55
|
-
background: var(--app-primary-color);
|
|
56
|
-
color: var(--app-form-color);
|
|
57
54
|
font-weight: bold;
|
|
58
55
|
font-size: 1.25rem;
|
|
59
56
|
}
|
|
@@ -70,8 +67,8 @@
|
|
|
70
67
|
align-items: center;
|
|
71
68
|
text-align: center;
|
|
72
69
|
display: flex;
|
|
73
|
-
background: var(--
|
|
74
|
-
color: var(--
|
|
70
|
+
background: var(--mat-sys-primary);
|
|
71
|
+
color: var(--mat-sys-on-primary);
|
|
75
72
|
font-weight: bold;
|
|
76
73
|
font-size: 1.5625rem;
|
|
77
74
|
}
|
|
@@ -95,7 +92,6 @@
|
|
|
95
92
|
}
|
|
96
93
|
|
|
97
94
|
.psdk-pulse-message-time {
|
|
98
|
-
color: var(--app-pulse-message-color);
|
|
99
95
|
}
|
|
100
96
|
|
|
101
97
|
.psdk-pulse-message-text {
|
|
@@ -141,7 +137,6 @@
|
|
|
141
137
|
}
|
|
142
138
|
|
|
143
139
|
.psdk-pulse-reply-message {
|
|
144
|
-
background-color: var(--app-pulse-message-background-color);
|
|
145
140
|
border-radius: 0.625rem;
|
|
146
141
|
padding: 0rem 1.25rem;
|
|
147
142
|
white-space: pre-line;
|
|
@@ -170,7 +165,6 @@
|
|
|
170
165
|
}
|
|
171
166
|
|
|
172
167
|
.psdk-pulse-reply-time {
|
|
173
|
-
color: var(--app-pulse-message-color);
|
|
174
168
|
padding-left: 0.625rem;
|
|
175
169
|
}
|
|
176
170
|
|
|
@@ -9,14 +9,11 @@ import isEqual from 'fast-deep-equal';
|
|
|
9
9
|
import { AngularPConnectData, AngularPConnectService } from '@pega/angular-sdk-components';
|
|
10
10
|
import { Utils } from '@pega/angular-sdk-components';
|
|
11
11
|
|
|
12
|
-
declare const window: any;
|
|
13
|
-
|
|
14
12
|
@Component({
|
|
15
13
|
selector: 'app-feed-container',
|
|
16
14
|
templateUrl: './feed-container.component.html',
|
|
17
15
|
styleUrls: ['./feed-container.component.scss'],
|
|
18
16
|
providers: [Utils],
|
|
19
|
-
standalone: true,
|
|
20
17
|
imports: [CommonModule, MatFormFieldModule, MatInputModule, MatGridListModule, MatButtonModule]
|
|
21
18
|
})
|
|
22
19
|
export class FeedContainerComponent implements OnInit, OnDestroy {
|
|
@@ -25,14 +22,14 @@ export class FeedContainerComponent implements OnInit, OnDestroy {
|
|
|
25
22
|
// Used with AngularPConnect
|
|
26
23
|
angularPConnectData: AngularPConnectData = {};
|
|
27
24
|
|
|
28
|
-
userName$: string;
|
|
29
|
-
imageKey$: string;
|
|
25
|
+
userName$: string | undefined;
|
|
26
|
+
imageKey$: string | undefined;
|
|
30
27
|
|
|
31
28
|
currentUserInitials$: string;
|
|
32
29
|
currentUserName$: string;
|
|
33
30
|
|
|
34
31
|
pulseMessages$: any[];
|
|
35
|
-
showReplyComment$:
|
|
32
|
+
showReplyComment$: object = {};
|
|
36
33
|
|
|
37
34
|
svgComment$: string;
|
|
38
35
|
svgLike$: string;
|
|
@@ -42,7 +39,7 @@ export class FeedContainerComponent implements OnInit, OnDestroy {
|
|
|
42
39
|
pulseConversation: string;
|
|
43
40
|
userData: Map<any, any> = new Map();
|
|
44
41
|
|
|
45
|
-
pulseComment:
|
|
42
|
+
pulseComment: object = {};
|
|
46
43
|
|
|
47
44
|
// functions
|
|
48
45
|
actionsAPI: any;
|
|
@@ -65,7 +62,7 @@ export class FeedContainerComponent implements OnInit, OnDestroy {
|
|
|
65
62
|
ngOnInit(): void {
|
|
66
63
|
this.userName$ = PCore.getEnvironmentInfo().getOperatorName();
|
|
67
64
|
this.imageKey$ = PCore.getEnvironmentInfo().getOperatorImageInsKey();
|
|
68
|
-
this.updateCurrentUserName(this.userName$);
|
|
65
|
+
this.updateCurrentUserName(this.userName$ ?? '');
|
|
69
66
|
|
|
70
67
|
// First thing in initialization is registering and subscribing to the AngularPConnect service
|
|
71
68
|
this.angularPConnectData = this.angularPConnect.registerAndSubscribeComponent(this, this.onStateChange);
|
|
@@ -402,11 +399,11 @@ export class FeedContainerComponent implements OnInit, OnDestroy {
|
|
|
402
399
|
}
|
|
403
400
|
|
|
404
401
|
getMessageData() {
|
|
405
|
-
const messageIDs =
|
|
406
|
-
const userName =
|
|
402
|
+
const messageIDs = this.pConn$.getConfigProps().messageIDs;
|
|
403
|
+
const userName = this.pConn$.getConfigProps().currentUser;
|
|
407
404
|
const imageKey = this.pConn$.getValue('OperatorID.pyImageInsKey');
|
|
408
405
|
|
|
409
|
-
const oData
|
|
406
|
+
const oData = this.pConn$.getDataObject();
|
|
410
407
|
|
|
411
408
|
if (messageIDs && messageIDs.length > 0) {
|
|
412
409
|
this.pulseMessages$ = JSON.parse(JSON.stringify(oData.pulse.messages));
|
|
@@ -532,7 +529,7 @@ export class FeedContainerComponent implements OnInit, OnDestroy {
|
|
|
532
529
|
|
|
533
530
|
// If feedAPI is defined then only post message
|
|
534
531
|
if (this.feedAPI) {
|
|
535
|
-
this./* feedAPI. */ postMessage(
|
|
532
|
+
this./* feedAPI. */ postMessage(this.pConn$.getConfigProps().value, this.pulseConversation);
|
|
536
533
|
} else {
|
|
537
534
|
console.log("We don't support Pulse yet");
|
|
538
535
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</div>
|
|
16
16
|
|
|
17
17
|
<div *ngIf="bShowFileModal$" class="psdk-dialog-background">
|
|
18
|
-
<div class="psdk-modal-
|
|
18
|
+
<div class="psdk-modal-top">
|
|
19
19
|
<h3>{{ pConn$.getLocalizedValue('Add local files', '', '') }}</h3>
|
|
20
20
|
<div class="psdk-modal-body">
|
|
21
21
|
<div class="psdk-modal-file-selector">
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</div>
|
|
41
41
|
|
|
42
42
|
<div *ngIf="bShowLinkModal$" class="psdk-dialog-background">
|
|
43
|
-
<div class="psdk-modal-
|
|
43
|
+
<div class="psdk-modal-top">
|
|
44
44
|
<h3>{{ pConn$.getLocalizedValue('Add links', '', '') }}</h3>
|
|
45
45
|
<div class="psdk-modal-link-entry">
|
|
46
46
|
<div class="psdk-modal-body">
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
</div>
|
|
83
83
|
|
|
84
84
|
<div *ngIf="bShowViewAllModal$" class="psdk-dialog-background">
|
|
85
|
-
<div class="psdk-modal-
|
|
85
|
+
<div class="psdk-modal-top">
|
|
86
86
|
<div class="psdk-view-all-header">
|
|
87
87
|
<div>
|
|
88
88
|
<h3>{{ pConn$.getLocalizedValue('Attachments', '', '') }}</h3>
|
|
@@ -5,33 +5,22 @@
|
|
|
5
5
|
align-items: center;
|
|
6
6
|
height: 100%;
|
|
7
7
|
width: 100%;
|
|
8
|
-
background-color:
|
|
8
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
9
9
|
position: fixed;
|
|
10
10
|
z-index: 999;
|
|
11
11
|
top: 0px;
|
|
12
12
|
left: 0px;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.psdk-modal-
|
|
15
|
+
.psdk-modal-top {
|
|
16
16
|
display: table;
|
|
17
17
|
margin: auto;
|
|
18
18
|
min-width: 650px;
|
|
19
|
-
background-color: var(--
|
|
20
|
-
border: 1px solid var(--
|
|
19
|
+
background-color: var(--mat-sys-surface-container);
|
|
20
|
+
border: 1px solid var(--mat-sys-outline-variant);
|
|
21
21
|
border-radius: 10px;
|
|
22
22
|
padding: 20px;
|
|
23
|
-
box-shadow: 0 0 10px 3px var(--
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.psdk-modal-link-top {
|
|
27
|
-
display: table;
|
|
28
|
-
margin: auto;
|
|
29
|
-
min-width: 650px;
|
|
30
|
-
background-color: var(--app-form-color);
|
|
31
|
-
border: 1px solid var(--app-inverse-form-color);
|
|
32
|
-
border-radius: 10px;
|
|
33
|
-
padding: 20px;
|
|
34
|
-
box-shadow: 0 0 10px 3px var(--app-box-shadow-color);
|
|
23
|
+
box-shadow: 0 0 10px 3px var(--mat-sys-level3);
|
|
35
24
|
}
|
|
36
25
|
|
|
37
26
|
.psdk-modal-file-selector {
|
|
@@ -17,7 +17,6 @@ interface FileUtilityProps {
|
|
|
17
17
|
selector: 'app-file-utility',
|
|
18
18
|
templateUrl: './file-utility.component.html',
|
|
19
19
|
styleUrls: ['./file-utility.component.scss'],
|
|
20
|
-
standalone: true,
|
|
21
20
|
imports: [CommonModule, MatButtonModule, MatFormFieldModule, MatInputModule, forwardRef(() => ComponentMapperComponent)]
|
|
22
21
|
})
|
|
23
22
|
export class FileUtilityComponent implements OnInit, OnDestroy {
|
|
@@ -106,7 +105,7 @@ export class FileUtilityComponent implements OnInit, OnDestroy {
|
|
|
106
105
|
this.createModalButtons();
|
|
107
106
|
|
|
108
107
|
PCore.getPubSubUtils().subscribe(
|
|
109
|
-
|
|
108
|
+
PCore.getEvents().getCaseEvent().CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW,
|
|
110
109
|
this.updateSelf.bind(this),
|
|
111
110
|
'caseAttachmentsUpdateFromCaseview'
|
|
112
111
|
);
|
|
@@ -117,10 +116,7 @@ export class FileUtilityComponent implements OnInit, OnDestroy {
|
|
|
117
116
|
this.angularPConnectData.unsubscribeFn();
|
|
118
117
|
}
|
|
119
118
|
|
|
120
|
-
PCore.getPubSubUtils().unsubscribe(
|
|
121
|
-
(PCore.getEvents().getCaseEvent() as any).CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW,
|
|
122
|
-
'caseAttachmentsUpdateFromCaseview'
|
|
123
|
-
);
|
|
119
|
+
PCore.getPubSubUtils().unsubscribe(PCore.getEvents().getCaseEvent().CASE_ATTACHMENTS_UPDATED_FROM_CASEVIEW, 'caseAttachmentsUpdateFromCaseview');
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
// Callback passed when subscribing to store change
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.psdk-utility-divider {
|
|
14
|
-
border-bottom: 0.0625rem solid var(--
|
|
14
|
+
border-bottom: 0.0625rem solid var(--mat-sys-outline-variant);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.psdk-utility-view-all {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.psdk-utility-count {
|
|
24
|
-
background: var(--
|
|
24
|
+
background: var(--mat-sys-inverse-primary);
|
|
25
|
+
color: var(--mat-sys-on-primary);
|
|
25
26
|
border-radius: calc(1.125 * 0.5rem);
|
|
26
|
-
color: var(--app-inverse-form-color);
|
|
27
27
|
display: inline-block;
|
|
28
28
|
font-size: 0.75rem;
|
|
29
29
|
font-weight: bold;
|
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
width: 100%;
|
|
51
51
|
padding: 0.625rem 0rem;
|
|
52
52
|
text-align: left;
|
|
53
|
-
background-color: var(--app-form-color);
|
|
54
53
|
border-radius: 0.6125rem;
|
|
55
54
|
margin: 0.3125rem 0rem;
|
|
56
55
|
position: relative;
|
|
@@ -98,7 +97,6 @@
|
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
.psdk-utility-card-main-primary-url {
|
|
101
|
-
color: var(--app-primary-color);
|
|
102
100
|
}
|
|
103
101
|
|
|
104
102
|
.psdk-utility-card-main-primary-url .mat-mdc-button.mat-primary {
|
|
@@ -10,7 +10,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
|
|
|
10
10
|
selector: 'app-list-utility',
|
|
11
11
|
templateUrl: './list-utility.component.html',
|
|
12
12
|
styleUrls: ['./list-utility.component.scss'],
|
|
13
|
-
standalone: true,
|
|
14
13
|
imports: [CommonModule, MatButtonModule, MatMenuModule, MatProgressSpinnerModule, forwardRef(() => ComponentMapperComponent)]
|
|
15
14
|
})
|
|
16
15
|
export class ListUtilityComponent implements OnInit {
|
|
@@ -14,7 +14,6 @@ interface QuickCreateProps {
|
|
|
14
14
|
selector: 'app-quick-create',
|
|
15
15
|
templateUrl: './quick-create.component.html',
|
|
16
16
|
styleUrls: ['./quick-create.component.scss'],
|
|
17
|
-
standalone: true,
|
|
18
17
|
imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
|
|
19
18
|
})
|
|
20
19
|
export class QuickCreateComponent implements OnInit, OnChanges {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
<div class="psdk-todo">
|
|
2
|
-
<div class="psdk-todo-header">
|
|
3
|
-
<div
|
|
2
|
+
<div *ngIf="showTodoList$" class="psdk-todo-header">
|
|
3
|
+
<div class="psdk-avatar">{{ this.currentUserInitials$ }}</div>
|
|
4
4
|
<div id="worklist" class="psdk-todo-text">{{ headerText$ }}</div>
|
|
5
|
-
<div
|
|
5
|
+
<div class="psdk-assignment-count">{{ count }}</div>
|
|
6
6
|
</div>
|
|
7
|
-
<br /><br />
|
|
8
7
|
<div *ngIf="showTodoList$" class="psdk-display-divider"></div>
|
|
9
8
|
|
|
10
9
|
<div class="psdk-todo-assignments">
|
|
@@ -15,20 +14,23 @@
|
|
|
15
14
|
<div class="psdk-todo-assignment-title">{{ getAssignmentName(assignment) }}</div>
|
|
16
15
|
<div class="psdk-todo-assignment-data">
|
|
17
16
|
<div class="psdk-todo-assignment-task">
|
|
18
|
-
{{ localizedVal('
|
|
17
|
+
{{ localizedVal('In', localeCategory) }}
|
|
19
18
|
<button class="psdk-todo-id" style="cursor: pointer" (click)="clickGo(assignment)" *ngIf="!isConfirm || canPerform; else readOnlyText">
|
|
20
|
-
{{ assignment
|
|
19
|
+
{{ localizedVal(assignment?.name, '', localeUtils.getCaseLocaleReference(assignment.classname)) }} {{ getID(assignment) }}
|
|
21
20
|
</button>
|
|
22
|
-
<ng-template #readOnlyText> {{ assignment
|
|
21
|
+
<ng-template #readOnlyText> {{ localizedVal(assignment?.name, localeCategory) }} {{ getID(assignment) }} </ng-template>
|
|
23
22
|
<span *ngIf="assignment.status != undefined">
|
|
24
|
-
•
|
|
23
|
+
•
|
|
24
|
+
<span class="psdk-todo-assignment-status">{{
|
|
25
|
+
localizedVal(assignment.status, '', localeUtils.getCaseLocaleReference(assignment.classname))
|
|
26
|
+
}}</span>
|
|
25
27
|
</span>
|
|
26
28
|
• {{ localizedVal('Urgency', localeCategory) }} {{ getPriority(assignment) }}
|
|
27
29
|
</div>
|
|
28
30
|
</div>
|
|
29
31
|
</div>
|
|
30
|
-
<div class="psdk-todo-assignment-action"
|
|
31
|
-
<button mat-flat-button color="primary" (click)="clickGo(assignment)">{{
|
|
32
|
+
<div *ngIf="!isConfirm || canPerform" class="psdk-todo-assignment-action">
|
|
33
|
+
<button mat-flat-button color="primary" (click)="clickGo(assignment)">{{ goLocalizedValue === 'go' ? 'Go' : goLocalizedValue }}</button>
|
|
32
34
|
</div>
|
|
33
35
|
</div>
|
|
34
36
|
<div class="psdk-display-divider"></div>
|
|
@@ -36,7 +38,7 @@
|
|
|
36
38
|
</div>
|
|
37
39
|
</div>
|
|
38
40
|
|
|
39
|
-
<div *ngIf="
|
|
41
|
+
<div *ngIf="count > 3">
|
|
40
42
|
<div *ngIf="bShowMore$; else showLess" class="psdk-todo-show-more">
|
|
41
43
|
<button mat-stroked-button (click)="_showMore()">{{ showMoreLocalizedValue === 'show_more' ? 'Show more' : showMoreLocalizedValue }}</button>
|
|
42
44
|
</div>
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
+
.psdk-todo-assignments > *:last-child {
|
|
2
|
+
.psdk-display-divider {
|
|
3
|
+
display: none;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
1
7
|
.psdk-display-divider {
|
|
2
|
-
border-bottom: 0.0625rem solid var(--
|
|
8
|
+
border-bottom: 0.0625rem solid var(--mat-sys-outline-variant);
|
|
9
|
+
margin-block: 0.5rem;
|
|
3
10
|
}
|
|
4
11
|
|
|
5
12
|
.psdk-todo {
|
|
6
13
|
padding: 1rem;
|
|
7
|
-
background-color: var(--
|
|
14
|
+
background-color: var(--mat-sys-surface-container);
|
|
8
15
|
border-radius: 0.6125rem;
|
|
9
|
-
border-left: 6px solid;
|
|
10
|
-
border-left-color: var(--app-primary-color);
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
.psdk-todo-header {
|
|
14
19
|
display: inline-flex;
|
|
20
|
+
margin-bottom: 1rem;
|
|
15
21
|
}
|
|
16
22
|
|
|
17
23
|
.psdk-todo-text {
|
|
@@ -21,14 +27,15 @@
|
|
|
21
27
|
}
|
|
22
28
|
|
|
23
29
|
.psdk-assignment-count {
|
|
24
|
-
background-color: var(--
|
|
30
|
+
background-color: var(--mat-sys-inverse-primary);
|
|
31
|
+
color: var(--mat-sys-on-primary);
|
|
25
32
|
margin: 0.5rem;
|
|
26
33
|
border-radius: 45%;
|
|
27
34
|
padding: 0.15rem 0.4rem;
|
|
28
35
|
}
|
|
29
36
|
|
|
30
37
|
.psdk-todo-id {
|
|
31
|
-
color: var(--
|
|
38
|
+
color: var(--mat-sys-primary);
|
|
32
39
|
padding: 0;
|
|
33
40
|
cursor: pointer;
|
|
34
41
|
border: 0;
|
|
@@ -48,8 +55,8 @@
|
|
|
48
55
|
align-items: center;
|
|
49
56
|
text-align: center;
|
|
50
57
|
display: flex;
|
|
51
|
-
background: var(--
|
|
52
|
-
color: var(--
|
|
58
|
+
background: var(--mat-sys-primary);
|
|
59
|
+
color: var(--mat-sys-on-primary);
|
|
53
60
|
font-weight: bold;
|
|
54
61
|
font-size: 1.25rem;
|
|
55
62
|
}
|
|
@@ -58,6 +65,7 @@
|
|
|
58
65
|
display: inline-flex;
|
|
59
66
|
width: 100%;
|
|
60
67
|
padding: 0.625rem 0rem;
|
|
68
|
+
align-items: center;
|
|
61
69
|
}
|
|
62
70
|
|
|
63
71
|
.psdk-todo-assignment-data {
|
|
@@ -65,9 +73,9 @@
|
|
|
65
73
|
}
|
|
66
74
|
|
|
67
75
|
.psdk-todo-assignment-status {
|
|
68
|
-
background-color: var(--
|
|
76
|
+
background-color: var(--mat-sys-surface-container-highest);
|
|
69
77
|
border-radius: 0.125rem;
|
|
70
|
-
color: var(--
|
|
78
|
+
color: var(--mat-sys-on-surface);
|
|
71
79
|
font-size: 0.75rem;
|
|
72
80
|
font-weight: bold;
|
|
73
81
|
line-height: calc(0.5rem * 2.5);
|
|
@@ -77,7 +85,7 @@
|
|
|
77
85
|
}
|
|
78
86
|
|
|
79
87
|
.psdk-todo-assignment-task {
|
|
80
|
-
color: var(--
|
|
88
|
+
color: var(--mat-sys-on-surface);
|
|
81
89
|
}
|
|
82
90
|
|
|
83
91
|
.psdk-todo-assignment-action {
|