@pega/custom-dx-components 0.0.1 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (681) hide show
  1. package/.vscode/extensions.json +1 -1
  2. package/README.md +6 -189
  3. package/babel.config.cjs +13 -0
  4. package/jest.config.cjs +37 -0
  5. package/package.json +48 -36
  6. package/src/cli.js +49 -1
  7. package/src/constants.js +134 -8
  8. package/src/currentPath.cjs +1 -0
  9. package/src/tasks/authenticate/helper.js +167 -8
  10. package/src/tasks/authenticate/index.js +228 -49
  11. package/src/tasks/build-all/helper.js +71 -0
  12. package/src/tasks/build-all/index.js +86 -0
  13. package/src/tasks/build-comp/helper.js +116 -0
  14. package/src/tasks/build-comp/index.js +76 -0
  15. package/src/tasks/{publish/bundle → bundle}/builder/index.js +54 -5
  16. package/src/tasks/{publish/bundle → bundle}/builder/webpack.config.js +21 -8
  17. package/src/tasks/{publish/bundle → bundle}/index.js +2 -2
  18. package/src/tasks/create/index.js +143 -70
  19. package/src/tasks/create/templates/Constellation/Field/Boolean/Boolean.js.mustache +38 -0
  20. package/src/tasks/create/templates/Constellation/Field/Boolean/boolean-format.js.mustache +27 -0
  21. package/src/tasks/create/templates/Constellation/Field/Boolean/config.json.mustache +145 -0
  22. package/src/tasks/create/templates/Constellation/Field/Boolean/demo.stories.jsx.mustache +64 -0
  23. package/src/tasks/create/templates/Constellation/Field/Boolean/event-utils.js.mustache +18 -0
  24. package/src/tasks/create/templates/Constellation/Field/Boolean/index.jsx.mustache +169 -0
  25. package/src/tasks/create/templates/Constellation/Field/Boolean/mock.js.mustache +23 -0
  26. package/src/tasks/create/templates/Constellation/Field/Boolean/styles.js.mustache +15 -0
  27. package/src/tasks/create/templates/Constellation/Field/Date/DateFormatter.js.mustache +62 -0
  28. package/src/tasks/create/templates/Constellation/Field/Date/FormattedText.jsx.mustache +42 -0
  29. package/src/tasks/create/templates/Constellation/Field/Date/config.json.mustache +199 -0
  30. package/src/tasks/create/templates/Constellation/Field/Date/date.js.mustache +439 -0
  31. package/src/tasks/create/templates/Constellation/Field/Date/demo.stories.jsx.mustache +76 -0
  32. package/src/tasks/create/templates/Constellation/Field/Date/index.jsx.mustache +256 -0
  33. package/src/tasks/create/templates/Constellation/Field/Date/mock.js.mustache +25 -0
  34. package/src/tasks/create/templates/Constellation/Field/Date/styles.js.mustache +15 -0
  35. package/src/tasks/create/templates/Constellation/Field/Date/suggestions-handler.js +9 -0
  36. package/src/tasks/create/templates/Constellation/Field/DateTime/config.json.mustache +256 -0
  37. package/src/tasks/create/templates/Constellation/Field/DateTime/date-time.js.mustache +93 -0
  38. package/src/tasks/create/templates/Constellation/Field/DateTime/date-utils.js.mustache +288 -0
  39. package/src/tasks/create/templates/Constellation/Field/DateTime/date.js.mustache +331 -0
  40. package/src/tasks/create/templates/Constellation/Field/DateTime/demo.stories.jsx.mustache +76 -0
  41. package/src/tasks/create/templates/Constellation/Field/DateTime/index.jsx.mustache +253 -0
  42. package/src/tasks/create/templates/Constellation/Field/DateTime/mock.js.mustache +25 -0
  43. package/src/tasks/create/templates/Constellation/Field/DateTime/styles.js.mustache +15 -0
  44. package/src/tasks/create/templates/Constellation/Field/DateTime/suggestions-handler.js +9 -0
  45. package/src/tasks/create/templates/Constellation/Field/Decimal/config.json.mustache +278 -0
  46. package/src/tasks/create/templates/Constellation/Field/Decimal/demo.stories.jsx.mustache +52 -0
  47. package/src/tasks/create/templates/Constellation/Field/Decimal/event-utils.js.mustache +18 -0
  48. package/src/tasks/create/templates/Constellation/Field/Decimal/index.jsx.mustache +273 -0
  49. package/src/tasks/create/templates/Constellation/Field/Decimal/mock.js.mustache +23 -0
  50. package/src/tasks/create/templates/Constellation/Field/Decimal/styles.js.mustache +15 -0
  51. package/src/tasks/create/templates/Constellation/Field/Decimal/suggestions-handler.js +9 -0
  52. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/config.json.mustache +291 -0
  53. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/demo.stories.jsx.mustache +56 -0
  54. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/event-utils.js.mustache +18 -0
  55. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/index.jsx.mustache +300 -0
  56. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.js.mustache +25 -0
  57. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/styles.js.mustache +15 -0
  58. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/suggestions-handler.js +9 -0
  59. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/config.json.mustache +93 -0
  60. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/demo.stories.jsx.mustache +52 -0
  61. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/event-utils.js.mustache +18 -0
  62. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/index.jsx.mustache +282 -0
  63. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/mock.js.mustache +23 -0
  64. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/styles.js.mustache +15 -0
  65. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/suggestions-handler.js +9 -0
  66. package/src/tasks/create/templates/Constellation/Field/Integer/config.json.mustache +347 -0
  67. package/src/tasks/create/templates/Constellation/Field/Integer/demo.stories.jsx.mustache +52 -0
  68. package/src/tasks/create/templates/Constellation/Field/Integer/event-utils.js.mustache +18 -0
  69. package/src/tasks/create/templates/Constellation/Field/Integer/index.jsx.mustache +337 -0
  70. package/src/tasks/create/templates/Constellation/Field/Integer/mock.js.mustache +23 -0
  71. package/src/tasks/create/templates/Constellation/Field/Integer/styles.js.mustache +15 -0
  72. package/src/tasks/create/templates/Constellation/Field/Integer/suggestions-handler.js +9 -0
  73. package/src/tasks/create/templates/Constellation/Field/Picklist/config.json.mustache +114 -0
  74. package/src/tasks/create/templates/Constellation/Field/Picklist/demo.stories.jsx.mustache +81 -0
  75. package/src/tasks/create/templates/Constellation/Field/Picklist/event-utils.js.mustache +18 -0
  76. package/src/tasks/create/templates/Constellation/Field/Picklist/index.jsx.mustache +353 -0
  77. package/src/tasks/create/templates/Constellation/Field/Picklist/mock.js.mustache +69 -0
  78. package/src/tasks/create/templates/Constellation/Field/Picklist/styles.js.mustache +15 -0
  79. package/src/tasks/create/templates/Constellation/Field/Picklist/suggestions-handler.js +9 -0
  80. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/component-constants.js +5 -0
  81. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/config.json.mustache +115 -0
  82. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/date.js.mustache +161 -0
  83. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/demo.stories.jsx.mustache +90 -0
  84. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/embed-utils.js.mustache +310 -0
  85. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/event-utils.js.mustache +18 -0
  86. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/format-constants.js.mustache +41 -0
  87. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/index.jsx.mustache +1045 -0
  88. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/mock.js.mustache +69 -0
  89. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/picklist-utils.js.mustache +88 -0
  90. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/repeat-constants.js.mustache +20 -0
  91. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/repeat-utils.js.mustache +657 -0
  92. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/styles.js.mustache +15 -0
  93. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/suggestions-handler.js.mustache +9 -0
  94. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/textformat-utils.jsx.mustache +161 -0
  95. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/utils.js.mustache +182 -0
  96. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/config.json.mustache +113 -0
  97. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/demo.stories.jsx.mustache +85 -0
  98. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/event-utils.js.mustache +18 -0
  99. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.jsx.mustache +218 -0
  100. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/mock.js.mustache +69 -0
  101. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/styles.js.mustache +15 -0
  102. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/suggestions-handler.js.mustache +9 -0
  103. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/textformat-utils.jsx.mustache +161 -0
  104. package/src/tasks/create/{template → templates/Constellation/Field/Text}/config.json.mustache +14 -5
  105. package/src/tasks/create/templates/Constellation/Field/Text/demo.stories.jsx.mustache +54 -0
  106. package/src/tasks/create/{template → templates/Constellation/Field/Text}/index.jsx.mustache +10 -4
  107. package/src/tasks/create/templates/Constellation/Field/Text/mock.js.mustache +15 -0
  108. package/src/tasks/create/templates/Constellation/Field/Text/styles.js.mustache +15 -0
  109. package/src/tasks/create/templates/Constellation/Field/Text-Email/config.json.mustache +111 -0
  110. package/src/tasks/create/templates/Constellation/Field/Text-Email/demo.stories.jsx.mustache +51 -0
  111. package/src/tasks/create/templates/Constellation/Field/Text-Email/event-utils.js.mustache +18 -0
  112. package/src/tasks/create/templates/Constellation/Field/Text-Email/index.jsx.mustache +232 -0
  113. package/src/tasks/create/templates/Constellation/Field/Text-Email/mock.js.mustache +24 -0
  114. package/src/tasks/create/templates/Constellation/Field/Text-Email/styles.js.mustache +15 -0
  115. package/src/tasks/create/templates/Constellation/Field/Text-Email/suggestions-handler.js +9 -0
  116. package/src/tasks/create/templates/Constellation/Field/Text-Input/StatusWork.jsx +26 -0
  117. package/src/tasks/create/templates/Constellation/Field/Text-Input/config.json.mustache +111 -0
  118. package/src/tasks/create/templates/Constellation/Field/Text-Input/demo.stories.jsx.mustache +51 -0
  119. package/src/tasks/create/templates/Constellation/Field/Text-Input/event-utils.js.mustache +18 -0
  120. package/src/tasks/create/templates/Constellation/Field/Text-Input/index.jsx.mustache +239 -0
  121. package/src/tasks/create/templates/Constellation/Field/Text-Input/mock.js.mustache +23 -0
  122. package/src/tasks/create/templates/Constellation/Field/Text-Input/styles.js.mustache +15 -0
  123. package/src/tasks/create/templates/Constellation/Field/Text-Input/suggestions-handler.js +9 -0
  124. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/config.json.mustache +111 -0
  125. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/demo.stories.jsx.mustache +51 -0
  126. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/event-utils.js.mustache +18 -0
  127. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/index.jsx.mustache +230 -0
  128. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/mock.js.mustache +22 -0
  129. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/styles.js.mustache +15 -0
  130. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/suggestions-handler.js +9 -0
  131. package/src/tasks/create/templates/Constellation/Field/Text-Phone/config.json.mustache +123 -0
  132. package/src/tasks/create/templates/Constellation/Field/Text-Phone/demo.stories.jsx.mustache +49 -0
  133. package/src/tasks/create/templates/Constellation/Field/Text-Phone/event-utils.js.mustache +18 -0
  134. package/src/tasks/create/templates/Constellation/Field/Text-Phone/index.jsx.mustache +266 -0
  135. package/src/tasks/create/templates/Constellation/Field/Text-Phone/mock.js.mustache +39 -0
  136. package/src/tasks/create/templates/Constellation/Field/Text-Phone/styles.js.mustache +15 -0
  137. package/src/tasks/create/templates/Constellation/Field/Text-Phone/suggestions-handler.js +9 -0
  138. package/src/tasks/create/templates/Constellation/Field/Text-URL/config.json.mustache +237 -0
  139. package/src/tasks/create/templates/Constellation/Field/Text-URL/demo.stories.jsx.mustache +49 -0
  140. package/src/tasks/create/templates/Constellation/Field/Text-URL/event-utils.js.mustache +18 -0
  141. package/src/tasks/create/templates/Constellation/Field/Text-URL/index.jsx.mustache +232 -0
  142. package/src/tasks/create/templates/Constellation/Field/Text-URL/mock.js.mustache +24 -0
  143. package/src/tasks/create/templates/Constellation/Field/Text-URL/styles.js.mustache +15 -0
  144. package/src/tasks/create/templates/Constellation/Field/Text-URL/suggestions-handler.js +9 -0
  145. package/src/tasks/create/templates/Constellation/Field/Text-URL/text-url.jsx.mustache +175 -0
  146. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/config.json.mustache +185 -0
  147. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/demo.stories.jsx.mustache +60 -0
  148. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/index.jsx.mustache +214 -0
  149. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/mock.js.mustache +22 -0
  150. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/styles.js.mustache +15 -0
  151. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/suggestions-handler.js +9 -0
  152. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/time-of-day.js.mustache +287 -0
  153. package/src/tasks/create/templates/Constellation/Template/DETAILS/OneColumnDetails.svg +22 -0
  154. package/src/tasks/create/templates/Constellation/Template/DETAILS/StatusWork.jsx.mustache +26 -0
  155. package/src/tasks/create/templates/Constellation/Template/DETAILS/config.json.mustache +35 -0
  156. package/src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.jsx.mustache +137 -0
  157. package/src/tasks/create/templates/Constellation/Template/DETAILS/index.jsx.mustache +86 -0
  158. package/src/tasks/create/templates/Constellation/Template/DETAILS/mock.js.mustache +192 -0
  159. package/src/tasks/create/templates/Constellation/Template/DETAILS/styles.js.mustache +15 -0
  160. package/src/tasks/create/templates/Constellation/Template/DETAILS/utils.js.mustache +151 -0
  161. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/StatusWork.jsx.mustache +26 -0
  162. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/TwoColumnDetails.svg +28 -0
  163. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/config.json.mustache +42 -0
  164. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.jsx.mustache +140 -0
  165. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/index.jsx.mustache +86 -0
  166. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/mock.js.mustache +232 -0
  167. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/styles.js.mustache +15 -0
  168. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/utils.js.mustache +151 -0
  169. package/src/tasks/create/templates/Constellation/Template/FORM/DefaultForm.svg +29 -0
  170. package/src/tasks/create/templates/Constellation/Template/FORM/config.json.mustache +45 -0
  171. package/src/tasks/create/templates/Constellation/Template/FORM/demo.stories.jsx.mustache +177 -0
  172. package/src/tasks/create/templates/Constellation/Template/FORM/index.jsx.mustache +51 -0
  173. package/src/tasks/create/templates/Constellation/Template/FORM/mock.js.mustache +139 -0
  174. package/src/tasks/create/templates/Constellation/Template/FORM/styles.js.mustache +15 -0
  175. package/src/tasks/create/templates/Constellation/Template/FORM-region/TwoColumn.svg +38 -0
  176. package/src/tasks/create/templates/Constellation/Template/FORM-region/config.json.mustache +27 -0
  177. package/src/tasks/create/templates/Constellation/Template/FORM-region/demo.stories.jsx.mustache +182 -0
  178. package/src/tasks/create/templates/Constellation/Template/FORM-region/index.jsx.mustache +51 -0
  179. package/src/tasks/create/templates/Constellation/Template/FORM-region/mock.js.mustache +145 -0
  180. package/src/tasks/create/templates/Constellation/Template/FORM-region/styles.js.mustache +15 -0
  181. package/src/tasks/create/templates/Constellation/Template/PAGE/GetNextWork.jsx.mustache +33 -0
  182. package/src/tasks/create/templates/Constellation/Template/PAGE/OneColumnPage.svg +36 -0
  183. package/src/tasks/create/templates/Constellation/Template/PAGE/config.json.mustache +32 -0
  184. package/src/tasks/create/templates/Constellation/Template/PAGE/demo.stories.jsx.mustache +105 -0
  185. package/src/tasks/create/templates/Constellation/Template/PAGE/index.jsx.mustache +71 -0
  186. package/src/tasks/create/templates/Constellation/Template/PAGE/localizations.json.mustache +4 -0
  187. package/src/tasks/create/templates/Constellation/Template/PAGE/mock.js.mustache +96 -0
  188. package/src/tasks/create/templates/Constellation/Template/PAGE/styles.js.mustache +15 -0
  189. package/src/tasks/create/templates/Constellation/Template/PAGE/utils.js.mustache +227 -0
  190. package/src/tasks/create/templates/Constellation/Widget/CASE/OneColumnPage.svg +36 -0
  191. package/src/tasks/create/templates/Constellation/Widget/CASE/config.json.mustache +23 -0
  192. package/src/tasks/create/templates/Constellation/Widget/CASE/demo.stories.jsx.mustache +81 -0
  193. package/src/tasks/create/templates/Constellation/Widget/CASE/index.jsx.mustache +75 -0
  194. package/src/tasks/create/templates/Constellation/Widget/CASE/mock.js.mustache +391 -0
  195. package/src/tasks/create/templates/Constellation/Widget/CASE/styles.js.mustache +15 -0
  196. package/src/tasks/create/templates/Constellation/Widget/PAGE/OneColumnPage.svg +36 -0
  197. package/src/tasks/create/templates/Constellation/Widget/PAGE/config.json.mustache +59 -0
  198. package/src/tasks/create/templates/Constellation/Widget/PAGE/demo.stories.jsx.mustache +33 -0
  199. package/src/tasks/create/templates/Constellation/Widget/PAGE/index.jsx.mustache +48 -0
  200. package/src/tasks/create/templates/Constellation/Widget/PAGE/mock.js.mustache +24 -0
  201. package/src/tasks/create/templates/Constellation/Widget/PAGE/styles.js.mustache +15 -0
  202. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/Avatar.jsx.mustache +74 -0
  203. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/OneColumnPage.svg +36 -0
  204. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/Operator.jsx.mustache +240 -0
  205. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/config.json.mustache +66 -0
  206. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/demo.stories.jsx.mustache +70 -0
  207. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/index.jsx.mustache +112 -0
  208. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/mock.js.mustache +53 -0
  209. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/styles.js.mustache +15 -0
  210. package/src/tasks/create/templates/Launchpad/Field/__components.md +3 -0
  211. package/src/tasks/create/templates/Launchpad/Template/__components.md +3 -0
  212. package/src/tasks/create/templates/Launchpad/Widget/CASE/OneColumnPage.svg +36 -0
  213. package/src/tasks/create/templates/Launchpad/Widget/CASE/config.json.mustache +23 -0
  214. package/src/tasks/create/templates/Launchpad/Widget/CASE/demo.stories.jsx.mustache +81 -0
  215. package/src/tasks/create/templates/Launchpad/Widget/CASE/index.jsx.mustache +75 -0
  216. package/src/tasks/create/templates/Launchpad/Widget/CASE/mock.js.mustache +391 -0
  217. package/src/tasks/create/templates/Launchpad/Widget/CASE/styles.js.mustache +15 -0
  218. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Avatar.jsx.mustache +74 -0
  219. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/OneColumnPage.svg +36 -0
  220. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Operator.jsx.mustache +282 -0
  221. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/config.json.mustache +55 -0
  222. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/demo.stories.jsx.mustache +76 -0
  223. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/index.jsx.mustache +82 -0
  224. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/mock.js.mustache +53 -0
  225. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/styles.js.mustache +15 -0
  226. package/src/tasks/create/templates/Launchpad/Widget/__components.md +3 -0
  227. package/src/tasks/create-all/index.js +398 -0
  228. package/src/tasks/delete/helper.js +162 -55
  229. package/src/tasks/delete/index.js +11 -14
  230. package/src/tasks/delete-all/helper.js +264 -0
  231. package/src/tasks/delete-all/index.js +42 -0
  232. package/src/tasks/index.js +8 -0
  233. package/src/tasks/init/helper.js +0 -1
  234. package/src/tasks/init/index.js +24 -5
  235. package/src/tasks/init/template/.eslintignore +8 -0
  236. package/src/tasks/init/template/.eslintrc.json +191 -5
  237. package/src/tasks/init/template/.storybook/main.js +9 -3
  238. package/src/tasks/init/template/.storybook/preview.js +14 -0
  239. package/src/tasks/init/template/.vscode/extensions.json +1 -1
  240. package/src/tasks/init/template/README.md +6 -189
  241. package/src/tasks/init/template/babel.config.cjs +13 -0
  242. package/src/tasks/init/template/jest.config.cjs +21 -0
  243. package/src/tasks/init/template/keys/DX-ComponentDev.zip +0 -0
  244. package/src/tasks/init/template/keys/dxcb.crt +32 -0
  245. package/src/tasks/init/template/keys/dxcb.key +51 -0
  246. package/src/tasks/init/template/package.json.mustache +57 -26
  247. package/src/tasks/init/template/src/components/_components.md +1 -0
  248. package/src/tasks/init/template/tasks.config.json +25 -8
  249. package/src/tasks/init/template/templateNPMRC.txt +8 -0
  250. package/src/tasks/linter/index.js +46 -0
  251. package/src/tasks/list/helper.js +196 -57
  252. package/src/tasks/list/index.js +22 -3
  253. package/src/tasks/promote-webpack/index.js +126 -0
  254. package/src/tasks/promote-webpack/webpack.config.js +376 -0
  255. package/src/tasks/publish/helper.js +123 -54
  256. package/src/tasks/publish/index.js +44 -13
  257. package/src/tasks/publish-all/helper.js +213 -0
  258. package/src/tasks/publish-all/index.js +107 -0
  259. package/src/tasks/rename/index.js +344 -0
  260. package/src/tasks/revert-webpack/index.js +69 -0
  261. package/src/tasks/upgrade/index.js +1 -1
  262. package/src/tasks/validator/index.js +291 -18
  263. package/src/util.js +237 -43
  264. package/tests/assets/components/create/Pega_DXIL_MyTestText/config.json +55 -0
  265. package/tests/assets/components/create/Pega_DXIL_MyTestText/demo.stories.jsx +60 -0
  266. package/tests/assets/components/create/Pega_DXIL_MyTestText/index.jsx +61 -0
  267. package/tests/assets/components/create/Pega_DXIL_MyTestText/mock.js +15 -0
  268. package/tests/assets/components/create/Pega_DXIL_MyTestText/styles.js +15 -0
  269. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/component-constants.js +5 -0
  270. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/config.json +115 -0
  271. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/date.js +161 -0
  272. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/demo.stories.jsx +91 -0
  273. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/embed-utils.js +310 -0
  274. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/event-utils.js +18 -0
  275. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/format-constants.js +41 -0
  276. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/index.jsx +1042 -0
  277. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/mock.js +69 -0
  278. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/picklist-utils.js +88 -0
  279. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/repeat-constants.js +20 -0
  280. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/repeat-utils.js +657 -0
  281. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/styles.js +15 -0
  282. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/suggestions-handler.js +9 -0
  283. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/textformat-utils.jsx +161 -0
  284. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/utils.js +182 -0
  285. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/Boolean.js +38 -0
  286. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/boolean-format.js +27 -0
  287. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +145 -0
  288. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.jsx +65 -0
  289. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/event-utils.js +18 -0
  290. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.jsx +169 -0
  291. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.js +23 -0
  292. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/styles.js +15 -0
  293. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
  294. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +23 -0
  295. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.jsx +91 -0
  296. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.jsx +72 -0
  297. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/mock.js +391 -0
  298. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/styles.js +15 -0
  299. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +291 -0
  300. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.jsx +67 -0
  301. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/event-utils.js +18 -0
  302. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.jsx +297 -0
  303. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.js +25 -0
  304. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/styles.js +15 -0
  305. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/suggestions-handler.js +9 -0
  306. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/DateFormatter.js +62 -0
  307. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/FormattedText.jsx +42 -0
  308. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +199 -0
  309. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/date.js +439 -0
  310. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.jsx +87 -0
  311. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/index.jsx +256 -0
  312. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/mock.js +25 -0
  313. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/styles.js +15 -0
  314. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/suggestions-handler.js +9 -0
  315. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +256 -0
  316. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-time.js +93 -0
  317. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-utils.js +288 -0
  318. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/date.js +331 -0
  319. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.jsx +87 -0
  320. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.jsx +253 -0
  321. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/mock.js +25 -0
  322. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/styles.js +15 -0
  323. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/suggestions-handler.js +9 -0
  324. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +278 -0
  325. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.jsx +61 -0
  326. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/event-utils.js +18 -0
  327. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.jsx +270 -0
  328. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/mock.js +23 -0
  329. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/styles.js +15 -0
  330. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/suggestions-handler.js +9 -0
  331. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/OneColumnDetails.svg +22 -0
  332. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/StatusWork.jsx +26 -0
  333. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +35 -0
  334. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.jsx +136 -0
  335. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/index.jsx +83 -0
  336. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/mock.js +192 -0
  337. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/styles.js +15 -0
  338. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/utils.js +151 -0
  339. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +111 -0
  340. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.jsx +59 -0
  341. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/event-utils.js +18 -0
  342. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/index.jsx +232 -0
  343. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/mock.js +24 -0
  344. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/styles.js +15 -0
  345. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/suggestions-handler.js +9 -0
  346. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
  347. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +45 -0
  348. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.jsx +166 -0
  349. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/index.jsx +48 -0
  350. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/mock.js +139 -0
  351. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/styles.js +15 -0
  352. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +344 -0
  353. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.jsx +61 -0
  354. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.js +18 -0
  355. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/index.jsx +334 -0
  356. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.js +23 -0
  357. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/styles.js +15 -0
  358. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.js +9 -0
  359. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/GetNextWork.jsx +33 -0
  360. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/OneColumnPage.svg +36 -0
  361. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +32 -0
  362. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.jsx +115 -0
  363. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/index.jsx +71 -0
  364. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/localizations.json +4 -0
  365. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/mock.js +96 -0
  366. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/styles.js +15 -0
  367. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/utils.js +227 -0
  368. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.jsx +74 -0
  369. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
  370. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Operator.jsx +237 -0
  371. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +66 -0
  372. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx +81 -0
  373. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.jsx +110 -0
  374. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/mock.js +53 -0
  375. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/styles.js +15 -0
  376. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
  377. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +59 -0
  378. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.jsx +30 -0
  379. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.jsx +48 -0
  380. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/mock.js +24 -0
  381. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/styles.js +15 -0
  382. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +111 -0
  383. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.jsx +59 -0
  384. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/event-utils.js +18 -0
  385. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.jsx +230 -0
  386. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.js +22 -0
  387. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/styles.js +15 -0
  388. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/suggestions-handler.js +9 -0
  389. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +93 -0
  390. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.jsx +61 -0
  391. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.js +18 -0
  392. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.jsx +276 -0
  393. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.js +23 -0
  394. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/styles.js +15 -0
  395. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/suggestions-handler.js +9 -0
  396. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +123 -0
  397. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.jsx +59 -0
  398. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.js +18 -0
  399. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/index.jsx +266 -0
  400. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/mock.js +39 -0
  401. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/styles.js +15 -0
  402. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/suggestions-handler.js +9 -0
  403. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +114 -0
  404. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.jsx +89 -0
  405. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.js +18 -0
  406. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.jsx +353 -0
  407. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.js +69 -0
  408. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/styles.js +15 -0
  409. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/suggestions-handler.js +9 -0
  410. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/config.json +113 -0
  411. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/demo.stories.jsx +91 -0
  412. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/event-utils.js +18 -0
  413. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/index.jsx +218 -0
  414. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.js +69 -0
  415. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/styles.js +15 -0
  416. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/suggestions-handler.js +9 -0
  417. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/textformat-utils.jsx +161 -0
  418. package/{src/tasks/init/template/src/components/Organization_Library_VideoPlayer → tests/assets/components/createAll/Constellation/Pega_DXIL_MyText}/config.json +24 -13
  419. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.jsx +60 -0
  420. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/index.jsx +61 -0
  421. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/mock.js +15 -0
  422. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/styles.js +15 -0
  423. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/StatusWork.jsx +26 -0
  424. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +111 -0
  425. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.jsx +61 -0
  426. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.js +18 -0
  427. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.jsx +239 -0
  428. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/mock.js +23 -0
  429. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/styles.js +15 -0
  430. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/suggestions-handler.js +9 -0
  431. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +185 -0
  432. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.jsx +70 -0
  433. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.jsx +214 -0
  434. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.js +22 -0
  435. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/styles.js +15 -0
  436. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +9 -0
  437. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/time-of-day.js +287 -0
  438. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/StatusWork.jsx +26 -0
  439. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
  440. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +42 -0
  441. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx +139 -0
  442. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.jsx +83 -0
  443. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.js +232 -0
  444. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/styles.js +15 -0
  445. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/utils.js +151 -0
  446. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
  447. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +27 -0
  448. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.jsx +175 -0
  449. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.jsx +48 -0
  450. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/mock.js +145 -0
  451. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/styles.js +15 -0
  452. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +237 -0
  453. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.jsx +59 -0
  454. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/event-utils.js +18 -0
  455. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/index.jsx +232 -0
  456. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/mock.js +24 -0
  457. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/styles.js +15 -0
  458. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.js +9 -0
  459. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/text-url.jsx +175 -0
  460. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/component-constants.js +5 -0
  461. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/config.json +115 -0
  462. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/date.js +161 -0
  463. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/demo.stories.jsx +89 -0
  464. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/embed-utils.js +310 -0
  465. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/event-utils.js +18 -0
  466. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/format-constants.js +41 -0
  467. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/index.jsx +1042 -0
  468. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/mock.js +69 -0
  469. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/picklist-utils.js +88 -0
  470. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/repeat-constants.js +20 -0
  471. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/repeat-utils.js +657 -0
  472. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/styles.js +15 -0
  473. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/suggestions-handler.js +9 -0
  474. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/textformat-utils.jsx +161 -0
  475. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/utils.js +182 -0
  476. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/Boolean.js +38 -0
  477. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/boolean-format.js +27 -0
  478. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/config.json +145 -0
  479. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.jsx +65 -0
  480. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.js +18 -0
  481. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.jsx +169 -0
  482. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/mock.js +23 -0
  483. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/styles.js +15 -0
  484. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
  485. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/config.json +23 -0
  486. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.jsx +89 -0
  487. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.jsx +72 -0
  488. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/mock.js +391 -0
  489. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/styles.js +15 -0
  490. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/config.json +291 -0
  491. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.jsx +66 -0
  492. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/event-utils.js +18 -0
  493. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.jsx +297 -0
  494. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.js +25 -0
  495. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/styles.js +15 -0
  496. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/suggestions-handler.js +9 -0
  497. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/DateFormatter.js +62 -0
  498. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/FormattedText.jsx +42 -0
  499. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/config.json +199 -0
  500. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/date.js +439 -0
  501. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.jsx +87 -0
  502. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/index.jsx +256 -0
  503. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.js +25 -0
  504. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/styles.js +15 -0
  505. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/suggestions-handler.js +9 -0
  506. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/config.json +256 -0
  507. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-time.js +93 -0
  508. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-utils.js +288 -0
  509. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date.js +331 -0
  510. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.jsx +87 -0
  511. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.jsx +253 -0
  512. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/mock.js +25 -0
  513. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/styles.js +15 -0
  514. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.js +9 -0
  515. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/config.json +278 -0
  516. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.jsx +60 -0
  517. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/event-utils.js +18 -0
  518. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.jsx +270 -0
  519. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.js +23 -0
  520. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/styles.js +15 -0
  521. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/suggestions-handler.js +9 -0
  522. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/OneColumnDetails.svg +22 -0
  523. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/StatusWork.jsx +26 -0
  524. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/config.json +35 -0
  525. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.jsx +137 -0
  526. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.jsx +83 -0
  527. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/mock.js +192 -0
  528. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/styles.js +15 -0
  529. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/utils.js +151 -0
  530. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/config.json +111 -0
  531. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.jsx +59 -0
  532. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/event-utils.js +18 -0
  533. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.jsx +232 -0
  534. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.js +24 -0
  535. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/styles.js +15 -0
  536. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/suggestions-handler.js +9 -0
  537. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
  538. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/config.json +45 -0
  539. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/demo.stories.jsx +171 -0
  540. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/index.jsx +48 -0
  541. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/mock.js +139 -0
  542. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/styles.js +15 -0
  543. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/config.json +344 -0
  544. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.jsx +60 -0
  545. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/event-utils.js +18 -0
  546. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.jsx +334 -0
  547. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/mock.js +23 -0
  548. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/styles.js +15 -0
  549. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.js +9 -0
  550. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/GetNextWork.jsx +33 -0
  551. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/OneColumnPage.svg +36 -0
  552. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/config.json +32 -0
  553. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.jsx +114 -0
  554. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/index.jsx +71 -0
  555. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/localizations.json +4 -0
  556. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/mock.js +96 -0
  557. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/styles.js +15 -0
  558. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/utils.js +227 -0
  559. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Avatar.jsx +74 -0
  560. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
  561. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Operator.jsx +279 -0
  562. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/config.json +55 -0
  563. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.jsx +85 -0
  564. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.jsx +80 -0
  565. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/mock.js +53 -0
  566. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/styles.js +15 -0
  567. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
  568. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/config.json +59 -0
  569. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.jsx +28 -0
  570. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.jsx +48 -0
  571. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/mock.js +24 -0
  572. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/styles.js +15 -0
  573. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/config.json +111 -0
  574. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.jsx +59 -0
  575. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/event-utils.js +18 -0
  576. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.jsx +230 -0
  577. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/mock.js +22 -0
  578. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/styles.js +15 -0
  579. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/suggestions-handler.js +9 -0
  580. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/config.json +93 -0
  581. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.jsx +60 -0
  582. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/event-utils.js +18 -0
  583. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.jsx +276 -0
  584. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/mock.js +23 -0
  585. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/styles.js +15 -0
  586. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/suggestions-handler.js +9 -0
  587. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/config.json +123 -0
  588. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.jsx +58 -0
  589. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/event-utils.js +18 -0
  590. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.jsx +266 -0
  591. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/mock.js +39 -0
  592. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/styles.js +15 -0
  593. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/suggestions-handler.js +9 -0
  594. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/config.json +114 -0
  595. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.jsx +89 -0
  596. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.js +18 -0
  597. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.jsx +353 -0
  598. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.js +69 -0
  599. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/styles.js +15 -0
  600. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/suggestions-handler.js +9 -0
  601. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/config.json +113 -0
  602. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.jsx +89 -0
  603. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/event-utils.js +18 -0
  604. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/index.jsx +218 -0
  605. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.js +69 -0
  606. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/styles.js +15 -0
  607. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/suggestions-handler.js +9 -0
  608. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/textformat-utils.jsx +161 -0
  609. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/config.json +55 -0
  610. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.jsx +60 -0
  611. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/index.jsx +61 -0
  612. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/mock.js +15 -0
  613. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/styles.js +15 -0
  614. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/StatusWork.jsx +26 -0
  615. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/config.json +111 -0
  616. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.jsx +59 -0
  617. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/event-utils.js +18 -0
  618. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.jsx +239 -0
  619. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/mock.js +23 -0
  620. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/styles.js +15 -0
  621. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/suggestions-handler.js +9 -0
  622. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/config.json +185 -0
  623. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.jsx +69 -0
  624. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.jsx +214 -0
  625. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/mock.js +22 -0
  626. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/styles.js +15 -0
  627. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +9 -0
  628. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/time-of-day.js +287 -0
  629. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/StatusWork.jsx +26 -0
  630. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
  631. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/config.json +42 -0
  632. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx +140 -0
  633. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.jsx +83 -0
  634. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/mock.js +232 -0
  635. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/styles.js +15 -0
  636. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/utils.js +151 -0
  637. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
  638. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/config.json +27 -0
  639. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/demo.stories.jsx +180 -0
  640. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.jsx +48 -0
  641. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/mock.js +145 -0
  642. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/styles.js +15 -0
  643. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/config.json +237 -0
  644. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.jsx +58 -0
  645. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/event-utils.js +18 -0
  646. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/index.jsx +232 -0
  647. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.js +24 -0
  648. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/styles.js +15 -0
  649. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.js +9 -0
  650. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/text-url.jsx +175 -0
  651. package/tests/functional/localCreateAllListDeleteAll.test.js +163 -0
  652. package/tests/functional/localCreateBuildAllDeleteAll.test.js +157 -0
  653. package/tests/functional/localCreateBuildDelete.test.js +84 -0
  654. package/tests/functional/localCreateListDelete.test.js +108 -0
  655. package/tests/functional/localCreatePublishAllDeleteAll.test.js +157 -0
  656. package/tests/functional/localCreatePublishDelete.test.js +85 -0
  657. package/tests/functional/localCreateRenameDelete.test.js +84 -0
  658. package/tests/functional/localPromoteRevertWP.test.js +59 -0
  659. package/tests/unit/util.test.js +544 -0
  660. package/src/tasks/create/template/demo.stories.jsx.mustache +0 -44
  661. package/src/tasks/create/template/styles.js.mustache +0 -7
  662. package/src/tasks/init/template/.storybook/preview.tsx +0 -44
  663. package/src/tasks/init/template/src/components/MBTAList/MBTAList.stories.tsx +0 -10
  664. package/src/tasks/init/template/src/components/MBTAList/MBTAList.tsx +0 -122
  665. package/src/tasks/init/template/src/components/MBTAList/icons/accessible.icon.tsx +0 -14
  666. package/src/tasks/init/template/src/components/MBTAList/icons/bus.icon.tsx +0 -13
  667. package/src/tasks/init/template/src/components/MBTAList/icons/mbta.icon.tsx +0 -10
  668. package/src/tasks/init/template/src/components/MBTAList/icons/subway.icon.tsx +0 -14
  669. package/src/tasks/init/template/src/components/MBTAList/index.ts +0 -2
  670. package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURL.stories.tsx +0 -19
  671. package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURL.styles.ts +0 -5
  672. package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURL.types.ts +0 -10
  673. package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURLDisplay.tsx +0 -25
  674. package/src/tasks/init/template/src/components/Organization_Library_MediaURL/MediaURLInput.tsx +0 -24
  675. package/src/tasks/init/template/src/components/Organization_Library_MediaURL/config.json +0 -13
  676. package/src/tasks/init/template/src/components/Organization_Library_MediaURL/index.ts +0 -2
  677. package/src/tasks/init/template/src/components/Organization_Library_VideoPlayer/demo.stories.jsx +0 -40
  678. package/src/tasks/init/template/src/components/Organization_Library_VideoPlayer/index.jsx +0 -42
  679. package/src/tasks/init/template/src/components/Organization_Library_VideoPlayer/styles.js +0 -5
  680. /package/src/tasks/{publish/bundle → bundle}/builder/modules.js +0 -0
  681. /package/src/tasks/{publish/bundle → bundle}/builder/paths.js +0 -0
