@pega/custom-dx-components 0.24.17 → 0.25.2

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 (1154) hide show
  1. package/README.md +3 -1
  2. package/package.json +9 -5
  3. package/src/cli.js +135 -3
  4. package/src/constants.js +24 -1
  5. package/src/tasks/authenticate/index.js +13 -2
  6. package/src/tasks/build-all/helper.js +29 -42
  7. package/src/tasks/build-all/index.js +57 -10
  8. package/src/tasks/build-comp/helper.js +54 -19
  9. package/src/tasks/build-comp/index.js +33 -3
  10. package/src/tasks/build-jest-assets/index.js +94 -10
  11. package/src/tasks/build-lib/helper.js +46 -0
  12. package/src/tasks/build-lib/index.js +177 -0
  13. package/src/tasks/bundle/builder/index.js +45 -28
  14. package/src/tasks/bundle/builder/webpack.config.js +3 -1
  15. package/src/tasks/bundle/index.js +6 -3
  16. package/src/tasks/create/index.js +91 -20
  17. package/src/tasks/create/templates/Constellation/Field/Boolean/config.json.mustache +5 -2
  18. package/src/tasks/create/templates/Constellation/Field/Boolean/demo.stories.tsx.mustache +2 -3
  19. package/src/tasks/create/templates/Constellation/Field/Boolean/index.tsx.mustache +0 -1
  20. package/src/tasks/create/templates/Constellation/Field/Boolean/mock.ts.mustache +0 -1
  21. package/src/tasks/create/templates/Constellation/Field/Date/config.json.mustache +4 -1
  22. package/src/tasks/create/templates/Constellation/Field/Date/index.tsx.mustache +3 -5
  23. package/src/tasks/create/templates/Constellation/Field/DateTime/config.json.mustache +4 -1
  24. package/src/tasks/create/templates/Constellation/Field/DateTime/demo.stories.tsx.mustache +1 -2
  25. package/src/tasks/create/templates/Constellation/Field/Decimal/config.json.mustache +4 -1
  26. package/src/tasks/create/templates/Constellation/Field/Decimal/demo.stories.tsx.mustache +1 -2
  27. package/src/tasks/create/templates/Constellation/Field/Decimal/event-utils.ts.mustache +1 -1
  28. package/src/tasks/create/templates/Constellation/Field/Decimal/index.tsx.mustache +1 -4
  29. package/src/tasks/create/templates/Constellation/Field/Decimal/mock.ts.mustache +0 -1
  30. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/config.json.mustache +4 -1
  31. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/demo.stories.tsx.mustache +1 -2
  32. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/event-utils.ts.mustache +1 -1
  33. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/index.tsx.mustache +0 -2
  34. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.ts.mustache +0 -2
  35. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/config.json.mustache +4 -1
  36. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/demo.stories.tsx.mustache +1 -2
  37. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/event-utils.ts.mustache +1 -1
  38. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/index.tsx.mustache +1 -4
  39. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/mock.ts.mustache +2 -3
  40. package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/config.json.mustache +4 -1
  41. package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/demo.stories.tsx.mustache +5 -5
  42. package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/index.tsx.mustache +0 -1
  43. package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/mock.ts.mustache +0 -1
  44. package/src/tasks/create/templates/Constellation/Field/Integer/config.json.mustache +4 -1
  45. package/src/tasks/create/templates/Constellation/Field/Integer/demo.stories.tsx.mustache +1 -2
  46. package/src/tasks/create/templates/Constellation/Field/Integer/event-utils.ts.mustache +1 -1
  47. package/src/tasks/create/templates/Constellation/Field/Integer/index.tsx.mustache +2 -12
  48. package/src/tasks/create/templates/Constellation/Field/Integer/mock.ts.mustache +3 -2
  49. package/src/tasks/create/templates/Constellation/Field/Picklist/config.json.mustache +4 -1
  50. package/src/tasks/create/templates/Constellation/Field/Picklist/demo.stories.tsx.mustache +4 -6
  51. package/src/tasks/create/templates/Constellation/Field/Picklist/index.tsx.mustache +7 -14
  52. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/config.json.mustache +4 -1
  53. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/demo.stories.tsx.mustache +4 -6
  54. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/embed-utils.ts.mustache +26 -23
  55. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/index.tsx.mustache +17 -52
  56. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/mock.ts.mustache +0 -1
  57. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/utils.ts.mustache +1 -1
  58. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/config.json.mustache +4 -1
  59. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/demo.stories.tsx.mustache +4 -6
  60. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache +1 -6
  61. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/mock.ts.mustache +0 -2
  62. package/src/tasks/create/templates/Constellation/Field/Text/config.json.mustache +6 -3
  63. package/src/tasks/create/templates/Constellation/Field/Text/demo.stories.tsx.mustache +2 -3
  64. package/src/tasks/create/templates/Constellation/Field/Text/mock.ts.mustache +0 -1
  65. package/src/tasks/create/templates/Constellation/Field/Text-Email/config.json.mustache +4 -1
  66. package/src/tasks/create/templates/Constellation/Field/Text-Email/demo.stories.tsx.mustache +1 -2
  67. package/src/tasks/create/templates/Constellation/Field/Text-Email/index.tsx.mustache +0 -2
  68. package/src/tasks/create/templates/Constellation/Field/Text-Email/mock.ts.mustache +2 -2
  69. package/src/tasks/create/templates/Constellation/Field/Text-Input/config.json.mustache +4 -1
  70. package/src/tasks/create/templates/Constellation/Field/Text-Input/demo.stories.tsx.mustache +1 -2
  71. package/src/tasks/create/templates/Constellation/Field/Text-Input/mock.ts.mustache +0 -1
  72. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/config.json.mustache +4 -1
  73. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/demo.stories.tsx.mustache +1 -2
  74. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/index.tsx.mustache +0 -2
  75. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/mock.ts.mustache +0 -2
  76. package/src/tasks/create/templates/Constellation/Field/Text-Phone/config.json.mustache +4 -1
  77. package/src/tasks/create/templates/Constellation/Field/Text-Phone/demo.stories.tsx.mustache +1 -3
  78. package/src/tasks/create/templates/Constellation/Field/Text-Phone/event-utils.ts.mustache +1 -1
  79. package/src/tasks/create/templates/Constellation/Field/Text-Phone/index.tsx.mustache +2 -6
  80. package/src/tasks/create/templates/Constellation/Field/Text-Phone/mock.ts.mustache +0 -2
  81. package/src/tasks/create/templates/Constellation/Field/Text-URL/config.json.mustache +4 -1
  82. package/src/tasks/create/templates/Constellation/Field/Text-URL/demo.stories.tsx.mustache +1 -3
  83. package/src/tasks/create/templates/Constellation/Field/Text-URL/index.tsx.mustache +0 -2
  84. package/src/tasks/create/templates/Constellation/Field/Text-URL/mock.ts.mustache +0 -2
  85. package/src/tasks/create/templates/Constellation/Field/Text-URL/text-url.tsx.mustache +13 -8
  86. package/src/tasks/create/templates/Constellation/Field/TimeofDay/config.json.mustache +4 -1
  87. package/src/tasks/create/templates/Constellation/Field/TimeofDay/demo.stories.tsx.mustache +1 -2
  88. package/src/tasks/create/templates/Constellation/Field/TimeofDay/mock.ts.mustache +0 -2
  89. package/src/tasks/create/templates/Constellation/Template/DETAILS/Avatar.tsx.mustache +5 -7
  90. package/src/tasks/create/templates/Constellation/Template/DETAILS/DetailsRender.tsx.mustache +1 -1
  91. package/src/tasks/create/templates/Constellation/Template/DETAILS/HighlightRender.tsx.mustache +1 -1
  92. package/src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.tsx.mustache +12 -10
  93. package/src/tasks/create/templates/Constellation/Template/DETAILS/index.tsx.mustache +3 -2
  94. package/src/tasks/create/templates/Constellation/Template/DETAILS/mock.ts.mustache +0 -2
  95. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/Avatar.tsx.mustache +3 -5
  96. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/DetailsRender.tsx.mustache +1 -1
  97. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/HighlightRender.tsx.mustache +1 -1
  98. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/demo.stories.tsx.mustache +15 -14
  99. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/index.tsx.mustache +4 -7
  100. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/mock.ts.mustache +1 -3
  101. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/utils.ts.mustache +4 -8
  102. package/src/tasks/create/templates/Constellation/Template/FORM/DetailsRender.tsx.mustache +59 -0
  103. package/src/tasks/create/templates/Constellation/Template/FORM/demo.stories.tsx.mustache +76 -10
  104. package/src/tasks/create/templates/Constellation/Template/FORM/index.tsx.mustache +3 -3
  105. package/src/tasks/create/templates/Constellation/Template/FORM-region/DetailsRender.tsx.mustache +59 -0
  106. package/src/tasks/create/templates/Constellation/Template/FORM-region/demo.stories.tsx.mustache +95 -18
  107. package/src/tasks/create/templates/Constellation/Template/FORM-region/index.tsx.mustache +1 -1
  108. package/src/tasks/create/templates/Constellation/Template/PAGE/demo.stories.tsx.mustache +4 -5
  109. package/src/tasks/create/templates/Constellation/Template/PAGE/index.tsx.mustache +0 -1
  110. package/src/tasks/create/templates/Constellation/Template/PAGE/mock.ts.mustache +0 -2
  111. package/src/tasks/create/templates/Constellation/Template/PAGE/utils.ts.mustache +6 -19
  112. package/src/tasks/create/templates/Constellation/Widget/CASE/demo.stories.tsx.mustache +6 -7
  113. package/src/tasks/create/templates/Constellation/Widget/CASE/index.tsx.mustache +2 -5
  114. package/src/tasks/create/templates/Constellation/Widget/CASE/mock.ts.mustache +0 -1
  115. package/src/tasks/create/templates/Constellation/Widget/PAGE/demo.stories.tsx.mustache +4 -4
  116. package/src/tasks/create/templates/Constellation/Widget/PAGE/index.tsx.mustache +2 -5
  117. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/Avatar.tsx.mustache +4 -7
  118. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/demo.stories.tsx.mustache +2 -3
  119. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/index.tsx.mustache +0 -1
  120. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/mock.ts.mustache +0 -1
  121. package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/config.json.mustache +4 -1
  122. package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/demo.stories.tsx.mustache +4 -5
  123. package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/index.tsx.mustache +0 -1
  124. package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/mock.ts.mustache +0 -1
  125. package/src/tasks/create/templates/Launchpad/Widget/CASE/demo.stories.tsx.mustache +4 -6
  126. package/src/tasks/create/templates/Launchpad/Widget/CASE/index.tsx.mustache +2 -5
  127. package/src/tasks/create/templates/Launchpad/Widget/CASE/mock.ts.mustache +1 -1
  128. package/src/tasks/create/templates/Launchpad/Widget/PAGE/demo.stories.tsx.mustache +3 -5
  129. package/src/tasks/create/templates/Launchpad/Widget/PAGE/index.tsx.mustache +2 -5
  130. package/src/tasks/create/templates/Launchpad/Widget/PAGE/mock.ts.mustache +0 -1
  131. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/Avatar.tsx.mustache +3 -5
  132. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/demo.stories.tsx.mustache +2 -3
  133. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/mock.ts.mustache +0 -1
  134. package/src/tasks/create-all/index.js +93 -18
  135. package/src/tasks/create-lib/helper.js +112 -0
  136. package/src/tasks/create-lib/index.js +157 -0
  137. package/src/tasks/create-version/helper.js +82 -0
  138. package/src/tasks/create-version/index.js +123 -0
  139. package/src/tasks/delete/helper.js +13 -10
  140. package/src/tasks/delete/index.js +18 -5
  141. package/src/tasks/delete-all/helper.js +6 -2
  142. package/src/tasks/delete-all/index.js +21 -5
  143. package/src/tasks/delete-lib/helper.js +54 -0
  144. package/src/tasks/delete-lib/index.js +264 -0
  145. package/src/tasks/delete-pub/helper.js +35 -0
  146. package/src/tasks/delete-pub/index.js +106 -0
  147. package/src/tasks/delete-version/index.js +56 -0
  148. package/src/tasks/export-archive/helper.js +146 -0
  149. package/src/tasks/export-archive/index.js +389 -0
  150. package/src/tasks/import-archive/helper.js +318 -0
  151. package/src/tasks/import-archive/index.js +447 -0
  152. package/src/tasks/import-comp/helper.js +93 -0
  153. package/src/tasks/import-comp/index.js +366 -0
  154. package/src/tasks/index.js +22 -0
  155. package/src/tasks/init/helper.js +11 -11
  156. package/src/tasks/init/index.js +24 -0
  157. package/src/tasks/init/template/.storybook/preview.tsx +47 -0
  158. package/src/tasks/init/template/README.md +4 -2
  159. package/src/tasks/init/template/package.json.mustache +76 -41
  160. package/src/tasks/init/template/tasks.config.json +6 -2
  161. package/src/tasks/init/template/tsconfig.json +6 -1
  162. package/src/tasks/linter/index.js +4 -0
  163. package/src/tasks/list/helper.js +43 -13
  164. package/src/tasks/list/index.js +15 -6
  165. package/src/tasks/list-lib/helper.js +43 -0
  166. package/src/tasks/list-lib/index.js +148 -0
  167. package/src/tasks/list-pub/helper.js +74 -0
  168. package/src/tasks/list-pub/index.js +205 -0
  169. package/src/tasks/move/helper.js +59 -0
  170. package/src/tasks/move/index.js +477 -0
  171. package/src/tasks/promote-webpack/index.js +14 -5
  172. package/src/tasks/promote-webpack/webpack.config.js +3 -1
  173. package/src/tasks/publish/helper.js +38 -16
  174. package/src/tasks/publish/index.js +95 -2
  175. package/src/tasks/publish-all/helper.js +60 -50
  176. package/src/tasks/publish-all/index.js +23 -2
  177. package/src/tasks/publish-lib/helper.js +17 -0
  178. package/src/tasks/publish-lib/index.js +270 -0
  179. package/src/tasks/quarantine/index.js +84 -0
  180. package/src/tasks/rename/index.js +34 -12
  181. package/src/tasks/rename-lib/index.js +332 -0
  182. package/src/tasks/restore-config/index.js +56 -0
  183. package/src/tasks/revert-webpack/index.js +17 -24
  184. package/src/tasks/set-perm/index.js +150 -0
  185. package/src/tasks/show-help/index.js +130 -0
  186. package/src/tasks/show-status/index.js +45 -0
  187. package/src/tasks/store/index.js +56 -0
  188. package/src/tasks/switch-lib/helper.js +79 -0
  189. package/src/tasks/switch-lib/index.js +151 -0
  190. package/src/tasks/switch-version/helper.js +92 -0
  191. package/src/tasks/switch-version/index.js +127 -0
  192. package/src/tasks/validator/index.js +4 -1
  193. package/src/util.js +1733 -60
  194. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/config.json +58 -0
  195. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/demo.stories.tsx +67 -0
  196. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/index.tsx +146 -0
  197. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/mock.ts +21 -0
  198. package/tests/assets/library/components/create/shared/Avatar.tsx +76 -0
  199. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +148 -0
  200. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx +70 -0
  201. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +166 -0
  202. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.ts +22 -0
  203. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +23 -0
  204. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +84 -0
  205. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +74 -0
  206. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/mock.ts +390 -0
  207. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +294 -0
  208. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx +68 -0
  209. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/event-utils.ts +18 -0
  210. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +280 -0
  211. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.ts +33 -0
  212. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +202 -0
  213. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +261 -0
  214. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +259 -0
  215. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +85 -0
  216. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +252 -0
  217. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +281 -0
  218. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx +63 -0
  219. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/event-utils.ts +18 -0
  220. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +245 -0
  221. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/mock.ts +30 -0
  222. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/DetailsRender.tsx +52 -0
  223. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/HighlightRender.tsx +46 -0
  224. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +35 -0
  225. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +205 -0
  226. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +101 -0
  227. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/mock.ts +248 -0
  228. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +114 -0
  229. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.tsx +63 -0
  230. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +213 -0
  231. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/mock.ts +31 -0
  232. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/DetailsRender.tsx +59 -0
  233. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +45 -0
  234. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.tsx +252 -0
  235. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +69 -0
  236. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +67 -0
  237. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +103 -0
  238. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/index.tsx +215 -0
  239. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/mock.ts +4 -0
  240. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +347 -0
  241. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx +63 -0
  242. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.ts +18 -0
  243. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +303 -0
  244. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts +29 -0
  245. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/GetNextWork.tsx +45 -0
  246. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +32 -0
  247. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +111 -0
  248. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +72 -0
  249. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/mock.ts +94 -0
  250. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/utils.ts +229 -0
  251. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +66 -0
  252. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +75 -0
  253. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.tsx +114 -0
  254. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/mock.ts +52 -0
  255. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +59 -0
  256. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +116 -0
  257. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +107 -0
  258. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +114 -0
  259. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx +63 -0
  260. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +211 -0
  261. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.ts +28 -0
  262. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +96 -0
  263. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx +64 -0
  264. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.ts +18 -0
  265. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +263 -0
  266. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.ts +29 -0
  267. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +126 -0
  268. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.tsx +61 -0
  269. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.ts +18 -0
  270. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +246 -0
  271. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/mock.ts +45 -0
  272. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +117 -0
  273. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.tsx +92 -0
  274. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +339 -0
  275. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +116 -0
  276. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +95 -0
  277. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +192 -0
  278. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/mock.ts +75 -0
  279. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +118 -0
  280. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.stories.tsx +100 -0
  281. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/embed-utils.ts +314 -0
  282. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +1152 -0
  283. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/mock.ts +74 -0
  284. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/utils.ts +221 -0
  285. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/config.json +58 -0
  286. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.tsx +67 -0
  287. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +146 -0
  288. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/mock.ts +21 -0
  289. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +114 -0
  290. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx +63 -0
  291. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +225 -0
  292. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/mock.ts +30 -0
  293. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +188 -0
  294. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +65 -0
  295. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +210 -0
  296. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.ts +21 -0
  297. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +52 -0
  298. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +46 -0
  299. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +42 -0
  300. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +221 -0
  301. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +87 -0
  302. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.ts +288 -0
  303. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/utils.ts +149 -0
  304. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +59 -0
  305. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +27 -0
  306. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +269 -0
  307. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +74 -0
  308. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +240 -0
  309. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.tsx +60 -0
  310. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +204 -0
  311. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/mock.ts +30 -0
  312. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/text-url.tsx +179 -0
  313. package/tests/assets/library/components/createAll/Constellation/shared/Avatar.tsx +76 -0
  314. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/config.json +58 -0
  315. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/demo.stories.tsx +67 -0
  316. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/mock.ts +21 -0
  317. package/tests/assets/original/components/create/_components.md +1 -0
  318. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +148 -0
  319. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx +70 -0
  320. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +166 -0
  321. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.ts +22 -0
  322. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +84 -0
  323. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +74 -0
  324. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/mock.ts +390 -0
  325. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +294 -0
  326. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx +68 -0
  327. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/event-utils.ts +18 -0
  328. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +280 -0
  329. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.ts +33 -0
  330. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +202 -0
  331. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +261 -0
  332. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +259 -0
  333. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +85 -0
  334. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +281 -0
  335. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx +63 -0
  336. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/event-utils.ts +18 -0
  337. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +245 -0
  338. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/mock.ts +30 -0
  339. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/Avatar.tsx +76 -0
  340. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/DetailsRender.tsx +52 -0
  341. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/HighlightRender.tsx +46 -0
  342. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/Operator.tsx +215 -0
  343. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +205 -0
  344. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +101 -0
  345. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/mock.ts +248 -0
  346. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +114 -0
  347. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.tsx +63 -0
  348. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +213 -0
  349. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/mock.ts +31 -0
  350. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/DetailsRender.tsx +59 -0
  351. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.tsx +252 -0
  352. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +69 -0
  353. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +67 -0
  354. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +103 -0
  355. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/index.tsx +215 -0
  356. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/mock.ts +4 -0
  357. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +347 -0
  358. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx +63 -0
  359. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.ts +18 -0
  360. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +303 -0
  361. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts +29 -0
  362. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +111 -0
  363. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +72 -0
  364. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/mock.ts +94 -0
  365. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/utils.ts +229 -0
  366. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +75 -0
  367. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +75 -0
  368. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.tsx +114 -0
  369. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/mock.ts +52 -0
  370. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +116 -0
  371. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +107 -0
  372. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +114 -0
  373. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx +63 -0
  374. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +211 -0
  375. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.ts +28 -0
  376. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +96 -0
  377. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx +64 -0
  378. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.ts +18 -0
  379. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +263 -0
  380. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.ts +29 -0
  381. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +126 -0
  382. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.tsx +61 -0
  383. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.ts +18 -0
  384. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +246 -0
  385. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/mock.ts +45 -0
  386. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +117 -0
  387. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.tsx +92 -0
  388. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +339 -0
  389. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +116 -0
  390. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +95 -0
  391. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +192 -0
  392. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/mock.ts +75 -0
  393. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +118 -0
  394. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.stories.tsx +100 -0
  395. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/embed-utils.ts +314 -0
  396. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +1152 -0
  397. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/mock.ts +74 -0
  398. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/utils.ts +221 -0
  399. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/config.json +58 -0
  400. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.tsx +67 -0
  401. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/mock.ts +21 -0
  402. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +114 -0
  403. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx +63 -0
  404. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/mock.ts +30 -0
  405. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +188 -0
  406. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +65 -0
  407. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.ts +21 -0
  408. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +76 -0
  409. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +52 -0
  410. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +46 -0
  411. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +221 -0
  412. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +87 -0
  413. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.ts +288 -0
  414. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/utils.ts +149 -0
  415. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +59 -0
  416. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +269 -0
  417. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +74 -0
  418. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +240 -0
  419. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.tsx +60 -0
  420. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +204 -0
  421. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/mock.ts +30 -0
  422. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/styles.ts +8 -0
  423. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/text-url.tsx +179 -0
  424. package/tests/assets/original/components/createAll/Constellation/_components.md +1 -0
  425. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/Boolean.ts +35 -0
  426. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/boolean-format.ts +25 -0
  427. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/config.json +148 -0
  428. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.tsx +70 -0
  429. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.ts +18 -0
  430. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.tsx +166 -0
  431. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/mock.ts +22 -0
  432. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/styles.ts +8 -0
  433. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +36 -0
  434. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.tsx +84 -0
  435. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.tsx +73 -0
  436. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/mock.ts +391 -0
  437. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/styles.ts +8 -0
  438. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/config.json +294 -0
  439. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.tsx +68 -0
  440. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/event-utils.ts +18 -0
  441. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.tsx +280 -0
  442. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.ts +33 -0
  443. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/styles.ts +8 -0
  444. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/DateFormatter.ts +61 -0
  445. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/FormattedText.tsx +20 -0
  446. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/config.json +202 -0
  447. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/date.ts +439 -0
  448. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.tsx +86 -0
  449. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/index.tsx +261 -0
  450. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.ts +25 -0
  451. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/styles.ts +8 -0
  452. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/config.json +259 -0
  453. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-time.ts +92 -0
  454. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-utils.ts +288 -0
  455. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date.ts +331 -0
  456. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx +85 -0
  457. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/mock.ts +27 -0
  458. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/styles.ts +8 -0
  459. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/config.json +281 -0
  460. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.tsx +63 -0
  461. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/event-utils.ts +18 -0
  462. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.tsx +245 -0
  463. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.ts +30 -0
  464. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/styles.ts +8 -0
  465. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/Avatar.tsx +76 -0
  466. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/DetailsRender.tsx +52 -0
  467. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/HighlightRender.tsx +46 -0
  468. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/OneColumnDetails.svg +22 -0
  469. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/Operator.tsx +215 -0
  470. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/StatusWork.tsx +26 -0
  471. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx +205 -0
  472. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.tsx +101 -0
  473. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/mock.ts +248 -0
  474. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/styles.ts +24 -0
  475. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/utils.js +151 -0
  476. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/config.json +114 -0
  477. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.tsx +63 -0
  478. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.tsx +213 -0
  479. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.ts +31 -0
  480. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/styles.ts +8 -0
  481. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/DefaultForm.svg +29 -0
  482. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/DetailsRender.tsx +59 -0
  483. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/demo.stories.tsx +252 -0
  484. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/index.tsx +69 -0
  485. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/mock.ts +139 -0
  486. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/styles.ts +8 -0
  487. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/config.json +35 -0
  488. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +102 -0
  489. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/index.tsx +213 -0
  490. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/mock.ts +4 -0
  491. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/styles.ts +8 -0
  492. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/config.json +347 -0
  493. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.tsx +63 -0
  494. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/event-utils.ts +18 -0
  495. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.tsx +303 -0
  496. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/mock.ts +29 -0
  497. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/styles.ts +8 -0
  498. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/OneColumnPage.svg +36 -0
  499. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.tsx +111 -0
  500. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/index.tsx +72 -0
  501. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/localizations.json +6 -0
  502. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/mock.ts +94 -0
  503. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/styles.ts +8 -0
  504. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/utils.ts +229 -0
  505. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +76 -0
  506. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +36 -0
  507. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +80 -0
  508. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/mock.ts +51 -0
  509. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/styles.ts +8 -0
  510. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/OneColumnPage.svg +36 -0
  511. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.tsx +118 -0
  512. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.tsx +107 -0
  513. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/mock.ts +24 -0
  514. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/styles.ts +8 -0
  515. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/config.json +114 -0
  516. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.tsx +63 -0
  517. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.tsx +211 -0
  518. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/mock.ts +28 -0
  519. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/styles.ts +8 -0
  520. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/config.json +96 -0
  521. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.tsx +64 -0
  522. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/event-utils.ts +18 -0
  523. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.tsx +263 -0
  524. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/mock.ts +29 -0
  525. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/styles.ts +8 -0
  526. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/config.json +126 -0
  527. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.tsx +61 -0
  528. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/event-utils.ts +18 -0
  529. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.tsx +246 -0
  530. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/mock.ts +45 -0
  531. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/styles.ts +8 -0
  532. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/config.json +117 -0
  533. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.tsx +92 -0
  534. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.tsx +339 -0
  535. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.ts +76 -0
  536. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/styles.ts +8 -0
  537. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/config.json +116 -0
  538. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +95 -0
  539. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/index.tsx +192 -0
  540. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/mock.ts +75 -0
  541. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/styles.ts +8 -0
  542. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/textformat-utils.tsx +162 -0
  543. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/component-constants.ts +5 -0
  544. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/config.json +118 -0
  545. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/date.ts +163 -0
  546. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/demo.stories.tsx +100 -0
  547. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/embed-utils.ts +314 -0
  548. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/format-constants.ts +41 -0
  549. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/index.tsx +1152 -0
  550. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/mock.ts +74 -0
  551. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/picklist-utils.ts +88 -0
  552. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/repeat-constants.ts +20 -0
  553. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/repeat-utils.ts +658 -0
  554. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/styles.ts +8 -0
  555. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/textformat-utils.tsx +181 -0
  556. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/utils.ts +221 -0
  557. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/config.json +58 -0
  558. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.tsx +67 -0
  559. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/mock.ts +21 -0
  560. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/styles.ts +8 -0
  561. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/StatusWork.tsx +26 -0
  562. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/config.json +114 -0
  563. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.tsx +63 -0
  564. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/event-utils.ts +18 -0
  565. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/mock.ts +30 -0
  566. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/styles.ts +8 -0
  567. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/config.json +188 -0
  568. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +65 -0
  569. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/mock.ts +21 -0
  570. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/styles.ts +8 -0
  571. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +9 -0
  572. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/time-of-day.ts +288 -0
  573. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +76 -0
  574. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +52 -0
  575. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +46 -0
  576. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +26 -0
  577. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +28 -0
  578. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +221 -0
  579. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.tsx +87 -0
  580. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/mock.ts +288 -0
  581. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/styles.ts +23 -0
  582. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/utils.ts +149 -0
  583. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +59 -0
  584. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +46 -0
  585. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +38 -0
  586. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +6 -0
  587. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +269 -0
  588. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx +74 -0
  589. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/mock.ts +145 -0
  590. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/styles.ts +8 -0
  591. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/PConnProps.d.ts +46 -0
  592. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/config.json +240 -0
  593. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/create-nonce.ts +6 -0
  594. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.tsx +60 -0
  595. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/index.tsx +204 -0
  596. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.ts +30 -0
  597. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/styles.ts +8 -0
  598. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.ts +9 -0
  599. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/text-url.tsx +179 -0
  600. package/tests/assets/original/components/createAll/Launchpad/_components.md +1 -0
  601. package/tests/functional/localCreateAllListDeleteAll.test.js +65 -15
  602. package/tests/functional/localCreateBuildAllDeleteAll.test.js +65 -7
  603. package/tests/functional/localCreateBuildDelete.test.js +63 -8
  604. package/tests/functional/localCreateListDelete.test.js +65 -8
  605. package/tests/functional/localCreatePublishAllDeleteAll.test.js +68 -9
  606. package/tests/functional/localCreatePublishDelete.test.js +65 -8
  607. package/tests/functional/localCreateRenameDelete.test.js +63 -7
  608. package/tests/functional/localLibCreateLibAlreadyDeleteLib.test.js +118 -0
  609. package/tests/functional/localLibCreateLibBuildLibDeleteLib.test.js +241 -0
  610. package/tests/functional/localLibCreateLibBuildLibListPubDeleteLib.test.js +246 -0
  611. package/tests/functional/localLibCreateLibDeleteLib.test.js +161 -0
  612. package/tests/functional/localLibCreateLibExportImportLib.test.js +242 -0
  613. package/tests/functional/localLibCreateLibExportLib.test.js +219 -0
  614. package/tests/functional/localLibCreateLibImportCompDeleteLib.test.js +131 -0
  615. package/tests/functional/localLibCreateLibListDeleteLib.test.js +261 -0
  616. package/tests/functional/localLibCreateLibListMoveDeleteLib.test.js +236 -0
  617. package/tests/functional/localLibCreateLibListSwitchDeleteLib.test.js +237 -0
  618. package/tests/functional/localLibCreateLibPermDeleteLib.test.js +144 -0
  619. package/tests/functional/localLibCreateLibStatusDeleteLib.test.js +194 -0
  620. package/tests/functional/localLibCreateLibValidateDeleteLib.test.js +227 -0
  621. package/tests/functional/localLibCreateLibVersionDeleteLib.test.js +453 -0
  622. package/tests/functional/localPromoteRevertWP.test.js +66 -1
  623. package/src/tasks/create/templates/Constellation/Template/FORM/DetailsRender.tsx +0 -59
  624. package/src/tasks/create/templates/Constellation/Template/FORM-region/DetailsRender.tsx +0 -59
  625. package/src/tasks/init/template/.storybook/preview.js +0 -17
  626. package/tests/assets/components/create/Pega_DXIL_MyDetails.zip +0 -0
  627. package/tests/assets/components/create/Pega_DXIL_MyTestText/config.json +0 -55
  628. package/tests/assets/components/create/Pega_DXIL_MyTestText/demo.stories.tsx +0 -68
  629. package/tests/assets/components/create/Pega_DXIL_MyTestText/mock.ts +0 -22
  630. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +0 -145
  631. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx +0 -71
  632. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +0 -167
  633. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.ts +0 -23
  634. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +0 -85
  635. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +0 -77
  636. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/mock.ts +0 -391
  637. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +0 -291
  638. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -69
  639. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +0 -282
  640. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.ts +0 -35
  641. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +0 -199
  642. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +0 -263
  643. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +0 -256
  644. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -86
  645. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +0 -278
  646. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -64
  647. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +0 -248
  648. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/mock.ts +0 -31
  649. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/Avatar.tsx +0 -78
  650. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/DetailsRender.tsx +0 -52
  651. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/HighlightRender.tsx +0 -46
  652. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +0 -203
  653. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +0 -100
  654. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/mock.ts +0 -250
  655. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails.zip +0 -0
  656. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +0 -111
  657. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.tsx +0 -64
  658. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +0 -215
  659. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/mock.ts +0 -31
  660. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/DetailsRender.tsx +0 -59
  661. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.tsx +0 -186
  662. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +0 -69
  663. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +0 -64
  664. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +0 -103
  665. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/index.tsx +0 -216
  666. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/mock.ts +0 -5
  667. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +0 -344
  668. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx +0 -64
  669. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +0 -313
  670. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts +0 -28
  671. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +0 -112
  672. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +0 -73
  673. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/mock.ts +0 -96
  674. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/utils.ts +0 -242
  675. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +0 -78
  676. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +0 -76
  677. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -115
  678. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/mock.ts +0 -53
  679. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +0 -116
  680. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +0 -110
  681. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +0 -111
  682. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx +0 -64
  683. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +0 -213
  684. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.ts +0 -30
  685. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +0 -93
  686. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -65
  687. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +0 -266
  688. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.ts +0 -30
  689. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +0 -123
  690. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.tsx +0 -63
  691. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +0 -250
  692. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/mock.ts +0 -47
  693. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +0 -114
  694. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.tsx +0 -94
  695. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +0 -346
  696. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/config.json +0 -113
  697. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/demo.stories.tsx +0 -97
  698. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/index.tsx +0 -197
  699. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.ts +0 -77
  700. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +0 -115
  701. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.stories.tsx +0 -102
  702. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/embed-utils.ts +0 -311
  703. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +0 -1187
  704. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/mock.ts +0 -75
  705. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MySearchbox/utils.ts +0 -221
  706. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/config.json +0 -55
  707. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.tsx +0 -68
  708. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/mock.ts +0 -22
  709. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +0 -111
  710. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx +0 -64
  711. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/mock.ts +0 -31
  712. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +0 -185
  713. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +0 -66
  714. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.ts +0 -23
  715. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +0 -78
  716. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +0 -52
  717. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +0 -46
  718. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +0 -220
  719. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +0 -90
  720. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.ts +0 -290
  721. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/utils.ts +0 -153
  722. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +0 -59
  723. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +0 -192
  724. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +0 -74
  725. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +0 -237
  726. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.tsx +0 -62
  727. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +0 -206
  728. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/mock.ts +0 -32
  729. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/text-url.tsx +0 -174
  730. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/config.json +0 -145
  731. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.tsx +0 -71
  732. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.tsx +0 -167
  733. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/mock.ts +0 -23
  734. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.tsx +0 -86
  735. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.tsx +0 -76
  736. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/mock.ts +0 -391
  737. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/config.json +0 -291
  738. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -69
  739. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.tsx +0 -282
  740. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.ts +0 -35
  741. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/config.json +0 -199
  742. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/index.tsx +0 -263
  743. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/config.json +0 -256
  744. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -86
  745. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/config.json +0 -278
  746. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -64
  747. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.tsx +0 -248
  748. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.ts +0 -31
  749. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/Avatar.tsx +0 -78
  750. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/DetailsRender.tsx +0 -52
  751. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/HighlightRender.tsx +0 -46
  752. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx +0 -203
  753. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.tsx +0 -100
  754. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/mock.ts +0 -250
  755. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails.zip +0 -0
  756. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/config.json +0 -111
  757. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.tsx +0 -64
  758. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.tsx +0 -215
  759. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.ts +0 -31
  760. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/DetailsRender.tsx +0 -59
  761. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/demo.stories.tsx +0 -186
  762. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/index.tsx +0 -69
  763. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/config.json +0 -32
  764. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +0 -103
  765. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/index.tsx +0 -214
  766. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/mock.ts +0 -5
  767. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/config.json +0 -344
  768. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.tsx +0 -64
  769. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.tsx +0 -313
  770. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/mock.ts +0 -28
  771. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.tsx +0 -112
  772. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/index.tsx +0 -73
  773. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/mock.ts +0 -96
  774. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/utils.ts +0 -242
  775. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +0 -78
  776. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +0 -81
  777. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/mock.ts +0 -52
  778. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.tsx +0 -120
  779. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.tsx +0 -110
  780. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/config.json +0 -111
  781. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.tsx +0 -64
  782. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.tsx +0 -213
  783. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/mock.ts +0 -30
  784. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/config.json +0 -93
  785. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -65
  786. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.tsx +0 -266
  787. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/mock.ts +0 -30
  788. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/config.json +0 -123
  789. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.tsx +0 -63
  790. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.tsx +0 -250
  791. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/mock.ts +0 -47
  792. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/config.json +0 -114
  793. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.tsx +0 -94
  794. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.ts +0 -18
  795. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.tsx +0 -346
  796. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/config.json +0 -113
  797. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.tsx +0 -97
  798. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/event-utils.ts +0 -18
  799. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/index.tsx +0 -197
  800. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.ts +0 -77
  801. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/config.json +0 -115
  802. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/demo.stories.tsx +0 -102
  803. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/embed-utils.ts +0 -311
  804. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/event-utils.ts +0 -18
  805. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/index.tsx +0 -1187
  806. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/mock.ts +0 -75
  807. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MySearchbox/utils.ts +0 -221
  808. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/config.json +0 -55
  809. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.tsx +0 -68
  810. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/mock.ts +0 -22
  811. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/config.json +0 -111
  812. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.tsx +0 -64
  813. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/mock.ts +0 -31
  814. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/config.json +0 -185
  815. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +0 -66
  816. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/mock.ts +0 -23
  817. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +0 -78
  818. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +0 -52
  819. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +0 -46
  820. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +0 -220
  821. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.tsx +0 -90
  822. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/mock.ts +0 -290
  823. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/utils.ts +0 -153
  824. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +0 -59
  825. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +0 -192
  826. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx +0 -74
  827. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/config.json +0 -237
  828. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.tsx +0 -62
  829. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/event-utils.ts +0 -18
  830. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/index.tsx +0 -206
  831. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.ts +0 -32
  832. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/text-url.tsx +0 -174
  833. /package/tests/assets/{components → library/components}/create/Pega_DXIL_MyTestText/styles.ts +0 -0
  834. /package/tests/assets/{components → library/components}/create/_components.md +0 -0
  835. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDetails → library/components/create/shared}/Operator.tsx +0 -0
  836. /package/tests/assets/{components/create/Pega_DXIL_MyTestText → library/components/create/shared}/PConnProps.d.ts +0 -0
  837. /package/tests/assets/{components/create/Pega_DXIL_MyTestText → library/components/create/shared}/create-nonce.ts +0 -0
  838. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyCurrency → library/components/create/shared}/suggestions-handler.ts +0 -0
  839. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyBoolean/Boolean.ts +0 -0
  840. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyBoolean/boolean-format.ts +0 -0
  841. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyBoolean/event-utils.ts +0 -0
  842. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyBoolean/styles.ts +0 -0
  843. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +0 -0
  844. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyCaseWidget/styles.ts +0 -0
  845. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyCurrency/styles.ts +0 -0
  846. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDate/DateFormatter.ts +0 -0
  847. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDate/FormattedText.tsx +0 -0
  848. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDate/date.ts +0 -0
  849. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx +0 -0
  850. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDate/mock.ts +0 -0
  851. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDate/styles.ts +0 -0
  852. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDateTime/date-time.ts +0 -0
  853. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDateTime/date-utils.ts +0 -0
  854. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDateTime/date.ts +0 -0
  855. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDateTime/mock.ts +0 -0
  856. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDateTime/styles.ts +0 -0
  857. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDecimal/styles.ts +0 -0
  858. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDetails/OneColumnDetails.svg +0 -0
  859. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDetails/StatusWork.tsx +0 -0
  860. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDetails/styles.ts +0 -0
  861. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyDetails/utils.js +0 -0
  862. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyCurrency → library/components/createAll/Constellation/Pega_DXIL_MyEmail}/event-utils.ts +0 -0
  863. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyEmail/styles.ts +0 -0
  864. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyForm/DefaultForm.svg +0 -0
  865. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyForm/mock.ts +0 -0
  866. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyForm/styles.ts +0 -0
  867. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyIconButtonURL/styles.ts +0 -0
  868. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyInteger/styles.ts +0 -0
  869. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPage/OneColumnPage.svg +0 -0
  870. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPage/localizations.json +0 -0
  871. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPage/styles.ts +0 -0
  872. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +0 -0
  873. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/styles.ts +0 -0
  874. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPageWidget/OneColumnPage.svg +0 -0
  875. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPageWidget/mock.ts +0 -0
  876. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPageWidget/styles.ts +0 -0
  877. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDecimal → library/components/createAll/Constellation/Pega_DXIL_MyParagraph}/event-utils.ts +0 -0
  878. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyParagraph/styles.ts +0 -0
  879. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPercentage/styles.ts +0 -0
  880. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPhone/styles.ts +0 -0
  881. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyEmail → library/components/createAll/Constellation/Pega_DXIL_MyPicklist}/event-utils.ts +0 -0
  882. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPicklist/mock.ts +0 -0
  883. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyPicklist/styles.ts +0 -0
  884. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyInteger → library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons}/event-utils.ts +0 -0
  885. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyRadioButtons → library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons}/styles.ts +0 -0
  886. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyRadioButtons → library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons}/textformat-utils.tsx +0 -0
  887. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MySearchbox/component-constants.ts +0 -0
  888. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MySearchbox/date.ts +0 -0
  889. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyParagraph → library/components/createAll/Constellation/Pega_DXIL_MySearchbox}/event-utils.ts +0 -0
  890. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MySearchbox/format-constants.ts +0 -0
  891. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MySearchbox/picklist-utils.ts +0 -0
  892. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-constants.ts +0 -0
  893. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -0
  894. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MySearchbox/styles.ts +0 -0
  895. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MySearchbox/textformat-utils.tsx +0 -0
  896. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyText/styles.ts +0 -0
  897. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTextInput/StatusWork.tsx +0 -0
  898. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.ts +0 -0
  899. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTextInput/styles.ts +0 -0
  900. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTimeOfDay/styles.ts +0 -0
  901. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTimeOfDay/time-of-day.ts +0 -0
  902. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +0 -0
  903. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +0 -0
  904. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/styles.ts +0 -0
  905. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +0 -0
  906. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/mock.ts +0 -0
  907. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/styles.ts +0 -0
  908. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPercentage → library/components/createAll/Constellation/Pega_DXIL_MyURL}/event-utils.ts +0 -0
  909. /package/tests/assets/{components → library/components}/createAll/Constellation/Pega_DXIL_MyURL/styles.ts +0 -0
  910. /package/tests/assets/{components → library/components}/createAll/Constellation/_components.md +0 -0
  911. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDetails → library/components/createAll/Constellation/shared}/Operator.tsx +0 -0
  912. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyBoolean → library/components/createAll/Constellation/shared}/PConnProps.d.ts +0 -0
  913. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyBoolean → library/components/createAll/Constellation/shared}/create-nonce.ts +0 -0
  914. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDate → library/components/createAll/Constellation/shared}/suggestions-handler.ts +0 -0
  915. /package/tests/assets/{components → library/components}/createAll/Launchpad/_components.md +0 -0
  916. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyCaseWidget → original/components/create/Pega_DXIL_MyTestText}/PConnProps.d.ts +0 -0
  917. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyCaseWidget → original/components/create/Pega_DXIL_MyTestText}/create-nonce.ts +0 -0
  918. /package/tests/assets/{components → original/components}/create/Pega_DXIL_MyTestText/index.tsx +0 -0
  919. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyBoolean → original/components/create/Pega_DXIL_MyTestText}/styles.ts +0 -0
  920. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyBoolean/Boolean.ts +0 -0
  921. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyCurrency → original/components/createAll/Constellation/Pega_DXIL_MyBoolean}/PConnProps.d.ts +0 -0
  922. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyBoolean/boolean-format.ts +0 -0
  923. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyCurrency → original/components/createAll/Constellation/Pega_DXIL_MyBoolean}/create-nonce.ts +0 -0
  924. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyBoolean/event-utils.ts +0 -0
  925. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyCaseWidget → original/components/createAll/Constellation/Pega_DXIL_MyBoolean}/styles.ts +0 -0
  926. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +0 -0
  927. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDate → original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget}/PConnProps.d.ts +0 -0
  928. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +0 -0
  929. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDate → original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget}/create-nonce.ts +0 -0
  930. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyCurrency → original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget}/styles.ts +0 -0
  931. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDateTime → original/components/createAll/Constellation/Pega_DXIL_MyCurrency}/PConnProps.d.ts +0 -0
  932. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDateTime → original/components/createAll/Constellation/Pega_DXIL_MyCurrency}/create-nonce.ts +0 -0
  933. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDate → original/components/createAll/Constellation/Pega_DXIL_MyCurrency}/styles.ts +0 -0
  934. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDecimal → original/components/createAll/Constellation/Pega_DXIL_MyCurrency}/suggestions-handler.ts +0 -0
  935. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDate/DateFormatter.ts +0 -0
  936. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDate/FormattedText.tsx +0 -0
  937. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDecimal → original/components/createAll/Constellation/Pega_DXIL_MyDate}/PConnProps.d.ts +0 -0
  938. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDecimal → original/components/createAll/Constellation/Pega_DXIL_MyDate}/create-nonce.ts +0 -0
  939. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDate/date.ts +0 -0
  940. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDate/demo.stories.tsx +0 -0
  941. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDate/mock.ts +0 -0
  942. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDateTime → original/components/createAll/Constellation/Pega_DXIL_MyDate}/styles.ts +0 -0
  943. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyEmail → original/components/createAll/Constellation/Pega_DXIL_MyDate}/suggestions-handler.ts +0 -0
  944. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDetails → original/components/createAll/Constellation/Pega_DXIL_MyDateTime}/PConnProps.d.ts +0 -0
  945. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyDetails → original/components/createAll/Constellation/Pega_DXIL_MyDateTime}/create-nonce.ts +0 -0
  946. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDateTime/date-time.ts +0 -0
  947. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDateTime/date-utils.ts +0 -0
  948. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDateTime/date.ts +0 -0
  949. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +0 -0
  950. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDateTime/mock.ts +0 -0
  951. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDecimal → original/components/createAll/Constellation/Pega_DXIL_MyDateTime}/styles.ts +0 -0
  952. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyDateTime/suggestions-handler.ts +0 -0
  953. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyEmail → original/components/createAll/Constellation/Pega_DXIL_MyDecimal}/PConnProps.d.ts +0 -0
  954. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyEmail → original/components/createAll/Constellation/Pega_DXIL_MyDecimal}/create-nonce.ts +0 -0
  955. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyEmail → original/components/createAll/Constellation/Pega_DXIL_MyDecimal}/styles.ts +0 -0
  956. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyInteger → original/components/createAll/Constellation/Pega_DXIL_MyDecimal}/suggestions-handler.ts +0 -0
  957. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDetails/OneColumnDetails.svg +0 -0
  958. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyForm → original/components/createAll/Constellation/Pega_DXIL_MyDetails}/PConnProps.d.ts +0 -0
  959. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDetails/StatusWork.tsx +0 -0
  960. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyDetails/config.json +0 -0
  961. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyForm → original/components/createAll/Constellation/Pega_DXIL_MyDetails}/create-nonce.ts +0 -0
  962. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDetails/styles.ts +0 -0
  963. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyDetails/utils.js +0 -0
  964. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyIconButtonURL → original/components/createAll/Constellation/Pega_DXIL_MyEmail}/PConnProps.d.ts +0 -0
  965. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyIconButtonURL → original/components/createAll/Constellation/Pega_DXIL_MyEmail}/create-nonce.ts +0 -0
  966. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPhone → original/components/createAll/Constellation/Pega_DXIL_MyEmail}/event-utils.ts +0 -0
  967. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyForm → original/components/createAll/Constellation/Pega_DXIL_MyEmail}/styles.ts +0 -0
  968. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyParagraph → original/components/createAll/Constellation/Pega_DXIL_MyEmail}/suggestions-handler.ts +0 -0
  969. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyForm/DefaultForm.svg +0 -0
  970. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyInteger → original/components/createAll/Constellation/Pega_DXIL_MyForm}/PConnProps.d.ts +0 -0
  971. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyForm/config.json +0 -0
  972. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyInteger → original/components/createAll/Constellation/Pega_DXIL_MyForm}/create-nonce.ts +0 -0
  973. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyForm/mock.ts +0 -0
  974. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL → original/components/createAll/Constellation/Pega_DXIL_MyForm}/styles.ts +0 -0
  975. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPage → original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL}/PConnProps.d.ts +0 -0
  976. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPage → original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL}/create-nonce.ts +0 -0
  977. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyInteger → original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL}/styles.ts +0 -0
  978. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget → original/components/createAll/Constellation/Pega_DXIL_MyInteger}/PConnProps.d.ts +0 -0
  979. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget → original/components/createAll/Constellation/Pega_DXIL_MyInteger}/create-nonce.ts +0 -0
  980. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPage → original/components/createAll/Constellation/Pega_DXIL_MyInteger}/styles.ts +0 -0
  981. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPercentage → original/components/createAll/Constellation/Pega_DXIL_MyInteger}/suggestions-handler.ts +0 -0
  982. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyPage/GetNextWork.tsx +0 -0
  983. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyPage/OneColumnPage.svg +0 -0
  984. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPageWidget → original/components/createAll/Constellation/Pega_DXIL_MyPage}/PConnProps.d.ts +0 -0
  985. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyPage/config.json +0 -0
  986. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPageWidget → original/components/createAll/Constellation/Pega_DXIL_MyPage}/create-nonce.ts +0 -0
  987. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyPage/localizations.json +0 -0
  988. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget → original/components/createAll/Constellation/Pega_DXIL_MyPage}/styles.ts +0 -0
  989. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +0 -0
  990. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Operator.tsx +0 -0
  991. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyParagraph → original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget}/PConnProps.d.ts +0 -0
  992. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +0 -0
  993. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyParagraph → original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget}/create-nonce.ts +0 -0
  994. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPageWidget → original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget}/styles.ts +0 -0
  995. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyPageWidget/OneColumnPage.svg +0 -0
  996. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPercentage → original/components/createAll/Constellation/Pega_DXIL_MyPageWidget}/PConnProps.d.ts +0 -0
  997. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +0 -0
  998. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPercentage → original/components/createAll/Constellation/Pega_DXIL_MyPageWidget}/create-nonce.ts +0 -0
  999. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyPageWidget/mock.ts +0 -0
  1000. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyParagraph → original/components/createAll/Constellation/Pega_DXIL_MyPageWidget}/styles.ts +0 -0
  1001. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPhone → original/components/createAll/Constellation/Pega_DXIL_MyParagraph}/PConnProps.d.ts +0 -0
  1002. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPhone → original/components/createAll/Constellation/Pega_DXIL_MyParagraph}/create-nonce.ts +0 -0
  1003. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPicklist → original/components/createAll/Constellation/Pega_DXIL_MyParagraph}/event-utils.ts +0 -0
  1004. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPercentage → original/components/createAll/Constellation/Pega_DXIL_MyParagraph}/styles.ts +0 -0
  1005. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPhone → original/components/createAll/Constellation/Pega_DXIL_MyParagraph}/suggestions-handler.ts +0 -0
  1006. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPicklist → original/components/createAll/Constellation/Pega_DXIL_MyPercentage}/PConnProps.d.ts +0 -0
  1007. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPicklist → original/components/createAll/Constellation/Pega_DXIL_MyPercentage}/create-nonce.ts +0 -0
  1008. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPhone → original/components/createAll/Constellation/Pega_DXIL_MyPercentage}/styles.ts +0 -0
  1009. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyPicklist → original/components/createAll/Constellation/Pega_DXIL_MyPercentage}/suggestions-handler.ts +0 -0
  1010. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyRadioButtons → original/components/createAll/Constellation/Pega_DXIL_MyPhone}/PConnProps.d.ts +0 -0
  1011. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyRadioButtons → original/components/createAll/Constellation/Pega_DXIL_MyPhone}/create-nonce.ts +0 -0
  1012. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPicklist → original/components/createAll/Constellation/Pega_DXIL_MyPhone}/styles.ts +0 -0
  1013. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyRadioButtons → original/components/createAll/Constellation/Pega_DXIL_MyPhone}/suggestions-handler.ts +0 -0
  1014. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MySearchbox → original/components/createAll/Constellation/Pega_DXIL_MyPicklist}/PConnProps.d.ts +0 -0
  1015. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MySearchbox → original/components/createAll/Constellation/Pega_DXIL_MyPicklist}/create-nonce.ts +0 -0
  1016. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyRadioButtons → original/components/createAll/Constellation/Pega_DXIL_MyPicklist}/event-utils.ts +0 -0
  1017. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyPicklist/mock.ts +0 -0
  1018. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyRadioButtons → original/components/createAll/Constellation/Pega_DXIL_MyPicklist}/styles.ts +0 -0
  1019. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MySearchbox → original/components/createAll/Constellation/Pega_DXIL_MyPicklist}/suggestions-handler.ts +0 -0
  1020. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyText → original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons}/PConnProps.d.ts +0 -0
  1021. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyText → original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons}/create-nonce.ts +0 -0
  1022. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MySearchbox → original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons}/event-utils.ts +0 -0
  1023. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MySearchbox → original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons}/styles.ts +0 -0
  1024. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTextInput → original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons}/suggestions-handler.ts +0 -0
  1025. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyRadioButtons → original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons}/textformat-utils.tsx +0 -0
  1026. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTextInput → original/components/createAll/Constellation/Pega_DXIL_MySearchbox}/PConnProps.d.ts +0 -0
  1027. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MySearchbox/component-constants.ts +0 -0
  1028. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTextInput → original/components/createAll/Constellation/Pega_DXIL_MySearchbox}/create-nonce.ts +0 -0
  1029. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MySearchbox/date.ts +0 -0
  1030. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyURL → original/components/createAll/Constellation/Pega_DXIL_MySearchbox}/event-utils.ts +0 -0
  1031. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MySearchbox/format-constants.ts +0 -0
  1032. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MySearchbox/picklist-utils.ts +0 -0
  1033. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MySearchbox/repeat-constants.ts +0 -0
  1034. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -0
  1035. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyText → original/components/createAll/Constellation/Pega_DXIL_MySearchbox}/styles.ts +0 -0
  1036. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTimeOfDay → original/components/createAll/Constellation/Pega_DXIL_MySearchbox}/suggestions-handler.ts +0 -0
  1037. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MySearchbox/textformat-utils.tsx +0 -0
  1038. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTimeOfDay → original/components/createAll/Constellation/Pega_DXIL_MyText}/PConnProps.d.ts +0 -0
  1039. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTimeOfDay → original/components/createAll/Constellation/Pega_DXIL_MyText}/create-nonce.ts +0 -0
  1040. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyText/index.tsx +0 -0
  1041. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTextInput → original/components/createAll/Constellation/Pega_DXIL_MyText}/styles.ts +0 -0
  1042. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails → original/components/createAll/Constellation/Pega_DXIL_MyTextInput}/PConnProps.d.ts +0 -0
  1043. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyTextInput/StatusWork.tsx +0 -0
  1044. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails → original/components/createAll/Constellation/Pega_DXIL_MyTextInput}/create-nonce.ts +0 -0
  1045. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyTextInput/event-utils.ts +0 -0
  1046. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +0 -0
  1047. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay → original/components/createAll/Constellation/Pega_DXIL_MyTextInput}/styles.ts +0 -0
  1048. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyURL → original/components/createAll/Constellation/Pega_DXIL_MyTextInput}/suggestions-handler.ts +0 -0
  1049. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm → original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay}/PConnProps.d.ts +0 -0
  1050. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm → original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay}/create-nonce.ts +0 -0
  1051. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +0 -0
  1052. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm → original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay}/styles.ts +0 -0
  1053. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyCurrency → original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay}/suggestions-handler.ts +0 -0
  1054. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyTimeOfDay/time-of-day.ts +0 -0
  1055. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +0 -0
  1056. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyURL → original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails}/PConnProps.d.ts +0 -0
  1057. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +0 -0
  1058. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +0 -0
  1059. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +0 -0
  1060. /package/tests/assets/{components/createAll/Constellation/Pega_DXIL_MyURL → original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails}/create-nonce.ts +0 -0
  1061. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyTwoColumnDetails/styles.ts +0 -0
  1062. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyBoolean → original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm}/PConnProps.d.ts +0 -0
  1063. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +0 -0
  1064. /package/tests/assets/{components → original/components}/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +0 -0
  1065. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyBoolean → original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm}/create-nonce.ts +0 -0
  1066. /package/tests/assets/{components/createAll/Launchpad → original/components/createAll/Constellation}/Pega_DXIL_MyTwoColumnForm/mock.ts +0 -0
  1067. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyURL → original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm}/styles.ts +0 -0
  1068. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyCaseWidget → original/components/createAll/Constellation/Pega_DXIL_MyURL}/PConnProps.d.ts +0 -0
  1069. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyCaseWidget → original/components/createAll/Constellation/Pega_DXIL_MyURL}/create-nonce.ts +0 -0
  1070. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyCurrency → original/components/createAll/Constellation/Pega_DXIL_MyURL}/event-utils.ts +0 -0
  1071. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDate → original/components/createAll/Constellation/Pega_DXIL_MyURL}/suggestions-handler.ts +0 -0
  1072. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyCurrency → original/components/createAll/Launchpad/Pega_DXIL_MyBoolean}/PConnProps.d.ts +0 -0
  1073. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyCurrency → original/components/createAll/Launchpad/Pega_DXIL_MyBoolean}/create-nonce.ts +0 -0
  1074. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDate → original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget}/PConnProps.d.ts +0 -0
  1075. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyCaseWidget/config.json +0 -0
  1076. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDate → original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget}/create-nonce.ts +0 -0
  1077. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDateTime → original/components/createAll/Launchpad/Pega_DXIL_MyCurrency}/PConnProps.d.ts +0 -0
  1078. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDateTime → original/components/createAll/Launchpad/Pega_DXIL_MyCurrency}/create-nonce.ts +0 -0
  1079. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDecimal → original/components/createAll/Launchpad/Pega_DXIL_MyCurrency}/suggestions-handler.ts +0 -0
  1080. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDecimal → original/components/createAll/Launchpad/Pega_DXIL_MyDate}/PConnProps.d.ts +0 -0
  1081. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDecimal → original/components/createAll/Launchpad/Pega_DXIL_MyDate}/create-nonce.ts +0 -0
  1082. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyEmail → original/components/createAll/Launchpad/Pega_DXIL_MyDate}/suggestions-handler.ts +0 -0
  1083. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDetails → original/components/createAll/Launchpad/Pega_DXIL_MyDateTime}/PConnProps.d.ts +0 -0
  1084. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDetails → original/components/createAll/Launchpad/Pega_DXIL_MyDateTime}/create-nonce.ts +0 -0
  1085. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyDateTime/index.tsx +0 -0
  1086. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.ts +0 -0
  1087. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyEmail → original/components/createAll/Launchpad/Pega_DXIL_MyDecimal}/PConnProps.d.ts +0 -0
  1088. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyEmail → original/components/createAll/Launchpad/Pega_DXIL_MyDecimal}/create-nonce.ts +0 -0
  1089. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyInteger → original/components/createAll/Launchpad/Pega_DXIL_MyDecimal}/suggestions-handler.ts +0 -0
  1090. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyForm → original/components/createAll/Launchpad/Pega_DXIL_MyDetails}/PConnProps.d.ts +0 -0
  1091. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyDetails/config.json +0 -0
  1092. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyForm → original/components/createAll/Launchpad/Pega_DXIL_MyDetails}/create-nonce.ts +0 -0
  1093. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL → original/components/createAll/Launchpad/Pega_DXIL_MyEmail}/PConnProps.d.ts +0 -0
  1094. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL → original/components/createAll/Launchpad/Pega_DXIL_MyEmail}/create-nonce.ts +0 -0
  1095. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyDecimal → original/components/createAll/Launchpad/Pega_DXIL_MyEmail}/event-utils.ts +0 -0
  1096. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyParagraph → original/components/createAll/Launchpad/Pega_DXIL_MyEmail}/suggestions-handler.ts +0 -0
  1097. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyInteger → original/components/createAll/Launchpad/Pega_DXIL_MyForm}/PConnProps.d.ts +0 -0
  1098. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyForm/config.json +0 -0
  1099. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyInteger → original/components/createAll/Launchpad/Pega_DXIL_MyForm}/create-nonce.ts +0 -0
  1100. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPage → original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL}/PConnProps.d.ts +0 -0
  1101. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPage → original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL}/create-nonce.ts +0 -0
  1102. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget → original/components/createAll/Launchpad/Pega_DXIL_MyInteger}/PConnProps.d.ts +0 -0
  1103. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget → original/components/createAll/Launchpad/Pega_DXIL_MyInteger}/create-nonce.ts +0 -0
  1104. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPercentage → original/components/createAll/Launchpad/Pega_DXIL_MyInteger}/suggestions-handler.ts +0 -0
  1105. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyPage/GetNextWork.tsx +0 -0
  1106. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPageWidget → original/components/createAll/Launchpad/Pega_DXIL_MyPage}/PConnProps.d.ts +0 -0
  1107. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyPage/config.json +0 -0
  1108. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPageWidget → original/components/createAll/Launchpad/Pega_DXIL_MyPage}/create-nonce.ts +0 -0
  1109. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Operator.tsx +0 -0
  1110. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyParagraph → original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget}/PConnProps.d.ts +0 -0
  1111. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/config.json +0 -0
  1112. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyParagraph → original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget}/create-nonce.ts +0 -0
  1113. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -0
  1114. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPercentage → original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget}/PConnProps.d.ts +0 -0
  1115. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyPageWidget/config.json +0 -0
  1116. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPercentage → original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget}/create-nonce.ts +0 -0
  1117. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPhone → original/components/createAll/Launchpad/Pega_DXIL_MyParagraph}/PConnProps.d.ts +0 -0
  1118. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPhone → original/components/createAll/Launchpad/Pega_DXIL_MyParagraph}/create-nonce.ts +0 -0
  1119. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyEmail → original/components/createAll/Launchpad/Pega_DXIL_MyParagraph}/event-utils.ts +0 -0
  1120. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPhone → original/components/createAll/Launchpad/Pega_DXIL_MyParagraph}/suggestions-handler.ts +0 -0
  1121. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPicklist → original/components/createAll/Launchpad/Pega_DXIL_MyPercentage}/PConnProps.d.ts +0 -0
  1122. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPicklist → original/components/createAll/Launchpad/Pega_DXIL_MyPercentage}/create-nonce.ts +0 -0
  1123. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPicklist → original/components/createAll/Launchpad/Pega_DXIL_MyPercentage}/suggestions-handler.ts +0 -0
  1124. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyRadioButtons → original/components/createAll/Launchpad/Pega_DXIL_MyPhone}/PConnProps.d.ts +0 -0
  1125. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyRadioButtons → original/components/createAll/Launchpad/Pega_DXIL_MyPhone}/create-nonce.ts +0 -0
  1126. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyRadioButtons → original/components/createAll/Launchpad/Pega_DXIL_MyPhone}/suggestions-handler.ts +0 -0
  1127. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MySearchbox → original/components/createAll/Launchpad/Pega_DXIL_MyPicklist}/PConnProps.d.ts +0 -0
  1128. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MySearchbox → original/components/createAll/Launchpad/Pega_DXIL_MyPicklist}/create-nonce.ts +0 -0
  1129. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyInteger → original/components/createAll/Launchpad/Pega_DXIL_MyPicklist}/event-utils.ts +0 -0
  1130. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MySearchbox → original/components/createAll/Launchpad/Pega_DXIL_MyPicklist}/suggestions-handler.ts +0 -0
  1131. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyText → original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons}/PConnProps.d.ts +0 -0
  1132. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyText → original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons}/create-nonce.ts +0 -0
  1133. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyParagraph → original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons}/event-utils.ts +0 -0
  1134. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTextInput → original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons}/suggestions-handler.ts +0 -0
  1135. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTextInput → original/components/createAll/Launchpad/Pega_DXIL_MySearchbox}/PConnProps.d.ts +0 -0
  1136. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTextInput → original/components/createAll/Launchpad/Pega_DXIL_MySearchbox}/create-nonce.ts +0 -0
  1137. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPercentage → original/components/createAll/Launchpad/Pega_DXIL_MySearchbox}/event-utils.ts +0 -0
  1138. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay → original/components/createAll/Launchpad/Pega_DXIL_MySearchbox}/suggestions-handler.ts +0 -0
  1139. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay → original/components/createAll/Launchpad/Pega_DXIL_MyText}/PConnProps.d.ts +0 -0
  1140. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay → original/components/createAll/Launchpad/Pega_DXIL_MyText}/create-nonce.ts +0 -0
  1141. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyText/index.tsx +0 -0
  1142. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails → original/components/createAll/Launchpad/Pega_DXIL_MyTextInput}/PConnProps.d.ts +0 -0
  1143. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails → original/components/createAll/Launchpad/Pega_DXIL_MyTextInput}/create-nonce.ts +0 -0
  1144. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyTextInput/index.tsx +0 -0
  1145. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyURL → original/components/createAll/Launchpad/Pega_DXIL_MyTextInput}/suggestions-handler.ts +0 -0
  1146. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm → original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay}/PConnProps.d.ts +0 -0
  1147. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm → original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay}/create-nonce.ts +0 -0
  1148. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.tsx +0 -0
  1149. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +0 -0
  1150. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyURL → original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails}/PConnProps.d.ts +0 -0
  1151. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/config.json +0 -0
  1152. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyURL → original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails}/create-nonce.ts +0 -0
  1153. /package/tests/assets/{components → original/components}/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/config.json +0 -0
  1154. /package/tests/assets/{components/createAll/Launchpad/Pega_DXIL_MyPhone → original/components/createAll/Launchpad/Pega_DXIL_MyURL}/event-utils.ts +0 -0
