@pega/custom-dx-components 8.8.17 → 8.8.19

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 (245) hide show
  1. package/.prettierrc.json +7 -1
  2. package/babel.config.cjs +13 -0
  3. package/jest.config.cjs +37 -0
  4. package/package.json +12 -4
  5. package/src/auth.js +9 -3
  6. package/src/constants.js +7 -5
  7. package/src/currentPath.cjs +1 -0
  8. package/src/tasks/authenticate/index.js +43 -40
  9. package/src/tasks/build/helper.js +18 -31
  10. package/src/tasks/build/index.js +26 -6
  11. package/src/tasks/build-all/index.js +15 -3
  12. package/src/tasks/bundle/builder/index.js +1 -1
  13. package/src/tasks/bundle/builder/webpack.config.js +1 -3
  14. package/src/tasks/create/index.js +17 -7
  15. package/src/tasks/create/templates/Constellation/Field/Boolean/styles.js.mustache +13 -6
  16. package/src/tasks/create/templates/Constellation/Field/Date/DateFormatter.js.mustache +7 -7
  17. package/src/tasks/create/templates/Constellation/Field/Date/date.js.mustache +8 -8
  18. package/src/tasks/create/templates/Constellation/Field/Date/styles.js.mustache +13 -6
  19. package/src/tasks/create/templates/Constellation/Field/DateTime/date-time.js.mustache +10 -10
  20. package/src/tasks/create/templates/Constellation/Field/DateTime/date-utils.js.mustache +6 -5
  21. package/src/tasks/create/templates/Constellation/Field/DateTime/date.js.mustache +6 -3
  22. package/src/tasks/create/templates/Constellation/Field/DateTime/styles.js.mustache +13 -6
  23. package/src/tasks/create/templates/Constellation/Field/Decimal/styles.js.mustache +13 -6
  24. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/styles.js.mustache +13 -6
  25. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/styles.js.mustache +13 -6
  26. package/src/tasks/create/templates/Constellation/Field/Integer/styles.js.mustache +13 -6
  27. package/src/tasks/create/templates/Constellation/Field/Picklist/styles.js.mustache +13 -6
  28. package/src/tasks/create/templates/Constellation/Field/Text/styles.js.mustache +13 -6
  29. package/src/tasks/create/templates/Constellation/Field/Text-Email/styles.js.mustache +13 -6
  30. package/src/tasks/create/templates/Constellation/Field/Text-Input/styles.js.mustache +13 -6
  31. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/styles.js.mustache +13 -6
  32. package/src/tasks/create/templates/Constellation/Field/Text-Phone/styles.js.mustache +13 -6
  33. package/src/tasks/create/templates/Constellation/Field/Text-URL/styles.js.mustache +13 -6
  34. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/styles.js.mustache +13 -6
  35. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/time-of-day.js.mustache +6 -5
  36. package/src/tasks/create/templates/Constellation/Template/DETAILS/styles.js.mustache +13 -6
  37. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/styles.js.mustache +13 -6
  38. package/src/tasks/create/templates/Constellation/Template/FORM/styles.js.mustache +13 -6
  39. package/src/tasks/create/templates/Constellation/Template/FORM-region/styles.js.mustache +13 -6
  40. package/src/tasks/create/templates/Constellation/Template/PAGE/styles.js.mustache +13 -6
  41. package/src/tasks/create/templates/Constellation/Widget/CASE/styles.js.mustache +13 -6
  42. package/src/tasks/create/templates/Constellation/Widget/PAGE/styles.js.mustache +13 -6
  43. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/styles.js.mustache +13 -6
  44. package/src/tasks/create-all/index.js +109 -150
  45. package/src/tasks/delete/helper.js +87 -53
  46. package/src/tasks/delete/index.js +8 -15
  47. package/src/tasks/delete-all/helper.js +132 -85
  48. package/src/tasks/delete-all/index.js +8 -15
  49. package/src/tasks/init/index.js +20 -22
  50. package/src/tasks/init/template/.storybook/package.json +1 -0
  51. package/src/tasks/init/template/babel.config.cjs +13 -0
  52. package/src/tasks/init/template/jest.config.cjs +21 -0
  53. package/src/tasks/init/template/package.json.mustache +6 -4
  54. package/src/tasks/init/template/test/assets/components/create/Pega_DXIL_MyTestText/config.json +55 -0
  55. package/src/tasks/init/template/test/assets/components/create/Pega_DXIL_MyTestText/demo.stories.jsx +51 -0
  56. package/src/tasks/init/template/test/assets/components/create/Pega_DXIL_MyTestText/index.jsx +60 -0
  57. package/src/tasks/init/template/test/assets/components/create/Pega_DXIL_MyTestText/mock.stories.js +13 -0
  58. package/src/tasks/init/template/test/assets/components/create/Pega_DXIL_MyTestText/styles.js +14 -0
  59. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/Boolean.js +38 -0
  60. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/boolean-format.js +26 -0
  61. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/config.json +145 -0
  62. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/demo.stories.jsx +61 -0
  63. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/event-utils.js +18 -0
  64. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/index.jsx +170 -0
  65. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/mock.stories.js +21 -0
  66. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyBoolean/styles.js +14 -0
  67. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
  68. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/config.json +23 -0
  69. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/demo.stories.jsx +78 -0
  70. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/index.jsx +73 -0
  71. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/mock.stories.js +390 -0
  72. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCaseWidget/styles.js +14 -0
  73. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/config.json +291 -0
  74. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/demo.stories.jsx +53 -0
  75. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/event-utils.js +18 -0
  76. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/index.jsx +296 -0
  77. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/mock.stories.js +23 -0
  78. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/styles.js +14 -0
  79. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyCurrency/suggestions-handler.js +10 -0
  80. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/DateFormatter.js +61 -0
  81. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/FormattedText.jsx +41 -0
  82. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/config.json +195 -0
  83. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/date.js +439 -0
  84. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/demo.stories.jsx +73 -0
  85. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/index.jsx +256 -0
  86. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/mock.stories.js +23 -0
  87. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/styles.js +14 -0
  88. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDate/suggestions-handler.js +10 -0
  89. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/config.json +256 -0
  90. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/date-time.js +92 -0
  91. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/date-utils.js +288 -0
  92. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/date.js +331 -0
  93. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/demo.stories.jsx +73 -0
  94. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/index.jsx +254 -0
  95. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/mock.stories.js +23 -0
  96. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/styles.js +14 -0
  97. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDateTime/suggestions-handler.js +10 -0
  98. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/config.json +278 -0
  99. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/demo.stories.jsx +49 -0
  100. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/event-utils.js +18 -0
  101. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/index.jsx +270 -0
  102. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/mock.stories.js +21 -0
  103. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/styles.js +14 -0
  104. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDecimal/suggestions-handler.js +10 -0
  105. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/OneColumnDetails.svg +22 -0
  106. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/StatusWork.jsx +26 -0
  107. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/config.json +35 -0
  108. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/demo.stories.jsx +132 -0
  109. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/index.jsx +83 -0
  110. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/mock.stories.js +189 -0
  111. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/styles.js +14 -0
  112. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyDetails/utils.js +152 -0
  113. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/config.json +111 -0
  114. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/demo.stories.jsx +48 -0
  115. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/event-utils.js +18 -0
  116. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/index.jsx +231 -0
  117. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/mock.stories.js +22 -0
  118. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/styles.js +14 -0
  119. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyEmail/suggestions-handler.js +10 -0
  120. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
  121. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/config.json +45 -0
  122. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/demo.stories.jsx +166 -0
  123. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/index.jsx +42 -0
  124. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/mock.stories.js +137 -0
  125. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyForm/styles.js +14 -0
  126. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/config.json +344 -0
  127. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/demo.stories.jsx +49 -0
  128. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/event-utils.js +18 -0
  129. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/index.jsx +333 -0
  130. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/mock.stories.js +21 -0
  131. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/styles.js +14 -0
  132. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyInteger/suggestions-handler.js +10 -0
  133. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/GetNextWork.jsx +35 -0
  134. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/OneColumnPage.svg +36 -0
  135. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/config.json +32 -0
  136. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/demo.stories.jsx +102 -0
  137. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/index.jsx +70 -0
  138. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/localizations.json +4 -0
  139. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/mock.stories.js +94 -0
  140. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/styles.js +14 -0
  141. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPage/utils.js +229 -0
  142. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/Avatar.jsx +75 -0
  143. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
  144. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/Operator.jsx +237 -0
  145. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/config.json +66 -0
  146. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx +68 -0
  147. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/index.jsx +108 -0
  148. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/mock.stories.js +51 -0
  149. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageCaseWidget/styles.js +14 -0
  150. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
  151. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/config.json +59 -0
  152. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/demo.stories.jsx +30 -0
  153. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/index.jsx +48 -0
  154. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/mock.stories.js +23 -0
  155. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPageWidget/styles.js +14 -0
  156. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/config.json +111 -0
  157. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/demo.stories.jsx +48 -0
  158. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/event-utils.js +18 -0
  159. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/index.jsx +231 -0
  160. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/mock.stories.js +20 -0
  161. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/styles.js +14 -0
  162. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyParagraph/suggestions-handler.js +10 -0
  163. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/config.json +93 -0
  164. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/demo.stories.jsx +49 -0
  165. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/event-utils.js +18 -0
  166. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/index.jsx +275 -0
  167. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/mock.stories.js +21 -0
  168. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/styles.js +14 -0
  169. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPercentage/suggestions-handler.js +10 -0
  170. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/config.json +123 -0
  171. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/demo.stories.jsx +46 -0
  172. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/event-utils.js +18 -0
  173. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/index.jsx +266 -0
  174. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/mock.stories.js +37 -0
  175. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/styles.js +14 -0
  176. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPhone/suggestions-handler.js +10 -0
  177. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/config.json +114 -0
  178. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/demo.stories.jsx +78 -0
  179. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/event-utils.js +18 -0
  180. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/index.jsx +351 -0
  181. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/mock.stories.js +67 -0
  182. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/styles.js +14 -0
  183. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyPicklist/suggestions-handler.js +10 -0
  184. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyText/config.json +55 -0
  185. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyText/demo.stories.jsx +51 -0
  186. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyText/index.jsx +60 -0
  187. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyText/mock.stories.js +13 -0
  188. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyText/styles.js +14 -0
  189. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/StatusWork.jsx +26 -0
  190. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/config.json +111 -0
  191. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/demo.stories.jsx +48 -0
  192. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/event-utils.js +18 -0
  193. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/index.jsx +239 -0
  194. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/mock.stories.js +21 -0
  195. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/styles.js +14 -0
  196. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTextInput/suggestions-handler.js +10 -0
  197. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/config.json +185 -0
  198. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/demo.stories.jsx +57 -0
  199. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/index.jsx +213 -0
  200. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/mock.stories.js +20 -0
  201. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/styles.js +14 -0
  202. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +10 -0
  203. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTimeOfDay/time-of-day.js +288 -0
  204. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/StatusWork.jsx +26 -0
  205. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
  206. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/config.json +42 -0
  207. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx +136 -0
  208. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/index.jsx +83 -0
  209. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/mock.stories.js +230 -0
  210. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/styles.js +14 -0
  211. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnDetails/utils.js +155 -0
  212. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
  213. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/config.json +27 -0
  214. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/demo.stories.jsx +175 -0
  215. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/index.jsx +45 -0
  216. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/mock.stories.js +143 -0
  217. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyTwoColumnForm/styles.js +14 -0
  218. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/config.json +237 -0
  219. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/demo.stories.jsx +46 -0
  220. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/event-utils.js +18 -0
  221. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/index.jsx +232 -0
  222. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/mock.stories.js +22 -0
  223. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/styles.js +14 -0
  224. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/suggestions-handler.js +10 -0
  225. package/src/tasks/init/template/test/assets/components/createAll/Pega_DXIL_MyURL/text-url.jsx +173 -0
  226. package/src/tasks/init/template/test/functionTest/localCreateAllListDeleteAll.test.js +157 -0
  227. package/src/tasks/init/template/test/functionTest/localCreateBuildAllDeleteAll.test.js +148 -0
  228. package/src/tasks/init/template/test/functionTest/localCreateBuildDelete.test.js +84 -0
  229. package/src/tasks/init/template/test/functionTest/localCreateListDelete.test.js +108 -0
  230. package/src/tasks/init/template/test/functionTest/localCreatePublishAllDeleteAll.test.js +148 -0
  231. package/src/tasks/init/template/test/functionTest/localCreatePublishDelete.test.js +84 -0
  232. package/src/tasks/init/template/test/functionTest/localCreateRenameDelete.test.js +84 -0
  233. package/src/tasks/init/template/test/functionTest/localPromoteRevertWP.test.js +59 -0
  234. package/src/tasks/list/helper.js +129 -61
  235. package/src/tasks/list/index.js +3 -4
  236. package/src/tasks/promote-webpack/index.js +45 -13
  237. package/src/tasks/publish/helper.js +69 -89
  238. package/src/tasks/publish/index.js +29 -12
  239. package/src/tasks/publish-all/helper.js +66 -92
  240. package/src/tasks/publish-all/index.js +30 -18
  241. package/src/tasks/rename/index.js +127 -97
  242. package/src/tasks/revert-webpack/index.js +4 -4
  243. package/src/util.js +205 -127
  244. package/test/unitTest/util.test.js +544 -0
  245. /package/src/tasks/init/template/.storybook/{main.js → main.cjs} +0 -0
