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

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 (255) hide show
  1. package/package.json +1 -1
  2. package/src/tasks/create/templates/Constellation/field/Icon-Button-URL/demo.stories.tsx.mustache +1 -1
  3. package/src/tasks/create/templates/Constellation/field/Picklist/index.tsx.mustache +0 -1
  4. package/src/tasks/create/templates/Constellation/field/Picklist-Autocomplete/date.ts.mustache +15 -37
  5. package/src/tasks/create/templates/Constellation/template/DETAILS/HighlightRender.tsx.mustache +2 -2
  6. package/src/tasks/create/templates/Constellation/template/DETAILS-region/HighlightRender.tsx.mustache +2 -2
  7. package/src/tasks/create/templates/Constellation/template/DETAILS-region/index.tsx.mustache +1 -1
  8. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.html.mustache +19 -18
  9. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +127 -44
  10. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/demo.stories.tsx.mustache +36 -15
  11. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/icon-button-url.component.html.mustache +40 -0
  12. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/{text-url.component.scss.mustache → icon-button-url.component.scss.mustache} +4 -0
  13. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/icon-button-url.component.ts.mustache +195 -0
  14. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/mock.ts.mustache +32 -12
  15. package/src/tasks/create/templates/SDK-Angular/field/Text-URL/text-url.component.html.mustache +1 -0
  16. package/src/tasks/create/templates/SDK-Angular/field/Text-URL/text-url.component.ts.mustache +2 -0
  17. package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/time-of-day.component.html.mustache +1 -0
  18. package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/time-of-day.component.ts.mustache +2 -0
  19. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/form.component.scss.mustache +1 -1
  20. package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.ts.mustache +2 -2
  21. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.html.mustache +1 -1
  22. package/src/tasks/create/templates/SDK-React/field/Boolean/demo.stories.tsx.mustache +1 -1
  23. package/src/tasks/create/templates/SDK-React/field/Boolean/mock.ts.mustache +8 -8
  24. package/src/tasks/create/templates/SDK-React/field/Date/index.tsx.mustache +2 -2
  25. package/src/tasks/create/templates/SDK-React/field/Date/mock.ts.mustache +7 -7
  26. package/src/tasks/create/templates/SDK-React/field/DateTime/demo.stories.tsx.mustache +1 -1
  27. package/src/tasks/create/templates/SDK-React/field/DateTime/index.tsx.mustache +2 -3
  28. package/src/tasks/create/templates/SDK-React/field/DateTime/mock.ts.mustache +6 -6
  29. package/src/tasks/create/templates/SDK-React/field/Decimal/index.tsx.mustache +51 -35
  30. package/src/tasks/create/templates/SDK-React/field/Decimal/mock.ts.mustache +1 -1
  31. package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/config.json.mustache +1 -1
  32. package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/demo.stories.tsx.mustache +1 -1
  33. package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/index.tsx.mustache +47 -37
  34. package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/mock.ts.mustache +1 -1
  35. package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/config.json.mustache +1 -1
  36. package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/index.tsx.mustache +36 -21
  37. package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/mock.ts.mustache +1 -1
  38. package/src/tasks/create/templates/SDK-React/field/Icon-Button-URL/demo.stories.tsx.mustache +58 -25
  39. package/src/tasks/create/templates/SDK-React/field/Icon-Button-URL/index.tsx.mustache +134 -53
  40. package/src/tasks/create/templates/SDK-React/field/Icon-Button-URL/mock.ts.mustache +2 -14
  41. package/src/tasks/create/templates/SDK-React/field/Integer/config.json.mustache +1 -1
  42. package/src/tasks/create/templates/SDK-React/field/Integer/index.tsx.mustache +19 -20
  43. package/src/tasks/create/templates/SDK-React/field/Integer/mock.ts.mustache +1 -1
  44. package/src/tasks/create/templates/SDK-React/field/Picklist/index.tsx.mustache +26 -26
  45. package/src/tasks/create/templates/SDK-React/field/Picklist-RadioButtons/mock.ts.mustache +0 -1
  46. package/src/tasks/create/templates/SDK-React/field/Text/config.json.mustache +1 -1
  47. package/src/tasks/create/templates/SDK-React/field/Text/index.tsx.mustache +0 -1
  48. package/src/tasks/create/templates/SDK-React/field/Text/mock.ts.mustache +1 -1
  49. package/src/tasks/create/templates/SDK-React/field/Text-Email/config.json.mustache +1 -1
  50. package/src/tasks/create/templates/SDK-React/field/Text-Email/mock.ts.mustache +1 -1
  51. package/src/tasks/create/templates/SDK-React/field/Text-Input/config.json.mustache +1 -1
  52. package/src/tasks/create/templates/SDK-React/field/Text-Input/index.tsx.mustache +0 -1
  53. package/src/tasks/create/templates/SDK-React/field/Text-Input/mock.ts.mustache +1 -1
  54. package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/index.tsx.mustache +1 -3
  55. package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/mock.ts.mustache +1 -1
  56. package/src/tasks/create/templates/SDK-React/field/Text-Phone/index.tsx.mustache +1 -2
  57. package/src/tasks/create/templates/SDK-React/field/Text-URL/index.tsx.mustache +1 -2
  58. package/src/tasks/create/templates/SDK-React/field/Text-URL/mock.ts.mustache +1 -1
  59. package/src/tasks/create/templates/SDK-React/field/TimeOfDay/demo.stories.tsx.mustache +4 -4
  60. package/src/tasks/create/templates/SDK-React/field/TimeOfDay/index.tsx.mustache +0 -2
  61. package/src/tasks/create/templates/SDK-React/field/TimeOfDay/mock.ts.mustache +6 -6
  62. package/src/tasks/create/templates/SDK-React/template/DETAILS/demo.stories.tsx.mustache +1 -4
  63. package/src/tasks/create/templates/SDK-React/template/DETAILS/index.tsx.mustache +3 -8
  64. package/src/tasks/create/templates/SDK-React/template/DETAILS/mock.ts.mustache +181 -165
  65. package/src/tasks/create/templates/SDK-React/template/DETAILS-region/demo.stories.tsx.mustache +1 -3
  66. package/src/tasks/create/templates/SDK-React/template/DETAILS-region/index.tsx.mustache +3 -8
  67. package/src/tasks/create/templates/SDK-React/template/DETAILS-region/mock.ts.mustache +207 -163
  68. package/src/tasks/create/templates/SDK-React/template/FORM/config.json.mustache +1 -1
  69. package/src/tasks/create/templates/SDK-React/template/FORM/demo.stories.tsx.mustache +0 -1
  70. package/src/tasks/create/templates/SDK-React/template/FORM/index.tsx.mustache +14 -16
  71. package/src/tasks/create/templates/SDK-React/template/FORM/utils.ts.mustache +1 -1
  72. package/src/tasks/create/templates/SDK-React/template/FORM-region/demo.stories.tsx.mustache +0 -2
  73. package/src/tasks/create/templates/SDK-React/template/FORM-region/mock.ts.mustache +121 -122
  74. package/src/tasks/create/templates/SDK-React/template/PAGE/OneColumn.tsx.mustache +12 -13
  75. package/src/tasks/create/templates/SDK-React/template/PAGE/demo.stories.tsx.mustache +1 -1
  76. package/src/tasks/create/templates/SDK-React/template/PAGE/index.tsx.mustache +3 -5
  77. package/src/tasks/create/templates/SDK-React/template/PAGE/mock.ts.mustache +8 -9
  78. package/src/tasks/create/templates/SDK-React/widget/CASE/config.json.mustache +2 -2
  79. package/src/tasks/create/templates/SDK-React/widget/CASE/demo.stories.tsx.mustache +0 -1
  80. package/src/tasks/create/templates/SDK-React/widget/CASE/index.tsx.mustache +3 -3
  81. package/src/tasks/create/templates/SDK-React/widget/PAGE/config.json.mustache +43 -43
  82. package/src/tasks/create/templates/SDK-React/widget/PAGE/mock.ts.mustache +1 -1
  83. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/demo.stories.tsx.mustache +1 -2
  84. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/index.tsx.mustache +0 -1
  85. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/mock.ts.mustache +0 -1
  86. package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +94 -4
  87. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/config.json +1 -1
  88. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +0 -1
  89. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/mock.ts +1 -1
  90. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +2 -2
  91. package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.tsx +2 -0
  92. package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/Currency.tsx +36 -26
  93. package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/Decimal.tsx +33 -19
  94. package/tests/assets/sdk-r/components/create/override-sdk/field/Multiselect/Multiselect.tsx +1 -1
  95. package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/Percentage.tsx +33 -18
  96. package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/ScalarList.tsx +2 -0
  97. package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/UserReference.tsx +11 -1
  98. package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/Assignment.tsx +2 -1
  99. package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +1 -1
  100. package/tests/assets/sdk-r/components/create/override-sdk/infra/DeferLoad/DeferLoad.tsx +5 -1
  101. package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.tsx +3 -1
  102. package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.tsx +2 -2
  103. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/CaseView.tsx +2 -1
  104. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +1 -1
  105. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/DataReference.tsx +1 -1
  106. package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/utils/index.ts +2 -7
  107. package/tests/assets/sdk-r/components/create/override-sdk/template/Details/Details.tsx +1 -1
  108. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +1 -1
  109. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +1 -1
  110. package/tests/assets/sdk-r/components/create/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +2 -0
  111. package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.tsx +4 -2
  112. package/tests/assets/sdk-r/components/create/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +1 -1
  113. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +1 -1
  114. package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/PromotedFilters.tsx +1 -0
  115. package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +4 -0
  116. package/tests/assets/sdk-r/components/create/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +1 -1
  117. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +1 -1
  118. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.tsx +3 -2
  119. package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.tsx +1 -1
  120. package/tests/assets/sdk-r/components/create/override-sdk/widget/QuickCreate/QuickCreate.tsx +1 -0
  121. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +3 -2
  122. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/PConnProps.d.ts +46 -0
  123. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +99 -0
  124. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/index.tsx +201 -0
  125. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/mock.ts +5 -0
  126. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/styles.ts +8 -0
  127. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
  128. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/date.ts +15 -37
  129. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +11 -0
  130. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/utils.ts +3 -0
  131. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +94 -4
  132. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Avatar.tsx +78 -0
  133. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/DetailsRender.tsx +52 -0
  134. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/HighlightRender.tsx +46 -0
  135. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Operator.tsx +215 -0
  136. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/demo.stories.tsx +77 -23
  137. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +48 -37
  138. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/mock.ts +78 -20
  139. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/styles.ts +16 -0
  140. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/DetailsRender.tsx +59 -0
  141. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +28 -5
  142. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +2 -1
  143. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/localizations.json +4 -2
  144. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +78 -0
  145. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +52 -0
  146. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +46 -0
  147. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +215 -0
  148. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +95 -26
  149. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +39 -36
  150. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +68 -10
  151. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/styles.ts +15 -0
  152. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +59 -0
  153. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +23 -4
  154. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +87 -6
  155. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +67 -5
  156. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/demo.stories.tsx +1 -1
  157. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/mock.ts +8 -8
  158. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +1 -1
  159. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/demo.stories.tsx +1 -1
  160. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/index.tsx +44 -34
  161. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/mock.ts +1 -1
  162. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/index.tsx +2 -2
  163. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/mock.ts +7 -7
  164. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/demo.stories.tsx +1 -1
  165. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/index.tsx +2 -3
  166. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/mock.ts +6 -6
  167. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/index.tsx +48 -32
  168. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/mock.ts +1 -1
  169. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/config.json +1 -1
  170. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/mock.ts +1 -1
  171. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/config.json +64 -0
  172. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +91 -0
  173. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/index.tsx +157 -0
  174. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/mock.ts +4 -0
  175. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/styles.js +7 -0
  176. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/config.json +1 -1
  177. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/index.tsx +16 -17
  178. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/mock.ts +1 -1
  179. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/index.tsx +1 -3
  180. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/mock.ts +1 -1
  181. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/config.json +1 -1
  182. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/index.tsx +34 -19
  183. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/mock.ts +1 -1
  184. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +1 -2
  185. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +23 -23
  186. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/mock.ts +0 -1
  187. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/config.json +1 -1
  188. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/index.tsx +0 -1
  189. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/mock.ts +1 -1
  190. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/config.json +1 -1
  191. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/index.tsx +0 -1
  192. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/mock.ts +1 -1
  193. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +4 -4
  194. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/index.tsx +0 -2
  195. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/mock.ts +6 -6
  196. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/index.tsx +1 -2
  197. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/mock.ts +1 -1
  198. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/demo.stories.tsx +1 -7
  199. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx +4 -9
  200. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/mock.ts +181 -165
  201. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/config.json +1 -1
  202. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/demo.stories.tsx +0 -1
  203. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx +11 -13
  204. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/utils.ts +1 -1
  205. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/OneColumn.tsx +12 -13
  206. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/demo.stories.tsx +1 -1
  207. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/index.tsx +3 -5
  208. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/mock.ts +8 -9
  209. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +1 -6
  210. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +4 -9
  211. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +207 -163
  212. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +0 -2
  213. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/mock.ts +121 -122
  214. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/config.json +2 -2
  215. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +0 -1
  216. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/index.tsx +3 -3
  217. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +1 -2
  218. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -1
  219. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/mock.ts +0 -1
  220. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/config.json +43 -43
  221. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/mock.ts +1 -1
  222. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +2 -2
  223. package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.tsx +2 -0
  224. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/Currency.tsx +36 -26
  225. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/Decimal.tsx +33 -19
  226. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Multiselect/Multiselect.tsx +1 -1
  227. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/Percentage.tsx +33 -18
  228. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/ScalarList.tsx +2 -0
  229. package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/UserReference.tsx +11 -1
  230. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/Assignment.tsx +2 -1
  231. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +1 -1
  232. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DeferLoad/DeferLoad.tsx +5 -1
  233. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.tsx +3 -1
  234. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.tsx +2 -2
  235. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/CaseView.tsx +2 -1
  236. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +1 -1
  237. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/DataReference.tsx +1 -1
  238. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/utils/index.ts +2 -7
  239. package/tests/assets/sdk-r/components/createAll/override-sdk/template/Details/Details.tsx +1 -1
  240. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +1 -1
  241. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +1 -1
  242. package/tests/assets/sdk-r/components/createAll/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +2 -0
  243. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.tsx +4 -2
  244. package/tests/assets/sdk-r/components/createAll/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +1 -1
  245. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +1 -1
  246. package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/PromotedFilters.tsx +1 -0
  247. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +4 -0
  248. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +1 -1
  249. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +1 -1
  250. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.tsx +3 -2
  251. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.tsx +1 -1
  252. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/QuickCreate/QuickCreate.tsx +1 -0
  253. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/text-url.component.html.mustache +0 -29
  254. package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/text-url.component.ts.mustache +0 -179
  255. /package/src/tasks/create/templates/SDK-Angular/field/Icon-Button-URL/{text-url.component.spec.ts.mustache → icon-button-url.component.spec.ts.mustache} +0 -0