package/src/util.js CHANGED
@@ -1,9 +1,13 @@
1
1
  import fs from 'fs';
2
+ import path from 'path';
2
3
  import { join } from 'path';
3
4
  import { promisify } from 'util';
4
5
  import https from 'https';
5
6
  import crypto from 'node:crypto';
6
7
  import { createRequire } from 'module';
8
+ import {jwtDecode} from 'jwt-decode';
9
+ import archiver from 'archiver';
10
+ import {unarchive} from 'unarchive';
7
11
 
8
12
  import chalk from 'chalk';
9
13
  import mustache from 'mustache';
@@ -14,30 +18,184 @@ import fetch from 'node-fetch';
14
18
  import * as currentPath from './currentPath.cjs';
15
19
  import {
16
20
  COMPONENTS_DIRECTORY_PATH,
21
+ COMPONENTS_CONFIG_FILE_NAME,
17
22
  TASKS_CONFIG_JSON_FILENAME,
23
+ PACKAGE_JSON_FILENAME,
18
24
  TOKEN_PATH,
19
25
  OOTB_COMPONENT_SERVICE_REST_ENDPOINT,
20
26
  DELETE_COMPONENT_SERVICE_REST_ENDPOINT,
21
27
  LP_DELETE_COMPONENT_SERVICE_REST_ENDPOINT,
22
28
  OOTB_COMPONENTS,
23
- USE_PROMOTED_WEB_PACK
29
+ USE_PROMOTED_WEB_PACK,
30
+ BOOTSTRAP_CONFIG,
31
+ LIBRARY_BASED,
32
+ SHARED_DIRECTORY,
33
+ SHOW_DEBUG,
34
+ COMPONENTS_PATH,
35
+ ARCHIVES_PATH,
36
+ BIN_ARCHIVES_PATH,
37
+ TEMP_PATH,
38
+ JEST_TESTS_FUNCTIONAL_PATH,
39
+ IMPORT_RELATIVE_PATH,
40
+ EXPORT_RELATIVE_PATH
24
41
  } from './constants.js';
