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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (554) 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 +0 -1
  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/Text/config.json.mustache +0 -1
  117. package/src/tasks/create/templates/SDK-React/field/Text/mock.ts.mustache +0 -1
  118. package/src/tasks/create/templates/SDK-React/field/Text-Email/config.json.mustache +0 -1
  119. package/src/tasks/create/templates/SDK-React/field/Text-Email/mock.ts.mustache +0 -1
  120. package/src/tasks/create/templates/SDK-React/field/Text-Input/config.json.mustache +0 -1
  121. package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/config.json.mustache +0 -1
  122. package/src/tasks/create/templates/SDK-React/field/Text-Phone/config.json.mustache +0 -1
  123. package/src/tasks/create/templates/SDK-React/field/Text-Phone/index.tsx.mustache +6 -4
  124. package/src/tasks/create/templates/SDK-React/field/Text-Phone/mock.ts.mustache +0 -1
  125. package/src/tasks/create/templates/SDK-React/field/Text-URL/config.json.mustache +0 -1
  126. package/src/tasks/create/templates/SDK-React/field/Text-URL/mock.ts.mustache +0 -1
  127. package/src/tasks/create/templates/SDK-React/field/TimeOfDay/config.json.mustache +0 -1
  128. package/src/tasks/create/templates/SDK-React/template/DETAILS/config.json.mustache +0 -1
  129. package/src/tasks/create/templates/SDK-React/template/DETAILS/index.tsx.mustache +10 -11
  130. package/src/tasks/create/templates/SDK-React/template/DETAILS-region/config.json.mustache +0 -1
  131. package/src/tasks/create/templates/SDK-React/template/DETAILS-region/index.tsx.mustache +9 -10
  132. package/src/tasks/create/templates/SDK-React/template/FORM/config.json.mustache +0 -1
  133. package/src/tasks/create/templates/SDK-React/template/FORM/index.tsx.mustache +0 -1
  134. package/src/tasks/create/templates/SDK-React/template/FORM-region/config.json.mustache +0 -1
  135. package/src/tasks/create/templates/SDK-React/template/FORM-region/demo.stories.tsx.mustache +5 -3
  136. package/src/tasks/create/templates/SDK-React/template/FORM-region/index.tsx.mustache +10 -8
  137. package/src/tasks/create/templates/SDK-React/template/PAGE/OneColumn.tsx.mustache +8 -5
  138. package/src/tasks/create/templates/SDK-React/template/PAGE/config.json.mustache +0 -1
  139. package/src/tasks/create/templates/SDK-React/widget/CASE/config.json.mustache +0 -1
  140. package/src/tasks/create/templates/SDK-React/widget/CASE/index.tsx.mustache +3 -3
  141. package/src/tasks/create/templates/SDK-React/widget/CASE/mock.ts.mustache +0 -1
  142. package/src/tasks/create/templates/SDK-React/widget/PAGE/config.json.mustache +0 -1
  143. package/src/tasks/create/templates/SDK-React/widget/PAGE/index.tsx.mustache +3 -3
  144. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/config.json.mustache +0 -1
  145. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/index.tsx.mustache +14 -12
  146. package/src/tasks/create-all/index.js +68 -55
  147. package/src/tasks/validator/index.js +19 -0
  148. package/src/util.js +89 -4
  149. package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/demo.stories.tsx +0 -1
  150. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/config.json +0 -1
  151. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/mock.ts +0 -1
  152. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/Banner.css +1 -1
  153. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Banner/Banner.tsx +10 -7
  154. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +0 -1
  155. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +53 -37
  156. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/DetailsFields/DetailsFields.tsx +11 -13
  157. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +8 -9
  158. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroupList/FieldGroupList.tsx +9 -9
  159. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldValueList/FieldValueList.tsx +8 -9
  160. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Operator/Operator.tsx +21 -19
  161. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/Pulse/Pulse.tsx +1 -1
  162. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/RichTextEditor/RichTextEditor.tsx +32 -4
  163. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.css +7 -14
  164. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +13 -2
  165. package/tests/assets/sdk-r/components/create/override-sdk/field/AutoComplete/AutoComplete.tsx +1 -1
  166. package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.css +4 -4
  167. package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.tsx +7 -10
  168. package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/Checkbox.tsx +97 -4
  169. package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/Currency.tsx +10 -7
  170. package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/currency-utils.ts +1 -2
  171. package/tests/assets/sdk-r/components/create/override-sdk/field/Date/Date.tsx +8 -8
  172. package/tests/assets/sdk-r/components/create/override-sdk/field/DateTime/DateTime.tsx +16 -13
  173. package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/Decimal.tsx +10 -7
  174. package/tests/assets/sdk-r/components/create/override-sdk/field/Dropdown/Dropdown.tsx +30 -25
  175. package/tests/assets/sdk-r/components/create/override-sdk/field/Email/Email.tsx +11 -13
  176. package/tests/assets/sdk-r/components/create/override-sdk/field/Group/Group.tsx +10 -8
  177. package/tests/assets/sdk-r/components/create/override-sdk/field/Integer/Integer.tsx +5 -7
  178. package/tests/assets/sdk-r/components/create/override-sdk/field/Location/Location.css +4 -0
  179. package/tests/assets/sdk-r/components/create/override-sdk/field/Location/Location.tsx +258 -0
  180. package/tests/assets/sdk-r/components/create/override-sdk/field/Location/config-ext.json +10 -0
  181. package/tests/assets/sdk-r/components/create/override-sdk/field/Location/index.tsx +1 -0
  182. package/tests/assets/sdk-r/components/create/override-sdk/field/Multiselect/utils.ts +1 -1
  183. package/tests/assets/sdk-r/components/create/override-sdk/field/ObjectReference/ObjectReference.tsx +235 -0
  184. package/tests/assets/sdk-r/components/create/override-sdk/field/ObjectReference/index.tsx +1 -0
  185. package/tests/assets/sdk-r/components/create/override-sdk/field/ObjectReference/utils.ts +111 -0
  186. package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/Percentage.tsx +9 -9
  187. package/tests/assets/sdk-r/components/create/override-sdk/field/Phone/Phone.tsx +7 -5
  188. package/tests/assets/sdk-r/components/create/override-sdk/field/RadioButtons/RadioButtons.tsx +47 -5
  189. package/tests/assets/sdk-r/components/create/override-sdk/field/RichText/RichText.css +79 -0
  190. package/tests/assets/sdk-r/components/create/override-sdk/field/RichText/RichText.tsx +3 -1
  191. package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/ScalarList.tsx +2 -4
  192. package/tests/assets/sdk-r/components/create/override-sdk/field/SelectableCard/SelectableCard.tsx +175 -0
  193. package/tests/assets/sdk-r/components/create/override-sdk/field/SelectableCard/index.tsx +1 -0
  194. package/tests/assets/sdk-r/components/create/override-sdk/field/SelectableCard/utils.tsx +223 -0
  195. package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/SemanticLink.tsx +160 -28
  196. package/tests/assets/sdk-r/components/create/override-sdk/field/SemanticLink/utils.ts +1 -1
  197. package/tests/assets/sdk-r/components/create/override-sdk/field/TextArea/TextArea.tsx +5 -7
  198. package/tests/assets/sdk-r/components/create/override-sdk/field/TextContent/TextContent.tsx +1 -2
  199. package/tests/assets/sdk-r/components/create/override-sdk/field/TextInput/TextInput.tsx +5 -7
  200. package/tests/assets/sdk-r/components/create/override-sdk/field/Time/Time.tsx +4 -8
  201. package/tests/assets/sdk-r/components/create/override-sdk/field/URL/URL.tsx +5 -7
  202. package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/UserReference.tsx +3 -6
  203. package/tests/assets/sdk-r/components/create/override-sdk/infra/ActionButtons/ActionButtons.tsx +28 -21
  204. package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/Assignment.tsx +38 -35
  205. package/tests/assets/sdk-r/components/create/override-sdk/infra/AssignmentCard/AssignmentCard.tsx +2 -2
  206. package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +5 -9
  207. package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/filterUtils.tsx +3 -6
  208. package/tests/assets/sdk-r/components/create/override-sdk/infra/DeferLoad/DeferLoad.tsx +7 -9
  209. package/tests/assets/sdk-r/components/create/override-sdk/infra/ErrorBoundary/ErrorBoundary.tsx +1 -3
  210. package/tests/assets/sdk-r/components/create/override-sdk/infra/FlowContainer/FlowContainer.tsx +21 -113
  211. package/tests/assets/sdk-r/components/create/override-sdk/infra/FlowContainer/helpers.ts +1 -5
  212. package/tests/assets/sdk-r/components/create/override-sdk/infra/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.tsx +4 -3
  213. package/tests/assets/sdk-r/components/create/override-sdk/infra/ModalViewContainer/ModalViewContainer.tsx +7 -6
  214. package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.css +48 -70
  215. package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.tsx +27 -58
  216. package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.css +1 -1
  217. package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.tsx +31 -30
  218. package/tests/assets/sdk-r/components/create/override-sdk/infra/Reference/Reference.tsx +3 -4
  219. package/tests/assets/sdk-r/components/create/override-sdk/infra/Region/Region.tsx +1 -1
  220. package/tests/assets/sdk-r/components/create/override-sdk/infra/RootContainer/RootContainer.tsx +3 -4
  221. package/tests/assets/sdk-r/components/create/override-sdk/infra/SimpleView/helper.ts +1 -1
  222. package/tests/assets/sdk-r/components/create/override-sdk/infra/Stages/Stages.tsx +2 -2
  223. package/tests/assets/sdk-r/components/create/override-sdk/infra/View/View.tsx +4 -3
  224. package/tests/assets/sdk-r/components/create/override-sdk/infra/ViewContainer/ViewContainer.tsx +4 -5
  225. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/AdvancedSearch.tsx +86 -0
  226. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroup/persistUtils.ts +52 -0
  227. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroups/SearchGroups.tsx +244 -0
  228. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroups/hooks.ts +37 -0
  229. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroups/index.tsx +1 -0
  230. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/SearchGroups/utils.ts +29 -0
  231. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/TemplateContext.ts +11 -0
  232. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/config-ext.json +10 -0
  233. package/tests/assets/sdk-r/components/create/override-sdk/template/AdvancedSearch/index.tsx +1 -0
  234. package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/AppShell.css +1 -1
  235. package/tests/assets/sdk-r/components/create/override-sdk/template/AppShell/AppShell.tsx +22 -23
  236. package/tests/assets/sdk-r/components/create/override-sdk/template/BannerPage/BannerPage.tsx +2 -2
  237. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseSummary/CaseSummary.tsx +28 -41
  238. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/CaseView.tsx +31 -38
  239. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +1 -1
  240. package/tests/assets/sdk-r/components/create/override-sdk/template/Confirmation/Confirmation.tsx +3 -4
  241. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/DataReference.tsx +312 -106
  242. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/DataReferenceAdvancedSearchContext.ts +10 -0
  243. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/SearchForm.tsx +149 -0
  244. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/utils.ts +90 -0
  245. package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/DefaultForm.tsx +3 -3
  246. package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/utils/index.ts +1 -3
  247. package/tests/assets/sdk-r/components/create/override-sdk/template/Details/Details.tsx +11 -11
  248. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsSubTabs/DetailsSubTabs.tsx +2 -2
  249. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +11 -11
  250. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +11 -11
  251. package/tests/assets/sdk-r/components/create/override-sdk/template/DynamicTabs/DynamicTabs.tsx +1 -2
  252. package/tests/assets/sdk-r/components/create/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +2 -5
  253. package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboard/InlineDashboard.tsx +14 -16
  254. package/tests/assets/sdk-r/components/create/override-sdk/template/InlineDashboardPage/InlineDashboardPage.tsx +2 -2
  255. package/tests/assets/sdk-r/components/create/override-sdk/template/ListPage/ListPage.tsx +1 -1
  256. package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.tsx +285 -204
  257. package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/hooks.ts +1 -5
  258. package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/utils.ts +38 -6
  259. package/tests/assets/sdk-r/components/create/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +1 -1
  260. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWide/NarrowWide.tsx +5 -5
  261. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +11 -11
  262. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideForm/NarrowWideForm.tsx +2 -2
  263. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWidePage/NarrowWidePage.tsx +2 -2
  264. package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumn/OneColumn.tsx +7 -7
  265. package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnPage/OneColumnPage.tsx +1 -1
  266. package/tests/assets/sdk-r/components/create/override-sdk/template/OneColumnTab/OneColumnTab.tsx +2 -2
  267. package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/PromotedFilters.tsx +1 -3
  268. package/tests/assets/sdk-r/components/create/override-sdk/template/SearchGroups/SearchGroups.tsx +244 -0
  269. package/tests/assets/sdk-r/components/create/override-sdk/template/SearchGroups/hooks.ts +37 -0
  270. package/tests/assets/sdk-r/components/create/override-sdk/template/SearchGroups/index.tsx +1 -0
  271. package/tests/assets/sdk-r/components/create/override-sdk/template/SearchGroups/utils.ts +29 -0
  272. package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTable/SimpleTable.tsx +2 -5
  273. package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +99 -84
  274. package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableSelect/SimpleTableSelect.tsx +3 -5
  275. package/tests/assets/sdk-r/components/create/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +10 -2
  276. package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/SubTabs.tsx +2 -2
  277. package/tests/assets/sdk-r/components/create/override-sdk/template/SubTabs/tabUtils.ts +118 -1
  278. package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumn/TwoColumn.tsx +9 -10
  279. package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnPage/TwoColumnPage.tsx +1 -1
  280. package/tests/assets/sdk-r/components/create/override-sdk/template/TwoColumnTab/TwoColumnTab.tsx +9 -10
  281. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrow/WideNarrow.tsx +5 -5
  282. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +11 -11
  283. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowForm/WideNarrowForm.tsx +2 -2
  284. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowPage/WideNarrowPage.tsx +2 -2
  285. package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/WssNavBar.css +1 -1
  286. package/tests/assets/sdk-r/components/create/override-sdk/template/WssNavBar/WssNavBar.tsx +6 -6
  287. package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +0 -14
  288. package/tests/assets/sdk-r/components/create/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +3 -3
  289. package/tests/assets/sdk-r/components/create/override-sdk/widget/AppAnnouncement/AppAnnouncement.tsx +1 -1
  290. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.css +7 -8
  291. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.tsx +304 -231
  292. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.types.ts +96 -0
  293. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/AttachmentUtils.ts +316 -0
  294. package/tests/assets/sdk-r/components/create/override-sdk/widget/CaseHistory/CaseHistory.tsx +5 -5
  295. package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.css +7 -6
  296. package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.tsx +30 -23
  297. package/tests/assets/sdk-r/components/create/override-sdk/widget/Followers/Followers.tsx +2 -4
  298. package/tests/assets/sdk-r/components/create/override-sdk/widget/QuickCreate/QuickCreate.tsx +1 -3
  299. package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/SummaryItem.css +9 -11
  300. package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryItem/SummaryItem.tsx +3 -3
  301. package/tests/assets/sdk-r/components/create/override-sdk/widget/SummaryList/SummaryList.tsx +1 -1
  302. package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/ToDo.css +1 -13
  303. package/tests/assets/sdk-r/components/create/override-sdk/widget/ToDo/ToDo.tsx +38 -37
  304. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/Boolean.ts +1 -1
  305. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -1
  306. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/date.ts +0 -1
  307. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDate/demo.stories.tsx +0 -16
  308. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -17
  309. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -1
  310. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/demo.stories.tsx +0 -1
  311. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyEmail/mock.ts +1 -0
  312. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +9 -20
  313. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/demo.stories.tsx +0 -1
  314. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -1
  315. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/mock.ts +1 -0
  316. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPhone/demo.stories.tsx +1 -2
  317. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/demo.stories.tsx +0 -1
  318. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
  319. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +0 -1
  320. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyRadiobuttons/index.tsx +1 -2
  321. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/date.ts +0 -2
  322. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/demo.stories.tsx +0 -1
  323. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +7 -2
  324. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -4
  325. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/demo.stories.tsx +0 -1
  326. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/StatusWork.tsx +0 -1
  327. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/demo.stories.tsx +0 -1
  328. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +0 -1
  329. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyURL/demo.stories.tsx +0 -1
  330. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Avatar.tsx +0 -1
  331. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/HighlightRender.tsx +0 -1
  332. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/StatusWork.tsx +0 -1
  333. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/demo.stories.tsx +10 -0
  334. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/utils.js +0 -2
  335. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +0 -1
  336. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/demo.stories.tsx +1 -13
  337. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +0 -1
  338. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +0 -1
  339. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +0 -1
  340. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +0 -1
  341. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +10 -32
  342. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +0 -1
  343. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +10 -22
  344. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -2
  345. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +10 -21
  346. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/config.json +0 -1
  347. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx +0 -1
  348. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +0 -1
  349. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -14
  350. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/config.json +0 -1
  351. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/demo.stories.tsx +0 -24
  352. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/config.json +0 -1
  353. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -24
  354. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/config.json +0 -1
  355. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -14
  356. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/config.json +0 -1
  357. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/mock.ts +0 -1
  358. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/config.json +0 -1
  359. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +2 -6
  360. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/index.tsx +0 -2
  361. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/mock.ts +0 -1
  362. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/config.json +0 -1
  363. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/config.json +0 -1
  364. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/config.json +0 -1
  365. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -14
  366. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/config.json +0 -1
  367. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +6 -4
  368. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/mock.ts +0 -1
  369. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/config.json +0 -1
  370. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
  371. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/config.json +0 -1
  372. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/config.json +0 -1
  373. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/config.json +0 -1
  374. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/mock.ts +0 -1
  375. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/config.json +0 -1
  376. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/config.json +0 -1
  377. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/config.json +0 -1
  378. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/mock.ts +0 -1
  379. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/config.json +0 -1
  380. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/demo.stories.tsx +8 -28
  381. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx +10 -11
  382. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/config.json +0 -1
  383. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/demo.stories.tsx +10 -16
  384. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx +0 -1
  385. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/OneColumn.tsx +5 -5
  386. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/config.json +0 -1
  387. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/config.json +0 -1
  388. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +8 -28
  389. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +9 -10
  390. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/config.json +0 -1
  391. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +5 -3
  392. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/index.tsx +7 -8
  393. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/config.json +0 -1
  394. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +10 -20
  395. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/index.tsx +3 -3
  396. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/mock.ts +0 -1
  397. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/config.json +0 -1
  398. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +10 -20
  399. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +11 -12
  400. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/config.json +0 -1
  401. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +9 -19
  402. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx +3 -3
  403. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/Banner.css +1 -1
  404. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Banner/Banner.tsx +10 -7
  405. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +0 -1
  406. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +53 -37
  407. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/DetailsFields/DetailsFields.tsx +11 -13
  408. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +8 -9
  409. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroupList/FieldGroupList.tsx +9 -9
  410. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldValueList/FieldValueList.tsx +8 -9
  411. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Operator/Operator.tsx +21 -19
  412. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/Pulse/Pulse.tsx +1 -1
  413. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/RichTextEditor/RichTextEditor.tsx +32 -4
  414. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.css +7 -14
  415. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +13 -2
  416. package/tests/assets/sdk-r/components/createAll/override-sdk/field/AutoComplete/AutoComplete.tsx +1 -1
  417. package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.css +4 -4
  418. package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.tsx +7 -10
  419. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/Checkbox.tsx +97 -4
  420. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/Currency.tsx +10 -7
  421. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/currency-utils.ts +1 -2
  422. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Date/Date.tsx +8 -8
  423. package/tests/assets/sdk-r/components/createAll/override-sdk/field/DateTime/DateTime.tsx +16 -13
  424. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/Decimal.tsx +10 -7
  425. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Dropdown/Dropdown.tsx +30 -25
  426. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Email/Email.tsx +11 -13
  427. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Group/Group.tsx +10 -8
  428. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Integer/Integer.tsx +5 -7
  429. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Location/Location.css +4 -0
  430. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Location/Location.tsx +258 -0
  431. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Location/config-ext.json +10 -0
  432. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Location/index.tsx +1 -0
  433. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Multiselect/utils.ts +1 -1
  434. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ObjectReference/ObjectReference.tsx +235 -0
  435. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ObjectReference/index.tsx +1 -0
  436. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ObjectReference/utils.ts +111 -0
  437. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/Percentage.tsx +9 -9
  438. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Phone/Phone.tsx +7 -5
  439. package/tests/assets/sdk-r/components/createAll/override-sdk/field/RadioButtons/RadioButtons.tsx +47 -5
  440. package/tests/assets/sdk-r/components/createAll/override-sdk/field/RichText/RichText.css +79 -0
  441. package/tests/assets/sdk-r/components/createAll/override-sdk/field/RichText/RichText.tsx +3 -1
  442. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/ScalarList.tsx +2 -4
  443. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SelectableCard/SelectableCard.tsx +175 -0
  444. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SelectableCard/index.tsx +1 -0
  445. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SelectableCard/utils.tsx +223 -0
  446. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/SemanticLink.tsx +160 -28
  447. package/tests/assets/sdk-r/components/createAll/override-sdk/field/SemanticLink/utils.ts +1 -1
  448. package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextArea/TextArea.tsx +5 -7
  449. package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextContent/TextContent.tsx +1 -2
  450. package/tests/assets/sdk-r/components/createAll/override-sdk/field/TextInput/TextInput.tsx +5 -7
  451. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Time/Time.tsx +4 -8
  452. package/tests/assets/sdk-r/components/createAll/override-sdk/field/URL/URL.tsx +5 -7
  453. package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/UserReference.tsx +3 -6
  454. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ActionButtons/ActionButtons.tsx +28 -21
  455. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/Assignment.tsx +38 -35
  456. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/AssignmentCard/AssignmentCard.tsx +2 -2
  457. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +5 -9
  458. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/filterUtils.tsx +3 -6
  459. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DeferLoad/DeferLoad.tsx +7 -9
  460. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ErrorBoundary/ErrorBoundary.tsx +1 -3
  461. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/FlowContainer/FlowContainer.tsx +21 -113
  462. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/FlowContainer/helpers.ts +1 -5
  463. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.tsx +4 -3
  464. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ModalViewContainer/ModalViewContainer.tsx +7 -6
  465. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.css +48 -70
  466. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.tsx +27 -58
  467. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.css +1 -1
  468. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.tsx +31 -30
  469. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Reference/Reference.tsx +3 -4
  470. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Region/Region.tsx +1 -1
  471. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/RootContainer/RootContainer.tsx +3 -4
  472. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/SimpleView/helper.ts +1 -1
  473. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Stages/Stages.tsx +2 -2
  474. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/View/View.tsx +4 -3
  475. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/ViewContainer/ViewContainer.tsx +4 -5
  476. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/AdvancedSearch.tsx +86 -0
  477. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroup/persistUtils.ts +52 -0
  478. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroups/SearchGroups.tsx +244 -0
  479. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroups/hooks.ts +37 -0
  480. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroups/index.tsx +1 -0
  481. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/SearchGroups/utils.ts +29 -0
  482. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/TemplateContext.ts +11 -0
  483. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/config-ext.json +10 -0
  484. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AdvancedSearch/index.tsx +1 -0
  485. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/AppShell.css +1 -1
  486. package/tests/assets/sdk-r/components/createAll/override-sdk/template/AppShell/AppShell.tsx +22 -23
  487. package/tests/assets/sdk-r/components/createAll/override-sdk/template/BannerPage/BannerPage.tsx +2 -2
  488. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseSummary/CaseSummary.tsx +28 -41
  489. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/CaseView.tsx +31 -38
  490. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +1 -1
  491. package/tests/assets/sdk-r/components/createAll/override-sdk/template/Confirmation/Confirmation.tsx +3 -4
  492. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/DataReference.tsx +312 -106
  493. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/DataReferenceAdvancedSearchContext.ts +10 -0
  494. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/SearchForm.tsx +149 -0
  495. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/utils.ts +90 -0
  496. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/DefaultForm.tsx +3 -3
  497. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/utils/index.ts +1 -3
  498. package/tests/assets/sdk-r/components/createAll/override-sdk/template/Details/Details.tsx +11 -11
  499. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsSubTabs/DetailsSubTabs.tsx +2 -2
  500. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +11 -11
  501. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +11 -11
  502. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DynamicTabs/DynamicTabs.tsx +1 -2
  503. package/tests/assets/sdk-r/components/createAll/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +2 -5
  504. package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboard/InlineDashboard.tsx +14 -16
  505. package/tests/assets/sdk-r/components/createAll/override-sdk/template/InlineDashboardPage/InlineDashboardPage.tsx +2 -2
  506. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListPage/ListPage.tsx +1 -1
  507. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.tsx +285 -204
  508. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/hooks.ts +1 -5
  509. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/utils.ts +38 -6
  510. package/tests/assets/sdk-r/components/createAll/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +1 -1
  511. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWide/NarrowWide.tsx +5 -5
  512. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +11 -11
  513. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideForm/NarrowWideForm.tsx +2 -2
  514. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWidePage/NarrowWidePage.tsx +2 -2
  515. package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumn/OneColumn.tsx +7 -7
  516. package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnPage/OneColumnPage.tsx +1 -1
  517. package/tests/assets/sdk-r/components/createAll/override-sdk/template/OneColumnTab/OneColumnTab.tsx +2 -2
  518. package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/PromotedFilters.tsx +1 -3
  519. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SearchGroups/SearchGroups.tsx +244 -0
  520. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SearchGroups/hooks.ts +37 -0
  521. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SearchGroups/index.tsx +1 -0
  522. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SearchGroups/utils.ts +29 -0
  523. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTable/SimpleTable.tsx +2 -5
  524. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +99 -84
  525. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableSelect/SimpleTableSelect.tsx +3 -5
  526. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +10 -2
  527. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/SubTabs.tsx +2 -2
  528. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SubTabs/tabUtils.ts +118 -1
  529. package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumn/TwoColumn.tsx +9 -10
  530. package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnPage/TwoColumnPage.tsx +1 -1
  531. package/tests/assets/sdk-r/components/createAll/override-sdk/template/TwoColumnTab/TwoColumnTab.tsx +9 -10
  532. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrow/WideNarrow.tsx +5 -5
  533. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +11 -11
  534. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowForm/WideNarrowForm.tsx +2 -2
  535. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowPage/WideNarrowPage.tsx +2 -2
  536. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/WssNavBar.css +1 -1
  537. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WssNavBar/WssNavBar.tsx +6 -6
  538. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.css +0 -14
  539. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +3 -3
  540. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/AppAnnouncement/AppAnnouncement.tsx +1 -1
  541. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.css +7 -8
  542. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.tsx +304 -231
  543. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.types.ts +96 -0
  544. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/AttachmentUtils.ts +316 -0
  545. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/CaseHistory/CaseHistory.tsx +5 -5
  546. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.css +7 -6
  547. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.tsx +30 -23
  548. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Followers/Followers.tsx +2 -4
  549. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/QuickCreate/QuickCreate.tsx +1 -3
  550. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/SummaryItem.css +9 -11
  551. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryItem/SummaryItem.tsx +3 -3
  552. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/SummaryList/SummaryList.tsx +1 -1
  553. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/ToDo.css +1 -13
  554. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/ToDo/ToDo.tsx +38 -37
