@pega/angular-sdk-components 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.
Files changed (312) hide show
  1. package/fesm2022/pega-angular-sdk-components.mjs +6103 -4676
  2. package/fesm2022/pega-angular-sdk-components.mjs.map +1 -1
  3. package/lib/_bridge/angular-pconnect.d.ts +1 -1
  4. package/lib/_bridge/component-mapper/component-mapper.component.d.ts +1 -1
  5. package/lib/_bridge/helpers/sdk-pega-component-map.d.ts +18 -0
  6. package/lib/_components/designSystemExtension/banner/banner.component.d.ts +0 -1
  7. package/lib/_components/designSystemExtension/case-create-stage/case-create-stage.component.d.ts +0 -1
  8. package/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.d.ts +1 -1
  9. package/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.d.ts +2 -1
  10. package/lib/_components/designSystemExtension/operator/operator.component.d.ts +2 -3
  11. package/lib/_components/designSystemExtension/pulse/pulse.component.d.ts +2 -3
  12. package/lib/_components/field/auto-complete/auto-complete.component.d.ts +15 -38
  13. package/lib/_components/field/cancel-alert/cancel-alert.component.d.ts +7 -6
  14. package/lib/_components/field/check-box/check-box.component.d.ts +10 -33
  15. package/lib/_components/field/currency/currency.component.d.ts +25 -38
  16. package/lib/_components/field/date/date.component.d.ts +9 -49
  17. package/lib/_components/field/date-time/date-time.component.d.ts +11 -34
  18. package/lib/_components/field/decimal/decimal.component.d.ts +20 -35
  19. package/lib/_components/field/dropdown/dropdown.component.d.ts +22 -35
  20. package/lib/_components/field/email/email.component.d.ts +7 -33
  21. package/lib/_components/field/field.base.d.ts +57 -0
  22. package/lib/_components/field/group/group.component.d.ts +5 -3
  23. package/lib/_components/field/integer/integer.component.d.ts +7 -32
  24. package/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.d.ts +1 -2
  25. package/lib/_components/field/location/location.component.d.ts +71 -0
  26. package/lib/_components/field/multiselect/multiselect.component.d.ts +8 -39
  27. package/lib/_components/field/object-reference/object-reference.component.d.ts +45 -0
  28. package/lib/_components/field/percentage/percentage.component.d.ts +22 -36
  29. package/lib/_components/field/phone/phone.component.d.ts +9 -37
  30. package/lib/_components/field/radio-buttons/radio-buttons.component.d.ts +13 -33
  31. package/lib/_components/field/rich-text/rich-text.component.d.ts +7 -29
  32. package/lib/_components/field/scalar-list/scalar-list.component.d.ts +6 -22
  33. package/lib/_components/field/selectable-card/selectable-card.component.d.ts +62 -0
  34. package/lib/_components/field/semantic-link/semantic-link.component.d.ts +21 -1
  35. package/lib/_components/field/text/text.component.d.ts +3 -2
  36. package/lib/_components/field/text-area/text-area.component.d.ts +6 -32
  37. package/lib/_components/field/text-content/text-content.component.d.ts +0 -1
  38. package/lib/_components/field/text-input/text-input.component.d.ts +6 -33
  39. package/lib/_components/field/time/time.component.d.ts +7 -33
  40. package/lib/_components/field/url/url.component.d.ts +6 -33
  41. package/lib/_components/field/user-reference/user-reference.component.d.ts +7 -1
  42. package/lib/_components/infra/Containers/flow-container/flow-container.component.d.ts +0 -2
  43. package/lib/_components/infra/Containers/flow-container/helpers.d.ts +1 -0
  44. package/lib/_components/infra/Containers/hybrid-view-container/hybrid-view-container.component.d.ts +0 -1
  45. package/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.d.ts +5 -10
  46. package/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.d.ts +0 -1
  47. package/lib/_components/infra/Containers/view-container/helper.d.ts +2 -0
  48. package/lib/_components/infra/Containers/view-container/view-container.component.d.ts +0 -1
  49. package/lib/_components/infra/action-buttons/action-buttons.component.d.ts +1 -1
  50. package/lib/_components/infra/assignment/assignment.component.d.ts +8 -6
  51. package/lib/_components/infra/assignment-card/assignment-card.component.d.ts +3 -3
  52. package/lib/_components/infra/dashboard-filter/dashboard-filter.component.d.ts +0 -1
  53. package/lib/_components/infra/defer-load/defer-load.component.d.ts +9 -9
  54. package/lib/_components/infra/error-boundary/error-boundary.component.d.ts +1 -1
  55. package/lib/_components/infra/multi-step/multi-step.component.d.ts +0 -1
  56. package/lib/_components/infra/navbar/navbar.component.d.ts +2 -4
  57. package/lib/_components/infra/reference/reference.component.d.ts +23 -3
  58. package/lib/_components/infra/region/region.component.d.ts +0 -1
  59. package/lib/_components/infra/root-container/root-container.component.d.ts +3 -2
  60. package/lib/_components/infra/stages/stages.component.d.ts +2 -2
  61. package/lib/_components/infra/view/view.component.d.ts +1 -1
  62. package/lib/_components/template/advanced-search/advanced-search.component.d.ts +21 -0
  63. package/lib/_components/template/advanced-search/search-group/persist-utils.d.ts +23 -0
  64. package/lib/_components/template/advanced-search/search-groups/search-groups.component.d.ts +47 -0
  65. package/lib/_components/template/advanced-search/search-groups/utils.d.ts +15 -0
  66. package/lib/_components/template/app-shell/app-shell.component.d.ts +6 -3
  67. package/lib/_components/template/banner-page/banner-page.component.d.ts +0 -1
  68. package/lib/_components/template/base/details-template-base.d.ts +21 -0
  69. package/lib/_components/template/base/form-template-base.d.ts +10 -0
  70. package/lib/_components/template/case-summary/case-summary.component.d.ts +3 -3
  71. package/lib/_components/template/case-view/case-view.component.d.ts +1 -3
  72. package/lib/_components/template/confirmation/confirmation.component.d.ts +0 -1
  73. package/lib/_components/template/data-reference/data-reference-advanced-search.service.d.ts +9 -0
  74. package/lib/_components/template/data-reference/data-reference.component.d.ts +27 -3
  75. package/lib/_components/template/data-reference/search-form/search-form.component.d.ts +39 -0
  76. package/lib/_components/template/data-reference/search-form/tabsData.d.ts +2 -0
  77. package/lib/_components/template/data-reference/utils.d.ts +14 -0
  78. package/lib/_components/template/default-form/default-form.component.d.ts +10 -8
  79. package/lib/_components/template/default-page/default-page.component.d.ts +29 -0
  80. package/lib/_components/template/details/details.component.d.ts +3 -12
  81. package/lib/_components/template/details-narrow-wide/details-narrow-wide.component.d.ts +3 -12
  82. package/lib/_components/template/details-one-column/details-one-column.component.d.ts +3 -14
  83. package/lib/_components/template/details-sub-tabs/details-sub-tabs.component.d.ts +3 -14
  84. package/lib/_components/template/details-three-column/details-three-column.component.d.ts +3 -14
  85. package/lib/_components/template/details-two-column/details-two-column.component.d.ts +3 -14
  86. package/lib/_components/template/details-wide-narrow/details-wide-narrow.component.d.ts +3 -14
  87. package/lib/_components/template/dynamic-tabs/dynamic-tabs.component.d.ts +1 -1
  88. package/lib/_components/template/field-group-template/field-group-template.component.d.ts +12 -9
  89. package/lib/_components/template/inline-dashboard/inline-dashboard.component.d.ts +0 -1
  90. package/lib/_components/template/inline-dashboard-page/inline-dashboard-page.component.d.ts +0 -1
  91. package/lib/_components/template/list-page/list-page.component.d.ts +0 -1
  92. package/lib/_components/template/list-view/list-view.component.d.ts +20 -5
  93. package/lib/_components/template/list-view/listViewHelpers.d.ts +1 -1
  94. package/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.d.ts +0 -1
  95. package/lib/_components/template/narrow-wide-form/narrow-wide-form.component.d.ts +0 -1
  96. package/lib/_components/template/object-page/object-page.component.d.ts +8 -0
  97. package/lib/_components/template/one-column/one-column.component.d.ts +2 -2
  98. package/lib/_components/template/one-column-page/one-column-page.component.d.ts +0 -1
  99. package/lib/_components/template/one-column-tab/one-column-tab.component.d.ts +0 -1
  100. package/lib/_components/template/page/page.component.d.ts +0 -1
  101. package/lib/_components/template/promoted-filters/promoted-filters.component.d.ts +0 -1
  102. package/lib/_components/template/repeating-structures/repeating-structures.component.d.ts +0 -1
  103. package/lib/_components/template/self-service-case-view/self-service-case-view.component.d.ts +59 -0
  104. package/lib/_components/template/simple-table/simple-table.component.d.ts +0 -1
  105. package/lib/_components/template/simple-table-manual/helpers.d.ts +19 -4
  106. package/lib/_components/template/simple-table-manual/simple-table-manual.component.d.ts +11 -4
  107. package/lib/_components/template/simple-table-select/simple-table-select.component.d.ts +0 -1
  108. package/lib/_components/template/single-reference-readonly/single-reference-readonly.component.d.ts +18 -3
  109. package/lib/_components/template/sub-tabs/sub-tabs.component.d.ts +0 -1
  110. package/lib/_components/template/three-column/three-column.component.d.ts +2 -2
  111. package/lib/_components/template/three-column-page/three-column-page.component.d.ts +0 -1
  112. package/lib/_components/template/two-column/two-column.component.d.ts +2 -2
  113. package/lib/_components/template/two-column-page/two-column-page.component.d.ts +0 -1
  114. package/lib/_components/template/two-column-tab/two-column-tab.component.d.ts +0 -1
  115. package/lib/_components/template/utils.d.ts +11 -0
  116. package/lib/_components/template/wide-narrow-form/wide-narrow-form.component.d.ts +2 -2
  117. package/lib/_components/template/wide-narrow-page/wide-narrow-page.component.d.ts +1 -2
  118. package/lib/_components/template/wss-nav-bar/wss-nav-bar.component.d.ts +4 -7
  119. package/lib/_components/widget/app-announcement/app-announcement.component.d.ts +0 -1
  120. package/lib/_components/widget/attachment/Attachment.types.d.ts +87 -0
  121. package/lib/_components/widget/attachment/AttachmentUtils.d.ts +17 -0
  122. package/lib/_components/widget/attachment/attachment.component.d.ts +20 -36
  123. package/lib/_components/widget/case-history/case-history.component.d.ts +0 -1
  124. package/lib/_components/widget/feed-container/feed-container.component.d.ts +4 -5
  125. package/lib/_components/widget/file-utility/file-utility.component.d.ts +1 -2
  126. package/lib/_components/widget/quick-create/quick-create.component.d.ts +0 -1
  127. package/lib/_components/widget/todo/todo.component.d.ts +13 -15
  128. package/lib/_components/widget/utility/utility.component.d.ts +0 -1
  129. package/lib/_helpers/common.d.ts +1 -1
  130. package/lib/_helpers/createstage-utils.d.ts +1 -0
  131. package/lib/_helpers/field-group-utils.d.ts +1 -3
  132. package/lib/_helpers/filter-utils.d.ts +1 -3
  133. package/lib/_helpers/formatters/boolean.d.ts +1 -2
  134. package/lib/_helpers/formatters/common.d.ts +2 -2
  135. package/lib/_helpers/formatters/currency.d.ts +1 -2
  136. package/lib/_helpers/formatters/date.d.ts +1 -2
  137. package/lib/_helpers/formatters/index.d.ts +1 -2
  138. package/lib/_helpers/objectReference-utils.d.ts +6 -0
  139. package/lib/_helpers/semanticLink-utils.d.ts +9 -0
  140. package/lib/_helpers/tab-utils.d.ts +4 -0
  141. package/lib/_helpers/utils.d.ts +13 -1
  142. package/lib/_messages/error-messages.service.d.ts +1 -1
  143. package/lib/_services/banner.service.d.ts +8 -0
  144. package/lib/_services/case.service.d.ts +1 -1
  145. package/lib/_services/datapage.service.d.ts +1 -1
  146. package/lib/_services/endpoints.d.ts +0 -1
  147. package/lib/_services/google-maps-loader.service.d.ts +7 -0
  148. package/lib/doc/KeyReleaseUpdates.md +35 -1
  149. package/package.json +20 -6
  150. package/public-api.d.ts +27 -11
  151. package/esm2022/lib/_bridge/angular-pconnect.mjs +0 -428
  152. package/esm2022/lib/_bridge/component-mapper/component-mapper.component.mjs +0 -114
  153. package/esm2022/lib/_bridge/helpers/sdk-pega-component-map.mjs +0 -239
  154. package/esm2022/lib/_bridge/helpers/sdk_component_map.mjs +0 -142
  155. package/esm2022/lib/_components/designSystemExtension/alert/alert.component.mjs +0 -50
  156. package/esm2022/lib/_components/designSystemExtension/alert-banner/alert-banner.component.mjs +0 -29
  157. package/esm2022/lib/_components/designSystemExtension/banner/banner.component.mjs +0 -31
  158. package/esm2022/lib/_components/designSystemExtension/case-create-stage/case-create-stage.component.mjs +0 -51
  159. package/esm2022/lib/_components/designSystemExtension/field-group/field-group.component.mjs +0 -31
  160. package/esm2022/lib/_components/designSystemExtension/material-case-summary/material-case-summary.component.mjs +0 -83
  161. package/esm2022/lib/_components/designSystemExtension/material-details/material-details.component.mjs +0 -37
  162. package/esm2022/lib/_components/designSystemExtension/material-details-fields/material-details-fields.component.mjs +0 -31
  163. package/esm2022/lib/_components/designSystemExtension/material-summary-item/material-summary-item.component.mjs +0 -36
  164. package/esm2022/lib/_components/designSystemExtension/material-summary-list/material-summary-list.component.mjs +0 -25
  165. package/esm2022/lib/_components/designSystemExtension/material-utility/material-utility.component.mjs +0 -28
  166. package/esm2022/lib/_components/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.mjs +0 -42
  167. package/esm2022/lib/_components/designSystemExtension/operator/operator.component.mjs +0 -143
  168. package/esm2022/lib/_components/designSystemExtension/pulse/pulse.component.mjs +0 -33
  169. package/esm2022/lib/_components/designSystemExtension/rich-text-editor/rich-text-editor.component.mjs +0 -93
  170. package/esm2022/lib/_components/designSystemExtension/wss-quick-create/wss-quick-create.component.mjs +0 -18
  171. package/esm2022/lib/_components/field/auto-complete/auto-complete.component.mjs +0 -286
  172. package/esm2022/lib/_components/field/cancel-alert/cancel-alert.component.mjs +0 -96
  173. package/esm2022/lib/_components/field/check-box/check-box.component.mjs +0 -223
  174. package/esm2022/lib/_components/field/currency/currency.component.mjs +0 -177
  175. package/esm2022/lib/_components/field/date/date.component.mjs +0 -225
  176. package/esm2022/lib/_components/field/date-time/date-time.component.mjs +0 -181
  177. package/esm2022/lib/_components/field/decimal/decimal.component.mjs +0 -185
  178. package/esm2022/lib/_components/field/dropdown/dropdown.component.mjs +0 -192
  179. package/esm2022/lib/_components/field/email/email.component.mjs +0 -150
  180. package/esm2022/lib/_components/field/group/group.component.mjs +0 -64
  181. package/esm2022/lib/_components/field/integer/integer.component.mjs +0 -155
  182. package/esm2022/lib/_components/field/list-view-action-buttons/list-view-action-buttons.component.mjs +0 -44
  183. package/esm2022/lib/_components/field/multiselect/multiselect.component.mjs +0 -307
  184. package/esm2022/lib/_components/field/multiselect/utils.mjs +0 -187
  185. package/esm2022/lib/_components/field/percentage/percentage.component.mjs +0 -174
  186. package/esm2022/lib/_components/field/phone/phone.component.mjs +0 -167
  187. package/esm2022/lib/_components/field/radio-buttons/radio-buttons.component.mjs +0 -184
  188. package/esm2022/lib/_components/field/rich-text/rich-text.component.mjs +0 -103
  189. package/esm2022/lib/_components/field/scalar-list/scalar-list.component.mjs +0 -96
  190. package/esm2022/lib/_components/field/semantic-link/semantic-link.component.mjs +0 -57
  191. package/esm2022/lib/_components/field/text/text.component.mjs +0 -138
  192. package/esm2022/lib/_components/field/text-area/text-area.component.mjs +0 -153
  193. package/esm2022/lib/_components/field/text-content/text-content.component.mjs +0 -69
  194. package/esm2022/lib/_components/field/text-input/text-input.component.mjs +0 -152
  195. package/esm2022/lib/_components/field/time/time.component.mjs +0 -153
  196. package/esm2022/lib/_components/field/url/url.component.mjs +0 -152
  197. package/esm2022/lib/_components/field/user-reference/user-reference.component.mjs +0 -187
  198. package/esm2022/lib/_components/infra/Containers/base-components/flow-container-base.component.mjs +0 -18
  199. package/esm2022/lib/_components/infra/Containers/base-components/helper.mjs +0 -71
  200. package/esm2022/lib/_components/infra/Containers/flow-container/flow-container.component.mjs +0 -487
  201. package/esm2022/lib/_components/infra/Containers/flow-container/helpers.mjs +0 -68
  202. package/esm2022/lib/_components/infra/Containers/hybrid-view-container/hybrid-view-container.component.mjs +0 -24
  203. package/esm2022/lib/_components/infra/Containers/modal-view-container/modal-view-container.component.mjs +0 -342
  204. package/esm2022/lib/_components/infra/Containers/preview-view-container/preview-view-container.component.mjs +0 -32
  205. package/esm2022/lib/_components/infra/Containers/view-container/view-container.component.mjs +0 -218
  206. package/esm2022/lib/_components/infra/action-buttons/action-buttons.component.mjs +0 -31
  207. package/esm2022/lib/_components/infra/assignment/assignment.component.mjs +0 -383
  208. package/esm2022/lib/_components/infra/assignment-card/assignment-card.component.mjs +0 -47
  209. package/esm2022/lib/_components/infra/dashboard-filter/dashboard-filter.component.mjs +0 -87
  210. package/esm2022/lib/_components/infra/defer-load/defer-load.component.mjs +0 -141
  211. package/esm2022/lib/_components/infra/error-boundary/error-boundary.component.mjs +0 -18
  212. package/esm2022/lib/_components/infra/multi-step/multi-step.component.mjs +0 -80
  213. package/esm2022/lib/_components/infra/navbar/navbar.component.mjs +0 -136
  214. package/esm2022/lib/_components/infra/reference/reference.component.mjs +0 -133
  215. package/esm2022/lib/_components/infra/region/region.component.mjs +0 -33
  216. package/esm2022/lib/_components/infra/root-container/root-container.component.mjs +0 -228
  217. package/esm2022/lib/_components/infra/stages/stages.component.mjs +0 -62
  218. package/esm2022/lib/_components/infra/view/view.component.mjs +0 -173
  219. package/esm2022/lib/_components/template/app-shell/app-shell.component.mjs +0 -140
  220. package/esm2022/lib/_components/template/banner-page/banner-page.component.mjs +0 -43
  221. package/esm2022/lib/_components/template/case-summary/case-summary.component.mjs +0 -101
  222. package/esm2022/lib/_components/template/case-view/case-view.component.mjs +0 -190
  223. package/esm2022/lib/_components/template/confirmation/confirmation.component.mjs +0 -68
  224. package/esm2022/lib/_components/template/data-reference/data-reference.component.mjs +0 -237
  225. package/esm2022/lib/_components/template/default-form/default-form.component.mjs +0 -61
  226. package/esm2022/lib/_components/template/details/details.component.mjs +0 -103
  227. package/esm2022/lib/_components/template/details-narrow-wide/details-narrow-wide.component.mjs +0 -72
  228. package/esm2022/lib/_components/template/details-one-column/details-one-column.component.mjs +0 -71
  229. package/esm2022/lib/_components/template/details-sub-tabs/details-sub-tabs.component.mjs +0 -66
  230. package/esm2022/lib/_components/template/details-three-column/details-three-column.component.mjs +0 -80
  231. package/esm2022/lib/_components/template/details-two-column/details-two-column.component.mjs +0 -77
  232. package/esm2022/lib/_components/template/details-wide-narrow/details-wide-narrow.component.mjs +0 -77
  233. package/esm2022/lib/_components/template/dynamic-tabs/dynamic-tabs.component.mjs +0 -64
  234. package/esm2022/lib/_components/template/field-group-list/field-group-list.component.mjs +0 -23
  235. package/esm2022/lib/_components/template/field-group-template/field-group-template.component.mjs +0 -124
  236. package/esm2022/lib/_components/template/field-value-list/field-value-list.component.mjs +0 -24
  237. package/esm2022/lib/_components/template/inline-dashboard/inline-dashboard.component.mjs +0 -22
  238. package/esm2022/lib/_components/template/inline-dashboard-page/inline-dashboard-page.component.mjs +0 -40
  239. package/esm2022/lib/_components/template/list-page/list-page.component.mjs +0 -14
  240. package/esm2022/lib/_components/template/list-view/DefaultViewMeta.mjs +0 -208
  241. package/esm2022/lib/_components/template/list-view/list-view.component.mjs +0 -1202
  242. package/esm2022/lib/_components/template/list-view/listViewHelpers.mjs +0 -60
  243. package/esm2022/lib/_components/template/list-view/utils.mjs +0 -662
  244. package/esm2022/lib/_components/template/multi-reference-readonly/multi-reference-readonly.component.mjs +0 -44
  245. package/esm2022/lib/_components/template/narrow-wide-form/narrow-wide-form.component.mjs +0 -30
  246. package/esm2022/lib/_components/template/one-column/one-column.component.mjs +0 -30
  247. package/esm2022/lib/_components/template/one-column-page/one-column-page.component.mjs +0 -16
  248. package/esm2022/lib/_components/template/one-column-tab/one-column-tab.component.mjs +0 -30
  249. package/esm2022/lib/_components/template/page/page.component.mjs +0 -52
  250. package/esm2022/lib/_components/template/promoted-filters/promoted-filters.component.mjs +0 -149
  251. package/esm2022/lib/_components/template/repeating-structures/repeating-structures.component.mjs +0 -138
  252. package/esm2022/lib/_components/template/simple-table/simple-table.component.mjs +0 -104
  253. package/esm2022/lib/_components/template/simple-table-manual/helpers.mjs +0 -270
  254. package/esm2022/lib/_components/template/simple-table-manual/simple-table-manual.component.mjs +0 -781
  255. package/esm2022/lib/_components/template/simple-table-select/simple-table-select.component.mjs +0 -129
  256. package/esm2022/lib/_components/template/single-reference-readonly/single-reference-readonly.component.mjs +0 -16
  257. package/esm2022/lib/_components/template/sub-tabs/sub-tabs.component.mjs +0 -67
  258. package/esm2022/lib/_components/template/three-column/three-column.component.mjs +0 -30
  259. package/esm2022/lib/_components/template/three-column-page/three-column-page.component.mjs +0 -16
  260. package/esm2022/lib/_components/template/two-column/two-column.component.mjs +0 -30
  261. package/esm2022/lib/_components/template/two-column-page/two-column-page.component.mjs +0 -40
  262. package/esm2022/lib/_components/template/two-column-tab/two-column-tab.component.mjs +0 -30
  263. package/esm2022/lib/_components/template/utils.mjs +0 -22
  264. package/esm2022/lib/_components/template/wide-narrow-form/wide-narrow-form.component.mjs +0 -30
  265. package/esm2022/lib/_components/template/wide-narrow-page/wide-narrow-page.component.mjs +0 -53
  266. package/esm2022/lib/_components/template/wss-nav-bar/wss-nav-bar.component.mjs +0 -137
  267. package/esm2022/lib/_components/widget/app-announcement/app-announcement.component.mjs +0 -24
  268. package/esm2022/lib/_components/widget/attachment/attachment.component.mjs +0 -395
  269. package/esm2022/lib/_components/widget/case-history/case-history.component.mjs +0 -80
  270. package/esm2022/lib/_components/widget/feed-container/feed-container.component.mjs +0 -521
  271. package/esm2022/lib/_components/widget/file-utility/file-utility.component.mjs +0 -638
  272. package/esm2022/lib/_components/widget/list-utility/list-utility.component.mjs +0 -57
  273. package/esm2022/lib/_components/widget/quick-create/quick-create.component.mjs +0 -75
  274. package/esm2022/lib/_components/widget/todo/todo.component.mjs +0 -214
  275. package/esm2022/lib/_components/widget/utility/utility.component.mjs +0 -34
  276. package/esm2022/lib/_directives/thousand-seperator.directive.mjs +0 -28
  277. package/esm2022/lib/_helpers/case-utils.mjs +0 -71
  278. package/esm2022/lib/_helpers/common.mjs +0 -20
  279. package/esm2022/lib/_helpers/currency-utils.mjs +0 -57
  280. package/esm2022/lib/_helpers/date-format-utils.mjs +0 -68
  281. package/esm2022/lib/_helpers/event-util.mjs +0 -18
  282. package/esm2022/lib/_helpers/field-group-utils.mjs +0 -47
  283. package/esm2022/lib/_helpers/filter-utils.mjs +0 -106
  284. package/esm2022/lib/_helpers/formatters/boolean.mjs +0 -20
  285. package/esm2022/lib/_helpers/formatters/common.mjs +0 -16
  286. package/esm2022/lib/_helpers/formatters/currency-map.mjs +0 -903
  287. package/esm2022/lib/_helpers/formatters/currency.mjs +0 -68
  288. package/esm2022/lib/_helpers/formatters/date.mjs +0 -69
  289. package/esm2022/lib/_helpers/formatters/format-utils.mjs +0 -68
  290. package/esm2022/lib/_helpers/formatters/index.mjs +0 -110
  291. package/esm2022/lib/_helpers/instructions-utils.mjs +0 -36
  292. package/esm2022/lib/_helpers/tab-utils.mjs +0 -59
  293. package/esm2022/lib/_helpers/template-utils.mjs +0 -56
  294. package/esm2022/lib/_helpers/utils.mjs +0 -386
  295. package/esm2022/lib/_helpers/versionHelpers.mjs +0 -12
  296. package/esm2022/lib/_messages/error-messages.service.mjs +0 -31
  297. package/esm2022/lib/_messages/get-login-status.service.mjs +0 -26
  298. package/esm2022/lib/_messages/oauth-response.service.mjs +0 -30
  299. package/esm2022/lib/_messages/progress-spinner.service.mjs +0 -30
  300. package/esm2022/lib/_messages/reset-pconnect.service.mjs +0 -31
  301. package/esm2022/lib/_messages/update-worklist.service.mjs +0 -30
  302. package/esm2022/lib/_services/case.service.mjs +0 -32
  303. package/esm2022/lib/_services/datapage.service.mjs +0 -52
  304. package/esm2022/lib/_services/endpoints.mjs +0 -61
  305. package/esm2022/lib/_services/server-config.service.mjs +0 -52
  306. package/esm2022/lib/_types/PConnProps.interface.mjs +0 -2
  307. package/esm2022/pega-angular-sdk-components.mjs +0 -5
  308. package/esm2022/public-api.mjs +0 -141
  309. package/esm2022/sdk-local-component-map.mjs +0 -9
  310. package/lib/_messages/get-login-status.service.d.ts +0 -10
  311. package/lib/_messages/oauth-response.service.d.ts +0 -14
  312. package/lib/_messages/reset-pconnect.service.d.ts +0 -15