@@ -8,197 +8,14 @@ This project provides you with an environment to extend Constellation by giving
8
8
 
9
9
  Ensure you have access to the following in your system:
10
10
 
11
- - Pega Infinity Server version 8.7 and above
11
+ - Pega Infinity Server version 8.7 or later
12
12
 
13
- - Git version 2.30 and above
13
+ - Git version 2.30 or later
14
14
 
15
- - System node version 14 and above
15
+ - System node version 18
16
16
 
17
- - System npm version 6 and above
17
+ - System npm version 8
18
18
 
19
- ## Initialize a project
19
+ ## Latest Documentation
20
20
 
21
- Initialize the project by performing the following procedure in a terminal:
22
-
23
- 1. Enter the following command to initialize the project.
24
- `npx @pega/custom-dx-components init`
25
-
26
- 2. If prompted, enter `y` to install the Custom UI Components package.
27
- You will then be asked to set up the project by entering the required details.
28
-
29
- 3. Enter the following details:
30
- - Name of the project (required)
31
- Example - `mycustomcomponents`
32
- - Name of the organization (required)
33
- Example - `customorg`
34
- - Version (required)
35
- Example - `1.0.0`
36
- - Description of the project (optional)
37
- Example - `This project is intended to create and publish a custom component.`
38
- - Git repository URL (optional)
39
- Example - `https://git.custom-components.io/custom-cc.git`
40
- - Author (optional)
41
- Example - `Michelle`
42
-
43
- The workspace is now set up to create custom components and publish them to the server.
44
-
45
- ## Create custom components
46
-
47
- Create custom components using the following procedure:
48
-
49
- 1. Enter the following command to create a component:
50
- `npm run create`
51
- You will then be asked to enter or review the following details of the component:
52
- - Name of the component (required)
53
- Example - `customcomp0`
54
- - Name of component label (required)
55
- Example - `custom component`
56
- - Name of the library (required)
57
- Example - `basic`
58
- - Component version (required)
59
- Example - `0.0.1`
60
- - Type of component (required)
61
- Example - `Field`
62
- - Sub-type of component (required)
63
- Example - `Text`
64
- - Description of the component (optional)
65
- Example - `This is a customized searchbox that filters data.`
66
- The component is created in the following path: _/Users/your_user_name/project_name/src/components/component_name_
67
- You can also pre-configure the values for the above options in a tasks.config.json file as shown below.
68
-
69
- ```json
70
- {
71
- "component": {
72
- "library": "basic",
73
- "type": "field",
74
- "subtype": "text",
75
- "description": "basic field for capturing textual data",
76
- "icon": "basic-field-text.svg"
77
- }
78
- }
79
- ```
80
- >**Note**:
81
- Alternatively, you can enter the following command to skip entering the details of the component now and can manually enter the details in the config.json file after the component is created:
82
- `npm run create <enter_component_name>`
83
-
84
- A _src/components_ folder is created and the necessary files required to build the component are initialized as seen below.
85
-
86
- ```sh
87
- ├── src
88
-    ├── components
89
- ├── <component_name>
90
- ├── index.js
91
- ├── demo.stories.js
92
- ├── config.json
93
- ```
94
-
95
-
96
- The *index.js* file contains the actual component rendering logic.
97
- The *demo.stories.js* file contains the demo that can be viewed in the storybook.
98
- The *config.json* file contains the mapping of properties for configuring the auto generated property panel. This property panel appears in AppStudio when an application is being authored to use the custom component.
99
-
100
-
101
- 2. Enter the following command to start the storybook to view the demo.
102
- `npm start`
103
-
104
- 3. Modify the source files to build your own component. You can also install and import third-party libraries if required for your component.
105
-
106
- The custom component is now created. We use the information provided to create uniquely namespaced components in this convention - `<organization>_<library>_<component name>`.
107
-
108
- ## Authenticate the user
109
- Before we publish the custom component to the Pega Infinity Server, authenticate the user to access the resources in the Pega Infinity Server.
110
-
111
- >**Note**:
112
- It is required that you configure a value for clientId, clientSecret, and accessTokenUri.
113
- 1. Login to Pega Infinity Server, navigate to Records / Security / OAuth 2.0 Client Registration landing page and open the *DX-CustomComponents* record.
114
- 2. Click **Regenerate Client Secret**, download the Client Credentials (as the Client ID, Client Secret, and Access token endpoint will be needed), and save the record.
115
- 3. Update the the task.config.json file with these downloaded values:
116
- ```json
117
- "server-config": {
118
- "server": "https://127.0.0.1:8080/prweb",
119
- "user": "customcomponentoperator",
120
- "password": "pwd",
121
- "clientId": "<mention client ID here>",
122
- "clientSecret": "<mention client secret here>",
123
- "accessTokenUri": "https://127.0.0.1:8080/prweb/PRRestService/oauth2/v1/token"
124
- },
125
- ```
126
- 4. Enter the following command to initiate authentication.
127
- `npm run authenticate`
128
-
129
- The user is now authenticated and can proceed to either publish or list the components.
130
-
131
- ## Publish custom components
132
- Enter the following command to publish custom components to Pega Infinity Server:
133
- `npm run publish`
134
- Publish the finalized custom components changes to Pega Infinity Server so that it can be discoverable in authoring (design palette).
135
- You will then be asked to enter the following details:
136
-
137
- - The component to be published to Pega Infinity Server. It will be updated if the component exists.
138
- - The name of the ruleset where the component must be published.
139
- - The version of the ruleset where the component must be published.
140
- - Specify if the development build should be generated for debugging.
141
- You can also pre-configure the values for the above options in a tasks.config.json file as shown below. The server, user name, and password must be pre-configured.
142
-
143
- ```json
144
- {
145
- "components-server-config": {
146
- "server": "http://127.0.0.1:8080/prweb",
147
- "user": "customcomponentoperator",
148
- "password": "pwd"
149
- "rulesetName": "TestPega-C11nGall",
150
- "rulesetVersion": "01-01-03",
151
- "sourceOfComponents": "Server",
152
- "devBuild": false,
153
- }
154
- }
155
- ```
156
- When the component is successfully published, you can use the newly published component in App Studio's view authoring.
157
-
158
-
159
- >**Note**:
160
- The Rule-UI-Component instance (with component name) is created on the Pega Infinity Server after publishing the component.
161
-
162
- ## List custom components
163
- View the available components in the local machine or the server.
164
-
165
- Enter the following command to list custom components:
166
- `npm run list`
167
-
168
- You will then be asked to enter the following details:
169
-
170
- - List components from Server or Local?
171
- Example - `Server`
172
-
173
- The custom components will now be listed in the terminal.
174
-
175
- ## Delete custom components
176
- Delete the available or published components in the local machine or the server.
177
-
178
- Enter the following command to delete custom components:
179
- `npm run delete`
180
-
181
- You will then be asked to enter the following details:
182
-
183
- - Delete components from Server or Local?
184
- Example - `Local`
185
-
186
- - Select component to delete
187
- The list of available components in the following path will be displayed: _/Users/your_user_name/project_name/src/components
188
- Select the component to be deleted from this list.
189
-
190
- - Are you sure?
191
- Example - `yes`
192
-
193
- >**Note**:
194
- If you choose to delete components from the server, the successfully published components along with their ruleset name and ruleset version from the Pega Infinity Server will be displayed. Select the component to be deleted from this list.
195
-
196
- ## View existing custom components in storybook
197
- View custom components in a storybook by performing the following procedure:
198
- 1. Enter the following command to open the project.
199
- `cd <enter your project's name>`
200
-
201
- 2. Enter the following command to start the storybook in development mode.
202
- `npm start`
203
-
204
- The storybook is launched in a browser where you can view the components working in isolation.
21
+ Find the latest documentation on using **DX Component Builder** [here](https://docs.pega.com/bundle/constellation-dx-components-88/page/constellation-dx-components/custom-components/lifecycle-dx-cosmos-components.html)
@@ -0,0 +1,13 @@
1
+ module.exports = {
2
+ presets: [
3
+ [
4
+ '@babel/preset-env',
5
+ {
6
+ targets: {
7
+ node: 'current'
8
+ }
9
+ }
10
+ ]
11
+ ],
12
+ sourceType: 'unambiguous'
13
+ };
@@ -0,0 +1,21 @@
1
+ module.exports = {
2
+ verbose: true,
3
+ moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
4
+ transform: {
5
+ '^.+\\.[t|j]sx?$': 'babel-jest'
6
+ },
7
+ collectCoverage: true,
8
+ testPathIgnorePatterns: [],
9
+ transformIgnorePatterns: [],
10
+ modulePathIgnorePatterns: [],
11
+ coveragePathIgnorePatterns: [],
12
+ collectCoverageFrom: ['./node_modules/@pega/custom-dx-components/src/*.js'],
13
+ coverageThreshold: {
14
+ global: {
15
+ statements: 79,
16
+ branches: 74,
17
+ functions: 81,
18
+ lines: 80
19
+ }
20
+ }
21
+ };
@@ -0,0 +1,32 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIFezCCA2OgAwIBAgIJAKvPeOFKh/IbMA0GCSqGSIb3DQEBCwUAMHAxCzAJBgNV
3
+ BAYTAlVTMRYwFAYDVQQIDA1NYXNzYWNodXNldHRzMRAwDgYDVQQHDAdXYWx0aGFt
4
+ MRQwEgYDVQQKDAtQZWdhc3lzdGVtczENMAsGA1UECw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
5
  "organization": "{{organization}}",
6
6
  "main": "src/index.js",
7
+ "type": "module",
7
8
  "scripts": {
8
- "start": "start-storybook --port 6040 --quiet",
9
- "build": "tsc -b tsconfig.build.json",
9
+ "startStorybook": "storybook dev --port 6040 --quiet",
10
10
  "lint": "run-p -cl lint:*",
11
- "fix": "run-p -cl fix:*",
12
11
  "authenticate": "custom-dx-components authenticate",
12
+ "buildComponent": "custom-dx-components buildComponent",
13
+ "buildAllComponents": "custom-dx-components buildAllComponents",
13
14
  "create": "custom-dx-components create",
15
+ "createAll": "custom-dx-components createAll",
14
16
  "publish": "custom-dx-components publish",
17
+ "publishAll": "custom-dx-components publishAll",
18
+ "rename": "custom-dx-components rename",
15
19
  "list": "custom-dx-components list",
16
20
  "validate-schema": "custom-dx-components validateSchema",
17
21
  "update": "custom-dx-components update",
18
22
  "delete": "custom-dx-components delete",
23
+ "deleteAll": "custom-dx-components deleteAll",
24
+ "promoteWebPack": "custom-dx-components promoteWebPack",
25
+ "revertWebPack": "custom-dx-components revertWebPack",
19
26
  "lint:types": "tsc --noEmit",
20
27
  "lint:es": "eslint .",
21
28
  "lint:styles": "stylelint \"./**/*.@(js|jsx|ts|tsx)\"",
22
29
  "lint:format": "prettier -c .",
23
30
  "lint:spelling": "cspell --no-progress **/*",
31
+ "test": "echo 'Running functional and unit tests will DELETE existing local components, proceed (y/n)?' && read proceed && if test \"$proceed\" = \"y\"; then npm run test:full; fi ",
32
+ "test:full": "npm run test:functional && npm run test:unit",
33
+ "test:functional": "npm run test:functional:local --prefix node_modules/@pega/custom-dx-components",
34
+ "test-coverage": "node --input-type=module --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand node_modules/@pega/custom-dx-component --ci --testResultsProcessor='jest-junit' --coverage",
35
+ "test:unit": "npm run test:unit:local --prefix node_modules/@pega/custom-dx-components"
36
+ },
37
+ "scriptsComments": {
38
+ "build": "tsc -b tsconfig.build.json",
39
+ "fix": "run-p -cl fix:*",
24
40
  "fix:es": "eslint --fix .",
25
41
  "fix:format": "prettier -w ."
26
42
  },
@@ -35,35 +51,50 @@
35
51
  "license": "Enter License",
36
52
  "sideEffects": false,
37
53
  "dependencies": {
38
- "@pega/cosmos-react-core": "^3.0.0-dev.3.0",
39
- "polished": "^4.1.4",
54
+ "@pega/cosmos-react-condition-builder": "^4.1.2",
55
+ "@pega/cosmos-react-core": "^4.1.2",
56
+ "@pega/cosmos-react-work": "4.1.2",
57
+ "dayjs": "^1.11.10",
58
+ "lodash.get": "^4.4.2",
59
+ "polished": "^4.2.2",
60
+ "prop-types": "^15.8.1",
40
61
  "react": "^17.0.2",
41
- "react-autosuggest": "^10.1.0",
42
62
  "react-dom": "^17.0.2",
43
- "react-player": "^2.9.0",
44
- "styled-components": "^5.3.3",
45
- "prop-types": "^15.8.1",
46
- "@storybook/addon-knobs": "^6.3.1"
63
+ "react-is": "^18.2.0",
64
+ "styled-components": "^5.3.5"
47
65
  },
48
66
  "devDependencies": {
49
- "@pega/configs": "^0.3.2",
50
- "@pega/custom-dx-components": "^0.0.1",
51
- "@storybook/addon-actions": "^6.4.19",
52
- "@storybook/addon-essentials": "^6.4.19",
53
- "@storybook/addon-links": "^6.4.19",
54
- "@storybook/addon-storysource": "^6.4.19",
55
- "@storybook/builder-webpack5": "^6.4.19",
56
- "@storybook/manager-webpack5": "^6.4.19",
57
- "@storybook/react": "^6.4.19",
58
- "@types/emoji-mart": "^3.0.9",
67
+ "@pega/configs": "^0.7.1",
68
+ "@pega/custom-dx-components": "0.1.10",
69
+ "@storybook/addon-actions": "^7.6.7",
70
+ "@storybook/addon-essentials": "^7.6.7",
71
+ "@storybook/addon-knobs": "^7.0.2",
72
+ "@storybook/addon-links": "^7.6.7",
73
+ "@storybook/addon-storysource": "^7.6.7",
74
+ "@storybook/react": "^7.6.7",
75
+ "@storybook/react-webpack5": "^7.6.7",
76
+ "@types/emoji-mart": "^3.0.14",
59
77
  "@types/react": "^17.0.39",
60
- "@types/react-color": "^3.0.6",
78
+ "@types/react-color": "^3.0.11",
61
79
  "@types/react-dom": "^17.0.11",
62
- "@types/styled-components": "^5.1.22",
63
- "eslint": "^8.9.0",
80
+ "@types/styled-components": "^5.1.34",
81
+ "@typescript-eslint/eslint-plugin": "^6.17.0",
82
+ "eslint": "^8.56.0",
83
+ "eslint-plugin-import": "^2.29.1",
84
+ "eslint-plugin-jest": "^27.6.1",
85
+ "eslint-plugin-jsx-a11y": "^6.8.0",
86
+ "eslint-plugin-mdx": "^2.3.2",
87
+ "eslint-plugin-prettier": "^5.1.2",
88
+ "eslint-plugin-react": "^7.33.2",
89
+ "eslint-plugin-react-hooks": "^4.6.0",
90
+ "eslint-plugin-sonarjs": "^0.23.0",
91
+ "eslint-plugin-storybook": "^0.6.15",
92
+ "jest": "^29.7.0",
93
+ "jest-environment-jsdom": "^29.7.0",
64
94
  "npm-run-all": "^4.1.5",
65
- "prettier": "2.5.1",
66
- "stylelint": "^14.5.1",
67
- "typescript": "~4.5.5"
95
+ "prettier": "3.1.1",
96
+ "storybook": "^7.6.7",
97
+ "stylelint": "^14.11.0",
98
+ "typescript": "~5.3.3"
68
99
  }
69
100
  }