@@ -1,120 +1,124 @@
1
1
  const operatorDetails = {
2
2
  data: {
3
- pzLoadTime: "January 18, 2023 10:33:19 AM EST",
4
- pzPageNameHash: "_pa1519192551088960pz",
3
+ pzLoadTime: 'January 18, 2023 10:33:19 AM EST',
4
+ pzPageNameHash: '_pa1519192551088960pz',
5
5
  pyOperatorInfo: {
6
- pyUserName: "french DigV2",
7
- pyPosition: "",
8
- pyImageInsKey: "",
6
+ pyUserName: 'french DigV2',
7
+ pyPosition: '',
8
+ pyImageInsKey: '',
9
9
  pySkills: [
10
10
  {
11
- pySkillName: "",
12
- pzIndexOwnerKey: "DATA-ADMIN-OPERATOR-ID FRENCHTEST.DIGV2",
13
- pySkillRating: 0,
14
- },
11
+ pySkillName: '',
12
+ pzIndexOwnerKey: 'DATA-ADMIN-OPERATOR-ID FRENCHTEST.DIGV2',
13
+ pySkillRating: 0
14
+ }
15
15
  ],
16
- pyReportToUserName: "",
17
- pyReportTo: "",
18
- pyOrganization: "DXIL",
19
- pyTitle: "",
20
- pyLabel: "frenchTest.DigV2",
21
- pyEmailAddress: "User@DigV2",
22
- pyTelephone: "",
23
- },
16
+ pyReportToUserName: '',
17
+ pyReportTo: '',
18
+ pyOrganization: 'DXIL',
19
+ pyTitle: '',
20
+ pyLabel: 'frenchTest.DigV2',
21
+ pyEmailAddress: 'User@DigV2',
22
+ pyTelephone: ''
23
+ }
24
24
  },