@@ -1,8 +1,5 @@
1
- /// <reference types="pcore-pconnect-typedefs" />
2
- import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
3
- import { FormControl, FormGroup } from '@angular/forms';
4
- import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
5
- import { Utils } from '../../../_helpers/utils';
1
+ import { FormControl } from '@angular/forms';
2
+ import { FieldBase } from '../field.base';
6
3
  import { PConnFieldProps } from '../../../_types/PConnProps.interface';
7
4
  import * as i0 from "@angular/core";
8
5
  interface DecimalProps extends PConnFieldProps {
@@ -11,44 +8,32 @@ interface DecimalProps extends PConnFieldProps {
11
8
  showGroupSeparators?: string;
12
9
  formatter?: string;
13
10
  }
14
- export declare class DecimalComponent implements OnInit, OnDestroy {
15
- private angularPConnect;
16
- private cdRef;
17
- private utils;
18
- pConn$: typeof PConnect;
19
- formGroup$: FormGroup;
20
- angularPConnectData: AngularPConnectData;
11
+ export declare class DecimalComponent extends FieldBase {
21
12
  configProps$: DecimalProps;
22
- label$: string;
23
- value$: any;
24
- bRequired$: boolean;
25
- bReadonly$: boolean;
26
- bDisabled$: boolean;
27
- bVisible$: boolean;
28
- displayMode$?: string;
29
- controlName$: string;
30
- bHasForm$: boolean;
31
- componentReference: string;
32
- testId: string;
33
- helperText: string;
34
- placeholder: string;
35
13
  fieldControl: FormControl<number | null>;
36
- currDec: string;
37
- currSep: string;
38
- currSym: string;
14
+ decimalSeparator: string;
15
+ thousandSeparator: string;
16
+ currencySymbol: string;
39
17
  decimalPrecision: number | undefined;
40
18
  formatter: any;
41
19
  formattedValue: any;
42
20
  inputMode: any;
43
- constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
44
- ngOnInit(): void;
45
- ngOnDestroy(): void;
46
- onStateChange(): void;
47
- checkAndUpdate(): void;
21
+ suffix: string;
22
+ /**
23
+ * Updates the component when there are changes in the state.
24
+ */
48
25
  updateSelf(): void;
26
+ /**
27
+ * Updates decimal properties based on the provided configuration.
28
+ *
29
+ * @param {Object} configProps - Configuration properties.
30
+ * @param {string} configProps.currencyISOCode - ISO code of the currency.
31
+ * @param {string} configProps.formatter - Formatter type (e.g., 'decimal', 'currency').
32
+ * @param {boolean} configProps.showGroupSeparators - Whether to show group separators.
33
+ */
34
+ protected updateDecimalProperties(configProps: any): void;
49
35
  fieldOnBlur(event: any): void;
50
- getErrorMessage(): string;
51
36
  static ɵfac: i0.ɵɵFactoryDeclaration<DecimalComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<DecimalComponent, "app-decimal", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<DecimalComponent, "app-decimal", never, {}, {}, never, never, true, never>;
53
38
  }
54
39
  export {};
@@ -1,8 +1,5 @@
1
- /// <reference types="pcore-pconnect-typedefs" />
2
- import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
3
- import { FormControl, FormGroup } from '@angular/forms';
4
- import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
5
- import { Utils } from '../../../_helpers/utils';
1
+ import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
2
+ import { FieldBase } from '../field.base';
6
3
  import { PConnFieldProps } from '../../../_types/PConnProps.interface';
7
4
  import * as i0 from "@angular/core";
8
5
  interface IOption {
@@ -13,48 +10,38 @@ interface DropdownProps extends PConnFieldProps {
13
10
  datasource?: any[];
14
11
  onRecordChange?: any;
15
12
  fieldMetadata?: any;
13
+ listType?: string;
14
+ columns?: any[];
15
+ deferDatasource?: boolean;
16
+ datasourceMetadata?: any;
17
+ parameters?: any;
16
18
  }
17
- export declare class DropdownComponent implements OnInit, OnDestroy {
18
- private angularPConnect;
19
- private cdRef;
20
- private utils;
21
- pConn$: typeof PConnect;
22
- formGroup$: FormGroup;
23
- angularPConnectData: AngularPConnectData;
19
+ export declare class DropdownComponent extends FieldBase implements OnInit, OnDestroy {
20
+ onRecordChange: EventEmitter<any>;
24
21
  configProps$: DropdownProps;
25
- label$: string;
26
- value$: string;
27
- bRequired$: boolean;
28
- bReadonly$: boolean;
29
- bDisabled$: boolean;
30
- bVisible$: boolean;
31
- displayMode$?: string;
32
- controlName$: string;
33
- bHasForm$: boolean;
34
22
  options$: IOption[];
35
- componentReference: string;
36
- testId: string;
37
- helperText: string;
38
- hideLabel: any;
39
- fieldControl: FormControl<string | null>;
40
- fieldMetadata: any[];
23
+ theDatasource: any[] | null;
41
24
  localeContext: string;
42
25
  localeClass: string;
43
26
  localeName: string;
44
27
  localePath: string;
45
28
  localizedValue: string;
46
- constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
47
- ngOnInit(): void;
48
- ngOnDestroy(): void;
49
- onStateChange(): void;
50
- checkAndUpdate(): void;
29
+ set options(options: IOption[]);
30
+ /**
31
+ * Updates the component when there are changes in the state.
32
+ */
51
33
  updateSelf(): void;
34
+ /**
35
+ * Updates dropdown properties based on the provided configuration.
36
+ * @param configProps - Configuration properties
37
+ */
38
+ updateDropdownProperties(configProps: any): void;
39
+ getDatapageData(): void;
40
+ getData(dataSource: any, parameters: any, columns: any, context: any, listType: any): void;
52
41
  isSelected(buttonValue: string): boolean;
53
42
  fieldOnChange(event: any): void;
54
- fieldOnBlur(event: any): void;
55
43
  getLocalizedOptionValue(opt: IOption): string;
56
- getErrorMessage(): string;
57
44
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "app-dropdown", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "app-dropdown", never, {}, { "onRecordChange": "onRecordChange"; }, never, never, true, never>;
59
46
  }
60
47
  export {};
@@ -1,44 +1,18 @@
1
- /// <reference types="pcore-pconnect-typedefs" />
2
- import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
3
- import { FormControl, FormGroup } from '@angular/forms';
4
- import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
5
- import { Utils } from '../../../_helpers/utils';
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { FieldBase } from '../field.base';
6
3
  import { PConnFieldProps } from '../../../_types/PConnProps.interface';
7
4
  import * as i0 from "@angular/core";
8
5
  interface EmailProps extends PConnFieldProps {
9
6
  }
10
- export declare class EmailComponent implements OnInit, OnDestroy {
11
- private angularPConnect;
12
- private cdRef;
13
- private utils;
14
- pConn$: typeof PConnect;
15
- formGroup$: FormGroup;
16
- angularPConnectData: AngularPConnectData;
7
+ export declare class EmailComponent extends FieldBase implements OnInit, OnDestroy {
17
8
  configProps$: EmailProps;
18
- label$: string;
19
- value$: string;
20
- bRequired$: boolean;
21
- bReadonly$: boolean;
22
- bDisabled$: boolean;
23
- bVisible$: boolean;
24
- displayMode$?: string;
25
- controlName$: string;
26
- bHasForm$: boolean;
27
- componentReference: string;
28
- testId: string;
29
- helperText: string;
30
- placeholder: string;
31
- fieldControl: FormControl<string | null>;
32
- constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
33
- ngOnInit(): void;
34
- ngOnDestroy(): void;
35
- onStateChange(): void;
36
- checkAndUpdate(): void;
9
+ /**
10
+ * Updates the component when there are changes in the state.
11
+ */
37
12
  updateSelf(): void;
38
13
  fieldOnChange(event: any): void;
39
14
  fieldOnBlur(event: any): void;
40
- getErrorMessage(): string;
41
15
  static ɵfac: i0.ɵɵFactoryDeclaration<EmailComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<EmailComponent, "app-email", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<EmailComponent, "app-email", never, {}, {}, never, never, true, never>;
43
17
  }
44
18
  export {};
@@ -0,0 +1,57 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { AngularPConnectData, AngularPConnectService } from '../../_bridge/angular-pconnect';
4
+ import { Utils } from '../../_helpers/utils';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FieldBase implements OnInit, OnDestroy {
7
+ pConn$: typeof PConnect;
8
+ formGroup$: FormGroup;
9
+ protected angularPConnect: AngularPConnectService;
10
+ protected utils: Utils;
11
+ protected angularPConnectData: AngularPConnectData;
12
+ fieldControl: FormControl<any>;
13
+ controlName$: string;
14
+ actionsApi: object;
15
+ propName: string;
16
+ bHasForm$: boolean;
17
+ testId: string;
18
+ helperText: string;
19
+ placeholder: string;
20
+ value$: any;
21
+ label$: string;
22
+ hideLabel: boolean;
23
+ bRequired$: boolean;
24
+ bReadonly$: boolean;
25
+ bDisabled$: boolean;
26
+ bVisible$: boolean;
27
+ displayMode$: string;
28
+ /**
29
+ * Initializes the component, registers with AngularPConnect, and sets up form control.
30
+ */
31
+ ngOnInit(): void;
32
+ /**
33
+ * Cleans up the component by removing it from the form group and unsubscribing from any observables.
34
+ */
35
+ ngOnDestroy(): void;
36
+ onStateChange(): void;
37
+ checkAndUpdate(): void;
38
+ updateSelf(): void;
39
+ /**
40
+ * Updates the component's common properties based on the provided configuration.
41
+ *
42
+ * @param configProps The configuration properties to update.
43
+ */
44
+ protected updateComponentCommonProperties(configProps: any): void;
45
+ /**
46
+ * Displays the validation message if it exists.
47
+ */
48
+ private displayValidationMessage;
49
+ /**
50
+ * Retrieves the error message for the current field control.
51
+ *
52
+ * @returns The error message, or an empty string if no error is found.
53
+ */
54
+ getErrorMessage(): string;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldBase, never>;
56
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FieldBase, never, never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
57
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="pcore-pconnect-typedefs" />
2
1
  import { OnInit } from '@angular/core';
3
2
  import { FormGroup } from '@angular/forms';
4
3
  import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
@@ -14,18 +13,21 @@ export declare class GroupComponent implements OnInit {
14
13
  private angularPConnect;
15
14
  pConn$: typeof PConnect;
16
15
  formGroup$: FormGroup;
16
+ angularPConnectData: AngularPConnectData;
17
+ configProps$: GroupProps;
17
18
  arChildren$: any[];
18
19
  visibility$?: boolean;
19
20
  showHeading$?: boolean;
20
21
  heading$: string;
21
22
  instructions$: string;
22
23
  collapsible$: boolean;
23
- angularPConnectData: AngularPConnectData;
24
- configProps$: GroupProps;
25
24
  constructor(angularPConnect: AngularPConnectService);
26
25
  ngOnInit(): void;
27
26
  onStateChange(): void;
28
27
  checkAndUpdate(): void;
28
+ /**
29
+ * Updates the component when there are changes in the state.
30
+ */
29
31
  updateSelf(): void;
30
32
  static ɵfac: i0.ɵɵFactoryDeclaration<GroupComponent, never>;
31
33
  static ɵcmp: i0.ɵɵComponentDeclaration<GroupComponent, "app-group", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,44 +1,19 @@
1
- /// <reference types="pcore-pconnect-typedefs" />
2
- import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
3
- import { FormControl, FormGroup } from '@angular/forms';
4
- import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
5
- import { Utils } from '../../../_helpers/utils';
1
+ import { FormControl } from '@angular/forms';
2
+ import { FieldBase } from '../field.base';
6
3
  import { PConnFieldProps } from '../../../_types/PConnProps.interface';
7
4
  import * as i0 from "@angular/core";
8
5
  interface IntegerProps extends PConnFieldProps {
9
6
  }
10
- export declare class IntegerComponent implements OnInit, OnDestroy {
11
- private angularPConnect;
12
- private cdRef;
13
- private utils;
14
- pConn$: typeof PConnect;
15
- formGroup$: FormGroup;
16
- angularPConnectData: AngularPConnectData;
7
+ export declare class IntegerComponent extends FieldBase {
17
8
  configProps$: IntegerProps;
18
- label$: string;
19
- value$: number;
20
- bRequired$: boolean;
21
- bReadonly$: boolean;
22
- bDisabled$: boolean;
23
- bVisible$: boolean;
24
- displayMode$?: string;
25
- controlName$: string;
26
- bHasForm$: boolean;
27
- componentReference: string;
28
- testId: string;
29
- helperText: string;
30
- placeholder: string;
31
9
  fieldControl: FormControl<number | null>;
32
- constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
33
- ngOnInit(): void;
34
- ngOnDestroy(): void;
35
- onStateChange(): void;
36
- checkAndUpdate(): void;
10
+ /**
11
+ * Updates the component when there are changes in the state.
12
+ */
37
13
  updateSelf(): void;
38
14
  fieldOnChange(event: any): void;
39
15
  fieldOnBlur(event: any): void;
40
- getErrorMessage(): string;
41
16
  static ɵfac: i0.ɵɵFactoryDeclaration<IntegerComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<IntegerComponent, "app-integer", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<IntegerComponent, "app-integer", never, {}, {}, never, never, true, never>;
43
18
  }
44
19
  export {};
@@ -1,11 +1,10 @@
1
- /// <reference types="pcore-pconnect-typedefs" />
2
1
  import { EventEmitter } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class ListViewActionButtonsComponent {
5
4
  pConn$: typeof PConnect;
6
5
  context$: string;
7
6
  closeActionsDialog: EventEmitter<any>;
8
- localizedVal: (localeKey: any, localePath: any, localeRuleKey?: string | undefined) => any;
7
+ localizedVal: (localeKey: string, localePath?: string, localeRuleKey?: string | null, componentName?: string | null) => string;
9
8
  localeCategory: string;
10
9
  isDisabled: boolean;
11
10
  onCancel(): void;
@@ -0,0 +1,71 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
4
+ import { GoogleMapsLoaderService } from '../../../_services/google-maps-loader.service';
5
+ import { Utils } from '../../../_helpers/utils';
6
+ import { PConnFieldProps } from '../../../_types/PConnProps.interface';
7
+ import * as i0 from "@angular/core";
8
+ interface LocationProps extends PConnFieldProps {
9
+ coordinates: string;
10
+ showMap: boolean;
11
+ onlyCoordinates: boolean;
12
+ showMapReadOnly: boolean;
13
+ }
14
+ export declare class LocationComponent implements OnInit, OnDestroy {
15
+ private loader;
16
+ private angularPConnect;
17
+ private utils;
18
+ private cdRef;
19
+ pConn$: typeof PConnect;
20
+ formGroup$: FormGroup;
21
+ private autocompleteService;
22
+ private geocoder;
23
+ mapReady: boolean;
24
+ isLocating: boolean;
25
+ searchControl: FormControl<string | null>;
26
+ showMap: boolean;
27
+ filteredOptions: string[];
28
+ center: google.maps.LatLngLiteral;
29
+ markerPosition: google.maps.LatLngLiteral | null;
30
+ angularPConnectData: AngularPConnectData;
31
+ configProps$: LocationProps;
32
+ label$: string;
33
+ onlyCoordinates: boolean;
34
+ coordinates: string;
35
+ bRequired$: boolean;
36
+ bReadonly$: boolean;
37
+ showMapReadOnly$: boolean;
38
+ bDisabled$: boolean;
39
+ bVisible$: boolean;
40
+ controlName$: string;
41
+ bHasForm$: boolean;
42
+ testId: string;
43
+ helperText: string;
44
+ placeholder: string;
45
+ actionsApi: object;
46
+ valueProp: string;
47
+ coordinatesProp: string;
48
+ constructor(loader: GoogleMapsLoaderService, angularPConnect: AngularPConnectService, utils: Utils, cdRef: ChangeDetectorRef);
49
+ ngOnInit(): Promise<void>;
50
+ ngOnDestroy(): void;
51
+ checkAndUpdate(): void;
52
+ onStateChange(): void;
53
+ updateSelf(): void;
54
+ onOptionSelected(event: any): void;
55
+ fieldOnBlur(): void;
56
+ locateMe(): void;
57
+ onMapClick(event: google.maps.MapMouseEvent): void;
58
+ getErrorMessage(): string;
59
+ private tryGetLocation;
60
+ private initializeGoogleServices;
61
+ private getPlacePredictions;
62
+ private isCoordinateString;
63
+ private getSuggestions;
64
+ private updateMap;
65
+ private updateProps;
66
+ private setCoordinates;
67
+ private setLocationValue;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationComponent, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<LocationComponent, "app-location", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
70
+ }
71
+ export {};
@@ -1,41 +1,13 @@
1
- /// <reference types="pcore-pconnect-typedefs" />
2
- import { OnDestroy, OnInit } from '@angular/core';
3
- import { FormControl, FormGroup } from '@angular/forms';
4
- import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
5
- import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
6
- import { Utils } from '../../../_helpers/utils';
1
+ import { FieldBase } from '../field.base';
7
2
  import * as i0 from "@angular/core";
8
- export declare class MultiselectComponent implements OnInit, OnDestroy {
9
- private angularPConnect;
10
- private utils;
11
- pConn$: typeof PConnect;
12
- formGroup$: FormGroup;
13
- angularPConnectData: AngularPConnectData;
14
- label$: string;
15
- value$: string;
16
- bRequired$: boolean;
17
- bDisabled$: boolean;
18
- bVisible$: boolean;
19
- controlName$: string;
20
- bHasForm$: boolean;
3
+ export declare class MultiselectComponent extends FieldBase {
4
+ configProps$: any;
21
5
  listType: string;
22
- placeholder: string;
23
- fieldControl: FormControl<string | null>;
24
6
  parameters: {};
25
- hideLabel: boolean;
26
- configProps$: any;
27
7
  referenceList: any;
28
8
  selectionKey: string;
29
9
  primaryField: string;
30
- initialCaseClass: any;
31
10
  showSecondaryInSearchOnly: boolean;
32
- isGroupData: boolean;
33
- referenceType: any;
34
- secondaryFields: any;
35
- groupDataSource: never[];
36
- matchPosition: string;
37
- maxResultsDisplay: any;
38
- groupColumnsConfig: {}[];
39
11
  selectionList: any;
40
12
  listActions: any;
41
13
  selectedItems: any[];
@@ -44,21 +16,18 @@ export declare class MultiselectComponent implements OnInit, OnDestroy {
44
16
  dataApiObj: any;
45
17
  itemsTree: any[];
46
18
  trigger: any;
47
- constructor(angularPConnect: AngularPConnectService, utils: Utils);
48
- ngOnInit(): void;
49
- ngOnDestroy(): void;
50
- onStateChange(): void;
51
- checkAndUpdate(): void;
19
+ /**
20
+ * Updates the component when there are changes in the state.
21
+ */
52
22
  updateSelf(): void;
53
23
  setPropertyValuesFromProps(): void;
54
24
  getCaseListBasedOnParams(searchText: any, group: any, selectedRows: any, currentItemsTree: any, isTriggeredFromSearch?: boolean): void;
55
25
  fieldOnChange(event: Event): void;
56
- optionChanged(event: MatAutocompleteSelectedEvent): void;
26
+ optionChanged(event: any): void;
57
27
  optionClicked: (event: Event, data: any) => void;
58
28
  toggleSelection: (data: any) => void;
59
29
  removeChip: (data: any) => void;
60
30
  setSelectedItemsForReferenceList(data: any): void;
61
- getErrorMessage(): string;
62
31
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "app-multiselect", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "app-multiselect", never, {}, {}, never, never, true, never>;
64
33
  }
@@ -0,0 +1,45 @@
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { ComponentMetadataConfig } from '@pega/pcore-pconnect-typedefs/interpreter/types';
4
+ import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
5
+ import { PConnFieldProps } from '../../../_types/PConnProps.interface';
6
+ import * as i0 from "@angular/core";
7
+ interface ObjectReferenceProps extends PConnFieldProps {
8
+ showPromotedFilters: boolean;
9
+ inline: boolean;
10
+ parameters: object;
11
+ mode: string;
12
+ targetObjectType: any;
13
+ allowAndPersistChangesInReviewMode: boolean;
14
+ }
15
+ export declare class ObjectReferenceComponent implements OnInit, OnDestroy {
16
+ private angularPConnect;
17
+ pConn$: typeof PConnect;
18
+ formGroup$: FormGroup;
19
+ angularPConnectData: AngularPConnectData;
20
+ configProps: ObjectReferenceProps;
21
+ value: {
22
+ [key: string]: any;
23
+ };
24
+ readOnly: boolean;
25
+ isForm: boolean;
26
+ type: string;
27
+ isDisplayModeEnabled: boolean;
28
+ canBeChangedInReviewMode: boolean;
29
+ newComponentName: string;
30
+ newPconn: typeof PConnect;
31
+ rawViewMetadata: ComponentMetadataConfig | undefined;
32
+ constructor(angularPConnect: AngularPConnectService);
33
+ ngOnInit(): void;
34
+ onStateChange(): void;
35
+ ngOnDestroy(): void;
36
+ checkAndUpdate(): void;
37
+ updateSelf(): void;
38
+ onRecordChange(value: any): void;
39
+ private getComponentType;
40
+ private createSemanticLinkPConnect;
41
+ private createOtherComponentPConnect;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObjectReferenceComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<ObjectReferenceComponent, "app-object-reference", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
44
+ }
45
+ export {};
@@ -1,50 +1,36 @@
1
- /// <reference types="pcore-pconnect-typedefs" />
2
- import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
3
- import { FormControl, FormGroup } from '@angular/forms';
4
- import { AngularPConnectData, AngularPConnectService } from '../../../_bridge/angular-pconnect';
5
- import { Utils } from '../../../_helpers/utils';
1
+ import { FormControl } from '@angular/forms';
2
+ import { FieldBase } from '../field.base';
6
3
  import { PConnFieldProps } from '../../../_types/PConnProps.interface';
7
4
  import * as i0 from "@angular/core";
8
- interface PercentageProps extends PConnFieldProps {
5
+ interface PercentageProps extends Omit<PConnFieldProps, 'value'> {
6
+ value?: number;
9
7
  showGroupSeparators?: string;
10
8
  decimalPrecision?: number;
9
+ currencyISOCode?: string;
11
10
  }
12
- export declare class PercentageComponent implements OnInit, OnDestroy {
13
- private angularPConnect;
14
- private cdRef;
15
- private utils;
16
- pConn$: typeof PConnect;
17
- formGroup$: FormGroup;
18
- angularPConnectData: AngularPConnectData;
11
+ export declare class PercentageComponent extends FieldBase {
19
12
  configProps$: PercentageProps;
20
- label$: string;
21
- value$: number;
22
- bRequired$: boolean;
23
- bReadonly$: boolean;
24
- bDisabled$: boolean;
25
- bVisible$: boolean;
26
- displayMode$?: string;
27
- controlName$: string;
28
- bHasForm$: boolean;
29
- componentReference: string;
30
- testId: string;
31
- helperText: string;
32
- placeholder: string;
33
- currDec: string;
34
- currSep: string;
13
+ fieldControl: FormControl<number | null>;
14
+ decimalSeparator: string;
15
+ thousandSeparator: string;
35
16
  inputMode: any;
36
17
  decimalPrecision: number | undefined;
37
- fieldControl: FormControl<number | null>;
38
- constructor(angularPConnect: AngularPConnectService, cdRef: ChangeDetectorRef, utils: Utils);
39
- ngOnInit(): void;
40
- ngOnDestroy(): void;
41
- onStateChange(): void;
42
- checkAndUpdate(): void;
18
+ formattedValue: string;
19
+ /**
20
+ * Updates the component when there are changes in the state.
21
+ */
43
22
  updateSelf(): void;
23
+ /**
24
+ * Updates the percentage properties
25
+ *
26
+ * @param {Object} configProps - Configuration properties.
27
+ * @param {boolean} configProps.showGroupSeparators - Whether to show group separators.
28
+ * @param {number} configProps.decimalPrecision - The number of decimal places to display.
29
+ */
30
+ updatePercentageProperties(configProps: any): void;
44
31
  fieldOnChange(event: any): void;
45
32
  fieldOnBlur(event: any): void;
46
- getErrorMessage(): string;
47
33
  static ɵfac: i0.ɵɵFactoryDeclaration<PercentageComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<PercentageComponent, "app-percentage", never, { "pConn$": { "alias": "pConn$"; "required": false; }; "formGroup$": { "alias": "formGroup$"; "required": false; }; }, {}, never, never, true, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<PercentageComponent, "app-percentage", never, {}, {}, never, never, true, never>;
49
35
  }
50
36
  export {};