@pega/angular-sdk-overrides 24.2.10 → 25.1.10

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.
Files changed (257) hide show
  1. package/lib/designSystemExtension/alert/alert.component.scss +3 -3
  2. package/lib/designSystemExtension/alert/alert.component.ts +0 -1
  3. package/lib/designSystemExtension/alert-banner/alert-banner.component.ts +0 -1
  4. package/lib/designSystemExtension/banner/banner.component.html +1 -1
  5. package/lib/designSystemExtension/banner/banner.component.scss +17 -3
  6. package/lib/designSystemExtension/banner/banner.component.ts +0 -1
  7. package/lib/designSystemExtension/case-create-stage/case-create-stage.component.ts +0 -1
  8. package/lib/designSystemExtension/field-group/field-group.component.ts +0 -1
  9. package/lib/designSystemExtension/material-case-summary/material-case-summary.component.html +6 -3
  10. package/lib/designSystemExtension/material-case-summary/material-case-summary.component.scss +5 -34
  11. package/lib/designSystemExtension/material-case-summary/material-case-summary.component.ts +0 -2
  12. package/lib/designSystemExtension/material-details/material-details.component.scss +0 -5
  13. package/lib/designSystemExtension/material-details/material-details.component.ts +0 -1
  14. package/lib/designSystemExtension/material-details-fields/material-details-fields.component.html +3 -3
  15. package/lib/designSystemExtension/material-details-fields/material-details-fields.component.scss +4 -3
  16. package/lib/designSystemExtension/material-details-fields/material-details-fields.component.ts +6 -1
  17. package/lib/designSystemExtension/material-summary-item/material-summary-item.component.scss +4 -17
  18. package/lib/designSystemExtension/material-summary-item/material-summary-item.component.ts +0 -1
  19. package/lib/designSystemExtension/material-summary-list/material-summary-list.component.ts +0 -1
  20. package/lib/designSystemExtension/material-utility/material-utility.component.scss +1 -2
  21. package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.scss +1 -1
  22. package/lib/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.ts +0 -1
  23. package/lib/designSystemExtension/operator/operator.component.html +2 -2
  24. package/lib/designSystemExtension/operator/operator.component.scss +13 -12
  25. package/lib/designSystemExtension/operator/operator.component.ts +4 -5
  26. package/lib/designSystemExtension/pulse/pulse.component.scss +2 -2
  27. package/lib/designSystemExtension/pulse/pulse.component.ts +0 -1
  28. package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.html +4 -17
  29. package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.scss +0 -1
  30. package/lib/designSystemExtension/rich-text-editor/rich-text-editor.component.ts +30 -1
  31. package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.scss +16 -9
  32. package/lib/designSystemExtension/wss-quick-create/wss-quick-create.component.ts +0 -1
  33. package/lib/field/auto-complete/auto-complete.component.html +0 -2
  34. package/lib/field/auto-complete/auto-complete.component.ts +48 -173
  35. package/lib/field/cancel-alert/cancel-alert.component.html +8 -12
  36. package/lib/field/cancel-alert/cancel-alert.component.scss +2 -3
  37. package/lib/field/cancel-alert/cancel-alert.component.ts +24 -37
  38. package/lib/field/check-box/check-box.component.html +17 -6
  39. package/lib/field/check-box/check-box.component.scss +0 -1
  40. package/lib/field/check-box/check-box.component.ts +25 -151
  41. package/lib/field/currency/currency.component.ts +54 -181
  42. package/lib/field/date/date.component.html +4 -3
  43. package/lib/field/date/date.component.ts +30 -151
  44. package/lib/field/date-time/date-time.component.html +2 -2
  45. package/lib/field/date-time/date-time.component.ts +47 -148
  46. package/lib/field/decimal/decimal.component.html +1 -0
  47. package/lib/field/decimal/decimal.component.ts +61 -164
  48. package/lib/field/dropdown/dropdown.component.html +1 -0
  49. package/lib/field/dropdown/dropdown.component.ts +43 -152
  50. package/lib/field/email/email.component.ts +28 -158
  51. package/lib/field/field.base.ts +149 -0
  52. package/lib/field/group/group.component.ts +7 -5
  53. package/lib/field/integer/integer.component.html +1 -1
  54. package/lib/field/integer/integer.component.ts +30 -160
  55. package/lib/field/list-view-action-buttons/list-view-action-buttons.component.html +1 -1
  56. package/lib/field/list-view-action-buttons/list-view-action-buttons.component.ts +3 -3
  57. package/lib/field/location/config-ext.json +8 -0
  58. package/lib/field/location/location.component.html +45 -0
  59. package/lib/field/location/location.component.scss +18 -0
  60. package/lib/field/location/location.component.spec.ts +22 -0
  61. package/lib/field/location/location.component.ts +280 -0
  62. package/lib/field/multiselect/multiselect.component.ts +47 -152
  63. package/lib/field/multiselect/utils.ts +55 -47
  64. package/lib/field/object-reference/object-reference.component.html +17 -0
  65. package/lib/field/object-reference/object-reference.component.scss +0 -0
  66. package/lib/field/object-reference/object-reference.component.spec.ts +22 -0
  67. package/lib/field/object-reference/object-reference.component.ts +237 -0
  68. package/lib/field/percentage/percentage.component.html +1 -1
  69. package/lib/field/percentage/percentage.component.ts +62 -170
  70. package/lib/field/phone/config-ext.json +1 -1
  71. package/lib/field/phone/phone.component.html +18 -17
  72. package/lib/field/phone/phone.component.scss +4 -0
  73. package/lib/field/phone/phone.component.ts +47 -156
  74. package/lib/field/radio-buttons/radio-buttons.component.html +17 -12
  75. package/lib/field/radio-buttons/radio-buttons.component.scss +4 -2
  76. package/lib/field/radio-buttons/radio-buttons.component.ts +37 -160
  77. package/lib/field/rich-text/rich-text.component.html +2 -0
  78. package/lib/field/rich-text/rich-text.component.scss +172 -0
  79. package/lib/field/rich-text/rich-text.component.ts +32 -93
  80. package/lib/field/scalar-list/scalar-list.component.ts +17 -73
  81. package/lib/field/selectable-card/selectable-card.component.html +70 -0
  82. package/lib/field/selectable-card/selectable-card.component.scss +11 -0
  83. package/lib/field/selectable-card/selectable-card.component.spec.ts +22 -0
  84. package/lib/field/selectable-card/selectable-card.component.ts +219 -0
  85. package/lib/field/semantic-link/semantic-link.component.html +4 -8
  86. package/lib/field/semantic-link/semantic-link.component.scss +0 -13
  87. package/lib/field/semantic-link/semantic-link.component.ts +165 -6
  88. package/lib/field/text/text.component.scss +0 -1
  89. package/lib/field/text/text.component.ts +6 -5
  90. package/lib/field/text-area/text-area.component.html +4 -2
  91. package/lib/field/text-area/text-area.component.ts +30 -155
  92. package/lib/field/text-content/text-content.component.ts +0 -1
  93. package/lib/field/text-input/text-input.component.html +1 -1
  94. package/lib/field/text-input/text-input.component.ts +28 -158
  95. package/lib/field/time/time.component.html +2 -2
  96. package/lib/field/time/time.component.ts +34 -154
  97. package/lib/field/url/url.component.html +1 -1
  98. package/lib/field/url/url.component.ts +28 -157
  99. package/lib/field/user-reference/user-reference.component.html +40 -38
  100. package/lib/field/user-reference/user-reference.component.scss +0 -1
  101. package/lib/field/user-reference/user-reference.component.ts +70 -9
  102. package/lib/infra/Containers/flow-container/flow-container.component.html +2 -2
  103. package/lib/infra/Containers/flow-container/flow-container.component.ts +24 -51
  104. package/lib/infra/Containers/flow-container/helpers.ts +2 -2
  105. package/lib/infra/Containers/hybrid-view-container/hybrid-view-container.component.ts +0 -1
  106. package/lib/infra/Containers/modal-view-container/modal-view-container.component.html +1 -11
  107. package/lib/infra/Containers/modal-view-container/modal-view-container.component.ts +5 -18
  108. package/lib/infra/Containers/view-container/helper.ts +35 -2
  109. package/lib/infra/Containers/view-container/view-container.component.ts +1 -2
  110. package/lib/infra/action-buttons/action-buttons.component.html +13 -8
  111. package/lib/infra/action-buttons/action-buttons.component.scss +23 -0
  112. package/lib/infra/action-buttons/action-buttons.component.ts +1 -3
  113. package/lib/infra/assignment/assignment.component.html +1 -1
  114. package/lib/infra/assignment/assignment.component.ts +100 -46
  115. package/lib/infra/assignment-card/assignment-card.component.html +2 -2
  116. package/lib/infra/assignment-card/assignment-card.component.scss +0 -4
  117. package/lib/infra/assignment-card/assignment-card.component.ts +21 -5
  118. package/lib/infra/dashboard-filter/dashboard-filter.component.ts +0 -1
  119. package/lib/infra/defer-load/defer-load.component.html +6 -2
  120. package/lib/infra/defer-load/defer-load.component.ts +25 -12
  121. package/lib/infra/error-boundary/error-boundary.component.ts +0 -1
  122. package/lib/infra/multi-step/multi-step.component.html +22 -38
  123. package/lib/infra/multi-step/multi-step.component.scss +14 -27
  124. package/lib/infra/multi-step/multi-step.component.ts +0 -1
  125. package/lib/infra/navbar/navbar.component.html +36 -41
  126. package/lib/infra/navbar/navbar.component.scss +22 -4
  127. package/lib/infra/navbar/navbar.component.ts +8 -6
  128. package/lib/infra/reference/reference.component.ts +82 -90
  129. package/lib/infra/region/region.component.ts +0 -1
  130. package/lib/infra/root-container/root-container.component.html +2 -15
  131. package/lib/infra/root-container/root-container.component.scss +0 -1
  132. package/lib/infra/root-container/root-container.component.ts +25 -32
  133. package/lib/infra/stages/stages.component.html +4 -3
  134. package/lib/infra/stages/stages.component.scss +12 -36
  135. package/lib/infra/stages/stages.component.ts +4 -3
  136. package/lib/infra/view/view.component.html +1 -1
  137. package/lib/infra/view/view.component.ts +3 -7
  138. package/lib/template/advanced-search/advanced-search.component.html +12 -0
  139. package/lib/template/advanced-search/advanced-search.component.scss +0 -0
  140. package/lib/template/advanced-search/advanced-search.component.spec.ts +0 -0
  141. package/lib/template/advanced-search/advanced-search.component.ts +112 -0
  142. package/lib/template/advanced-search/advanced-search.service.ts +27 -0
  143. package/lib/template/advanced-search/search-group/persist-utils.ts +56 -0
  144. package/lib/template/advanced-search/search-groups/search-groups.component.html +32 -0
  145. package/lib/template/advanced-search/search-groups/search-groups.component.scss +0 -0
  146. package/lib/template/advanced-search/search-groups/search-groups.component.spec.ts +0 -0
  147. package/lib/template/advanced-search/search-groups/search-groups.component.ts +294 -0
  148. package/lib/template/advanced-search/search-groups/utils.ts +29 -0
  149. package/lib/template/app-shell/app-shell.component.html +4 -1
  150. package/lib/template/app-shell/app-shell.component.scss +0 -3
  151. package/lib/template/app-shell/app-shell.component.ts +46 -8
  152. package/lib/template/banner-page/banner-page.component.ts +0 -1
  153. package/lib/template/base/form-template-base.ts +6 -0
  154. package/lib/template/case-summary/case-summary.component.scss +0 -2
  155. package/lib/template/case-summary/case-summary.component.ts +6 -22
  156. package/lib/template/case-view/case-view.component.html +4 -4
  157. package/lib/template/case-view/case-view.component.scss +18 -10
  158. package/lib/template/case-view/case-view.component.ts +1 -11
  159. package/lib/template/confirmation/confirmation.component.html +2 -2
  160. package/lib/template/confirmation/confirmation.component.ts +0 -1
  161. package/lib/template/data-reference/data-reference.component.html +11 -8
  162. package/lib/template/data-reference/data-reference.component.ts +346 -113
  163. package/lib/template/data-reference/search-form/search-form.component.html +39 -0
  164. package/lib/template/data-reference/search-form/search-form.component.scss +11 -0
  165. package/lib/template/data-reference/search-form/search-form.component.spec.ts +0 -0
  166. package/lib/template/data-reference/search-form/search-form.component.ts +167 -0
  167. package/lib/template/data-reference/search-form/tabsData.ts +160 -0
  168. package/lib/template/data-reference/utils.ts +92 -0
  169. package/lib/template/default-form/default-form.component.ts +45 -5
  170. package/lib/template/default-page/default-page.component.html +34 -0
  171. package/lib/template/default-page/default-page.component.scss +31 -0
  172. package/lib/template/default-page/default-page.component.spec.ts +24 -0
  173. package/lib/template/default-page/default-page.component.ts +64 -0
  174. package/lib/template/details/details.component.ts +0 -1
  175. package/lib/template/details-narrow-wide/details-narrow-wide.component.ts +0 -1
  176. package/lib/template/details-one-column/details-one-column.component.ts +0 -1
  177. package/lib/template/details-sub-tabs/details-sub-tabs.component.ts +0 -1
  178. package/lib/template/details-three-column/details-three-column.component.ts +0 -1
  179. package/lib/template/details-two-column/details-two-column.component.ts +0 -1
  180. package/lib/template/details-wide-narrow/details-wide-narrow.component.ts +0 -1
  181. package/lib/template/dynamic-tabs/dynamic-tabs.component.ts +0 -1
  182. package/lib/template/field-group-list/field-group-list.component.scss +0 -1
  183. package/lib/template/field-group-list/field-group-list.component.ts +0 -1
  184. package/lib/template/field-group-template/field-group-template.component.html +7 -7
  185. package/lib/template/field-group-template/field-group-template.component.scss +8 -0
  186. package/lib/template/field-group-template/field-group-template.component.ts +64 -55
  187. package/lib/template/field-value-list/field-value-list.component.html +2 -2
  188. package/lib/template/field-value-list/field-value-list.component.scss +4 -0
  189. package/lib/template/field-value-list/field-value-list.component.ts +0 -1
  190. package/lib/template/inline-dashboard/inline-dashboard.component.ts +0 -1
  191. package/lib/template/inline-dashboard-page/inline-dashboard-page.component.ts +1 -2
  192. package/lib/template/list-page/list-page.component.ts +0 -1
  193. package/lib/template/list-view/list-view.component.html +170 -160
  194. package/lib/template/list-view/list-view.component.scss +25 -21
  195. package/lib/template/list-view/list-view.component.ts +208 -122
  196. package/lib/template/list-view/listViewHelpers.ts +3 -9
  197. package/lib/template/list-view/utils.ts +27 -7
  198. package/lib/template/multi-reference-readonly/multi-reference-readonly.component.ts +0 -1
  199. package/lib/template/narrow-wide-form/narrow-wide-form.component.ts +0 -1
  200. package/lib/template/object-page/object-page.component.html +1 -0
  201. package/lib/template/object-page/object-page.component.scss +0 -0
  202. package/lib/template/object-page/object-page.component.spec.ts +22 -0
  203. package/lib/template/object-page/object-page.component.ts +14 -0
  204. package/lib/template/one-column/one-column.component.ts +0 -1
  205. package/lib/template/one-column-page/one-column-page.component.ts +0 -1
  206. package/lib/template/one-column-tab/one-column-tab.component.scss +1 -1
  207. package/lib/template/one-column-tab/one-column-tab.component.ts +0 -1
  208. package/lib/template/page/page.component.ts +0 -1
  209. package/lib/template/promoted-filters/promoted-filters.component.ts +0 -1
  210. package/lib/template/repeating-structures/repeating-structures.component.ts +0 -2
  211. package/lib/template/self-service-case-view/self-service-case-view.component.html +78 -0
  212. package/lib/template/self-service-case-view/self-service-case-view.component.scss +132 -0
  213. package/lib/template/self-service-case-view/self-service-case-view.component.spec.ts +24 -0
  214. package/lib/template/self-service-case-view/self-service-case-view.component.ts +207 -0
  215. package/lib/template/simple-table/simple-table.component.ts +0 -2
  216. package/lib/template/simple-table-manual/helpers.ts +126 -10
  217. package/lib/template/simple-table-manual/simple-table-manual.component.html +27 -8
  218. package/lib/template/simple-table-manual/simple-table-manual.component.scss +15 -17
  219. package/lib/template/simple-table-manual/simple-table-manual.component.ts +103 -45
  220. package/lib/template/simple-table-select/simple-table-select.component.ts +0 -1
  221. package/lib/template/single-reference-readonly/single-reference-readonly.component.html +4 -1
  222. package/lib/template/single-reference-readonly/single-reference-readonly.component.scss +21 -0
  223. package/lib/template/single-reference-readonly/single-reference-readonly.component.ts +104 -4
  224. package/lib/template/sub-tabs/sub-tabs.component.ts +0 -1
  225. package/lib/template/three-column/three-column.component.ts +0 -1
  226. package/lib/template/three-column-page/three-column-page.component.ts +0 -1
  227. package/lib/template/two-column/two-column.component.ts +0 -1
  228. package/lib/template/two-column-page/two-column-page.component.ts +0 -1
  229. package/lib/template/two-column-tab/two-column-tab.component.ts +0 -1
  230. package/lib/template/utils.ts +58 -0
  231. package/lib/template/wide-narrow-form/wide-narrow-form.component.ts +0 -1
  232. package/lib/template/wide-narrow-page/wide-narrow-page.component.ts +0 -1
  233. package/lib/template/wss-nav-bar/wss-nav-bar.component.html +6 -5
  234. package/lib/template/wss-nav-bar/wss-nav-bar.component.scss +8 -17
  235. package/lib/template/wss-nav-bar/wss-nav-bar.component.ts +1 -9
  236. package/lib/widget/app-announcement/app-announcement.component.html +1 -2
  237. package/lib/widget/app-announcement/app-announcement.component.scss +2 -2
  238. package/lib/widget/app-announcement/app-announcement.component.ts +0 -1
  239. package/lib/widget/attachment/Attachment.types.ts +92 -0
  240. package/lib/widget/attachment/AttachmentUtils.ts +287 -0
  241. package/lib/widget/attachment/attachment.component.html +3 -3
  242. package/lib/widget/attachment/attachment.component.scss +9 -12
  243. package/lib/widget/attachment/attachment.component.ts +267 -254
  244. package/lib/widget/case-history/case-history.component.ts +0 -1
  245. package/lib/widget/feed-container/feed-container.component.scss +3 -9
  246. package/lib/widget/feed-container/feed-container.component.ts +2 -5
  247. package/lib/widget/file-utility/file-utility.component.html +3 -3
  248. package/lib/widget/file-utility/file-utility.component.scss +6 -17
  249. package/lib/widget/file-utility/file-utility.component.ts +24 -9
  250. package/lib/widget/list-utility/list-utility.component.scss +4 -5
  251. package/lib/widget/list-utility/list-utility.component.ts +0 -1
  252. package/lib/widget/quick-create/quick-create.component.ts +41 -23
  253. package/lib/widget/todo/todo.component.html +12 -10
  254. package/lib/widget/todo/todo.component.scss +20 -10
  255. package/lib/widget/todo/todo.component.ts +11 -7
  256. package/lib/widget/utility/utility.component.ts +0 -1
  257. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  .psdk-case-view-divider {
2
- border-bottom: 0.0625rem solid var(--app-neutral-light-color);
2
+ border-bottom: 0.0625rem solid var(--mat-sys-outline-variant);
3
3
  }