25
25
  status: 200,
26
- statusText: "",
26
+ statusText: '',
27
27
  headers: {
28
- "content-length": "435",
29
- "content-type": "application/json;charset=UTF-8",
28
+ 'content-length': '435',
29
+ 'content-type': 'application/json;charset=UTF-8'
30
30
  },
31
- request: {},
31
+ request: {}
32
32
  };
33
33
 
34
34
  export default operatorDetails;
35
35
 
36
36
  export const pyReviewRaw = {
37
- name: "pyReview",
38
- type: "View",
37
+ name: 'pyReview',
38
+ type: 'View',
39
39
  config: {
40
- template: "Details",
41
- ruleClass: "MyCo-MyCompon-Work-MyComponents",
40
+ template: 'Details',
41
+ ruleClass: 'MyCo-MyCompon-Work-MyComponents',
42
42
  showLabel: true,
43
- label: "@L Details",
44
- localeReference: "@LR MYCO-MYCOMPON-WORK-MYCOMPONENTS!VIEW!PYREVIEW",
43
+ label: '@L Details',
44
+ localeReference: '@LR MYCO-MYCOMPON-WORK-MYCOMPONENTS!VIEW!PYREVIEW',
45
45
  showHighlightedData: true,
46
46
  highlightedData: [
47
47
  {
48
- type: "TextInput",
48
+ type: 'TextInput',
49
49
  config: {
50
- value: "@P .pyStatusWork",
51
- label: "@L Work Status",
52
- displayMode: "STACKED_LARGE_VAL",
53
- displayAsStatus: true,
54
- },
50
+ value: '@P .pyStatusWork',
51
+ label: '@L Work Status',
52
+ displayMode: 'STACKED_LARGE_VAL',
53
+ displayAsStatus: true
54
+ }
55
55
  },
56
56
  {
57
- type: "TextInput",
57
+ type: 'TextInput',
58
58
  config: {
59
- value: "@P .pyID",
60
- label: "@L Case ID",
61
- displayMode: "STACKED_LARGE_VAL",
62
- },
59
+ value: '@P .pyID',
60
+ label: '@L Case ID',
61
+ displayMode: 'STACKED_LARGE_VAL'
62
+ }
63
63
  },
64
64
  {
65
- type: "DateTime",
65
+ type: 'DateTime',
66
66
  config: {
67
- value: "@P .pxCreateDateTime",
68
- label: "@L Create date/time",
69
- displayMode: "STACKED_LARGE_VAL",
70
- },
67
+ value: '@P .pxCreateDateTime',
68
+ label: '@L Create date/time',
69
+ displayMode: 'STACKED_LARGE_VAL'
70
+ }
71
71
  },