25
42
 
43
+
26
44
  const access = promisify(fs.access);
27
45
 
46
+ let showDebug = false;
47
+ let debugLevel = 1;
48
+ let haveDependencyDifference = false;
49
+ let addAboutData = true;
50
+
51
+
52
+ // updated upon start
53
+ let defaultConfigs = {
54
+ serverType: "",
55
+ isLibraryBased: false,
56
+ devBuild: true,
57
+ library: "",
58
+ organization: "",
59
+ currentOrgLib: "",
60
+ version: "",
61
+ buildVersion: "",
62
+ displayLibVersion: "",
63
+ showDebug: false,
64
+ importRelativePath: "",
65
+ exportRelativePath: ""
66
+ };
67
+
68
+ let pegaConfig = null;
69
+ let pegaData = null;
70
+ let sPegaData;
71
+ let sPegaServerConfig;
72
+
73
+ export const modAddAboutData = (addInAboutData) => {
74
+ // used by jest to not put in to match assets without aboutData
75
+ addAboutData = addInAboutData;
76
+ }
77
+
78
+ export const addDebugLog = (sFunctionName, sLogData, sIncDec) => {
79
+
80
+ let sLog;
81
+ if (showDebug) {
82
+ if (sIncDec === "-") {
83
+ debugLevel--;
84
+ }
85
+
86
+ sLog = `>> log ${debugLevel} `;
87
+
88
+ for (let i =0; i < debugLevel; i++) {
89
+ sLog = sLog.concat("-");
90
+ }
91
+
92
+ sLog = sLog.concat(sFunctionName).concat(": ").concat(sLogData);
93
+
94
+ console.log(`${chalk.hex('#A0522D')(sLog)}`);
95
+
96
+ if (sIncDec === "+") {
97
+ debugLevel++;
98
+ }
99
+
100
+ }
101
+ }
102
+
103
+ export const setUpDefaults = async () => {
104
+
105
+ // defaults, start up function will set these up
106
+ // so that won't have to continously hit files to get data
107
+ // thus saving time.
108
+ let retrievedConfigData = {
109
+ serverType: "",
110
+ isLibraryBased: false,
111
+ devBuild: true,
112
+ library: "",
113
+ organization: "",
114
+ currentOrgLib: "",
115
+ version: "",
116
+ buildVersion: "",
117
+ displayLibVersion: "",
118
+ showDebug: false,
119
+ importRelativePath: "",
120
+ exportRelativePath: ""
121
+ };
122
+
123
+ // retrievedConfigData
124
+ const currentDirectory = process.cwd();
125
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
126
+
127
+ try {
128
+ // force to throw error and not console log
129
+ await checkPathAccess(pegaConfigJsonPath, {}, true);
130
+
131
+ let data = fs.readFileSync(pegaConfigJsonPath, { encoding: 'utf8' });
132
+ data = JSON.parse(data);
133
+
134
+ if (data[IMPORT_RELATIVE_PATH]) {
135
+ retrievedConfigData.importRelativePath = data[IMPORT_RELATIVE_PATH];
136
+ }
137
+
138
+
139
+ if (data[EXPORT_RELATIVE_PATH]) {
140
+ retrievedConfigData.exportRelativePath = data[EXPORT_RELATIVE_PATH];
141
+ }
142
+
143
+ if (data[LIBRARY_BASED]) {
144
+ retrievedConfigData.isLibraryBased = data[LIBRARY_BASED];
145
+ }
146
+ retrievedConfigData.library = data.component.library;
147
+ retrievedConfigData.version = data.component.version;
148
+
149
+
150
+ const { organization } = JSON.parse(fs.readFileSync(path.resolve('package.json'), 'utf8'));
151
+ retrievedConfigData.organization = organization;
152
+
153
+ if (data["showDebug"]) {
154
+ retrievedConfigData.showDebug = data.showDebug;
155
+ showDebug = data.showDebug;
156
+ }
157
+
158
+ retrievedConfigData.serverType = data["server-config"].serverType;
159
+ retrievedConfigData.devBuild = data["server-config"].devBuild;
160
+
161
+ retrievedConfigData.buildVersion = retrievedConfigData.devBuild ? `${retrievedConfigData.version}-dev` : retrievedConfigData.version;
162
+ retrievedConfigData.currentOrgLib = `${retrievedConfigData.organization}_${retrievedConfigData.library}`;
163
+ retrievedConfigData.displayLibVersion = `${retrievedConfigData.currentOrgLib }/${retrievedConfigData.buildVersion}`;
164
+
165
+ }
166
+ catch (ex) {
167
+ // when can't find it, always be false, assume no library based.
168
+ // This is IMPORTANT for init (npx install)
169
+ return false;
170
+ }
171
+
172
+ return JSON.parse(JSON.stringify(retrievedConfigData));
173
+ }
174
+
175
+ // initialize
176
+ // await setUpDefaults();
177
+
28
178
  export const checkPathAccess = async (path, options = {}, throwError = false) => {
179
+
180
+
29
181
  const { errorMessage } = options;
30
182
 
31
183
  try {
32
184
  await access(path, fs.constants.R_OK);
33
185
  } catch (err) {
34
186
  if (throwError) {
187
+ if (showDebug) addDebugLog("checkPathAccess", "path: ".concat(path), "+");
188
+ if (showDebug) addDebugLog("checkPathAccess", "Error: ".concat(err), "");
189
+ if (showDebug) addDebugLog("checkPathAccess", "END", "-");
35
190
  throw new Error(err);
191
+
36
192
  }
37
193
  else {
194
+ if (showDebug) addDebugLog("checkPathAccess", "path: ".concat(path), "+");
38
195
  const message =
39
196
  errorMessage || `${chalk.red.bold('ERROR')} Could not able to access path - ${path}`;
40
197
  console.error(message);
198
+ if (showDebug) addDebugLog("checkPathAccess", "END", "-");
41
199
  process.exit(1);
42
200
  }
43
201
 
@@ -45,6 +203,7 @@ export const checkPathAccess = async (path, options = {}, throwError = false) =>
45
203
  };
46
204
 
47
205
  export const getUseWebPackPromotion = async () => {
206
+ if (showDebug) addDebugLog("getUseWebPackPromotion", "", "");
48
207
  const currentDirectory = process.cwd();
49
208
  const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
50
209
 
@@ -79,6 +238,8 @@ export const getUseWebPackPromotion = async () => {
79
238
  }
80
239
 
81
240
  export const updateUseWebPackPromotion = async ( useValue = false ) => {
241
+ if (showDebug) addDebugLog("updateUseWebPackPromotion", "", "");
242
+
82
243
  const currentDirectory = process.cwd();
83
244
  const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
84
245
 
@@ -96,11 +257,149 @@ export const updateUseWebPackPromotion = async ( useValue = false ) => {
96
257
 
97
258
  data["usePromotedWebPack"] = useValue;
98
259
 
99
- fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(data, null, 4), { encoding: 'utf8' });
260
+ fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(data, null, 4), { encoding: 'utf8',flag:'w' });
261
+
262
+ }
263
+
264
+ export const getAboutData = async (currentOrgLib, buildVersion, dateStamp) => {
265
+ if (showDebug) addDebugLog("getAboutData", `currentOrgLib: ${currentOrgLib}, buildVersion: ${buildVersion}, dateStamp: ${dateStamp}`)
266
+ const tokenAndStaticServer = await getC11NB2STokenAndStaticServer();
267
+
268
+ if (tokenAndStaticServer.C11NB2S === undefined) {
269
+ // console.log(chalk.yellowBright("Need to authenticate, missing services token.\nLibrary requires authentication to acquire a token to build."));
270
+ return `${currentOrgLib} ${buildVersion}, ${dateStamp}`;
271
+ }
272
+
273
+ const jwt = jwtDecode(tokenAndStaticServer.C11NB2S);
274
+ let infinityVersion= jwt.infinity_version;
275
+ infinityVersion = infinityVersion.replace("8.", "");
276
+
277
+ return `${currentOrgLib} ${buildVersion}, ${dateStamp}, ${infinityVersion}`;
278
+ }
279
+
280
+ export const checkJWTExpiration = async () => {
281
+ const tokenAndStaticServer = await getC11NB2STokenAndStaticServer();
282
+
283
+ if (tokenAndStaticServer.C11NB2S === undefined) {
284
+ console.log(chalk.redBright("Need to authenticate, missing services token.\nBuilding a library requires authentication to acquire a token to build."));
285
+ process.exit(1);
286
+ }
287
+
288
+ const jwt = jwtDecode(tokenAndStaticServer.C11NB2S);
289
+ const { exp, customer_org } = jwt;
290
+ if (exp < (new Date().getTime() + 1) / 1000) {
291
+ console.log(chalk.redBright("JWT token has expired, please reauthenticate."));
292
+ process.exit(1);
293
+ }
294
+
295
+ // check that there is customer_org
296
+ if (!customer_org || customer_org === "") {
297
+ console.log(chalk.red(`PegaInfinity server DSS setting ${chalk.redBright.bold(`C11nCCv2CustomerOrg`)} is NOT set.`));
298
+ console.log(chalk.red("Please update DSS setting, save and then reauthenticate."));
299
+ process.exit(1);
300
+ }
301
+
302
+ }
303
+
304
+ export const getLibraryBased = () => {
305
+ if (showDebug) addDebugLog("getLibraryBased", "", "");
306
+ // const currentDirectory = process.cwd();
307
+ // const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
308
+
309
+ // try {
310
+ // // force to throw error and not console log
311
+ // await checkPathAccess(pegaConfigJsonPath, {}, true);
312
+ // }
313
+ // catch (ex) {
314
+ // // when can't find it, always be false, assume no library based.
315
+ // // This is IMPORTANT for init (npx install)
316
+ // return false;
317
+ // }
318
+
319
+ // let data = fs.readFileSync(pegaConfigJsonPath, { encoding: 'utf8' });
320
+ // data = JSON.parse(data);
321
+
322
+ // if (data[LIBRARY_BASED]) {
323
+ // if (showDebug) addDebugLog("getLibraryBased", `based: ${data[LIBRARY_BASED]}`, "");
324
+ // if (showDebug) addDebugLog("getLibraryBased", "END", "-");
325
+ // return data[LIBRARY_BASED];
326
+ // }
327
+ // else {
328
+ // if (showDebug) addDebugLog("getLibraryBased", "END", "-");
329
+ // return false;
330
+ // }
331
+
332
+ return defaultConfigs.isLibraryBased;
333
+ }
334
+
335
+ export const setLibraryBased = async (isLibraryBased) => {
336
+ if (showDebug) addDebugLog("setLibraryBased", "", "");
337
+ const currentDirectory = process.cwd();
338
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
339
+
340
+ try {
341
+ // force to throw error and not console log
342
+ await checkPathAccess(pegaConfigJsonPath, {}, true);
343
+ }
344
+ catch (ex) {
345
+ // when can't find it, always be false, assume no library based.
346
+ // This is IMPORTANT for init (npx install)
347
+ return false;
348
+ }
349
+
350
+ let data = fs.readFileSync(pegaConfigJsonPath, { encoding: 'utf8' });
351
+ data = JSON.parse(data);
352
+
353
+ if (data[LIBRARY_BASED] != undefined) {
354
+ data[LIBRARY_BASED] = isLibraryBased;
355
+
356
+ // update file
357
+ // stringify "4", makes the json string look like JSON in the file, formated instead of a single line
358
+ try {
359
+ fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(data, null, 4), { encoding: 'utf8',flag:'w' });
360
+ }
361
+ catch (err) {
362
+ console.error(err);
363
+ }
364
+ //await forceDefaultsUpdate();
365
+ defaultConfigs.isLibraryBased = isLibraryBased;
366
+
367
+ // reset
368
+ pegaData = null;
369
+ pegaConfig = null;
370
+
371
+ }
372
+
373
+ }
374
+
375
+ export const getShowDebug = () => {
376
+ // const currentDirectory = process.cwd();
377
+ // const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
378
+
379
+ // try {
380
+ // // force to throw error and not console log
381
+ // await checkPathAccess(pegaConfigJsonPath, {}, true);
382
+ // }
383
+ // catch (ex) {
384
+ // // when can't find it, always be false, assume no library based.
385
+ // // This is IMPORTANT for init (npx install)
386
+ // return false;
387
+ // }
388
+
389
+ // let data = fs.readFileSync(pegaConfigJsonPath, { encoding: 'utf8' });
390
+ // data = JSON.parse(data);
391
+
392
+ // if (data[SHOW_DEBUG]) {
393
+ // return data[SHOW_DEBUG];
394
+ // }
395
+ // else return false;
396
+ return defaultConfigs.showDebug;
100
397
 
101
398
  }