@@ -0,0 +1,78 @@
1
+ import { withKnobs } from '@storybook/addon-knobs';
2
+
3
+ import PegaDxilMyCaseWidget from './index.jsx';
4
+
5
+ import historyData from './mock.stories';
6
+
7
+ export default {
8
+ title: 'PegaDxilMyCaseWidget',
9
+ decorators: [withKnobs],
10
+ component: PegaDxilMyCaseWidget
11
+ };
12
+
13
+ if (!window.PCore) {
14
+ window.PCore = {};
15
+ }
16
+
17
+ window.PCore.getConstants = () => {
18
+ return {
19
+ CASE_INFO: {
20
+ CASE_INFO_ID: 'caseInfo.ID'
21
+ }
22
+ };
23
+ };
24
+
25
+ window.PCore.getLocaleUtils = () => {
26
+ return {
27
+ getLocaleValue: value => {
28
+ return value;
29
+ }
30
+ };
31
+ };
32
+
33
+ window.PCore.getDataApiUtils = () => {
34
+ return {
35
+ getData: () => {
36
+ return new Promise(resolve => {
37
+ resolve(historyData);
38
+ });
39
+ }
40
+ };
41
+ };
42
+
43
+ export const basePegaDxilMyCaseWidget = () => {
44
+
45
+ const props = {
46
+ label: 'Case history',
47
+
48
+ getPConnect: () => {
49
+ return {
50
+ getValue: value => {
51
+ return value;
52
+ },
53
+ getContextName: () => {
54
+ return 'app/primary_1';
55
+ },
56
+ getLocalizedValue: value => {
57
+ return value;
58
+ },
59
+ getActionsApi: () => {
60
+ return {
61
+ updateFieldValue: () => {/* nothing */},
62
+ triggerFieldChange: () => {/* nothing */}
63
+ };
64
+ },
65
+ ignoreSuggestion: () => {/* nothing */},
66
+ acceptSuggestion: () => {/* nothing */},
67
+ setInheritedProps: () => {/* nothing */},
68
+ resolveConfigProps: () => {/* nothing */}
69
+ };
70
+ }
71
+ };
72
+
73
+ return (
74
+ <>
75
+ <PegaDxilMyCaseWidget {...props} />
76
+ </>
77
+ );
78
+ };
@@ -0,0 +1,73 @@
1
+ /* eslint-disable no-undef */
2
+ import { useState, useEffect } from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import { Table, Text } from '@pega/cosmos-react-core';
5
+
6
+ import StyledPegaDxilMyCaseWidgetWrapper from './styles';
7
+
8
+
9
+ // Duplicated runtime code from Constellation Design System Component
10
+
11
+ // props passed in combination of props from property panel (config.json) and run time props from Constellation
12
+ // any default values in config.pros should be set in defaultProps at bottom of this file
13
+ export default function PegaDxilMyCaseWidget(props) {
14
+ const { getPConnect, label } = props;
15
+ const pConn = getPConnect();
16
+ const [history, setHistory] = useState([]);
17
+ const [isLoading, setIsLoading] = useState(true);
18
+ const caseID = pConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID);
19
+ const context = pConn.getContextName();
20
+
21
+ const columns = [
22
+ { renderer: 'date', label: pConn.getLocalizedValue('Date') },
23
+ { renderer: 'description', label: pConn.getLocalizedValue('Description') },
24
+ { renderer: 'user', label: pConn.getLocalizedValue('Performed by') }
25
+ ];
26
+
27
+ useEffect(() => {
28
+ const payload = { dataViewParameters: [{ CaseInstanceKey: caseID }] };
29
+ PCore.getDataApiUtils()
30
+ .getData('D_pyWorkHistory', payload, context)
31
+ .then((response) => {
32
+ setIsLoading(false);
33
+ if (response.data.data !== null) {
34
+ setHistory(
35
+ response.data.data.map((entry, index) => {
36
+ return {
37
+ date: new Date(entry.pxTimeCreated).toLocaleString(),
38
+ description: <Text style={{ wordBreak: 'break-word' }}>{entry.pyMessageKey}</Text>,
39
+ user: entry.pyPerformer,
40
+ id: index
41
+ };
42
+ })
43
+ );
44
+ } else {
45
+ setHistory([]);
46
+ }
47
+ })
48
+ .catch(() => {
49
+ setHistory([]);
50
+ setIsLoading(false);
51
+ });
52
+ }, [caseID, context]);
53
+ return (
54
+ <StyledPegaDxilMyCaseWidgetWrapper>
55
+ <Table
56
+ title={pConn.getLocalizedValue(label)}
57
+ columns={columns}
58
+ data={history}
59
+ loading={isLoading}
60
+ loadingMessage={pConn.getLocalizedValue('Loading case history')}
61
+ />
62
+ </StyledPegaDxilMyCaseWidgetWrapper>
63
+ );
64
+
65
+ }
66
+
67
+ PegaDxilMyCaseWidget.defaultProps = {
68
+
69
+ };
70
+
71
+ PegaDxilMyCaseWidget.propTypes = {
72
+ getPConnect: PropTypes.func.isRequired
73
+ };
@@ -0,0 +1,390 @@
1
+ const historyData = {
2
+ data: {
3
+ fetchDateTime: '2023-01-18T12:04:56.517Z',
4
+ pxObjClass: 'Pega-API-DataExploration-Data',
5
+ resultCount: 31,
6
+ data: [
7
+ {
8
+ pxTimeCreated: '2023-01-13T21:46:33.339Z',
9
+ pxObjClass: 'History-DXIL-DigV2-Work',
10
+ pyPerformer: 'User DigV2',
11
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214633.339 GMT',
12
+ pxLongitude: null,
13
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214633.339 GMT',
14
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
15
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
16
+ pyMemo: null,
17
+ pxLatitude: null
18
+ },
19
+ {
20
+ pxTimeCreated: '2023-01-13T21:46:33.332Z',
21
+ pxObjClass: 'History-DXIL-DigV2-Work',
22
+ pyPerformer: 'User DigV2',
23
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214633.332 GMT',
24
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214633.332 GMT',
25
+ pxLongitude: null,
26
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
27
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
28
+ pyMemo: null,
29
+ pxLatitude: null
30
+ },
31
+ {
32
+ pxTimeCreated: '2023-01-13T21:46:32.005Z',
33
+ pxObjClass: 'History-DXIL-DigV2-Work',
34
+ pyPerformer: 'User DigV2',
35
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214632.005 GMT',
36
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214632.005 GMT',
37
+ pxLongitude: null,
38
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
39
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
40
+ pyMemo: null,
41
+ pxLatitude: null
42
+ },
43
+ {
44
+ pxTimeCreated: '2023-01-13T21:46:31.998Z',
45
+ pxObjClass: 'History-DXIL-DigV2-Work',
46
+ pyPerformer: 'User DigV2',
47
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214631.998 GMT',
48
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214631.998 GMT',
49
+ pxLongitude: null,
50
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
51
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
52
+ pxLatitude: null,
53
+ pyMemo: null
54
+ },
55
+ {
56
+ pxTimeCreated: '2023-01-13T21:46:31.175Z',
57
+ pxObjClass: 'History-DXIL-DigV2-Work',
58
+ pyPerformer: 'User DigV2',
59
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214631.175 GMT',
60
+ pxLongitude: null,
61
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214631.175 GMT',
62
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
63
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
64
+ pxLatitude: null,
65
+ pyMemo: null
66
+ },
67
+ {
68
+ pxTimeCreated: '2023-01-13T21:46:31.168Z',
69
+ pxObjClass: 'History-DXIL-DigV2-Work',
70
+ pyPerformer: 'User DigV2',
71
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214631.168 GMT',
72
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214631.168 GMT',
73
+ pxLongitude: null,
74
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
75
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
76
+ pyMemo: null,
77
+ pxLatitude: null
78
+ },
79
+ {
80
+ pxObjClass: 'History-DXIL-DigV2-Work',
81
+ pxTimeCreated: '2023-01-13T21:46:29.893Z',
82
+ pyPerformer: 'User DigV2',
83
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214629.893 GMT',
84
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214629.893 GMT',
85
+ pxLongitude: null,
86
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
87
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
88
+ pyMemo: null,
89
+ pxLatitude: null
90
+ },
91
+ {
92
+ pxObjClass: 'History-DXIL-DigV2-Work',
93
+ pxTimeCreated: '2023-01-13T21:46:29.887Z',
94
+ pyPerformer: 'User DigV2',
95
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214629.887 GMT',
96
+ pxLongitude: null,
97
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214629.887 GMT',
98
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
99
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
100
+ pxLatitude: null,
101
+ pyMemo: null
102
+ },
103
+ {
104
+ pxTimeCreated: '2023-01-13T21:46:28.248Z',
105
+ pxObjClass: 'History-DXIL-DigV2-Work',
106
+ pyPerformer: 'User DigV2',
107
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214628.248 GMT',
108
+ pxLongitude: null,
109
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214628.248 GMT',
110
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
111
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
112
+ pxLatitude: null,
113
+ pyMemo: null
114
+ },
115
+ {
116
+ pxObjClass: 'History-DXIL-DigV2-Work',
117
+ pxTimeCreated: '2023-01-13T21:46:28.242Z',
118
+ pyPerformer: 'User DigV2',
119
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214628.242 GMT',
120
+ pxLongitude: null,
121
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214628.242 GMT',
122
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
123
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
124
+ pyMemo: null,
125
+ pxLatitude: null
126
+ },
127
+ {
128
+ pxObjClass: 'History-DXIL-DigV2-Work',
129
+ pxTimeCreated: '2023-01-13T21:46:08.399Z',
130
+ pyPerformer: 'User DigV2',
131
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214608.399 GMT',
132
+ pxLongitude: null,
133
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214608.399 GMT',
134
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
135
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
136
+ pxLatitude: null,
137
+ pyMemo: null
138
+ },
139
+ {
140
+ pxTimeCreated: '2023-01-13T21:46:08.393Z',
141
+ pxObjClass: 'History-DXIL-DigV2-Work',
142
+ pyPerformer: 'User DigV2',
143
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214608.393 GMT',
144
+ pxLongitude: null,
145
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214608.393 GMT',
146
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
147
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
148
+ pxLatitude: null,
149
+ pyMemo: null
150
+ },
151
+ {
152
+ pxObjClass: 'History-DXIL-DigV2-Work',
153
+ pxTimeCreated: '2023-01-13T21:46:07.584Z',
154
+ pyPerformer: 'User DigV2',
155
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214607.584 GMT',
156
+ pxLongitude: null,
157
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214607.584 GMT',
158
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
159
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
160
+ pyMemo: null,
161
+ pxLatitude: null
162
+ },
163
+ {
164
+ pxObjClass: 'History-DXIL-DigV2-Work',
165
+ pxTimeCreated: '2023-01-13T21:46:07.579Z',
166
+ pyPerformer: 'User DigV2',
167
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214607.579 GMT',
168
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214607.579 GMT',
169
+ pxLongitude: null,
170
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
171
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
172
+ pxLatitude: null,
173
+ pyMemo: null
174
+ },
175
+ {
176
+ pxObjClass: 'History-DXIL-DigV2-Work',
177
+ pxTimeCreated: '2023-01-13T21:46:06.262Z',
178
+ pyPerformer: 'User DigV2',
179
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214606.262 GMT',
180
+ pxLongitude: null,
181
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214606.262 GMT',
182
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
183
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
184
+ pyMemo: null,
185
+ pxLatitude: null
186
+ },
187
+ {
188
+ pxObjClass: 'History-DXIL-DigV2-Work',
189
+ pxTimeCreated: '2023-01-13T21:46:06.256Z',
190
+ pyPerformer: 'User DigV2',
191
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214606.256 GMT',
192
+ pxLongitude: null,
193
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214606.256 GMT',
194
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
195
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
196
+ pxLatitude: null,
197
+ pyMemo: null
198
+ },
199
+ {
200
+ pxObjClass: 'History-DXIL-DigV2-Work',
201
+ pxTimeCreated: '2023-01-13T21:45:57.503Z',
202
+ pyPerformer: 'User DigV2',
203
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214557.503 GMT',
204
+ pxLongitude: null,
205
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214557.503 GMT',
206
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
207
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
208
+ pxLatitude: null,
209
+ pyMemo: null
210
+ },
211
+ {
212
+ pxObjClass: 'History-DXIL-DigV2-Work',
213
+ pxTimeCreated: '2023-01-13T21:45:57.496Z',
214
+ pyPerformer: 'User DigV2',
215
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214557.496 GMT',
216
+ pxLongitude: null,
217
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214557.496 GMT',
218
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
219
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
220
+ pyMemo: null,
221
+ pxLatitude: null
222
+ },
223
+ {
224
+ pxObjClass: 'History-DXIL-DigV2-Work',
225
+ pxTimeCreated: '2023-01-13T21:45:36.250Z',
226
+ pyPerformer: 'User DigV2',
227
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214536.250 GMT',
228
+ pxLongitude: null,
229
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214536.250 GMT',
230
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
231
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
232
+ pxLatitude: null,
233
+ pyMemo: null
234
+ },
235
+ {
236
+ pxObjClass: 'History-DXIL-DigV2-Work',
237
+ pxTimeCreated: '2023-01-13T21:45:36.244Z',
238
+ pyPerformer: 'User DigV2',
239
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214536.244 GMT',
240
+ pxLongitude: null,
241
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214536.244 GMT',
242
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
243
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
244
+ pxLatitude: null,
245
+ pyMemo: null
246
+ },
247
+ {
248
+ pxTimeCreated: '2023-01-13T21:45:35.364Z',
249
+ pxObjClass: 'History-DXIL-DigV2-Work',
250
+ pyPerformer: 'User DigV2',
251
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214535.364 GMT',
252
+ pxLongitude: null,
253
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214535.364 GMT',
254
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
255
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
256
+ pxLatitude: null,
257
+ pyMemo: null
258
+ },
259
+ {
260
+ pxTimeCreated: '2023-01-13T21:45:35.356Z',
261
+ pxObjClass: 'History-DXIL-DigV2-Work',
262
+ pyPerformer: 'User DigV2',
263
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214535.356 GMT',
264
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214535.356 GMT',
265
+ pxLongitude: null,
266
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
267
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
268
+ pyMemo: null,
269
+ pxLatitude: null
270
+ },
271
+ {
272
+ pxObjClass: 'History-DXIL-DigV2-Work',
273
+ pxTimeCreated: '2023-01-13T21:45:33.224Z',
274
+ pyPerformer: 'User DigV2',
275
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214533.224 GMT',
276
+ pxLongitude: null,
277
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214533.224 GMT',
278
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
279
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
280
+ pxLatitude: null,
281
+ pyMemo: null
282
+ },
283
+ {
284
+ pxTimeCreated: '2023-01-13T21:45:33.218Z',
285
+ pxObjClass: 'History-DXIL-DigV2-Work',
286
+ pyPerformer: 'User DigV2',
287
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214533.218 GMT',
288
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214533.218 GMT',
289
+ pxLongitude: null,
290
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
291
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
292
+ pxLatitude: null,
293
+ pyMemo: null
294
+ },
295
+ {
296
+ pxTimeCreated: '2023-01-13T21:45:32.436Z',
297
+ pxObjClass: 'History-DXIL-DigV2-Work',
298
+ pyPerformer: 'User DigV2',
299
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214532.436 GMT',
300
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214532.436 GMT',
301
+ pxLongitude: null,
302
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
303
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
304
+ pxLatitude: null,
305
+ pyMemo: null
306
+ },
307
+ {
308
+ pxTimeCreated: '2023-01-13T21:45:32.430Z',
309
+ pxObjClass: 'History-DXIL-DigV2-Work',
310
+ pyPerformer: 'User DigV2',
311
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214532.430 GMT',
312
+ pxLongitude: null,
313
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214532.430 GMT',
314
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
315
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
316
+ pxLatitude: null,
317
+ pyMemo: null
318
+ },
319
+ {
320
+ pxTimeCreated: '2023-01-13T21:45:25.003Z',
321
+ pxObjClass: 'History-DXIL-DigV2-Work',
322
+ pyPerformer: 'User DigV2',
323
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214525.003 GMT',
324
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214525.003 GMT',
325
+ pxLongitude: null,
326
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
327
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
328
+ pxLatitude: null,
329
+ pyMemo: null
330
+ },
331
+ {
332
+ pxObjClass: 'History-DXIL-DigV2-Work',
333
+ pxTimeCreated: '2023-01-13T21:45:24.994Z',
334
+ pyPerformer: 'User DigV2',
335
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214524.994 GMT',
336
+ pxLongitude: null,
337
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214524.994 GMT',
338
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
339
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'Select Test'.",
340
+ pyMemo: null,
341
+ pxLatitude: null
342
+ },
343
+ {
344
+ pxObjClass: 'History-DXIL-DigV2-Work',
345
+ pxTimeCreated: '2023-01-13T21:45:23.570Z',
346
+ pyPerformer: 'User DigV2',
347
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214523.570 GMT',
348
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214523.570 GMT',
349
+ pxLongitude: null,
350
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
351
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
352
+ pyMemo: null,
353
+ pxLatitude: null
354
+ },
355
+ {
356
+ pxObjClass: 'History-DXIL-DigV2-Work',
357
+ pxTimeCreated: '2023-01-13T21:45:23.563Z',
358
+ pyPerformer: 'User DigV2',
359
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214523.563 GMT',
360
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214523.563 GMT',
361
+ pxLongitude: null,
362
+ pyMessageKey: 'ChangeStageAutomatic\tCreate\tPick Test',
363
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
364
+ pxLatitude: null,
365
+ pyMemo: 'ChangeStageAutomatic\tCreate\tPick Test'
366
+ },
367
+ {
368
+ pxObjClass: 'History-DXIL-DigV2-Work',
369
+ pxTimeCreated: '2023-01-13T21:45:23.550Z',
370
+ pyPerformer: 'User DigV2',
371
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214523.550 GMT',
372
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214523.550 GMT',
373
+ pxLongitude: null,
374
+ pyMessageKey: 'Item created.',
375
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
376
+ pyMemo: null,
377
+ pxLatitude: null
378
+ }
379
+ ],
380
+ hasMoreResults: false
381
+ },
382
+ status: 200,
383
+ statusText: '',
384
+ headers: {
385
+ 'content-length': '1328',
386
+ 'content-type': 'application/json;charset=UTF-8'
387
+ },
388
+ request: {}
389
+ };
390
+ export default historyData;
@@ -0,0 +1,14 @@
1
+ // utilizing theming, comment out, if want individual style
2
+ import styled from 'styled-components';
3
+ import { Configuration } from '@pega/cosmos-react-core';
4
+
5
+ export default styled(Configuration)``;
6
+
7
+ // individual style, comment out above, and uncomment here and add styles
8
+ // import styled, { css } from 'styled-components';
9
+ //
10
+ // export default styled.div(() => {
11
+ // return css`
12
+ // margin: 0px 0;
13
+ // `;
14
+ // });