@pega/custom-dx-components 0.23.48 → 0.23.50

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 (249) hide show
  1. package/package.json +1 -1
  2. package/src/cli.js +9 -3
  3. package/src/constants.js +5 -0
  4. package/src/tasks/build-all/helper.js +1 -1
  5. package/src/tasks/build-comp/helper.js +4 -2
  6. package/src/tasks/build-comp/index.js +8 -2
  7. package/src/tasks/build-jest-assets/index.js +171 -0
  8. package/src/tasks/create/templates/Constellation/Field/Boolean/create-nonce.ts.mustache +6 -0
  9. package/src/tasks/create/templates/Constellation/Field/Boolean/demo.stories.tsx.mustache +1 -0
  10. package/src/tasks/create/templates/Constellation/Field/Boolean/index.tsx.mustache +3 -1
  11. package/src/tasks/create/templates/Constellation/Field/Date/create-nonce.ts.mustache +6 -0
  12. package/src/tasks/create/templates/Constellation/Field/Date/demo.stories.tsx.mustache +1 -0
  13. package/src/tasks/create/templates/Constellation/Field/Date/index.tsx.mustache +2 -1
  14. package/src/tasks/create/templates/Constellation/Field/DateTime/create-nonce.ts.mustache +6 -0
  15. package/src/tasks/create/templates/Constellation/Field/DateTime/demo.stories.tsx.mustache +2 -0
  16. package/src/tasks/create/templates/Constellation/Field/DateTime/index.tsx.mustache +2 -1
  17. package/src/tasks/create/templates/Constellation/Field/Decimal/create-nonce.ts.mustache +6 -0
  18. package/src/tasks/create/templates/Constellation/Field/Decimal/demo.stories.tsx.mustache +2 -0
  19. package/src/tasks/create/templates/Constellation/Field/Decimal/index.tsx.mustache +2 -1
  20. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/create-nonce.ts.mustache +6 -0
  21. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/demo.stories.tsx.mustache +4 -0
  22. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/index.tsx.mustache +5 -2
  23. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.ts.mustache +1 -0
  24. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/create-nonce.ts.mustache +6 -0
  25. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/demo.stories.tsx.mustache +1 -0
  26. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/index.tsx.mustache +2 -1
  27. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/mock.ts.mustache +0 -1
  28. package/src/tasks/create/templates/Constellation/Field/Integer/create-nonce.ts.mustache +6 -0
  29. package/src/tasks/create/templates/Constellation/Field/Integer/demo.stories.tsx.mustache +1 -0
  30. package/src/tasks/create/templates/Constellation/Field/Integer/index.tsx.mustache +2 -1
  31. package/src/tasks/create/templates/Constellation/Field/Integer/mock.ts.mustache +0 -1
  32. package/src/tasks/create/templates/Constellation/Field/Picklist/create-nonce.ts.mustache +6 -0
  33. package/src/tasks/create/templates/Constellation/Field/Picklist/demo.stories.tsx.mustache +1 -0
  34. package/src/tasks/create/templates/Constellation/Field/Picklist/index.tsx.mustache +2 -1
  35. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/create-nonce.ts.mustache +6 -0
  36. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/demo.stories.tsx.mustache +2 -0
  37. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/index.tsx.mustache +1 -0
  38. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/create-nonce.ts.mustache +6 -0
  39. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/demo.stories.tsx.mustache +3 -1
  40. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache +1 -3
  41. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/mock.ts.mustache +1 -0
  42. package/src/tasks/create/templates/Constellation/Field/Text/create-nonce.ts.mustache +6 -0
  43. package/src/tasks/create/templates/Constellation/Field/Text/demo.stories.tsx.mustache +1 -0
  44. package/src/tasks/create/templates/Constellation/Field/Text/index.tsx.mustache +1 -0
  45. package/src/tasks/create/templates/Constellation/Field/Text-Email/create-nonce.ts.mustache +6 -0
  46. package/src/tasks/create/templates/Constellation/Field/Text-Email/demo.stories.tsx.mustache +1 -0
  47. package/src/tasks/create/templates/Constellation/Field/Text-Email/index.tsx.mustache +2 -1
  48. package/src/tasks/create/templates/Constellation/Field/Text-Input/create-nonce.ts.mustache +6 -0
  49. package/src/tasks/create/templates/Constellation/Field/Text-Input/demo.stories.tsx.mustache +1 -0
  50. package/src/tasks/create/templates/Constellation/Field/Text-Input/index.tsx.mustache +2 -1
  51. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/create-nonce.ts.mustache +6 -0
  52. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/demo.stories.tsx.mustache +1 -0
  53. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/index.tsx.mustache +2 -1
  54. package/src/tasks/create/templates/Constellation/Field/Text-Phone/create-nonce.ts.mustache +6 -0
  55. package/src/tasks/create/templates/Constellation/Field/Text-Phone/demo.stories.tsx.mustache +1 -0
  56. package/src/tasks/create/templates/Constellation/Field/Text-Phone/index.tsx.mustache +2 -1
  57. package/src/tasks/create/templates/Constellation/Field/Text-URL/create-nonce.ts.mustache +6 -0
  58. package/src/tasks/create/templates/Constellation/Field/Text-URL/demo.stories.tsx.mustache +1 -0
  59. package/src/tasks/create/templates/Constellation/Field/Text-URL/index.tsx.mustache +1 -0
  60. package/src/tasks/create/templates/Constellation/Field/TimeofDay/create-nonce.ts.mustache +6 -0
  61. package/src/tasks/create/templates/Constellation/Field/TimeofDay/demo.stories.tsx.mustache +1 -0
  62. package/src/tasks/create/templates/Constellation/Field/TimeofDay/index.tsx.mustache +2 -1
  63. package/src/tasks/create/templates/Constellation/Template/DETAILS/create-nonce.ts.mustache +6 -0
  64. package/src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.tsx.mustache +1 -4
  65. package/src/tasks/create/templates/Constellation/Template/DETAILS/index.tsx.mustache +1 -0
  66. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/create-nonce.ts.mustache +6 -0
  67. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.tsx.mustache +1 -5
  68. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/index.tsx.mustache +1 -0
  69. package/src/tasks/create/templates/Constellation/Template/FORM/create-nonce.ts.mustache +6 -0
  70. package/src/tasks/create/templates/Constellation/Template/FORM/index.tsx.mustache +1 -1
  71. package/src/tasks/create/templates/Constellation/Template/FORM-region/create-nonce.ts.mustache +6 -0
  72. package/src/tasks/create/templates/Constellation/Template/FORM-region/index.tsx.mustache +1 -0
  73. package/src/tasks/create/templates/Constellation/Template/PAGE/create-nonce.ts.mustache +6 -0
  74. package/src/tasks/create/templates/Constellation/Template/PAGE/index.tsx.mustache +1 -1
  75. package/src/tasks/create/templates/Constellation/Widget/CASE/create-nonce.ts.mustache +6 -0
  76. package/src/tasks/create/templates/Constellation/Widget/CASE/index.tsx.mustache +1 -0
  77. package/src/tasks/create/templates/Constellation/Widget/PAGE/create-nonce.ts.mustache +6 -0
  78. package/src/tasks/create/templates/Constellation/Widget/PAGE/index.tsx.mustache +1 -0
  79. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/create-nonce.ts.mustache +6 -0
  80. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/index.tsx.mustache +1 -0
  81. package/src/tasks/create/templates/Launchpad/Widget/CASE/create-nonce.ts.mustache +6 -0
  82. package/src/tasks/create/templates/Launchpad/Widget/CASE/index.tsx.mustache +1 -0
  83. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/create-nonce.ts.mustache +6 -0
  84. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/demo.stories.tsx.mustache +1 -5
  85. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/index.tsx.mustache +1 -0
  86. package/src/tasks/delete/helper.js +75 -50
  87. package/src/tasks/index.js +1 -0
  88. package/src/tasks/init/helper.js +5 -5
  89. package/src/tasks/init/template/package.json.mustache +5 -4
  90. package/src/tasks/list/helper.js +5 -2
  91. package/src/tasks/publish/helper.js +53 -45
  92. package/src/tasks/publish/index.js +8 -2
  93. package/src/tasks/publish-all/helper.js +6 -0
  94. package/src/tasks/rename/index.js +9 -2
  95. package/src/tasks/revert-webpack/index.js +8 -26
  96. package/src/util.js +51 -72
  97. package/tests/assets/components/create/Pega_DXIL_MyTestText/create-nonce.ts +6 -0
  98. package/tests/assets/components/create/Pega_DXIL_MyTestText/demo.stories.tsx +1 -0
  99. package/tests/assets/components/create/Pega_DXIL_MyTestText/index.tsx +1 -0
  100. package/tests/assets/components/create/_components.md +1 -0
  101. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/create-nonce.ts +6 -0
  102. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx +1 -0
  103. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +3 -1
  104. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/create-nonce.ts +6 -0
  105. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
  106. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/create-nonce.ts +6 -0
  107. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx +4 -0
  108. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +5 -2
  109. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.ts +1 -0
  110. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/create-nonce.ts +6 -0
  111. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx +1 -0
  112. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +2 -1
  113. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/create-nonce.ts +6 -0
  114. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +2 -0
  115. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +2 -1
  116. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/create-nonce.ts +6 -0
  117. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx +2 -0
  118. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +2 -1
  119. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/create-nonce.ts +6 -0
  120. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +1 -4
  121. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +1 -0
  122. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/create-nonce.ts +6 -0
  123. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.tsx +1 -0
  124. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +2 -1
  125. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/create-nonce.ts +6 -0
  126. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +1 -1
  127. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/create-nonce.ts +6 -0
  128. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx +1 -0
  129. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +2 -1
  130. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts +0 -1
  131. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/create-nonce.ts +6 -0
  132. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +1 -1
  133. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +6 -0
  134. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.tsx +1 -0
  135. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/create-nonce.ts +6 -0
  136. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +1 -0
  137. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/create-nonce.ts +6 -0
  138. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx +1 -0
  139. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +2 -1
  140. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/create-nonce.ts +6 -0
  141. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx +1 -0
  142. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +2 -1
  143. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.ts +0 -1
  144. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/create-nonce.ts +6 -0
  145. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.tsx +1 -0
  146. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +2 -1
  147. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/create-nonce.ts +6 -0
  148. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.tsx +1 -0
  149. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +2 -1
  150. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/create-nonce.ts +6 -0
  151. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/demo.stories.tsx +3 -1
  152. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/index.tsx +1 -3
  153. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.ts +1 -0
  154. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/create-nonce.ts +6 -0
  155. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.stories.tsx +2 -0
  156. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +1 -0
  157. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/create-nonce.ts +6 -0
  158. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.tsx +1 -0
  159. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +1 -0
  160. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/create-nonce.ts +6 -0
  161. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx +1 -0
  162. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +2 -1
  163. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/create-nonce.ts +6 -0
  164. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +1 -0
  165. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +2 -1
  166. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +6 -0
  167. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +1 -5
  168. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
  169. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +6 -0
  170. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
  171. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/create-nonce.ts +6 -0
  172. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.tsx +1 -0
  173. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +1 -0
  174. package/tests/assets/components/createAll/Constellation/_components.md +1 -0
  175. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/create-nonce.ts +6 -0
  176. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.tsx +1 -0
  177. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.tsx +3 -1
  178. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/create-nonce.ts +6 -0
  179. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
  180. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/create-nonce.ts +6 -0
  181. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.tsx +4 -0
  182. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.tsx +5 -2
  183. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.ts +1 -0
  184. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/create-nonce.ts +6 -0
  185. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.tsx +1 -0
  186. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/index.tsx +2 -1
  187. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/create-nonce.ts +6 -0
  188. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx +2 -0
  189. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.tsx +2 -1
  190. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/create-nonce.ts +6 -0
  191. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.tsx +2 -0
  192. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.tsx +2 -1
  193. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/create-nonce.ts +6 -0
  194. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx +1 -4
  195. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.tsx +1 -0
  196. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/create-nonce.ts +6 -0
  197. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.tsx +1 -0
  198. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.tsx +2 -1
  199. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/create-nonce.ts +6 -0
  200. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/index.tsx +1 -1
  201. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/create-nonce.ts +6 -0
  202. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.tsx +1 -0
  203. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.tsx +2 -1
  204. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/mock.ts +0 -1
  205. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/create-nonce.ts +6 -0
  206. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/index.tsx +1 -1
  207. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +6 -0
  208. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +1 -5
  209. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.tsx +1 -0
  210. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/create-nonce.ts +6 -0
  211. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.tsx +1 -0
  212. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/create-nonce.ts +6 -0
  213. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.tsx +1 -0
  214. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.tsx +2 -1
  215. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/create-nonce.ts +6 -0
  216. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.tsx +1 -0
  217. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.tsx +2 -1
  218. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/mock.ts +0 -1
  219. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/create-nonce.ts +6 -0
  220. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.tsx +1 -0
  221. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.tsx +2 -1
  222. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/create-nonce.ts +6 -0
  223. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.tsx +1 -0
  224. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.tsx +2 -1
  225. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/create-nonce.ts +6 -0
  226. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.tsx +3 -1
  227. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/index.tsx +1 -3
  228. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.ts +1 -0
  229. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/create-nonce.ts +6 -0
  230. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/demo.stories.tsx +2 -0
  231. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/index.tsx +1 -0
  232. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/create-nonce.ts +6 -0
  233. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.tsx +1 -0
  234. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/index.tsx +1 -0
  235. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/create-nonce.ts +6 -0
  236. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.tsx +1 -0
  237. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.tsx +2 -1
  238. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/create-nonce.ts +6 -0
  239. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +1 -0
  240. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.tsx +2 -1
  241. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +6 -0
  242. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +1 -5
  243. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
  244. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +6 -0
  245. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
  246. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/create-nonce.ts +6 -0
  247. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.tsx +1 -0
  248. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/index.tsx +1 -0
  249. package/tests/assets/components/createAll/Launchpad/_components.md +1 -0