102
399
 
400
+
103
401
  export const deleteLocalComponent = async componentKey => {
402
+ if (showDebug) addDebugLog("deleteLocalComponent", `componentKey: ${componentKey}`, "");
104
403
  const currentDirectory = process.cwd();
105
404
  const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
106
405
 
@@ -136,6 +435,7 @@ export const getHttpsAgent = serverConfig => {
136
435
  };
137
436
 
138
437
  export const deleteServerComponent = async componentKey => {
438
+ if (showDebug) addDebugLog("deleteServerComponent", `componentKey: ${componentKey}`, "");
139
439
  const serverConfig = await getPegaServerConfig();
140
440
  const { server, user, password } = serverConfig;
141
441
  const url = constructCompleteUrl(server, DELETE_COMPONENT_SERVICE_REST_ENDPOINT);
@@ -180,7 +480,8 @@ export const deleteServerComponent = async componentKey => {
180
480
  }
181
481
  };
182
482
 
183
- export const getComponents = async () => {
483
+ export const copyFileToShared = async ( fileName, fileContents) => {
484
+ if (showDebug) addDebugLog("copyFileToShared", `fileName: ${fileName}`, "");
184
485
  const currentDirectory = process.cwd();
185
486
  const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
186
487
 
@@ -198,13 +499,201 @@ export const getComponents = async () => {
198
499
  }
199
500
 
200
501
  const directory = join(currentDirectory, data[COMPONENTS_DIRECTORY_PATH]);
502
+ const sharedDirectory = join(directory, SHARED_DIRECTORY);
503
+
504
+ // if shared doesn't exist, create it
505
+ if (!fs.existsSync(sharedDirectory)) {
506
+ fs.mkdirSync(sharedDirectory, { recursive: true });
507
+ }
508
+
509
+ const filePath = join(sharedDirectory, fileName);
510
+ if (!fs.existsSync(filePath)) {
511
+ fs.writeFileSync(filePath, fileContents);
512
+ }
513
+
514
+
515
+ };
516
+
517
+ export const getComponents = async (overrideDirectory = null) => {
518
+ if (showDebug) addDebugLog("getComponents", "", "");
519
+ const currentDirectory = process.cwd();
520
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
521
+
522
+ await checkPathAccess(pegaConfigJsonPath);
523
+
524
+ let data = fs.readFileSync(pegaConfigJsonPath, { encoding: 'utf8' });
525
+
526
+ data = JSON.parse(data);
527
+
528
+ if (!data[COMPONENTS_DIRECTORY_PATH]) {
529
+ console.error(
530
+ `${chalk.red.bold('ERROR')} Could not find components directory path in config.json`
531
+ );
532
+ process.exit(1);
533
+ }
534
+
535
+ const directory = overrideDirectory || join(currentDirectory, data[COMPONENTS_DIRECTORY_PATH]);
536
+
201
537
  return fs
202
538
  .readdirSync(directory, { withFileTypes: true })
203
- .filter(dirent => dirent.isDirectory())
539
+ .filter(dirent => dirent.isDirectory() && dirent.name !== SHARED_DIRECTORY)
204
540
  .map(dirent => dirent.name);
205
541
  };
206
542
 
543
+ export const getTopLevelConfigFiles = async (directory) => {
544
+ if (showDebug) addDebugLog("getTopLevelConfigFiles", `directory: ${directory}`, "");
545
+ if (fs.existsSync(directory)) {
546
+ return fs
547
+ .readdirSync(directory, { withFileTypes: true })
548
+ .filter(dirent => !dirent.isDirectory())
549
+ .map(dirent => dirent.name);
550
+ }
551
+ else {
552
+ return [];
553
+ }
554
+ }
555
+
556
+ export const removeTopLevelConfigFiles = async (directory) => {
557
+ if (showDebug) addDebugLog("removeTopLevelConfigFiles", `directory: ${directory}`, "");
558
+ const configFiles = await getTopLevelConfigFiles(directory);
559
+
560
+ if (configFiles && configFiles.length > 0) {
561
+ for (const configF of configFiles) {
562
+ // don't remove these files, otherwise, remove it
563
+ if (configF !== "package-lock.json" &&
564
+ configF !== "package.json" &&
565
+ configF !== "tasks.config.json" &&
566
+ configF !== ".gitignore" &&
567
+ configF !== ".npmrc" &&
568
+ configF !== ".prettierignore") {
569
+ fs.rmSync( join(directory, configF), { recursive: true, force: true, maxRetries: 2 });
570
+ }
571
+ }
572
+ }
573
+ }
574
+
575
+ export const restoreTopLevelConfigFiles = async(directory) => {
576
+ if (showDebug) addDebugLog("restoreTopLevelConfigFiles", `directory: ${directory}`, "");
577
+ const currentDirectory = process.cwd();
578
+ const tempDirectory = join(currentDirectory, TEMP_PATH);
579
+ const configFiles = await getTopLevelConfigFiles(tempDirectory);
580
+
581
+ if (configFiles && configFiles.length > 0) {
582
+ for (const configF of configFiles) {
583
+ if (configF !== "package-lock.json" && configF !== "package.json") {
584
+ fs.copyFileSync(join(tempDirectory, configF), join(directory, configF));
585
+ }
586
+ }
587
+ }
588
+ }
589
+
590
+ export const getTemplateConfigFiles = async () => {
591
+ if (showDebug) addDebugLog("getTemplateConfigFiles", ``, "");
592
+ const currentDirectory = process.cwd();
593
+ const initDir = join(currentDirectory, "node_modules", "@pega", "custom-dx-components", "src", "tasks", "init");
594
+ const templateDir = join(initDir, "template");
595
+
596
+ if (fs.existsSync(templateDir)) {
597
+ return fs
598
+ .readdirSync(templateDir, { withFileTypes: true })
599
+ .filter(dirent => !dirent.isDirectory())
600
+ .map(dirent => dirent.name);
601
+ }
602
+ else {
603
+ return [];
604
+ }
605
+
606
+ }
607
+
608
+ export const restoreTopLevelConfigFilesFromTemplate = async(clearDep = true) => {
609
+ if (showDebug) addDebugLog("restoreTopLevelConfigFilesFromTemplate", ``, "");
610
+ // we can't loose devDep that is part of install, so go get the template mustache and push
611
+ // those in, replacing any changes there, but allowing additional, an keeping it updated
612
+ // so won't loose new function if an old archive
613
+ const currentDirectory = process.cwd();
614
+ const initDir = join(currentDirectory, "node_modules", "@pega", "custom-dx-components", "src", "tasks", "init");
615
+ const templateDir = join(initDir, "template");
616
+ const packageTemplateJsonPath = path.join(templateDir, 'package.json.mustache');
617
+
618
+ const currentPackagePath = join(currentDirectory, PACKAGE_JSON_FILENAME);
619
+ let currentPackageData;
620
+
621
+ // reset
622
+ haveDependencyDifference = false;
623
+
624
+ try {
625
+ currentPackageData = fs.readFileSync(currentPackagePath);
626
+ }
627
+ catch (ex) {
628
+ console.log($chalk.red(`\nUnable to retrieve current package.json.`))
629
+ process.exit(1);
630
+ }
631
+ let cData = JSON.parse(currentPackageData);
632
+
633
+ let retrievedTemplateData;
634
+ try {
635
+ retrievedTemplateData = fs.readFileSync(packageTemplateJsonPath);
636
+ }
637
+ catch (ex) {
638
+ console.log($chalk.red(`\nUnable to retrieve package.json.mustache from code.`))
639
+ process.exit(1);
640
+ }
641
+
642
+ // copy template dependecies and devDependencies
643
+ const tData = JSON.parse(retrievedTemplateData);
644
+
645
+
646
+ // check to see if any dependency changes
647
+ const sDep = JSON.stringify(tData.dependencies);
648
+ const sDevDep = JSON.stringify(tData.devDependencies);
649
+
650
+ const sCurDep = JSON.stringify(cData.dependencies);
651
+ const sCurDevDep = JSON.stringify(cData.devDependencies);
652
+
653
+ // any changes, update haveDependencyDifference variable
654
+ if (sDep != sCurDep) {
655
+ haveDependencyDifference = true;
656
+ }
657
+ else if (sDevDep != sCurDevDep) {
658
+ haveDependencyDifference = true;
659
+ }
660
+
661
+ await removeTopLevelConfigFiles(currentDirectory);
662
+
663
+
664
+ // clear out
665
+ if (clearDep) {
666
+ cData.dependencies = {};
667
+ cData.devDependencies = {};
668
+ }
669
+
670
+
671
+ const tDep = tData.dependencies;
672
+ for (const [key, value] of Object.entries(tDep)) {
673
+ cData.dependencies[key] = value;
674
+ }
675
+ const tDevDep = tData.devDependencies;
676
+ for (const [key, value] of Object.entries(tDevDep)) {
677
+ cData.devDependencies[key] = value;
678
+ }
679
+
680
+ // update current package json file
681
+ fs.writeFileSync(currentPackagePath, JSON.stringify(cData, null, 4), { encoding: 'utf8',flag:'w' });
682
+
683
+ // restore from template
684
+ const templateFiles = await getTemplateConfigFiles();
685
+ if (templateFiles && templateFiles.length > 0) {
686
+ for (const tFile of templateFiles) {
687
+ if (tFile !== "package.json.mustache" && tFile !== "templateNPMRC.txt" && tFile !== "tasks.config.json") {
688
+ fs.copyFileSync(join(templateDir, tFile), join(currentDirectory, tFile));
689
+ }
690
+ }
691
+ }
692
+
693
+ }
694
+
207
695
  export const getSubComponents = async (directory, type) => {
696
+ if (showDebug) addDebugLog("getDirectoryFiles", `directory: ${directory}, type: ${type}`, "");
208
697
  const subDirectory = join(directory, type);
209
698
  return fs
210
699
  .readdirSync(subDirectory, { withFileTypes: true })
@@ -213,6 +702,7 @@ export const getSubComponents = async (directory, type) => {
213
702
  };
214
703
 
215
704
  export const getDirectoryFiles = async directory => {
705
+ if (showDebug) addDebugLog("getDirectoryFiles", `directory: ${directory}`, "");
216
706
  return fs
217
707
  .readdirSync(directory, { withFileTypes: true })
218
708
  .filter(dirent => !dirent.isDirectory())
@@ -220,6 +710,7 @@ export const getDirectoryFiles = async directory => {
220
710
  };
221
711
 
222
712
  export const getComponentsObj = async () => {
713
+ if (showDebug) addDebugLog("getComponentsObj", "", "+");
223
714
  const compList = [];
224
715
 
225
716
  // const componentList = await getDirectoryFiles(directory);
@@ -232,102 +723,331 @@ export const getComponentsObj = async () => {
232
723
  container.name = name;
233
724
  container.value = name;
234
725
 
726
+ if (showDebug) addDebugLog("getComponentsObj", "container: " + JSON.stringify(container), "");
235
727
  return container;
236
728
  })
237
729
  );
238
730
  }
239
731
 
732
+ if (showDebug) addDebugLog("getComponentsObj", "END", "-");
240
733
  return compList;
241
734
  };
242
735
 
243
- export const getPegaConfig = async () => {
244
- const currentDirectory = process.cwd();
245
- const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
736
+ export const getPegaConfig = async (force = false) => {
737
+ if (showDebug) { addDebugLog("getPegaConfig", "", "+"); }
738
+ if (!pegaData || force) {
246
739
 
247
- await checkPathAccess(pegaConfigJsonPath);
740
+ if (showDebug) { addDebugLog("getPegaConfig", "retrieveData", ""); }
741
+ const currentDirectory = process.cwd();
742
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
248
743
 
249
- let data = fs.readFileSync(pegaConfigJsonPath, { encoding: 'utf8' });
250
- data = JSON.parse(data);
744
+ await checkPathAccess(pegaConfigJsonPath);
251
745
 
252
- return data;
746
+ sPegaData = fs.readFileSync(pegaConfigJsonPath, { encoding: 'utf8' });
747
+ pegaData = JSON.parse(sPegaData);
748
+ }
749
+
750
+
751
+ if (showDebug) { addDebugLog("getPegaConfig", "pegaData: " + sPegaData, ""); }
752
+ if (showDebug) { addDebugLog("getPegaConfig", "END", "-"); }
753
+
754
+ return pegaData;
253
755
  };
254
756
 
255
757
  export const getPegaServerConfig = async () => {
256
- const config = await getPegaConfig();
257
- return config['server-config'];
258
- };
758
+ if (showDebug) addDebugLog("getPegaServerConfig", "", "+");
759
+ if (!pegaConfig) {
760
+ pegaConfig = await getPegaConfig();
761
+ sPegaServerConfig = JSON.stringify(pegaConfig['server-config']);
762
+ }
259
763
 
260
- export const getComponentDefaults = async () => {
261
- const config = await getPegaConfig();
262
- return config.component;
764
+ if (showDebug) addDebugLog("getPegaServerConfig", "server config:" + sPegaServerConfig, "");
765
+ if (showDebug) addDebugLog("getPegaServerConfig", "END", "-");
766
+ return pegaConfig['server-config'];
263
767
  };
264
768
 
265
- export const getServerType = async () => {
266
- const defaultPegaServerConfig = await getPegaServerConfig();
267
- return defaultPegaServerConfig.serverType;
769
+
770
+ // contains all the config, task config, etc. created upon start
771
+ export const getConfigDefaults = () => {
772
+ if (showDebug) addDebugLog("getConfigDefaults", `defaults: ${JSON.stringify(defaultConfigs)}`, "");
773
+
774
+ return defaultConfigs;
775
+
268
776
  }
269
777
 
270
- export const setServerType = async(serverType) => {
778
+ export const forceDefaultsUpdate = async () => {
779
+ defaultConfigs = await setUpDefaults();
780
+ }
781
+
782
+ export const updateServerConfigRuleSetAndVersion = async (rulesetName, rulesetVersion) => {
783
+ if (showDebug) addDebugLog("updateServerConfigRuleSetAndVersion", `rulesetName: ${rulesetName}, rulesetVersion: ${rulesetVersion}`, "");
271
784
  const currentDirectory = process.cwd();
272
785
  const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
273
- let configData = await getPegaConfig();
786
+ let configData = await getPegaConfig(true);
274
787
  let serverConfig = configData['server-config'];
275
- serverConfig.serverType = serverType;
788
+
789
+ serverConfig.rulesetName = rulesetName;
790
+ serverConfig.rulesetVersion = rulesetVersion;
276
791
 
277
792
  // update file
278
793
  // stringify "4", makes the json string look like JSON in the file, formated instead of a single line
279
- fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(configData, null, 4), { encoding: 'utf8' });
794
+ fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(configData, null, 4), { encoding: 'utf8',flag:'w' });
280
795
 
281
796
  }
282
797
 
283
- export const getComponentDirectoryPath = async componentKey => {
798
+ export const updateComponentDefaultLibrary = async (library) => {
799
+ if (showDebug) addDebugLog("updateComponentDefaultLibrary", `library: ${library}`, "");
284
800
  const currentDirectory = process.cwd();
285
801
  const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
286
802
 
287
803
  await checkPathAccess(pegaConfigJsonPath);
288
804
 
289
- let data = fs.readFileSync(pegaConfigJsonPath, { encoding: 'utf8' });
290
- data = JSON.parse(data);
805
+ let config = await getPegaConfig(true);
806
+ let componentsDefault = config.component;
807
+ componentsDefault.library = library;
291
808
 
292
- if (!data[COMPONENTS_DIRECTORY_PATH]) {
293
- console.error(
294
- `${chalk.red.bold('ERROR')} Could not able find components directory path in config.json`
295
- );
296
- process.exit(1);
297
- }
298
809
 
299
- return join(currentDirectory, data[COMPONENTS_DIRECTORY_PATH], componentKey);
300
- };
810
+ fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(config, null, 4), { encoding: 'utf8',flag:'w' });
301
811
 
302
- export const compileMustacheTemplate = (file, data) => {
303
- const content = fs.readFileSync(file, 'utf8');
304
- return mustache.render(content, data);
305
- };
812
+ }
306
813
 
307
- export const isPascalCase = string => {
308
- return string === pascalCase(string);
309
- };
814
+ export const updateComponentDefaultVersion = async (version) => {
815
+ if (showDebug) addDebugLog("updateComponentDefaultVersion", `version: ${version}`, "");
816
+ const currentDirectory = process.cwd();
817
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
310
818
 
311
- export const convertIntoPascalCase = string => {
312
- return pascalCase(string);
313
- };
819
+ await checkPathAccess(pegaConfigJsonPath);
314
820
 
315
- export const constructCompleteUrl = (baseServer, endPoint) => {
316
- return baseServer.endsWith('/') ? `${baseServer}${endPoint}` : `${baseServer}/${endPoint}`;
317
- };
821
+ let config = await getPegaConfig(true);
822
+ let componentsDefault = config.component;
823
+ componentsDefault.version = version;
318
824
 
319
- export const sanitize = str => {
320
- /* Allow only numbers and case insensitive alphabets */
321
- str = str.replace(/[^a-zA-Z0-9 ]/g, '');
322
- /* spaces will be replaced by - */
323
- str = str.replace(/\s+/g, '-');
324
- return str;
325
- };
326
825
 
327
- export const validateSemver = str => {
328
- /* basic semver version validation - 0.0.1-dev */
329
- const regex = /^[0-9]\d*\.\d+\.\d+(?:-[a-zA-Z0-9]+)?$/g;
330
- return regex.test(str);
826
+ fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(config, null, 4), { encoding: 'utf8',flag:'w' });
827
+
828
+ }
829
+
830
+ export const getConfigDevBuild = async() => {
831
+ if (showDebug) addDebugLog("getConfigDevBuild", "", "");
832
+ // const serverConfig = await getPegaServerConfig();
833
+
834
+ // return serverConfig.devBuild;
835
+ return defaultConfigs.devBuild;
836
+
837
+ }
838
+
839
+ export const setConfigDevBuild = async (devBuild) => {
840
+ if (showDebug) addDebugLog("setConfigDevBuild", `devBuild: ${devBuild}`, "");
841
+ const currentDirectory = process.cwd();
842
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
843
+ let configData = await getPegaConfig(true);
844
+ let serverConfig = configData['server-config'];
845
+ serverConfig.devBuild = devBuild;
846
+
847
+ // update file
848
+ // stringify "4", makes the json string look like JSON in the file, formated instead of a single line
849
+ fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(configData, null, 4), { encoding: 'utf8',flag:'w' });
850
+ }
851
+
852
+ export const setConfigImportRelativePath = async (importRelativePath) => {
853
+ if (showDebug) addDebugLog("setConfigImportRelativePath", `importRelativePath: ${importRelativePath}`, "");
854
+ const currentDirectory = process.cwd();
855
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
856
+ let configData = await getPegaConfig(true);
857
+ configData[IMPORT_RELATIVE_PATH] = importRelativePath;
858
+
859
+ // update file
860
+ // stringify "4", makes the json string look like JSON in the file, formated instead of a single line
861
+ fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(configData, null, 4), { encoding: 'utf8',flag:'w' });
862
+ }
863
+
864
+ export const setConfigExportRelativePath = async (exportRelativePath) => {
865
+ if (showDebug) addDebugLog("setConfigExportRelativePath", `exportRelativePath: ${exportRelativePath}`, "");
866
+ const currentDirectory = process.cwd();
867
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
868
+ let configData = await getPegaConfig(true);
869
+ configData[EXPORT_RELATIVE_PATH] = exportRelativePath;
870
+
871
+ // update file
872
+ // stringify "4", makes the json string look like JSON in the file, formated instead of a single line
873
+ fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(configData, null, 4), { encoding: 'utf8',flag:'w' });
874
+ }
875
+
876
+ export const updateDefaultOrganization = async (organization) => {
877
+ if (showDebug) addDebugLog("updateDefaultOrganization", `organization: ${organization}`, "");
878
+ let packageData = JSON.parse(fs.readFileSync(path.resolve('package.json'), 'utf-8'));
879
+
880
+ packageData.organization = organization;
881
+
882
+ fs.writeFileSync(path.resolve('package.json'), JSON.stringify(packageData, null, 4), { encoding: 'utf8',flag:'w' });
883
+
884
+ }
885
+
886
+ export const updateConfigVersion = async (componentKey, buildVersion, currentOrgLib) => {
887
+ if (showDebug) addDebugLog("updateConfigVersion", `componentKey: ${componentKey}, buildVersion: ${buildVersion}, currentOrgLib: ${currentOrgLib}`, "");
888
+ const componentDirectory = await getComponentDirectoryPath(componentKey);
889
+ const configFileName = 'config.json';
890
+
891
+ const configFile = path.join(componentDirectory, configFileName);
892
+ let configData;
893
+ try {
894
+ configData = fs.readFileSync(path.resolve(configFile), 'utf8');
895
+ } catch (err) {
896
+ // for now, if now file just end
897
+ console.log(`${chalk.bold.yellow(`Config file not available for: ${componentKey}`)}`);
898
+ return;
899
+ }
900
+ const currentDate = new Date(Date.now());
901
+ const dateStamp = currentDate.toDateString();
902
+ const aboutData = await getAboutData(currentOrgLib, buildVersion, dateStamp);
903
+
904
+ let data;
905
+ try {
906
+ data = JSON.parse(configData);
907
+
908
+ //find "About" and create or update
909
+ const properties = data.properties;
910
+ if (properties) {
911
+ let foundProp = null;
912
+
913
+ // check to see if PegaAboutData exists. If customer decides to put
914
+ // data under PegaAboutData, we won't change the order
915
+ // otherise, will put at bottom
916
+ for (let i in properties) {
917
+ if (properties[i].name && properties[i].name === "PegaAboutData") {
918
+ foundProp = properties[i];
919
+ break;
920
+ }
921
+ }
922
+
923
+ if (addAboutData) {
924
+ if (foundProp) {
925
+ foundProp.label = aboutData;
926
+ }
927
+ else {
928
+ // don't have "About"
929
+ const aboutLabelJSON = {
930
+ "format": "LABEL",
931
+ "label": "About",
932
+ "name": "PegaAboutLabel",
933
+ "variant": "h3"
934
+ };
935
+ const aboutDataJSON = {
936
+ "format": "LABEL",
937
+ "label": aboutData,
938
+ "name": "PegaAboutData",
939
+ "variant": "primary"
940
+ }
941
+ properties.push(aboutLabelJSON);
942
+ properties.push(aboutDataJSON);
943
+ }
944
+ }
945
+
946
+
947
+ }
948
+ } catch (er) {
949
+ throw new Error(`Invalid schema json in config.json: ${er}`);
950
+ }
951
+
952
+ data.version = buildVersion;
953
+
954
+ if (addAboutData) {
955
+ data.buildDate = dateStamp;
956
+ }
957
+
958
+
959
+
960
+ // write back file
961
+ fs.writeFileSync(configFile, JSON.stringify(data, null, 4), { encoding: 'utf8',flag:'w' });
962
+ };
963
+
964
+ export const getServerType = () => {
965
+ if (showDebug) addDebugLog("getServerType", "", "+");
966
+ // const defaultPegaServerConfig = await getPegaServerConfig();
967
+ // if (showDebug) addDebugLog("getServerType", "serverType:" + defaultPegaServerConfig.serverType, "");
968
+ if (showDebug) addDebugLog("getServerType", "END", "-");
969
+ // return defaultPegaServerConfig.serverType;
970
+ return defaultConfigs.serverType;
971
+ }
972
+
973
+ export const setServerType = async(serverType) => {
974
+ if (showDebug) addDebugLog("setServerType", `serverType: ${serverType}`, "");
975
+ const currentDirectory = process.cwd();
976
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
977
+ let configData = await getPegaConfig(true);
978
+ let serverConfig = configData['server-config'];
979
+ serverConfig.serverType = serverType;
980
+
981
+ // update file
982
+ // stringify "4", makes the json string look like JSON in the file, formated instead of a single line
983
+ fs.writeFileSync(pegaConfigJsonPath, JSON.stringify(configData, null, 4), { encoding: 'utf8',flag:'w' });
984
+
985
+ // reset
986
+ pegaData = null;
987
+ pegaConfig = null;
988
+
989
+ await forceDefaultsUpdate();
990
+ }
991
+
992
+ export const getSrcDirectoryPath = async () => {
993
+ const currentDirectory = process.cwd();
994
+
995
+ return join(currentDirectory, "src");
996
+ }
997
+
998
+ export const getComponentDirectoryPath = async (componentKey, overrideDir = null) => {
999
+ if (showDebug) addDebugLog("getComponentDirectoryPath", "", "+");
1000
+ const currentDirectory = process.cwd();
1001
+ const pegaConfigJsonPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
1002
+
1003
+ await checkPathAccess(pegaConfigJsonPath);
1004
+
1005
+ let data = fs.readFileSync(pegaConfigJsonPath, { encoding: 'utf8' });
1006
+ data = JSON.parse(data);
1007
+
1008
+ if (!data[COMPONENTS_DIRECTORY_PATH]) {
1009
+ console.error(
1010
+ `${chalk.red.bold('ERROR')} Could not able find components directory path in config.json`
1011
+ );
1012
+ process.exit(1);
1013
+ }
1014
+ if (showDebug) addDebugLog("getComponentDirectoryPath", "path: " + join(currentDirectory, data[COMPONENTS_DIRECTORY_PATH], componentKey), "");
1015
+ if (showDebug) addDebugLog("getComponentDirectoryPath", "END", "-");
1016
+ return overrideDir ? join(overrideDir, componentKey) : join(currentDirectory, data[COMPONENTS_DIRECTORY_PATH], componentKey);
1017
+ };
1018
+
1019
+
1020
+ export const compileMustacheTemplate = (file, data) => {
1021
+ if (showDebug) addDebugLog("compileMustacheTemplate", `file: ${file}`, "");
1022
+ const content = fs.readFileSync(file, 'utf8');
1023
+ return mustache.render(content, data);
1024
+ };
1025
+
1026
+ export const isPascalCase = string => {
1027
+ return string === pascalCase(string);
1028
+ };
1029
+
1030
+ export const convertIntoPascalCase = string => {
1031
+ return pascalCase(string);
1032
+ };
1033
+
1034
+ export const constructCompleteUrl = (baseServer, endPoint) => {
1035
+ if (showDebug) addDebugLog("constructCompleteUrl", "url: " + baseServer.endsWith('/') ? `${baseServer}${endPoint}` : `${baseServer}/${endPoint}`, "");
1036
+ return baseServer.endsWith('/') ? `${baseServer}${endPoint}` : `${baseServer}/${endPoint}`;
1037
+ };
1038
+
1039
+ export const sanitize = str => {
1040
+ /* Allow only numbers and case insensitive alphabets */
1041
+ str = str.replace(/[^a-zA-Z0-9 ]/g, '');
1042
+ /* spaces will be replaced by - */
1043
+ str = str.replace(/\s+/g, '-');
1044
+ return str;
1045
+ };
1046
+
1047
+ export const validateSemver = str => {
1048
+ /* basic semver version validation - 0.0.1-dev */
1049
+ const regex = /^[0-9]\d*\.\d+\.\d+(?:-[a-zA-Z0-9]+)?$/g;
1050
+ return regex.test(str);
331
1051
  };
