@pega/dx-component-builder-sdk 24.2.14 → 25.1.11

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 (556) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
  3. package/src/constants.js +46 -0
  4. package/src/tasks/create/index.js +50 -51
  5. package/src/tasks/create/templates/Constellation/field/Boolean/Boolean.ts.mustache +1 -1
  6. package/src/tasks/create/templates/Constellation/field/Boolean/config.json.mustache +0 -1
  7. package/src/tasks/create/templates/Constellation/field/Date/config.json.mustache +0 -1
  8. package/src/tasks/create/templates/Constellation/field/Date/date.ts.mustache +0 -1
  9. package/src/tasks/create/templates/Constellation/field/DateTime/config.json.mustache +0 -1
  10. package/src/tasks/create/templates/Constellation/field/Decimal/config.json.mustache +0 -1
  11. package/src/tasks/create/templates/Constellation/field/Decimal-Currency/config.json.mustache +0 -1
  12. package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/config.json.mustache +0 -1
  13. package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/config.json.mustache +0 -1
  14. package/src/tasks/create/templates/Constellation/field/Integer/config.json.mustache +0 -1
  15. package/src/tasks/create/templates/Constellation/field/Picklist/config.json.mustache +0 -1
  16. package/src/tasks/create/templates/Constellation/field/Picklist/index.tsx.mustache +0 -1
  17. package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/config.json.mustache +0 -1
  18. package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/date.ts.mustache +0 -2
  19. package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/index.tsx.mustache +7 -2
  20. package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/repeat-utils.ts.mustache +0 -4
  21. package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/config.json.mustache +0 -1
  22. package/src/tasks/create/templates/Constellation/field/Picklist-RadioButtons/index.tsx.mustache +1 -2
  23. package/src/tasks/create/templates/Constellation/field/Text/config.json.mustache +0 -1
  24. package/src/tasks/create/templates/Constellation/field/Text-Email/config.json.mustache +0 -1
  25. package/src/tasks/create/templates/Constellation/field/Text-Input/{StatusWork.tsx → StatusWork.tsx.mustache} +0 -1
  26. package/src/tasks/create/templates/Constellation/field/Text-Input/config.json.mustache +0 -1
  27. package/src/tasks/create/templates/Constellation/field/Text-Paragraph/config.json.mustache +0 -1
  28. package/src/tasks/create/templates/Constellation/field/Text-Phone/config.json.mustache +0 -1
  29. package/src/tasks/create/templates/Constellation/field/Text-URL/config.json.mustache +0 -1
  30. package/src/tasks/create/templates/Constellation/field/TimeOfDay/config.json.mustache +0 -1
  31. package/src/tasks/create/templates/Constellation/template/DETAILS/Avatar.tsx.mustache +0 -1
  32. package/src/tasks/create/templates/Constellation/template/DETAILS/HighlightRender.tsx.mustache +0 -1
  33. package/src/tasks/create/templates/Constellation/template/DETAILS/StatusWork.tsx.mustache +0 -1
  34. package/src/tasks/create/templates/Constellation/template/DETAILS/config.json.mustache +0 -1
  35. package/src/tasks/create/templates/Constellation/template/DETAILS/utils.js.mustache +0 -2
  36. package/src/tasks/create/templates/Constellation/template/DETAILS-region/Avatar.tsx.mustache +0 -1
  37. package/src/tasks/create/templates/Constellation/template/DETAILS-region/HighlightRender.tsx.mustache +0 -1
  38. package/src/tasks/create/templates/Constellation/template/DETAILS-region/StatusWork.tsx.mustache +0 -1
  39. package/src/tasks/create/templates/Constellation/template/DETAILS-region/config.json.mustache +0 -1
  40. package/src/tasks/create/templates/Constellation/template/DETAILS-region/mock.ts.mustache +0 -1
  41. package/src/tasks/create/templates/Constellation/template/FORM/config.json.mustache +0 -1
  42. package/src/tasks/create/templates/Constellation/template/FORM-region/config.json.mustache +0 -1
  43. package/src/tasks/create/templates/Constellation/template/PAGE/GetNextWork.tsx.mustache +0 -1
  44. package/src/tasks/create/templates/Constellation/template/PAGE/config.json.mustache +0 -1
  45. package/src/tasks/create/templates/Constellation/widget/CASE/config.json.mustache +0 -1
  46. package/src/tasks/create/templates/Constellation/widget/PAGE/config.json.mustache +0 -1
  47. package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/Avatar.tsx.mustache +0 -1
  48. package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/config.json.mustache +0 -1
  49. package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/index.tsx.mustache +0 -2
  50. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.html.mustache +14 -6
  51. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +4 -3
  52. package/src/tasks/create/templates/SDK-Angular/field/Boolean/config.json.mustache +0 -1
  53. package/src/tasks/create/templates/SDK-Angular/field/Date/config.json.mustache +0 -1
  54. package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.ts.mustache +1 -2
  55. package/src/tasks/create/templates/SDK-Angular/field/DateTime/config.json.mustache +0 -1
  56. package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.ts.mustache +1 -2
  57. package/src/tasks/create/templates/SDK-Angular/field/Decimal/config.json.mustache +0 -1
  58. package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.ts.mustache +0 -1
  59. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/config.json.mustache +0 -1
  60. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.ts.mustache +4 -3
  61. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/config.json.mustache +0 -1
  62. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.ts.mustache +1 -2
  63. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/config.json.mustache +0 -1
  64. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/icon-button-url.component.ts.mustache +0 -1
  65. package/src/tasks/create/templates/SDK-Angular/field/Integer/config.json.mustache +0 -1
  66. package/src/tasks/create/templates/SDK-Angular/field/Integer/integer.component.ts.mustache +1 -2
  67. package/src/tasks/create/templates/SDK-Angular/field/Picklist/config.json.mustache +0 -1
  68. package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.ts.mustache +7 -6
  69. package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/config.json.mustache +0 -1
  70. package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/picklist-autocomplete.component.html.mustache +0 -1
  71. package/src/tasks/create/templates/SDK-Angular/field/Picklist-Autocomplete/picklist-autocomplete.component.ts.mustache +10 -14
  72. package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/config.json.mustache +0 -1
  73. package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/picklist-radio-buttons.component.html.mustache +14 -6
  74. package/src/tasks/create/templates/SDK-Angular/field/Picklist-RadioButtons/picklist-radio-buttons.component.ts.mustache +5 -2
  75. package/src/tasks/create/templates/SDK-Angular/field/Text/config.json.mustache +0 -1
  76. package/src/tasks/create/templates/SDK-Angular/field/Text/text.component.ts.mustache +0 -1
  77. package/src/tasks/create/templates/SDK-Angular/field/Text-Email/config.json.mustache +0 -1
  78. package/src/tasks/create/templates/SDK-Angular/field/Text-Email/text-email.component.ts.mustache +1 -2
  79. package/src/tasks/create/templates/SDK-Angular/field/Text-Input/config.json.mustache +0 -1
  80. package/src/tasks/create/templates/SDK-Angular/field/Text-Input/text.component.ts.mustache +1 -2
  81. package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/config.json.mustache +0 -1
  82. package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/text-paragraph.component.ts.mustache +1 -2
  83. package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/config.json.mustache +0 -1
  84. package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.html.mustache +5 -4
  85. package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.ts.mustache +17 -5
  86. package/src/tasks/create/templates/SDK-Angular/field/Text-URL/config.json.mustache +0 -1
  87. package/src/tasks/create/templates/SDK-Angular/field/Text-URL/text-url.component.ts.mustache +1 -2
  88. package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/config.json.mustache +0 -1
  89. package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/time-of-day.component.ts.mustache +1 -2
  90. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/config.json.mustache +0 -1
  91. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/config.json.mustache +0 -1
  92. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/mock.ts.mustache +0 -1
  93. package/src/tasks/create/templates/SDK-Angular/template/FORM/config.json.mustache +0 -1
  94. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/config.json.mustache +0 -1
  95. package/src/tasks/create/templates/SDK-Angular/template/PAGE/config.json.mustache +0 -1
  96. package/src/tasks/create/templates/SDK-Angular/widget/CASE/config.json.mustache +0 -1
  97. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/config.json.mustache +0 -1
  98. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/mock.ts.mustache +0 -1
  99. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/config.json.mustache +0 -1
  100. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.ts.mustache +0 -1
  101. package/src/tasks/create/templates/SDK-React/field/Boolean/config.json.mustache +0 -1
  102. package/src/tasks/create/templates/SDK-React/field/Boolean/index.tsx.mustache +96 -5
  103. package/src/tasks/create/templates/SDK-React/field/Date/config.json.mustache +0 -1
  104. package/src/tasks/create/templates/SDK-React/field/DateTime/config.json.mustache +0 -1
  105. package/src/tasks/create/templates/SDK-React/field/Decimal/config.json.mustache +0 -1
  106. package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/config.json.mustache +0 -1
  107. package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/config.json.mustache +0 -1
  108. package/src/tasks/create/templates/SDK-React/field/Icon-Button-URL/config.json.mustache +0 -1
  109. package/src/tasks/create/templates/SDK-React/field/Icon-Button-URL/index.tsx.mustache +0 -2
  110. package/src/tasks/create/templates/SDK-React/field/Icon-Button-URL/mock.ts.mustache +0 -1
  111. package/src/tasks/create/templates/SDK-React/field/Integer/config.json.mustache +0 -1
  112. package/src/tasks/create/templates/SDK-React/field/Picklist/config.json.mustache +0 -1
  113. package/src/tasks/create/templates/SDK-React/field/Picklist/index.tsx.mustache +0 -1
  114. package/src/tasks/create/templates/SDK-React/field/Picklist-Autocomplete/config.json.mustache +0 -1
  115. package/src/tasks/create/templates/SDK-React/field/Picklist-RadioButtons/config.json.mustache +0 -1
  116. package/src/tasks/create/templates/SDK-React/field/Picklist-RadioButtons/index.tsx.mustache +48 -1
  117. package/src/tasks/create/templates/SDK-React/field/Text/config.json.mustache +0 -1
  118. package/src/tasks/create/templates/SDK-React/field/Text/mock.ts.mustache +0 -1
  119. package/src/tasks/create/templates/SDK-React/field/Text-Email/config.json.mustache +0 -1
  120. package/src/tasks/create/templates/SDK-React/field/Text-Email/mock.ts.mustache +0 -1
  121. package/src/tasks/create/templates/SDK-React/field/Text-Input/config.json.mustache +0 -1
  122. package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/config.json.mustache +0 -1
  123. package/src/tasks/create/templates/SDK-React/field/Text-Phone/config.json.mustache +0 -1
  124. package/src/tasks/create/templates/SDK-React/field/Text-Phone/index.tsx.mustache +6 -4
  125. package/src/tasks/create/templates/SDK-React/field/Text-Phone/mock.ts.mustache +0 -1
  126. package/src/tasks/create/templates/SDK-React/field/Text-URL/config.json.mustache +0 -1
  127. package/src/tasks/create/templates/SDK-React/field/Text-URL/mock.ts.mustache +0 -1
  128. package/src/tasks/create/templates/SDK-React/field/TimeOfDay/config.json.mustache +0 -1
  129. package/src/tasks/create/templates/SDK-React/template/DETAILS/config.json.mustache +0 -1
  130. package/src/tasks/create/templates/SDK-React/template/DETAILS/index.tsx.mustache +10 -11
  131. package/src/tasks/create/templates/SDK-React/template/DETAILS-region/config.json.mustache +0 -1
  132. package/src/tasks/create/templates/SDK-React/template/DETAILS-region/index.tsx.mustache +9 -10
  133. package/src/tasks/create/templates/SDK-React/template/FORM/config.json.mustache +0 -1
  134. package/src/tasks/create/templates/SDK-React/template/FORM/index.tsx.mustache +0 -1
  135. package/src/tasks/create/templates/SDK-React/template/FORM-region/config.json.mustache +0 -1
  136. package/src/tasks/create/templates/SDK-React/template/FORM-region/demo.stories.tsx.mustache +5 -3
  137. package/src/tasks/create/templates/SDK-React/template/FORM-region/index.tsx.mustache +10 -8
  138. package/src/tasks/create/templates/SDK-React/template/PAGE/OneColumn.tsx.mustache +8 -5
  139. package/src/tasks/create/templates/SDK-React/template/PAGE/config.json.mustache +0 -1
  140. package/src/tasks/create/templates/SDK-React/widget/CASE/config.json.mustache +0 -1
  141. package/src/tasks/create/templates/SDK-React/widget/CASE/index.tsx.mustache +3 -3
  142. package/src/tasks/create/templates/SDK-React/widget/CASE/mock.ts.mustache +0 -1
  143. package/src/tasks/create/templates/SDK-React/widget/PAGE/config.json.mustache +0 -1
  144. package/src/tasks/create/templates/SDK-React/widget/PAGE/index.tsx.mustache +3 -3
  145. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/config.json.mustache +0 -1
  146. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/index.tsx.mustache +14 -12
  147. package/src/tasks/create-all/index.js +68 -55
  148. package/src/tasks/validator/index.js +22 -2
  149. package/src/util.js +89 -4
  150. package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/demo.stories.tsx +0 -1
  151. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/config.json +0 -1
  152. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/mock.ts +0 -1
  153. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/Banner.css +1 -1
  154. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/Banner.tsx +10 -7
  155. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +0 -1
  156. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +53 -37
  157. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/DetailsFields/DetailsFields.tsx +11 -13
  158. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +8 -9
  159. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroupList/FieldGroupList.tsx +9 -9
  160. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldValueList/FieldValueList.tsx +8 -9
  161. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Operator/Operator.tsx +21 -19
  162. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Pulse/Pulse.tsx +1 -1
  163. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/RichTextEditor/RichTextEditor.tsx +32 -4
  164. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.css +7 -14
  165. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +13 -2
  166. package/tests/assets/sdk-r/components/create/override-sdk/field/AutoComplete/AutoComplete.tsx +1 -1
  167. package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.css +4 -4
  168. package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.tsx +7 -10
  169. package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/Checkbox.tsx +97 -4
  170. package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/Currency.tsx +10 -7
  171. package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/currency-utils.ts +1 -2
  172. package/tests/assets/sdk-r/components/create/override-sdk/field/Date/Date.tsx +8 -8
  173. package/tests/assets/sdk-r/components/create/override-sdk/field/DateTime/DateTime.tsx +16 -13
  174. package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/Decimal.tsx +10 -7
  175. package/tests/assets/sdk-r/components/create/override-sdk/field/Dropdown/Dropdown.tsx +30 -25
  176. package/tests/assets/sdk-r/components/create/override-sdk/field/Email/Email.tsx +11 -13
  177. package/tests/assets/sdk-r/components/create/override-sdk/field/Group/Group.tsx +10 -8
  178. package/tests/assets/sdk-r/components/create/override-sdk/field/Integer/Integer.tsx +5 -7
  179. package/tests/assets/sdk-r/components/create/override-sdk/field/Location/Location.css +4 -0
  180. package/tests/assets/sdk-r/components/create/override-sdk/field/Location/Location.tsx +258 -0
  181. package/tests/assets/sdk-r/components/create/override-sdk/field/Location/config-ext.json +10 -0
  182. package/tests/assets/sdk-r/components/create/override-sdk/field/Location/index.tsx +1 -0
  183. package/tests/assets/sdk-r/components/create/override-sdk/field/Multiselect/utils.ts +1 -1
  184. package/tests/assets/sdk-r/components/create/override-sdk/field/ObjectReference/ObjectReference.tsx +235 -0
  185. package/tests/assets/sdk-r/components/create/override-sdk/field/ObjectReference/index.tsx +1 -0
  186. package/tests/assets/sdk-r/components/create/override-sdk/field/ObjectReference/utils.ts +111 -0
  187. package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/Percentage.tsx +9 -9
  188. package/tests/assets/sdk-r/components/create/override-sdk/field/Phone/Phone.tsx +7 -5
  189. package/tests/assets/sdk-r/components/create/override-sdk/field/RadioButtons/RadioButtons.tsx +47 -5
  190. package/tests/assets/sdk-r/components/create/override-sdk/field/RichText/RichText.css +79 -0
  191. package/tests/assets/sdk-r/components/create/override-sdk/field/RichText/RichText.tsx +3 -1
  192. package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/ScalarList.tsx +2 -4
  193. package/tests/assets/sdk-r/components/create/override-sdk/field/SelectableCard/SelectableCard.tsx +175 -0
  194. package/tests/assets/sdk-r/components/create/override-sdk/field/SelectableCard/index.tsx +1 -0
  195. package/tests/assets/sdk-r/components/create/override-sdk/field/SelectableCard/utils.tsx +223 -0
  196. package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/SemanticLink.tsx +160 -28
  197. package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/utils.ts +1 -1
  198. package/tests/assets/sdk-r/components/create/override-sdk/field/TextArea/TextArea.tsx +5 -7
  199. package/tests/assets/sdk-r/components/create/override-sdk/field/TextContent/TextContent.tsx +1 -2
  200. package/tests/assets/sdk-r/components/create/override-sdk/field/TextInput/TextInput.tsx +5 -7
  201. package/tests/assets/sdk-r/components/create/override-sdk/field/Time/Time.tsx +4 -8
  202. package/tests/assets/sdk-r/components/create/override-sdk/field/URL/URL.tsx +5 -7
  203. package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/UserReference.tsx +3 -6
  204. package/tests/assets/sdk-r/components/create/override-sdk/infra/ActionButtons/ActionButtons.tsx +28 -21
  205. package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/Assignment.tsx +39 -36
  206. package/tests/assets/sdk-r/components/create/override-sdk/infra/AssignmentCard/AssignmentCard.tsx +2 -2
  207. package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +5 -9
  208. package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/filterUtils.tsx +3 -6
  209. package/tests/assets/sdk-r/components/create/override-sdk/infra/DeferLoad/DeferLoad.tsx +7 -9
  210. package/tests/assets/sdk-r/components/create/override-sdk/infra/ErrorBoundary/ErrorBoundary.tsx +1 -3
  211. package/tests/assets/sdk-r/components/create/override-sdk/infra/FlowContainer/FlowContainer.tsx +21 -113
  212. package/tests/assets/sdk-r/components/create/override-sdk/infra/FlowContainer/helpers.ts +1 -5
  213. package/tests/assets/sdk-r/components/create/override-sdk/infra/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.tsx +4 -3
  214. package/tests/assets/sdk-r/components/create/override-sdk/infra/ModalViewContainer/ModalViewContainer.tsx +7 -6
  215. package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.css +48 -70
  216. package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.tsx +27 -58
  217. package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.css +1 -1
  218. package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.tsx +43 -32
  219. package/tests/assets/sdk-r/components/create/override-sdk/infra/Reference/Reference.tsx +3 -4
  220. package/tests/assets/sdk-r/components/create/override-sdk/infra/Region/Region.tsx +1 -1
  221. package/tests/assets/sdk-r/components/create/override-sdk/infra/RootContainer/RootContainer.tsx +3 -4
  222. package/tests/assets/sdk-r/components/create/override-sdk/infra/SimpleView/helper.ts +1 -1
  223. package/tests/assets/sdk-r/components/create/override-sdk/infra/Stages/Stages.tsx +3 -4
  224. package/tests/assets/sdk-r/components/create/override-sdk/infra/View/View.tsx +4 -3
  225. package/tests/assets/sdk-r/components/create/override-sdk/infra/ViewContainer/ViewContainer.tsx +4 -5
  226. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/AdvancedSearch.tsx +86 -0
  227. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroup/persistUtils.ts +52 -0
  228. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroups/SearchGroups.tsx +244 -0
  229. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroups/hooks.ts +37 -0
  230. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroups/index.tsx +1 -0
  231. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroups/utils.ts +29 -0
  232. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/TemplateContext.ts +11 -0
  233. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/config-ext.json +10 -0
  234. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/index.tsx +1 -0
  235. package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/AppShell.css +1 -1
  236. package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/AppShell.tsx +22 -23
  237. package/tests/assets/sdk-r/components/create/override-sdk/template/BannerPage/BannerPage.tsx +2 -2
  238. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseSummary/CaseSummary.tsx +28 -41
  239. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/CaseView.tsx +32 -38
  240. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +1 -1
  241. package/tests/assets/sdk-r/components/create/override-sdk/template/Confirmation/Confirmation.tsx +3 -4
  242. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/DataReference.tsx +312 -106
  243. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/DataReferenceAdvancedSearchContext.ts +10 -0
  244. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/SearchForm.tsx +149 -0
  245. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/utils.ts +90 -0
  246. package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/DefaultForm.tsx +3 -3
  247. package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/utils/index.ts +1 -3
  248. package/tests/assets/sdk-r/components/create/override-sdk/template/Details/Details.tsx +11 -11
  249. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsSubTabs/DetailsSubTabs.tsx +2 -2
  250. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +11 -11
  251. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +11 -11
  252. package/tests/assets/sdk-r/components/create/override-sdk/template/DynamicTabs/DynamicTabs.tsx +1 -2
  253. package/tests/assets/sdk-r/components/create/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +2 -5
  254. package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboard/InlineDashboard.tsx +14 -16
  255. package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboardPage/InlineDashboardPage.tsx +2 -2
  256. package/tests/assets/sdk-r/components/create/override-sdk/template/ListPage/ListPage.tsx +1 -1
  257. package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.tsx +285 -204
  258. package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/hooks.ts +1 -5
  259. package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/utils.ts +38 -6
  260. package/tests/assets/sdk-r/components/create/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +1 -1
  261. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWide/NarrowWide.tsx +5 -5
  262. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +11 -11
  263. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/NarrowWideForm.tsx +2 -2
  264. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWidePage/NarrowWidePage.tsx +2 -2
  265. package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumn/OneColumn.tsx +7 -7
  266. package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnPage/OneColumnPage.tsx +1 -1
  267. package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnTab/OneColumnTab.tsx +2 -2
  268. package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/PromotedFilters.tsx +1 -3
  269. package/tests/assets/sdk-r/components/create/override-sdk/template/SearchGroups/SearchGroups.tsx +244 -0
  270. package/tests/assets/sdk-r/components/create/override-sdk/template/SearchGroups/hooks.ts +37 -0
  271. package/tests/assets/sdk-r/components/create/override-sdk/template/SearchGroups/index.tsx +1 -0
  272. package/tests/assets/sdk-r/components/create/override-sdk/template/SearchGroups/utils.ts +29 -0
  273. package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTable/SimpleTable.tsx +2 -5
  274. package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +99 -84
  275. package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableSelect/SimpleTableSelect.tsx +3 -5
  276. package/tests/assets/sdk-r/components/create/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +10 -2
  277. package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/SubTabs.tsx +2 -2
  278. package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/tabUtils.ts +118 -1
  279. package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/TwoColumn.tsx +9 -10
  280. package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnPage/TwoColumnPage.tsx +1 -1
  281. package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/TwoColumnTab.tsx +9 -10
  282. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrow/WideNarrow.tsx +5 -5
  283. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +11 -11
  284. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/WideNarrowForm.tsx +2 -2
  285. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowPage/WideNarrowPage.tsx +2 -2
  286. package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/WssNavBar.css +1 -1
  287. package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/WssNavBar.tsx +6 -6
  288. package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +0 -14
  289. package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +3 -3
  290. package/tests/assets/sdk-r/components/create/override-sdk/widget/AppAnnouncement/AppAnnouncement.tsx +1 -1
  291. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.css +7 -8
  292. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.tsx +304 -231
  293. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.types.ts +96 -0
  294. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/AttachmentUtils.ts +316 -0
  295. package/tests/assets/sdk-r/components/create/override-sdk/widget/CaseHistory/CaseHistory.tsx +5 -5
  296. package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.css +7 -6
  297. package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.tsx +30 -23
  298. package/tests/assets/sdk-r/components/create/override-sdk/widget/Followers/Followers.tsx +2 -4
  299. package/tests/assets/sdk-r/components/create/override-sdk/widget/QuickCreate/QuickCreate.tsx +1 -3
  300. package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/SummaryItem.css +9 -11
  301. package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/SummaryItem.tsx +3 -3
  302. package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryList/SummaryList.tsx +1 -1
  303. package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/ToDo.css +1 -13
  304. package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/ToDo.tsx +38 -37
  305. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/Boolean.ts +1 -1
  306. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -1
  307. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/date.ts +0 -1
  308. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/demo.stories.tsx +0 -16
  309. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -17
  310. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -1
  311. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/demo.stories.tsx +0 -1
  312. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/mock.ts +1 -0
  313. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +9 -20
  314. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/demo.stories.tsx +0 -1
  315. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -1
  316. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/mock.ts +1 -0
  317. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/demo.stories.tsx +1 -2
  318. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/demo.stories.tsx +0 -1
  319. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
  320. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +0 -1
  321. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/index.tsx +1 -2
  322. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/date.ts +0 -2
  323. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/demo.stories.tsx +0 -1
  324. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +7 -2
  325. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -4
  326. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/demo.stories.tsx +0 -1
  327. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/StatusWork.tsx +0 -1
  328. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/demo.stories.tsx +0 -1
  329. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +0 -1
  330. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/demo.stories.tsx +0 -1
  331. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Avatar.tsx +0 -1
  332. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/HighlightRender.tsx +0 -1
  333. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/StatusWork.tsx +0 -1
  334. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/demo.stories.tsx +10 -0
  335. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/utils.js +0 -2
  336. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +0 -1
  337. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/demo.stories.tsx +1 -13
  338. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +0 -1
  339. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +0 -1
  340. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +0 -1
  341. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +0 -1
  342. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +10 -32
  343. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +0 -1
  344. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +10 -22
  345. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -2
  346. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +10 -21
  347. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/config.json +0 -1
  348. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx +93 -5
  349. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +0 -1
  350. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -14
  351. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/config.json +0 -1
  352. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/demo.stories.tsx +0 -24
  353. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/config.json +0 -1
  354. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -24
  355. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/config.json +0 -1
  356. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -14
  357. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/config.json +0 -1
  358. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/mock.ts +0 -1
  359. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/config.json +0 -1
  360. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +2 -6
  361. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/index.tsx +0 -2
  362. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/mock.ts +0 -1
  363. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/config.json +0 -1
  364. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/config.json +0 -1
  365. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/config.json +0 -1
  366. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -14
  367. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/config.json +0 -1
  368. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +6 -4
  369. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/mock.ts +0 -1
  370. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/config.json +0 -1
  371. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
  372. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/config.json +0 -1
  373. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/index.tsx +45 -1
  374. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/config.json +0 -1
  375. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/config.json +0 -1
  376. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/mock.ts +0 -1
  377. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/config.json +0 -1
  378. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/config.json +0 -1
  379. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/config.json +0 -1
  380. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/mock.ts +0 -1
  381. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/config.json +0 -1
  382. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/demo.stories.tsx +8 -28
  383. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx +10 -11
  384. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/config.json +0 -1
  385. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/demo.stories.tsx +10 -16
  386. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx +0 -1
  387. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/OneColumn.tsx +5 -5
  388. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/config.json +0 -1
  389. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/config.json +0 -1
  390. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +8 -28
  391. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +9 -10
  392. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/config.json +0 -1
  393. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +5 -3
  394. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/index.tsx +7 -8
  395. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/config.json +0 -1
  396. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +10 -20
  397. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/index.tsx +3 -3
  398. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/mock.ts +0 -1
  399. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/config.json +0 -1
  400. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +10 -20
  401. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +11 -12
  402. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/config.json +0 -1
  403. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +9 -19
  404. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx +3 -3
  405. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/Banner.css +1 -1
  406. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/Banner.tsx +10 -7
  407. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +0 -1
  408. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +53 -37
  409. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/DetailsFields/DetailsFields.tsx +11 -13
  410. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +8 -9
  411. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroupList/FieldGroupList.tsx +9 -9
  412. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldValueList/FieldValueList.tsx +8 -9
  413. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Operator/Operator.tsx +21 -19
  414. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Pulse/Pulse.tsx +1 -1
  415. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/RichTextEditor/RichTextEditor.tsx +32 -4
  416. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.css +7 -14
  417. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +13 -2
  418. package/tests/assets/sdk-r/components/createAll/override-sdk/field/AutoComplete/AutoComplete.tsx +1 -1
  419. package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.css +4 -4
  420. package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.tsx +7 -10
  421. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/Checkbox.tsx +97 -4
  422. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/Currency.tsx +10 -7
  423. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/currency-utils.ts +1 -2
  424. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Date/Date.tsx +8 -8
  425. package/tests/assets/sdk-r/components/createAll/override-sdk/field/DateTime/DateTime.tsx +16 -13
  426. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/Decimal.tsx +10 -7
  427. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Dropdown/Dropdown.tsx +30 -25
  428. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Email/Email.tsx +11 -13
  429. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Group/Group.tsx +10 -8
  430. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Integer/Integer.tsx +5 -7
  431. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Location/Location.css +4 -0
  432. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Location/Location.tsx +258 -0
  433. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Location/config-ext.json +10 -0
  434. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Location/index.tsx +1 -0
  435. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Multiselect/utils.ts +1 -1
  436. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ObjectReference/ObjectReference.tsx +235 -0
  437. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ObjectReference/index.tsx +1 -0
  438. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ObjectReference/utils.ts +111 -0
  439. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/Percentage.tsx +9 -9
  440. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Phone/Phone.tsx +7 -5
  441. package/tests/assets/sdk-r/components/createAll/override-sdk/field/RadioButtons/RadioButtons.tsx +47 -5
  442. package/tests/assets/sdk-r/components/createAll/override-sdk/field/RichText/RichText.css +79 -0
  443. package/tests/assets/sdk-r/components/createAll/override-sdk/field/RichText/RichText.tsx +3 -1
  444. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/ScalarList.tsx +2 -4
  445. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SelectableCard/SelectableCard.tsx +175 -0
  446. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SelectableCard/index.tsx +1 -0
  447. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SelectableCard/utils.tsx +223 -0
  448. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/SemanticLink.tsx +160 -28
  449. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/utils.ts +1 -1
  450. package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextArea/TextArea.tsx +5 -7
  451. package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextContent/TextContent.tsx +1 -2
  452. package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextInput/TextInput.tsx +5 -7
  453. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Time/Time.tsx +4 -8
  454. package/tests/assets/sdk-r/components/createAll/override-sdk/field/URL/URL.tsx +5 -7
  455. package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/UserReference.tsx +3 -6
  456. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ActionButtons/ActionButtons.tsx +28 -21
  457. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/Assignment.tsx +39 -36
  458. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/AssignmentCard/AssignmentCard.tsx +2 -2
  459. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +5 -9
  460. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/filterUtils.tsx +3 -6
  461. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DeferLoad/DeferLoad.tsx +7 -9
  462. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ErrorBoundary/ErrorBoundary.tsx +1 -3
  463. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/FlowContainer/FlowContainer.tsx +21 -113
  464. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/FlowContainer/helpers.ts +1 -5
  465. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.tsx +4 -3
  466. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ModalViewContainer/ModalViewContainer.tsx +7 -6
  467. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.css +48 -70
  468. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.tsx +27 -58
  469. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.css +1 -1
  470. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.tsx +43 -32
  471. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Reference/Reference.tsx +3 -4
  472. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Region/Region.tsx +1 -1
  473. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/RootContainer/RootContainer.tsx +3 -4
  474. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/SimpleView/helper.ts +1 -1
  475. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Stages/Stages.tsx +3 -4
  476. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/View/View.tsx +4 -3
  477. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ViewContainer/ViewContainer.tsx +4 -5
  478. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/AdvancedSearch.tsx +86 -0
  479. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroup/persistUtils.ts +52 -0
  480. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroups/SearchGroups.tsx +244 -0
  481. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroups/hooks.ts +37 -0
  482. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroups/index.tsx +1 -0
  483. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroups/utils.ts +29 -0
  484. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/TemplateContext.ts +11 -0
  485. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/config-ext.json +10 -0
  486. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/index.tsx +1 -0
  487. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/AppShell.css +1 -1
  488. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/AppShell.tsx +22 -23
  489. package/tests/assets/sdk-r/components/createAll/override-sdk/template/BannerPage/BannerPage.tsx +2 -2
  490. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseSummary/CaseSummary.tsx +28 -41
  491. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/CaseView.tsx +32 -38
  492. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +1 -1
  493. package/tests/assets/sdk-r/components/createAll/override-sdk/template/Confirmation/Confirmation.tsx +3 -4
  494. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/DataReference.tsx +312 -106
  495. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/DataReferenceAdvancedSearchContext.ts +10 -0
  496. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/SearchForm.tsx +149 -0
  497. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/utils.ts +90 -0
  498. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/DefaultForm.tsx +3 -3
  499. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/utils/index.ts +1 -3
  500. package/tests/assets/sdk-r/components/createAll/override-sdk/template/Details/Details.tsx +11 -11
  501. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsSubTabs/DetailsSubTabs.tsx +2 -2
  502. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +11 -11
  503. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +11 -11
  504. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DynamicTabs/DynamicTabs.tsx +1 -2
  505. package/tests/assets/sdk-r/components/createAll/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +2 -5
  506. package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboard/InlineDashboard.tsx +14 -16
  507. package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboardPage/InlineDashboardPage.tsx +2 -2
  508. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListPage/ListPage.tsx +1 -1
  509. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.tsx +285 -204
  510. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/hooks.ts +1 -5
  511. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/utils.ts +38 -6
  512. package/tests/assets/sdk-r/components/createAll/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +1 -1
  513. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWide/NarrowWide.tsx +5 -5
  514. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +11 -11
  515. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/NarrowWideForm.tsx +2 -2
  516. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWidePage/NarrowWidePage.tsx +2 -2
  517. package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumn/OneColumn.tsx +7 -7
  518. package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnPage/OneColumnPage.tsx +1 -1
  519. package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnTab/OneColumnTab.tsx +2 -2
  520. package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/PromotedFilters.tsx +1 -3
  521. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SearchGroups/SearchGroups.tsx +244 -0
  522. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SearchGroups/hooks.ts +37 -0
  523. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SearchGroups/index.tsx +1 -0
  524. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SearchGroups/utils.ts +29 -0
  525. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTable/SimpleTable.tsx +2 -5
  526. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +99 -84
  527. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableSelect/SimpleTableSelect.tsx +3 -5
  528. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +10 -2
  529. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/SubTabs.tsx +2 -2
  530. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/tabUtils.ts +118 -1
  531. package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/TwoColumn.tsx +9 -10
  532. package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnPage/TwoColumnPage.tsx +1 -1
  533. package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/TwoColumnTab.tsx +9 -10
  534. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrow/WideNarrow.tsx +5 -5
  535. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +11 -11
  536. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/WideNarrowForm.tsx +2 -2
  537. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowPage/WideNarrowPage.tsx +2 -2
  538. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/WssNavBar.css +1 -1
  539. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/WssNavBar.tsx +6 -6
  540. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +0 -14
  541. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +3 -3
  542. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/AppAnnouncement/AppAnnouncement.tsx +1 -1
  543. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.css +7 -8
  544. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.tsx +304 -231
  545. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.types.ts +96 -0
  546. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/AttachmentUtils.ts +316 -0
  547. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/CaseHistory/CaseHistory.tsx +5 -5
  548. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.css +7 -6
  549. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.tsx +30 -23
  550. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Followers/Followers.tsx +2 -4
  551. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/QuickCreate/QuickCreate.tsx +1 -3
  552. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/SummaryItem.css +9 -11
  553. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/SummaryItem.tsx +3 -3
  554. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryList/SummaryList.tsx +1 -1
  555. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/ToDo.css +1 -13
  556. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/ToDo.tsx +38 -37