4
4
 
5
5
  .psdk-icon {
@@ -7,14 +7,6 @@
7
7
  min-width: unset;
8
8
  }
9
9
 
10
- .psdk-icon-current {
11
- color: var(--app-primary-color);
12
- }
13
-
14
- .psdk-icon-not-current {
15
- color: var(--app-neutral-color);
16
- }
17
-
18
10
  .psdk-current-svg-icon {
19
11
  width: 1rem;
20
12
  filter: var(--app-primary-color-filter);
@@ -35,16 +27,15 @@ mat-horizontal-stepper {
35
27
  .psdk-sub-step-current {
36
28
  padding-left: 0.625rem;
37
29
  font-weight: bold;
38
- color: var(--app-label-selected-color);
30
+ color: var(--mat-sys-on-secondary-container);
39
31
  }
40
32
 
41
33
  .psdk-sub-step-not-current {
34
+ color: var(--mat-sys-on-surface-variant);
42
35
  padding-left: 0.625rem;
43
- color: var(--app-label-color);
44
36
  }
45
37
 
46
38
  .psdk-flow-container-top {
47
- background-color: var(--app-form-color);
48
39
  padding: 0rem 0.625rem;
49
40
  border-radius: 0.3125rem;
50
41
  }
@@ -81,8 +72,7 @@ mat-horizontal-stepper {
81
72
 
82
73
  .psdk-vertical-step-icon {
83
74
  margin-right: 12px;
84
- background-color: var(--app-neutral-color);
85
- color: var(--app-form-color);
75
+ background-color: var(--mat-sys-secondary);
86
76
  border-radius: 50%;
87
77
  height: 24px;
88
78
  width: 24px;
@@ -95,13 +85,12 @@ mat-horizontal-stepper {
95
85
  top: 50%;
96
86
  left: 50%;
97
87
  transform: translate(-50%, -50%);
98
- color: var(--app-form-color);
99
88
  }
100
89
 
101
90
  .psdk-vertical-step-icon-selected {
102
91
  margin-right: 12px;
103
- background-color: var(--app-primary-color);
104
- color: var(--app-form-color);
92
+ background-color: var(--mat-sys-primary);
93
+ color: var(--mat-sys-surface);
105
94
  border-radius: 50%;
106
95
  height: 24px;
107
96
  width: 24px;
@@ -110,7 +99,7 @@ mat-horizontal-stepper {
110
99
  }
111
100
 
112
101
  .psdk-vertical-step-label {
113
- color: var(--app-label-color);
102
+ color: var(--mat-sys-on-surface-variant);
114
103
  display: inline-block;
115
104
  white-space: nowrap;
116
105
  overflow: hidden;
@@ -122,7 +111,7 @@ mat-horizontal-stepper {
122
111
  }
123
112
 
124
113
  .psdk-vertical-step-label-selected {
125
- color: var(--app-label-selected-color);
114
+ color: var(--mat-sys-on-secondary-container);
126
115
  display: inline-block;
127
116
  white-space: nowrap;
128
117
  overflow: hidden;
@@ -152,7 +141,6 @@ mat-horizontal-stepper {
152
141
  border-left-style: solid;
153
142
  top: -16px;
154
143
  bottom: -16px;
155
- border-left-color: var(--app-multi-step-border-color);
156
144
  }
157
145
 
158
146
  .psdk-horizontal-stepper {
@@ -182,8 +170,8 @@ mat-horizontal-stepper {
182
170
  }
183
171
 
184
172
  .psdk-horizontal-step-icon {
185
- background-color: var(--app-neutral-color);
186
- color: var(--app-form-color);
173
+ background-color: var(--mat-sys-secondary);
174
+ color: var(--mat-sys-surface);
187
175
  border-radius: 50%;
188
176
  height: 24px;
189
177
  width: 24px;
@@ -203,8 +191,8 @@ mat-horizontal-stepper {
203
191
  }
204
192
 
205
193
  .psdk-horizontal-step-icon-selected {
206
- background-color: var(--app-primary-color);
207
- color: var(--app-form-color);
194
+ background-color: var(--mat-sys-primary);
195
+ color: var(--mat-sys-surface);
208
196
  border-radius: 50%;
209
197
  height: 24px;
210
198
  width: 24px;
@@ -216,7 +204,7 @@ mat-horizontal-stepper {
216
204
  }
217
205
 
218
206
  .psdk-horizontal-step-label {
219
- color: var(--app-label-color);
207
+ color: var(--mat-sys-on-surface-variant);
220
208
  display: inline-block;
221
209
  min-width: 50px;
222
210
  vertical-align: middle;
@@ -226,7 +214,7 @@ mat-horizontal-stepper {
226
214
  }
227
215
 
228
216
  .psdk-horizontal-step-label-selected {
229
- color: var(--app-label-selected-color);
217
+ color: var(--mat-sys-on-secondary-container);
230
218
  display: inline-block;
231
219
  min-width: 50px;
232
220
  vertical-align: middle;
@@ -236,7 +224,6 @@ mat-horizontal-stepper {
236
224
  }
237
225
 
238
226
  .psdk-horizontal-step-line {
239
- border-top-color: var(--app-multi-step-border-color);
240
227
  border-top-width: 1px;
241
228
  border-top-style: solid;
242
229
  flex: auto;
@@ -9,7 +9,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
9
9
  templateUrl: './multi-step.component.html',
10
10
  styleUrls: ['./multi-step.component.scss'],
11
11
  providers: [Utils],
12
- standalone: true,
13
12
  imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
14
13
  })
15
14
  export class MultiStepComponent implements OnInit {
@@ -8,48 +8,43 @@
8
8
  </div>
9
9
  </div>
10
10
  <div class="psdk-nav-divider"></div>
11
- <div>
12
- <mat-list>
13
- <mat-list-item id="create-case-button" (click)="navPanelCreateButtonClick()">
14
- <div class="flex-box">
15
- <img class="psdk-nav-svg-icon" src="{{ navExpandCollapse$ }}" />
16
- <span class="psdk-nav-button-span">Create</span>
17
- </div>
11
+ <mat-list>
12
+ <mat-list-item id="create-case-button" (click)="navPanelCreateButtonClick()">
13
+ <div class="flex-box">
14
+ <img class="psdk-nav-svg-icon" src="{{ navExpandCollapse$ }}" />
15
+ <span class="psdk-nav-button-span">Create</span>
16
+ </div>
17
+ </mat-list-item>
18
+ <mat-list *ngIf="bShowCaseTypes$" style="margin-left: 40px">
19
+ <mat-list-item
20
+ id="case-list-item"
21
+ *ngFor="let caseType of caseTypes$"
22
+ (click)="navPanelCreateCaseType(caseType.pyClassName, caseType.pyFlowType)"
23
+ >
24
+ <span class="psdk-nav-button-span">{{
25
+ localeUtils.getLocaleValue(caseType.pyLabel, '', localeUtils.getCaseLocaleReference(caseType.pyClassName))
26
+ }}</span>
18
27
  </mat-list-item>
19
- <mat-list *ngIf="bShowCaseTypes$" style="margin-left: 40px">
20
- <mat-list-item
21
- id="case-list-item"
22
- *ngFor="let caseType of caseTypes$"
23
- (click)="navPanelCreateCaseType(caseType.pyClassName, caseType.pyFlowType)"
24
- >
25
- <span class="psdk-nav-button-span">{{ localeUtils.getLocaleValue(caseType.pyLabel, '', localeReference) }}</span>
26
- </mat-list-item>
27
- </mat-list>
28
28
  </mat-list>
29
- </div>
30
- <div style="height: 100%">
31
- <mat-list *ngFor="let page of navPages$">
32
- <mat-list-item (click)="navPanelButtonClick(page)">
33
- <div class="flex-box">
34
- <img class="psdk-nav-svg-icon" src="{{ page.iconName }}" />
35
- <span class="psdk-nav-button-span">{{ localeUtils.getLocaleValue(page.pyLabel, '', localeReference) }}</span>
36
- </div>
37
- </mat-list-item>
38
- </mat-list>
39
- </div>
29
+ </mat-list>
30
+ <mat-list *ngFor="let page of navPages$">
31
+ <mat-list-item (click)="navPanelButtonClick(page)">
32
+ <div class="flex-box">
33
+ <img class="psdk-nav-svg-icon" src="{{ page.iconName }}" />
34
+ <span class="psdk-nav-button-span">{{ page.name }}</span>
35
+ </div>
36
+ </mat-list-item>
37
+ </mat-list>
40
38
  <div class="psdk-nav-divider"></div>
41
- <div>
42
- <mat-list id="profile">
43
- <mat-list-item [matMenuTriggerFor]="menu" class="psdk-profile-list-item">
44
- <div class="flex-box">
45
- <div class="psdk-nav-oper-avatar">{{ portalOperatorInitials$ }}</div>
46
- <span class="psdk-nav-button-span">{{ portalOperator$ }}</span>
47
- </div>
48
- </mat-list-item>
49
- <mat-menu #menu="matMenu">
50
- <button mat-menu-item>Profile</button>
51
- <button mat-menu-item (click)="navPanelLogoutClick()">{{ localizedVal('Log off', localeCategory) }}</button>
52
- </mat-menu>
53
- </mat-list>
54
- </div>
39
+ <mat-list id="profile" class="psdk-logout-button">
40
+ <mat-list-item [matMenuTriggerFor]="menu" class="psdk-profile-list-item">
41
+ <div class="flex-box">
42
+ <div class="psdk-nav-oper-avatar">{{ portalOperatorInitials$ }}</div>
43
+ <span class="psdk-nav-button-span">{{ portalOperator$ }}</span>
44
+ </div>
45
+ </mat-list-item>
46
+ <mat-menu #menu="matMenu">
47
+ <button mat-menu-item (click)="navPanelLogoutClick()">{{ localizedVal('Log off', localeCategory) }}</button>
48
+ </mat-menu>
49
+ </mat-list>
55
50
  </div>
@@ -5,7 +5,7 @@ $transition-fast: 0.1s !default;
5
5
  $natural-ease: cubic-bezier(0.4, 0.6, 0.1, 1) !default;
6
6
 
7
7
  .psdk-nav-divider {
8
- border-bottom: 0.0625rem solid var(--app-divider-color);
8
+ border-bottom: 0.0625rem solid var(--mat-sys-outline-variant);
9
9
  width: 100%;
10
10
  align-items: center;
11
11
  }
@@ -39,6 +39,7 @@ $natural-ease: cubic-bezier(0.4, 0.6, 0.1, 1) !default;
39
39
  .psdk-appshell-nav {
40
40
  z-index: 199;
41
41
  position: fixed;
42
+ top: 0;
42
43
  display: flex;
43
44
  flex-direction: column;
44
45
  justify-content: flex-start;
@@ -119,8 +120,8 @@ $natural-ease: cubic-bezier(0.4, 0.6, 0.1, 1) !default;
119
120
  align-items: center;
120
121
  text-align: center;
121
122
  display: inline-flex;
122
- background: var(--app-neutral-color);
123
- color: var(--app-form-color);
123
+ background: var(--mat-sys-background);
124
+ color: var(--mat-sys-on-background);
124
125
  font-weight: normal;
125
126
  font-size: 1rem;
126
127
  }
@@ -140,7 +141,7 @@ mat-list-item {
140
141
  height: auto !important;
141
142
 
142
143
  &:hover {
143
- background-color: var(--app-label-color);
144
+ background-color: rgba(0, 0, 0, 0.54);
144
145
  }
145
146
 
146
147
  .flex-box {
@@ -150,3 +151,20 @@ mat-list-item {
150
151
  text-align: left;
151
152
  }
152
153
  }
154
+
155
+ .theme-menu-item {
156
+ display: flex;
157
+ align-items: center;
158
+ gap: 12px;
159
+ }
160
+
161
+ .color-preview {
162
+ width: 24px;
163
+ height: 24px;
164
+ border-radius: 50%;
165
+ }
166
+
167
+ .psdk-logout-button {
168
+ flex: 1;
169
+ align-content: flex-end;
170
+ }
@@ -7,8 +7,6 @@ import { AngularPConnectData, AngularPConnectService } from '@pega/angular-sdk-c
7
7
  import { ProgressSpinnerService } from '@pega/angular-sdk-components';
8
8
  import { Utils } from '@pega/angular-sdk-components';
9
9
 
10
- declare const window: any;
11
-
12
10
  interface NavBarProps {
13
11
  // If any, enter additional props that only exist on this component
14
12
  showAppName?: boolean;
@@ -19,7 +17,6 @@ interface NavBarProps {
19
17
  templateUrl: './navbar.component.html',
20
18
  styleUrls: ['./navbar.component.scss'],
21
19
  providers: [Utils],
22
- standalone: true,
23
20
  imports: [CommonModule, MatListModule, MatMenuModule]
24
21
  })
25
22
  export class NavbarComponent implements OnInit, OnDestroy {
@@ -52,7 +49,6 @@ export class NavbarComponent implements OnInit, OnDestroy {
52
49
  localizedVal: any;
53
50
  localeCategory = 'AppShell';
54
51
  localeUtils = PCore.getLocaleUtils();
55
- localeReference: any;
56
52
  constructor(
57
53
  private angularPConnect: AngularPConnectService,
58
54
  private chRef: ChangeDetectorRef,
@@ -116,11 +112,17 @@ export class NavbarComponent implements OnInit, OnDestroy {
116
112
 
117
113
  // making a copy, so can add info
118
114
  this.navPages$ = JSON.parse(JSON.stringify(this.pages$));
119
-
115
+ // @ts-ignore
116
+ const localeReference = PCore.getLocaleUtils().getPortalLocaleReference() || this.pConn$.getValue('.pyLocaleReference');
120
117
  this.navPages$.forEach(page => {
118
+ const destinationObject: any = {};
119
+ this.pConn$.resolveConfigProps(
120
+ { defaultHeading: page.pyDefaultHeading || page.pyLabel, localeReference: page.pyLocalizationReference },
121
+ destinationObject
122
+ );
123
+ page.name = this.localeUtils.getLocaleValue(destinationObject.defaultHeading, '', destinationObject.localeReference || localeReference);
121
124
  page.iconName = this.utils.getImageSrc(page.pxPageViewIcon, this.utils.getSDKStaticContentUrl());
122
125
  });
123
- this.localeReference = this.pConn$.getValue('.pyLocaleReference');
124
126
  this.actionsAPI = this.pConn$.getActionsApi();
125
127
  this.createWork = this.actionsAPI.createWork.bind(this.actionsAPI);
126
128
  this.showPage = this.actionsAPI.showPage.bind(this.actionsAPI);
@@ -13,53 +13,42 @@ import { Component } from '@angular/core';
13
13
  standalone: true
14
14
  })
15
15
  export class ReferenceComponent {
16
- referencedComponent: any = null;
17
-
18
16
  /* Used to toggle some class-wide logging */
19
17
  private static bLogging = false;
20
18
 
21
- constructor() {
22
- // With new static method approach, this shouldn't be called any more
23
- window.alert(`in ReferenceComponent constructor!`);
24
-
25
- console.error(`in ReferenceComponent constructor!`);
26
- }
27
-
28
- // onStateChange and updateSelf methods removed from original implementation
29
- // when we moved to the static method implementation.
30
-
31
- // STATIC method to create a normalized PConn (a fully realized View that the 'reference'
32
- // component refers to) from the given pConn. Has to add in some stuff as in the constructor
33
- static createFullReferencedViewFromRef(inPConn: any) {
34
- // BAIL and ERROR if inPConn is NOT a reference!
19
+ /**
20
+ * Creates a normalized PConn from a reference component.
21
+ * Resolves the reference to its fully realized View with proper configuration.
22
+ *
23
+ * @param inPConn - The PConn object that represents a reference component
24
+ * @returns The dereferenced PConnect object, or null if reference can't be resolved
25
+ */
26
+ static createFullReferencedViewFromRef(inPConn: any): any {
27
+ // Validate that inPConn is a reference component
35
28
  if (inPConn.getComponentName() !== 'reference') {
36
- // debugger;
37
-
38
29
  console.error(`Reference component: createFullReferencedViewFromRef inPConn is NOT a reference! ${inPConn.getComponentName()}`);
30
+ return null;
39
31
  }
40
32
 
41
- const theResolvedConfigProps = inPConn.resolveConfigProps(inPConn.getConfigProps());
33
+ // Get reference configuration and make a copy
34
+ const referenceConfig = { ...inPConn.getComponentConfig() };
42
35
 
43
- const referenceConfig = { ...inPConn.getComponentConfig() } || {};
44
-
45
- // Since SDK-A implements Reference as static methods and we don't rely on
46
- // the Reference component's handling of the visibility prop, we leave it in
47
- // (and also leaving the others in for now) so the referenced View can act on
48
- // the visibility prop. (The following 3 lines were carried over from React SDK)
36
+ // Remove properties that should not be inherited by the referenced view
37
+ // (Maintained from React SDK implementation)
49
38
  delete referenceConfig?.name;
50
- // delete referenceConfig?.type;
51
- // delete referenceConfig?.visibility;
39
+ delete referenceConfig?.type;
40
+ delete referenceConfig?.visibility;
52
41
 
42
+ // Get the metadata for the referenced view
53
43
  const viewMetadata = inPConn.getReferencedView();
54
44
 
45
+ // Return null if view metadata is not found
55
46
  if (!viewMetadata) {
56
47
  console.log('View not found ', inPConn.getComponentConfig());
57
48
  return null;
58
49
  }
59
50
 
60
- // If we get here, we have metadata for a View component...
61
- // const referencedComponentName = viewMetadata.type;
62
-
51
+ // Create the view object by merging metadata with reference config
63
52
  const viewObject = {
64
53
  ...viewMetadata,
65
54
  config: {
@@ -68,23 +57,36 @@ export class ReferenceComponent {
68
57
  }
69
58
  };
70
59
 
60
+ // Resolve configuration properties
61
+ const resolvedConfigProps = inPConn.resolveConfigProps(inPConn.getConfigProps());
62
+ const { visibility = true, context, readOnly = false, displayMode = '' } = resolvedConfigProps;
63
+
64
+ // Log debug information if logging is enabled
71
65
  if (ReferenceComponent.bLogging) {
72
- console.log(`Reference: about to call createComponent with pageReference: context: ${theResolvedConfigProps.context}`);
66
+ console.log(`Reference: about to call createComponent with pageReference: context: ${inPConn.getContextName()}`);
73
67
  }
74
68
 
69
+ // Create the component with the right context
75
70
  const viewComponent = inPConn.createComponent(viewObject, null, null, {
76
- pageReference: theResolvedConfigProps.context
71
+ pageReference: context && context.startsWith('@CLASS') ? '' : context
77
72
  });
78
73
 
79
- // updating the referencedComponent should trigger a render
74
+ if (referenceConfig.inheritedProps && referenceConfig.inheritedProps.length > 0) {
75
+ const inheritedProps = inPConn.getInheritedProps();
76
+ referenceConfig.inheritedProps = Object.keys(inheritedProps).map(prop => ({ prop, value: inheritedProps[prop] }));
77
+ }
78
+
79
+ // Get the PConnect object from the created component
80
80
  const newCompPConnect = viewComponent.getPConnect();
81
81
 
82
+ // Set inherited configuration on the new component
82
83
  newCompPConnect.setInheritedConfig({
83
84
  ...referenceConfig,
84
- readOnly: theResolvedConfigProps.readOnly ? theResolvedConfigProps.readOnly : false,
85
- displayMode: theResolvedConfigProps.displayMode ? theResolvedConfigProps.displayMode : null
85
+ readOnly,
86
+ displayMode
86
87
  });
87
88
 
89
+ // Log debug information if logging is enabled
88
90
  if (ReferenceComponent.bLogging) {
89
91
  console.log(
90
92
  `Angular Reference component: createFullReferencedViewFromRef -> newCompPConnect configProps: ${JSON.stringify(
@@ -93,73 +95,63 @@ export class ReferenceComponent {
93
95
  );
94
96
  }
95
97
 
96
- return newCompPConnect;
98
+ // Return the component if it should be visible, otherwise null
99
+ return visibility !== false ? newCompPConnect : null;
97
100
  }
98
101
 
99
- // STATIC method that other components can call to normalize
100
- // a pConn object that might be a 'reference'. If the incoming
101
- // pConn is a reference, return its dereferenced View PConnect's
102
- // getPConnect. Otherwise, return the passed in pConn unchanged
103
- // inPConn = a PConn object (ex: { getPConnect()} )
104
- static normalizePConn(inPConn: any) {
105
- // debugger;
106
-
107
- let returnObj = false;
108
- let thePConnType = '';
109
-
110
- if (inPConn.getPConnect) {
111
- // inPConn is an object (ex: { getPConnect()} ), so we want to return
112
- // any referenced view as the object containing the
113
- // the getPConnect function
114
- returnObj = true;
115
- thePConnType = inPConn.getPConnect().getComponentName();
116
- } else {
117
- // inPConn is an object with the PConnect function, so we want
118
- // to return any referenced view as the object containing the
119
- // the c11n function
120
- returnObj = false;
121
- thePConnType = inPConn.getComponentName();
102
+ /**
103
+ * Normalizes a PConn object that might be a 'reference'.
104
+ * If the incoming PConn is a reference, returns its dereferenced View.
105
+ * Otherwise, returns the passed in PConn unchanged.
106
+ *
107
+ * @param inPConn - A PConn object (ex: { getPConnect() } or direct PConnect)
108
+ * @returns The normalized PConn object with references resolved
109
+ */
110
+ static normalizePConn(inPConn: any): any {
111
+ // Early return for null or undefined input
112
+ if (!inPConn) {
113
+ return inPConn;
122
114
  }
123
115
 
124
- if (thePConnType === 'reference') {
125
- if (returnObj) {
126
- // WAS...
127
- // const theRefViewPConn = inPConn.getPConnect().getReferencedViewPConnect(true);
128
- // Now: ALWAYS calling createFullReferencedViewFromRef to have options, PageReference, etc.
129
- // set correctly in the C11nEnv (PConnect) object
130
- // debugger;
131
- let theRefViewPConn = this.createFullReferencedViewFromRef(inPConn.getPConnect());
132
- // now return its PConnect
133
- theRefViewPConn = theRefViewPConn.getComponent();
134
-
135
- // const theFullReference = theRefViewPConn.getPConnect().getFullReference();
136
- // console.log(`theFullReference: ${theFullReference}`);
137
-
138
- return theRefViewPConn;
116
+ // Determine if we have an object with getPConnect method or direct PConnect
117
+ const hasGetPConnectMethod = !!inPConn.getPConnect;
118
+
119
+ // Get the component name in the appropriate way based on the object type
120
+ const componentName = hasGetPConnectMethod ? inPConn.getPConnect().getComponentName() : inPConn.getComponentName();
121
+
122
+ // Only process if this is a reference component
123
+ if (componentName === 'reference') {
124
+ if (hasGetPConnectMethod) {
125
+ // For objects with getPConnect method, get the referenced view and its component
126
+ const refViewPConn = this.createFullReferencedViewFromRef(inPConn.getPConnect());
127
+ return refViewPConn?.getComponent();
139
128
  }
140
- // console.log(`created theFullRefView full reference: ${theFullRefView.getFullReference()}`);
141
- // debugger;
142
129
 
130
+ // For direct PConnect objects, just create the referenced view
143
131
  return this.createFullReferencedViewFromRef(inPConn);
144
132
  }
133
+
134
+ // Not a reference component, return unchanged
145
135
  return inPConn;
146
136
  }
147
137
 
148
- // STATIC method that other components can call to normalize
149
- // an array of pConn objects where any of the children might
150
- // be a 'reference'. The array returns an array of children
151
- // where any 'reference' is replaced with its ReferencedView
152
- // inPConnArray is an array of PConn objects or functions.
153
- // Its value is passed to normalizePConn
154
-
155
- static normalizePConnArray(inPConnArray: any) {
156
- if (!(inPConnArray?.length > 0)) {
157
- // null or empty array, return what was passed in
158
- return inPConnArray;
138
+ /**
139
+ * Normalizes an array of PConn objects by replacing any 'reference' components
140
+ * with their referenced views.
141
+ *
142
+ * @param inPConnArray - Array of PConn objects to normalize
143
+ * @returns Normalized array with references resolved, or empty array if input is invalid
144
+ */
145
+ static normalizePConnArray(inPConnArray: any[]): any[] {
146
+ // Handle null, undefined, or empty array case
147
+ if (!inPConnArray?.length) {
148
+ return inPConnArray || [];
159
149
  }
160
150
 
161
- return inPConnArray.map(child => {
162
- return ReferenceComponent.normalizePConn(child);
163
- });
151
+ // Process array: normalize each item and filter out any null/undefined results
152
+ const normalizedArray = inPConnArray.map(child => ReferenceComponent.normalizePConn(child)).filter(Boolean);
153
+
154
+ // Ensure we always return an array (even if filter removes all items)
155
+ return normalizedArray || [];
164
156
  }
165
157
  }
@@ -8,7 +8,6 @@ import { ComponentMapperComponent } from '@pega/angular-sdk-components';
8
8
  selector: 'app-region',
9
9
  templateUrl: './region.component.html',
10
10
  styleUrls: ['./region.component.scss'],
11
- standalone: true,
12
11
  imports: [CommonModule, forwardRef(() => ComponentMapperComponent)]
13
12
  })
14
13
  export class RegionComponent implements OnInit, OnChanges {
@@ -5,20 +5,11 @@
5
5
  <div *ngIf="bShowRoot$">
6
6
  <div [ngSwitch]="componentName$">
7
7
  <component-mapper *ngSwitchCase="'View'" name="View" [props]="{ pConn$, displayOnlyFA$ }"></component-mapper>
8
- <!-- <app-reference *ngSwitchCase="'reference'" [pConn$]="pConn$" [displayOnlyFA$]="displayOnlyFA$"></app-reference> -->
9
8
  <component-mapper
10
9
  *ngSwitchCase="'ViewContainer'"
11
10
  name="ViewContainer"
12
- [props]="{ pConn$: displayOnlyFA$ ? viewContainerPConn$ : pConn$, displayOnlyFA$ }"
11
+ [props]="{ pConn$: viewContainerPConn$, displayOnlyFA$ }"
13
12
  ></component-mapper>
14
- <app-hybrid-view-container *ngSwitchCase="'HybridViewContainer'" [pConn$]="pConn$" [displayOnlyFA$]="displayOnlyFA$"></app-hybrid-view-container>
15
- <app-modal-view-container
16
- *ngSwitchCase="'ModalViewContainer'"
17
- [pConn$]="pConn$"
18
- [displayOnlyFA$]="displayOnlyFA$"
19
- (modalVisibleChange)="modalVisibleChanged($event)"
20
- ></app-modal-view-container>
21
- <div *ngSwitchCase="''"></div>
22
13
  <div *ngSwitchDefault>{{ localizedVal('RootContainer Missing: ' + componentName$, localeCategory) }}.</div>
23
14
  </div>
24
15
  </div>
@@ -28,9 +19,5 @@
28
19
  </div>
29
20
 
30
21
  <div *ngIf="mConn$ != null">
31
- <app-modal-view-container
32
- [pConn$]="mConn$"
33
- [displayOnlyFA$]="displayOnlyFA$"
34
- (modalVisibleChange)="modalVisibleChanged($event)"
35
- ></app-modal-view-container>
22
+ <app-modal-view-container [pConn$]="mConn$"></app-modal-view-container>
36
23
  </div>
@@ -5,7 +5,6 @@
5
5
  align-items: center;
6
6
  height: 100%;
7
7
  width: 100%;
8
- background-color: var(--app-background-color);
9
8
  position: fixed;
10
9
  z-index: 99999;
11
10
  top: 0rem;