@@ -23,11 +23,11 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
23
23
 
24
24
  const props = {
25
25
  value,
26
- align: 'vertical',
27
26
  placeholder: configProps.placeholder,
28
27
  label: configProps.label,
29
28
  helperText: configProps.helperText,
30
29
  datasource: configProps.datasource,
30
+ inline: configProps.inline,
31
31
  testId: configProps.testId,
32
32
  hasSuggestions: configProps.hasSuggestions,
33
33
  fieldMetadata,
@@ -90,6 +90,8 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
90
90
  Base{{COMPONENT_CLASS_NAME}}.args = {
91
91
  label: configProps.label,
92
92
  helperText: configProps.helperText,
93
+ placeholder: configProps.placeholder,
94
+ inline: configProps.inline,
93
95
  testId: configProps.testId,
94
96
  readOnly: configProps.readOnly,
95
97
  disabled: configProps.disabled,
@@ -2,6 +2,7 @@
2
2
  import { useMemo } from 'react';
3
3
  import { RadioButton, RadioButtonGroup, withConfiguration } from '@pega/cosmos-react-core';
4
4
  import type { PConnFieldProps } from './PConnProps';
5
+ import './create-nonce';
5
6
 
6
7
  // includes in bundle
7
8
  import { formatExists, textFormatter } from './textformat-utils';
@@ -19,7 +20,6 @@ interface {{COMPONENT_CLASS_NAME}}Props extends PConnFieldProps {
19
20
  listType: string;
20
21
  datasource: Array<any>;
21
22
  inline: boolean;
22
- align: string;
23
23
  }
24
24
 
25
25
 
@@ -62,7 +62,6 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
62
62
  datasource = [],
63
63
  listType,
64
64
  validatemessage,
65
- align = 'vertical',
66
65
  testId,
67
66
  additionalProps = {},
68
67
  displayMode,
@@ -185,7 +184,6 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
185
184
  // @ts-ignore
186
185
  pConn.getValidationApi().validate(event.target.value);
187
186
  }}