@@ -0,0 +1 @@
1
+ # directory for components #
@@ -1,19 +1,36 @@
1
1
  {
2
2
  "components-directory-path": "src/components",
3
3
  "server-config": {
4
- "server": "https://localhost:38764/prweb",
5
- "user": "user",
6
- "password": "password",
7
- "rulesetName": "rulesetName",
8
- "rulesetVersion": "rulesetVersion",
4
+ "rulesetName": "CustomDXComponents",
5
+ "rulesetVersion": "01-01-01",
9
6
  "sourceOfComponents": "Server",
10
7
  "devBuild": false,
11
- "clientId": "",
12
- "clientSecret": ""
8
+ "serverType": "infinity",
9
+ "server": "https://localhost:1080/prweb",
10
+ "clientId": "10095186356008396159",
11
+ "clientSecret_comment": "Needed only when using 'passwordCreds' or 'clientCreds' grantType",
12
+ "clientSecret": "",
13
+ "grantType": "authCode",
14
+ "redirectUri": "https://localhost:4010/",
15
+ "authService_comment": "Infinity authentication service alias (when grantType is set to 'authCode')",
16
+ "authService": "pega",
17
+ "cert_and_key_comment": "Path to SSL certificate file and SSL key file to use when starting local HTTPS server",
18
+ "cert_and_key_comment2": "Needed only when using 'authCode' grantType and redirectUri begins with 'https://localhost'",
19
+ "cert": "./keys/dxcb.crt",
20
+ "key": "./keys/dxcb.key",
21
+ "user_and_password_comment": "useful primarily when grantType is set to 'passwordCreds'",
22
+ "user": "",
23
+ "password": "",
24
+ "questions_comment": "useful for designating how frequently questions should be asked during npm run authenticate",
25
+ "questions_askAlways": "",
26
+ "questions_askNever": "",
27
+ "questions_askOnce": "server,authService",
28
+ "questions_askedOnce": ""
13
29
  },
14
30
  "component": {
15
- "library": "",
31
+ "library": "Extensions",
16
32
  "type": "",
33
+ "version": "1.0.0",
17
34
  "subtype": "",
18
35
  "description": "",
19
36
  "icon": ""
@@ -0,0 +1,8 @@
1
+ # Use default npmjs registry for the SDKs
2
+ registry = https://registry.npmjs.org/
3
+ # For now, turn off npm auto-install of peer dependencies to get rid of warnings
4
+ legacy-peer-deps=true
5
+ # Turn off messages such as > react-sdk@0.1.0 list and > dx-component-builder-sdk list
6
+ loglevel=silent
7
+ #
8
+ #
@@ -0,0 +1,46 @@
1
+ import { ESLint } from 'eslint';
2
+ import chalk from 'chalk';
3
+
4
+ export const lintComponent = async (dirToLint) => {
5
+ // console.log("in dx-component-builder-sdk: lintComponent - dirToLint: " + dirToLint);
6
+ console.log(chalk.green(` linting ${dirToLint}`));
7
+
8
+ // 1. Create an instance.
9
+ const eslint = new ESLint();
10
+
11
+ // 2. Lint files.
12
+ const results = await eslint.lintFiles([dirToLint]);
13
+
14
+ // 3. Format the results.
15
+ const formatter = await eslint.loadFormatter("stylish");
16
+ const resultText = formatter.format(results);
17
+
18
+ // 4. Output it.
19
+ // console.log(`lint resultText: ${resultText}`);
20
+ console.log(resultText);
21
+
22
+ // Indicate linting is complete
23
+ console.log(chalk.green(` linting complete...`));
24
+ };
25
+
26
+ // inpsired by https://eslint.org/docs/latest/developer-guide/nodejs-api
27
+
28
+ // (async function main() {
29
+ // // 1. Create an instance.
30
+ // const eslint = new ESLint();
31
+
32
+ // // 2. Lint files.
33
+ // const results = await eslint.lintFiles(["lib/**/*.js"]);
34
+
35
+ // // 3. Format the results.
36
+ // const formatter = await eslint.loadFormatter("stylish");
37
+ // const resultText = formatter.format(results);
38
+
39
+ // // 4. Output it.
40
+ // console.log(resultText);
41
+ // })().catch((error) => {
42
+ // process.exitCode = 1;
43
+ // console.error(error);
44
+ // });
45
+
46
+ export default lintComponent;