72
72
  {
73
- type: "UserReference",
73
+ type: 'UserReference',
74
74
  config: {
75
- label: "@L Create Operator",
76
- value: "@USER .pxCreateOperator",
77
- placeholder: "Select...",
78
- displayMode: "STACKED_LARGE_VAL",
79
- },
80
- },
75
+ label: '@L Create Operator',
76
+ value: '@USER .pxCreateOperator',
77
+ placeholder: 'Select...',
78
+ displayMode: 'STACKED_LARGE_VAL'
79
+ }
80
+ }
81
81
  ],
82
82
  inheritedProps: [
83
83
  {
84
- prop: "label",
85
- value: "@L Details",
84
+ prop: 'label',
85
+ value: '@L Details'
86
86
  },
87
87
  {
88
- prop: "showLabel",
89
- value: true,
90
- },
91
- ],
88
+ prop: 'showLabel',
89
+ value: true
90
+ }
91
+ ]
92
92
  },
93
93
  children: [
94
94
  {
95
- name: "A",
96
- type: "Region",
95
+ name: 'A',
96
+ type: 'Region',
97
97
  getPConnect: () => {
98
98
  return {
99
99
  getRawMetadata: () => {
100
100
  return pyReviewRaw.children[0];
101
- },
101
+ }
102
102
  };
103
103
  },
104
104
  children: [
105
105
  {
106
106
  readOnly: undefined,
107
- placeholder: "First Name",
108
- value: "John",
109
- label: "First Name",
107
+ placeholder: 'First Name',
108
+ value: 'John',
109
+ label: 'First Name',
110
110
  hasSuggestions: false,
111
- displayMode: "LABELS_LEFT",
111
+ displayMode: 'LABELS_LEFT',
112
112
  getPConnect: () => {
113
113
  return {
114
114
  getActionsApi: () => {
115
115
  return {
116
- updateFieldValue: () => {/* nothing */},
117
- triggerFieldChange: () => {/* nothing */}
116
+ updateFieldValue: () => {
117
+ /* nothing */
118
+ },
119
+ triggerFieldChange: () => {
120
+ /* nothing */
121
+ }
118
122
  };
119
123
  },
120
124
  getStateProps: () => {
@@ -125,17 +129,21 @@ export const pyReviewRaw = {
125
129
  },
126
130
  {
127
131
  readOnly: undefined,
128
- placeholder: "Middle Name",
129
- value: "",
130
- label: "Middle Name",
132
+ placeholder: 'Middle Name',
133
+ value: '',
134
+ label: 'Middle Name',
131
135
  hasSuggestions: false,
132
- displayMode: "LABELS_LEFT",
136
+ displayMode: 'LABELS_LEFT',
133
137
  getPConnect: () => {
134
138
  return {
135
139
  getActionsApi: () => {
136
140
  return {
137
- updateFieldValue: () => {/* nothing */},
138
- triggerFieldChange: () => {/* nothing */}
141
+ updateFieldValue: () => {
142
+ /* nothing */
143
+ },
144
+ triggerFieldChange: () => {
145
+ /* nothing */
146
+ }
139
147
  };
140
148
  },
141
149
  getStateProps: () => {
@@ -146,17 +154,21 @@ export const pyReviewRaw = {
146
154
  },
147
155
  {
148
156
  readOnly: undefined,
149
- placeholder: "Last Name",
150
- value: "Doe",
151
- label: "Last Name",
157
+ placeholder: 'Last Name',
158
+ value: 'Doe',
159
+ label: 'Last Name',
152
160
  hasSuggestions: false,
153
- displayMode: "LABELS_LEFT",
161
+ displayMode: 'LABELS_LEFT',
154
162
  getPConnect: () => {
155
163
  return {
156
164
  getActionsApi: () => {
157
165
  return {
158
- updateFieldValue: () => {/* nothing */},
159
- triggerFieldChange: () => {/* nothing */}
166
+ updateFieldValue: () => {
167
+ /* nothing */
168
+ },
169
+ triggerFieldChange: () => {
170
+ /* nothing */
171
+ }
160
172
  };
161
173
  },
162
174
  getStateProps: () => {
@@ -166,57 +178,61 @@ export const pyReviewRaw = {
166
178
  }
167
179
  },
168
180
  {
169
- value: "john@doe.com",
170
- label: "Email",
181
+ value: 'john@doe.com',
182
+ label: 'Email',
171
183
  required: true,
172
- testId: "CE8AE9DA5B7CD6C3DF2929543A9AF92D",
184
+ testId: 'CE8AE9DA5B7CD6C3DF2929543A9AF92D',
173
185
  hasSuggestions: false,
174
- displayMode: "LABELS_LEFT",
186
+ displayMode: 'LABELS_LEFT'
175
187
  },
176
188
  {
177
189
  readOnly: undefined,
178
- value: "+16397975093",
179
- label: "Phone",
180
- displayMode: "LABELS_LEFT",
181
- hasSuggestions: false,
190
+ value: '+16397975093',
191
+ label: 'Phone',
192
+ displayMode: 'LABELS_LEFT',
193
+ hasSuggestions: false
182
194
  },
183
195
  {
184
196
  readOnly: undefined,
185
- placeholder: "Price",
186
- value: "90.99",
187
- label: "Price",
197
+ placeholder: 'Price',
198
+ value: '90.99',
199
+ label: 'Price',
188
200
  hasSuggestions: false,
189
- displayMode: "LABELS_LEFT",
201
+ displayMode: 'LABELS_LEFT',
190
202
  getPConnect: () => {
191
203
  return {
192
- getActionsApi: () => {/* nothing */},
204
+ getActionsApi: () => {
205
+ /* nothing */
206
+ },
193
207
  getStateProps: () => {
194
208
  return {
195
- value: "",
209
+ value: ''
196
210
  };
197
211
  },
198
212
  getComponentName: () => {
199
- return "currency";
200
- },
213
+ return 'currency';
214
+ }
201
215
  };
202
- },
216
+ }
203
217
  },
204
218
  {
205
219
  readOnly: undefined,
206
- value: "100 Mbps",
207
- label: "Internet Plan",
220
+ value: '100 Mbps',
221
+ label: 'Internet Plan',
208
222
  hasSuggestions: false,
209
- displayMode: "LABELS_LEFT",
223
+ displayMode: 'LABELS_LEFT',
210
224
  getPConnect: () => {
211
225
  return {
212
- getActionsApi: () => {/* nothing */},
226
+ getActionsApi: () => {
227
+ /* nothing */
228
+ },
213
229
  getStateProps: () => {
214
230
  return {
215
- value: "",
231
+ value: ''
216
232
  };
217
233
  },
218
234
  getComponentName: () => {
219
- return "radio";
235
+ return 'radio';
220
236
  },
221
237
  getContextName: () => {
222
238
  return 'app/primary_1';
@@ -242,109 +258,109 @@ export const pyReviewRaw = {
242
258
  },
243
259
  getLocalizedValue: val => {
244
260
  return val;
245
- },
261
+ }
246
262
  };
247
- },
263
+ }
248
264
  },
249
265
  {
250
- label: "Update operator",
251
- createLabel: "Created",
252
- updateLabel: "Updated",
253
- updateDateTime: "2023-03-10T12:53:04.670Z",
254
- createDateTime: "2023-03-10T12:52:20.054Z",
255
- updateOperator: {
256
- userId: "User.DigV2",
257
- userName: "User DigV2",
258
- },
259
- createOperator: {
260
- userId: "User.DigV2",
261
- userName: "User DigV2",
262
- },
263
- },
264
- ],
265
- },
266
+ label: 'Update operator',
267
+ createLabel: 'Created',
268
+ updateLabel: 'Updated',
269
+ updateDateTime: '2023-03-10T12:53:04.670Z',
270
+ createDateTime: '2023-03-10T12:52:20.054Z',
271
+ updateOperator: {
272
+ userId: 'User.DigV2',
273
+ userName: 'User DigV2'
274
+ },
275
+ createOperator: {
276
+ userId: 'User.DigV2',
277
+ userName: 'User DigV2'
278
+ }
279
+ }
280
+ ]
281
+ }
266
282
  ],
267
- classID: "MyCo-MyCompon-Work-MyComponents",
283
+ classID: 'MyCo-MyCompon-Work-MyComponents'
268
284
  };
269
285
 
270
286
  export const pyReviewResolved = {
271
287
  readOnly: true,
272
- template: "Details",
273
- ruleClass: "MyCo-MyCompon-Work-MyComponents",
288
+ template: 'Details',
289
+ ruleClass: 'MyCo-MyCompon-Work-MyComponents',
274
290
  showLabel: true,
275
- label: "Details",
276
- localeReference: "MYCO-MYCOMPON-WORK-MYCOMPONENTS!VIEW!PYREVIEW",
291
+ label: 'Details',
292
+ localeReference: 'MYCO-MYCOMPON-WORK-MYCOMPONENTS!VIEW!PYREVIEW',
277
293
  showHighlightedData: true,
278
294
  highlightedData: [
279
295
  {
280
- type: "TextInput",
296
+ type: 'TextInput',
281
297
  config: {
282
- value: "New",
283
- label: "Work Status",
284
- displayMode: "STACKED_LARGE_VAL",
285
- displayAsStatus: true,
286
- },
298
+ value: 'New',
299
+ label: 'Work Status',
300
+ displayMode: 'STACKED_LARGE_VAL',
301
+ displayAsStatus: true
302
+ }
287
303
  },
288
304
  {
289
- type: "TextInput",
305
+ type: 'TextInput',
290
306
  config: {
291
- value: "M-1002",
292
- label: "Case ID",
293
- displayMode: "STACKED_LARGE_VAL",
294
- },
307
+ value: 'M-1002',
308
+ label: 'Case ID',
309
+ displayMode: 'STACKED_LARGE_VAL'
310
+ }
295
311
  },
296
312
  {
297
- type: "DateTime",
313
+ type: 'DateTime',
298
314
  config: {
299
- value: "2022-12-11T20:06:27.232Z",
300
- label: "Create date/time",
301
- displayMode: "STACKED_LARGE_VAL",
302
- },
315
+ value: '2022-12-11T20:06:27.232Z',
316
+ label: 'Create date/time',
317
+ displayMode: 'STACKED_LARGE_VAL'
318
+ }
303
319
  },
304
320
  {
305
- type: "UserReference",
321
+ type: 'UserReference',
306
322
  config: {
307
- label: "Create Operator",
323
+ label: 'Create Operator',
308
324
  value: {
309
- userId: "conns",
310
- userName: "Sara Connor",
325
+ userId: 'conns',
326
+ userName: 'Sara Connor'
311
327
  },
312
- placeholder: "Select...",
313
- displayMode: "STACKED_LARGE_VAL",
314
- },
315
- },
328
+ placeholder: 'Select...',
329
+ displayMode: 'STACKED_LARGE_VAL'
330
+ }
331
+ }
316
332
  ],