@@ -1,5 +1,5 @@
1
1
  import { createElement } from 'react';
2
- import Grid from '@mui/material/Grid';
2
+ import Grid2 from '@mui/material/Grid2';
3
3
 
4
4
  import createPConnectComponent from '@pega/react-sdk-components/lib/bridge/react_pconnect';
5
5
  import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
@@ -23,7 +23,7 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
23
23
 
24
24
  // Get the inherited props from the parent to determine label settings
25
25
  const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };
26
-
26
+
27
27
  // Set display mode prop and re-create the children so this part of the dom tree renders
28
28
  // in a readonly (display) mode instead of a editable
29
29
  getPConnect().setInheritedProp('displayMode', 'DISPLAY_ONLY');
@@ -31,7 +31,6 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
31
31
  const children = (getPConnect().getChildren() as any[]).map((configObject, index) =>
32
32
  createElement(createPConnectComponent(), {
33
33
  ...configObject,
34
- // eslint-disable-next-line react/no-array-index-key
35
34
  key: index.toString()
36
35
  })
37
36
  );
@@ -59,21 +58,21 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
59
58
  {{=<% %>=}}
60
59
  <FieldGroup name={propsToUse.showLabel ? propsToUse.label : ''}>
61
60
  {showHighlightedData && highlightedDataArr.length > 0 && (
62
- <Grid container spacing={1} style={{ padding: '0 0 1em' }}>
61
+ <Grid2 container spacing={1} style={{ padding: '0 0 1em' }}>
63
62
  {highlightedDataArr.map((child, i) => (
64
- <Grid item xs={12} key={`hf-${i + 1}`}>
63
+ <Grid2 size={{ xs: 12 }} key={`hf-${i + 1}`}>
65
64
  {child}
66
- </Grid>
65
+ </Grid2>
67
66
  ))}
68
- </Grid>
67
+ </Grid2>
69
68
  )}
