@pega/custom-dx-components 24.1.12 → 24.2.10

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