@pega/dx-component-builder-sdk 0.24.3 → 0.24.6

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 (637) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
  3. package/src/constants.js +54 -2
  4. package/src/tasks/create/templates/Constellation/field/Boolean/create-nonce.ts.mustache +5 -0
  5. package/src/tasks/create/templates/Constellation/field/Boolean/index.tsx.mustache +1 -0
  6. package/src/tasks/create/templates/Constellation/field/Date/create-nonce.ts.mustache +5 -0
  7. package/src/tasks/create/templates/Constellation/field/Date/index.tsx.mustache +1 -0
  8. package/src/tasks/create/templates/Constellation/field/DateTime/create-nonce.ts.mustache +5 -0
  9. package/src/tasks/create/templates/Constellation/field/DateTime/index.tsx.mustache +1 -0
  10. package/src/tasks/create/templates/Constellation/field/Decimal/create-nonce.ts.mustache +5 -0
  11. package/src/tasks/create/templates/Constellation/field/Decimal/index.tsx.mustache +1 -0
  12. package/src/tasks/create/templates/Constellation/field/Decimal-Currency/create-nonce.ts.mustache +5 -0
  13. package/src/tasks/create/templates/Constellation/field/Decimal-Currency/index.tsx.mustache +1 -0
  14. package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/create-nonce.ts.mustache +5 -0
  15. package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/index.tsx.mustache +1 -0
  16. package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/create-nonce.ts.mustache +5 -0
  17. package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/demo.stories.tsx.mustache +15 -10
  18. package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/index.tsx.mustache +1 -0
  19. package/src/tasks/create/templates/Constellation/field/Integer/create-nonce.ts.mustache +5 -0
  20. package/src/tasks/create/templates/Constellation/field/Integer/index.tsx.mustache +1 -0
  21. package/src/tasks/create/templates/Constellation/field/Picklist/create-nonce.ts.mustache +5 -0
  22. package/src/tasks/create/templates/Constellation/field/Picklist/index.tsx.mustache +1 -0
  23. package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/create-nonce.ts.mustache +5 -0
  24. package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/index.tsx.mustache +1 -0
  25. package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/create-nonce.ts.mustache +5 -0
  26. package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/index.tsx.mustache +1 -0
  27. package/src/tasks/create/templates/Constellation/field/Text/create-nonce.ts.mustache +5 -0
  28. package/src/tasks/create/templates/Constellation/field/Text/index.tsx.mustache +1 -0
  29. package/src/tasks/create/templates/Constellation/field/Text-Email/create-nonce.ts.mustache +5 -0
  30. package/src/tasks/create/templates/Constellation/field/Text-Email/index.tsx.mustache +1 -0
  31. package/src/tasks/create/templates/Constellation/field/Text-Input/create-nonce.ts.mustache +5 -0
  32. package/src/tasks/create/templates/Constellation/field/Text-Input/index.tsx.mustache +1 -0
  33. package/src/tasks/create/templates/Constellation/field/Text-Paragraph/create-nonce.ts.mustache +5 -0
  34. package/src/tasks/create/templates/Constellation/field/Text-Paragraph/index.tsx.mustache +1 -0
  35. package/src/tasks/create/templates/Constellation/field/Text-Phone/create-nonce.ts.mustache +5 -0
  36. package/src/tasks/create/templates/Constellation/field/Text-Phone/index.tsx.mustache +1 -0
  37. package/src/tasks/create/templates/Constellation/field/Text-URL/create-nonce.ts.mustache +5 -0
  38. package/src/tasks/create/templates/Constellation/field/Text-URL/index.tsx.mustache +1 -0
  39. package/src/tasks/create/templates/Constellation/field/TimeOfDay/create-nonce.ts.mustache +5 -0
  40. package/src/tasks/create/templates/Constellation/field/TimeOfDay/index.tsx.mustache +1 -0
  41. package/src/tasks/create/templates/Constellation/template/DETAILS/create-nonce.ts.mustache +5 -0
  42. package/src/tasks/create/templates/Constellation/template/DETAILS/index.tsx.mustache +1 -0
  43. package/src/tasks/create/templates/Constellation/template/DETAILS-region/create-nonce.ts.mustache +5 -0
  44. package/src/tasks/create/templates/Constellation/template/DETAILS-region/index.tsx.mustache +1 -0
  45. package/src/tasks/create/templates/Constellation/template/FORM/create-nonce.ts.mustache +5 -0
  46. package/src/tasks/create/templates/Constellation/template/FORM/demo.stories.tsx.mustache +73 -8
  47. package/src/tasks/create/templates/Constellation/template/FORM/index.tsx.mustache +4 -1
  48. package/src/tasks/create/templates/Constellation/template/FORM-region/create-nonce.ts.mustache +5 -0
  49. package/src/tasks/create/templates/Constellation/template/FORM-region/demo.stories.tsx.mustache +95 -15
  50. package/src/tasks/create/templates/Constellation/template/FORM-region/index.tsx.mustache +2 -1
  51. package/src/tasks/create/templates/Constellation/template/PAGE/create-nonce.ts.mustache +5 -0
  52. package/src/tasks/create/templates/Constellation/template/PAGE/index.tsx.mustache +1 -0
  53. package/src/tasks/create/templates/Constellation/widget/CASE/create-nonce.ts.mustache +5 -0
  54. package/src/tasks/create/templates/Constellation/widget/CASE/demo.stories.tsx.mustache +22 -22
  55. package/src/tasks/create/templates/Constellation/widget/CASE/index.tsx.mustache +1 -0
  56. package/src/tasks/create/templates/Constellation/widget/PAGE/create-nonce.ts.mustache +5 -0
  57. package/src/tasks/create/templates/Constellation/widget/PAGE/demo.stories.tsx.mustache +15 -17
  58. package/src/tasks/create/templates/Constellation/widget/PAGE/index.tsx.mustache +1 -0
  59. package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/create-nonce.ts.mustache +5 -0
  60. package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/index.tsx.mustache +1 -0
  61. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.scss.mustache +14 -1
  62. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +6 -7
  63. package/src/tasks/create/templates/SDK-Angular/field/Boolean/demo.stories.tsx.mustache +10 -0
  64. package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.html.mustache +5 -5
  65. package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.scss.mustache +0 -1
  66. package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.ts.mustache +14 -37
  67. package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.html.mustache +14 -4
  68. package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.ts.mustache +42 -5
  69. package/src/tasks/create/templates/SDK-Angular/field/Decimal/demo.stories.tsx.mustache +3 -0
  70. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/config.json.mustache +166 -0
  71. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.html.mustache +15 -6
  72. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.scss.mustache +2 -2
  73. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.ts.mustache +36 -18
  74. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.html.mustache +15 -4
  75. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.scss.mustache +18 -18
  76. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.ts.mustache +29 -5
  77. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/demo.stories.tsx.mustache +42 -41
  78. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/icon-button-url.component.ts.mustache +1 -1
  79. package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.ts.mustache +0 -3
  80. package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/picklist-autocomplete.component.ts.mustache +1 -1
  81. package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/picklist-radio-buttons.component.ts.mustache +1 -3
  82. package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/text-paragraph.component.ts.mustache +0 -2
  83. package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.html.mustache +3 -4
  84. package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.ts.mustache +0 -1
  85. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/form.component.html.mustache +1 -1
  86. package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.ts.mustache +5 -5
  87. package/src/tasks/create/templates/SDK-Angular/widget/CASE/demo.stories.tsx.mustache +35 -34
  88. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/demo.stories.tsx.mustache +27 -9
  89. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/mock.ts.mustache +25 -0
  90. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.html.mustache +10 -0
  91. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.ts.mustache +93 -1
  92. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.html.mustache +0 -2
  93. package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/config.json.mustache +166 -0
  94. package/src/tasks/create/templates/SDK-React/field/Text-Phone/index.tsx.mustache +16 -7
  95. package/src/tasks/create/templates/SDK-React/template/DETAILS/mock.ts.mustache +18 -1
  96. package/src/tasks/create/templates/SDK-React/template/FORM/demo.stories.tsx.mustache +13 -0
  97. package/src/tasks/create/templates/SDK-React/widget/CASE/demo.stories.tsx.mustache +20 -20
  98. package/src/tasks/create/templates/SDK-React/widget/PAGE/demo.stories.tsx.mustache +45 -2
  99. package/src/tasks/create/templates/SDK-React/widget/PAGE/index.tsx.mustache +168 -3
  100. package/src/tasks/create/templates/SDK-React/widget/PAGE/mock.ts.mustache +25 -0
  101. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/demo.stories.tsx.mustache +20 -20
  102. package/src/tasks/override/index.js +11 -1
  103. package/src/tasks/override-all/index.js +12 -9
  104. package/tests/assets/sdk-a/components/create/_components.md +6 -0
  105. package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/create-nonce.ts +5 -0
  106. package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/demo.stories.tsx +23 -9
  107. package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +97 -24
  108. package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/mock.ts +8 -1
  109. package/tests/assets/sdk-a/components/create/custom-constellation/field/Pega_DXIL_MyTestText/styles.ts +7 -14
  110. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/banner/banner.component.html +28 -0
  111. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/banner/banner.component.scss +64 -0
  112. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/banner/banner.component.spec.ts +22 -0
  113. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/banner/banner.component.ts +26 -0
  114. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.html +7 -4
  115. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.ts +3 -1
  116. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.html +1 -1
  117. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/operator/operator.component.ts +10 -5
  118. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.html +13 -0
  119. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.scss +43 -0
  120. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.spec.ts +22 -0
  121. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.ts +15 -0
  122. package/tests/assets/sdk-a/components/create/override-sdk/field/auto-complete/auto-complete.component.ts +1 -1
  123. package/tests/assets/sdk-a/components/create/override-sdk/field/cancel-alert/cancel-alert.component.ts +0 -2
  124. package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.html +16 -15
  125. package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.scss +14 -1
  126. package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.ts +126 -44
  127. package/tests/assets/sdk-a/components/create/override-sdk/field/currency/currency.component.html +15 -6
  128. package/tests/assets/sdk-a/components/create/override-sdk/field/currency/currency.component.ts +36 -18
  129. package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.html +5 -5
  130. package/tests/assets/sdk-a/components/create/override-sdk/field/date-time/date-time.component.ts +15 -37
  131. package/tests/assets/sdk-a/components/create/override-sdk/field/decimal/decimal.component.html +14 -4
  132. package/tests/assets/sdk-a/components/create/override-sdk/field/decimal/decimal.component.ts +42 -5
  133. package/tests/assets/sdk-a/components/create/override-sdk/field/dropdown/dropdown.component.ts +0 -3
  134. package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.html +1 -1
  135. package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.ts +4 -0
  136. package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/percentage.component.html +15 -4
  137. package/tests/assets/sdk-a/components/create/override-sdk/field/percentage/percentage.component.ts +29 -5
  138. package/tests/assets/sdk-a/components/create/override-sdk/field/radio-buttons/radio-buttons.component.ts +0 -3
  139. package/tests/assets/sdk-a/components/create/override-sdk/field/rich-text/config-ext.json +11 -0
  140. package/tests/assets/sdk-a/components/create/override-sdk/field/rich-text/rich-text.component.html +1 -1
  141. package/tests/assets/sdk-a/components/create/override-sdk/field/scalar-list/scalar-list.component.ts +2 -1
  142. package/tests/assets/sdk-a/components/create/override-sdk/field/text-area/text-area.component.ts +0 -2
  143. package/tests/assets/sdk-a/components/create/override-sdk/field/time/time.component.html +1 -0
  144. package/tests/assets/sdk-a/components/create/override-sdk/field/time/time.component.ts +2 -0
  145. package/tests/assets/sdk-a/components/create/override-sdk/field/url/url.component.html +1 -0
  146. package/tests/assets/sdk-a/components/create/override-sdk/field/url/url.component.ts +2 -0
  147. package/tests/assets/sdk-a/components/create/override-sdk/field/user-reference/user-reference.component.html +50 -45
  148. package/tests/assets/sdk-a/components/create/override-sdk/field/user-reference/user-reference.component.ts +33 -15
  149. package/tests/assets/sdk-a/components/create/override-sdk/infra/assignment/assignment.component.ts +38 -39
  150. package/tests/assets/sdk-a/components/create/override-sdk/infra/dashboard-filter/dashboard-filter.component.html +35 -0
  151. package/tests/assets/sdk-a/components/create/override-sdk/infra/dashboard-filter/dashboard-filter.component.scss +14 -0
  152. package/tests/assets/sdk-a/components/create/override-sdk/infra/dashboard-filter/dashboard-filter.component.spec.ts +24 -0
  153. package/tests/assets/sdk-a/components/create/override-sdk/infra/dashboard-filter/dashboard-filter.component.ts +89 -0
  154. package/tests/assets/sdk-a/components/create/override-sdk/infra/defer-load/defer-load.component.ts +5 -8
  155. package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.html +44 -0
  156. package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.scss +1 -0
  157. package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.spec.ts +24 -0
  158. package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/flow-container.component.ts +634 -0
  159. package/tests/assets/sdk-a/components/create/override-sdk/infra/flow-container/helpers.ts +79 -0
  160. package/tests/assets/sdk-a/components/create/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.html +1 -0
  161. package/tests/assets/sdk-a/components/create/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.scss +0 -0
  162. package/tests/assets/sdk-a/components/create/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.spec.ts +24 -0
  163. package/tests/assets/sdk-a/components/create/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.ts +24 -0
  164. package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.html +35 -0
  165. package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.scss +1 -0
  166. package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.spec.ts +24 -0
  167. package/tests/assets/sdk-a/components/create/override-sdk/infra/modal-view-container/modal-view-container.component.ts +426 -0
  168. package/tests/assets/sdk-a/components/create/override-sdk/infra/multi-step/multi-step.component.html +1 -1
  169. package/tests/assets/sdk-a/components/create/override-sdk/infra/multi-step/multi-step.component.scss +1 -0
  170. package/tests/assets/sdk-a/components/create/override-sdk/infra/navbar/navbar.component.html +4 -4
  171. package/tests/assets/sdk-a/components/create/override-sdk/infra/navbar/navbar.component.ts +6 -3
  172. package/tests/assets/sdk-a/components/create/override-sdk/infra/preview-view-container/preview-view-container.component.html +1 -0
  173. package/tests/assets/sdk-a/components/create/override-sdk/infra/preview-view-container/preview-view-container.component.scss +0 -0
  174. package/tests/assets/sdk-a/components/create/override-sdk/infra/preview-view-container/preview-view-container.component.spec.ts +24 -0
  175. package/tests/assets/sdk-a/components/create/override-sdk/infra/preview-view-container/preview-view-container.component.ts +35 -0
  176. package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.html +36 -0
  177. package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.scss +18 -0
  178. package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.spec.ts +24 -0
  179. package/tests/assets/sdk-a/components/create/override-sdk/infra/root-container/root-container.component.ts +256 -0
  180. package/tests/assets/sdk-a/components/create/override-sdk/infra/view/view.component.ts +1 -1
  181. package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.html +31 -0
  182. package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.scss +1 -0
  183. package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.spec.ts +24 -0
  184. package/tests/assets/sdk-a/components/create/override-sdk/infra/view-container/view-container.component.ts +288 -0
  185. package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/banner-page.component.html +12 -0
  186. package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/banner-page.component.scss +0 -0
  187. package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/banner-page.component.spec.ts +22 -0
  188. package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/banner-page.component.ts +65 -0
  189. package/tests/assets/sdk-a/components/create/override-sdk/template/banner-page/config-ext.json +10 -0
  190. package/tests/assets/sdk-a/components/create/override-sdk/template/case-summary/case-summary.component.ts +37 -3
  191. package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.html +3 -3
  192. package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.scss +2 -0
  193. package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.ts +0 -6
  194. package/tests/assets/sdk-a/components/create/override-sdk/template/data-reference/data-reference.component.ts +1 -3
  195. package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/config-ext.json +37 -0
  196. package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/dynamic-tabs.component.html +5 -0
  197. package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/dynamic-tabs.component.scss +0 -0
  198. package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/dynamic-tabs.component.spec.ts +22 -0
  199. package/tests/assets/sdk-a/components/create/override-sdk/template/dynamic-tabs/dynamic-tabs.component.ts +77 -0
  200. package/tests/assets/sdk-a/components/create/override-sdk/template/field-group-template/field-group-template.component.ts +4 -12
  201. package/tests/assets/sdk-a/components/create/override-sdk/template/field-value-list/field-value-list.component.html +7 -2
  202. package/tests/assets/sdk-a/components/create/override-sdk/template/field-value-list/field-value-list.component.ts +1 -0
  203. package/tests/assets/sdk-a/components/create/override-sdk/template/inline-dashboard-page/config-ext.json +10 -0
  204. package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/list-view.component.html +6 -6
  205. package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/list-view.component.ts +36 -28
  206. package/tests/assets/sdk-a/components/create/override-sdk/template/list-view/listViewHelpers.ts +0 -1
  207. package/tests/assets/sdk-a/components/create/override-sdk/template/repeating-structures/repeating-structures.component.ts +1 -2
  208. package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table/simple-table.component.ts +0 -2
  209. package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/helpers.ts +1 -1
  210. package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/simple-table-manual.component.html +1 -1
  211. package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-manual/simple-table-manual.component.ts +49 -19
  212. package/tests/assets/sdk-a/components/create/override-sdk/template/simple-table-select/simple-table-select.component.ts +2 -4
  213. package/tests/assets/sdk-a/components/create/override-sdk/template/wss-nav-bar/wss-nav-bar.component.html +32 -0
  214. package/tests/assets/sdk-a/components/create/override-sdk/template/wss-nav-bar/wss-nav-bar.component.scss +164 -0
  215. package/tests/assets/sdk-a/components/create/override-sdk/template/wss-nav-bar/wss-nav-bar.component.spec.ts +22 -0
  216. package/tests/assets/sdk-a/components/create/override-sdk/template/wss-nav-bar/wss-nav-bar.component.ts +173 -0
  217. package/tests/assets/sdk-a/components/create/override-sdk/widget/attachment/attachment.component.html +50 -26
  218. package/tests/assets/sdk-a/components/create/override-sdk/widget/attachment/attachment.component.scss +118 -0
  219. package/tests/assets/sdk-a/components/create/override-sdk/widget/attachment/attachment.component.ts +256 -501
  220. package/tests/assets/sdk-a/components/create/override-sdk/widget/case-history/case-history.component.ts +1 -2
  221. package/tests/assets/sdk-a/components/create/override-sdk/widget/feed-container/feed-container.component.ts +0 -4
  222. package/tests/assets/sdk-a/components/create/override-sdk/widget/file-utility/file-utility.component.html +2 -2
  223. package/tests/assets/sdk-a/components/create/override-sdk/widget/file-utility/file-utility.component.ts +13 -17
  224. package/tests/assets/sdk-a/components/create/override-sdk/widget/list-utility/list-utility.component.html +1 -1
  225. package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/config-ext.json +10 -0
  226. package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/quick-create.component.html +1 -0
  227. package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/quick-create.component.scss +0 -0
  228. package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/quick-create.component.spec.ts +22 -0
  229. package/tests/assets/sdk-a/components/create/override-sdk/widget/quick-create/quick-create.component.ts +96 -0
  230. package/tests/assets/sdk-a/components/create/override-sdk/widget/todo/todo.component.html +6 -5
  231. package/tests/assets/sdk-a/components/create/override-sdk/widget/todo/todo.component.ts +7 -6
  232. package/tests/assets/sdk-a/components/createAll/_components.md +6 -0
  233. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/Boolean.ts +35 -0
  234. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/create-nonce.ts +5 -0
  235. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/{demo.stories.jsx → demo.stories.tsx} +28 -20
  236. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +14 -49
  237. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/mock.ts +2 -1
  238. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/styles.ts +7 -14
  239. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/create-nonce.ts +5 -0
  240. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/demo.stories.tsx +28 -15
  241. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.tsx +25 -76
  242. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/mock.ts +11 -1
  243. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/styles.ts +7 -14
  244. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/{DateFormatter.js → DateFormatter.ts} +6 -6
  245. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/FormattedText.tsx +20 -0
  246. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/create-nonce.ts +5 -0
  247. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/{date.js → date.ts} +3 -2
  248. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/demo.stories.tsx +31 -24
  249. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.tsx +20 -60
  250. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/mock.ts +2 -1
  251. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/styles.ts +7 -14
  252. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/create-nonce.ts +5 -0
  253. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/{date-time.js → date-time.ts} +12 -12
  254. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyTimeOfDay/time-of-day.js → Pega_DXIL_MyDateTime/date-utils.ts} +27 -26
  255. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/{date.js → date.ts} +1 -0
  256. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/demo.stories.tsx +32 -25
  257. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.tsx +14 -60
  258. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/mock.ts +3 -1
  259. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/styles.ts +7 -14
  260. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/create-nonce.ts +5 -0
  261. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/demo.stories.tsx +25 -13
  262. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.tsx +16 -68
  263. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/mock.ts +9 -1
  264. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/styles.ts +7 -14
  265. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/create-nonce.ts +5 -0
  266. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/demo.stories.tsx +24 -11
  267. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.tsx +11 -47
  268. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/mock.ts +8 -1
  269. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/styles.ts +7 -14
  270. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/PConnProps.d.ts +46 -0
  271. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/create-nonce.ts +5 -0
  272. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +104 -0
  273. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/index.tsx +202 -0
  274. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/mock.ts +5 -0
  275. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/styles.ts +8 -0
  276. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/create-nonce.ts +5 -0
  277. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/demo.stories.tsx +25 -12
  278. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.tsx +25 -88
  279. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/mock.ts +8 -2
  280. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/styles.ts +7 -14
  281. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/create-nonce.ts +5 -0
  282. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/demo.stories.tsx +24 -11
  283. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.tsx +14 -49
  284. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/mock.ts +9 -1
  285. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/styles.ts +7 -14
  286. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/create-nonce.ts +5 -0
  287. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/demo.stories.tsx +25 -12
  288. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.tsx +15 -55
  289. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/mock.ts +9 -2
  290. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/styles.ts +7 -14
  291. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/create-nonce.ts +5 -0
  292. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/demo.stories.tsx +25 -11
  293. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.tsx +15 -53
  294. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/mock.ts +9 -1
  295. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/styles.ts +7 -14
  296. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/create-nonce.ts +5 -0
  297. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/demo.stories.tsx +25 -12
  298. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +14 -62
  299. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/mock.ts +9 -1
  300. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/styles.ts +7 -14
  301. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/create-nonce.ts +5 -0
  302. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/demo.stories.tsx +25 -13
  303. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/index.tsx +12 -58
  304. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/mock.ts +9 -1
  305. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/styles.ts +7 -14
  306. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyRadioButtons/{textformat-utils.jsx → textformat-utils.tsx} +1 -0
  307. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/create-nonce.ts +5 -0
  308. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{date.js → date.ts} +16 -37
  309. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/demo.stories.tsx +26 -14
  310. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{embed-utils.js → embed-utils.ts} +2 -1
  311. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +27 -76
  312. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/mock.ts +8 -1
  313. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{picklist-utils.js → picklist-utils.ts} +1 -0
  314. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{repeat-constants.js → repeat-constants.ts} +1 -1
  315. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{repeat-utils.js → repeat-utils.ts} +6 -12
  316. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/styles.ts +7 -14
  317. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{textformat-utils.jsx → textformat-utils.tsx} +30 -10
  318. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/utils.ts +4 -1
  319. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/create-nonce.ts +5 -0
  320. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/demo.stories.tsx +23 -9
  321. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +97 -24
  322. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/mock.ts +8 -1
  323. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyText/styles.ts +7 -14
  324. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/StatusWork.tsx +3 -9
  325. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/create-nonce.ts +5 -0
  326. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/demo.stories.tsx +24 -11
  327. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.tsx +12 -51
  328. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/mock.ts +9 -1
  329. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/styles.ts +7 -14
  330. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/create-nonce.ts +5 -0
  331. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +28 -22
  332. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.tsx +18 -53
  333. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/mock.ts +2 -1
  334. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/styles.ts +7 -14
  335. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/{Pega_DXIL_MyDateTime/date-utils.js → Pega_DXIL_MyTimeOfDay/time-of-day.ts} +24 -23
  336. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/create-nonce.ts +5 -0
  337. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/demo.stories.tsx +24 -11
  338. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.tsx +16 -71
  339. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/mock.ts +9 -1
  340. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/styles.ts +7 -14
  341. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/{text-url.jsx → text-url.tsx} +4 -3
  342. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Avatar.tsx +78 -0
  343. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/DetailsRender.tsx +52 -0
  344. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/HighlightRender.tsx +46 -0
  345. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Operator.tsx +215 -0
  346. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/StatusWork.tsx +17 -19
  347. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/create-nonce.ts +5 -0
  348. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/demo.stories.tsx +94 -29
  349. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +51 -52
  350. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/mock.ts +78 -20
  351. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/styles.ts +21 -12
  352. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/DetailsRender.tsx +59 -0
  353. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/create-nonce.ts +5 -0
  354. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/demo.stories.tsx +91 -16
  355. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +34 -16
  356. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/styles.ts +7 -14
  357. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +2 -1
  358. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/create-nonce.ts +5 -0
  359. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/demo.stories.tsx +14 -8
  360. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/index.tsx +6 -16
  361. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/localizations.json +4 -2
  362. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/styles.ts +7 -14
  363. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/{utils.js → utils.ts} +28 -14
  364. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +78 -0
  365. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +52 -0
  366. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +46 -0
  367. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +215 -0
  368. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +17 -19
  369. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +5 -0
  370. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +112 -34
  371. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +43 -53
  372. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +68 -10
  373. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/styles.ts +20 -12
  374. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/{utils.js → utils.ts} +15 -13
  375. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +59 -0
  376. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +5 -0
  377. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +112 -22
  378. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +27 -13
  379. package/tests/assets/sdk-a/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/styles.ts +7 -14
  380. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/create-nonce.ts +5 -0
  381. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +34 -28
  382. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/index.tsx +4 -10
  383. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/styles.ts +7 -14
  384. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +3 -13
  385. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Operator.tsx +5 -20
  386. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +5 -0
  387. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +15 -9
  388. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +25 -39
  389. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/styles.ts +7 -14
  390. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/create-nonce.ts +5 -0
  391. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +100 -16
  392. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +70 -21
  393. package/tests/assets/sdk-a/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/styles.ts +7 -14
  394. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/demo.stories.tsx +10 -0
  395. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.html +18 -17
  396. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.scss +14 -1
  397. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.ts +126 -44
  398. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/config.json +166 -0
  399. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/pega-dxil-my-currency.component.html +15 -6
  400. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/pega-dxil-my-currency.component.scss +2 -2
  401. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-currency/pega-dxil-my-currency.component.ts +36 -18
  402. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.html +5 -5
  403. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.scss +0 -1
  404. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date-time/pega-dxil-my-date-time.component.ts +14 -37
  405. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/demo.stories.tsx +3 -0
  406. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/pega-dxil-my-decimal.component.html +14 -4
  407. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-decimal/pega-dxil-my-decimal.component.ts +42 -5
  408. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/config.json +64 -0
  409. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/demo.stories.tsx +64 -0
  410. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/mock.ts +37 -0
  411. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/pega-dxil-my-icon-button-url.component.html +37 -0
  412. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/pega-dxil-my-icon-button-url.component.scss +24 -0
  413. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/pega-dxil-my-icon-button-url.component.spec.ts +26 -0
  414. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-icon-button-url/pega-dxil-my-icon-button-url.component.ts +195 -0
  415. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-paragraph/pega-dxil-my-paragraph.component.ts +0 -2
  416. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/pega-dxil-my-percentage.component.html +15 -4
  417. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/pega-dxil-my-percentage.component.scss +18 -18
  418. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-percentage/pega-dxil-my-percentage.component.ts +29 -5
  419. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-picklist/pega-dxil-my-picklist.component.ts +0 -3
  420. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-radiobuttons/pega-dxil-my-radiobuttons.component.ts +1 -3
  421. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-searchbox/pega-dxil-my-searchbox.component.ts +1 -1
  422. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-time-of-day/pega-dxil-my-time-of-day.component.html +1 -0
  423. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-time-of-day/pega-dxil-my-time-of-day.component.ts +2 -0
  424. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-url/pega-dxil-my-url.component.html +1 -0
  425. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-url/pega-dxil-my-url.component.ts +2 -0
  426. package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.html +3 -4
  427. package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.ts +0 -1
  428. package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-form/pega-dxil-my-two-column-form.component.html +1 -1
  429. package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-two-column-form/pega-dxil-my-two-column-form.component.scss +1 -1
  430. package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-case-widget/demo.stories.tsx +35 -34
  431. package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-case-widget/pega-dxil-my-case-widget.component.ts +7 -7
  432. package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/pega-dxil-my-page-case-widget.component.html +0 -2
  433. package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-case-widget/pega-dxil-my-page-case-widget.component.ts +7 -5
  434. package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/demo.stories.tsx +27 -9
  435. package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/mock.ts +25 -0
  436. package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/pega-dxil-my-page-widget.component.html +11 -1
  437. package/tests/assets/sdk-a/components/createAll/custom-sdk/widget/pega-dxil-my-page-widget/pega-dxil-my-page-widget.component.ts +93 -1
  438. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/banner/banner.component.html +28 -0
  439. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/banner/banner.component.scss +64 -0
  440. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/banner/banner.component.spec.ts +22 -0
  441. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/banner/banner.component.ts +26 -0
  442. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.html +7 -4
  443. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-case-summary/material-case-summary.component.ts +3 -1
  444. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-vertical-tabs/material-vertical-tabs.component.html +1 -1
  445. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/operator/operator.component.ts +10 -5
  446. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.html +13 -0
  447. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.scss +43 -0
  448. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.spec.ts +22 -0
  449. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/wss-quick-create/wss-quick-create.component.ts +15 -0
  450. package/tests/assets/sdk-a/components/createAll/override-sdk/field/auto-complete/auto-complete.component.ts +1 -1
  451. package/tests/assets/sdk-a/components/createAll/override-sdk/field/cancel-alert/cancel-alert.component.ts +0 -2
  452. package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.html +16 -15
  453. package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.scss +14 -1
  454. package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.ts +126 -44
  455. package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.html +15 -6
  456. package/tests/assets/sdk-a/components/createAll/override-sdk/field/currency/currency.component.ts +36 -18
  457. package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.html +5 -5
  458. package/tests/assets/sdk-a/components/createAll/override-sdk/field/date-time/date-time.component.ts +15 -37
  459. package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/decimal.component.html +14 -4
  460. package/tests/assets/sdk-a/components/createAll/override-sdk/field/decimal/decimal.component.ts +42 -5
  461. package/tests/assets/sdk-a/components/createAll/override-sdk/field/dropdown/dropdown.component.ts +0 -3
  462. package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.html +1 -1
  463. package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.ts +4 -0
  464. package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/percentage.component.html +15 -4
  465. package/tests/assets/sdk-a/components/createAll/override-sdk/field/percentage/percentage.component.ts +29 -5
  466. package/tests/assets/sdk-a/components/createAll/override-sdk/field/radio-buttons/radio-buttons.component.ts +0 -3
  467. package/tests/assets/sdk-a/components/createAll/override-sdk/field/rich-text/config-ext.json +11 -0
  468. package/tests/assets/sdk-a/components/createAll/override-sdk/field/rich-text/rich-text.component.html +1 -1
  469. package/tests/assets/sdk-a/components/createAll/override-sdk/field/scalar-list/scalar-list.component.ts +2 -1
  470. package/tests/assets/sdk-a/components/createAll/override-sdk/field/text-area/text-area.component.ts +0 -2
  471. package/tests/assets/sdk-a/components/createAll/override-sdk/field/time/time.component.html +1 -0
  472. package/tests/assets/sdk-a/components/createAll/override-sdk/field/time/time.component.ts +2 -0
  473. package/tests/assets/sdk-a/components/createAll/override-sdk/field/url/url.component.html +1 -0
  474. package/tests/assets/sdk-a/components/createAll/override-sdk/field/url/url.component.ts +2 -0
  475. package/tests/assets/sdk-a/components/createAll/override-sdk/field/user-reference/user-reference.component.html +50 -45
  476. package/tests/assets/sdk-a/components/createAll/override-sdk/field/user-reference/user-reference.component.ts +33 -15
  477. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/assignment/assignment.component.ts +38 -39
  478. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/dashboard-filter/dashboard-filter.component.html +35 -0
  479. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/dashboard-filter/dashboard-filter.component.scss +14 -0
  480. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/dashboard-filter/dashboard-filter.component.spec.ts +24 -0
  481. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/dashboard-filter/dashboard-filter.component.ts +89 -0
  482. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/defer-load/defer-load.component.ts +5 -8
  483. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.html +44 -0
  484. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.scss +1 -0
  485. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.spec.ts +24 -0
  486. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/flow-container.component.ts +634 -0
  487. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/flow-container/helpers.ts +79 -0
  488. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.html +1 -0
  489. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.scss +0 -0
  490. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.spec.ts +24 -0
  491. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/hybrid-view-container/hybrid-view-container.component.ts +24 -0
  492. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.html +35 -0
  493. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.scss +1 -0
  494. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.spec.ts +24 -0
  495. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/modal-view-container/modal-view-container.component.ts +426 -0
  496. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/multi-step/multi-step.component.html +1 -1
  497. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/multi-step/multi-step.component.scss +1 -0
  498. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/navbar/navbar.component.html +4 -4
  499. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/navbar/navbar.component.ts +6 -3
  500. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/preview-view-container/preview-view-container.component.html +1 -0
  501. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/preview-view-container/preview-view-container.component.scss +0 -0
  502. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/preview-view-container/preview-view-container.component.spec.ts +24 -0
  503. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/preview-view-container/preview-view-container.component.ts +35 -0
  504. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.html +36 -0
  505. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.scss +18 -0
  506. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.spec.ts +24 -0
  507. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/root-container/root-container.component.ts +256 -0
  508. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view/view.component.ts +1 -1
  509. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.html +31 -0
  510. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.scss +1 -0
  511. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.spec.ts +24 -0
  512. package/tests/assets/sdk-a/components/createAll/override-sdk/infra/view-container/view-container.component.ts +288 -0
  513. package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/banner-page.component.html +12 -0
  514. package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/banner-page.component.scss +0 -0
  515. package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/banner-page.component.spec.ts +22 -0
  516. package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/banner-page.component.ts +65 -0
  517. package/tests/assets/sdk-a/components/createAll/override-sdk/template/banner-page/config-ext.json +10 -0
  518. package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-summary/case-summary.component.ts +37 -3
  519. package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.html +3 -3
  520. package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.scss +2 -0
  521. package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.ts +0 -6
  522. package/tests/assets/sdk-a/components/createAll/override-sdk/template/data-reference/data-reference.component.ts +1 -3
  523. package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/config-ext.json +37 -0
  524. package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/dynamic-tabs.component.html +5 -0
  525. package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/dynamic-tabs.component.scss +0 -0
  526. package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/dynamic-tabs.component.spec.ts +22 -0
  527. package/tests/assets/sdk-a/components/createAll/override-sdk/template/dynamic-tabs/dynamic-tabs.component.ts +77 -0
  528. package/tests/assets/sdk-a/components/createAll/override-sdk/template/field-group-template/field-group-template.component.ts +4 -12
  529. package/tests/assets/sdk-a/components/createAll/override-sdk/template/field-value-list/field-value-list.component.html +7 -2
  530. package/tests/assets/sdk-a/components/createAll/override-sdk/template/field-value-list/field-value-list.component.ts +1 -0
  531. package/tests/assets/sdk-a/components/createAll/override-sdk/template/inline-dashboard-page/config-ext.json +10 -0
  532. package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/list-view.component.html +6 -6
  533. package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/list-view.component.ts +36 -28
  534. package/tests/assets/sdk-a/components/createAll/override-sdk/template/list-view/listViewHelpers.ts +0 -1
  535. package/tests/assets/sdk-a/components/createAll/override-sdk/template/repeating-structures/repeating-structures.component.ts +1 -2
  536. package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table/simple-table.component.ts +0 -2
  537. package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/helpers.ts +1 -1
  538. package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/simple-table-manual.component.html +1 -1
  539. package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-manual/simple-table-manual.component.ts +49 -19
  540. package/tests/assets/sdk-a/components/createAll/override-sdk/template/simple-table-select/simple-table-select.component.ts +2 -4
  541. package/tests/assets/sdk-a/components/createAll/override-sdk/template/wss-nav-bar/wss-nav-bar.component.html +32 -0
  542. package/tests/assets/sdk-a/components/createAll/override-sdk/template/wss-nav-bar/wss-nav-bar.component.scss +164 -0
  543. package/tests/assets/sdk-a/components/createAll/override-sdk/template/wss-nav-bar/wss-nav-bar.component.spec.ts +22 -0
  544. package/tests/assets/sdk-a/components/createAll/override-sdk/template/wss-nav-bar/wss-nav-bar.component.ts +173 -0
  545. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/attachment/attachment.component.html +50 -26
  546. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/attachment/attachment.component.scss +118 -0
  547. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/attachment/attachment.component.ts +256 -501
  548. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/case-history/case-history.component.ts +1 -2
  549. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/feed-container/feed-container.component.ts +0 -4
  550. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/file-utility/file-utility.component.html +2 -2
  551. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/file-utility/file-utility.component.ts +13 -17
  552. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/list-utility/list-utility.component.html +1 -1
  553. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/config-ext.json +10 -0
  554. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/quick-create.component.html +1 -0
  555. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/quick-create.component.scss +0 -0
  556. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/quick-create.component.spec.ts +22 -0
  557. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/quick-create/quick-create.component.ts +96 -0
  558. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/todo.component.html +6 -5
  559. package/tests/assets/sdk-a/components/createAll/override-sdk/widget/todo/todo.component.ts +7 -6
  560. package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/create-nonce.ts +5 -0
  561. package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +1 -0
  562. package/tests/assets/sdk-r/components/create/override-sdk/field/Phone/Phone.tsx +16 -7
  563. package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/Assignment.tsx +26 -0
  564. package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.tsx +16 -29
  565. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/create-nonce.ts +5 -0
  566. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +1 -0
  567. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/create-nonce.ts +5 -0
  568. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.tsx +1 -0
  569. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/create-nonce.ts +5 -0
  570. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.tsx +1 -0
  571. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/create-nonce.ts +5 -0
  572. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.tsx +1 -0
  573. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/create-nonce.ts +5 -0
  574. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.tsx +1 -0
  575. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/create-nonce.ts +5 -0
  576. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.tsx +1 -0
  577. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/create-nonce.ts +5 -0
  578. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +15 -10
  579. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/index.tsx +1 -0
  580. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/create-nonce.ts +5 -0
  581. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.tsx +1 -0
  582. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/create-nonce.ts +5 -0
  583. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.tsx +1 -0
  584. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/create-nonce.ts +5 -0
  585. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.tsx +1 -0
  586. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/create-nonce.ts +5 -0
  587. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.tsx +1 -0
  588. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/create-nonce.ts +5 -0
  589. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +1 -0
  590. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/create-nonce.ts +5 -0
  591. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/index.tsx +1 -0
  592. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/create-nonce.ts +5 -0
  593. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +1 -0
  594. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/create-nonce.ts +5 -0
  595. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +1 -0
  596. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/create-nonce.ts +5 -0
  597. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.tsx +1 -0
  598. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/create-nonce.ts +5 -0
  599. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.tsx +1 -0
  600. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/create-nonce.ts +5 -0
  601. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.tsx +1 -0
  602. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/create-nonce.ts +5 -0
  603. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +1 -0
  604. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/create-nonce.ts +5 -0
  605. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/demo.stories.tsx +73 -8
  606. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +4 -1
  607. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/create-nonce.ts +5 -0
  608. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/index.tsx +1 -0
  609. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +5 -0
  610. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
  611. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +5 -0
  612. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +95 -15
  613. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +2 -1
  614. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/create-nonce.ts +5 -0
  615. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +22 -22
  616. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
  617. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +5 -0
  618. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +1 -0
  619. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/create-nonce.ts +5 -0
  620. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +15 -17
  621. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +1 -0
  622. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +166 -0
  623. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +16 -7
  624. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/mock.ts +18 -1
  625. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/demo.stories.tsx +13 -0
  626. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +20 -20
  627. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +20 -20
  628. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +45 -2
  629. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx +168 -3
  630. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/mock.ts +25 -0
  631. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Phone/Phone.tsx +16 -7
  632. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/Assignment.tsx +26 -0
  633. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.tsx +16 -29
  634. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/Boolean.js +0 -38
  635. package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/FormattedText.jsx +0 -41
  636. /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{component-constants.js → component-constants.ts} +0 -0
  637. /package/tests/assets/sdk-a/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/{format-constants.js → format-constants.ts} +0 -0