70
- <Grid container spacing={1}>
69
+ <Grid2 container spacing={1}>
71
70
  {children.map((child, i) => (
72
- <Grid item xs={12} key={`r-${i + 1}`}>
71
+ <Grid2 size={{ xs: 12 }} key={`r-${i + 1}`}>
73
72
  {child}
74
- </Grid>
73
+ </Grid2>
75
74
  ))}
76
- </Grid>
75
+ </Grid2>
77
76
  </FieldGroup>
78
77
  <%={{ }}=%> {{! revert delimiters for mustache }}
79
78
  </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
@@ -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,5 +1,5 @@
1
1
  import { createElement } from 'react';
2
- import Grid from '@mui/material/Grid';
2
+ import Grid2 from '@mui/material/Grid2';
3
3
 
4
4
  import createPConnectComponent from '@pega/react-sdk-components/lib/bridge/react_pconnect';
5
5
  import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
@@ -31,7 +31,6 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
31
31
  const children = (getPConnect().getChildren() as any[]).map((configObject, index) =>
32
32
  createElement(createPConnectComponent(), {
33
33
  ...configObject,
34
- // eslint-disable-next-line react/no-array-index-key
35
34
  key: index.toString()
36
35
  })
37
36
  );
@@ -59,21 +58,21 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
59
58
  {{=<% %>=}}