317
- displayMode: "LABELS_LEFT",
333
+ displayMode: 'LABELS_LEFT'
318
334
  };
319
335
 
320
336
  export const regionChildrenResolved = [
321
337
  {
322
338
  readOnly: true,
323
- value: "",
324
- label: "SLA Deadline",
325
- displayMode: "LABELS_LEFT",
339
+ value: '',
340
+ label: 'SLA Deadline',
341
+ displayMode: 'LABELS_LEFT'
326
342
  },
327
343
  {
328
344
  readOnly: true,
329
- value: "",
330
- label: "SLA Goal",
331
- displayMode: "LABELS_LEFT",
345
+ value: '',
346
+ label: 'SLA Goal',
347
+ displayMode: 'LABELS_LEFT'
332
348
  },
333
349
  {
334
350
  readOnly: true,
335
- value: "",
336
- label: "SLA Start Time",
337
- listType: "associated",
351
+ value: '',
352
+ label: 'SLA Start Time',
353
+ listType: 'associated',
338
354
  datasource: [
339
355
  {
340
- key: "AssignmentCreation",
341
- value: "The creation time of the Assignment",
356
+ key: 'AssignmentCreation',
357
+ value: 'The creation time of the Assignment'
342
358
  },
343
359
  {
344
- key: "CurrentTime",
345
- value: "Current Date Time",
346
- },
360
+ key: 'CurrentTime',
361
+ value: 'Current Date Time'
362
+ }
347
363
  ],
348
- displayMode: "LABELS_LEFT",
349
- },
350
- ];
364
+ displayMode: 'LABELS_LEFT'
365
+ }
366
+ ];
@@ -77,7 +77,5 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
77
77
  };