@@ -58,6 +58,34 @@
58
58
  }
59
59
  ]
60
60
  },
61
+ {
62
+ "label": "Column settings",
63
+ "format": "GROUP",
64
+ "visibility": "@VIEWTYPE == 'MultiRecordDisplayAsTable'",
65
+ "properties": [
66
+ {
67
+ "name": "columnWidth",
68
+ "label": "Column width",
69
+ "format": "SELECT",
70
+ "source": [
71
+ {
72
+ "key": "auto",
73
+ "value": "Auto"
74
+ },
75
+ {
76
+ "key": "custom",
77
+ "value": "Custom"
78
+ }
79
+ ]
80
+ },
81
+ {
82
+ "name": "width",
83
+ "label": "Width (px)",
84
+ "format": "NUMBER",
85
+ "visibility": "$this.columnWidth == 'custom'"
86
+ }
87
+ ]
88
+ },
61
89
  {
62
90
  "label": "Input settings",
63
91
  "format": "GROUP",
@@ -69,6 +97,12 @@
69
97
  "format": "BOOLEAN",
70
98
  "defaultValue": true
71
99
  },
100
+ {
101
+ "name": "alwaysShowISOCode",
102
+ "label": "Show ISO Code",
103
+ "format": "BOOLEAN",
104
+ "defaultValue": false
105
+ },
72
106
  {
73
107
  "name": "placeholder",
74
108
  "label": "Placeholder",
@@ -81,6 +115,138 @@
81
115
  }