60
59
  <FieldGroup name={propsToUse.showLabel ? propsToUse.label : ''}>
61
60
  {showHighlightedData && highlightedDataArr.length > 0 && (
62
- <Grid container spacing={1} style={{ padding: '0 0 1em' }}>
61
+ <Grid2 container spacing={1} style={{ padding: '0 0 1em' }}>
63
62
  {highlightedDataArr.map((child, i) => (
64
- <Grid item xs={6} key={`hf-${i + 1}`}>
63
+ <Grid2 size={{ xs: 6 }} key={`hf-${i + 1}`}>
65
64
  {child}
66
- </Grid>
65
+ </Grid2>
67
66
  ))}
68
- </Grid>
67
+ </Grid2>
69
68
  )}
70
- <Grid container spacing={1}>
69
+ <Grid2 container spacing={1}>
71
70
  {children.map((child, i) => (
72
- <Grid item xs={6} key={`r-${i + 1}`}>
71
+ <Grid2 size={{ xs: 6 }} key={`r-${i + 1}`}>
73
72
  {child}
74
- </Grid>
73
+ </Grid2>
75
74
  ))}
76
- </Grid>
75
+ </Grid2>
77
76
  </FieldGroup>
78
77
  <%={{ }}=%> {{! revert delimiters for mustache }}