332
1052
 
333
1053
  export const validateRulesetVersion = str => {
@@ -344,7 +1064,7 @@ export const standardizeStr = (str, length) => {
344
1064
  return str.padEnd(length);
345
1065
  };
346
1066
 
347
- export const showVersion = () => {
1067
+ export const showVersion = async () => {
348
1068
  // get package version, so can display at start
349
1069
  // const require = createRequire(import.meta.url);
350
1070
  const require = createRequire(currentPath.default);
@@ -352,6 +1072,12 @@ export const showVersion = () => {
352
1072
  const pData = require('@pega/custom-dx-components/package.json');
353
1073
 
354
1074
  console.log(chalk.green(`DX Component Builder v${pData.version}`));
1075
+ showDebug = getShowDebug();
1076
+
1077
+ if (getLibraryBased() && getServerType() === "launchpad") {
1078
+ console.log(`\nLaunchpad commands only supported for ${chalk.bold.green('non library mode')} components.\n`);
1079
+ process.exit();
1080
+ }
355
1081
 
356
1082
  // do a check of node version, it should be 18 or greater
357
1083
  const arNodeVersion = process.versions.node.split('.');
@@ -377,6 +1103,7 @@ export const showVersion = () => {
377
1103
  };
378
1104
 
379
1105
  export const getOOTBComponents = async () => {
1106
+ if (showDebug) addDebugLog("getOOTBComponents", "", "");
380
1107
  return new Promise(resolve => {
381
1108
  fs.readFile(OOTB_COMPONENTS, 'utf-8', async (error, ootbComponentsData) => {
382
1109
  if (error) {
@@ -429,6 +1156,7 @@ export const getOOTBComponents = async () => {
429
1156
  };
430
1157
 
431
1158
  export const deleteInfinityServerComponent = async componentKey => {
1159
+ if (showDebug) addDebugLog("deleteInfinityServerComponent", `componentKey: ${componentKey}`, "");
432
1160
  const serverConfig = await getPegaServerConfig();
433
1161
  const { server } = serverConfig;
434
1162
  const url = constructCompleteUrl(server, DELETE_COMPONENT_SERVICE_REST_ENDPOINT);
@@ -507,6 +1235,7 @@ export const deleteInfinityServerComponent = async componentKey => {
507
1235
  };
508
1236
 
509
1237
  export const deleteLaunchpadServerComponent = async componentKey => {
1238
+ if (showDebug) addDebugLog("deleteLaunchpadServerComponent", `componentKey: ${componentKey}`, "");
510
1239
  const { server, isolationId } = await getPegaServerConfig();
511
1240
  const deleteUrl = constructCompleteUrl(
512
1241
  server,
@@ -592,3 +1321,947 @@ export const deleteLaunchpadServerComponent = async componentKey => {
592
1321
  throw new Error(error);
593
1322
  }
594
1323
  };
1324
+
1325
+ export const getBootstrapConfig = async (restServerUrl, authorizationHeader) => {
1326
+ if (showDebug) addDebugLog("getBootstrapConfig", `restServerUrl: ${restServerUrl}`, "");
1327
+ const serverConfig = await getPegaServerConfig();
1328
+
1329
+ return fetch(`${restServerUrl}/${BOOTSTRAP_CONFIG}`, {
1330
+ method: 'GET',
1331
+ agent: getHttpsAgent(serverConfig),
1332
+ headers: new Headers({
1333
+ Authorization: authorizationHeader
1334
+ })
1335
+ }).then((response) => {
1336
+ if (response.ok) {
1337
+ return response.json();
1338
+ }
1339
+ throw Error('D_pxBootstrapConfig load failed.', { cause: response.status });
1340
+ });
1341
+ };
1342
+
1343
+ export const updateC11NB2SForInfinity = async () => {
1344
+ if (showDebug) addDebugLog("updateC11NB2SForInfinity", "", "");
1345
+ const serverConfig = await getPegaServerConfig();
1346
+ const { server } = serverConfig;
1347
+ const OAuthData = fs.readFileSync(TOKEN_PATH, 'utf8');
1348
+
1349
+ if (OAuthData) {
1350
+ const { access_token: accessToken, token_type: tokenType } = JSON.parse(OAuthData);
1351
+
1352
+ const bootstrapJSON = await getBootstrapConfig(server, `${tokenType} ${accessToken}`);
1353
+
1354
+ if (bootstrapJSON) {
1355
+ const bootstrap = JSON.parse(bootstrapJSON.pyConfigJSON);
1356
+
1357
+ const objOauthData = JSON.parse(OAuthData);
1358
+ objOauthData["C11NB2S"] = bootstrap.tokens.C11NB2S;
1359
+ objOauthData["appStaticContentServer"] = bootstrap.serviceConfig.appStaticContentServer;
1360
+
1361
+ // write out file
1362
+ fs.writeFileSync(TOKEN_PATH, JSON.stringify(objOauthData), { encoding: 'utf8',flag:'w' });
1363
+ }
1364
+
1365
+ }
1366
+ };
1367
+
1368
+ export const updateC11NB2SForLaunchpad = async () => {
1369
+
1370
+
1371
+
1372
+ };
1373
+
1374
+ export const getC11NB2STokenAndStaticServer = async () => {
1375
+ if (showDebug) addDebugLog("getC11NB2STokenAndStaticServer", "", "");
1376
+ const serverConfig = await getPegaServerConfig();
1377
+ const { server } = serverConfig;
1378
+ let OAuthData;
1379
+ try {
1380
+ OAuthData = fs.readFileSync(TOKEN_PATH, 'utf8');
1381
+ }
1382
+ catch (ex) {
1383
+ return ({});
1384
+ }
1385
+
1386
+ if (OAuthData) {
1387
+ const { C11NB2S, appStaticContentServer } = JSON.parse(OAuthData)
1388
+
1389
+ if (C11NB2S) {
1390
+ return ({ C11NB2S, appStaticContentServer});
1391
+ }
1392
+
1393
+ }
1394
+ return ({});
1395
+ };
1396
+
1397
+ export const getLocalLibraries = async () => {
1398
+ if (showDebug) addDebugLog("getLocalLibraries", "" , "");
1399
+ const currentDirectory = process.cwd();
1400
+ const configDef = getConfigDefaults();
1401
+ const libFilter = configDef.organization.concat("_");
1402
+
1403
+ return fs
1404
+ .readdirSync(currentDirectory, { withFileTypes: true })
1405
+ .filter(dirent => dirent.isDirectory() && dirent.name.startsWith(libFilter))
1406
+ .map(dirent => dirent.name);
1407
+ }
1408
+
1409
+ export const getLocalLibraryVersions = async (libraryName, currentVersion = "0.0.0") => {
1410
+ if (showDebug) addDebugLog("getLocalLibraryVersions", `libraryName: ${libraryName}` , "");
1411
+ const currentDirectory = process.cwd();
1412
+
1413
+ const directory = join(currentDirectory, libraryName);
1414
+ return fs
1415
+ .readdirSync(directory, { withFileTypes: true })
1416
+ .filter(dirent => dirent.isDirectory() && dirent.name != currentVersion)
1417
+ .map(dirent => dirent.name);
1418
+ };
1419
+
1420
+ export const getLocalArchivedLibraryVersions = async (libraryName, currentVersion = "0.0.0") => {
1421
+ if (showDebug) addDebugLog("getLocalArchivedLibraryVersions", `libraryName: ${libraryName}` , "");
1422
+ const currentDirectory = process.cwd();
1423
+ const archiveDirectory = join (currentDirectory, ARCHIVES_PATH, `${libraryName}`);
1424
+
1425
+ return fs
1426
+ .readdirSync(archiveDirectory, { withFileTypes: true })
1427
+ .filter(dirent => dirent.isDirectory() && dirent.name != currentVersion)
1428
+ .map(dirent => dirent.name);
1429
+ };
1430
+
1431
+ export const getLocalArchivedLibrraryVersionData = async(libraryName, libraryVersion) => {
1432
+ if (showDebug) addDebugLog("getLocalArchivedLibrraryVersionData", `libraryName: ${libraryName}, libraryVersion: ${libraryVersion}`, "");
1433
+ const currentDirectory = process.cwd();
1434
+ const archiveDirectory = join (currentDirectory, ARCHIVES_PATH, `${libraryName}`, `${libraryVersion}`);
1435
+
1436
+ const componentConfigFile = join (archiveDirectory, COMPONENTS_CONFIG_FILE_NAME);
1437
+
1438
+ let data = fs.readFileSync(componentConfigFile, { encoding: 'utf8' })
1439
+
1440
+ return data;
1441
+ }
1442
+
1443
+ export const getLocalLibraryVersionData = async (libraryName, libraryVersion) => {
1444
+ if (showDebug) addDebugLog("getLocalLibraryVersionDate", `libraryName: ${libraryName}, libraryVersion: ${libraryVersion}` , "");
1445
+ const currentDirectory = process.cwd();
1446
+ const libDir = join(currentDirectory, libraryName, libraryVersion);
1447
+ const libDataFile = join(libDir, COMPONENTS_CONFIG_FILE_NAME);
1448
+
1449
+ let data = fs.readFileSync(libDataFile, { encoding: 'utf8' })
1450
+
1451
+ return data;
1452
+ };
1453
+
1454
+ export const deleteLocalLibrary = async (libraryName) => {
1455
+ if (showDebug) addDebugLog("deleteLocalLibrary", `libraryName: ${libraryName}` , "");
1456
+ const currentDirectory = process.cwd();
1457
+
1458
+ const directory = join(currentDirectory, libraryName);
1459
+
1460
+ // for some odd reason, it errors out with an error in "err", but it does delete
1461
+ // all the contents. The try/catch then calls again to delete the top level
1462
+ try {
1463
+ if (fs.existsSync(directory)) {
1464
+ fs.rmSync(directory, { recursive: true, force: true, maxRetries: 2 });
1465
+ console.log(`Library: ${chalk.green.bold(libraryName)} is deleted from Local`);
1466
+ }
1467
+ else {
1468
+ console.log(`Library: ${chalk.red.bold(libraryName)} does not exist.`);
1469
+ }
1470
+ }
1471
+ catch (ex) {
1472
+ if (fs.existsSync(directory)) {
1473
+ fs.rmSync(directory, { recursive: true, force: true, maxRetries: 2 });
1474
+ console.log(`Library: ${chalk.green.bold(libraryName)} is deleted from Local`);
1475
+ }
1476
+ else {
1477
+ console.log(`Library: ${chalk.red.bold(libraryName)} does not exist.`);
1478
+ }
1479
+ }
1480
+
1481
+ };
1482
+
1483
+ export const deleteLocalLibraryVersion = async (libraryName, libraryVersion) => {
1484
+ if (showDebug) addDebugLog("getLocalLibraryVersions", `libraryName: ${libraryName}, libraryVersion: ${libraryVersion}` , "");
1485
+ const currentDirectory = process.cwd();
1486
+
1487
+ const directory = join(currentDirectory, libraryName, libraryVersion);
1488
+
1489
+ try {
1490
+ if (fs.existsSync(directory)) {
1491
+ console.log(`Deleting library version: ${chalk.green.bold(libraryName)}:${chalk.green.bold(libraryVersion)}`);
1492
+ fs.rmSync(directory, { recursive: true, force: true, maxRetries: 2 });
1493
+ console.log(`Library version: ${chalk.green.bold(libraryName)}:${chalk.green.bold(libraryVersion)} is deleted from Local`);
1494
+ }
1495
+ else {
1496
+ console.log(`Library version: ${chalk.red.bold(libraryName)}:${chalk.red.bold(libraryVersion)} does not exist.`);
1497
+ }
1498
+
1499
+ }
1500
+ catch (error) {
1501
+ throw error;
1502
+ }
1503
+
1504
+ };
1505
+
1506
+ export const deletePublishExtras = async (libraryName, libraryVersion) => {
1507
+ if (showDebug) addDebugLog("deletePublishExtras", `libraryName: ${libraryName}, libraryVersion: ${libraryVersion}` , "");
1508
+ // this function will delete LibraryName.zip file, so new one created by publish
1509
+ // check if .DS_store file exists in Library, if so delete it because causes issue with services
1510
+
1511
+ const currentDirectory = process.cwd();
1512
+ const zipFile = libraryName.concat(".zip");
1513
+
1514
+ // delete zip file
1515
+ const zipPath = join(currentDirectory, zipFile);
1516
+ if (fs.existsSync(zipPath)) {
1517
+ fs.rmSync(zipPath, { force: true });
1518
+ }
1519
+
1520
+ // mac issue
1521
+ const libVersion = join(currentDirectory, libraryName);
1522
+ const dsStore = join(libVersion, ".DS_Store");
1523
+ if (fs.existsSync(dsStore)) {
1524
+ fs.rmSync(dsStore, { force: true });
1525
+ }
1526
+
1527
+ };
1528
+
1529
+
1530
+ export const cleanUp = async () => {
1531
+ if (showDebug) addDebugLog("cleanUp", "", "");
1532
+ if (fs.existsSync('dist/components')) {
1533
+ fs.rm('dist/components', { recursive: true }, err => {
1534
+ if (err) {
1535
+ throw err;
1536
+ }
1537
+ });
1538
+ }
1539
+
1540
+ if (fs.existsSync('lib')) {
1541
+ fs.rm('lib', { recursive: true, force: true }, err => {
1542
+ if (err) {
1543
+ throw err;
1544
+ }
1545
+ });
1546
+ }
1547
+
1548
+ };
1549
+
1550
+ export const getComponentsConfigs = async (compDir = null) => {
1551
+ if (showDebug) addDebugLog("getComponentsConfigs", "", "");
1552
+ const componentsList = await getComponents(compDir);
1553
+
1554
+ let componentsConfigJSON = [];
1555
+ if (componentsList && componentsList.length > 0) {
1556
+ // open each config.json and copy into componentsConfigJSON
1557
+ for (let i in componentsList) {
1558
+ const componentKey = componentsList[i];
1559
+ const componentDirectory = await getComponentDirectoryPath(componentKey, compDir);
1560
+ const configPath = join(componentDirectory, 'config.json');
1561
+
1562
+ if (fs.existsSync(configPath)) {
1563
+ let data = fs.readFileSync(configPath, { encoding: 'utf8' });
1564
+
1565
+ data = JSON.parse(data);
1566
+ componentsConfigJSON.push(data);
1567
+ }
1568
+
1569
+
1570
+ }
1571
+ }
1572
+ return componentsConfigJSON;
1573
+ }
1574
+
1575
+
1576
+ export const createComponentsConfigFile = async (filePath, compDir) => {
1577
+ if (showDebug) addDebugLog("createComponentsConfigFile", `filePath: ${filePath}`, "");
1578
+ const componentsConfigJSON = await getComponentsConfigs(compDir);
1579
+ const compConfgFile = join(filePath, COMPONENTS_CONFIG_FILE_NAME);
1580
+
1581
+ // write out file
1582
+ fs.writeFileSync(compConfgFile, JSON.stringify(componentsConfigJSON), { encoding: 'utf8',flag:'w' });
1583
+
1584
+ };
1585
+
1586
+
1587
+ export const zipVersionAndArchive = async (orgLibName, version, currentDirectory = "") => {
1588
+ if (showDebug) addDebugLog("zipVersionAndArchive", `orgLibName: ${orgLibName}, version: ${version}`, "");
1589
+ // const srcDirectoryPath = await getSrcDirectoryPath();
1590
+ if (currentDirectory === "") {
1591
+ currentDirectory = process.cwd();
1592
+ }
1593
+ const srcDirectoryPath = join(currentDirectory, "src");
1594
+ const tasksConfig = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
1595
+ const packageJson = join(currentDirectory, PACKAGE_JSON_FILENAME);
1596
+ const archiveFileName = `${orgLibName}_${version}.zip`;
1597
+
1598
+
1599
+ // const configContent = Buffer.from(fs.readFileSync(configJson)).toString();
1600
+ const mainDirectory = process.cwd();
1601
+ const archiveDirectory = join (mainDirectory, ARCHIVES_PATH, `${orgLibName}`, `${version}`);
1602
+ if (!fs.existsSync(archiveDirectory)) {
1603
+ fs.mkdirSync(archiveDirectory, { recursive: true });
1604
+ }
1605
+
1606
+ // create componentsconfig.json
1607
+ await createComponentsConfigFile(archiveDirectory, join(srcDirectoryPath, "components"));
1608
+
1609
+ const archiveFile = join(archiveDirectory, archiveFileName);
1610
+ if (fs.existsSync(orgLibName)) {
1611
+
1612
+ }
1613
+
1614
+ const output = fs.createWriteStream(archiveFile);
1615
+ const archive = archiver('zip', {
1616
+ zlib: { level: 9 } // Sets the compression level.
1617
+ });
1618
+
1619
+ const zipChunks = [];
1620
+ archive.on('data', chunk => zipChunks.push(chunk));
1621
+
1622
+ // Add src directory
1623
+ archive.directory(srcDirectoryPath, 'src');
1624
+
1625
+ // grab all files (not directories and archive)
1626
+ const configFiles = await getTopLevelConfigFiles(currentDirectory);
1627
+ if (configFiles && configFiles.length > 0) {
1628
+ for (const configF of configFiles) {
1629
+ if (configF !== "package-lock.json") {
1630
+ archive.file(
1631
+ join(currentDirectory, configF), { name: configF });
1632
+ }
1633
+
1634
+ }
1635
+ }
1636
+
1637
+ // pipe archive data to the file
1638
+ archive.pipe(output);
1639
+
1640
+ output.on('end', function() {
1641
+ console.log('Data has been drained');
1642
+ });
1643
+
1644
+
1645
+ // good practice to catch warnings (ie stat failures and other non-blocking errors)
1646
+ archive.on('warning', function(err) {
1647
+ if (err.code === 'ENOENT') {
1648
+ // log warning
1649
+ } else {
1650
+ // throw error
1651
+ throw err;
1652
+ }
1653
+ });
1654
+
1655
+ // good practice to catch this error explicitly
1656
+ archive.on('error', function(err) {
1657
+ throw err;
1658
+ });
1659
+
1660
+ await archive.finalize();
1661
+
1662
+ return output;
1663
+
1664
+ };
1665
+
1666
+ export const zipVersionAndArchiveCL = async (orgLibName, version, currentDirectory = "") => {
1667
+ if (showDebug) addDebugLog("zipVersionAndArchiveCL", `orgLibName: ${orgLibName}, version: ${version}, currentDirectory: ${currentDirectory}`, "");
1668
+ // const srcDirectoryPath = await getSrcDirectoryPath();
1669
+ if (currentDirectory === "") {
1670
+ currentDirectory = process.cwd();
1671
+ }
1672
+ const libDirectoryPath = join(currentDirectory, orgLibName, version);
1673
+ const tasksConfig = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
1674
+ const packageJson = join(currentDirectory, PACKAGE_JSON_FILENAME);
1675
+ const archiveFileName = `${orgLibName}_${version}.zip`;
1676
+
1677
+
1678
+ // const configContent = Buffer.from(fs.readFileSync(configJson)).toString();
1679
+ const mainDirectory = process.cwd();
1680
+ const archiveDirectory = join (mainDirectory, BIN_ARCHIVES_PATH);
1681
+ if (!fs.existsSync(archiveDirectory)) {
1682
+ fs.mkdirSync(archiveDirectory, { recursive: true });
1683
+ }
1684
+
1685
+
1686
+ const archiveFile = join(archiveDirectory, archiveFileName);
1687
+ if (fs.existsSync(orgLibName)) {
1688
+
1689
+ }
1690
+
1691
+ const output = fs.createWriteStream(archiveFile);
1692
+ const archive = archiver('zip', {
1693
+ zlib: { level: 9 } // Sets the compression level.
1694
+ });
1695
+
1696
+ const zipChunks = [];
1697
+ archive.on('data', chunk => zipChunks.push(chunk));
1698
+
1699
+ // Add src directory
1700
+ archive.directory(libDirectoryPath, false);
1701
+
1702
+
1703
+ // pipe archive data to the file
1704
+ archive.pipe(output);
1705
+
1706
+ output.on('end', function() {
1707
+ console.log('Data has been drained');
1708
+ });
1709
+
1710
+
1711
+ // good practice to catch warnings (ie stat failures and other non-blocking errors)
1712
+ archive.on('warning', function(err) {
1713
+ if (err.code === 'ENOENT') {
1714
+ // log warning
1715
+ } else {
1716
+ // throw error
1717
+ throw err;
1718
+ }
1719
+ });
1720
+
1721
+ // good practice to catch this error explicitly
1722
+ archive.on('error', function(err) {
1723
+ throw err;
1724
+ });
1725
+
1726
+ await archive.finalize();
1727
+
1728
+ return output;
1729
+
1730
+ };
1731
+
1732
+ export const unZipFromArchive = async (fileName) => {
1733
+ if (showDebug) addDebugLog("unZipFromArchive", `fileName: ${fileName}`, "");
1734
+ await unarchive(fileName, TEMP_PATH);
1735
+ };
1736
+
1737
+
1738
+
1739
+ export const updateComponentTaskConfig = async () => {
1740
+ if (showDebug) addDebugLog("updateComponentTaskConfig", "", "");
1741
+ const currentDirectory = process.cwd();
1742
+ const tempDirectory = join(currentDirectory, TEMP_PATH);
1743
+
1744
+ const tempConfigPath = join(tempDirectory, TASKS_CONFIG_JSON_FILENAME);
1745
+ const currentConfigPath = join(currentDirectory, TASKS_CONFIG_JSON_FILENAME);
1746
+
1747
+ const contents = fs.readFileSync(tempConfigPath);
1748
+ const originalContents = fs.readFileSync(currentConfigPath);
1749
+
1750
+ let contentsData = JSON.parse(contents);
1751
+ let originalContentsData = JSON.parse(originalContents);
1752
+
1753
+ // only copy "components" from archived task.config and "devBuild"
1754
+ // that way, your current tasks.config isn't messed up
1755
+ originalContentsData["server-config"].devBuild = contentsData["server-config"].devBuild;
1756
+ originalContentsData["component"] = contentsData["component"];
1757
+
1758
+ fs.writeFileSync(currentConfigPath, JSON.stringify(originalContentsData, null, 4), { encoding: 'utf8',flag:'w' });
1759
+
1760
+ }
1761
+
1762
+ export const restoreDependenciesFromPackage = async () => {
1763
+ if (showDebug) addDebugLog("restoreDependenciesFromPackage", "", "");
1764
+ const currentDirectory = process.cwd();
1765
+ const tempDirectory = join(currentDirectory, TEMP_PATH);
1766
+ const tempPackagePath = join (tempDirectory, PACKAGE_JSON_FILENAME);
1767
+ const currentPackagePath = join(currentDirectory, PACKAGE_JSON_FILENAME);
1768
+
1769
+ let retrievedPackageData;
1770
+ let currentPackageData;
1771
+
1772
+ // reset
1773
+ haveDependencyDifference = false;
1774
+
1775
+ try {
1776
+ retrievedPackageData = fs.readFileSync(tempPackagePath);
1777
+ }
1778
+ catch (ex) {
1779
+ console.log(chalk.red(`\nUnable to retrieve package.json from store.`))
1780
+ process.exit(1);
1781
+ }
1782
+
1783
+ try {
1784
+ currentPackageData = fs.readFileSync(currentPackagePath);
1785
+ }
1786
+ catch (ex) {
1787
+ console.log(chalk.red(`\nUnable to retrieve current package.json.`))
1788
+ process.exit(1);
1789
+ }
1790
+
1791
+
1792
+ let rData = JSON.parse(retrievedPackageData);
1793
+ let cData = JSON.parse(currentPackageData);
1794
+
1795
+ // now keep current package.json, but replace devDependencies and dependencies.
1796
+ const sDep = JSON.stringify(rData.dependencies);
1797
+ const sDevDep = JSON.stringify(rData.devDependencies);
1798
+
1799
+ const sCurDep = JSON.stringify(cData.dependencies);
1800
+ const sCurDevDep = JSON.stringify(cData.devDependencies);
1801
+
1802
+ // any changes, update haveDependencyDifference variable
1803
+ if (sDep != sCurDep) {
1804
+ haveDependencyDifference = true;
1805
+ }
1806
+ else if (sDevDep != sCurDevDep) {
1807
+ haveDependencyDifference = true;
1808
+ }
1809
+
1810
+
1811
+ cData.dependencies = JSON.parse(sDep);
1812
+ cData.devDependencies = JSON.parse(sDevDep);
1813
+
1814
+ // we can't loose devDep that is part of install, so go get the template mustache and push
1815
+ // those in, replacing any changes there, but allowing additional, an keeping it updated
1816
+ // so won't loose new function if an old archive
1817
+ const initDir = join(currentDirectory, "node_modules", "@pega", "custom-dx-components", "src", "tasks", "init");
1818
+ const templateDir = join(initDir, "template");
1819
+ const packageTemplateJsonPath = path.join(templateDir, 'package.json.mustache');
1820
+ let retrievedTemplateData;
1821
+ try {
1822
+ retrievedTemplateData = fs.readFileSync(packageTemplateJsonPath);
1823
+ }
1824
+ catch (ex) {
1825
+ console.log($chalk.red(`\nUnable to retrieve package.json.mustache from code.`))
1826
+ process.exit(1);
1827
+ }
1828
+ const tData = JSON.parse(retrievedTemplateData);
1829
+ const tDevDep = tData.devDependencies;
1830
+ for (const [key, value] of Object.entries(tDevDep)) {
1831
+ rData.devDependencies[key] = value;
1832
+ }
1833
+
1834
+ // overwrite cData specifics
1835
+ rData.name = cData.name;
1836
+ rData.description = cData.description;
1837
+ rData.organization = cData.organization;
1838
+ rData.main = cData.main;
1839
+ rData.type = cData.type;
1840
+ rData.scripts = cData.scripts;
1841
+ rData.scriptsComments = cData.scriptsComments;
1842
+ rData.repository = cData.repository;
1843
+ rData.keywords = cData.keywords;
1844
+
1845
+
1846
+ // update current package json file
1847
+ fs.writeFileSync(currentPackagePath, JSON.stringify(rData, null, 4), { encoding: 'utf8',flag:'w' });
1848
+
1849
+
1850
+ }
1851
+
1852
+
1853
+ export const restoreDependenciesFromTemplate = async () => {
1854
+ if (showDebug) addDebugLog("restoreDependenciesFromTemplate", "", "");
1855
+ const currentDirectory = process.cwd();
1856
+ const currentPackagePath = join(currentDirectory, PACKAGE_JSON_FILENAME);
1857
+
1858
+ let currentPackageData;
1859
+
1860
+ // reset
1861
+ haveDependencyDifference = true;
1862
+
1863
+ try {
1864
+ currentPackageData = fs.readFileSync(currentPackagePath);
1865
+ }
1866
+ catch (ex) {
1867
+ console.log(chalk.red(`\nUnable to retrieve current package.json.`))
1868
+ process.exit(1);
1869
+ }
1870
+
1871
+
1872
+ let cData = JSON.parse(currentPackageData);
1873
+
1874
+
1875
+ // we can't loose devDep that is part of install, so go get the template mustache and push
1876
+ // those in, replacing any changes there, but allowing additional, an keeping it updated
1877
+ // so won't loose new function if an old archive
1878
+ const initDir = join(currentDirectory, "node_modules", "@pega", "custom-dx-components", "src", "tasks", "init");
1879
+ const templateDir = join(initDir, "template");
1880
+ const packageTemplateJsonPath = path.join(templateDir, 'package.json.mustache');
1881
+ let retrievedTemplateData;
1882
+ try {
1883
+ retrievedTemplateData = fs.readFileSync(packageTemplateJsonPath);
1884
+ }
1885
+ catch (ex) {
1886
+ console.log($chalk.red(`\nUnable to retrieve package.json.mustache from code.`))
1887
+ process.exit(1);
1888
+ }
1889
+ const tData = JSON.parse(retrievedTemplateData);
1890
+ const tDevDep = tData.devDependencies;
1891
+ const tDep = tData.dependencies;
1892
+
1893
+ for (const [key, value] of Object.entries(tDevDep)) {
1894
+ cData.devDependencies[key] = value;
1895
+ }
1896
+
1897
+ for (const [key, value] of Object.entries(tDep)) {
1898
+ cData.dependencies[key] = value;
1899
+ }
1900
+
1901
+
1902
+ // update current package json file
1903
+ fs.writeFileSync(currentPackagePath, JSON.stringify(cData, null, 4), { encoding: 'utf8',flag:'w' });
1904
+
1905
+
1906
+ }
1907
+
1908
+
1909
+ export const restoreDependenciesFromPackage_old = async () => {
1910
+ if (showDebug) addDebugLog("restoreDependenciesFromPackage", "", "");
1911
+ const currentDirectory = process.cwd();
1912
+ const tempDirectory = join(currentDirectory, TEMP_PATH);
1913
+ const tempPackagePath = join (tempDirectory, PACKAGE_JSON_FILENAME);
1914
+ const currentPackagePath = join(currentDirectory, PACKAGE_JSON_FILENAME);
1915
+
1916
+ let retrievedPackageData;
1917
+ let currentPackageData;
1918
+
1919
+ // reset
1920
+ haveDependencyDifference = false;
1921
+
1922
+ try {
1923
+ retrievedPackageData = fs.readFileSync(tempPackagePath);
1924
+ }
1925
+ catch (ex) {
1926
+ console.log($chalk.red(`\nUnable to retrieve package.json from store.`))
1927
+ process.exit(1);
1928
+ }
1929
+
1930
+ try {
1931
+ currentPackageData = fs.readFileSync(currentPackagePath);
1932
+ }
1933
+ catch (ex) {
1934
+ console.log($chalk.red(`\nUnable to retrieve current package.json.`))
1935
+ process.exit(1);
1936
+ }
1937
+
1938
+
1939
+ const rData = JSON.parse(retrievedPackageData);
1940
+ let cData = JSON.parse(currentPackageData);
1941
+
1942
+ // now keep current package.json, but replace devDependencies and dependencies.
1943
+ const sDep = JSON.stringify(rData.dependencies);
1944
+ const sDevDep = JSON.stringify(rData.devDependencies);
1945
+
1946
+ const sCurDep = JSON.stringify(cData.dependencies);
1947
+ const sCurDevDep = JSON.stringify(cData.devDependencies);
1948
+
1949
+ // any changes, update haveDependencyDifference variable
1950
+ if (sDep != sCurDep) {
1951
+ haveDependencyDifference = true;
1952
+ }
1953
+ else if (sDevDep != sCurDevDep) {
1954
+ haveDependencyDifference = true;
1955
+ }
1956
+
1957
+
1958
+ cData.dependencies = JSON.parse(sDep);
1959
+ cData.devDependencies = JSON.parse(sDevDep);
1960
+
1961
+ // we can't loose devDep that is part of install, so go get the template mustache and push
1962
+ // those in, replacing any changes there, but allowing additional, an keeping it updated
1963
+ // so won't loose new function if an old archive
1964
+ const initDir = join(currentDirectory, "node_modules", "@pega", "custom-dx-components", "src", "tasks", "init");
1965
+ const templateDir = join(initDir, "template");
1966
+ const packageTemplateJsonPath = path.join(templateDir, 'package.json.mustache');
1967
+ let retrievedTemplateData;
1968
+ try {
1969
+ retrievedTemplateData = fs.readFileSync(packageTemplateJsonPath);
1970
+ }
1971
+ catch (ex) {
1972
+ console.log($chalk.red(`\nUnable to retrieve package.json.mustache from code.`))
1973
+ process.exit(1);
1974
+ }
1975
+ const tData = JSON.parse(retrievedTemplateData);
1976
+ const tDevDep = tData.devDependencies;
1977
+ for (const [key, value] of Object.entries(tDevDep)) {
1978
+ cData.devDependencies[key] = value;
1979
+ }
1980
+
1981
+
1982
+ // update current package json file
1983
+ fs.writeFileSync(currentPackagePath, JSON.stringify(cData, null, 4), { encoding: 'utf8',flag:'w' });
1984
+
1985
+
1986
+ }
1987
+
1988
+ export const getHaveDependencyDifference = () => {
1989
+ if (showDebug) addDebugLog("getHaveDependencyDifference", ``, "");
1990
+ return haveDependencyDifference;
1991
+ }
1992
+
1993
+ export const restoreFromArchive = async (fileName, orgLibName, version) => {
1994
+ if (showDebug) addDebugLog("restoreFromArchive", `fileName: ${fileName}, orgLibName: ${orgLibName}, version: ${version}`, "");
1995
+ const currentDirectory = process.cwd();
1996
+ const tempDirectory = join(currentDirectory, TEMP_PATH);
1997
+ const archiveDirectory = join (currentDirectory, ARCHIVES_PATH, `${orgLibName}`, `${version}`);
1998
+ const archFileName = join(archiveDirectory, fileName);
1999
+
2000
+ await unZipFromArchive(archFileName);
2001
+
2002
+
2003
+ const tempPackagePath = join (tempDirectory, PACKAGE_JSON_FILENAME);
2004
+ const currentPackagePath = join(currentDirectory, PACKAGE_JSON_FILENAME);
2005
+ const tempDirectoryComponents = join(tempDirectory, "src");
2006
+ const currentComponentsPath = join(currentDirectory, "src");
2007
+
2008
+ // remove all config files
2009
+ await removeTopLevelConfigFiles(currentDirectory);
2010
+
2011
+ await restoreTopLevelConfigFiles(currentDirectory);
2012
+
2013
+ // take your current tasks.config and update with component and devBuild from saved tasks.config
2014
+ await updateComponentTaskConfig();
2015
+
2016
+ // restore package json dependencies
2017
+ await restoreDependenciesFromPackage();
2018
+
2019
+ // remove current components
2020
+ fs.rmSync(currentComponentsPath, { recursive: true, force: true, maxRetries: 2 });
2021
+
2022
+ if (fs.existsSync(currentComponentsPath)) {
2023
+ // try another round of rm
2024
+ fs.rmSync(currentComponentsPath, { recursive: true, force: true, maxRetries: 2 });
2025
+
2026
+ if (fs.existsSync(currentComponentsPath)) {
2027
+ // still an issue
2028
+ console.log(chalk.red('\nUnable to complete clear out src/components directory.\n'));
2029
+ console.log(chalk.red('\nUnstored components are in /temp directory.\n'));
2030
+ console.log(chalk.red('\nYou can migrate /store/temp/components to src/components manually.\n'));
2031
+ console.log(chalk.red('\nYou can replace /store/temp/tasks.config.json with tasks.config.json.\n'));
2032
+ process.exit();
2033
+ }
2034
+ }
2035
+
2036
+
2037
+ // copy temp src/components
2038
+ if (fs.existsSync(tempDirectoryComponents)) {
2039
+
2040
+ fs.cpSync(tempDirectoryComponents, currentComponentsPath, { recursive: true, force: true });
2041
+ }
2042
+ else {
2043
+ // nothing was archived (no src/components)
2044
+ // so make a src/components if doesn't exist
2045
+ if (!fs.existsSync(currentComponentsPath)) {
2046
+ fs.mkdirSync(currentComponentsPath, { "recursive" : true});
2047
+ }
2048
+ }
2049
+
2050
+
2051
+ // remove temp (windows not working well with "sync", can be async, since as long as deleted, fine)
2052
+ fs.rm(tempDirectory, { recursive: true, force: true, maxRetries: 5 }, () => {});
2053
+
2054
+ };
2055
+
2056
+ export const clearSrcComponentsDirectory = async () => {
2057
+ if (showDebug) addDebugLog("clearSrcComponentsDirectory", ``, "");
2058
+ const currentDirectory = process.cwd();
2059
+ const currentComponentsPath = join(currentDirectory, "src", "components");
2060
+
2061
+ // remove current components
2062
+ fs.rmSync(currentComponentsPath, { recursive: true, force: true, maxRetries: 2 });
2063
+
2064
+ // create blank src
2065
+ fs.mkdirSync(currentComponentsPath, { recursive: true });
2066
+ };
2067
+
2068
+ export const isHiddenFile = (fileName) => {
2069
+ if (fileName.indexOf(".") == 0) {
2070
+ return true;
2071
+ }
2072
+
2073
+ return false;
2074
+ };
2075
+
2076
+ export const getCurrentOrgLib = () =>{
2077
+ return defaultConfigs.currentOrgLib;
2078
+ };
2079
+
2080
+ export const hasArchives = async () => {
2081
+ if (showDebug) addDebugLog("hasArchives", "call", "");
2082
+ const currentDirectory = process.cwd();
2083
+ const archiveDirectory = join (currentDirectory, ARCHIVES_PATH);
2084
+ const hasArc = fs.existsSync(archiveDirectory);
2085
+ if (showDebug) addDebugLog("hasArchives", `${hasArc}`, "");
2086
+ return hasArc;
2087
+ };
2088
+
2089
+ export const deleteArchives = async () => {
2090
+ if (showDebug) addDebugLog("deleteArchives", ``, "");
2091
+ const currentDirectory = process.cwd();
2092
+ const archiveDirectory = join (currentDirectory, ARCHIVES_PATH);
2093
+ const hasArc = fs.existsSync(archiveDirectory);
2094
+
2095
+ if (hasArc) {
2096
+ try {
2097
+ fs.rmSync(archiveDirectory, { recursive: true });
2098
+ } catch (err) {
2099
+ }
2100
+ }
2101
+ }
2102
+
2103
+ export const checkLibraryAndArchives = async () => {
2104
+ if (showDebug) addDebugLog("checkLibraryAndArchives", ``, "");
2105
+ const isLibraryBased = getLibraryBased();
2106
+ const hasArch = await hasArchives();
2107
+
2108
+ if (isLibraryBased && !hasArch) {
2109
+ console.log(chalk.yellow('\nPlease create a library before proceeding.\n'));
2110
+ process.exit();
2111
+ }
2112
+ };
2113
+
2114
+ export const hasLibraryAndVersion = async (libraryName, version, devBuild) => {
2115
+ if (showDebug) addDebugLog("hasLibraryAndVersion", `libraryName: ${libraryName}, version: ${version}, devBuild: ${devBuild}`, "");
2116
+ // const orgLib = getConfigDefaults();
2117
+ // const currentOrgLib = `${orgLib.organization}_${libraryName}`;
2118
+ // const libFiles = await getLibraryArchivesFiles(currentOrgLib);
2119
+ // let currentVersion = version;
2120
+ // if (devBuild) {
2121
+ // currentVersion = currentVersion.concat("-dev");
2122
+ // }
2123
+ // const fileName = `${currentOrgLib}_${currentVersion}.zip`;
2124
+ // if (libFiles && libFiles.length > 0) {
2125
+ // if (libFiles.includes(fileName)) {
2126
+ // return true;
2127
+ // }
2128
+ // }
2129
+
2130
+ // return false;
2131
+
2132
+ const orgLib = getConfigDefaults();
2133
+ const currentOrgLib = `${orgLib.organization}_${libraryName}`;
2134
+ const libVersions = await getLibraryArchivesVersions(currentOrgLib);
2135
+ let currentVersion = version;
2136
+ if (devBuild) {
2137
+ currentVersion = currentVersion.concat("-dev");
2138
+ }
2139
+
2140
+ if (libVersions.includes(currentVersion)) {
2141
+ return true;
2142
+ }
2143
+
2144
+ return false;
2145
+
2146
+
2147
+ };
2148
+
2149
+ export const getLibraryArchiveDirectories = async (currentOrgLib = "") => {
2150
+ if (showDebug) addDebugLog("getLibraryArchiveDirectories", "", "");
2151
+ const currentDirectory = process.cwd();
2152
+ const archiveDirectory = join (currentDirectory, ARCHIVES_PATH);
2153
+
2154
+
2155
+ if (!fs.existsSync(archiveDirectory)) {
2156
+ return [];
2157
+ }
2158
+
2159
+ return fs
2160
+ .readdirSync(archiveDirectory, { withFileTypes: true })
2161
+ .filter(dirent => dirent.isDirectory() && (dirent.name != currentOrgLib) )
2162
+ .map(dirent => dirent.name);
2163
+ };
2164
+
2165
+
2166
+
2167
+ export const getLibraryArchivesVersions = async (orgLibName, currentVersion) => {
2168
+ if (showDebug) addDebugLog("getLibraryArchivesVersions", `orgLibName: ${orgLibName}`, "");
2169
+
2170
+ const currentDirectory = process.cwd();
2171
+ const archiveDirectory = join (currentDirectory, ARCHIVES_PATH, `${orgLibName}`);
2172
+
2173
+ if (!fs.existsSync(archiveDirectory)) {
2174
+ return [];
2175
+ }
2176
+
2177
+ return fs
2178
+ .readdirSync(archiveDirectory, { withFileTypes: true })
2179
+ .filter(dirent => dirent.isDirectory() && dirent.name != currentVersion )
2180
+ .map(dirent => dirent.name);
2181
+
2182
+
2183
+
2184
+ };
2185
+
2186
+ export const deleteLocalArchiveLibrary = async(libraryName) => {
2187
+ if (showDebug) addDebugLog("deleteLocalArchiveLibrary", `libraryName: ${libraryName}`, "");
2188
+ const currentDirectory = process.cwd();
2189
+ const archiveDirectory = join (currentDirectory, ARCHIVES_PATH, libraryName);
2190
+
2191
+ try {
2192
+ fs.rmSync(archiveDirectory, { recursive: true });
2193
+ console.log(`${chalk.green.bold(libraryName)} is deleted from Local.`);
2194
+ } catch (err) {
2195
+ console.log(`${chalk.green.red(`No such file ${libraryName}`)}`);
2196
+ // throw new Error(`No such file ${libraryName}`);
2197
+ }
2198
+
2199
+ // check if no other libraries, the remove /store
2200
+ const archList = getLibraryArchiveDirectories();
2201
+ if (archList.length === 0) {
2202
+ const archPath = join (currentDirectory, ARCHIVES_PATH);
2203
+
2204
+ fs.rmSync(archPath, { recursive : true});
2205
+ }
2206
+
2207
+ }
2208
+
2209
+ export const deleteLocalArchiveLibraryVersion = async(libraryName, version) => {
2210
+ if (showDebug) addDebugLog("deleteLocalArchiveLibraryVersion", `libraryName: ${libraryName}, version: ${version}`, "");
2211
+ const currentDirectory = process.cwd();
2212
+ const archiveDirectory = join (currentDirectory, ARCHIVES_PATH, libraryName, version);
2213
+
2214
+ try {
2215
+ fs.rmSync(archiveDirectory, { recursive: true });
2216
+ console.log(`${chalk.green.bold(`${libraryName}/${version}`)} is deleted from Local.`);
2217
+
2218
+
2219
+
2220
+ } catch (err) {
2221
+ console.log(`${chalk.green.red(`No such file ${libraryName}/${version}`)}`);
2222
+ // throw new Error(`No such file ${libraryName}/${version}`);
2223
+ }
2224
+
2225
+ }
2226
+
2227
+ export const cleanUpTemp = async() => {
2228
+ if (showDebug) addDebugLog("cleanUpTemp", ``, "");
2229
+ const currentDirectory = process.cwd();
2230
+ const tempDirectory = join (currentDirectory, TEMP_PATH);
2231
+
2232
+ if (fs.existsSync(tempDirectory)) {
2233
+ fs.rmSync(tempDirectory, { recursive: true });
2234
+ }
2235
+
2236
+ }
2237
+
2238
+
2239
+ export const getJestFunctionalTestList = async(whichTests) => {
2240
+ if (showDebug) addDebugLog("getJestFunctionalTestList", ``, "");
2241
+ const functionalDir = path.join(path.resolve(), JEST_TESTS_FUNCTIONAL_PATH);
2242
+ const libFilter = "localLib";
2243
+
2244
+ switch (whichTests) {
2245
+ case "ALL" :
2246
+ return fs
2247
+ .readdirSync(functionalDir, { withFileTypes: true })
2248
+ .filter(dirent => !dirent.isDirectory() )
2249
+ .map(dirent => dirent.name);
2250
+ case "Original":
2251
+ return fs
2252
+ .readdirSync(functionalDir, { withFileTypes: true })
2253
+ .filter(dirent => !dirent.isDirectory() && !dirent.name.startsWith(libFilter))
2254
+ .map(dirent => dirent.name);
2255
+ case "Library" :
2256
+ return fs
2257
+ .readdirSync(functionalDir, { withFileTypes: true })
2258
+ .filter(dirent => !dirent.isDirectory() && dirent.name.startsWith(libFilter))
2259
+ .map(dirent => dirent.name);
2260
+ }
2261
+
2262
+
2263
+ }
2264
+
2265
+
2266
+ // init
2267
+ await forceDefaultsUpdate();