82
116
  ]
83
117
  },
118
+ {
119
+ "label": "Read-only settings",
120
+ "format": "GROUP",
121
+ "properties": [
122
+ {
123
+ "format": "SELECT",
124
+ "name": "formatter",
125
+ "label": "Format",
126
+ "defaultValue": "defaultCurrency",
127
+ "source": [
128
+ {
129
+ "key": "defaultCurrency",
130
+ "value": "Default"
131
+ },
132
+ {
133
+ "key": "Integer",
134
+ "value": "Integer"
135
+ },
136
+ {
137
+ "key": "Decimal",
138
+ "value": "Decimal"
139
+ },
140
+ {
141
+ "key": "Percentage",
142
+ "value": "Percentage"
143
+ }
144
+ ]
145
+ }
146
+ ]
147
+ },
148
+ {
149
+ "format": "SELECT",
150
+ "name": "currencyDisplay",
151
+ "label": "Currency display",
152
+ "visibility": "(!formatter = Integer)&&(!formatter = Decimal)&&(!formatter = Percentage)",
153
+ "defaultValue": "symbol",
154
+ "source": [
155
+ {
156
+ "key": "symbol",
157
+ "value": "Auto"
158
+ },
159
+ {
160
+ "key": "code",
161
+ "value": "Code"
162
+ },
163
+ {
164
+ "key": "name",
165
+ "value": "Name"
166
+ }
167
+ ]
168
+ },
169
+ {
170
+ "format": "SELECT",
171
+ "name": "negative",
172
+ "label": "Negative number display",
173
+ "defaultValue": "minus-sign",
174
+ "visibility": "(!formatter = Integer)&&(!formatter = Decimal)&&(!formatter = Percentage)",
175
+ "source": [
176
+ {
177
+ "key": "minus-sign",
178
+ "value": "Standard"
179
+ },
180
+ {
181
+ "key": "parentheses",
182
+ "value": "Accounting"
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "format": "SELECT",
188
+ "name": "notation",
189
+ "label": "Notation",
190
+ "visibility": "(!negative = parentheses)&&(!formatter = Percentage)",
191
+ "defaultValue": "standard",
192
+ "source": [
193
+ {
194
+ "key": "standard",
195
+ "value": "Standard"
196
+ },
197
+ {
198
+ "key": "compact",
199
+ "value": "Compact"
200
+ }
201
+ ]
202
+ },
203
+ {
204
+ "format": "NUMBER",
205
+ "name": "decimalPrecision",
206
+ "label": "Decimal places",
207
+ "visibility": "(formatter = Decimal)||(formatter = Percentage)",
208
+ "min": 0,
209
+ "max": 20
210
+ },
211
+ {
212
+ "format": "SELECT",
213
+ "name": "currencyDecimalPrecision",
214
+ "label": "Decimal places shown",
215
+ "visibility": "(!formatter = Integer)&&(!formatter = Decimal)&&(!formatter = Percentage)",
216
+ "defaultValue": "auto",
217
+ "source": [
218
+ {
219
+ "key": "auto",
220
+ "value": "Auto"
221
+ },
222
+ {
223
+ "key": "0",
224
+ "value": "None"
225
+ },
226
+ {
227
+ "key": "1",
228
+ "value": "1"
229
+ },
230
+ {
231
+ "key": "2",
232
+ "value": "2"
233
+ },
234
+ {
235
+ "key": "3",
236
+ "value": "3"
237
+ },
238
+ {
239
+ "key": "4",
240
+ "value": "4"
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "name": "showGroupSeparators",
246
+ "label": "Show thousands separator",
247
+ "format": "BOOLEAN",
248
+ "visibility": "(formatter = Decimal)||(formatter = Integer)"
249
+ },
84
250
  {
85
251
  "label": "Conditions",
86
252
  "format": "GROUP",
@@ -1,7 +1,9 @@
1
1
  import MuiPhoneNumber from 'material-ui-phone-number';
2
+ import { useEffect, useState } from 'react';
2
3
 
3
4
  import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
4
5
  import { PConnFieldProps } from '@pega/react-sdk-components/lib/types/PConnProps';
6
+ import handleEvent from '@pega/react-sdk-components/lib/components/helpers/event-utils';
5
7
 
6
8
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
7
9
 
@@ -17,6 +19,7 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
17
19
  const FieldValueList = getComponentFromMap('FieldValueList');
18
20
 
19
21
  const {
22
+ getPConnect,
20
23
  label,
21
24
  required,
22
25
  disabled,
@@ -24,7 +27,6 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
24
27
  validatemessage,
25
28
  status,
26
29
  onChange,
27
- onBlur,
28
30
  readOnly,
29
31
  testId,
30
32
  helperText,
@@ -32,6 +34,14 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
32
34
  hideLabel,
33
35
  placeholder
34
36
  } = props;
37
+
38
+ const pConn = getPConnect();
39
+ const actions = pConn.getActionsApi();
40
+ const propName = (pConn.getStateProps() as any).value;
41
+
42
+ const [inputValue, setInputValue] = useState(value);
43
+ useEffect(() => setInputValue(value), [value]);
44
+
35
45
  const helperTextToDisplay = validatemessage || helperText;
36
46
 
37
47
  let testProp = {};
@@ -79,15 +89,14 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
79
89
  }
80
90
 
81
91
  const handleChange = inputVal => {
82
- let phoneValue = inputVal && inputVal.replace(/\D+/g, '');
83
- phoneValue = `+${phoneValue}`;
84
- onChange({ value: phoneValue });
92
+ setInputValue(inputVal);
85
93
  };
86
94
 
87
95
  const handleBlur = event => {
88
96
  const phoneValue = event?.target?.value;
89
- event.target.value = `+${phoneValue && phoneValue.replace(/\D+/g, '')}`;
90
- onBlur(event);
97
+ let phoneNumber = phoneValue.split(' ').slice(1).join();
98
+ phoneNumber = phoneNumber ? `+${phoneValue && phoneValue.replace(/\D+/g, '')}` : '';
99
+ handleEvent(actions, 'changeNblur', propName, phoneNumber);
91
100
  };
92
101
 
93
102
  return (
@@ -105,7 +114,7 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
105
114
  onBlur={!readOnly ? handleBlur : undefined}
106
115
  error={status === 'error'}
107
116
  label={label}
108
- value={value}
117
+ value={inputValue}
109
118
  {{! pick new delimiters for mustache }}
110
119
  {{=<% %>=}}
111
120
  InputProps={{ ...testProp }}
@@ -190,7 +190,24 @@ export const pyReviewRaw = {
190
190
  value: '+16397975093',
191
191
  label: 'Phone',
192
192
  displayMode: 'LABELS_LEFT',
193
- hasSuggestions: false
193
+ hasSuggestions: false,
194
+ getPConnect: () => {
195
+ return {
196
+ getActionsApi: () => {
197
+ return {
198
+ updateFieldValue: () => {
199
+ /* nothing */
200
+ },
201
+ triggerFieldChange: () => {
202
+ /* nothing */
203
+ }
204
+ };
205
+ },
206
+ getStateProps: () => {
207
+ return { value: '' };
208
+ }
209
+ };
210
+ }
194
211
  },
195
212
  {
196
213
  readOnly: undefined,
@@ -182,6 +182,19 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
182
182
  return {
183
183
  getComputedVisibility: () => {
184
184
  return true;
185
+ },
186
+ getActionsApi: () => {
187
+ return {
188
+ updateFieldValue: () => {
189
+ /* nothing */
190
+ },
191
+ triggerFieldChange: () => {
192
+ /* nothing */
193
+ }
194
+ };
195
+ },
196
+ getStateProps: () => {
197
+ return { value: '' };
185
198
  }
186
199
  };
187
200
  }
@@ -3,26 +3,6 @@ import type { Meta, StoryObj } from '@storybook/react';
3
3
  import {{COMPONENT_CLASS_NAME}} from './index';
4
4
  import { historyData } from './mock';
5
5
 
6
- window.PCore = {
7
- ...window.PCore,
8
- getDataApiUtils: (): any => {
9
- return {
10
- getData: (): any => {
11
- return new Promise(resolve => {
12
- resolve(historyData);
13
- });
14
- }
15
- };
16
- },
17
- getConstants: (): any => {
18
- return {
19
- CASE_INFO: {
20
- CASE_INFO_ID: 'caseInfo.ID'
21
- }
22
- };
23
- }
24
- };
25
-
26
6
  const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
27
7
  title: '{{COMPONENT_CLASS_NAME}}',
28
8
  component: {{COMPONENT_CLASS_NAME}},
@@ -33,6 +13,26 @@ export default meta;
33
13
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
34
14
 
35
15
  export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
16
+ window.PCore = {
17
+ ...window.PCore,
18
+ getDataApiUtils: (): any => {
19
+ return {
20
+ getData: (): any => {
21
+ return new Promise(resolve => {
22
+ resolve(historyData);
23
+ });
24
+ }
25
+ };
26
+ },
27
+ getConstants: (): any => {
28
+ return {
29
+ CASE_INFO: {
30
+ CASE_INFO_ID: 'caseInfo.ID'
31
+ }
32
+ };
33
+ }
34
+ };
35
+
36
36
  const props = {
37
37
  label: 'Case history',
38
38
 
@@ -1,7 +1,7 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react';
2
2
 
3
3
  import {{COMPONENT_CLASS_NAME}} from './index';
4
- import { configProps } from './mock';
4
+ import { configProps, worklistData } from './mock';
5
5
 
6
6
  const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
7
7
  title: '{{COMPONENT_CLASS_NAME}}',
@@ -13,9 +13,52 @@ export default meta;
13
13
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
14
14
 
15
15
  export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
16
+ window.PCore = {
17
+ ...window.PCore,
18
+ getDataApiUtils: (): any => {
19
+ return {
20
+ getData: () => {
21
+ return new Promise(resolve => {
22
+ resolve(worklistData);
23
+ });
24
+ }
25
+ };
26
+ },
27
+ getConstants: (): any => {
28
+ return {
29
+ CASE_INFO: {
30
+ INSTRUCTIONS: 'caseInfo.assignments[0].instructions'
31
+ }
32
+ };
33
+ },
34
+ };
35
+
16
36
  const props = {
17
37
  datasource: configProps.datasource,
18
- whatsnewlink: configProps.whatsnewlink
38
+ whatsnewlink: configProps.whatsnewlink,
39
+ getPConnect: () => {
40
+ return {
41
+ getValue: value => {
42
+ return value;
43
+ },
44
+ getContextName: () => {
45
+ return 'app/primary_1';
46
+ },
47
+ getLocalizedValue: value => {
48
+ return value;
49
+ },
50
+ getActionsApi: () => {
51
+ return {
52
+ updateFieldValue: () => {
53
+ /* nothing */
54
+ },
55
+ triggerFieldChange: () => {
56
+ /* nothing */
57
+ }
58
+ };
59
+ }
60
+ };
61
+ }
19
62
  };
20
63
 
21
64
  return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />;
@@ -1,7 +1,26 @@
1
- import { Card, CardContent, CardHeader, Typography, CardActions, Button } from '@material-ui/core';
1
+ import {
2
+ Card,
3
+ CardContent,
4
+ CardHeader,
5
+ Typography,
6
+ CardActions,
7
+ Button,
8
+ TableContainer,
9
+ Table,
10
+ TableBody,
11
+ TableHead,
12
+ withStyles,
13
+ createStyles,
14
+ Theme,
15
+ TableCell,
16
+ TableRow
17
+ } from '@material-ui/core';
2
18
  import { makeStyles } from '@material-ui/core/styles';
3
19
  import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
4
20
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
21
+ import isDeepEqual from 'fast-deep-equal/react';
22
+ import { Utils } from '@pega/react-sdk-components/lib/components/helpers/utils';
23
+ import { useRef, useEffect, useState } from 'react';
5
24
 
6
25
  interface {{COMPONENT_CLASS_NAME}}Props extends PConnProps {
7
26
  // If any, enter additional props that only exist on this component
@@ -20,13 +39,29 @@ const useStyles = makeStyles(theme => ({
20
39
  }
21
40
  }));
22
41
 
23
- // Duplicated runtime code from React SDK
42
+ const StyledTableCell = withStyles((theme: Theme) =>
43
+ createStyles({
44
+ head: {
45
+ borderWidth: '1px',
46
+ borderStyle: 'solid',
47
+ borderColor: 'silver',
48
+ backgroundColor: theme.palette.text.disabled,
49
+ color: theme.palette.getContrastText(theme.palette.text.disabled)
50
+ },
51
+ body: {
52
+ borderWidth: '1px',
53
+ borderStyle: 'solid',
54
+ borderColor: 'silver'
55
+ // fontSize: 14,
56
+ }
57
+ })
58
+ )(TableCell);
24
59
 
25
60
  // Page Widget example is the "App Announcment"
26
61
 
27
62
  // props passed in combination of props from property panel (config.json) and run time props from Constellation
28
63
  export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
29
- const { header = '', description = '', datasource = [], whatsnewlink = '' } = props;
64
+ const { header = '', description = '', datasource = [], whatsnewlink = '', getPConnect } = props;
30
65
  let details = [];
31
66
  if (datasource && datasource.source) {
32
67
  details = datasource.source.map(item => {
@@ -34,12 +69,136 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
34
69
  });
35
70
  }
36
71
 
72
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
73
+ const [waitingForData, setWaitingForData] = useState<boolean>(true);
74
+ const thePConn = getPConnect();
75
+ const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly
76
+ const dataViewName = 'D_pyWorkHistory';
77
+ const context = thePConn.getContextName();
78
+
79
+ const rowData: any = useRef([]);
80
+
37
81
  const classes = useStyles();
38
82
 
83
+ const displayedColumns = [
84
+ {
85
+ label: thePConn.getLocalizedValue('Case type', '', ''),
86
+ type: 'TextInput',
87
+ fieldName: 'pxProcessName'
88
+ }, // 2nd and 3rd args empty string until typedef marked correctly
89
+ {
90
+ label: thePConn.getLocalizedValue('Key', '', ''),
91
+ type: 'TextInput',
92
+ fieldName: 'pxRefObjectInsName'
93
+ }, // 2nd and 3rd args empty string until typedef marked correctly
94
+ {
95
+ label: thePConn.getLocalizedValue('Status', '', ''),
96
+ type: 'TextInput',
97
+ fieldName: 'pyAssignmentStatus'
98
+ }, // 2nd and 3rd args empty string until typedef marked correctly
99
+ {
100
+ label: thePConn.getLocalizedValue('Stage', '', ''),
101
+ type: 'TextInput',
102
+ fieldName: 'pxTaskLabel'
103
+ } // 2nd and 3rd args empty string until typedef marked correctly
104
+ ];
105
+
106
+ function computeRowData(rows: Object[]): void {
107
+ const theRowData: Object[] = [];
108
+
109
+ rows.forEach((row: any, rowIndex: number) => {
110
+ // Now, for each property in the index of row properties (displayedColumns), add an object
111
+ // to a new array of values
112
+ const rowDisplayValues: any = [];
113
+
114
+ displayedColumns.forEach((column: any, rowValIndex) => {
115
+ const theType = column.type;
116
+ const theFieldName = column.fieldName;
117
+ const theValue =
118
+ theType === 'Date' || theType === 'DateTime' ? Utils.generateDateTime(row[theFieldName], 'DateTime-Short') : row[theFieldName];
119
+ rowDisplayValues[rowValIndex] = theValue;
120
+ });
121
+
122
+ theRowData[rowIndex] = rowDisplayValues;
123
+ });
124
+
125
+ if (!isDeepEqual(theRowData, rowData.current)) {
126
+ // Only update rowData.current when it actually changes (to prevent infinite loop)
127
+ rowData.current = theRowData;
128
+ }
129
+ }
130
+
39
131
  const handleClick = () => {
40
132
  window.open(whatsnewlink);
41
133
  };
42
134
 
135
+ // Get the case history data when component mounted/initialized
136
+ useEffect(() => {
137
+ let bCallSetWaitingForData = true;
138
+
139
+ const worklistData = PCore.getDataApiUtils().getData(
140
+ dataViewName,
141
+ { dataViewParameters: [{ CaseInstanceKey: caseID }] } as any,
142
+ context
143
+ ) as Promise<any>;
144
+
145
+ worklistData.then((worklistJSON: any) => {
146
+ const tableDataResults = worklistJSON.data.data;
147
+
148
+ // compute the rowData using the tableDataResults
149
+ computeRowData(tableDataResults);
150
+
151
+ // At this point, if we have data ready to render and haven't been asked
152
+ // to NOT call setWaitingForData, we can stop progress indicator
153
+ if (bCallSetWaitingForData) {
154
+ setWaitingForData(false);
155
+ }
156
+ });
157
+
158
+ return () => {
159
+ // Inspired by https://juliangaramendy.dev/blog/use-promise-subscription
160
+ // The useEffect closure lets us have access to the bCallSetWaitingForData
161
+ // variable inside the useEffect and inside the "then" clause of the
162
+ // historyData promise
163
+ // So, if this cleanup code gets run before the promise .then is called,
164
+ // we can avoid calling the useState setter which would otherwise show a warning
165
+ bCallSetWaitingForData = false;
166
+ };
167
+ }, []);
168
+
169
+ function getTableHeader() {
170
+ const theRowKey = 'CaseHistory.TableHeader';
171
+
172
+ const theHeaderCells: any[] = displayedColumns.map((headerCol, index) => {
173
+ const theCellKey = `${theRowKey}.${index}`;
174
+ return <StyledTableCell key={theCellKey}>{headerCol.label}</StyledTableCell>;
175
+ });
176
+
177
+ return <TableRow key={theRowKey}>{theHeaderCells}</TableRow>;
178
+ }
179
+
180
+ function getTableData() {
181
+ const theDataRows: any[] = [];
182
+
183
+ // Note: using rowData.current since we're using useRef as a mutatable
184
+ // value that's only updated when it changes.
185
+ if (rowData.current.length > 0) {
186
+ rowData.current.forEach((dataRow: Object[], index) => {
187
+ // using dataRow[0]-dataRow[1] as the array key since it's a unique value
188
+ const theKey = `CaseHistory-${index}`;
189
+ theDataRows.push(
190
+ <TableRow key={theKey}>
191
+ <StyledTableCell>{dataRow[0] ? (dataRow[0] as any) : '---'}</StyledTableCell>
192
+ <StyledTableCell>{dataRow[1] ? (dataRow[1] as any) : '---'}</StyledTableCell>
193
+ <StyledTableCell>{dataRow[2] ? (dataRow[2] as any) : '---'}</StyledTableCell>
194
+ <StyledTableCell>{dataRow[3] ? (dataRow[3] as any) : '---'}</StyledTableCell>
195
+ </TableRow>
196
+ );
197
+ });
198
+ }
199
+ return theDataRows;
200
+ }
201
+
43
202
  return (
44
203
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
45
204
  <Card title='AppAnnouncement' className={classes.root}>
@@ -63,6 +222,12 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
63
222
  </Button>
64
223
  </CardActions>
65
224
  </Card>
225
+ <TableContainer>
226
+ <Table>
227
+ <TableHead>{getTableHeader()}</TableHead>
228
+ <TableBody>{getTableData()}</TableBody>
229
+ </Table>
230
+ </TableContainer>
66
231
  </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
67
232
  );
68
233
  }
@@ -21,3 +21,28 @@ export const configProps = {
21
21
  fields: {}
22
22
  }
23
23
  };
24
+
25
+ export const worklistData = {
26
+ data: {
27
+ data: [
28
+ {
29
+ pxProcessName: 'Loan',
30
+ pxRefObjectInsName: ' A-8002',
31
+ pyAssignmentStatus: 'New',
32
+ pxTaskLabel: 'Details'
33
+ },
34
+ {
35
+ pxProcessName: 'Loan',
36
+ pxRefObjectInsName: ' A-7001',
37
+ pyAssignmentStatus: 'Open',
38
+ pxTaskLabel: 'Info'
39
+ },
40
+ {
41
+ pxProcessName: 'Loan',
42
+ pxRefObjectInsName: ' A-9000',
43
+ pyAssignmentStatus: 'Open',
44
+ pxTaskLabel: 'Amount'
45
+ }
46
+ ]
47
+ }
48
+ };