79
78
  </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
@@ -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}}},
@@ -61,7 +61,6 @@ export default function {{COMPONENT_CLASS_NAME}}(props: PropsWithChildren<{{COMP
61
61
  {instructions && (
62
62
  <div className='psdk-default-form-instruction-text'>
63
63
  {/* server performs sanitization method for instructions html content */}
64
- {/* eslint-disable react/no-danger */}
65
64
  {{! pick new delimiters for mustache }}
66
65
  {{=<% %>=}}
67
66
  <div key='instructions' id='instruction-text' dangerouslySetInnerHTML={{ __html: instructions }} />
@@ -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}}},
@@ -87,9 +87,11 @@ const renderField = resolvedProps => {
87
87
  error={status === 'error'}
88
88
  label={label}
89
89
  value={value}
90
- InputProps={{
91
- readOnly: true,
92
- inputProps: { ...testProp }
90
+ slotProps={{
91
+ input: {
92
+ readOnly: true,
93
+ ...testProp,
94
+ },
93
95
  }}
94
96
  disableDropdown={disableDropdown}
95
97
  />
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren, ReactElement } from 'react';
2
- import { Grid, GridSize } from '@mui/material';
2
+ import Grid2, { type GridSize } from '@mui/material/Grid2';
3
3
  import makeStyles from '@mui/styles/makeStyles';
4
4
 
5
5
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
@@ -28,7 +28,6 @@ export default function {{COMPONENT_CLASS_NAME}}(props: PropsWithChildren<{{COMP
28
28
  const childrenToRender = children as ReactElement[];
29
29
 
30
30
  if (childrenToRender.length !== 2) {
31
- // eslint-disable-next-line no-console
32
31
  console.error(`TwoColumn template sees more than 2 columns: ${childrenToRender.length}`);
33
32
  }
34
33
 
@@ -49,14 +48,17 @@ export default function {{COMPONENT_CLASS_NAME}}(props: PropsWithChildren<{{COMP
49
48
 
50
49
  return (
51
50
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
52
- <Grid container spacing={1}>
53
- <Grid item xs={12} md={aSize} className={classes.colStyles}>
51
+ {{! pick new delimiters for mustache }}
52
+ {{=<% %>=}}
53
+ <Grid2 container spacing={1}>
54
+ <Grid2 size={{ xs: 12, md: aSize }} className={classes.colStyles}>
54
55
  {childrenToRender[0]}
55
- </Grid>
56
- <Grid item xs={12} md={bSize} className={classes.colStyles}>
56
+ </Grid2>
57
+ <Grid2 size={{ xs: 12, md: bSize }} className={classes.colStyles}>
57
58
  {childrenToRender[1]}
58
- </Grid>
59
- </Grid>
59
+ </Grid2>
60
+ </Grid2>
61
+ <%={{ }}=%> {{! revert delimiters for mustache }}
60
62
  </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
61
63
  );
62
64
  }
@@ -1,4 +1,4 @@
1
- import Grid from '@mui/material/Grid';
1
+ import Grid2 from '@mui/material/Grid2';
2
2
  import makeStyles from '@mui/styles/makeStyles';
3
3
 
4
4
  interface OneColumnProps {
@@ -20,12 +20,15 @@ export default function OneColumn(props: OneColumnProps) {
20
20
  const { children } = props;
21
21
 
22
22
  return (
23
- <Grid container spacing={2}>
24
- <Grid item xs={12} className={classes.colStyles}>
23
+ <Grid2 container spacing={2}>
24
+ {{! pick new delimiters for mustache }}
25
+ {{=<% %>=}}
26
+ <Grid2 size={{ xs: 12 }} className={classes.colStyles}>
25
27
  {children.map(child => {
26
28
  return child;
27
29
  })}
28
- </Grid>
29
- </Grid>
30
+ </Grid2>
31
+ <%={{ }}=%> {{! revert delimiters for mustache }}
32
+ </Grid2>
30
33
  );
31
34
  }
@@ -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}}},
@@ -73,8 +73,8 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
73
73
  const dataViewName = 'D_pyWorkHistory';
74
74
  const context = thePConn.getContextName();
75
75
 
76
- function computeRowData(rows: Object[]): void {
77
- const theRowData: Object[] = [];
76
+ function computeRowData(rows: object[]): void {
77
+ const theRowData: object[] = [];
78
78
 
79
79
  rows.forEach((row: any, rowIndex: number) => {
80
80
  // Now, for each property in the index of row properties (displayedColumns), add an object
@@ -149,7 +149,7 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
149
149
  // Note: using rowData.current since we're using useRef as a mutatable
150
150
  // value that's only updated when it changes.
151
151
  if (rowData.current.length > 0) {
152
- rowData.current.forEach((dataRow: Object[], index) => {
152
+ rowData.current.forEach((dataRow: object[], index) => {
153
153
  // using dataRow[0]-dataRow[1] as the array key since it's a unique value
154
154
  const theKey = `CaseHistory-${index}`;
155
155
  theDataRows.push(
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line import/prefer-default-export
2
1
  export const historyData = {
3
2
  data: {
4
3
  fetchDateTime: '2023-01-18T12:04:56.517Z',
@@ -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}}},
@@ -109,8 +109,8 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
109
109
  } // 2nd and 3rd args empty string until typedef marked correctly
110
110
  ];
111
111
 
112
- function computeRowData(rows: Object[]): void {
113
- const theRowData: Object[] = [];
112
+ function computeRowData(rows: object[]): void {
113
+ const theRowData: object[] = [];
114
114
 
115
115
  rows?.forEach((row: any, rowIndex: number) => {
116
116
  // Now, for each property in the index of row properties (displayedColumns), add an object
@@ -189,7 +189,7 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
189
189
  // Note: using rowData.current since we're using useRef as a mutatable
190
190
  // value that's only updated when it changes.
191
191
  if (rowData.current.length > 0) {
192
- rowData.current.forEach((dataRow: Object[], index) => {
192
+ rowData.current.forEach((dataRow: object[], index) => {
193
193
  // using dataRow[0]-dataRow[1] as the array key since it's a unique value
194
194
  const theKey = `CaseHistory-${index}`;
195
195
  theDataRows.push(
@@ -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,7 +1,7 @@
1
1
  import React, { useState } from 'react';
2
2
  import TextField from '@mui/material/TextField';
3
3
  import Popover from '@mui/material/Popover';
4
- import Grid from '@mui/material/Grid';
4
+ import Grid2 from '@mui/material/Grid2';
5
5
  import Typography from '@mui/material/Typography';
6
6
  import makeStyles from '@mui/styles/makeStyles';
7
7
  import { Theme as MuiTheme } from "@mui/material/styles";
@@ -125,7 +125,6 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
125
125
  }
126
126
  ];
127
127
  } else {
128
- // eslint-disable-next-line no-console
129
128
  console.log(
130
129
  `Operator: PCore.getUserApi().getOperatorDetails(${caseOpId}); returned empty res.data.pyOperatorInfo.pyUserName - adding default`
131
130
  );
@@ -175,25 +174,28 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
175
174
 
176
175
  // There are fields, so build the grid.
177
176
  return (
178
- <Grid container className={classes.popover} spacing={1}>
179
- <Grid item xs={12}>
177
+ <Grid2 container className={classes.popover} spacing={1}>
178
+ {{! pick new delimiters for mustache }}
179
+ {{=<% %>=}}
180
+ <Grid2 size={{ xs: 12 }}>
180
181
  <Typography variant='h6'>{caseOpName}</Typography>
181
- </Grid>
182
+ </Grid2>
182
183
  {popoverFields.map(field => {
183
184
  return (
184
185
  <React.Fragment key={field.id}>
185
- <Grid container item xs={12} spacing={1}>
186
- <Grid item xs={6}>
186
+ <Grid2 container size={{ xs: 12 }} spacing={1}>
187
+ <Grid2 size={{ xs: 12 }}>
187
188
  <Typography variant='caption'>{field.name}</Typography>
188
- </Grid>
189
- <Grid item xs={6}>
189
+ </Grid2>
190
+ <Grid2 size={{ xs: 6 }}>
190
191
  <Typography variant='subtitle2'>{field.value}</Typography>
191
- </Grid>
192
- </Grid>
192
+ </Grid2>
193
+ </Grid2>
193
194
  </React.Fragment>
194
195
  );
195
196
  })}
196
- </Grid>
197
+ <%={{ }}=%> {{! revert delimiters for mustache }}
198
+ </Grid2>
197
199
  );
198
200
  }
199
201
 
@@ -32,7 +32,10 @@ import {
32
32
  getComponents,
33
33
  getComponentDefaults,
34
34
  sanitize,
35
- validateSemver
35
+ validateSemver,
36
+ getStandaloneMaxPrefixCount,
37
+ getStandaloneMaxLibraryFromPrefixCount,
38
+ updateComponentDefaultLibrary
36
39
  } from '../../util.js';
37
40
  import { COMPONENT_SCHEMA } from '../../constants.js';
38
41
 
@@ -68,8 +71,7 @@ export const compileMustacheTemplates = async (
68
71
  type,
69
72
  subtype,
70
73
  description,
71
- organization,
72
- allowedApplications
74
+ organization
73
75
  }
74
76
  ) => {
75
77
  const files = fs.readdirSync(componentDirectory);
@@ -116,19 +118,19 @@ export const compileMustacheTemplates = async (
116
118
 
117
119
  const isPicklist = subtype === 'Picklist';
118
120
 
119
- if (allowedApplications.trim() === '') {
120
- allowedApplications = [];
121
- } else {
122
- if (allowedApplications.indexOf(',') !== -1) {
123
- allowedApplications = allowedApplications.split(',');
124
- }
125
- allowedApplications = [].concat(allowedApplications);
126
- }
121
+ // if (allowedApplications.trim() === '') {
122
+ // allowedApplications = [];
123
+ // } else {
124
+ // if (allowedApplications.indexOf(',') !== -1) {
125
+ // allowedApplications = allowedApplications.split(',');
126
+ // }
127
+ // allowedApplications = [].concat(allowedApplications);
128
+ // }
127
129
 
128
130
  const componentKeyKebab = convertIntoKebabCase(convertIntoPascalCase(componentKey));
129
131
  const framework = await getFramework();
130
132
 
131
- allowedApplications = allowedApplications.filter(el => !!el.trim()).map(el => el.trim());
133
+ // allowedApplications = allowedApplications.filter(el => !!el.trim()).map(el => el.trim());
132
134
  files.forEach(file => {
133
135
  const filePath = path.join(componentDirectory, file);
134
136
 
@@ -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,
@@ -176,7 +177,6 @@ export const validateCompileAll = async (
176
177
  prefix,
177
178
  library,
178
179
  version,
179
- allowedApplications,
180
180
  organization
181
181
  },
182
182
  options,
@@ -184,6 +184,12 @@ export const validateCompileAll = async (
184
184
 
185
185
  ) => {
186
186
 
187
+ // update defaults when changes
188
+ const configDef = await getComponentDefaults();
189
+ if (configDef.library == null || configDef.library !== library) {
190
+ await updateComponentDefaultLibrary(library);
191
+ }
192
+
187
193
 
188
194
  for (let fieldIdx in COMPONENT_SCHEMA.subtype.field) {
189
195
  const type = "Field";
@@ -203,8 +209,7 @@ export const validateCompileAll = async (
203
209
  version,
204
210
  type,
205
211
  subtype,
206
- description,
207
- allowedApplications
212
+ description
208
213
  },
209
214
  options
210
215
  )
@@ -235,8 +240,7 @@ export const validateCompileAll = async (
235
240
  version,
236
241
  type,
237
242
  subtype,
238
- description,
239
- allowedApplications
243
+ description
240
244
  },
241
245
  options
242
246
  )
@@ -266,8 +270,7 @@ export const validateCompileAll = async (
266
270
  version,
267
271
  type,
268
272
  subtype,
269
- description,
270
- allowedApplications
273
+ description
271
274
  },
272
275
  options
273
276
  )
@@ -287,8 +290,7 @@ export const validateCompile = async (
287
290
  framework,
288
291
  type,
289
292
  subtype,
290
- description,
291
- allowedApplications
293
+ description
292
294
  },
293
295
  options,
294
296
  onlyCompanion = false
@@ -387,8 +389,7 @@ export const validateCompile = async (
387
389
  type,
388
390
  subtype,
389
391
  description,
390
- organization,
391
- allowedApplications
392
+ organization
392
393
  });
393
394
  }
394
395
 
@@ -407,8 +408,7 @@ export const validateCompile = async (
407
408
  type,
408
409
  subtype,
409
410
  description,
410
- organization,
411
- allowedApplications
411
+ organization
412
412
  });
413
413
 
414
414
  if (!onlyCompanion) {
@@ -445,7 +445,6 @@ export default async options => {
445
445
  const prefix = options.params[3];
446
446
  const version = options.params[4];
447
447
  const library = options.params[5];
448
- const allowedApplications = options.params[6];
449
448
 
450
449
  // overwrite
451
450
  organization = options.params[7];
@@ -455,16 +454,30 @@ export default async options => {
455
454
  prefix,
456
455
  library,
457
456
  version,
458
- allowedApplications,
459
457
  organization
460
458
  },
461
459
  options
462
460
  );
463
461
  } else {
462
+ const maxPrefixCount = await getStandaloneMaxPrefixCount();
464
463
  const questions = [
465
464
  {
466
465
  name: 'prefix',
467
- message: 'Enter prefix label'
466
+ message: `Enter prefix label (${maxPrefixCount} max chars)`,
467
+ validate: value => {
468
+ /* value should not be empty
469
+ It should not start with a number
470
+ Only case-insensitive alphanumeric values are allowed
471
+ */
472
+ if (value && !/^\d/.test(value) ) {
473
+ if (value.length > maxPrefixCount) {
474
+ return `${value.length - maxPrefixCount} too many characters.`
475
+ }
476
+ return true;
477
+ }
478
+
479
+ return 'Only alphanumeric values are allowed, starting with alphabets';
480
+ }
468
481
  },
469
482
  {
470
483
  name: 'version',
@@ -476,10 +489,17 @@ export default async options => {
476
489
  }
477
490
  return 'Please provide semver compatible version e.g 0.0.1';
478
491
  }
479
- },
492
+ }
493
+ ];
494
+
495
+ const answers = await inquirer.prompt(questions);
496
+ const maxLibChars = await getStandaloneMaxLibraryFromPrefixCount(answers.prefix);
497
+
498
+ const libQuestions = [
499
+
480
500
  {
481
501
  name: 'library',
482
- message: 'Enter library name (required)',
502
+ message: `Enter library name (required) (${maxLibChars} max chars)`,
483
503
  default: componentDefaults.library,
484
504
  validate: value => {
485
505
  /* value should not be empty
@@ -488,37 +508,30 @@ export default async options => {
488
508
  Only case-insensitive alphanumeric values are allowed
489
509
  */
490
510
  if (value && !/^\d/.test(value) && value === sanitize(value)) {
511
+ if (value.length > maxLibChars) {
512
+ return `${value.length - maxLibChars} too many characters.`
513
+ }
491
514
  return true;
492
515
  }
493
516
  return 'Only alphanumeric values are allowed, starting with alphabets';
494
517
  }
495
- },
496
- {
497
- name: 'allowedApplications',
498
- message: 'Please enter the application names to be supported (comma-separated). ',
499
- suffix: 'Keep empty for all applications'
500
518
  }
501
519
  ];
502
520
 
503
- await inquirer.prompt(questions).then(async answers => {
504
- const {
505
- library,
506
- version,
507
- allowedApplications
508
- } = answers;
509
- let { prefix } = answers;
510
- prefix = prefix.replace(/\W+/g, "");
511
- await validateCompileAll(
512
- {
513
- prefix,
514
- library,
515
- version,
516
- allowedApplications,
517
- organization
518
- },
519
- options
520
- );
521
- });
521
+ const libAnswers = await inquirer.prompt(libQuestions);
522
+ let { prefix } = answers;
523
+ prefix = prefix.replace(/\W+/g, "");
524
+
525
+
526
+ await validateCompileAll(
527
+ {
528
+ prefix,
529
+ library : libAnswers.library,
530
+ version : answers.version,
531
+ organization
532
+ },
533
+ options
534
+ );
522
535
  }
523
536
 
524
537
 
@@ -415,8 +415,27 @@ export default async (option, category = CATEGORY_CUSTOM) => {
415
415
  throw new Error(`Invalid: Error occurred in validating ${componentToValidate}`);
416
416
  }
417
417
  }
418
+
419
+ if (data.description === "") {
420
+ throw new Error(`Invalid schema json in config.json: 'description' cannot be blank.`);
421
+ process.exit(1);
422
+ }
423
+
424
+ if (data.componentKey !== componentToValidate) {
425
+ throw new Error (`${chalk.redBright(`Error: Invalid folder name or componentKey in config.json for component '${data.name}'.\n --> Component folder name: '${componentToValidate}' must match component key '${data.componentKey}'.\n --> NOTE: Values are case sensitve.`)}`);
426
+ }
427
+
428
+ if (data.name !== componentToValidate) {
429
+ throw new Error (`${chalk.redBright(`Error: Invalid folder name or name in config.json for component '${data.name}'.\n --> Component folder name: '${componentToValidate}' must match name '${data.name}'.\n --> NOTE: Values are case sensitve.`)}`);
430
+ }
431
+
432
+
418
433
  }
419
434
 
435
+
436
+
437
+
438
+
420
439
  console.log(`${chalk.bold.green(componentToValidate)} schema is valid`);
421
440
  } else {
422
441
  // eslint-disable-next-line no-lonely-if