@pega/custom-dx-components 26.1.10 → 26.1.11-alpha-0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (917) hide show
  1. package/package.json +12 -3
  2. package/src/constants.js +4 -0
  3. package/src/tasks/authenticate/helper.js +21 -0
  4. package/src/tasks/authenticate/index.js +23 -5
  5. package/src/tasks/init/template/package.json.mustache +1 -1
  6. package/src/tasks/init/template/tasks.config.json +4 -0
  7. package/src/tasks/list/helper.js +9 -2
  8. package/src/tasks/publish/helper.js +11 -3
  9. package/src/tasks/publish-all/helper.js +11 -3
  10. package/src/tasks/publish-archive/index.js +6 -2
  11. package/src/tasks/publish-lib/index.js +11 -3
  12. package/src/util.js +22 -2
  13. package/.github/workflows/lint-and-format.yml +0 -36
  14. package/.prettierignore +0 -15
  15. package/.prettierrc.mjs +0 -8
  16. package/.vscode/extensions.json +0 -9
  17. package/.vscode/settings.json +0 -48
  18. package/babel.config.cjs +0 -13
  19. package/cspell.json +0 -26
  20. package/eslint.config.mjs +0 -234
  21. package/jest.config.cjs +0 -37
  22. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/config.json +0 -58
  23. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/demo.stories.tsx +0 -67
  24. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/demo.test.tsx +0 -19
  25. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/index.tsx +0 -146
  26. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/mock.ts +0 -21
  27. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/styles.ts +0 -8
  28. package/tests/assets/library/components/create/_components.md +0 -1
  29. package/tests/assets/library/components/create/shared/PConnProps.d.ts +0 -45
  30. package/tests/assets/library/components/create/shared/create-nonce.ts +0 -5
  31. package/tests/assets/library/components/create/shared/suggestions-handler.ts +0 -9
  32. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/Boolean.ts +0 -35
  33. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/boolean-format.ts +0 -25
  34. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +0 -173
  35. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx +0 -70
  36. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.test.tsx +0 -19
  37. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/event-utils.ts +0 -18
  38. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +0 -166
  39. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.ts +0 -22
  40. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/styles.ts +0 -8
  41. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +0 -36
  42. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +0 -23
  43. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +0 -92
  44. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.test.tsx +0 -28
  45. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +0 -74
  46. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/localizations.json +0 -8
  47. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/mock.ts +0 -390
  48. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/styles.ts +0 -8
  49. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseview/config.json +0 -15
  50. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseview/demo.stories.tsx +0 -37
  51. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseview/demo.test.tsx +0 -19
  52. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseview/index.tsx +0 -101
  53. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseview/localizations.json +0 -15
  54. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseview/mock.ts +0 -33
  55. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseview/styles.ts +0 -27
  56. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +0 -319
  57. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -68
  58. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.test.tsx +0 -23
  59. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/event-utils.ts +0 -18
  60. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +0 -280
  61. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.ts +0 -33
  62. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/styles.ts +0 -8
  63. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/DateFormatter.ts +0 -61
  64. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/FormattedText.tsx +0 -20
  65. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +0 -227
  66. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/date.ts +0 -415
  67. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx +0 -86
  68. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/demo.test.tsx +0 -52
  69. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +0 -261
  70. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/mock.ts +0 -25
  71. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/styles.ts +0 -8
  72. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +0 -284
  73. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-time.ts +0 -92
  74. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-utils.ts +0 -288
  75. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/date.ts +0 -331
  76. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -86
  77. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.test.tsx +0 -72
  78. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +0 -252
  79. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/mock.ts +0 -27
  80. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/styles.ts +0 -8
  81. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +0 -306
  82. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -63
  83. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.test.tsx +0 -21
  84. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/event-utils.ts +0 -18
  85. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +0 -245
  86. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/mock.ts +0 -30
  87. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/styles.ts +0 -8
  88. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/Avatar.tsx +0 -75
  89. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/DetailsRender.tsx +0 -52
  90. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/HighlightRender.tsx +0 -45
  91. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/OneColumnDetails.svg +0 -22
  92. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/Operator.tsx +0 -215
  93. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/StatusWork.tsx +0 -25
  94. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +0 -35
  95. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +0 -206
  96. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.test.tsx +0 -47
  97. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +0 -101
  98. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/mock.ts +0 -248
  99. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/styles.ts +0 -24
  100. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/utils.js +0 -151
  101. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +0 -139
  102. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.tsx +0 -63
  103. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.test.tsx +0 -20
  104. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/event-utils.ts +0 -18
  105. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +0 -213
  106. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/mock.ts +0 -31
  107. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/styles.ts +0 -8
  108. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/DefaultForm.svg +0 -29
  109. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/DetailsRender.tsx +0 -59
  110. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +0 -45
  111. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.tsx +0 -252
  112. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/demo.test.tsx +0 -40
  113. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +0 -69
  114. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/mock.ts +0 -139
  115. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/styles.ts +0 -8
  116. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +0 -67
  117. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +0 -110
  118. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.test.tsx +0 -27
  119. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/index.tsx +0 -215
  120. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/localizations.json +0 -10
  121. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/mock.ts +0 -4
  122. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/styles.ts +0 -8
  123. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +0 -372
  124. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx +0 -63
  125. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.test.tsx +0 -18
  126. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.ts +0 -18
  127. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +0 -303
  128. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts +0 -29
  129. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/styles.ts +0 -8
  130. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/GetNextWork.tsx +0 -44
  131. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/OneColumnPage.svg +0 -36
  132. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +0 -32
  133. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +0 -123
  134. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/demo.test.tsx +0 -24
  135. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +0 -72
  136. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/localizations.json +0 -6
  137. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/mock.ts +0 -94
  138. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/styles.ts +0 -8
  139. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/utils.ts +0 -229
  140. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +0 -74
  141. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +0 -36
  142. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Operator.tsx +0 -215
  143. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +0 -66
  144. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +0 -76
  145. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.test.tsx +0 -29
  146. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -114
  147. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/mock.ts +0 -52
  148. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/styles.ts +0 -8
  149. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/OneColumnPage.svg +0 -36
  150. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +0 -59
  151. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +0 -125
  152. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.test.tsx +0 -36
  153. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +0 -110
  154. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/localizations.json +0 -10
  155. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/mock.ts +0 -25
  156. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/styles.ts +0 -8
  157. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +0 -139
  158. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx +0 -63
  159. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.test.tsx +0 -21
  160. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/event-utils.ts +0 -18
  161. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +0 -211
  162. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.ts +0 -28
  163. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/styles.ts +0 -8
  164. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +0 -121
  165. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -64
  166. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.test.tsx +0 -18
  167. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.ts +0 -18
  168. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +0 -263
  169. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.ts +0 -29
  170. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/styles.ts +0 -8
  171. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +0 -151
  172. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.tsx +0 -61
  173. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.test.tsx +0 -23
  174. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.ts +0 -18
  175. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +0 -246
  176. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/mock.ts +0 -45
  177. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/styles.ts +0 -8
  178. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +0 -142
  179. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.tsx +0 -99
  180. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.test.tsx +0 -25
  181. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.ts +0 -18
  182. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +0 -342
  183. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.ts +0 -76
  184. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/styles.ts +0 -8
  185. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +0 -141
  186. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +0 -102
  187. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/demo.test.tsx +0 -29
  188. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/event-utils.ts +0 -18
  189. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +0 -201
  190. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/mock.ts +0 -75
  191. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/styles.ts +0 -8
  192. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/textformat-utils.tsx +0 -162
  193. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/component-constants.ts +0 -5
  194. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +0 -143
  195. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/date.ts +0 -163
  196. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.stories.tsx +0 -107
  197. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.test.tsx +0 -33
  198. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/embed-utils.ts +0 -314
  199. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/event-utils.ts +0 -18
  200. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/format-constants.ts +0 -41
  201. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +0 -1152
  202. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/localizations.json +0 -5
  203. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/mock.ts +0 -74
  204. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/picklist-utils.ts +0 -88
  205. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-constants.ts +0 -20
  206. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -655
  207. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/styles.ts +0 -8
  208. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/textformat-utils.tsx +0 -181
  209. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/utils.ts +0 -221
  210. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/config.json +0 -58
  211. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.tsx +0 -67
  212. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/demo.test.tsx +0 -19
  213. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +0 -146
  214. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/mock.ts +0 -21
  215. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/styles.ts +0 -8
  216. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/StatusWork.tsx +0 -25
  217. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +0 -139
  218. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx +0 -63
  219. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.test.tsx +0 -20
  220. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.ts +0 -18
  221. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +0 -225
  222. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/mock.ts +0 -30
  223. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/styles.ts +0 -8
  224. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +0 -213
  225. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +0 -65
  226. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.test.tsx +0 -33
  227. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +0 -210
  228. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.ts +0 -21
  229. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/styles.ts +0 -8
  230. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/time-of-day.ts +0 -288
  231. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +0 -75
  232. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +0 -52
  233. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +0 -45
  234. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +0 -215
  235. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +0 -25
  236. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +0 -28
  237. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +0 -42
  238. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +0 -221
  239. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.test.tsx +0 -58
  240. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +0 -87
  241. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.ts +0 -288
  242. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/styles.ts +0 -23
  243. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/utils.ts +0 -149
  244. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +0 -59
  245. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +0 -38
  246. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +0 -27
  247. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +0 -269
  248. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.test.tsx +0 -56
  249. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +0 -74
  250. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/mock.ts +0 -145
  251. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/styles.ts +0 -8
  252. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +0 -265
  253. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.tsx +0 -60
  254. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/demo.test.tsx +0 -20
  255. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/event-utils.ts +0 -18
  256. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +0 -204
  257. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/mock.ts +0 -30
  258. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/styles.ts +0 -8
  259. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/text-url.tsx +0 -179
  260. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/config.json +0 -15
  261. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/demo.stories.tsx +0 -36
  262. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/demo.test.tsx +0 -18
  263. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/index.tsx +0 -64
  264. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/localizations.json +0 -9
  265. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/mock.ts +0 -27
  266. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/styles.ts +0 -27
  267. package/tests/assets/library/components/createAll/Constellation/_components.md +0 -1
  268. package/tests/assets/library/components/createAll/Constellation/shared/PConnProps.d.ts +0 -45
  269. package/tests/assets/library/components/createAll/Constellation/shared/create-nonce.ts +0 -5
  270. package/tests/assets/library/components/createAll/Constellation/shared/suggestions-handler.ts +0 -9
  271. package/tests/assets/library/components/createAll/Launchpad/_components.md +0 -1
  272. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/PConnProps.d.ts +0 -45
  273. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/config.json +0 -58
  274. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/create-nonce.ts +0 -5
  275. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/demo.stories.tsx +0 -67
  276. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/demo.test.tsx +0 -19
  277. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/index.tsx +0 -146
  278. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/mock.ts +0 -21
  279. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/styles.ts +0 -8
  280. package/tests/assets/original/components/create/_components.md +0 -1
  281. package/tests/assets/original/components/create/shared/PConnProps.d.ts +0 -45
  282. package/tests/assets/original/components/create/shared/create-nonce.ts +0 -5
  283. package/tests/assets/original/components/create/shared/suggestions-handler.ts +0 -9
  284. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/Boolean.ts +0 -35
  285. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/PConnProps.d.ts +0 -46
  286. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/boolean-format.ts +0 -25
  287. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +0 -173
  288. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/create-nonce.ts +0 -5
  289. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx +0 -70
  290. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/demo.test.tsx +0 -19
  291. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/event-utils.ts +0 -18
  292. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +0 -166
  293. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.ts +0 -22
  294. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/styles.ts +0 -8
  295. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +0 -36
  296. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +0 -46
  297. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +0 -23
  298. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/create-nonce.ts +0 -5
  299. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +0 -92
  300. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.test.tsx +0 -28
  301. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +0 -74
  302. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/localizations.json +0 -8
  303. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/mock.ts +0 -390
  304. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/styles.ts +0 -8
  305. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseview/config.json +0 -15
  306. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseview/demo.stories.tsx +0 -37
  307. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseview/demo.test.tsx +0 -19
  308. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseview/index.tsx +0 -101
  309. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseview/localizations.json +0 -15
  310. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseview/mock.ts +0 -33
  311. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseview/styles.ts +0 -27
  312. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/PConnProps.d.ts +0 -46
  313. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +0 -319
  314. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/create-nonce.ts +0 -5
  315. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -68
  316. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.test.tsx +0 -23
  317. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/event-utils.ts +0 -18
  318. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +0 -280
  319. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/mock.ts +0 -33
  320. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/styles.ts +0 -8
  321. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/suggestions-handler.ts +0 -9
  322. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/DateFormatter.ts +0 -61
  323. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/FormattedText.tsx +0 -20
  324. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/PConnProps.d.ts +0 -46
  325. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +0 -227
  326. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/create-nonce.ts +0 -5
  327. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/date.ts +0 -415
  328. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/demo.stories.tsx +0 -86
  329. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/demo.test.tsx +0 -52
  330. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +0 -261
  331. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/mock.ts +0 -25
  332. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/styles.ts +0 -8
  333. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/suggestions-handler.ts +0 -9
  334. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/PConnProps.d.ts +0 -46
  335. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +0 -284
  336. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/create-nonce.ts +0 -5
  337. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-time.ts +0 -92
  338. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/date-utils.ts +0 -288
  339. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/date.ts +0 -331
  340. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -86
  341. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/demo.test.tsx +0 -72
  342. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +0 -252
  343. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/mock.ts +0 -27
  344. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/styles.ts +0 -8
  345. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/suggestions-handler.ts +0 -9
  346. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/PConnProps.d.ts +0 -46
  347. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +0 -306
  348. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/create-nonce.ts +0 -5
  349. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -63
  350. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.test.tsx +0 -21
  351. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/event-utils.ts +0 -18
  352. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +0 -245
  353. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/mock.ts +0 -30
  354. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/styles.ts +0 -8
  355. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/suggestions-handler.ts +0 -9
  356. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/Avatar.tsx +0 -75
  357. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/DetailsRender.tsx +0 -52
  358. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/HighlightRender.tsx +0 -45
  359. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/OneColumnDetails.svg +0 -22
  360. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/Operator.tsx +0 -215
  361. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/PConnProps.d.ts +0 -46
  362. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/StatusWork.tsx +0 -25
  363. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +0 -35
  364. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/create-nonce.ts +0 -5
  365. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +0 -206
  366. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.test.tsx +0 -47
  367. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +0 -101
  368. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/mock.ts +0 -248
  369. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/styles.ts +0 -24
  370. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/utils.js +0 -151
  371. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/PConnProps.d.ts +0 -45
  372. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +0 -139
  373. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/create-nonce.ts +0 -5
  374. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.tsx +0 -63
  375. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.test.tsx +0 -20
  376. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/event-utils.ts +0 -18
  377. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +0 -213
  378. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/mock.ts +0 -31
  379. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/styles.ts +0 -8
  380. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/suggestions-handler.ts +0 -9
  381. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/DefaultForm.svg +0 -29
  382. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/DetailsRender.tsx +0 -59
  383. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/PConnProps.d.ts +0 -46
  384. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +0 -45
  385. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/create-nonce.ts +0 -5
  386. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/demo.stories.tsx +0 -252
  387. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/demo.test.tsx +0 -40
  388. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +0 -69
  389. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/mock.ts +0 -139
  390. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/styles.ts +0 -8
  391. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/PConnProps.d.ts +0 -46
  392. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +0 -67
  393. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/create-nonce.ts +0 -5
  394. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +0 -110
  395. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.test.tsx +0 -27
  396. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/index.tsx +0 -215
  397. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/localizations.json +0 -10
  398. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/mock.ts +0 -4
  399. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/styles.ts +0 -8
  400. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/PConnProps.d.ts +0 -46
  401. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +0 -372
  402. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/create-nonce.ts +0 -5
  403. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx +0 -63
  404. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.test.tsx +0 -18
  405. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.ts +0 -18
  406. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +0 -303
  407. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts +0 -29
  408. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/styles.ts +0 -8
  409. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.ts +0 -9
  410. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/GetNextWork.tsx +0 -44
  411. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/OneColumnPage.svg +0 -36
  412. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/PConnProps.d.ts +0 -46
  413. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +0 -32
  414. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/create-nonce.ts +0 -5
  415. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +0 -123
  416. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/demo.test.tsx +0 -24
  417. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +0 -72
  418. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/localizations.json +0 -6
  419. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/mock.ts +0 -94
  420. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/styles.ts +0 -8
  421. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/utils.ts +0 -229
  422. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +0 -74
  423. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +0 -36
  424. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/Operator.tsx +0 -215
  425. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +0 -46
  426. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +0 -66
  427. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +0 -5
  428. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +0 -76
  429. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/demo.test.tsx +0 -29
  430. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -114
  431. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/mock.ts +0 -52
  432. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/styles.ts +0 -8
  433. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/OneColumnPage.svg +0 -36
  434. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/PConnProps.d.ts +0 -46
  435. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +0 -59
  436. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/create-nonce.ts +0 -5
  437. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +0 -125
  438. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.test.tsx +0 -36
  439. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +0 -110
  440. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/localizations.json +0 -10
  441. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/mock.ts +0 -25
  442. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/styles.ts +0 -8
  443. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/PConnProps.d.ts +0 -46
  444. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +0 -139
  445. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/create-nonce.ts +0 -5
  446. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx +0 -63
  447. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.test.tsx +0 -21
  448. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/event-utils.ts +0 -18
  449. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +0 -211
  450. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.ts +0 -28
  451. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/styles.ts +0 -8
  452. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/suggestions-handler.ts +0 -9
  453. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/PConnProps.d.ts +0 -46
  454. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +0 -121
  455. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/create-nonce.ts +0 -5
  456. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -64
  457. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.test.tsx +0 -18
  458. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.ts +0 -18
  459. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +0 -263
  460. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/mock.ts +0 -29
  461. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/styles.ts +0 -8
  462. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/suggestions-handler.ts +0 -9
  463. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/PConnProps.d.ts +0 -46
  464. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +0 -151
  465. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/create-nonce.ts +0 -5
  466. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.tsx +0 -61
  467. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.test.tsx +0 -23
  468. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.ts +0 -18
  469. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +0 -246
  470. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/mock.ts +0 -45
  471. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/styles.ts +0 -8
  472. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/suggestions-handler.ts +0 -9
  473. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/PConnProps.d.ts +0 -46
  474. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +0 -142
  475. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/create-nonce.ts +0 -5
  476. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.stories.tsx +0 -99
  477. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/demo.test.tsx +0 -25
  478. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.ts +0 -18
  479. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +0 -342
  480. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.ts +0 -76
  481. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/styles.ts +0 -8
  482. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/suggestions-handler.ts +0 -9
  483. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/PConnProps.d.ts +0 -45
  484. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +0 -141
  485. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/create-nonce.ts +0 -5
  486. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +0 -102
  487. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/demo.test.tsx +0 -29
  488. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/event-utils.ts +0 -18
  489. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +0 -201
  490. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/mock.ts +0 -75
  491. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/styles.ts +0 -8
  492. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/suggestions-handler.ts +0 -9
  493. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/textformat-utils.tsx +0 -162
  494. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/PConnProps.d.ts +0 -45
  495. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/component-constants.ts +0 -5
  496. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +0 -143
  497. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/create-nonce.ts +0 -5
  498. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/date.ts +0 -163
  499. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.stories.tsx +0 -107
  500. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/demo.test.tsx +0 -33
  501. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/embed-utils.ts +0 -314
  502. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/event-utils.ts +0 -18
  503. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/format-constants.ts +0 -41
  504. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +0 -1152
  505. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/localizations.json +0 -5
  506. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/mock.ts +0 -74
  507. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/picklist-utils.ts +0 -88
  508. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-constants.ts +0 -20
  509. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -655
  510. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/styles.ts +0 -8
  511. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/suggestions-handler.ts +0 -9
  512. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/textformat-utils.tsx +0 -181
  513. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/utils.ts +0 -221
  514. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/PConnProps.d.ts +0 -45
  515. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/config.json +0 -58
  516. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/create-nonce.ts +0 -5
  517. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/demo.stories.tsx +0 -67
  518. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/demo.test.tsx +0 -19
  519. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +0 -146
  520. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/mock.ts +0 -21
  521. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/styles.ts +0 -8
  522. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/PConnProps.d.ts +0 -46
  523. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/StatusWork.tsx +0 -25
  524. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +0 -139
  525. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/create-nonce.ts +0 -5
  526. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx +0 -63
  527. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.test.tsx +0 -20
  528. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.ts +0 -18
  529. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +0 -225
  530. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/mock.ts +0 -30
  531. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/styles.ts +0 -8
  532. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/suggestions-handler.ts +0 -9
  533. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +0 -46
  534. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +0 -213
  535. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/create-nonce.ts +0 -5
  536. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +0 -65
  537. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/demo.test.tsx +0 -33
  538. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +0 -210
  539. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.ts +0 -21
  540. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/styles.ts +0 -8
  541. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +0 -9
  542. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/time-of-day.ts +0 -288
  543. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +0 -75
  544. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +0 -52
  545. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +0 -45
  546. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +0 -215
  547. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +0 -46
  548. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +0 -25
  549. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +0 -28
  550. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +0 -42
  551. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +0 -5
  552. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +0 -221
  553. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/demo.test.tsx +0 -58
  554. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +0 -87
  555. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.ts +0 -288
  556. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/styles.ts +0 -23
  557. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/utils.ts +0 -149
  558. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +0 -59
  559. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +0 -46
  560. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +0 -38
  561. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +0 -27
  562. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +0 -5
  563. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +0 -269
  564. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/demo.test.tsx +0 -56
  565. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +0 -74
  566. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/mock.ts +0 -145
  567. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/styles.ts +0 -8
  568. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/PConnProps.d.ts +0 -46
  569. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +0 -265
  570. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/create-nonce.ts +0 -5
  571. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.tsx +0 -60
  572. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/demo.test.tsx +0 -20
  573. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/event-utils.ts +0 -18
  574. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +0 -204
  575. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/mock.ts +0 -30
  576. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/styles.ts +0 -8
  577. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.ts +0 -9
  578. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/text-url.tsx +0 -179
  579. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/config.json +0 -15
  580. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/demo.stories.tsx +0 -36
  581. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/demo.test.tsx +0 -18
  582. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/index.tsx +0 -64
  583. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/localizations.json +0 -9
  584. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/mock.ts +0 -27
  585. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyWsscaseview/styles.ts +0 -27
  586. package/tests/assets/original/components/createAll/Constellation/_components.md +0 -1
  587. package/tests/assets/original/components/createAll/Constellation/shared/PConnProps.d.ts +0 -45
  588. package/tests/assets/original/components/createAll/Constellation/shared/create-nonce.ts +0 -5
  589. package/tests/assets/original/components/createAll/Constellation/shared/suggestions-handler.ts +0 -9
  590. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/Boolean.ts +0 -35
  591. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/PConnProps.d.ts +0 -46
  592. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/boolean-format.ts +0 -25
  593. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/config.json +0 -173
  594. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/create-nonce.ts +0 -5
  595. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.stories.tsx +0 -70
  596. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/demo.test.tsx +0 -19
  597. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.ts +0 -18
  598. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.tsx +0 -166
  599. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/mock.ts +0 -22
  600. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/styles.ts +0 -8
  601. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +0 -36
  602. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +0 -46
  603. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/config.json +0 -23
  604. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/create-nonce.ts +0 -5
  605. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.stories.tsx +0 -92
  606. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/demo.test.tsx +0 -28
  607. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.tsx +0 -73
  608. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/mock.ts +0 -391
  609. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/styles.ts +0 -8
  610. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseview/config.json +0 -15
  611. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseview/demo.stories.tsx +0 -37
  612. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseview/demo.test.tsx +0 -19
  613. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseview/index.tsx +0 -101
  614. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseview/localizations.json +0 -15
  615. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseview/mock.ts +0 -33
  616. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseview/styles.ts +0 -27
  617. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/PConnProps.d.ts +0 -46
  618. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/config.json +0 -319
  619. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/create-nonce.ts +0 -5
  620. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -68
  621. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.test.tsx +0 -23
  622. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/event-utils.ts +0 -18
  623. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.tsx +0 -280
  624. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.ts +0 -33
  625. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/styles.ts +0 -8
  626. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/suggestions-handler.ts +0 -9
  627. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/DateFormatter.ts +0 -61
  628. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/FormattedText.tsx +0 -20
  629. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/PConnProps.d.ts +0 -46
  630. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/config.json +0 -227
  631. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/create-nonce.ts +0 -5
  632. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/date.ts +0 -415
  633. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.stories.tsx +0 -86
  634. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/demo.test.tsx +0 -52
  635. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/index.tsx +0 -261
  636. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.ts +0 -25
  637. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/styles.ts +0 -8
  638. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/suggestions-handler.ts +0 -9
  639. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/PConnProps.d.ts +0 -46
  640. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/config.json +0 -284
  641. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/create-nonce.ts +0 -5
  642. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-time.ts +0 -92
  643. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date-utils.ts +0 -288
  644. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/date.ts +0 -331
  645. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -86
  646. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/demo.test.tsx +0 -72
  647. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.tsx +0 -252
  648. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/mock.ts +0 -27
  649. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/styles.ts +0 -8
  650. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.ts +0 -9
  651. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/PConnProps.d.ts +0 -46
  652. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/config.json +0 -306
  653. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/create-nonce.ts +0 -5
  654. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -63
  655. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.test.tsx +0 -21
  656. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/event-utils.ts +0 -18
  657. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.tsx +0 -245
  658. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.ts +0 -30
  659. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/styles.ts +0 -8
  660. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/suggestions-handler.ts +0 -9
  661. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/Avatar.tsx +0 -75
  662. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/DetailsRender.tsx +0 -52
  663. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/HighlightRender.tsx +0 -45
  664. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/OneColumnDetails.svg +0 -22
  665. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/Operator.tsx +0 -215
  666. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/PConnProps.d.ts +0 -46
  667. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/StatusWork.tsx +0 -25
  668. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/config.json +0 -35
  669. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/create-nonce.ts +0 -5
  670. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx +0 -206
  671. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.test.tsx +0 -47
  672. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.tsx +0 -101
  673. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/mock.ts +0 -248
  674. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/styles.ts +0 -24
  675. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/utils.js +0 -151
  676. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/PConnProps.d.ts +0 -45
  677. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/config.json +0 -139
  678. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/create-nonce.ts +0 -5
  679. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.tsx +0 -63
  680. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.test.tsx +0 -20
  681. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/event-utils.ts +0 -18
  682. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.tsx +0 -213
  683. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.ts +0 -31
  684. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/styles.ts +0 -8
  685. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/suggestions-handler.ts +0 -9
  686. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/DefaultForm.svg +0 -29
  687. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/DetailsRender.tsx +0 -59
  688. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/PConnProps.d.ts +0 -46
  689. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/config.json +0 -45
  690. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/create-nonce.ts +0 -5
  691. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/demo.stories.tsx +0 -252
  692. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/demo.test.tsx +0 -40
  693. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/index.tsx +0 -69
  694. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/mock.ts +0 -135
  695. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/styles.ts +0 -8
  696. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/PConnProps.d.ts +0 -46
  697. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/config.json +0 -35
  698. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/create-nonce.ts +0 -5
  699. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +0 -110
  700. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/demo.test.tsx +0 -27
  701. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/index.tsx +0 -213
  702. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/mock.ts +0 -4
  703. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/styles.ts +0 -8
  704. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/PConnProps.d.ts +0 -46
  705. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/config.json +0 -372
  706. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/create-nonce.ts +0 -5
  707. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.tsx +0 -63
  708. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.test.tsx +0 -18
  709. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/event-utils.ts +0 -18
  710. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.tsx +0 -303
  711. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/mock.ts +0 -29
  712. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/styles.ts +0 -8
  713. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.ts +0 -9
  714. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/GetNextWork.tsx +0 -44
  715. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/OneColumnPage.svg +0 -36
  716. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/PConnProps.d.ts +0 -46
  717. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/config.json +0 -32
  718. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/create-nonce.ts +0 -5
  719. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.tsx +0 -123
  720. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.test.tsx +0 -24
  721. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/index.tsx +0 -72
  722. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/localizations.json +0 -6
  723. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/mock.ts +0 -94
  724. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/styles.ts +0 -8
  725. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/utils.ts +0 -229
  726. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +0 -75
  727. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +0 -36
  728. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/Operator.tsx +0 -210
  729. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +0 -46
  730. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/config.json +0 -55
  731. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +0 -5
  732. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +0 -81
  733. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/demo.test.tsx +0 -19
  734. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -90
  735. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/mock.ts +0 -51
  736. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/styles.ts +0 -8
  737. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/OneColumnPage.svg +0 -36
  738. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/PConnProps.d.ts +0 -46
  739. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/config.json +0 -59
  740. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/create-nonce.ts +0 -5
  741. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.stories.tsx +0 -127
  742. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/demo.test.tsx +0 -36
  743. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.tsx +0 -107
  744. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/mock.ts +0 -24
  745. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/styles.ts +0 -8
  746. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/PConnProps.d.ts +0 -46
  747. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/config.json +0 -139
  748. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/create-nonce.ts +0 -5
  749. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.tsx +0 -63
  750. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.test.tsx +0 -21
  751. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/event-utils.ts +0 -18
  752. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.tsx +0 -211
  753. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/mock.ts +0 -28
  754. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/styles.ts +0 -8
  755. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/suggestions-handler.ts +0 -9
  756. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/PConnProps.d.ts +0 -46
  757. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/config.json +0 -121
  758. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/create-nonce.ts +0 -5
  759. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -64
  760. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.test.tsx +0 -18
  761. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/event-utils.ts +0 -18
  762. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.tsx +0 -263
  763. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/mock.ts +0 -29
  764. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/styles.ts +0 -8
  765. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/suggestions-handler.ts +0 -9
  766. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/PConnProps.d.ts +0 -46
  767. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/config.json +0 -146
  768. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/create-nonce.ts +0 -5
  769. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.tsx +0 -61
  770. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.test.tsx +0 -23
  771. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/event-utils.ts +0 -18
  772. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.tsx +0 -246
  773. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/mock.ts +0 -40
  774. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/styles.ts +0 -8
  775. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/suggestions-handler.ts +0 -9
  776. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/PConnProps.d.ts +0 -46
  777. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/config.json +0 -142
  778. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/create-nonce.ts +0 -5
  779. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.stories.tsx +0 -99
  780. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/demo.test.tsx +0 -25
  781. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.ts +0 -18
  782. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.tsx +0 -342
  783. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.ts +0 -76
  784. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/styles.ts +0 -8
  785. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/suggestions-handler.ts +0 -9
  786. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/PConnProps.d.ts +0 -45
  787. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/config.json +0 -141
  788. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/create-nonce.ts +0 -5
  789. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +0 -102
  790. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/demo.test.tsx +0 -29
  791. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/event-utils.ts +0 -18
  792. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/index.tsx +0 -201
  793. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/mock.ts +0 -75
  794. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/styles.ts +0 -8
  795. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/suggestions-handler.ts +0 -9
  796. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/textformat-utils.tsx +0 -162
  797. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/PConnProps.d.ts +0 -45
  798. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/component-constants.ts +0 -5
  799. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/config.json +0 -143
  800. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/create-nonce.ts +0 -5
  801. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/date.ts +0 -163
  802. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/demo.stories.tsx +0 -107
  803. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/demo.test.tsx +0 -33
  804. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/embed-utils.ts +0 -314
  805. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/event-utils.ts +0 -18
  806. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/format-constants.ts +0 -41
  807. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/index.tsx +0 -1152
  808. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/localizations.json +0 -5
  809. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/mock.ts +0 -74
  810. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/picklist-utils.ts +0 -88
  811. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/repeat-constants.ts +0 -20
  812. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -655
  813. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/styles.ts +0 -8
  814. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/suggestions-handler.ts +0 -9
  815. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/textformat-utils.tsx +0 -181
  816. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/utils.ts +0 -221
  817. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/PConnProps.d.ts +0 -45
  818. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/config.json +0 -58
  819. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/create-nonce.ts +0 -5
  820. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/demo.stories.tsx +0 -67
  821. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/demo.test.tsx +0 -19
  822. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/index.tsx +0 -146
  823. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/mock.ts +0 -21
  824. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/styles.ts +0 -8
  825. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/PConnProps.d.ts +0 -46
  826. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/StatusWork.tsx +0 -25
  827. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/config.json +0 -139
  828. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/create-nonce.ts +0 -5
  829. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.tsx +0 -63
  830. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.test.tsx +0 -20
  831. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/event-utils.ts +0 -18
  832. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.tsx +0 -225
  833. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/mock.ts +0 -30
  834. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/styles.ts +0 -8
  835. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/suggestions-handler.ts +0 -9
  836. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +0 -46
  837. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/config.json +0 -213
  838. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/create-nonce.ts +0 -5
  839. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +0 -65
  840. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/demo.test.tsx +0 -33
  841. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.tsx +0 -210
  842. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/mock.ts +0 -21
  843. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/styles.ts +0 -8
  844. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +0 -9
  845. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/time-of-day.ts +0 -288
  846. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +0 -75
  847. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +0 -52
  848. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +0 -45
  849. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +0 -215
  850. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +0 -46
  851. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +0 -25
  852. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +0 -28
  853. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/config.json +0 -42
  854. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +0 -5
  855. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +0 -221
  856. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.test.tsx +0 -58
  857. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.tsx +0 -87
  858. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/mock.ts +0 -288
  859. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/styles.ts +0 -23
  860. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/utils.ts +0 -149
  861. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +0 -59
  862. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +0 -46
  863. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +0 -38
  864. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/config.json +0 -27
  865. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +0 -5
  866. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +0 -269
  867. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/demo.test.tsx +0 -56
  868. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx +0 -74
  869. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/mock.ts +0 -141
  870. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/styles.ts +0 -8
  871. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/PConnProps.d.ts +0 -46
  872. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/config.json +0 -265
  873. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/create-nonce.ts +0 -5
  874. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.tsx +0 -60
  875. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.test.tsx +0 -20
  876. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/event-utils.ts +0 -18
  877. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/index.tsx +0 -204
  878. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.ts +0 -30
  879. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/styles.ts +0 -8
  880. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.ts +0 -9
  881. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/text-url.tsx +0 -179
  882. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyWsscaseview/config.json +0 -15
  883. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyWsscaseview/demo.stories.tsx +0 -36
  884. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyWsscaseview/demo.test.tsx +0 -18
  885. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyWsscaseview/index.tsx +0 -64
  886. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyWsscaseview/localizations.json +0 -9
  887. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyWsscaseview/mock.ts +0 -27
  888. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyWsscaseview/styles.ts +0 -27
  889. package/tests/assets/original/components/createAll/Launchpad/_components.md +0 -1
  890. package/tests/assets/original/components/createAll/Launchpad/shared/PConnProps.d.ts +0 -45
  891. package/tests/assets/original/components/createAll/Launchpad/shared/create-nonce.ts +0 -5
  892. package/tests/assets/original/components/createAll/Launchpad/shared/suggestions-handler.ts +0 -9
  893. package/tests/functional/localCreateAllListDeleteAll.test.js +0 -224
  894. package/tests/functional/localCreateBuildAllDeleteAll.test.js +0 -219
  895. package/tests/functional/localCreateBuildDelete.test.js +0 -143
  896. package/tests/functional/localCreateListDelete.test.js +0 -170
  897. package/tests/functional/localCreatePublishAllDeleteAll.test.js +0 -220
  898. package/tests/functional/localCreatePublishDelete.test.js +0 -146
  899. package/tests/functional/localCreateRenameDelete.test.js +0 -144
  900. package/tests/functional/localLibCreateLibAlreadyDeleteLib.test.js +0 -118
  901. package/tests/functional/localLibCreateLibBuildLibDeleteLib.test.js +0 -241
  902. package/tests/functional/localLibCreateLibBuildLibListPubDeleteLib.test.js +0 -246
  903. package/tests/functional/localLibCreateLibDeleteLib.test.js +0 -161
  904. package/tests/functional/localLibCreateLibExportImportLib.test.js +0 -242
  905. package/tests/functional/localLibCreateLibExportLib.test.js +0 -219
  906. package/tests/functional/localLibCreateLibImportCompDeleteLib.test.js +0 -131
  907. package/tests/functional/localLibCreateLibListDeleteLib.test.js +0 -261
  908. package/tests/functional/localLibCreateLibListMoveDeleteLib.test.js +0 -236
  909. package/tests/functional/localLibCreateLibListSwitchDeleteLib.test.js +0 -237
  910. package/tests/functional/localLibCreateLibStatusDeleteLib.test.js +0 -178
  911. package/tests/functional/localLibCreateLibStoreRestoreDeleteLib.test.js +0 -376
  912. package/tests/functional/localLibCreateLibValidateDeleteLib.test.js +0 -227
  913. package/tests/functional/localLibCreateLibVersionDeleteLib.test.js +0 -453
  914. package/tests/functional/localPromoteRevertWP.test.js +0 -125
  915. package/tests/unit/util.test.js +0 -544
  916. package/tests/unit/validator-presentation.test.js +0 -37
  917. package/tsconfig.json +0 -21
