@pega/dx-component-builder-sdk 0.1.47 → 0.1.48

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 (263) hide show
  1. package/package.json +3 -2
  2. package/src/auth.js +3 -3
  3. package/src/cli.js +1 -1
  4. package/src/constants.js +728 -2
  5. package/src/tasks/authenticate/index.js +1 -1
  6. package/src/tasks/build/helper.js +10 -6
  7. package/src/tasks/build/index.js +76 -22
  8. package/src/tasks/build-all/helper.js +16 -11
  9. package/src/tasks/build-all/index.js +108 -44
  10. package/src/tasks/bundle/{builder → builderAngular}/paths.js +2 -2
  11. package/src/tasks/bundle/builderAngular/webpack.config.js +342 -0
  12. package/src/tasks/bundle/builderReact/index.js +218 -0
  13. package/src/tasks/bundle/builderReact/modules.js +139 -0
  14. package/src/tasks/bundle/builderReact/paths.js +50 -0
  15. package/src/tasks/bundle/{builder → builderReact}/webpack.config.js +5 -4
  16. package/src/tasks/bundle/index.js +64 -5
  17. package/src/tasks/create/index.js +54 -12
  18. package/src/tasks/create/templates/Constellation/field/Boolean/styles.js.mustache +13 -6
  19. package/src/tasks/create/templates/Constellation/field/Date/DateFormatter.js.mustache +7 -7
  20. package/src/tasks/create/templates/Constellation/field/Date/date.js.mustache +8 -8
  21. package/src/tasks/create/templates/Constellation/field/Date/styles.js.mustache +13 -6
  22. package/src/tasks/create/templates/Constellation/field/DateTime/date-time.js.mustache +10 -10
  23. package/src/tasks/create/templates/Constellation/field/DateTime/date-utils.js.mustache +6 -5
  24. package/src/tasks/create/templates/Constellation/field/DateTime/date.js.mustache +6 -3
  25. package/src/tasks/create/templates/Constellation/field/DateTime/styles.js.mustache +13 -6
  26. package/src/tasks/create/templates/Constellation/field/Decimal/index.jsx.mustache +2 -2
  27. package/src/tasks/create/templates/Constellation/field/Decimal/styles.js.mustache +13 -6
  28. package/src/tasks/create/templates/Constellation/field/Decimal-Currency/index.jsx.mustache +2 -2
  29. package/src/tasks/create/templates/Constellation/field/Decimal-Currency/styles.js.mustache +13 -6
  30. package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/index.jsx.mustache +4 -4
  31. package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/styles.js.mustache +13 -6
  32. package/src/tasks/create/templates/Constellation/field/Integer/index.jsx.mustache +2 -2
  33. package/src/tasks/create/templates/Constellation/field/Integer/styles.js.mustache +13 -6
  34. package/src/tasks/create/templates/Constellation/field/Picklist/styles.js.mustache +13 -6
  35. package/src/tasks/create/templates/Constellation/field/Text/styles.js.mustache +13 -6
  36. package/src/tasks/create/templates/Constellation/field/Text-Email/styles.js.mustache +13 -6
  37. package/src/tasks/create/templates/Constellation/field/Text-Input/styles.js.mustache +13 -6
  38. package/src/tasks/create/templates/Constellation/field/Text-Paragraph/styles.js.mustache +13 -6
  39. package/src/tasks/create/templates/Constellation/field/Text-Phone/index.jsx.mustache +0 -1
  40. package/src/tasks/create/templates/Constellation/field/Text-Phone/styles.js.mustache +13 -6
  41. package/src/tasks/create/templates/Constellation/field/Text-URL/styles.js.mustache +13 -6
  42. package/src/tasks/create/templates/Constellation/field/TimeOfDay/styles.js.mustache +14 -0
  43. package/src/tasks/create/templates/Constellation/field/{TimeofDay → TimeOfDay}/time-of-day.js.mustache +6 -5
  44. package/src/tasks/create/templates/Constellation/template/DETAILS/demo.stories.jsx.mustache +20 -6
  45. package/src/tasks/create/templates/Constellation/template/DETAILS/index.jsx.mustache +2 -2
  46. package/src/tasks/create/templates/Constellation/template/DETAILS/mock.stories.js.mustache +20 -10
  47. package/src/tasks/create/templates/Constellation/template/DETAILS/styles.js.mustache +13 -6
  48. package/src/tasks/create/templates/Constellation/template/DETAILS-region/demo.stories.jsx.mustache +20 -7
  49. package/src/tasks/create/templates/Constellation/template/DETAILS-region/index.jsx.mustache +2 -2
  50. package/src/tasks/create/templates/Constellation/template/DETAILS-region/mock.stories.js.mustache +28 -13
  51. package/src/tasks/create/templates/Constellation/template/DETAILS-region/styles.js.mustache +13 -6
  52. package/src/tasks/create/templates/Constellation/template/FORM/demo.stories.jsx.mustache +92 -16
  53. package/src/tasks/create/templates/Constellation/template/FORM/index.jsx.mustache +2 -2
  54. package/src/tasks/create/templates/Constellation/template/FORM/mock.stories.js.mustache +24 -12
  55. package/src/tasks/create/templates/Constellation/template/FORM/styles.js.mustache +13 -6
  56. package/src/tasks/create/templates/Constellation/template/FORM-region/demo.stories.jsx.mustache +91 -13
  57. package/src/tasks/create/templates/Constellation/template/FORM-region/index.jsx.mustache +2 -2
  58. package/src/tasks/create/templates/Constellation/template/FORM-region/mock.stories.js.mustache +24 -12
  59. package/src/tasks/create/templates/Constellation/template/FORM-region/styles.js.mustache +13 -6
  60. package/src/tasks/create/templates/Constellation/template/PAGE/demo.stories.jsx.mustache +1 -0
  61. package/src/tasks/create/templates/Constellation/template/PAGE/styles.js.mustache +13 -6
  62. package/src/tasks/create/templates/Constellation/widget/CASE/index.jsx.mustache +2 -2
  63. package/src/tasks/create/templates/Constellation/widget/CASE/styles.js.mustache +13 -6
  64. package/src/tasks/create/templates/Constellation/widget/PAGE/styles.js.mustache +13 -6
  65. package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/Operator.jsx.mustache +2 -2
  66. package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/index.jsx.mustache +2 -2
  67. package/src/tasks/create/templates/Constellation/widget/PAGE-CASE/styles.js.mustache +13 -6
  68. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.html.mustache +42 -0
  69. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.scss.mustache +24 -0
  70. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.spec.ts.mustache +25 -0
  71. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +165 -0
  72. package/src/tasks/create/templates/SDK-Angular/field/Boolean/config.json.mustache +87 -0
  73. package/src/tasks/create/templates/SDK-Angular/field/Boolean/demo.stories.jsx.mustache +56 -0
  74. package/src/tasks/create/templates/SDK-Angular/field/Boolean/mock.stories.js.mustache +15 -0
  75. package/src/tasks/create/templates/SDK-Angular/field/Date/config.json.mustache +147 -0
  76. package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.html.mustache +35 -0
  77. package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.scss.mustache +20 -0
  78. package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.spec.ts.mustache +25 -0
  79. package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.ts.mustache +209 -0
  80. package/src/tasks/create/templates/SDK-Angular/field/DateTime/config.json.mustache +204 -0
  81. package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.html.mustache +31 -0
  82. package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.scss.mustache +20 -0
  83. package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.spec.ts.mustache +25 -0
  84. package/src/tasks/create/templates/SDK-Angular/field/DateTime/date-time.component.ts.mustache +177 -0
  85. package/src/tasks/create/templates/SDK-Angular/field/Decimal/config.json.mustache +94 -0
  86. package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.html.mustache +32 -0
  87. package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.scss.mustache +20 -0
  88. package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.spec.ts.mustache +25 -0
  89. package/src/tasks/create/templates/SDK-Angular/field/Decimal/decimal.component.ts.mustache +170 -0
  90. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/config.json.mustache +125 -0
  91. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.html.mustache +33 -0
  92. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.scss.mustache +20 -0
  93. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.spec.ts.mustache +25 -0
  94. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Currency/decimal-currency.component.ts.mustache +175 -0
  95. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/config.json.mustache +94 -0
  96. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.html.mustache +33 -0
  97. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.scss.mustache +20 -0
  98. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.spec.ts.mustache +25 -0
  99. package/src/tasks/create/templates/SDK-Angular/field/Decimal-Percentage/decimal-percentage.component.ts.mustache +176 -0
  100. package/src/tasks/create/templates/SDK-Angular/field/Integer/config.json.mustache +88 -0
  101. package/src/tasks/create/templates/SDK-Angular/field/Integer/integer.component.html.mustache +33 -0
  102. package/src/tasks/create/templates/SDK-Angular/field/Integer/integer.component.scss.mustache +20 -0
  103. package/src/tasks/create/templates/SDK-Angular/field/Integer/integer.component.spec.ts.mustache +25 -0
  104. package/src/tasks/create/templates/SDK-Angular/field/Integer/integer.component.ts.mustache +180 -0
  105. package/src/tasks/create/templates/SDK-Angular/field/Picklist/config.json.mustache +86 -0
  106. package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.html.mustache +30 -0
  107. package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.scss.mustache +25 -0
  108. package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.spec.ts.mustache +25 -0
  109. package/src/tasks/create/templates/SDK-Angular/field/Picklist/picklist.component.ts.mustache +195 -0
  110. package/src/tasks/create/templates/SDK-Angular/field/Text/config.json.mustache +83 -0
  111. package/src/tasks/create/templates/SDK-Angular/field/Text/text.component.html.mustache +17 -0
  112. package/src/tasks/create/templates/SDK-Angular/field/Text/text.component.scss.mustache +30 -0
  113. package/src/tasks/create/templates/SDK-Angular/field/Text/text.component.spec.ts.mustache +25 -0
  114. package/src/tasks/create/templates/SDK-Angular/field/Text/text.component.ts.mustache +145 -0
  115. package/src/tasks/create/templates/SDK-Angular/field/Text-Email/config.json.mustache +83 -0
  116. package/src/tasks/create/templates/SDK-Angular/field/Text-Email/text-email.component.html.mustache +31 -0
  117. package/src/tasks/create/templates/SDK-Angular/field/Text-Email/text-email.component.scss.mustache +20 -0
  118. package/src/tasks/create/templates/SDK-Angular/field/Text-Email/text-email.component.spec.ts.mustache +25 -0
  119. package/src/tasks/create/templates/SDK-Angular/field/Text-Email/text-email.component.ts.mustache +175 -0
  120. package/src/tasks/create/templates/SDK-Angular/field/Text-Input/config.json.mustache +83 -0
  121. package/src/tasks/create/templates/SDK-Angular/field/Text-Input/text.component.html.mustache +31 -0
  122. package/src/tasks/create/templates/SDK-Angular/field/Text-Input/text.component.scss.mustache +20 -0
  123. package/src/tasks/create/templates/SDK-Angular/field/Text-Input/text.component.spec.ts.mustache +25 -0
  124. package/src/tasks/create/templates/SDK-Angular/field/Text-Input/text.component.ts.mustache +177 -0
  125. package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/config.json.mustache +83 -0
  126. package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/text-paragraph.component.html.mustache +31 -0
  127. package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/text-paragraph.component.scss.mustache +20 -0
  128. package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/text-paragraph.component.spec.ts.mustache +25 -0
  129. package/src/tasks/create/templates/SDK-Angular/field/Text-Paragraph/text-paragraph.component.ts.mustache +179 -0
  130. package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/config.json.mustache +95 -0
  131. package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.html.mustache +30 -0
  132. package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.scss.mustache +81 -0
  133. package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.spec.ts.mustache +25 -0
  134. package/src/tasks/create/templates/SDK-Angular/field/Text-Phone/text-phone.component.ts.mustache +194 -0
  135. package/src/tasks/create/templates/SDK-Angular/field/Text-URL/config.json.mustache +111 -0
  136. package/src/tasks/create/templates/SDK-Angular/field/Text-URL/text-url.component.html.mustache +30 -0
  137. package/src/tasks/create/templates/SDK-Angular/field/Text-URL/text-url.component.scss.mustache +20 -0
  138. package/src/tasks/create/templates/SDK-Angular/field/Text-URL/text-url.component.spec.ts.mustache +26 -0
  139. package/src/tasks/create/templates/SDK-Angular/field/Text-URL/text-url.component.ts.mustache +174 -0
  140. package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/time-of-day.component.html.mustache +30 -0
  141. package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/time-of-day.component.scss.mustache +20 -0
  142. package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/time-of-day.component.spec.ts.mustache +25 -0
  143. package/src/tasks/create/templates/SDK-Angular/field/TimeOfDay/time-of-day.component.ts.mustache +172 -0
  144. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/DefaultForm.svg +29 -0
  145. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/config.json.mustache +21 -0
  146. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/demo.stories.jsx.mustache +71 -0
  147. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.html.mustache +7 -0
  148. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.scss.mustache +7 -0
  149. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.spec.ts.mustache +25 -0
  150. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.ts.mustache +121 -0
  151. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/mock.stories.js.mustache +294 -0
  152. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/TwoColumnDetails.svg +28 -0
  153. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/config.json.mustache +27 -0
  154. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/demo.stories.jsx.mustache +73 -0
  155. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/details.component.html.mustache +6 -0
  156. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/details.component.scss.mustache +7 -0
  157. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/details.component.spec.ts.mustache +25 -0
  158. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/details.component.ts.mustache +92 -0
  159. package/src/tasks/create/templates/SDK-Angular/template/DETAILS-region/mock.stories.js.mustache +290 -0
  160. package/src/tasks/create/templates/SDK-Angular/template/FORM/DefaultForm.svg +29 -0
  161. package/src/tasks/create/templates/SDK-Angular/template/FORM/config.json.mustache +45 -0
  162. package/src/tasks/create/templates/SDK-Angular/template/FORM/demo.stories.jsx.mustache +215 -0
  163. package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.html.mustache +23 -0
  164. package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.scss.mustache +33 -0
  165. package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.spec.ts.mustache +25 -0
  166. package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.ts.mustache +71 -0
  167. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/TwoColumn.svg +38 -0
  168. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/config.json.mustache +49 -0
  169. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/demo.stories.jsx.mustache +183 -0
  170. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/form.component.html.mustache +16 -0
  171. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/form.component.scss.mustache +28 -0
  172. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/form.component.spec.ts.mustache +25 -0
  173. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/form.component.ts.mustache +26 -0
  174. package/src/tasks/create/templates/SDK-Angular/template/FORM-region/mock.stories.js.mustache +132 -0
  175. package/src/tasks/create/templates/SDK-Angular/template/PAGE/OneColumnPage.svg +28 -0
  176. package/src/tasks/create/templates/SDK-Angular/template/PAGE/config.json.mustache +32 -0
  177. package/src/tasks/create/templates/SDK-Angular/template/PAGE/demo.stories.jsx.mustache +80 -0
  178. package/src/tasks/create/templates/SDK-Angular/template/PAGE/mock.stories.js.mustache +115 -0
  179. package/src/tasks/create/templates/SDK-Angular/template/PAGE/page.component.html.mustache +15 -0
  180. package/src/tasks/create/templates/SDK-Angular/template/PAGE/page.component.scss.mustache +3 -0
  181. package/src/tasks/create/templates/SDK-Angular/template/PAGE/page.component.spec.ts.mustache +25 -0
  182. package/src/tasks/create/templates/SDK-Angular/template/PAGE/page.component.ts.mustache +63 -0
  183. package/src/tasks/create/templates/SDK-Angular/widget/CASE/OneColumnPage.svg +36 -0
  184. package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.html.mustache +15 -0
  185. package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.scss.mustache +22 -0
  186. package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.spec.ts.mustache +25 -0
  187. package/src/tasks/create/templates/SDK-Angular/widget/CASE/case.component.ts.mustache +111 -0
  188. package/src/tasks/create/templates/SDK-Angular/widget/CASE/config.json.mustache +23 -0
  189. package/src/tasks/create/templates/SDK-Angular/widget/CASE/demo.stories.jsx.mustache +70 -0
  190. package/src/tasks/create/templates/SDK-Angular/widget/CASE/mock.stories.js.mustache +390 -0
  191. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/OneColumnPage.svg +36 -0
  192. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/config.json.mustache +59 -0
  193. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/demo.stories.jsx.mustache +29 -0
  194. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/mock.stories.js.mustache +23 -0
  195. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.html.mustache +17 -0
  196. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.scss.mustache +19 -0
  197. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/page.component.ts.mustache +32 -0
  198. package/src/tasks/create/templates/SDK-Angular/widget/PAGE/pagecomponent.spec.ts.mustache +25 -0
  199. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/OneColumnPage.svg +36 -0
  200. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/config.json.mustache +66 -0
  201. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/demo.stories.jsx.mustache +52 -0
  202. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/mock.stories.js.mustache +52 -0
  203. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.html.mustache +28 -0
  204. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.scss.mustache +137 -0
  205. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.spec.ts.mustache +25 -0
  206. package/src/tasks/create/templates/SDK-Angular/widget/PAGE-CASE/page-case.component.ts.mustache +115 -0
  207. package/src/tasks/create/templates/SDK-React/field/Boolean/index.tsx.mustache +3 -3
  208. package/src/tasks/create/templates/SDK-React/field/Date/index.tsx.mustache +2 -2
  209. package/src/tasks/create/templates/SDK-React/field/DateTime/index.tsx.mustache +6 -7
  210. package/src/tasks/create/templates/SDK-React/field/Decimal/demo.stories.jsx.mustache +5 -1
  211. package/src/tasks/create/templates/SDK-React/field/Decimal/index.tsx.mustache +78 -28
  212. package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/index.tsx.mustache +3 -3
  213. package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/index.tsx.mustache +2 -2
  214. package/src/tasks/create/templates/SDK-React/field/Integer/index.tsx.mustache +2 -2
  215. package/src/tasks/create/templates/SDK-React/field/Picklist/demo.stories.jsx.mustache +13 -0
  216. package/src/tasks/create/templates/SDK-React/field/Picklist/index.tsx.mustache +30 -10
  217. package/src/tasks/create/templates/SDK-React/field/Text/index.tsx.mustache +2 -2
  218. package/src/tasks/create/templates/SDK-React/field/Text-Email/index.tsx.mustache +2 -2
  219. package/src/tasks/create/templates/SDK-React/field/Text-Input/index.tsx.mustache +2 -2
  220. package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/index.tsx.mustache +2 -2
  221. package/src/tasks/create/templates/SDK-React/field/Text-Phone/index.tsx.mustache +6 -5
  222. package/src/tasks/create/templates/SDK-React/field/Text-URL/index.tsx.mustache +11 -0
  223. package/src/tasks/create/templates/SDK-React/field/TimeOfDay/config.json.mustache +135 -0
  224. package/src/tasks/create/templates/SDK-React/field/{TimeofDay → TimeOfDay}/index.tsx.mustache +12 -1
  225. package/src/tasks/create/templates/SDK-React/template/DETAILS/index.tsx.mustache +7 -3
  226. package/src/tasks/create/templates/SDK-React/template/DETAILS-region/index.tsx.mustache +8 -4
  227. package/src/tasks/create/templates/SDK-React/template/FORM/index.tsx.mustache +30 -20
  228. package/src/tasks/create/templates/SDK-React/template/FORM-region/demo.stories.jsx.mustache +2 -2
  229. package/src/tasks/create/templates/SDK-React/template/PAGE/demo.stories.jsx.mustache +1 -0
  230. package/src/tasks/create/templates/SDK-React/widget/CASE/index.tsx.mustache +4 -3
  231. package/src/tasks/create/templates/SDK-React/widget/PAGE/index.tsx.mustache +7 -7
  232. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/demo.stories.jsx.mustache +2 -10
  233. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/index.tsx.mustache +138 -36
  234. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/mock.stories.js.mustache +1 -1
  235. package/src/tasks/create-all/index.js +112 -56
  236. package/src/tasks/delete/helper.js +88 -24
  237. package/src/tasks/delete/index.js +17 -8
  238. package/src/tasks/delete-all/helper.js +88 -25
  239. package/src/tasks/delete-all/index.js +15 -6
  240. package/src/tasks/list/index.js +14 -7
  241. package/src/tasks/map/map.js +212 -20
  242. package/src/tasks/map-all/index.js +19 -2
  243. package/src/tasks/override/index.js +137 -76
  244. package/src/tasks/override-all/index.js +54 -6
  245. package/src/tasks/publish/helper.js +93 -50
  246. package/src/tasks/publish/index.js +87 -34
  247. package/src/tasks/publish-all/helper.js +96 -57
  248. package/src/tasks/publish-all/index.js +123 -47
  249. package/src/tasks/rename/index.js +184 -111
  250. package/src/tasks/validator/index.js +31 -7
  251. package/src/util.js +173 -20
  252. package/src/tasks/create/templates/Constellation/field/TimeofDay/styles.js.mustache +0 -7
  253. /package/src/tasks/bundle/{builder → builderAngular}/index.js +0 -0
  254. /package/src/tasks/bundle/{builder → builderAngular}/modules.js +0 -0
  255. /package/src/tasks/create/templates/Constellation/field/{TimeofDay → TimeOfDay}/config.json.mustache +0 -0
  256. /package/src/tasks/create/templates/Constellation/field/{TimeofDay → TimeOfDay}/demo.stories.jsx.mustache +0 -0
  257. /package/src/tasks/create/templates/Constellation/field/{TimeofDay → TimeOfDay}/index.jsx.mustache +0 -0
  258. /package/src/tasks/create/templates/Constellation/field/{TimeofDay → TimeOfDay}/mock.stories.js.mustache +0 -0
  259. /package/src/tasks/create/templates/Constellation/field/{TimeofDay → TimeOfDay}/suggestions-handler.js +0 -0
  260. /package/src/tasks/create/templates/{SDK-React/field/TimeofDay → SDK-Angular/field/TimeOfDay}/config.json.mustache +0 -0
  261. /package/src/tasks/create/templates/SDK-React/field/{TimeofDay → TimeOfDay}/demo.stories.jsx.mustache +0 -0
  262. /package/src/tasks/create/templates/SDK-React/field/{TimeofDay → TimeOfDay}/mock.stories.js.mustache +0 -0
  263. /package/src/tasks/create/templates/SDK-React/field/{TimeofDay → TimeOfDay}/styles.js.mustache +0 -0
