@pega/angular-sdk-overrides 0.25.1 → 0.25.3
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/banner/banner.component.scss +12 -2
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.html +6 -3
- package/lib/designSystemExtension/material-case-summary/material-case-summary.component.scss +5 -34
- package/lib/designSystemExtension/material-details/material-details.component.scss +0 -5
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.html +2 -2
- package/lib/designSystemExtension/material-details-fields/material-details-fields.component.scss +4 -3
- package/lib/designSystemExtension/material-summary-item/material-summary-item.component.scss +2 -17
- 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/operator/operator.component.html +1 -1
- package/lib/designSystemExtension/operator/operator.component.scss +3 -10
- package/lib/designSystemExtension/operator/operator.component.ts +0 -1
- package/lib/designSystemExtension/pulse/pulse.component.scss +2 -2
- package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.scss +0 -1
- package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.scss +16 -8
- package/lib/field/auto-complete/auto-complete.component.html +0 -1
- package/lib/field/auto-complete/auto-complete.component.ts +35 -172
- 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 -36
- package/lib/field/check-box/check-box.component.html +0 -1
- package/lib/field/check-box/check-box.component.scss +0 -1
- package/lib/field/check-box/check-box.component.ts +19 -149
- package/lib/field/currency/currency.component.ts +36 -168
- package/lib/field/date/date.component.html +1 -1
- package/lib/field/date/date.component.ts +30 -150
- package/lib/field/date-time/date-time.component.ts +31 -149
- package/lib/field/decimal/decimal.component.ts +38 -163
- package/lib/field/dropdown/dropdown.component.ts +29 -151
- package/lib/field/email/email.component.ts +16 -155
- package/lib/field/field.base.ts +149 -0
- package/lib/field/group/group.component.ts +7 -4
- package/lib/field/integer/integer.component.ts +18 -157
- package/lib/field/location/location.component.ts +1 -1
- package/lib/field/multiselect/multiselect.component.ts +46 -148
- 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.ts +37 -154
- package/lib/field/phone/phone.component.ts +28 -142
- package/lib/field/radio-buttons/radio-buttons.component.scss +4 -2
- package/lib/field/radio-buttons/radio-buttons.component.ts +35 -161
- package/lib/field/rich-text/rich-text.component.ts +19 -90
- package/lib/field/scalar-list/scalar-list.component.ts +17 -72
- package/lib/field/selectable-card/selectable-card.component.html +54 -24
- package/lib/field/selectable-card/selectable-card.component.scss +11 -0
- package/lib/field/selectable-card/selectable-card.component.ts +16 -52
- 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 -5
- package/lib/field/text/text.component.scss +0 -1
- package/lib/field/text-area/text-area.component.ts +18 -152
- package/lib/field/text-input/text-input.component.ts +16 -155
- package/lib/field/time/time.component.ts +17 -151
- package/lib/field/url/url.component.ts +16 -154
- package/lib/field/user-reference/user-reference.component.scss +0 -1
- package/lib/field/user-reference/user-reference.component.ts +2 -3
- package/lib/infra/Containers/flow-container/flow-container.component.ts +5 -7
- package/lib/infra/Containers/modal-view-container/modal-view-container.component.ts +5 -10
- package/lib/infra/Containers/view-container/helper.ts +35 -2
- package/lib/infra/Containers/view-container/view-container.component.ts +1 -1
- 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 -2
- package/lib/infra/assignment/assignment.component.ts +8 -6
- package/lib/infra/assignment-card/assignment-card.component.html +1 -2
- package/lib/infra/assignment-card/assignment-card.component.scss +0 -4
- package/lib/infra/assignment-card/assignment-card.component.ts +21 -4
- package/lib/infra/defer-load/defer-load.component.html +6 -2
- package/lib/infra/defer-load/defer-load.component.ts +16 -10
- package/lib/infra/multi-step/multi-step.component.scss +1 -21
- 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 +8 -3
- package/lib/infra/root-container/root-container.component.scss +0 -1
- package/lib/infra/root-container/root-container.component.ts +1 -2
- package/lib/infra/stages/stages.component.html +2 -2
- package/lib/infra/stages/stages.component.scss +7 -35
- package/lib/infra/stages/stages.component.ts +4 -2
- package/lib/infra/view/view.component.html +1 -1
- package/lib/infra/view/view.component.ts +0 -2
- 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 +46 -7
- package/lib/template/case-summary/case-summary.component.scss +0 -2
- package/lib/template/case-view/case-view.component.html +3 -3
- package/lib/template/case-view/case-view.component.scss +18 -10
- package/lib/template/case-view/case-view.component.ts +1 -1
- 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 +346 -112
- 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.ts +10 -2
- 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/field-group-list/field-group-list.component.scss +0 -1
- package/lib/template/inline-dashboard-page/inline-dashboard-page.component.ts +1 -1
- package/lib/template/list-view/list-view.component.html +9 -4
- package/lib/template/list-view/list-view.component.scss +21 -21
- package/lib/template/list-view/list-view.component.ts +154 -84
- package/lib/template/list-view/utils.ts +25 -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-tab/one-column-tab.component.scss +1 -1
- package/lib/template/repeating-structures/repeating-structures.component.ts +0 -1
- 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 -1
- package/lib/template/simple-table-manual/helpers.ts +2 -2
- package/lib/template/simple-table-manual/simple-table-manual.component.html +4 -4
- package/lib/template/simple-table-manual/simple-table-manual.component.scss +4 -14
- package/lib/template/simple-table-manual/simple-table-manual.component.ts +8 -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 -3
- package/lib/template/utils.ts +42 -0
- 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 +1 -8
- 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/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 +255 -254
- package/lib/widget/feed-container/feed-container.component.scss +3 -9
- package/lib/widget/feed-container/feed-container.component.ts +2 -2
- 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/list-utility/list-utility.component.scss +3 -5
- package/lib/widget/todo/todo.component.html +8 -5
- package/lib/widget/todo/todo.component.scss +10 -11
- package/lib/widget/todo/todo.component.ts +6 -2
- package/package.json +1 -1
|
@@ -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
|
|
|
@@ -29,7 +29,7 @@ export class FeedContainerComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
currentUserName$: string;
|
|
30
30
|
|
|
31
31
|
pulseMessages$: any[];
|
|
32
|
-
showReplyComment$:
|
|
32
|
+
showReplyComment$: object = {};
|
|
33
33
|
|
|
34
34
|
svgComment$: string;
|
|
35
35
|
svgLike$: string;
|
|
@@ -39,7 +39,7 @@ export class FeedContainerComponent implements OnInit, OnDestroy {
|
|
|
39
39
|
pulseConversation: string;
|
|
40
40
|
userData: Map<any, any> = new Map();
|
|
41
41
|
|
|
42
|
-
pulseComment:
|
|
42
|
+
pulseComment: object = {};
|
|
43
43
|
|
|
44
44
|
// functions
|
|
45
45
|
actionsAPI: any;
|
|
@@ -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 {
|
|
@@ -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 {
|
|
@@ -14,20 +14,23 @@
|
|
|
14
14
|
<div class="psdk-todo-assignment-title">{{ getAssignmentName(assignment) }}</div>
|
|
15
15
|
<div class="psdk-todo-assignment-data">
|
|
16
16
|
<div class="psdk-todo-assignment-task">
|
|
17
|
-
{{ localizedVal('
|
|
17
|
+
{{ localizedVal('In', localeCategory) }}
|
|
18
18
|
<button class="psdk-todo-id" style="cursor: pointer" (click)="clickGo(assignment)" *ngIf="!isConfirm || canPerform; else readOnlyText">
|
|
19
|
-
{{ assignment
|
|
19
|
+
{{ localizedVal(assignment?.name, '', localeUtils.getCaseLocaleReference(assignment.classname)) }} {{ getID(assignment) }}
|
|
20
20
|
</button>
|
|
21
|
-
<ng-template #readOnlyText> {{ assignment
|
|
21
|
+
<ng-template #readOnlyText> {{ localizedVal(assignment?.name, localeCategory) }} {{ getID(assignment) }} </ng-template>
|
|
22
22
|
<span *ngIf="assignment.status != undefined">
|
|
23
|
-
•
|
|
23
|
+
•
|
|
24
|
+
<span class="psdk-todo-assignment-status">{{
|
|
25
|
+
localizedVal(assignment.status, '', localeUtils.getCaseLocaleReference(assignment.classname))
|
|
26
|
+
}}</span>
|
|
24
27
|
</span>
|
|
25
28
|
• {{ localizedVal('Urgency', localeCategory) }} {{ getPriority(assignment) }}
|
|
26
29
|
</div>
|
|
27
30
|
</div>
|
|
28
31
|
</div>
|
|
29
32
|
<div *ngIf="!isConfirm || canPerform" class="psdk-todo-assignment-action">
|
|
30
|
-
<button mat-flat-button color="primary" (click)="clickGo(assignment)">{{
|
|
33
|
+
<button mat-flat-button color="primary" (click)="clickGo(assignment)">{{ goLocalizedValue === 'go' ? 'Go' : goLocalizedValue }}</button>
|
|
31
34
|
</div>
|
|
32
35
|
</div>
|
|
33
36
|
<div class="psdk-display-divider"></div>
|
|
@@ -5,16 +5,14 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.psdk-display-divider {
|
|
8
|
-
border-bottom: 0.0625rem solid var(--
|
|
8
|
+
border-bottom: 0.0625rem solid var(--mat-sys-outline-variant);
|
|
9
9
|
margin-block: 0.5rem;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.psdk-todo {
|
|
13
13
|
padding: 1rem;
|
|
14
|
-
background-color: var(--
|
|
14
|
+
background-color: var(--mat-sys-surface-container);
|
|
15
15
|
border-radius: 0.6125rem;
|
|
16
|
-
border-left: 6px solid;
|
|
17
|
-
border-left-color: var(--app-primary-color);
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
.psdk-todo-header {
|
|
@@ -29,14 +27,15 @@
|
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
.psdk-assignment-count {
|
|
32
|
-
background-color: var(--
|
|
30
|
+
background-color: var(--mat-sys-inverse-primary);
|
|
31
|
+
color: var(--mat-sys-on-primary);
|
|
33
32
|
margin: 0.5rem;
|
|
34
33
|
border-radius: 45%;
|
|
35
34
|
padding: 0.15rem 0.4rem;
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
.psdk-todo-id {
|
|
39
|
-
color: var(--
|
|
38
|
+
color: var(--mat-sys-primary);
|
|
40
39
|
padding: 0;
|
|
41
40
|
cursor: pointer;
|
|
42
41
|
border: 0;
|
|
@@ -56,8 +55,8 @@
|
|
|
56
55
|
align-items: center;
|
|
57
56
|
text-align: center;
|
|
58
57
|
display: flex;
|
|
59
|
-
background: var(--
|
|
60
|
-
color: var(--
|
|
58
|
+
background: var(--mat-sys-primary);
|
|
59
|
+
color: var(--mat-sys-on-primary);
|
|
61
60
|
font-weight: bold;
|
|
62
61
|
font-size: 1.25rem;
|
|
63
62
|
}
|
|
@@ -74,9 +73,9 @@
|
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
.psdk-todo-assignment-status {
|
|
77
|
-
background-color: var(--
|
|
76
|
+
background-color: var(--mat-sys-surface-container-highest);
|
|
78
77
|
border-radius: 0.125rem;
|
|
79
|
-
color: var(--
|
|
78
|
+
color: var(--mat-sys-on-surface);
|
|
80
79
|
font-size: 0.75rem;
|
|
81
80
|
font-weight: bold;
|
|
82
81
|
line-height: calc(0.5rem * 2.5);
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
}
|
|
87
86
|
|
|
88
87
|
.psdk-todo-assignment-task {
|
|
89
|
-
color: var(--
|
|
88
|
+
color: var(--mat-sys-on-surface);
|
|
90
89
|
}
|
|
91
90
|
|
|
92
91
|
.psdk-todo-assignment-action {
|
|
@@ -87,9 +87,11 @@ export class TodoComponent implements OnInit, OnDestroy {
|
|
|
87
87
|
CONSTS: typeof publicConstants;
|
|
88
88
|
bLogging = true;
|
|
89
89
|
localizedVal = PCore.getLocaleUtils().getLocaleValue;
|
|
90
|
+
localeUtils = PCore.getLocaleUtils();
|
|
90
91
|
localeCategory = 'Todo';
|
|
91
92
|
showlessLocalizedValue = this.localizedVal('show_less', 'CosmosFields');
|
|
92
93
|
showMoreLocalizedValue = this.localizedVal('show_more', 'CosmosFields');
|
|
94
|
+
goLocalizedValue = this.localizedVal('go', 'CosmosFields');
|
|
93
95
|
count: number;
|
|
94
96
|
|
|
95
97
|
constructor(
|
|
@@ -152,7 +154,7 @@ export class TodoComponent implements OnInit, OnDestroy {
|
|
|
152
154
|
}
|
|
153
155
|
} else {
|
|
154
156
|
// get caseInfoId assignment.
|
|
155
|
-
|
|
157
|
+
|
|
156
158
|
if (this.caseInfoID$ != undefined) {
|
|
157
159
|
this.arAssignments$ = this.getCaseInfoAssignment(this.assignmentsSource$, this.caseInfoID$);
|
|
158
160
|
}
|
|
@@ -190,7 +192,9 @@ export class TodoComponent implements OnInit, OnDestroy {
|
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
getAssignmentName(assignment) {
|
|
193
|
-
return this.type$ === this.CONSTS.TODO
|
|
195
|
+
return this.type$ === this.CONSTS.TODO
|
|
196
|
+
? this.localizedVal(assignment.name, '', PCore.getLocaleUtils().getCaseLocaleReference(assignment.classname))
|
|
197
|
+
: this.localizedVal(assignment.stepName, '', PCore.getLocaleUtils().getCaseLocaleReference(assignment.classname));
|
|
194
198
|
}
|
|
195
199
|
|
|
196
200
|
getCaseInfoAssignment(assignmentsSource: any[], caseInfoID: string) {
|