package/README.md CHANGED
@@ -8,13 +8,13 @@ This project provides you with an environment to extend SDK-R/SDK-A by giving yo
8
8
 
9
9
  Ensure you have access to the following in your system:
10
10
 
11
- - Pega Infinity Server version 24.2
11
+ - Pega Infinity Server version 25.1 or later
12
12
 
13
13
  - Git version 2.30 or later
14
14
 
15
- - System node version 20
15
+ - System node version >= 24.4.1
16
16
 
17
- - System npm version 10
17
+ - System npm version 11.4.2
18
18
 
19
19
  - Installed SDK-R or SDK-A, as the below commands live in the package.json of the SDK-R/SDK-A an NOT in this npm module
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/dx-component-builder-sdk",
3
- "version": "24.2.14",
3
+ "version": "25.1.11",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
package/src/constants.js CHANGED
@@ -40,6 +40,8 @@ export const CATEGORY_CUSTOM = 'custom';
40
40
  export const CATEGORY_OVERRIDE = 'override';
41
41
  export const CATEGORY_CONSTELLATION = 'constellation';
42
42
 
43
+ export const MAX_RFT_CHARS = 64;
44
+
43
45
  /* REST end points */
44
46
  export const PUBLISH_COMPONENT_SERVICE_REST_ENDPOINT = 'PRRestService/dev/v1/publish_component';