@@ -0,0 +1,390 @@
1
+ // eslint-disable-next-line import/prefer-default-export
2
+ export const historyData = {
3
+ data: {
4
+ fetchDateTime: '2023-01-18T12:04:56.517Z',
5
+ pxObjClass: 'Pega-API-DataExploration-Data',
6
+ resultCount: 31,
7
+ data: [
8
+ {
9
+ pxTimeCreated: '2023-01-13T21:46:33.339Z',
10
+ pxObjClass: 'History-DXIL-DigV2-Work',
11
+ pyPerformer: 'User DigV2',
12
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214633.339 GMT',
13
+ pxLongitude: null,
14
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214633.339 GMT',
15
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
16
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
17
+ pyMemo: null,
18
+ pxLatitude: null
19
+ },
20
+ {
21
+ pxTimeCreated: '2023-01-13T21:46:33.332Z',
22
+ pxObjClass: 'History-DXIL-DigV2-Work',
23
+ pyPerformer: 'User DigV2',
24
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214633.332 GMT',
25
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214633.332 GMT',
26
+ pxLongitude: null,
27
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
28
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
29
+ pyMemo: null,
30
+ pxLatitude: null
31
+ },
32
+ {
33
+ pxTimeCreated: '2023-01-13T21:46:32.005Z',
34
+ pxObjClass: 'History-DXIL-DigV2-Work',
35
+ pyPerformer: 'User DigV2',
36
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214632.005 GMT',
37
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214632.005 GMT',
38
+ pxLongitude: null,
39
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
40
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
41
+ pyMemo: null,
42
+ pxLatitude: null
43
+ },
44
+ {
45
+ pxTimeCreated: '2023-01-13T21:46:31.998Z',
46
+ pxObjClass: 'History-DXIL-DigV2-Work',
47
+ pyPerformer: 'User DigV2',
48
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214631.998 GMT',
49
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214631.998 GMT',
50
+ pxLongitude: null,
51
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
52
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
53
+ pxLatitude: null,
54
+ pyMemo: null
55
+ },
56
+ {
57
+ pxTimeCreated: '2023-01-13T21:46:31.175Z',
58
+ pxObjClass: 'History-DXIL-DigV2-Work',
59
+ pyPerformer: 'User DigV2',
60
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214631.175 GMT',
61
+ pxLongitude: null,
62
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214631.175 GMT',
63
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
64
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
65
+ pxLatitude: null,
66
+ pyMemo: null
67
+ },
68
+ {
69
+ pxTimeCreated: '2023-01-13T21:46:31.168Z',
70
+ pxObjClass: 'History-DXIL-DigV2-Work',
71
+ pyPerformer: 'User DigV2',
72
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214631.168 GMT',
73
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214631.168 GMT',
74
+ pxLongitude: null,
75
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
76
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
77
+ pyMemo: null,
78
+ pxLatitude: null
79
+ },
80
+ {
81
+ pxObjClass: 'History-DXIL-DigV2-Work',
82
+ pxTimeCreated: '2023-01-13T21:46:29.893Z',
83
+ pyPerformer: 'User DigV2',
84
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214629.893 GMT',
85
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214629.893 GMT',
86
+ pxLongitude: null,
87
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
88
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
89
+ pyMemo: null,
90
+ pxLatitude: null
91
+ },
92
+ {
93
+ pxObjClass: 'History-DXIL-DigV2-Work',
94
+ pxTimeCreated: '2023-01-13T21:46:29.887Z',
95
+ pyPerformer: 'User DigV2',
96
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214629.887 GMT',
97
+ pxLongitude: null,
98
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214629.887 GMT',
99
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
100
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
101
+ pxLatitude: null,
102
+ pyMemo: null
103
+ },
104
+ {
105
+ pxTimeCreated: '2023-01-13T21:46:28.248Z',
106
+ pxObjClass: 'History-DXIL-DigV2-Work',
107
+ pyPerformer: 'User DigV2',
108
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214628.248 GMT',
109
+ pxLongitude: null,
110
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214628.248 GMT',
111
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
112
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
113
+ pxLatitude: null,
114
+ pyMemo: null
115
+ },
116
+ {
117
+ pxObjClass: 'History-DXIL-DigV2-Work',
118
+ pxTimeCreated: '2023-01-13T21:46:28.242Z',
119
+ pyPerformer: 'User DigV2',
120
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214628.242 GMT',
121
+ pxLongitude: null,
122
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214628.242 GMT',
123
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
124
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
125
+ pyMemo: null,
126
+ pxLatitude: null
127
+ },
128
+ {
129
+ pxObjClass: 'History-DXIL-DigV2-Work',
130
+ pxTimeCreated: '2023-01-13T21:46:08.399Z',
131
+ pyPerformer: 'User DigV2',
132
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214608.399 GMT',
133
+ pxLongitude: null,
134
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214608.399 GMT',
135
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
136
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
137
+ pxLatitude: null,
138
+ pyMemo: null
139
+ },
140
+ {
141
+ pxTimeCreated: '2023-01-13T21:46:08.393Z',
142
+ pxObjClass: 'History-DXIL-DigV2-Work',
143
+ pyPerformer: 'User DigV2',
144
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214608.393 GMT',
145
+ pxLongitude: null,
146
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214608.393 GMT',
147
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
148
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
149
+ pxLatitude: null,
150
+ pyMemo: null
151
+ },
152
+ {
153
+ pxObjClass: 'History-DXIL-DigV2-Work',
154
+ pxTimeCreated: '2023-01-13T21:46:07.584Z',
155
+ pyPerformer: 'User DigV2',
156
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214607.584 GMT',
157
+ pxLongitude: null,
158
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214607.584 GMT',
159
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
160
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
161
+ pyMemo: null,
162
+ pxLatitude: null
163
+ },
164
+ {
165
+ pxObjClass: 'History-DXIL-DigV2-Work',
166
+ pxTimeCreated: '2023-01-13T21:46:07.579Z',
167
+ pyPerformer: 'User DigV2',
168
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214607.579 GMT',
169
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214607.579 GMT',
170
+ pxLongitude: null,
171
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
172
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
173
+ pxLatitude: null,
174
+ pyMemo: null
175
+ },
176
+ {
177
+ pxObjClass: 'History-DXIL-DigV2-Work',
178
+ pxTimeCreated: '2023-01-13T21:46:06.262Z',
179
+ pyPerformer: 'User DigV2',
180
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214606.262 GMT',
181
+ pxLongitude: null,
182
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214606.262 GMT',
183
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
184
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
185
+ pyMemo: null,
186
+ pxLatitude: null
187
+ },
188
+ {
189
+ pxObjClass: 'History-DXIL-DigV2-Work',
190
+ pxTimeCreated: '2023-01-13T21:46:06.256Z',
191
+ pyPerformer: 'User DigV2',
192
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214606.256 GMT',
193
+ pxLongitude: null,
194
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214606.256 GMT',
195
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
196
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
197
+ pxLatitude: null,
198
+ pyMemo: null
199
+ },
200
+ {
201
+ pxObjClass: 'History-DXIL-DigV2-Work',
202
+ pxTimeCreated: '2023-01-13T21:45:57.503Z',
203
+ pyPerformer: 'User DigV2',
204
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214557.503 GMT',
205
+ pxLongitude: null,
206
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214557.503 GMT',
207
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
208
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
209
+ pxLatitude: null,
210
+ pyMemo: null
211
+ },
212
+ {
213
+ pxObjClass: 'History-DXIL-DigV2-Work',
214
+ pxTimeCreated: '2023-01-13T21:45:57.496Z',
215
+ pyPerformer: 'User DigV2',
216
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214557.496 GMT',
217
+ pxLongitude: null,
218
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214557.496 GMT',
219
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
220
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
221
+ pyMemo: null,
222
+ pxLatitude: null
223
+ },
224
+ {
225
+ pxObjClass: 'History-DXIL-DigV2-Work',
226
+ pxTimeCreated: '2023-01-13T21:45:36.250Z',
227
+ pyPerformer: 'User DigV2',
228
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214536.250 GMT',
229
+ pxLongitude: null,
230
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214536.250 GMT',
231
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
232
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
233
+ pxLatitude: null,
234
+ pyMemo: null
235
+ },
236
+ {
237
+ pxObjClass: 'History-DXIL-DigV2-Work',
238
+ pxTimeCreated: '2023-01-13T21:45:36.244Z',
239
+ pyPerformer: 'User DigV2',
240
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214536.244 GMT',
241
+ pxLongitude: null,
242
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214536.244 GMT',
243
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
244
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
245
+ pxLatitude: null,
246
+ pyMemo: null
247
+ },
248
+ {
249
+ pxTimeCreated: '2023-01-13T21:45:35.364Z',
250
+ pxObjClass: 'History-DXIL-DigV2-Work',
251
+ pyPerformer: 'User DigV2',
252
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214535.364 GMT',
253
+ pxLongitude: null,
254
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214535.364 GMT',
255
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
256
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
257
+ pxLatitude: null,
258
+ pyMemo: null
259
+ },
260
+ {
261
+ pxTimeCreated: '2023-01-13T21:45:35.356Z',
262
+ pxObjClass: 'History-DXIL-DigV2-Work',
263
+ pyPerformer: 'User DigV2',
264
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214535.356 GMT',
265
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214535.356 GMT',
266
+ pxLongitude: null,
267
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
268
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
269
+ pyMemo: null,
270
+ pxLatitude: null
271
+ },
272
+ {
273
+ pxObjClass: 'History-DXIL-DigV2-Work',
274
+ pxTimeCreated: '2023-01-13T21:45:33.224Z',
275
+ pyPerformer: 'User DigV2',
276
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214533.224 GMT',
277
+ pxLongitude: null,
278
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214533.224 GMT',
279
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
280
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
281
+ pxLatitude: null,
282
+ pyMemo: null
283
+ },
284
+ {
285
+ pxTimeCreated: '2023-01-13T21:45:33.218Z',
286
+ pxObjClass: 'History-DXIL-DigV2-Work',
287
+ pyPerformer: 'User DigV2',
288
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214533.218 GMT',
289
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214533.218 GMT',
290
+ pxLongitude: null,
291
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
292
+ pyMessageKey: "Assignment to 'complete task' removed via ticket.",
293
+ pxLatitude: null,
294
+ pyMemo: null
295
+ },
296
+ {
297
+ pxTimeCreated: '2023-01-13T21:45:32.436Z',
298
+ pxObjClass: 'History-DXIL-DigV2-Work',
299
+ pyPerformer: 'User DigV2',
300
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214532.436 GMT',
301
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214532.436 GMT',
302
+ pxLongitude: null,
303
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
304
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
305
+ pxLatitude: null,
306
+ pyMemo: null
307
+ },
308
+ {
309
+ pxTimeCreated: '2023-01-13T21:45:32.430Z',
310
+ pxObjClass: 'History-DXIL-DigV2-Work',
311
+ pyPerformer: 'User DigV2',
312
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214532.430 GMT',
313
+ pxLongitude: null,
314
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214532.430 GMT',
315
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'EmbeddedData'.",
316
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
317
+ pxLatitude: null,
318
+ pyMemo: null
319
+ },
320
+ {
321
+ pxTimeCreated: '2023-01-13T21:45:25.003Z',
322
+ pxObjClass: 'History-DXIL-DigV2-Work',
323
+ pyPerformer: 'User DigV2',
324
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214525.003 GMT',
325
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214525.003 GMT',
326
+ pxLongitude: null,
327
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
328
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
329
+ pxLatitude: null,
330
+ pyMemo: null
331
+ },
332
+ {
333
+ pxObjClass: 'History-DXIL-DigV2-Work',
334
+ pxTimeCreated: '2023-01-13T21:45:24.994Z',
335
+ pyPerformer: 'User DigV2',
336
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214524.994 GMT',
337
+ pxLongitude: null,
338
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214524.994 GMT',
339
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
340
+ pyMessageKey: "Assignment to 'complete task' completed by performing a 'Select Test'.",
341
+ pyMemo: null,
342
+ pxLatitude: null
343
+ },
344
+ {
345
+ pxObjClass: 'History-DXIL-DigV2-Work',
346
+ pxTimeCreated: '2023-01-13T21:45:23.570Z',
347
+ pyPerformer: 'User DigV2',
348
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214523.570 GMT',
349
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214523.570 GMT',
350
+ pxLongitude: null,
351
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
352
+ pyMessageKey: "Assigned to User DigV2 to 'complete task' ",
353
+ pyMemo: null,
354
+ pxLatitude: null
355
+ },
356
+ {
357
+ pxObjClass: 'History-DXIL-DigV2-Work',
358
+ pxTimeCreated: '2023-01-13T21:45:23.563Z',
359
+ pyPerformer: 'User DigV2',
360
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214523.563 GMT',
361
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214523.563 GMT',
362
+ pxLongitude: null,
363
+ pyMessageKey: 'ChangeStageAutomatic\tCreate\tPick Test',
364
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
365
+ pxLatitude: null,
366
+ pyMemo: 'ChangeStageAutomatic\tCreate\tPick Test'
367
+ },
368
+ {
369
+ pxObjClass: 'History-DXIL-DigV2-Work',
370
+ pxTimeCreated: '2023-01-13T21:45:23.550Z',
371
+ pyPerformer: 'User DigV2',
372
+ pxInsName: 'DXIL-DIGV2-WORK C-7430!20230113T214523.550 GMT',
373
+ pzInsKey: 'HISTORY-DXIL-DIGV2-WORK DXIL-DIGV2-WORK C-7430!20230113T214523.550 GMT',
374
+ pxLongitude: null,
375
+ pyMessageKey: 'Item created.',
376
+ pxHistoryForReference: 'DXIL-DIGV2-WORK C-7430',
377
+ pyMemo: null,
378
+ pxLatitude: null
379
+ }
380
+ ],
381
+ hasMoreResults: false
382
+ },
383
+ status: 200,
384
+ statusText: '',
385
+ headers: {
386
+ 'content-length': '1328',
387
+ 'content-type': 'application/json;charset=UTF-8'
388
+ },
389
+ request: {}
390
+ };
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="100px" height="70px" viewBox="0 0 100 70" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>1 col </title>
4
+ <defs>
5
+ <rect id="path-1" x="0" y="0" width="100" height="70"></rect>
6
+ </defs>
7
+ <g id="Concepts" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="Templates" transform="translate(-98.000000, -108.000000)">
9
+ <g id="Change-template" transform="translate(42.000000, 36.000000)">
10
+ <g id="1-col-" transform="translate(56.000000, 72.000000)">
11
+ <mask id="mask-2" fill="white">
12
+ <use xlink:href="#path-1"></use>
13
+ </mask>
14
+ <rect stroke="#A5A8BC" stroke-width="0.5" x="0.25" y="0.25" width="99.5" height="69.5"></rect>
15
+ <g id="white" mask="url(#mask-2)" fill="#FFFFFF">
16
+ <g transform="translate(3.000000, 3.000000)" id="Rectangle">
17
+ <rect x="0" y="0" width="94" height="66.5"></rect>
18
+ </g>
19
+ </g>
20
+ <g id="gray" mask="url(#mask-2)" fill="#8084A7">
21
+ <g transform="translate(6.000000, 6.000000)" id="Rectangle">
22
+ <rect x="0" y="-2.84217094e-14" width="88" height="77.8"></rect>
23
+ </g>
24
+ </g>
25
+ <g id="labels" mask="url(#mask-2)" font-family="OpenSans-Semibold, Open Sans" font-size="11" font-weight="500">
26
+ <g transform="translate(44.000000, 17.000000)" id="A">
27
+ <text>
28
+ <tspan x="0.75" y="12" fill="#FFFFFF">A</tspan>
29
+ </text>
30
+ </g>
31
+ </g>
32
+ </g>
33
+ </g>
34
+ </g>
35
+ </g>
36
+ </svg>
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "{{COMPONENT_KEY}}",
3
+ "label": "{{COMPONENT_LABEL}}",
4
+ "description": "{{DESCRIPTION}}",
5
+ "organization": "{{ORGANIZATION}}",
6
+ "version": "{{VERSION}}",
7
+ "library": "{{LIBRARY}}",
8
+ "allowedApplications": {{{ALLOWEDAPPS}}},
9
+ "componentKey": "{{COMPONENT_KEY}}",
10
+ "type": "{{TYPE}}",
11
+ "subtype": {{{SUB_TYPE}}},
12
+ "icon": "OneColumnPage.svg",
13
+ "properties": [
14
+ {
15
+ "name": "description",
16
+ "label": "Description",
17
+ "format": "TEXT",
18
+ "defaultValue": "We've launched a brand new experience to accelerate your workflow. Check out the guides to help you get the most of Cosmos."
19
+ },
20
+ {
21
+ "name": "whatsnewlink",
22
+ "label": "What's new link",
23
+ "format": "TEXT",
24
+ "defaultValue": "https://design.pega.com"
25
+ },
26
+ {
27
+ "name": "image",
28
+ "label": "Image link",
29
+ "format": "TEXT",
30
+ "defaultValue": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzOSAxMSI+PHRpdGxlPlBlZ2EgdGV4dC1vbmx5IGxvZ288L3RpdGxlPjxwYXRoIHN0eWxlPSJmaWxsLW9wYWNpdHk6IC4yNTsiIGZpbGw9IiNmZmYiIGQ9Ik03LjcyIDMuODJjMCAyLjI1LTEuNzggMy40MS00IDMuNDFoLTEuNnYzSDBWLjQyaDMuOTRjMi4zNiAwIDMuNzggMS4zOSAzLjc4IDMuNHptLTQtMS40N2gtMS42djNoMS43QTEuNDcgMS40NyAwIDAgMCA1LjUgMy44MmMwLS45MS0uNjUtMS40Ny0xLjc1LTEuNDd6bTcuNjggNS45MWg1LjN2Mkg5LjI5Vi40Mmg3LjM4djEuOTNoLTUuMjR2Mmg0LjI0djEuOWgtNC4yNHpNMjMuMTggMGE1IDUgMCAwIDEgMy41NyAxLjI4TDI1LjYzIDIuOGEzLjc4IDMuNzggMCAwIDAtMS4wNS0uNjNBNC4zMiA0LjMyIDAgMCAwIDIzLjMxIDIgMy4xNyAzLjE3IDAgMCAwIDIwIDUuMjdhMy4xNiAzLjE2IDAgMCAwIDEgMi4zOSAzLjA3IDMuMDcgMCAwIDAgMi4xNy44NCA0LjYgNC42IDAgMCAwIDIuMDktLjVWNi4xOWgtMi4yVjQuMzhoNC4yNXY0LjU2YTUuNDEgNS40MSAwIDAgMS00LjA4IDEuNTdBNS4zNSA1LjM1IDAgMCAxIDE5LjQzIDlhNS4wNSA1LjA1IDAgMCAxLTEuNTYtMy43NCA1LjIxIDUuMjEgMCAwIDEgMS41Ni0zLjc2QTUuMzEgNS4zMSAwIDAgMSAyMy4xOCAwem0xMS4yOS40Mmw0LjEzIDkuNzloLTIuMjVMMzUuNDggOGgtNC4wNmwtLjkgMi4xOGgtMi4yTDMyLjUxLjQyem0uMjUgNS43MkwzMy40NCAzbC0xLjI5IDMuMTR6bTMtNWEuNzEuNzEgMCAwIDEtLjc0Ljc1LjcxLjcxIDAgMCAxLS43My0uNzUuNzMuNzMgMCAwIDEgLjc1LS43Mi43Mi43MiAwIDAgMSAuNzUuNzF6TTM3IC41M2EuNTkuNTkgMCAwIDAtLjYuNi42MS42MSAwIDEgMCAxLjIxIDAgLjYuNiAwIDAgMC0uNjEtLjZ6bS0uMjQgMVYuNzFIMzdjLjEyIDAgLjE4LjA2LjI1LjA2YS4yMS4yMSAwIDAgMSAuMDcuMTguMTkuMTkgMCAwIDEtLjA3LjE4cy0uMDcuMDgtLjEzLjA4bC4yNi4zNmgtLjJMMzcgMS4yOGgtLjF2LjI5em0uMTMtLjQ0aC4yM2EuMjYuMjYgMCAwIDAgLjA3LS4wOWgtLjA2Yy0uMDUtLjE3LS4wNS0uMTctLjEzLS4xN2gtLjF6Ii8+PC9zdmc+"
31
+ },
32
+ {
33
+ "name": "datasource",
34
+ "label": "Data source for details",
35
+ "defaultValue": "@DATASOURCE D_pyAnnouncements.pxResults",
36
+ "format": "DATASOURCE",
37
+ "required": true,
38
+ "properties": [
39
+ {
40
+ "name": "name",
41
+ "label": "Label",
42
+ "defaultValue": "@P .pyLabel"
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "label": "Conditions",
48
+ "format": "GROUP",
49
+ "properties": [
50
+ {
51
+ "name": "visibility",
52
+ "label": "Visibility",
53
+ "format": "VISIBILITY"
54
+ }
55
+ ]
56
+ }
57
+ ],
58
+ "defaultConfig": {}
59
+ }
@@ -0,0 +1,29 @@
1
+ import { withKnobs } from '@storybook/addon-knobs';
2
+
3
+ import {{COMPONENT_CLASS_NAME}} from './index.tsx';
4
+
5
+ import { configProps } from './mock.stories';
6
+
7
+ export default {
8
+ title: '{{COMPONENT_CLASS_NAME}}',
9
+ decorators: [withKnobs],
10
+ component: {{COMPONENT_CLASS_NAME}}
11
+ };
12
+
13
+ export const Base{{COMPONENT_CLASS_NAME}} = () => {
14
+
15
+ const props = {
16
+ label: configProps.label,
17
+ header: configProps.header,
18
+ description: configProps.description,
19
+ image: configProps.image,
20
+ datasource: configProps.datasource,
21
+ whatsnewlink: configProps.whatsnewlink
22
+ };
23
+
24
+ return (
25
+ <>
26
+ <{{COMPONENT_CLASS_NAME}} {...props} />
27
+ </>
28
+ );
29
+ };
@@ -0,0 +1,23 @@
1
+ // eslint-disable-next-line import/prefer-default-export
2
+ export const configProps = {
3
+ label: 'App announcement',
4
+ header: 'Announcements',
5
+ description: 'Welcome to MediaCo Application for testing SDK frameworks.',
6
+ whatsnewlink: 'https://design.pega.com',
7
+ image:
8
+ 'data:image/svg xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzOSAxMSI PHRpdGxlPlBlZ2EgdGV4dC1vbmx5IGxvZ288L3RpdGxlPjxwYXRoIHN0eWxlPSJmaWxsLW9wYWNpdHk6IC4yNTsiIGZpbGw9IiNmZmYiIGQ9Ik03LjcyIDMuODJjMCAyLjI1LTEuNzggMy40MS00IDMuNDFoLTEuNnYzSDBWLjQyaDMuOTRjMi4zNiAwIDMuNzggMS4zOSAzLjc4IDMuNHptLTQtMS40N2gtMS42djNoMS43QTEuNDcgMS40NyAwIDAgMCA1LjUgMy44MmMwLS45MS0uNjUtMS40Ny0xLjc1LTEuNDd6bTcuNjggNS45MWg1LjN2Mkg5LjI5Vi40Mmg3LjM4djEuOTNoLTUuMjR2Mmg0LjI0djEuOWgtNC4yNHpNMjMuMTggMGE1IDUgMCAwIDEgMy41NyAxLjI4TDI1LjYzIDIuOGEzLjc4IDMuNzggMCAwIDAtMS4wNS0uNjNBNC4zMiA0LjMyIDAgMCAwIDIzLjMxIDIgMy4xNyAzLjE3IDAgMCAwIDIwIDUuMjdhMy4xNiAzLjE2IDAgMCAwIDEgMi4zOSAzLjA3IDMuMDcgMCAwIDAgMi4xNy44NCA0LjYgNC42IDAgMCAwIDIuMDktLjVWNi4xOWgtMi4yVjQuMzhoNC4yNXY0LjU2YTUuNDEgNS40MSAwIDAgMS00LjA4IDEuNTdBNS4zNSA1LjM1IDAgMCAxIDE5LjQzIDlhNS4wNSA1LjA1IDAgMCAxLTEuNTYtMy43NCA1LjIxIDUuMjEgMCAwIDEgMS41Ni0zLjc2QTUuMzEgNS4zMSAwIDAgMSAyMy4xOCAwem0xMS4yOS40Mmw0LjEzIDkuNzloLTIuMjVMMzUuNDggOGgtNC4wNmwtLjkgMi4xOGgtMi4yTDMyLjUxLjQyem0uMjUgNS43MkwzMy40NCAzbC0xLjI5IDMuMTR6bTMtNWEuNzEuNzEgMCAwIDEtLjc0Ljc1LjcxLjcxIDAgMCAxLS43My0uNzUuNzMuNzMgMCAwIDEgLjc1LS43Mi43Mi43MiAwIDAgMSAuNzUuNzF6TTM3IC41M2EuNTkuNTkgMCAwIDAtLjYuNi42MS42MSAwIDEgMCAxLjIxIDAgLjYuNiAwIDAgMC0uNjEtLjZ6bS0uMjQgMVYuNzFIMzdjLjEyIDAgLjE4LjA2LjI1LjA2YS4yMS4yMSAwIDAgMSAuMDcuMTguMTkuMTkgMCAwIDEtLjA3LjE4cy0uMDcuMDgtLjEzLjA4bC4yNi4zNmgtLjJMMzcgMS4yOGgtLjF2LjI5em0uMTMtLjQ0aC4yM2EuMjYuMjYgMCAwIDAgLjA3LS4wOWgtLjA2Yy0uMDUtLjE3LS4wNS0uMTctLjEzLS4xN2gtLjF6Ii8 PC9zdmc ',
9
+ datasource: {
10
+ source: [
11
+ {
12
+ name: 'New React based UI rendering'
13
+ },
14
+ {
15
+ name: 'Support for followers and recents'
16
+ },
17
+ {
18
+ name: 'New authoring experience'
19
+ }
20
+ ],
21
+ fields: {}
22
+ }
23
+ };
@@ -0,0 +1,17 @@
1
+
2
+ {{! pick new delimiters for mustache }}
3
+ {{=<% %>=}}
4
+ <article class="psdk-announcement">
5
+ <h2>{{ header$ }}</h2>
6
+ <div>
7
+ <p>{{ description$ }}</p>
8
+ <div>
9
+ <h3>{{ label$ }}</h3>
10
+ <ul>
11
+ <li *ngFor="let detail of arDetails$">{{ detail }}</li>
12
+ </ul>
13
+ </div>
14
+ </div>
15
+ <a *ngIf="whatsnewlink$ != ''" mat-raised-button color="primary" [href]="whatsnewlink$">See what's new</a>
16
+ </article>
17
+ <%={{ }}=%> {{! revert delimiters for mustache }}
@@ -0,0 +1,19 @@
1
+ @import '@pega/angular-sdk-library/_shared/styles.scss';
2
+
3
+ h2 {
4
+ font-size: 1.2rem;
5
+ margin-block-start: 0rem;
6
+ }
7
+
8
+ h3 {
9
+ font-size: 1.1rem;
10
+ }
11
+ ul {
12
+ padding-inline-start: 20px;
13
+ }
14
+ .psdk-announcement {
15
+ background-color: $app-primary-light-color;
16
+ padding: 1rem;
17
+ margin: 0.5rem;
18
+ border-radius: 0.6125rem;
19
+ }
@@ -0,0 +1,32 @@
1
+ import { Component, OnInit, Input } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { MatButtonModule } from '@angular/material/button';
4
+
5
+ @Component({
6
+ selector: 'app-{{COMPONENT_CLASS_NAME_KEBAB}}',
7
+ templateUrl: './{{COMPONENT_CLASS_NAME_KEBAB}}.component.html',
8
+ styleUrls: ['./{{COMPONENT_CLASS_NAME_KEBAB}}.component.scss'],
9
+ standalone: true,
10
+ imports: [CommonModule, MatButtonModule]
11
+ })
12
+ export class {{COMPONENT_CLASS_NAME}}Component implements OnInit {
13
+ @Input() pConn$: any;
14
+
15
+ header$: string;
16
+ description$: string;
17
+ arDetails$: Array<string>;
18
+ label$: string;
19
+ whatsnewlink$: string;
20
+
21
+ constructor() {}
22
+
23
+ ngOnInit(): void {
24
+ let configProps = this.pConn$.getConfigProps();
25
+
26
+ this.header$ = configProps.header;
27
+ this.description$ = configProps.description;
28
+ this.arDetails$ = configProps.details;
29
+ this.label$ = configProps.label;
30
+ this.whatsnewlink$ = configProps.whatsnewlink;
31
+ }
32
+ }
@@ -0,0 +1,25 @@
1
+ import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
2
+
3
+ import { {{COMPONENT_CLASS_NAME}}Component } from './{{COMPONENT_CLASS_NAME_KEBAB}}.component';
4
+
5
+ describe('{{COMPONENT_CLASS_NAME}}Component', () => {
6
+ let component: {{COMPONENT_CLASS_NAME}}Component;
7
+ let fixture: ComponentFixture<{{COMPONENT_CLASS_NAME}}Component>;
8
+
9
+ beforeEach(waitForAsync(() => {
10
+ TestBed.configureTestingModule({
11
+ declarations: [ {{COMPONENT_CLASS_NAME}}Component ]
12
+ })
13
+ .compileComponents();
14
+ }));
15
+
16
+ beforeEach(() => {
17
+ fixture = TestBed.createComponent({{COMPONENT_CLASS_NAME}}Component);
18
+ component = fixture.componentInstance;
19
+ fixture.detectChanges();
20
+ });
21
+
22
+ it('should create', () => {
23
+ expect(component).toBeTruthy();
24
+ });
25
+ });