188
- align={align}
189
187
  disabled={disabled}
190
188
  className='standard'
191
189
  name={fullReference}
@@ -23,6 +23,7 @@ export const configProps = {
23
23
  testId: 'picklist-12345678',
24
24
  hasSuggestions: false,
25
25
  displayMode: '',
26
+ inline: false,
26
27
  hideLabel: false,
27
28
  readOnly: false,
28
29
  required: false,
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -59,6 +59,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
59
59
  Base{{COMPONENT_CLASS_NAME}}.args = {
60
60
  label: configProps.label,
61
61
  helperText: configProps.helperText,
62
+ placeholder: configProps.placeholder,
62
63
  testId: configProps.testId,
63
64
  readOnly: configProps.readOnly,
64
65
  disabled: configProps.disabled,
@@ -1,6 +1,7 @@
1
1
  import { Input, withConfiguration } from '@pega/cosmos-react-core';
2
2
 
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
6
7
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -56,6 +56,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
56
56
  Base{{COMPONENT_CLASS_NAME}}.args = {
57
57
  label: configProps.label,
58
58
  helperText: configProps.helperText,
59
+ placeholder: configProps.placeholder,
59
60
  testId: configProps.testId,
60
61
  readOnly: configProps.readOnly,
61
62
  disabled: configProps.disabled,
@@ -1,6 +1,7 @@
1
1
  import { useState, useEffect, useRef } from 'react';
2
2
  import { Input, EmailDisplay, FieldValueList, Text, URLDisplay, PhoneDisplay, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  // includes in bundle
6
7
  import { suggestionsHandler } from './suggestions-handler';
@@ -128,7 +129,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
128
129
  }
129
130
  return displayMode === 'DISPLAY_ONLY' ? (
130
131
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
131
- displayComp
132
+ {displayComp}
132
133
  </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
133
134
  ) : (
134
135
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -56,6 +56,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
56
56
  Base{{COMPONENT_CLASS_NAME}}.args = {
57
57
  label: configProps.label,
58
58
  helperText: configProps.helperText,
59
+ placeholder: configProps.placeholder,
59
60
  testId: configProps.testId,
60
61
  readOnly: configProps.readOnly,
61
62
  disabled: configProps.disabled,
@@ -1,6 +1,7 @@
1
1
  import { useEffect, useState, useRef } from 'react';
2
2
  import { Input, FieldValueList, Text, EmailDisplay, PhoneDisplay, URLDisplay, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  // include in bundle
6
7
  import handleEvent from "./event-utils";
@@ -143,7 +144,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
143
144
  displayComp = textFormatter(formatter, value);
144
145
  }
145
146
  return displayMode === 'DISPLAY_ONLY' ? (
146
- <Styled{{COMPONENT_CLASS_NAME}}Wrapper> displayComp </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
147
+ <Styled{{COMPONENT_CLASS_NAME}}Wrapper> {displayComp} </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
147
148
  ) : (
148
149
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
149
150
  <FieldValueList
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -56,6 +56,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
56
56
  Base{{COMPONENT_CLASS_NAME}}.args = {
57
57
  label: configProps.label,
58
58
  helperText: configProps.helperText,
59
+ placeholder: configProps.placeholder,
59
60
  testId: configProps.testId,
60
61
  readOnly: configProps.readOnly,
61
62
  disabled: configProps.disabled,
@@ -2,6 +2,7 @@ import { useState, useEffect, useRef } from 'react';
2
2
  import { TextArea as CosmosTextArea, FieldValueList, ParagraphDisplay, Text, EmailDisplay, PhoneDisplay, URLDisplay, withConfiguration } from '@pega/cosmos-react-core';
3
3
 
4
4
  import type { PConnFieldProps } from './PConnProps';
5
+ import './create-nonce';
5
6
 
6
7
  // includes in bundle
7
8
  import { suggestionsHandler } from './suggestions-handler';
@@ -126,7 +127,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
126
127
  }
127
128
  return displayMode === 'DISPLAY_ONLY' ? (
128
129
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
129
- displayComp
130
+ {displayComp}
130
131
  </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
131
132
  ) : (
132
133
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -54,6 +54,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
54
54
  Base{{COMPONENT_CLASS_NAME}}.args = {
55
55
  label: configProps.label,
56
56
  helperText: configProps.helperText,
57
+ placeholder: configProps.placeholder,
57
58
  testId: configProps.testId,
58
59
  readOnly: configProps.readOnly,
59
60
  disabled: configProps.disabled,
@@ -10,6 +10,7 @@ import {
10
10
  withConfiguration
11
11
  } from '@pega/cosmos-react-core';
12
12
  import type { PConnFieldProps } from './PConnProps';
13
+ import './create-nonce';
13
14
 
14
15
  // includes in bundle
15
16
  import handleEvent from "./event-utils";
@@ -164,7 +165,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
164
165
  }
165
166
  return displayMode === 'DISPLAY_ONLY' ? (
166
167
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
167
- displayComp
168
+ {displayComp}
168
169
  </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
169
170
  ) : (
170
171
  <Styled{{COMPONENT_CLASS_NAME}}Wrapper>
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -54,6 +54,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
54
54
  Base{{COMPONENT_CLASS_NAME}}.args = {
55
55
  label: configProps.label,
56
56
  helperText: configProps.helperText,
57
+ placeholder: configProps.placeholder,
57
58
  testId: configProps.testId,
58
59
  readOnly: configProps.readOnly,
59
60
  disabled: configProps.disabled,
@@ -1,6 +1,7 @@
1
1
  import { useState, useEffect, useRef} from "react";
2
2
  import { Input, FieldValueList, Text, withConfiguration } from "@pega/cosmos-react-core";
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  // includes in bundle
6
7
  import {formatExists,textFormatter, urlFormatter} from "./text-url";
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -64,6 +64,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
64
64
  Base{{COMPONENT_CLASS_NAME}}.args = {
65
65
  label: configProps.label,
66
66
  helperText: configProps.helperText,
67
+ withSeconds: configProps.withSeconds,
67
68
  testId: configProps.testId,
68
69
  readOnly: configProps.readOnly,
69
70
  disabled: configProps.disabled,
@@ -2,6 +2,7 @@ import { useEffect, useState } from 'react';
2
2
  import { TimeInput, FieldValueList, DateTimeDisplay, Text, withConfiguration } from '@pega/cosmos-react-core';
3
3
 
4
4
  import type { PConnFieldProps } from './PConnProps';
5
+ import './create-nonce';
5
6
 
6
7
 
7
8
  // includes in bundle
@@ -140,7 +141,7 @@ function {{COMPONENT_CLASS_NAME}} (props: {{COMPONENT_CLASS_NAME}}Props) {
140
141
  );
141
142
  switch (displayMode) {
142
143
  case 'DISPLAY_ONLY': {
143
- return ( <Styled{{COMPONENT_CLASS_NAME}}Wrapper> displayComp </Styled{{COMPONENT_CLASS_NAME}}Wrapper>);
144
+ return ( <Styled{{COMPONENT_CLASS_NAME}}Wrapper> {displayComp} </Styled{{COMPONENT_CLASS_NAME}}Wrapper>);
144
145
  }
145
146
  case 'LABELS_LEFT': {
146
147
  return (
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -146,7 +146,4 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
146
146
  );
147
147
  };
148
148
 
149
- Base{{COMPONENT_CLASS_NAME}}.args = {
150
- label: 'Test Details',
151
- showLabel: true
152
- };
149
+ Base{{COMPONENT_CLASS_NAME}}.args = {};
@@ -1,6 +1,7 @@
1
1
  import { Fragment } from 'react';
2
2
  import { Grid, Flex, FieldGroup, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
6
7
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -148,8 +148,4 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
148
148
  );
149
149
  };
150
150
 
151
- Base{{COMPONENT_CLASS_NAME}}.args = {
152
- showHighlightedData: false,
153
- label: 'Details Region',
154
- showLabel: true
155
- };
151
+ Base{{COMPONENT_CLASS_NAME}}.args = {};
@@ -1,6 +1,7 @@
1
1
  import { Fragment } from 'react';
2
2
  import { Grid, Flex, FieldGroup, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
6
7
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,7 +1,7 @@
1
1
  import { Grid, FieldGroup, withConfiguration } from '@pega/cosmos-react-core';
2
2
 
3
-
4
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
5
5
 
6
6
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
7
7
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { Grid, Flex, FieldGroup, withConfiguration } from '@pega/cosmos-react-core';
2
2
 
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
6
7
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -3,7 +3,7 @@ import { OneColumnPage as OneColumn, withConfiguration } from '@pega/cosmos-reac
3
3
  import { ConfigurableLayout } from '@pega/cosmos-react-work'
4
4
  // import { registerIcon } from '@pega/cosmos-react-core';
5
5
  import type { PConnFieldProps } from './PConnProps';
6
-
6
+ import './create-nonce';
7
7
 
8
8
 
9
9
  // temp
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { useState, useEffect } from 'react';
2
2
  import { Table, Text, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
6
7
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { withConfiguration } from '@pega/cosmos-react-core';
2
2
  import { AppAnnouncement as PegaAppAnnouncement } from '@pega/cosmos-react-work';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
6
7
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -4,6 +4,7 @@ import { Fragment } from 'react';
4
4
  import { DateTimeDisplay, Card, CardHeader, CardContent, Flex, withConfiguration } from '@pega/cosmos-react-core';
5
5
 
6
6
  import type { PConnFieldProps } from './PConnProps';
7
+ import './create-nonce';
7
8
 
8
9
  // includes in bundle
9
10
  import Operator from './Operator';
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { useState, useEffect } from 'react';
2
2
  import { Table, Text, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
6
7
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -78,8 +78,4 @@ return (
78
78
  );
79
79
  };
80
80
 
81
- Base{{COMPONENT_CLASS_NAME}}.args = {
82
- updateDateTime: '2023-01-16T14:53:33.280Z',
83
- createDateTime: '2023-01-16T14:53:33.198Z',
84
- ...configProps
85
- };
81
+ Base{{COMPONENT_CLASS_NAME}}.args = {};
@@ -1,6 +1,7 @@
1
1
  import { Fragment } from 'react';
2
2
  import { DateTimeDisplay, Card, CardHeader, CardContent, Flex, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  // includes in bundle
6
7
  import Operator from './Operator';