@@ -1,1152 +0,0 @@
1
- /* eslint-disable sonarjs/cognitive-complexity */
2
- import { useEffect, useRef, useState, useMemo, type MutableRefObject, type SetStateAction } from 'react';
3
- import { ComboBox, menuHelpers, debounce, throttle, Button, Icon, withConfiguration, type MenuGroupProps, type MenuItemProps } from '@pega/cosmos-react-core';
4
- import get from 'lodash.get';
5
- import type { PConnFieldProps } from './PConnProps';
6
- import './create-nonce';
7
-
8
- // includes in bundle
9
- import handleEvent from "./event-utils";
10
- import { suggestionsHandler } from './suggestions-handler';
11
-
12
- import { formatExists, textFormatter } from './textformat-utils';
13
- import { flattenParameters } from './picklist-utils';
14
- import { isSelfReferencedProperty, getDescriptorsFieldName } from './repeat-utils';
15
- import { getFieldNameFromEmbeddedFieldName } from './embed-utils';
16
-
17
- import { usePaginate, useDeepMemo, useIsMount, updatePropertiesForNewRecord } from './utils';
18
-
19
- import StyledPegaDxilMySearchboxWrapper from './styles';
20
-
21
- // interface for props
22
- interface PegaDxilMySearchboxProps extends PConnFieldProps {
23
- // If any, enter additional props that only exist on TextInput here
24
- isTableFormatter?: boolean;
25
- hasSuggestions?: boolean;
26
- formatter: string;
27
- maxResultsDisplay: string;
28
- matchPosition: string;
29
- listType: string;
30
- parameters: any;
31
- columns: Array<any>;
32
- cacheLifeSpan: string;
33
- createNewRecord: any;
34
- onRecordChange: any;
35
- datasourceMetadata: any;
36
- datasource: Array<any>;
37
- deferDatasource: boolean;
38
- additionalProps: any;
39
- referenceType: string;
40
- primaryField: string;
41
- selected: boolean;
42
- actualValue: any;
43
- descriptors: any;
44
- dataRelationshipContext: any;
45
- contextClass: string;
46
- isSearchableOnKey: boolean;
47
- }
48
-
49
- interface PegaDxilMySearchboxPropsSubSet {
50
- selected: any;
51
- actualValue: any;
52
- isTableFormatter?: boolean;
53
- formatter: string;
54
- }
55
-
56
- // interface for StateProps object
57
- interface StateProps {
58
- value: string;
59
- hasSuggestions: boolean;
60
- }
61
-
62
-
63
- export const preProcessColumns = (columns: Array<any>) => {
64
- return columns.map(col => {
65
- const tempColObj = { ...col };
66
- tempColObj.value = col.value && col.value.startsWith('.') ? col.value.substring(1) : col.value;
67
- return tempColObj;
68
- });
69
- };
70
-
71
- export const getDisplayFieldsMetaData = (columns: Array<any>) => {
72
- const visibleAndSecondaryColumns = columns.filter(
73
- col => col.display === 'true' || col.secondary === 'true'
74
- );
75
- const metaDataObj = { key: '', primary: '', secondary: [], hidden: [] };
76
- const keyCol = columns.filter(col => col.key === 'true');
77
- metaDataObj.key = keyCol.length > 0 ? keyCol[0].value : 'auto';
78
- for (let index = 0; index < visibleAndSecondaryColumns.length; index += 1) {
79
- if (visibleAndSecondaryColumns[index].primary === 'true') {
80
- metaDataObj.primary = visibleAndSecondaryColumns[index].value;
81
- } else {
82
- if (visibleAndSecondaryColumns[index].display === 'false') {
83
- metaDataObj.hidden.push(visibleAndSecondaryColumns[index].value as never);
84
- }
85
- metaDataObj.secondary.push(visibleAndSecondaryColumns[index].value as never);
86
- }
87
- }
88
- return metaDataObj;
89
- };
90
-
91
- export const buildColumnForDisplayValue = (dataObj: any) => {
92
- if (dataObj.columns) {
93
- dataObj.columns = dataObj.columns.map((column: any) => {
94
- const tempColObj = { ...column };
95
- if (tempColObj.key === 'true') {
96
- tempColObj.useForSearch = true;
97
- } else {
98
- tempColObj.useForSearch = false;
99
- }
100
- return tempColObj;
101
- });
102
- }
103
- };
104
-
105
- export const doSearch = (
106
- searchText: string,
107
- displayFieldMeta: { key: any; primary: any; secondary: any; hidden: any },
108
- dataApiObj: { fetchData?: any; columns?: any; isQueryable?: any; matchPosition?: any },
109
- setItems: {
110
- (value: SetStateAction<Array<never>>): void;
111
- (value: SetStateAction<Array<never>>): void;
112
- (value: SetStateAction<Array<never>>): void;
113
- (arg0: Array<MenuItemProps | MenuGroupProps>): void;
114
- },
115
- setLoading: {
116
- (value: SetStateAction<boolean>): void;
117
- (value: SetStateAction<boolean>): void;
118
- (value: SetStateAction<boolean>): void;
119
- (arg0: boolean): void;
120
- },
121
- hasMoreResults: MutableRefObject<boolean>,
122
- extraProps = {}
123
- ) => {
124
- if (dataApiObj && Object.keys(dataApiObj).length > 0 && dataApiObj.fetchData) {
125
- let columnsWithSetProperty: string | Array<any> = [];
126
- if (dataApiObj.columns) {
127
- columnsWithSetProperty = dataApiObj.columns
128
- .filter(
129
- (col: { setProperty: string }) =>
130
- col.setProperty && col.setProperty !== 'Associated property'
131
- )
132
- .map((col: { value: any }) => {
133
- return col.value;
134
- });
135
- }
136
- let listObjData = {};
137
- dataApiObj
138
- .fetchData(searchText)
139
- .then((response: { data: Array<never> }) => {
140
- listObjData = response.data || [];
141
- // @ts-ignore
142
- const searchedItems = listObjData.map((entry: { [x: string]: any }) => {
143
- const secondaryArr: Array<any> = [];
144
- const secondaryFieldValues: Array<any> = [];
145
- displayFieldMeta.secondary.forEach((col: string) => {
146
- if (!displayFieldMeta.hidden.includes(col)) secondaryArr.push(entry[col]);
147
- if (columnsWithSetProperty.includes(col)) {
148
- if (dataApiObj.isQueryable) {
149
- secondaryFieldValues.push(entry[col]);
150
- } else {
151
- secondaryFieldValues.push(get(entry, getFieldNameFromEmbeddedFieldName(col)));
152
- }
153
- }
154
- });
155
- return {
156
- id: entry[displayFieldMeta.key],
157
- primary: entry[displayFieldMeta.primary],
158
- secondary: secondaryArr,
159
- secondaryFieldValues
160
- };
161
- });
162
- hasMoreResults.current = true;
163
- const {
164
- fetchDisplayValue,
165
- displayItem,
166
- value,
167
- AC_TYPE,
168
- setSelected,
169
- setFilterValue,
170
- paginateHelperApis
171
- } = extraProps as any;
172
- if (dataApiObj.isQueryable === false) {
173
- const progressivePaginatedRecords = paginateHelperApis.getInitialPaginatedRecords(
174
- searchedItems,
175
- dataApiObj.matchPosition
176
- );
177
- const updatedItems = menuHelpers.selectItem(searchedItems, value, AC_TYPE);
178
- const selectedItem = menuHelpers.getSelected(updatedItems)[0];
179
- let listIndex = -1;
180
- const findSelectedItem = progressivePaginatedRecords.find(
181
- // @ts-ignore
182
- (record: { id: string }, index: number) => {
183
- // @ts-ignore
184
- if (record.id === selectedItem?.id) {
185
- listIndex = index;
186
- return true;
187
- }
188
- return false;
189
- }
190
- );
191
- if (!findSelectedItem && selectedItem) {
192
- progressivePaginatedRecords.unshift(selectedItem);
193
- } else if (selectedItem) {
194
- progressivePaginatedRecords.splice(listIndex, 1);
195
- progressivePaginatedRecords.unshift(selectedItem);
196
- }
197
-
198
- if (fetchDisplayValue) {
199
- setItems(progressivePaginatedRecords);
200
- setSelected(selectedItem);
201
- } else {
202
- setItems(progressivePaginatedRecords);
203
- setSelected(displayItem);
204
- }
205
- } else if (dataApiObj.isQueryable) {
206
- if (value && value !== '') {
207
- const updatedItems = menuHelpers.selectItem(searchedItems, value, AC_TYPE);
208
- const selectedItem = menuHelpers.getSelected(updatedItems)[0];
209
- if (!selectedItem) {
210
- let searchedItem: any = [];
211
- if (fetchDisplayValue) {
212
- dataApiObj.matchPosition = 'equals';
213
- buildColumnForDisplayValue(dataApiObj);
214
- dataApiObj.fetchData(value).then((displayResponse: { data: Array<never> }) => {
215
- const displayResponseData = displayResponse.data || [];
216
-
217
- searchedItem = displayResponseData.map((entry: { [x: string]: any }) => {
218
- const secondaryArr: Array<any> = [];
219
- const secondaryFieldValues: Array<any> = [];
220
- displayFieldMeta.secondary.forEach((col: string) => {
221
- if (!displayFieldMeta.hidden.includes(col)) {
222
- secondaryArr.push(entry[col]);
223
- }
224
- if (columnsWithSetProperty.includes(col)) {
225
- if (dataApiObj.isQueryable) {
226
- secondaryFieldValues.push(entry[col]);
227
- } else {
228
- secondaryFieldValues.push(
229
- get(entry, getFieldNameFromEmbeddedFieldName(col))
230
- );
231
- }
232
- }
233
- });
234
- return {
235
- id: entry[displayFieldMeta.key],
236
- primary: entry[displayFieldMeta.primary],
237
- secondary: secondaryArr,
238
- secondaryFieldValues
239
- };
240
- });
241
- setItems(
242
- menuHelpers.selectItem([...searchedItem, ...searchedItems], value, AC_TYPE)
243
- );
244
- setSelected(searchedItem[0]);
245
- setFilterValue('');
246
- });
247
- } else if (displayItem) {
248
- searchedItem = [displayItem];
249
- setItems(
250
- menuHelpers.selectItem([...searchedItem, ...searchedItems], value, AC_TYPE)
251
- );
252
- setSelected(searchedItem[0]);
253
- setFilterValue('');
254
- }
255
- } else {
256
- setItems(searchedItems);
257
- setSelected(selectedItem);
258
- setFilterValue('');
259
- }
260
- } else {
261
- setItems(searchedItems);
262
- if (value === '') {
263
- setSelected(null);
264
- }
265
- }
266
- } else {
267
- setItems(searchedItems);
268
- }
269
- })
270
- .catch(() => {
271
- listObjData = [];
272
- })
273
- .finally(() => {
274
- setLoading(false);
275
- });
276
- }
277
- };
278
-
279
- export const setValuesToPropertyList = (
280
- selectedItem: any,
281
- assocProp: any,
282
- item: any,
283
- columns: Array<any>,
284
- actions: any
285
- ) => {
286
- const setPropertyList = columns
287
- .filter(col => col.setProperty)
288
- .map(col => {
289
- return {
290
- source: col.value,
291
- target: col.setProperty,
292
- key: col.key,
293
- primary: col.value,
294
- secondary: col.secondary
295
- };
296
- });
297
- let valueToSet: any = null;
298
- if (setPropertyList.length > 0) {
299
- let secIndex = 0;
300
- setPropertyList.forEach(prop => {
301
- if (prop.key === 'true' && item) {
302
- valueToSet = item?.id ?? '';
303
- } else if (prop.primary === 'true' || !item) {
304
- valueToSet = selectedItem?.primary ?? '';
305
- }
306
- if (prop.target === 'Associated property') {
307
- handleEvent(actions, 'changeNblur', assocProp, valueToSet);
308
- } else {
309
- actions.updateFieldValue(
310
- `.${prop.target.startsWith('.') ? prop.target.substring(1) : prop.target}`,
311
- item?.secondaryFieldValues[secIndex]
312
- );
313
- actions.triggerFieldChange(
314
- `.${prop.target.startsWith('.') ? prop.target.substring(1) : prop.target}`,
315
- item?.secondaryFieldValues[secIndex],
316
- true
317
- );
318
-
319
- secIndex += 1;
320
- }
321
- });
322
- }
323
- return valueToSet;
324
- };
325
-
326
- export const setValueToAssocProp = (
327
- assocProp: any,
328
- selectedItem: any,
329
- listType: string,
330
- listSource: Array<any>,
331
- actions: any,
332
- columns: Array<any>
333
- ) => {
334
- let searchedEntry: any = null;
335
- let retValue: any;
336
- if (listSource && listSource.length > 0 && listSource[0]) {
337
- searchedEntry = listSource.filter(
338
- item =>
339
- item.id &&
340
- selectedItem?.id &&
341
- item.id.length === selectedItem?.id.length &&
342
- item.id.toString().toLowerCase() === selectedItem?.id.toString().toLowerCase()
343
- );
344
- }
345
- if (listType === 'associated') {
346
- if (searchedEntry && searchedEntry.length > 0 && searchedEntry[0].id) {
347
- retValue = searchedEntry[0].id;
348
- handleEvent(actions, 'changeNblur', assocProp, searchedEntry[0].id);
349
- } else {
350
- retValue = selectedItem?.id ?? '';
351
- handleEvent(actions, 'changeNblur', assocProp, selectedItem?.id);
352
- }
353
- } else if (listType === 'datapage') {
354
- retValue = setValuesToPropertyList(
355
- selectedItem,
356
- assocProp,
357
- searchedEntry?.[0],
358
- columns,
359
- actions
360
- );
361
- }
362
- return retValue;
363
- };
364
-
365
- const DisplayComponent = (props: PegaDxilMySearchboxPropsSubSet) => {
366
- const { selected, actualValue, isTableFormatter, formatter } = props;
367
-
368
- const displayCompValue = selected ? selected.primary : actualValue;
369
- const formattedValue =
370
- isTableFormatter && formatExists(formatter)
371
- ? textFormatter(formatter, displayCompValue)
372
- : displayCompValue;
373
-
374
- return formattedValue || <span aria-hidden='true'>&ndash;&ndash;</span>;
375
- };
376
-
377
-
378
- // Duplicated runtime code from Constellation Design System Component
379
-
380
- // props passed in combination of props from property panel (config.json) and run time props from Constellation
381
- // any default values in config.pros should be set in defaultProps at bottom of this file
382
- function PegaDxilMySearchbox(props: PegaDxilMySearchboxProps) {
383
- const {
384
- getPConnect,
385
- value,
386
- placeholder,
387
- validatemessage,
388
- label,
389
- hideLabel = false,
390
- helperText,
391
- testId,
392
- matchPosition = 'contains',
393
- maxResultsDisplay,
394
- cacheLifeSpan,
395
- displayMode,
396
- onRecordChange,
397
- createNewRecord,
398
- datasourceMetadata,
399
- deferDatasource,
400
- additionalProps = {},
401
- referenceType,
402
- primaryField,
403
- isTableFormatter = false,
404
- descriptors,
405
- dataRelationshipContext,
406
- hasSuggestions = false,
407
- contextClass
408
- } = props;
409
- const { formatter } = props;
410
- let { listType, datasource = [], parameters = {}, columns = [] } = props;
411
-
412
- // enable searhing based on the key
413
- const { isSearchableOnKey } = props;
414
-
415
- const [items, setItems] = useState(() => []);
416
- // eslint-disable-next-line prefer-const
417
- let selectItem: ((id: string, ev?: any) => void) | ((arg0: never) => void);
418
-
419
- // convert associated to datapage listtype and transform props
420
- // Process deferDatasource when datapage name is present. WHhen tableType is promptList / localList
421
- // no need to make any datapage call
422
- if (deferDatasource && datasourceMetadata?.datasource?.name) {
423
- listType = 'datapage';
424
- datasource = datasourceMetadata.datasource.name;
425
- parameters = flattenParameters(datasourceMetadata.datasource.parameters);
426
- let displayProp = datasourceMetadata.datasource.propertyForDisplayText.startsWith('@P')
427
- ? datasourceMetadata.datasource.propertyForDisplayText.substring(3)
428
- : datasourceMetadata.datasource.propertyForDisplayText;
429
- const valueProp = datasourceMetadata.datasource.propertyForValue.startsWith('@P')
430
- ? datasourceMetadata.datasource.propertyForValue.substring(3)
431
- : datasourceMetadata.datasource.propertyForValue;
432
- if (displayProp === '') {
433
- displayProp = valueProp;
434
- }
435
- let hasKey = false;
436
- let hasAPrimaryColumn = false;
437
- columns?.forEach(column => {
438
- if (!hasKey && column.key === 'true') {
439
- hasKey = true;
440
- }
441
- if (!hasAPrimaryColumn && column.primary === 'true') {
442
- hasAPrimaryColumn = true;
443
- }
444
- });
445
- if (!hasKey) {
446
- columns = [
447
- ...columns,
448
- {
449
- key: 'true',
450
- setProperty: 'Associated property',
451
- value: valueProp
452
- }
453
- ];
454
- }
455
- if (!hasAPrimaryColumn) {
456
- columns = [
457
- ...columns,
458
- {
459
- display: 'true',
460
- primary: 'true',
461
- useForSearch: true,
462
- value: displayProp
463
- }
464
- ];
465
- }
466
-
467
- // to make the Autosearch Searchable on the key value
468
- if (isSearchableOnKey) {
469
- const existingColObj = columns.filter(col => col.value === valueProp);
470
- if (existingColObj) {
471
- columns.forEach(col => {
472
- if (col.value === valueProp) {
473
- col.useForSearch = true;
474
- col.display = 'true';
475
- col.secondary = 'true';
476
- }
477
- });
478
- } else {
479
- columns = [
480
- ...columns,
481
- {
482
- display: 'true',
483
- secondary: 'true',
484
- useForSearch: true,
485
- value: valueProp
486
- }
487
- ];
488
- }
489
- }
490
- }
491
-
492
- // BUG-547602: Temporary type coercion for 8.5 until DXAPIs are enhanced to pass original pxViewMetadata JSON, respecting boolean primitives
493
- let { readOnly = false, required = false, disabled = false } = props;
494
- [readOnly, required, disabled] = [readOnly, required, disabled].map(
495
- prop => prop === true || (typeof prop === 'string' && prop === 'true')
496
- );
497
-
498
- const AC_TYPE = 'single-select';
499
- const pConn = getPConnect();
500
- const contextName = getPConnect().getContextName();
501
- const actions = pConn.getActionsApi();
502
- const [dataApiObj, setDataApiObj] = useState(() => ({} as any));
503
- const [filterValue, setFilterValue] = useState('');
504
- const [loading, setLoading] = useState(listType !== 'associated');
505
- // const selected = useMemo(() => menuHelpers.getSelected(items)[0], [items]);
506
- const [selected, setSelected] = useState();
507
- const hasMoreResults = useRef(true);
508
- const inputValueRef = useRef('');
509
- const displayFieldMeta: any = useRef(null);
510
- const [actualValue, setActualValue] = useState();
511
- const [newRecordCreated, setNewRecordCreated] = useState();
512
-
513
- const searchHandlerThrottled = throttle(doSearch, 500);
514
- const searchHandlerDebounced = debounce(doSearch, 500);
515
- const paginateHelperApis = usePaginate();
516
- const isMount = useIsMount();
517
- const [status, setStatus] = useState(hasSuggestions ? 'pending' : undefined);
518
- const memoizedParameters = useDeepMemo(() => {
519
- return parameters;
520
- }, [parameters]);
521
-
522
- const updatedColumns = useMemo(() => {
523
- const isSecondaryColumnAvailable = columns.some(col => col.secondary === 'true');
524
- if (referenceType === 'Case' && !isSecondaryColumnAvailable) {
525
- const valueProp = columns.filter(col => col.key === 'true')[0].value;
526
- const existingColObj = columns.filter(col => col.value === valueProp);
527
- if (existingColObj) {
528
- columns.forEach(col => {
529
- if (col.value === valueProp) {
530
- col.display = 'true';
531
- col.secondary = 'true';
532
- col.useForSearch = 'true';
533
- }
534
- });
535
- } else {
536
- columns = [
537
- ...columns,
538
- {
539
- value: valueProp.startsWith('.') ? valueProp.substring(1) : valueProp,
540
- display: 'true',
541
- secondary: 'true',
542
- useForSearch: 'true'
543
- }
544
- ];
545
- }
546
- }
547
-
548
- if (descriptors && (referenceType === 'Case' || referenceType === 'Data')) {
549
- const descriptorColumns = descriptors.map((item: string) => {
550
- if (isSelfReferencedProperty(item, dataRelationshipContext) && !item.includes('(')) {
551
- const name = getDescriptorsFieldName(item, contextClass);
552
- return {
553
- value: name,
554
- display: 'false',
555
- secondary: 'true',
556
- useForSearch: 'false',
557
- setProperty: `${item.substring(3)}`
558
- };
559
- }
560
- return item;
561
- });
562
- columns = descriptorColumns ? [...columns, ...descriptorColumns] : columns;
563
- }
564
- return columns;
565
- }, [listType]);
566
-
567
- const dataConfig = useDeepMemo(() => {
568
- return {
569
- dataSource: datasource,
570
- parameters: memoizedParameters,
571
- matchPosition,
572
- listType,
573
- columns: preProcessColumns(updatedColumns),
574
- cacheLifeSpan: cacheLifeSpan || 'form',
575
- deferDatasource,
576
- pageSize: '50',
577
- enablePagination: true
578
- };
579
- }, [datasource, memoizedParameters, matchPosition, listType, maxResultsDisplay]);
580
-
581
- useEffect(() => {
582
- if (validatemessage !== '') {
583
- setStatus('error');
584
- }
585
- if (hasSuggestions) {
586
- setStatus('pending');
587
- } else if (!hasSuggestions && status !== 'success') {
588
- setStatus(validatemessage !== '' ? 'error' : undefined);
589
- }
590
- }, [validatemessage, hasSuggestions]);
591
-
592
- // Rearranging the columns to default columns defined as key to be used as secondary columns for Case references
593
- useEffect(() => {
594
- displayFieldMeta.current =
595
- listType !== 'associated'
596
- ? getDisplayFieldsMetaData(dataConfig.columns as Array<any>)
597
- : ({ key: '', primary: '', secondary: [], hidden: [] } as any);
598
- }, []);
599
-
600
- // Handling setting the combobox list for listType associated use case
601
- useEffect(() => {
602
- if (listType === 'associated') {
603
- const associatedItems = datasource.map((entry: { key: any; value: any }) => {
604
- return { id: entry.key, primary: entry.value };
605
- });
606
- const updatedItems = menuHelpers.selectItem(associatedItems, value?.toString(), AC_TYPE);
607
- const selectedItem = menuHelpers.getSelected(updatedItems)[0];
608
- const initialPaginatedRecords = paginateHelperApis.getInitialPaginatedRecords(
609
- associatedItems,
610
- dataConfig.matchPosition
611
- );
612
- const findSelectedItem = initialPaginatedRecords.find(
613
- (record: { id: string }) => record.id === selectedItem?.id
614
- );
615
- if (!findSelectedItem && selectedItem) {
616
- initialPaginatedRecords.push(selectedItem);
617
- }
618
- setItems(initialPaginatedRecords);
619
- setSelected(selectedItem as SetStateAction<any>);
620
- setActualValue(value);
621
- setFilterValue('');
622
- inputValueRef.current = '';
623
- }
624
- }, [listType, datasource, value]);
625
-
626
- useEffect(() => {
627
- if (!displayMode && listType === 'datapage') {
628
- let displayItem:
629
- | ((prevState: undefined) => undefined)
630
- | { id: any; primary: string; secondary: Array<any> }
631
- | { id: any; primary: string; secondary?: undefined }
632
- | null
633
- | undefined = null;
634
- if (referenceType === 'Case' || referenceType === 'Data') {
635
- displayItem =
636
- referenceType === 'Case'
637
- ? {
638
- id: value,
639
- primary: primaryField,
640
- secondary: [value]
641
- }
642
- : {
643
- id: value,
644
- primary: primaryField
645
- };
646
- setSelected(displayItem as any);
647
- }
648
- PCore.getDataApi()
649
- .init(dataConfig, contextName)
650
- .then((dataObj: any) => {
651
- setDataApiObj(dataObj);
652
- // To avoid calling doSearch if someone types/pastes value before the API call is made
653
- if (!filterValue)
654
- doSearch(
655
- '',
656
- getDisplayFieldsMetaData(dataConfig.columns),
657
- dataObj,
658
- setItems as any,
659
- setLoading,
660
- hasMoreResults,
661
- {
662
- fetchDisplayValue: false,
663
- value,
664
- displayItem,
665
- AC_TYPE,
666
- setSelected,
667
- setFilterValue,
668
- paginateHelperApis,
669
- pConn
670
- }
671
- );
672
- });
673
- }
674
- }, [value, primaryField, newRecordCreated]);
675
-
676
- useEffect(() => {
677
- // Checking if Case/Data ref is only called for re-render and not for mount
678
- const dataRefMount = isMount && (referenceType === 'Case' || referenceType === 'Data');
679
- if (!dataRefMount && !displayMode && listType === 'datapage') {
680
- PCore.getDataApi()
681
- .init(dataConfig, contextName)
682
- .then((dataObj: any) => {
683
- setDataApiObj(dataObj);
684
- // To avoid calling doSearch if someone types/pastes value before the API call is made
685
- if (!filterValue) {
686
- if (displayFieldMeta?.current?.key === displayFieldMeta?.current?.primary) {
687
- const displayItem = {
688
- id: value,
689
- primary: value,
690
- secondary: [],
691
- secondaryFieldValues: []
692
- };
693
- setSelected(displayItem as any);
694
- doSearch(
695
- '',
696
- getDisplayFieldsMetaData(dataConfig.columns),
697
- dataObj,
698
- setItems as any,
699
- setLoading,
700
- hasMoreResults,
701
- {
702
- fetchDisplayValue: false,
703
- value,
704
- displayItem,
705
- AC_TYPE,
706
- setSelected,
707
- setFilterValue,
708
- paginateHelperApis,
709
- pConn
710
- }
711
- );
712
- } else {
713
- doSearch(
714
- '',
715
- getDisplayFieldsMetaData(dataConfig.columns),
716
- dataObj,
717
- setItems as any,
718
- setLoading,
719
- hasMoreResults,
720
- {
721
- fetchDisplayValue: true,
722
- value,
723
- AC_TYPE,
724
- setSelected,
725
- setFilterValue,
726
- paginateHelperApis,
727
- pConn
728
- }
729
- );
730
- }
731
- }
732
- });
733
- }
734
- }, [listType, dataConfig, contextName, value, memoizedParameters]);
735
-
736
- useEffect(() => {
737
- if (listType === 'datapage' && displayMode && displayMode?.length > 0 && value !== '') {
738
- let displayItem: any = null;
739
- if (referenceType === 'Case' || referenceType === 'Data') {
740
- displayItem =
741
- referenceType === 'Case'
742
- ? {
743
- id: value,
744
- primary: primaryField,
745
- secondary: [value]
746
- }
747
- : {
748
- id: value,
749
- primary: primaryField
750
- };
751
- }
752
- setSelected(displayItem as any);
753
- setActualValue(value);
754
- }
755
- }, [value, primaryField]);
756
-
757
- useEffect(() => {
758
- if (newRecordCreated) {
759
- selectItem(newRecordCreated);
760
- setNewRecordCreated(undefined);
761
- }
762
- }, [items.length]);
763
-
764
- useEffect(() => {
765
- if (
766
- listType === 'datapage' &&
767
- displayMode &&
768
- displayMode?.length > 0 &&
769
- value !== '' &&
770
- !(referenceType === 'Case' || referenceType === 'Data')
771
- ) {
772
- PCore.getDataApi()
773
- .init(dataConfig, contextName)
774
- .then((dataObj: any) => {
775
- setDataApiObj(dataObj);
776
- buildColumnForDisplayValue(dataObj);
777
- // SET matchPosition to EQUALS to return exact matching record
778
- dataObj.matchPosition = 'equals';
779
- dataObj
780
- .fetchData(value)
781
- .then((displayResponse: { data: Array<never> }) => {
782
- let columnsWithSetProperty: string | Array<any> = [];
783
- if (dataApiObj.columns) {
784
- columnsWithSetProperty = dataApiObj.columns
785
- .filter(
786
- (col: { setProperty: string }) =>
787
- col.setProperty && col.setProperty !== 'Associated property'
788
- )
789
- .map((col: { value: any }) => {
790
- return col.value;
791
- });
792
- }
793
- const displayResponseData = displayResponse.data || [];
794
-
795
- const searchedItem = displayResponseData.map((entry: { [x: string]: any }) => {
796
- const secondaryArr: Array<any> = [];
797
- const secondaryFieldValues: Array<any> = [];
798
- displayFieldMeta.current.secondary.forEach((col: string) => {
799
- if (!displayFieldMeta.hidden.includes(col)) secondaryArr.push(entry[col]);
800
- if (columnsWithSetProperty.includes(col)) {
801
- if (dataApiObj.isQueryable) {
802
- secondaryFieldValues.push(entry[col]);
803
- } else {
804
- secondaryFieldValues.push(get(entry, getFieldNameFromEmbeddedFieldName(col)));
805
- }
806
- }
807
- });
808
- return {
809
- id: entry[displayFieldMeta.current.key],
810
- primary: entry[displayFieldMeta.current.primary],
811
- secondary: secondaryArr,
812
- secondaryFieldValues
813
- };
814
- });
815
-
816
- // @ts-ignore
817
- setSelected(searchedItem[0]);
818
- setActualValue(value);
819
- // RESET matchPosition
820
- dataObj.matchPosition = dataConfig.matchPosition;
821
- })
822
- .catch(() => {
823
- setActualValue(value);
824
- // RESET matchPosition
825
- dataObj.matchPosition = dataConfig.matchPosition;
826
- });
827
- });
828
- }
829
- }, [listType, dataConfig, contextName, value, memoizedParameters]);
830
-
831
- /* @ts-ignore */
832
- const clearSelections = () => {
833
- // @ts-ignore
834
- setItems(cur =>
835
- // @ts-ignore
836
- menuHelpers.mapTree(cur, item => {
837
- return {
838
- // @ts-ignore
839
- ...item,
840
- selected: false
841
- };
842
- })
843
- );
844
- setSelected(undefined);
845
- inputValueRef.current = '';
846
- };
847
-
848
- const onChangeHandler = (ev: { target: { value: any } }) => {
849
- if (hasSuggestions) {
850
- pConn.ignoreSuggestion('');
851
- setStatus(undefined);
852
- }
853
-
854
- dataApiObj.columns = dataConfig.columns;
855
- dataApiObj.matchPosition = dataConfig.matchPosition;
856
- const searchText = ev.target.value;
857
- inputValueRef.current = searchText;
858
- // If the user backspaces or deletes in full the input filterValue, Cosmos UX advises to deselect any items.
859
- if (!searchText) {
860
- clearSelections();
861
- }
862
- setFilterValue(searchText);
863
- if (listType === 'datapage' && dataApiObj.isQueryable) {
864
- hasMoreResults.current = true;
865
- if (searchText.length < 5) {
866
- searchHandlerThrottled(
867
- searchText,
868
- displayFieldMeta.current,
869
- dataApiObj,
870
- // @ts-ignore
871
- setItems,
872
- setLoading,
873
- hasMoreResults
874
- );
875
- } else {
876
- searchHandlerDebounced(
877
- searchText,
878
- displayFieldMeta.current,
879
- dataApiObj,
880
- // @ts-ignore
881
- setItems,
882
- setLoading,
883
- hasMoreResults
884
- );
885
- }
886
- } else if (
887
- listType === 'associated' ||
888
- (listType === 'datapage' && dataApiObj?.isQueryable === false)
889
- ) {
890
- paginateHelperApis.resetIndexes();
891
- const progressivePaginatedRecords = paginateHelperApis.fetchData(
892
- inputValueRef.current,
893
- false,
894
- dataApiObj.columns
895
- );
896
- setItems(progressivePaginatedRecords);
897
- }
898
- };
899
-
900
- const onBlurHandler = (ev: any) => {
901
- // @ts-ignore
902
- if (!ev?.id || ev?.id !== selected?.id) {
903
- const stateProps = pConn.getStateProps() as StateProps;
904
- const assocProp = stateProps.value;
905
- const propValue = setValueToAssocProp(
906
- assocProp,
907
- selected || null,
908
- listType,
909
- items,
910
- actions,
911
- dataConfig.columns
912
- );
913
- if (onRecordChange) {
914
- onRecordChange(ev, propValue);
915
- }
916
- }
917
-
918
- setFilterValue('');
919
- if (!selected && inputValueRef.current !== '') {
920
- if (listType === 'datapage' && dataApiObj.isQueryable) {
921
- hasMoreResults.current = true;
922
- searchHandlerThrottled(
923
- '',
924
- displayFieldMeta.current,
925
- dataApiObj,
926
- // @ts-ignore
927
- setItems,
928
- setLoading,
929
- hasMoreResults
930
- );
931
- } else if (
932
- listType === 'associated' ||
933
- (listType === 'datapage' && dataApiObj?.isQueryable === false)
934
- ) {
935
- paginateHelperApis.resetIndexes();
936
- const progressivePaginatedRecords = paginateHelperApis.fetchData('', false);
937
- setItems(progressivePaginatedRecords);
938
- }
939
- }
940
- };
941
-
942
- // const filtered = useMemo(() => {
943
- // return filterValue && listType === "associated"
944
- // ? filterAssociatedItems()
945
- // : items;
946
- // }, [filterValue, items, listType]);
947
-
948
- selectItem = (id: string, ev: any = {}) => {
949
- const updatedItems = menuHelpers.selectItem(items, id, AC_TYPE);
950
- // @ts-ignore
951
- setItems(cur => menuHelpers.selectItem(cur, id, AC_TYPE));
952
- // @ts-ignore
953
- setSelected(menuHelpers.getSelected(updatedItems)[0]);
954
- // const { id: itemId } = menuHelpers.getSelected(updatedItems)[0];
955
- const assocProp = pConn.getStateProps().value;
956
- const propValue = setValueToAssocProp(
957
- assocProp,
958
- menuHelpers.getSelected(updatedItems)[0],
959
- listType,
960
- updatedItems,
961
- actions,
962
- dataConfig.columns
963
- );
964
- setFilterValue('');
965
- inputValueRef.current = '';
966
- if (onRecordChange) {
967
- ev.id = id;
968
- onRecordChange(ev, propValue);
969
- }
970
- };
971
-
972
- const removeDuplicates = (arrayOne: string | Array<any>, arrayTwo: Array<any>) => {
973
- arrayTwo = arrayTwo.filter((item: { id: any }) => {
974
- for (let i = 0, len = arrayOne.length; i < len; i += 1) {
975
- if (arrayOne[i].id === item.id) {
976
- return false;
977
- }
978
- }
979
- return true;
980
- });
981
- return arrayTwo;
982
- };
983
-
984
- const loadMore = () => {
985
- if (
986
- (listType === 'associated' ||
987
- (listType === 'datapage' && dataApiObj?.isQueryable === false)) &&
988
- paginateHelperApis.hasMoreResults(inputValueRef.current)
989
- ) {
990
- let progressivePaginatedRecords = paginateHelperApis.fetchData(inputValueRef.current, true);
991
- // @ts-ignore
992
- setItems(previousItems => {
993
- progressivePaginatedRecords = removeDuplicates(previousItems, progressivePaginatedRecords);
994
- return [...previousItems, ...progressivePaginatedRecords];
995
- });
996
- } else if (listType === 'datapage' && dataApiObj.isQueryable && hasMoreResults.current) {
997
- setLoading(true);
998
- dataApiObj
999
- .fetchPaginatedData(inputValueRef.current)
1000
- .then((response: { pageSize: number; data: Array<never> }) => {
1001
- setLoading(false);
1002
- if (response.pageSize === 0 || response.pageSize < dataApiObj.pageSize) {
1003
- hasMoreResults.current = false;
1004
- }
1005
- const listObjData = response.data || [];
1006
- let columnsWithSetProperty: string | Array<any> = [];
1007
- if (dataApiObj.columns) {
1008
- columnsWithSetProperty = dataApiObj.columns
1009
- .filter(
1010
- (col: { setProperty: string }) =>
1011
- col.setProperty && col.setProperty !== 'Associated property'
1012
- )
1013
- .map((col: { value: any }) => {
1014
- return col.value;
1015
- });
1016
- }
1017
-
1018
- const searchedItems = listObjData.map((entry: { [x: string]: any }) => {
1019
- const secondaryArr: Array<any> = [];
1020
- const secondaryFieldValues: Array<any> = [];
1021
- displayFieldMeta.current.secondary.forEach((col: string) => {
1022
- if (!displayFieldMeta.current.hidden.includes(col)) secondaryArr.push(entry[col]);
1023
- if (columnsWithSetProperty.includes(col)) {
1024
- if (dataApiObj.isQueryable) {
1025
- secondaryFieldValues.push(entry[col]);
1026
- } else {
1027
- secondaryFieldValues.push(get(entry, getFieldNameFromEmbeddedFieldName(col)));
1028
- }
1029
- }
1030
- });
1031
- return {
1032
- id: entry[displayFieldMeta.current.key],
1033
- primary: entry[displayFieldMeta.current.primary],
1034
- secondary: secondaryArr,
1035
- secondaryFieldValues
1036
- };
1037
- });
1038
- // @ts-ignore
1039
- setItems(previousItems => [...previousItems, ...searchedItems]);
1040
- })
1041
- .catch(() => {
1042
- setLoading(false);
1043
- dataApiObj.pageSize -= 1;
1044
- });
1045
- }
1046
- };
1047
-
1048
- const displayComponent = useMemo(() => {
1049
- return <StyledPegaDxilMySearchboxWrapper>
1050
- <DisplayComponent {...{ selected, actualValue, isTableFormatter, formatter }} />
1051
- </StyledPegaDxilMySearchboxWrapper>;
1052
- }, [selected, actualValue, isTableFormatter, formatter]);
1053
-
1054
- if (displayMode) {
1055
- return displayComponent;
1056
- }
1057
-
1058
- const onResolveSuggestionHandler = (accepted: boolean) => {
1059
- suggestionsHandler(accepted, pConn, setStatus);
1060
- };
1061
-
1062
- const createNewButtonHandler = () => {
1063
- const { CREATE_STAGE_DONE } = PCore.getConstants().PUB_SUB_EVENTS.CASE_EVENTS;
1064
- createNewRecord().then(() => {
1065
- PCore.getPubSubUtils().subscribe(
1066
- CREATE_STAGE_DONE,
1067
- (data: { caseId: string; caseType: string }) => {
1068
- PCore.getDataApi().clearContextedCache(contextName);
1069
- const newCaseId = data.caseId.split(' ').pop();
1070
- if (data.caseType === contextClass && newRecordCreated !== newCaseId) {
1071
- // @ts-ignore
1072
- if (pConn.isMounted && dataConfig.pageSize > items.length) {
1073
- // @ts-ignore
1074
- setNewRecordCreated(newCaseId);
1075
- } else {
1076
- updatePropertiesForNewRecord(
1077
- dataConfig,
1078
- contextName,
1079
- dataApiObj,
1080
- setDataApiObj,
1081
- displayFieldMeta,
1082
- pConn,
1083
- columns,
1084
- actions,
1085
- newCaseId
1086
- );
1087
- }
1088
-
1089
- PCore.getPubSubUtils().unsubscribe(CREATE_STAGE_DONE, contextClass);
1090
- }
1091
- },
1092
- contextClass
1093
- );
1094
- });
1095
- };
1096
-
1097
-
1098
- return (
1099
- <StyledPegaDxilMySearchboxWrapper>
1100
- <ComboBox
1101
- {...additionalProps}
1102
- testId={testId ?? label}
1103
- info={validatemessage || helperText}
1104
- status={status}
1105
- value={filterValue}
1106
- label={label}
1107
- labelHidden={hideLabel}
1108
- readOnly={readOnly}
1109
- required={required}
1110
- disabled={disabled}
1111
- placeholder={placeholder}
1112
- selected={{
1113
- // @ts-ignore
1114
- items: selected ? { text: selected.primary, id: selected.id } : undefined
1115
- }}
1116
- onChange={onChangeHandler}
1117
- onBlur={onBlurHandler}
1118
- menu={{
1119
- // @ts-ignore
1120
- items: menuHelpers.mapTree(items, (item) => ({
1121
- // @ts-ignore
1122
- ...item,
1123
- // @ts-ignore
1124
- testId: item.id ?? undefined,
1125
- // @ts-ignore
1126
- selected: item.items ? undefined : !!item.selected || item.id === selected?.id
1127
- })),
1128
- onItemClick: selectItem,
1129
- emptyText: pConn.getLocalizationService().getLocalizedText('No items'),
1130
- loading,
1131
- loadMore,
1132
- footer: createNewRecord ? (
1133
- <Button
1134
- label={PCore.getLocaleUtils().getLocaleValue('Create new', 'ComponentFields')}
1135
- onClick={createNewButtonHandler}
1136
- variant='link'
1137
- // @ts-ignore
1138
- compact='true'
1139
- >
1140
- <Icon name='plus' /> {PCore.getLocaleUtils().getLocaleValue('Create new', 'ComponentFields')}
1141
- </Button>
1142
- ) : undefined
1143
- }}
1144
- mode={AC_TYPE}
1145
- onResolveSuggestion={onResolveSuggestionHandler}
1146
- />
1147
- </StyledPegaDxilMySearchboxWrapper>
1148
- );
1149
- }
1150
-
1151
-
1152
- export default withConfiguration(PegaDxilMySearchbox);