45
47
  export const LIST_COMPONENT_SERVICE_REST_ENDPOINT = 'PRRestService/dev/v1/list_component';
@@ -321,10 +323,18 @@ export const COMPONENT_SCHEMA = {
321
323
  name: 'Integer',
322
324
  value: 'Integer'
323
325
  },
326
+ {
327
+ name: 'Location',
328
+ value: 'Location'
329
+ },
324
330
  {
325
331
  name: 'Multi Select',
326
332
  value: 'Multiselect'
327
333
  },
334
+ {
335
+ name: 'Object Reference',
336
+ value: 'ObjectReference'
337
+ },
328
338
  {
329
339
  name: 'Percentage',
330
340
  value: 'Percentage'
@@ -349,6 +359,10 @@ export const COMPONENT_SCHEMA = {
349
359
  name: 'Semantic Link',
350
360
  value: 'SemanticLink'
351
361
  },
362
+ {
363
+ name: 'Selectable Card',
364
+ value: 'SelectableCard'
365
+ },
352
366
  {
353
367
  name: 'Text Area',
354
368
  value: 'TextArea'
@@ -503,6 +517,10 @@ export const COMPONENT_SCHEMA = {
503
517
  name: 'App Shell',
504
518
  value: 'AppShell'
505
519
  },
520
+ {
521
+ name: 'Advanced Search',
522
+ value: 'AdvancedSearch'
523
+ },
506
524
  {
507
525
  name: 'Banner Page',
508
526
  value: 'BannerPage'
@@ -607,6 +625,10 @@ export const COMPONENT_SCHEMA = {
607
625
  name: 'Promoted Filters',
608
626
  value: 'PromotedFilters'
609
627
  },
628
+ {
629
+ name: 'Search Groups',
630
+ value: 'AdvancedSearch/SearchGroups'
631
+ },
610
632
  {
611
633
  name: 'Simple Table',
612
634
  value: 'SimpleTable/SimpleTable'
@@ -750,6 +772,18 @@ export const COMPONENT_SCHEMA = {
750
772
  name: 'Integer',
751
773
  value: 'Integer'
752
774
  },
775
+ {
776
+ name: 'Location',
777
+ value: 'Location'
778
+ },
779
+ {
780
+ name: 'Multi Select',
781
+ value: 'Multiselect'
782
+ },
783
+ {
784
+ name: 'Object Reference',
785
+ value: 'ObjectReference'
786
+ },
753
787
  {
754
788
  name: 'Percentage',
755
789
  value: 'Percentage'
@@ -774,6 +808,10 @@ export const COMPONENT_SCHEMA = {
774
808
  name: 'Semantic Link',
775
809
  value: 'SemanticLink'
776
810
  },
811
+ {
812
+ name: 'Selectable Card',
813
+ value: 'SelectableCard'
814
+ },
777
815
  {
778
816
  name: 'Text',
779
817
  value: 'Text'
@@ -940,6 +978,10 @@ export const COMPONENT_SCHEMA = {
940
978
  },
941
979
  ],
942
980
  template: [
981
+ {
982
+ name: 'Advanced Search',
983
+ value: 'AdvancedSearch'
984
+ },
943
985
  {
944
986
  name: 'App Shell',
945
987
  value: 'AppShell'
@@ -1060,6 +1102,10 @@ export const COMPONENT_SCHEMA = {
1060
1102
  name: 'Repeating Structures',
1061
1103
  value: 'RepeatingStructures'
1062
1104
  },
1105
+ {
1106
+ name: 'Search Groups',
1107
+ value: 'AdvancedSearch/SearchGroups'
1108
+ },
1063
1109
  {
1064
1110
  name: 'Simple Table',
1065
1111
  value: 'SimpleTable'
@@ -10,7 +10,10 @@ import chalk from 'chalk';
10
10
 
11
11
  import { checkPathAccess,
12
12
  showVersion,
13
- getFramework} from '../../util.js';
13
+ getFramework,
14
+ updateComponentDefaultLibrary,
15
+ getStandaloneMaxComponentNameCount,
16
+ getStandaloneMaxLibraryCount} from '../../util.js';
14
17
  import { CATEGORY_CONSTELLATION, CATEGORY_CUSTOM,
15
18
  SDK_CONFIG_JSON_FILENAME,
16
19
  DXCB_CONFIG,
@@ -70,8 +73,7 @@ export const compileMustacheTemplates = async (
70
73
  type,
71
74
  subtype,
72
75
  description,
73
- organization,
74
- allowedApplications
76
+ organization
75
77
  }, componentType
76
78
  ) => {
77
79
  const files = fs.readdirSync(componentDirectory);
@@ -115,19 +117,19 @@ export const compileMustacheTemplates = async (
115
117
 
116
118
  const isPicklist = subtype === 'Picklist';
117
119
 
118
- if (allowedApplications.trim() === '') {
119
- allowedApplications = [];
120
- } else {
121
- if (allowedApplications.indexOf(',') !== -1) {
122
- allowedApplications = allowedApplications.split(',');
123
- }
124
- allowedApplications = [].concat(allowedApplications);
125
- }
120
+ // if (allowedApplications.trim() === '') {
121
+ // allowedApplications = [];
122
+ // } else {
123
+ // if (allowedApplications.indexOf(',') !== -1) {
124
+ // allowedApplications = allowedApplications.split(',');
125
+ // }
126
+ // allowedApplications = [].concat(allowedApplications);
127
+ // }
126
128
 
127
129
  const componentKeyKebab = convertIntoKebabCase(convertIntoPascalCase(componentKey));
128
130
  const framework = await getFramework();
129
131
 
130
- allowedApplications = allowedApplications.filter(el => !!el.trim()).map(el => el.trim());
132
+ // allowedApplications = allowedApplications.filter(el => !!el.trim()).map(el => el.trim());
131
133
  files.forEach(file => {
132
134
 
133
135
  const filePath = path.join(componentDirectory, file);
@@ -141,7 +143,6 @@ export const compileMustacheTemplates = async (
141
143
  ORGANIZATION: organization,
142
144
  VERSION: version,
143
145
  LIBRARY: library,
144
- ALLOWEDAPPS: JSON.stringify(allowedApplications),
145
146
  TYPE: type,
146
147
  SUB_TYPE: JSON.stringify(mustacheSubType),
147
148
  DESCRIPTION: description || componentLabel,
@@ -188,8 +189,7 @@ export const validateCompile = async (
188
189
  framework,
189
190
  type,
190
191
  subtype,
191
- description,
192
- allowedApplications
192
+ description
193
193
  },
194
194
  options,
195
195
  onlyCompanion = false
@@ -200,6 +200,12 @@ export const validateCompile = async (
200
200
  sSubType = subtype.join("-");
201
201
  }
202
202
 
203
+ // update defaults when changes
204
+ const configDef = await getComponentDefaults();
205
+ if (configDef.library == null || configDef.library !== library) {
206
+ await updateComponentDefaultLibrary(library);
207
+ }
208
+
203
209
  const typeLC = type.toLowerCase();
204
210
 
205
211
  await checkPathAccess(pegaConfigInternalJsonPath);
@@ -285,8 +291,7 @@ export const validateCompile = async (
285
291
  type,
286
292
  subtype,
287
293
  description,
288
- organization,
289
- allowedApplications
294
+ organization
290
295
  }, "component");
291
296
  }
292
297
 
@@ -305,8 +310,7 @@ export const validateCompile = async (
305
310
  type,
306
311
  subtype,
307
312
  description,
308
- organization,
309
- allowedApplications
313
+ organization
310
314
  }, "associated");
311
315
 
312
316
  if (!onlyCompanion) {
@@ -343,7 +347,6 @@ export default async options => {
343
347
  type,
344
348
  subtype,
345
349
  description,
346
- allowedApplications,
347
350
  organization
348
351
  },
349
352
  options
@@ -369,6 +372,7 @@ export default async options => {
369
372
  let componentDefaults = await getComponentDefaults();
370
373
  componentDefaults.library = library;
371
374
 
375
+ const maxChars = await getStandaloneMaxComponentNameCount();
372
376
 
373
377
  const questions = [
374
378
  {
@@ -417,7 +421,7 @@ export default async options => {
417
421
  },
418
422
  {
419
423
  name: 'componentName',
420
- message: 'Enter component name (required, no spaces)',
424
+ message: `Enter component name (required, no spaces) (${maxChars} max chars)`,
421
425
  validate: value => {
422
426
  /* value should not be empty
423
427
  It should not have spaces
@@ -425,6 +429,9 @@ export default async options => {
425
429
  Only case-insensitive alphanumeric values are allowed
426
430
  */
427
431
  if (value && !/^\d/.test(value) && value === sanitize(value)) {
432
+ if (value.length > maxChars) {
433
+ return `${value.length - maxChars} too many characters.`
434
+ }
428
435
  return true;
429
436
  }
430
437
  return 'Only alphanumeric values are allowed, starting with alphabets';
@@ -450,10 +457,16 @@ export default async options => {
450
457
  }
451
458
  return 'Please provide semver compatible version e.g 0.0.1';
452
459
  }
453
- },
460
+ }
461
+ ];
462
+
463
+ const answers = await inquirer.prompt(questions);
464
+ const maxLibChars = await getStandaloneMaxLibraryCount(answers.componentName);
465
+
466
+ const libQuestions = [
454
467
  {
455
468
  name: 'library',
456
- message: 'Enter library name (required)',
469
+ message: `Enter library name (required) (${maxLibChars} max chars)`,
457
470
  default: componentDefaults.library,
458
471
  validate: value => {
459
472
  /* value should not be empty
@@ -462,16 +475,14 @@ export default async options => {
462
475
  Only case-insensitive alphanumeric values are allowed
463
476
  */
464
477
  if (value && !/^\d/.test(value) && value === sanitize(value)) {
478
+ if (value.length > maxLibChars) {
479
+ return `${value.length - maxLibChars} too many characters.`
480
+ }
465
481
  return true;
466
482
  }
467
483
  return 'Only alphanumeric values are allowed, starting with alphabets';
468
484
  }
469
485
  },
470
- {
471
- name: 'allowedApplications',
472
- message: 'Please enter the application names to be supported (comma-separated). ',
473
- suffix: 'Keep empty for all applications'
474
- },
475
486
  {
476
487
  name: 'description',
477
488
  message: 'Enter description for the component (defaults to label)',
@@ -481,33 +492,21 @@ export default async options => {
481
492
  }
482
493
  ];
483
494
 
484
- await inquirer.prompt(questions).then(async answers => {
485
- const {
486
- componentName,
487
- componentLabel,
488
- library,
489
- version,
490
- framework,
491
- type,
492
- subtype,
493
- description,
494
- allowedApplications
495
- } = answers;
496
- await validateCompile(
495
+ const libAnswers = await inquirer.prompt(libQuestions);
496
+
497
+ await validateCompile(
497
498
  {
498
- componentName,
499
- componentLabel,
500
- library,
501
- version,
499
+ componentName : answers.componentName,
500
+ componentLabel : answers.componentLabel,
501
+ library: libAnswers.library,
502
+ version: answers.version,
502
503
  framework,
503
- type,
504
- subtype,
505
- description,
506
- allowedApplications,
504
+ type : answers.type,
505
+ subtype : answers.subtype,
506
+ description: libAnswers.descriptions,
507
507
  organization
508
508
  },
509
509
  options
510
- );
511
- });
510
+ );
512
511
  }
513
512
  };
@@ -26,7 +26,7 @@ function Boolean(value: any, { allowEmpty = true, tick = '', cross = '' } = {})
26
26
  }
27
27
 
28
28
  export default {
29
- TrueFalse: (value: any, options: Object) =>
29
+ TrueFalse: (value: any, options: object) =>
30
30
  Boolean(value, {
31
31
  ...options,
32
32
  tick: 'True',
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -47,7 +47,6 @@ function getDateObject(text) {
47
47
  }
48
48
 
49
49
  function parseDateInISO(value) {
50
- // eslint-disable-next-line prefer-regex-literals
51
50
  const isMilliSeconds = new RegExp('^[0-9]+$').exec(value);
52
51
  if (isMilliSeconds) {
53
52
  const date = new Date(parseInt(value, 10));
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -1,4 +1,3 @@
1
- /* eslint-disable react-hooks/exhaustive-deps */
2
1
  // @ts-nocheck
3
2
  import { useState, useEffect, useRef } from 'react';
4
3
  import { Select, Option, FieldValueList, Text, withConfiguration } from '@pega/cosmos-react-core';
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -64,7 +64,6 @@ const types = ['fromNow', 'customFormat'];
64
64
  function DateFormatter(
65
65
  value,
66
66
  // @ts-ignore
67
- // eslint-disable-next-line @typescript-eslint/no-shadow
68
67
  { type = types[1], format = 'DD/MM/YYYY', timezone, fieldType } = {}
69
68
  ) {
70
69
  if (!value) return value;
@@ -108,7 +107,6 @@ function DateFormatter(
108
107
  export function format(value, options) {
109
108
  if (!value) return null;
110
109
  const { type, locale, timezone, formatter, translate } = options;
111
- // eslint-disable-next-line @typescript-eslint/no-shadow
112
110
  const { format, variant } = (constellationToCosmosFormatterMap.get(type) as any).get(formatter);
113
111
  return formatDateTime(parseToDate(value), {
114
112
  t: translate,
@@ -1,5 +1,3 @@
1
- /* eslint-disable react-hooks/exhaustive-deps */
2
- /* eslint-disable sonarjs/cognitive-complexity */
3
1
  import { useEffect, useRef, useState, useMemo, type MutableRefObject, type SetStateAction } from 'react';
4
2
  import { ComboBox, menuHelpers, debounce, throttle, Button, Icon, withConfiguration, type MenuGroupProps, type MenuItemProps } from '@pega/cosmos-react-core';
5
3
  import get from 'lodash.get';
@@ -180,6 +178,7 @@ export const doSearch = (
180
178
  let listIndex = -1;
181
179
  const findSelectedItem = progressivePaginatedRecords.find(
182
180
  (record: { id: string }, index: number) => {
181
+ // @ts-ignore
183
182
  if (record.id === selectedItem?.id) {
184
183
  listIndex = index;
185
184
  return true;
@@ -412,6 +411,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
412
411
  const { isSearchableOnKey } = props;
413
412
 
414
413
  const [items, setItems] = useState(() => []);
414
+ // eslint-disable-next-line prefer-const
415
415
  let selectItem: ((id: string, ev?: any) => void) | ((arg0: never) => void);
416
416
 
417
417
  // convert associated to datapage listtype and transform props
@@ -830,8 +830,10 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
830
830
  const clearSelections = () => {
831
831
  // @ts-ignore
832
832
  setItems(cur =>
833
+ // @ts-ignore
833
834
  menuHelpers.mapTree(cur, item => {
834
835
  return {
836
+ // @ts-ignore
835
837
  ...item,
836
838
  selected: false
837
839
  };
@@ -1114,8 +1116,11 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
1114
1116
  onChange={onChangeHandler}
1115
1117
  onBlur={onBlurHandler}
1116
1118
  menu={{
1119
+ // @ts-ignore
1117
1120
  items: menuHelpers.mapTree(items, (item) => ({
1121
+ // @ts-ignore
1118
1122
  ...item,
1123
+ // @ts-ignore
1119
1124
  testId: item.id ?? undefined,
1120
1125
  // @ts-ignore
1121
1126
  selected: item.items ? undefined : !!item.selected || item.id === selected?.id
@@ -1,5 +1,3 @@
1
- /* eslint-disable sonarjs/no-collapsible-if */
2
- /* eslint-disable func-names */
3
1
  // @ts-nocheck
4
2
  import { splitConditionTree } from '@pega/cosmos-react-condition-builder';
5
3
  import cloneDeep from 'lodash/cloneDeep.js';
@@ -54,7 +52,6 @@ export function launchLocalAction(getPConnect, rowContext, action, cb) {
54
52
  // "ASSIGN-WORKLIST ON8TTL-C11NGALL-WORK LAT-3!ENTERINFO_FLOW_1" use case
55
53
  const [assignKey] = assignmentID.split('!');
56
54
  const [, className, workId] = assignKey.split(' ');
57
- // eslint-disable-next-line prefer-template
58
55
  caseID = className + ' ' + workId;
59
56
  }
60
57
  openLocalAction(action.ID, {
@@ -271,7 +268,6 @@ export function getDescriptorsFieldName(property, pageClass) {
271
268
  return property;
272
269
  }
273
270
 
274
- // eslint-disable-next-line @typescript-eslint/default-param-last, sonarjs/cognitive-complexity
275
271
  export function preparePatchQueryFields(fields, isDataObject = false, classID = '', getPConnect) {
276
272
  const queryFields = [];
277
273
  // Descriptors can be configured only for single selectionMode properties
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -1,4 +1,3 @@
1
- /* eslint-disable no-nested-ternary */
2
1
  import { useMemo } from 'react';
3
2
  import { RadioButton, RadioButtonGroup, withConfiguration } from '@pega/cosmos-react-core';
4
3
  import type { PConnFieldProps } from './PConnProps';
@@ -77,7 +76,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
77
76
  const propName: string = stateProps.value;
78
77
  const configProps = pConn.getConfigProps();
79
78
  const className = pConn.getCaseInfo().getClassName();
80
-
79
+
81
80
  // @ts-ignore
82
81
  let configProperty = pConn.getRawMetadata()?.config?.value || '';
83
82
  configProperty = configProperty.startsWith('@P') ? configProperty.substring(3) : configProperty;
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
1
  import React from 'react';
3
2
  import { Status } from '@pega/cosmos-react-core';
4
3
 
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": "Text",
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -5,7 +5,6 @@
5
5
  "organization": "{{ORGANIZATION}}",
6
6
  "version": "{{VERSION}}",
7
7
  "library": "{{LIBRARY}}",
8
- "allowedApplications": {{{ALLOWEDAPPS}}},
9
8
  "componentKey": "{{COMPONENT_KEY}}",
10
9
  "type": "{{TYPE}}",
11
10
  "subtype": {{{SUB_TYPE}}},
@@ -1,4 +1,3 @@
1
- /* eslint-disable react-hooks/rules-of-hooks */
2
1
  import React from 'react';
3
2
  import { useEffect, useState } from 'react';
4
3
  import { Avatar as CosmosAvatar, withConfiguration } from '@pega/cosmos-react-core';
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2
1
  import React from 'react';
3
2
  import { FieldValueList, Text } from '@pega/cosmos-react-core';
4
3
  import type { PConnProps } from './PConnProps';