78
78
 
79
79
  Base{{COMPONENT_CLASS_NAME}}.args = {
80
- showHighlightedData: false,
81
- label: 'Details Region',
82
- showLabel: true
80
+ showHighlightedData: false
83
81
  };
@@ -5,12 +5,10 @@ import createPConnectComponent from '@pega/react-sdk-components/lib/bridge/react
5
5
  import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
6
6
  import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
7
7
 
8
- import Styled{{COMPONENT_CLASS_NAME}}Wrapper from "./styles";
8
+ import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
9
9
 
10
10
  interface {{COMPONENT_CLASS_NAME}}Props extends PConnProps {
11
11
  // If any, enter additional props that only exist on this component
12
- showLabel: boolean;
13
- label: string;
14
12
  showHighlightedData: boolean;
15
13
  }
16
14
  // Duplicated runtime code from React SDK
@@ -19,10 +17,7 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
19
17
  // Get emitted components from map (so we can get any override that may exist)
20
18
  const FieldGroup = getComponentFromMap('FieldGroup');
21
19
 
22
- const { label, showLabel = true, getPConnect, showHighlightedData = false } = props;
23
-
24
- // Get the inherited props from the parent to determine label settings
25
- const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };
20
+ const { getPConnect, showHighlightedData = false } = props;
26
21
 
27
22
  // Set display mode prop and re-create the children so this part of the dom tree renders
28
23
  // in a readonly (display) mode instead of a editable
@@ -57,7 +52,7 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
57
52
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
58
53
  {{! pick new delimiters for mustache }}
59
54
  {{=<% %>=}}
60
- <FieldGroup name={propsToUse.showLabel ? propsToUse.label : ''}>
55
+ <FieldGroup>
61
56
  {showHighlightedData && highlightedDataArr.length > 0 && (
62
57
  <Grid container spacing={1} style={{ padding: '0 0 1em' }}>
63
58
  {highlightedDataArr.map((child, i) => (