@pega/custom-dx-components 0.23.21 → 0.23.23

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 (475) hide show
  1. package/package.json +2 -2
  2. package/src/tasks/create/templates/Constellation/Field/Boolean/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
  3. package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.js → src/tasks/create/templates/Constellation/Field/Boolean/mock.ts.mustache} +1 -2
  4. package/src/tasks/create/templates/Constellation/Field/Date/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +5 -2
  5. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.js → src/tasks/create/templates/Constellation/Field/Date/mock.ts.mustache} +1 -2
  6. package/src/tasks/create/templates/Constellation/Field/DateTime/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +5 -2
  7. package/src/tasks/create/templates/Constellation/Field/DateTime/{mock.js.mustache → mock.ts.mustache} +2 -2
  8. package/src/tasks/create/templates/Constellation/Field/Decimal/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -3
  9. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.js → src/tasks/create/templates/Constellation/Field/Decimal/mock.ts.mustache} +2 -2
  10. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -3
  11. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.js → src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.ts.mustache} +2 -2
  12. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -3
  13. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/{mock.js.mustache → mock.ts.mustache} +2 -2
  14. package/src/tasks/create/templates/Constellation/Field/Integer/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -3
  15. package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.js → src/tasks/create/templates/Constellation/Field/Integer/mock.ts.mustache} +1 -2
  16. package/src/tasks/create/templates/Constellation/Field/Picklist/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -4
  17. package/src/tasks/create/templates/Constellation/Field/Picklist/index.tsx.mustache +1 -0
  18. package/src/tasks/create/templates/Constellation/Field/{Picklist-RadioButtons/mock.js.mustache → Picklist/mock.ts.mustache} +1 -2
  19. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -4
  20. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/index.tsx.mustache +1 -0
  21. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/{mock.js.mustache → mock.ts.mustache} +1 -2
  22. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -4
  23. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache +1 -1
  24. package/src/tasks/create/templates/Constellation/Field/{Picklist/mock.js.mustache → Picklist-RadioButtons/mock.ts.mustache} +2 -2
  25. package/src/tasks/create/templates/Constellation/Field/Text/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -3
  26. package/{tests/assets/components/create/Pega_DXIL_MyTestText/mock.js → src/tasks/create/templates/Constellation/Field/Text/mock.ts.mustache} +2 -2
  27. package/src/tasks/create/templates/Constellation/Field/{Text-Paragraph/demo.stories.jsx.mustache → Text-Email/demo.stories.tsx.mustache} +3 -3
  28. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.js → src/tasks/create/templates/Constellation/Field/Text-Email/mock.ts.mustache} +2 -2
  29. package/src/tasks/create/templates/Constellation/Field/Text-Input/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
  30. package/src/tasks/create/templates/Constellation/Field/Text-Input/{mock.js.mustache → mock.ts.mustache} +2 -2
  31. package/src/tasks/create/templates/Constellation/Field/{Text-Email/demo.stories.jsx.mustache → Text-Paragraph/demo.stories.tsx.mustache} +3 -3
  32. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/mock.js → src/tasks/create/templates/Constellation/Field/Text-Paragraph/mock.ts.mustache} +2 -2
  33. package/src/tasks/create/templates/Constellation/Field/Text-Phone/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
  34. package/src/tasks/create/templates/Constellation/Field/Text-Phone/{mock.js.mustache → mock.ts.mustache} +2 -2
  35. package/src/tasks/create/templates/Constellation/Field/Text-URL/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
  36. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.js → src/tasks/create/templates/Constellation/Field/Text-URL/mock.ts.mustache} +2 -2
  37. package/src/tasks/create/templates/Constellation/Field/TimeOfDay/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
  38. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/mock.js → src/tasks/create/templates/Constellation/Field/TimeOfDay/mock.ts.mustache} +2 -2
  39. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.jsx → src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.tsx.mustache} +4 -4
  40. package/src/tasks/create/templates/Constellation/Template/DETAILS/{mock.js.mustache → mock.ts.mustache} +2 -2
  41. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +3 -2
  42. package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.js → src/tasks/create/templates/Constellation/Template/DETAILS-region/mock.ts.mustache} +2 -2
  43. package/src/tasks/create/templates/Constellation/Template/FORM/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -3
  44. package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/mock.js → src/tasks/create/templates/Constellation/Template/FORM/mock.ts.mustache} +2 -2
  45. package/src/tasks/create/templates/Constellation/Template/FORM-region/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +5 -3
  46. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/mock.js → src/tasks/create/templates/Constellation/Template/FORM-region/mock.ts.mustache} +2 -2
  47. package/src/tasks/create/templates/Constellation/Template/PAGE/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +4 -3
  48. package/{tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/mock.js → src/tasks/create/templates/Constellation/Template/PAGE/mock.ts.mustache} +2 -2
  49. package/src/tasks/create/templates/{Launchpad/Widget/CASE/demo.stories.jsx.mustache → Constellation/Widget/CASE/demo.stories.tsx.mustache} +2 -2
  50. package/src/tasks/create/templates/Constellation/Widget/CASE/{mock.js.mustache → mock.ts.mustache} +1 -1
  51. package/src/tasks/create/templates/Constellation/Widget/PAGE/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
  52. package/{tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/mock.js → src/tasks/create/templates/Constellation/Widget/PAGE/mock.ts.mustache} +2 -1
  53. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +2 -2
  54. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/{mock.js.mustache → mock.ts.mustache} +2 -2
  55. package/src/tasks/create/templates/Launchpad/Widget/CASE/PConnProps.d.ts.mustache +46 -0
  56. package/src/tasks/create/templates/{Constellation/Widget/CASE/demo.stories.jsx.mustache → Launchpad/Widget/CASE/demo.stories.tsx.mustache} +1 -1
  57. package/src/tasks/create/templates/Launchpad/Widget/CASE/{index.jsx.mustache → index.tsx.mustache} +17 -8
  58. package/src/tasks/create/templates/Launchpad/Widget/CASE/{mock.js.mustache → mock.ts.mustache} +1 -1
  59. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{Avatar.jsx.mustache → Avatar.tsx.mustache} +17 -5
  60. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{Operator.jsx.mustache → Operator.tsx.mustache} +29 -7
  61. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/PConnProps.d.ts.mustache +46 -0
  62. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{demo.stories.jsx.mustache → demo.stories.tsx.mustache} +1 -1
  63. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{index.jsx.mustache → index.tsx.mustache} +13 -4
  64. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{mock.js.mustache → mock.ts.mustache} +1 -2
  65. package/src/tasks/init/template/.eslintrc.json +1 -1
  66. package/src/tasks/init/template/package.json.mustache +5 -4
  67. package/tests/assets/components/create/Pega_DXIL_MyTestText/PConnProps.d.ts +46 -0
  68. package/tests/assets/components/create/Pega_DXIL_MyTestText/{demo.stories.jsx → demo.stories.tsx} +10 -16
  69. package/tests/assets/components/create/Pega_DXIL_MyTestText/{index.jsx → index.tsx} +17 -5
  70. package/tests/assets/components/{createAll/Constellation/Pega_DXIL_MyText/mock.js → create/Pega_DXIL_MyTestText/mock.ts} +2 -2
  71. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/PConnProps.d.ts +46 -0
  72. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/{demo.stories.jsx → demo.stories.tsx} +21 -22
  73. package/tests/assets/components/createAll/Constellation/{Pega_DXIL_MyBoolean/event-utils.js → Pega_DXIL_MyAutocomplete/event-utils.ts} +4 -4
  74. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/{index.jsx → index.tsx} +319 -125
  75. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/{mock.js → mock.ts} +1 -2
  76. package/tests/assets/components/createAll/Constellation/{Pega_DXIL_MyDateTime/suggestions-handler.js → Pega_DXIL_MyAutocomplete/suggestions-handler.ts} +1 -1
  77. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyAutocomplete/utils.js → Constellation/Pega_DXIL_MyAutocomplete/utils.ts} +66 -30
  78. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/PConnProps.d.ts +46 -0
  79. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/{boolean-format.js → boolean-format.ts} +1 -1
  80. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyBoolean/demo.stories.jsx → Constellation/Pega_DXIL_MyBoolean/demo.stories.tsx} +5 -6
  81. package/tests/assets/components/createAll/Constellation/{Pega_DXIL_MyAutocomplete/event-utils.js → Pega_DXIL_MyBoolean/event-utils.ts} +4 -4
  82. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/{index.jsx → index.tsx} +35 -8
  83. package/{src/tasks/create/templates/Constellation/Field/Boolean/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/mock.ts} +1 -2
  84. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +46 -0
  85. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/{demo.stories.jsx → demo.stories.tsx} +12 -22
  86. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/{index.jsx → index.tsx} +19 -8
  87. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/{mock.js → mock.ts} +1 -1
  88. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/PConnProps.d.ts +46 -0
  89. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.tsx +56 -0
  90. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{event-utils.js → event-utils.ts} +4 -4
  91. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{index.jsx → index.tsx} +48 -12
  92. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{mock.js → mock.ts} +2 -2
  93. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{suggestions-handler.js → suggestions-handler.ts} +1 -1
  94. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/PConnProps.d.ts +46 -0
  95. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDate/demo.stories.jsx → Constellation/Pega_DXIL_MyDate/demo.stories.tsx} +12 -20
  96. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDate/index.jsx → Constellation/Pega_DXIL_MyDate/index.tsx} +82 -36
  97. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/{mock.js → mock.ts} +1 -2
  98. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/{suggestions-handler.js → suggestions-handler.ts} +1 -1
  99. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/PConnProps.d.ts +46 -0
  100. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDateTime/demo.stories.jsx → Constellation/Pega_DXIL_MyDateTime/demo.stories.tsx} +12 -20
  101. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDateTime/index.jsx → Constellation/Pega_DXIL_MyDateTime/index.tsx} +64 -20
  102. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/{mock.js → mock.ts} +2 -2
  103. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/suggestions-handler.ts +10 -0
  104. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/PConnProps.d.ts +46 -0
  105. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.tsx +52 -0
  106. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/{event-utils.js → event-utils.ts} +4 -4
  107. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDecimal/index.jsx → Constellation/Pega_DXIL_MyDecimal/index.tsx} +37 -7
  108. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/{mock.js → mock.ts} +2 -2
  109. package/tests/assets/components/createAll/Constellation/{Pega_DXIL_MyAutocomplete/suggestions-handler.js → Pega_DXIL_MyDecimal/suggestions-handler.ts} +1 -1
  110. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/PConnProps.d.ts +46 -0
  111. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDetails/StatusWork.jsx → Constellation/Pega_DXIL_MyDetails/StatusWork.tsx} +2 -2
  112. package/{src/tasks/create/templates/Constellation/Template/DETAILS/demo.stories.jsx.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx} +2 -2
  113. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDetails/index.jsx → Constellation/Pega_DXIL_MyDetails/index.tsx} +22 -4
  114. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyDetails/mock.js → Constellation/Pega_DXIL_MyDetails/mock.ts} +2 -2
  115. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/PConnProps.d.ts +46 -0
  116. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.tsx +51 -0
  117. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/event-utils.ts +18 -0
  118. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/{index.jsx → index.tsx} +29 -10
  119. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/{mock.js → mock.ts} +2 -2
  120. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/suggestions-handler.ts +9 -0
  121. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/PConnProps.d.ts +46 -0
  122. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/{demo.stories.jsx → demo.stories.tsx} +15 -6
  123. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyForm/index.jsx → Constellation/Pega_DXIL_MyForm/index.tsx} +11 -6
  124. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyForm/mock.js → Constellation/Pega_DXIL_MyForm/mock.ts} +2 -2
  125. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/PConnProps.d.ts +46 -0
  126. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.tsx +51 -0
  127. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.ts +18 -0
  128. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/{index.jsx → index.tsx} +50 -8
  129. package/{src/tasks/create/templates/Constellation/Field/Integer/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/mock.ts} +1 -2
  130. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.ts +9 -0
  131. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPage/GetNextWork.jsx → Constellation/Pega_DXIL_MyPage/GetNextWork.tsx} +12 -2
  132. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/PConnProps.d.ts +46 -0
  133. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPage/demo.stories.jsx → Constellation/Pega_DXIL_MyPage/demo.stories.tsx} +12 -20
  134. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/{index.jsx → index.tsx} +16 -4
  135. package/{src/tasks/create/templates/Constellation/Template/PAGE/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/mock.ts} +2 -2
  136. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{Avatar.jsx → Avatar.tsx} +19 -6
  137. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{Operator.jsx → Operator.tsx} +29 -7
  138. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +46 -0
  139. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{demo.stories.jsx → demo.stories.tsx} +11 -22
  140. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{index.jsx → index.tsx} +23 -3
  141. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPageCaseWidget/mock.js → Constellation/Pega_DXIL_MyPageCaseWidget/mock.ts} +2 -2
  142. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/PConnProps.d.ts +46 -0
  143. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPageWidget/demo.stories.jsx → Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx} +8 -3
  144. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/{index.jsx → index.tsx} +14 -1
  145. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPageWidget/mock.js → Constellation/Pega_DXIL_MyPageWidget/mock.ts} +2 -1
  146. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/PConnProps.d.ts +46 -0
  147. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.tsx +51 -0
  148. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/event-utils.ts +18 -0
  149. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/{index.jsx → index.tsx} +29 -11
  150. package/{src/tasks/create/templates/Constellation/Field/Text-Paragraph/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/mock.ts} +2 -2
  151. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/suggestions-handler.ts +9 -0
  152. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/PConnProps.d.ts +46 -0
  153. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.tsx +52 -0
  154. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.ts +18 -0
  155. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPercentage/index.jsx → Constellation/Pega_DXIL_MyPercentage/index.tsx} +36 -6
  156. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/{mock.js → mock.ts} +2 -2
  157. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/suggestions-handler.ts +9 -0
  158. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/PConnProps.d.ts +46 -0
  159. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.tsx +49 -0
  160. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.ts +18 -0
  161. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPhone/index.jsx → Constellation/Pega_DXIL_MyPhone/index.tsx} +36 -14
  162. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/{mock.js → mock.ts} +2 -2
  163. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/suggestions-handler.ts +9 -0
  164. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/PConnProps.d.ts +46 -0
  165. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/{demo.stories.jsx → demo.stories.tsx} +12 -20
  166. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.ts +18 -0
  167. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyPicklist/index.jsx → Constellation/Pega_DXIL_MyPicklist/index.tsx} +52 -12
  168. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.ts +68 -0
  169. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/suggestions-handler.ts +9 -0
  170. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/PConnProps.d.ts +46 -0
  171. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.jsx → Constellation/Pega_DXIL_MyRadioButtons/demo.stories.tsx} +16 -20
  172. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/event-utils.ts +18 -0
  173. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/{index.jsx → index.tsx} +34 -9
  174. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.ts +69 -0
  175. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/suggestions-handler.ts +9 -0
  176. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/PConnProps.d.ts +46 -0
  177. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyText/demo.stories.jsx → Constellation/Pega_DXIL_MyText/demo.stories.tsx} +10 -16
  178. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyText/index.jsx → Constellation/Pega_DXIL_MyText/index.tsx} +17 -5
  179. package/{src/tasks/create/templates/Constellation/Field/Text/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/mock.ts} +2 -2
  180. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/PConnProps.d.ts +46 -0
  181. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyTextInput/StatusWork.jsx → Constellation/Pega_DXIL_MyTextInput/StatusWork.tsx} +7 -3
  182. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.tsx +51 -0
  183. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.ts +18 -0
  184. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/{index.jsx → index.tsx} +54 -30
  185. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/{mock.js → mock.ts} +2 -2
  186. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/suggestions-handler.ts +9 -0
  187. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +46 -0
  188. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.jsx → Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.tsx} +8 -17
  189. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/{index.jsx → index.tsx} +45 -14
  190. package/{src/tasks/create/templates/Constellation/Field/TimeOfDay/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/mock.ts} +2 -2
  191. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +9 -0
  192. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +46 -0
  193. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/{StatusWork.jsx → StatusWork.tsx} +2 -2
  194. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx → Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx} +4 -3
  195. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/{index.jsx → index.tsx} +21 -4
  196. package/{src/tasks/create/templates/Constellation/Template/DETAILS-region/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/mock.ts} +2 -2
  197. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +46 -0
  198. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/{demo.stories.jsx → demo.stories.tsx} +9 -3
  199. package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyTwoColumnForm/index.jsx → Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx} +14 -2
  200. package/{src/tasks/create/templates/Constellation/Template/FORM-region/mock.js.mustache → tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/mock.ts} +2 -2
  201. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/PConnProps.d.ts +46 -0
  202. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.tsx +49 -0
  203. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/event-utils.ts +18 -0
  204. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/{index.jsx → index.tsx} +38 -9
  205. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/{mock.js → mock.ts} +2 -2
  206. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.ts +9 -0
  207. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/PConnProps.d.ts +46 -0
  208. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/demo.stories.tsx +90 -0
  209. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/event-utils.ts +18 -0
  210. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/{index.jsx → index.tsx} +319 -125
  211. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/mock.ts +68 -0
  212. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/suggestions-handler.ts +9 -0
  213. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyAutocomplete/utils.js → Launchpad/Pega_DXIL_MyAutocomplete/utils.ts} +66 -30
  214. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/PConnProps.d.ts +46 -0
  215. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/{boolean-format.js → boolean-format.ts} +1 -1
  216. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyBoolean/demo.stories.jsx → Launchpad/Pega_DXIL_MyBoolean/demo.stories.tsx} +5 -6
  217. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.ts +18 -0
  218. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/{index.jsx → index.tsx} +35 -8
  219. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/{mock.js → mock.ts} +1 -2
  220. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +46 -0
  221. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/{demo.stories.jsx → demo.stories.tsx} +12 -20
  222. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/{index.jsx → index.tsx} +17 -8
  223. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/{mock.js → mock.ts} +1 -1
  224. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/PConnProps.d.ts +46 -0
  225. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.tsx +56 -0
  226. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/event-utils.ts +18 -0
  227. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/{index.jsx → index.tsx} +48 -12
  228. package/{src/tasks/create/templates/Constellation/Field/Decimal-Currency/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/mock.ts} +2 -2
  229. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/suggestions-handler.ts +9 -0
  230. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/PConnProps.d.ts +46 -0
  231. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDate/demo.stories.jsx → Launchpad/Pega_DXIL_MyDate/demo.stories.tsx} +12 -20
  232. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDate/index.jsx → Launchpad/Pega_DXIL_MyDate/index.tsx} +82 -36
  233. package/{src/tasks/create/templates/Constellation/Field/Date/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/mock.ts} +1 -2
  234. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/suggestions-handler.ts +9 -0
  235. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/PConnProps.d.ts +46 -0
  236. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDateTime/demo.stories.jsx → Launchpad/Pega_DXIL_MyDateTime/demo.stories.tsx} +12 -20
  237. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDateTime/index.jsx → Launchpad/Pega_DXIL_MyDateTime/index.tsx} +64 -20
  238. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/{mock.js → mock.ts} +2 -2
  239. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.ts +10 -0
  240. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/PConnProps.d.ts +46 -0
  241. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.tsx +52 -0
  242. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/event-utils.ts +18 -0
  243. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDecimal/index.jsx → Launchpad/Pega_DXIL_MyDecimal/index.tsx} +37 -7
  244. package/{src/tasks/create/templates/Constellation/Field/Decimal/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/mock.ts} +2 -2
  245. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/suggestions-handler.ts +9 -0
  246. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/PConnProps.d.ts +46 -0
  247. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDetails/StatusWork.jsx → Launchpad/Pega_DXIL_MyDetails/StatusWork.tsx} +2 -2
  248. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDetails/demo.stories.jsx → Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx} +3 -2
  249. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDetails/index.jsx → Launchpad/Pega_DXIL_MyDetails/index.tsx} +22 -4
  250. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyDetails/mock.js → Launchpad/Pega_DXIL_MyDetails/mock.ts} +2 -2
  251. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/PConnProps.d.ts +46 -0
  252. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.tsx +51 -0
  253. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/event-utils.ts +18 -0
  254. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/{index.jsx → index.tsx} +29 -10
  255. package/{src/tasks/create/templates/Constellation/Field/Text-Email/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/mock.ts} +2 -2
  256. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/suggestions-handler.ts +9 -0
  257. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/PConnProps.d.ts +46 -0
  258. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/{demo.stories.jsx → demo.stories.tsx} +17 -13
  259. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyForm/index.jsx → Launchpad/Pega_DXIL_MyForm/index.tsx} +11 -6
  260. package/{src/tasks/create/templates/Constellation/Template/FORM/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/mock.ts} +2 -2
  261. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/PConnProps.d.ts +46 -0
  262. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.tsx +51 -0
  263. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/event-utils.ts +18 -0
  264. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/{index.jsx → index.tsx} +50 -8
  265. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/{mock.js → mock.ts} +1 -2
  266. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.ts +9 -0
  267. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPage/GetNextWork.jsx → Launchpad/Pega_DXIL_MyPage/GetNextWork.tsx} +12 -2
  268. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/PConnProps.d.ts +46 -0
  269. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPage/demo.stories.jsx → Launchpad/Pega_DXIL_MyPage/demo.stories.tsx} +12 -21
  270. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/{index.jsx → index.tsx} +16 -4
  271. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPage/mock.js → Launchpad/Pega_DXIL_MyPage/mock.ts} +2 -2
  272. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{Avatar.jsx → Avatar.tsx} +17 -5
  273. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{Operator.jsx → Operator.tsx} +29 -7
  274. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +46 -0
  275. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{demo.stories.jsx → demo.stories.tsx} +12 -21
  276. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{index.jsx → index.tsx} +13 -4
  277. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPageCaseWidget/mock.js → Launchpad/Pega_DXIL_MyPageCaseWidget/mock.ts} +1 -2
  278. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/PConnProps.d.ts +46 -0
  279. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPageWidget/demo.stories.jsx → Launchpad/Pega_DXIL_MyPageWidget/demo.stories.tsx} +7 -4
  280. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/{index.jsx → index.tsx} +14 -1
  281. package/{src/tasks/create/templates/Constellation/Widget/PAGE/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/mock.ts} +2 -1
  282. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/PConnProps.d.ts +46 -0
  283. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.tsx +51 -0
  284. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/event-utils.ts +18 -0
  285. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/{index.jsx → index.tsx} +29 -11
  286. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyParagraph/mock.js → Launchpad/Pega_DXIL_MyParagraph/mock.ts} +2 -2
  287. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/suggestions-handler.ts +9 -0
  288. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/PConnProps.d.ts +46 -0
  289. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.tsx +52 -0
  290. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/event-utils.ts +18 -0
  291. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPercentage/index.jsx → Launchpad/Pega_DXIL_MyPercentage/index.tsx} +36 -6
  292. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/{mock.js → mock.ts} +2 -2
  293. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/suggestions-handler.ts +9 -0
  294. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/PConnProps.d.ts +46 -0
  295. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.tsx +49 -0
  296. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/event-utils.ts +18 -0
  297. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPhone/index.jsx → Launchpad/Pega_DXIL_MyPhone/index.tsx} +36 -14
  298. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/{mock.js → mock.ts} +2 -2
  299. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/suggestions-handler.ts +9 -0
  300. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/PConnProps.d.ts +46 -0
  301. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/{demo.stories.jsx → demo.stories.tsx} +12 -20
  302. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.ts +18 -0
  303. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyPicklist/index.jsx → Launchpad/Pega_DXIL_MyPicklist/index.tsx} +52 -12
  304. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.ts +68 -0
  305. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/suggestions-handler.ts +9 -0
  306. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/PConnProps.d.ts +46 -0
  307. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/demo.stories.tsx +85 -0
  308. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/event-utils.ts +18 -0
  309. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/{index.jsx → index.tsx} +34 -9
  310. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.ts +69 -0
  311. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/suggestions-handler.ts +9 -0
  312. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/PConnProps.d.ts +46 -0
  313. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyText/demo.stories.jsx → Launchpad/Pega_DXIL_MyText/demo.stories.tsx} +10 -16
  314. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyText/index.jsx → Launchpad/Pega_DXIL_MyText/index.tsx} +17 -5
  315. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/{mock.js → mock.ts} +2 -2
  316. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/PConnProps.d.ts +46 -0
  317. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTextInput/StatusWork.jsx → Launchpad/Pega_DXIL_MyTextInput/StatusWork.tsx} +7 -3
  318. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.tsx +51 -0
  319. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/event-utils.ts +18 -0
  320. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/{index.jsx → index.tsx} +54 -30
  321. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/{mock.js → mock.ts} +2 -2
  322. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/suggestions-handler.ts +9 -0
  323. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +46 -0
  324. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTimeOfDay/demo.stories.jsx → Launchpad/Pega_DXIL_MyTimeOfDay/demo.stories.tsx} +8 -18
  325. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/{index.jsx → index.tsx} +45 -14
  326. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTimeOfDay/mock.js → Launchpad/Pega_DXIL_MyTimeOfDay/mock.ts} +2 -2
  327. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +9 -0
  328. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +46 -0
  329. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/{StatusWork.jsx → StatusWork.tsx} +2 -2
  330. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTwoColumnDetails/demo.stories.jsx → Launchpad/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx} +4 -2
  331. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/{index.jsx → index.tsx} +21 -4
  332. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/{mock.js → mock.ts} +2 -2
  333. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +46 -0
  334. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/{demo.stories.jsx → demo.stories.tsx} +11 -10
  335. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTwoColumnForm/index.jsx → Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx} +14 -2
  336. package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyTwoColumnForm/mock.js → Launchpad/Pega_DXIL_MyTwoColumnForm/mock.ts} +2 -2
  337. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/PConnProps.d.ts +46 -0
  338. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.tsx +49 -0
  339. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/event-utils.ts +18 -0
  340. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/{index.jsx → index.tsx} +38 -9
  341. package/{src/tasks/create/templates/Constellation/Field/Text-URL/mock.js.mustache → tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/mock.ts} +2 -2
  342. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.ts +9 -0
  343. package/tests/functional/localCreateAllListDeleteAll.test.js +2 -2
  344. package/tests/functional/localCreateBuildAllDeleteAll.test.js +4 -4
  345. package/tests/functional/localCreateBuildDelete.test.js +2 -2
  346. package/tests/functional/localCreateListDelete.test.js +2 -2
  347. package/tests/functional/localCreatePublishAllDeleteAll.test.js +4 -4
  348. package/tests/functional/localCreatePublishDelete.test.js +2 -2
  349. package/tests/functional/localCreateRenameDelete.test.js +2 -2
  350. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/demo.stories.jsx +0 -67
  351. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/demo.stories.jsx +0 -61
  352. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/suggestions-handler.js +0 -9
  353. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/demo.stories.jsx +0 -59
  354. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/event-utils.js +0 -18
  355. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/suggestions-handler.js +0 -9
  356. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/demo.stories.jsx +0 -61
  357. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/event-utils.js +0 -18
  358. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/suggestions-handler.js +0 -9
  359. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/demo.stories.jsx +0 -59
  360. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/event-utils.js +0 -18
  361. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/suggestions-handler.js +0 -9
  362. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/demo.stories.jsx +0 -61
  363. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/event-utils.js +0 -18
  364. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/suggestions-handler.js +0 -9
  365. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/demo.stories.jsx +0 -59
  366. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/event-utils.js +0 -18
  367. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/suggestions-handler.js +0 -9
  368. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/event-utils.js +0 -18
  369. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/mock.js +0 -69
  370. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/suggestions-handler.js +0 -9
  371. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/demo.stories.jsx +0 -91
  372. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/event-utils.js +0 -18
  373. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/mock.js +0 -69
  374. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/suggestions-handler.js +0 -9
  375. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/demo.stories.jsx +0 -61
  376. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/event-utils.js +0 -18
  377. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/suggestions-handler.js +0 -9
  378. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +0 -9
  379. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/demo.stories.jsx +0 -59
  380. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/event-utils.js +0 -18
  381. package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/suggestions-handler.js +0 -9
  382. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/demo.stories.jsx +0 -89
  383. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/event-utils.js +0 -18
  384. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/mock.js +0 -69
  385. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/suggestions-handler.js +0 -9
  386. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/event-utils.js +0 -18
  387. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/demo.stories.jsx +0 -66
  388. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/event-utils.js +0 -18
  389. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/suggestions-handler.js +0 -9
  390. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/suggestions-handler.js +0 -9
  391. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/suggestions-handler.js +0 -9
  392. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/demo.stories.jsx +0 -60
  393. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/event-utils.js +0 -18
  394. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/suggestions-handler.js +0 -9
  395. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/demo.stories.jsx +0 -59
  396. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/event-utils.js +0 -18
  397. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/suggestions-handler.js +0 -9
  398. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/demo.stories.jsx +0 -60
  399. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/event-utils.js +0 -18
  400. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/suggestions-handler.js +0 -9
  401. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/demo.stories.jsx +0 -59
  402. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/event-utils.js +0 -18
  403. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/suggestions-handler.js +0 -9
  404. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/demo.stories.jsx +0 -60
  405. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/event-utils.js +0 -18
  406. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/suggestions-handler.js +0 -9
  407. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/demo.stories.jsx +0 -58
  408. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/event-utils.js +0 -18
  409. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/suggestions-handler.js +0 -9
  410. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/event-utils.js +0 -18
  411. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/mock.js +0 -69
  412. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/suggestions-handler.js +0 -9
  413. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/event-utils.js +0 -18
  414. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/mock.js +0 -69
  415. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/suggestions-handler.js +0 -9
  416. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/demo.stories.jsx +0 -59
  417. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/event-utils.js +0 -18
  418. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/suggestions-handler.js +0 -9
  419. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/suggestions-handler.js +0 -9
  420. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/demo.stories.jsx +0 -58
  421. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/event-utils.js +0 -18
  422. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/suggestions-handler.js +0 -9
  423. /package/src/tasks/create/templates/Launchpad/Widget/CASE/{styles.js.mustache → styles.ts.mustache} +0 -0
  424. /package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/{styles.js.mustache → styles.ts.mustache} +0 -0
  425. /package/tests/assets/components/create/Pega_DXIL_MyTestText/{styles.js → styles.ts} +0 -0
  426. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyAutocomplete/{styles.js → styles.ts} +0 -0
  427. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyBoolean/{styles.js → styles.ts} +0 -0
  428. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/{styles.js → styles.ts} +0 -0
  429. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyCurrency/{styles.js → styles.ts} +0 -0
  430. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDate/{styles.js → styles.ts} +0 -0
  431. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDateTime/{styles.js → styles.ts} +0 -0
  432. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDecimal/{styles.js → styles.ts} +0 -0
  433. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyDetails/{styles.js → styles.ts} +0 -0
  434. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyEmail/{styles.js → styles.ts} +0 -0
  435. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyForm/{styles.js → styles.ts} +0 -0
  436. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyInteger/{styles.js → styles.ts} +0 -0
  437. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPage/{styles.js → styles.ts} +0 -0
  438. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/{styles.js → styles.ts} +0 -0
  439. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPageWidget/{styles.js → styles.ts} +0 -0
  440. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyParagraph/{styles.js → styles.ts} +0 -0
  441. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPercentage/{styles.js → styles.ts} +0 -0
  442. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPhone/{styles.js → styles.ts} +0 -0
  443. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyPicklist/{styles.js → styles.ts} +0 -0
  444. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyRadioButtons/{styles.js → styles.ts} +0 -0
  445. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyText/{styles.js → styles.ts} +0 -0
  446. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTextInput/{styles.js → styles.ts} +0 -0
  447. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/{styles.js → styles.ts} +0 -0
  448. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/{styles.js → styles.ts} +0 -0
  449. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/{styles.js → styles.ts} +0 -0
  450. /package/tests/assets/components/createAll/Constellation/Pega_DXIL_MyURL/{styles.js → styles.ts} +0 -0
  451. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/{styles.js → styles.ts} +0 -0
  452. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyBoolean/{styles.js → styles.ts} +0 -0
  453. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/{styles.js → styles.ts} +0 -0
  454. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyCurrency/{styles.js → styles.ts} +0 -0
  455. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDate/{styles.js → styles.ts} +0 -0
  456. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDateTime/{styles.js → styles.ts} +0 -0
  457. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDecimal/{styles.js → styles.ts} +0 -0
  458. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyDetails/{styles.js → styles.ts} +0 -0
  459. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyEmail/{styles.js → styles.ts} +0 -0
  460. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyForm/{styles.js → styles.ts} +0 -0
  461. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyInteger/{styles.js → styles.ts} +0 -0
  462. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPage/{styles.js → styles.ts} +0 -0
  463. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/{styles.js → styles.ts} +0 -0
  464. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/{styles.js → styles.ts} +0 -0
  465. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyParagraph/{styles.js → styles.ts} +0 -0
  466. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPercentage/{styles.js → styles.ts} +0 -0
  467. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPhone/{styles.js → styles.ts} +0 -0
  468. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyPicklist/{styles.js → styles.ts} +0 -0
  469. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyRadioButtons/{styles.js → styles.ts} +0 -0
  470. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyText/{styles.js → styles.ts} +0 -0
  471. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTextInput/{styles.js → styles.ts} +0 -0
  472. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/{styles.js → styles.ts} +0 -0
  473. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/{styles.js → styles.ts} +0 -0
  474. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/{styles.js → styles.ts} +0 -0
  475. /package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyURL/{styles.js → styles.ts} +0 -0
@@ -1,6 +1,7 @@
1
1
  import { useEffect, useState } from 'react';
2
2
  import { DateTimeInput, FieldValueList, DateTimeDisplay, Text } from "@pega/cosmos-react-core";
3
3
  import PropTypes from "prop-types";
4
+ import type { PConnFieldProps } from './PConnProps';
4
5
 
5
6
  // includes in bundle
6
7
  import DateTimeFormatter from "./date-time";
@@ -17,12 +18,45 @@ import { suggestionsHandler } from './suggestions-handler';
17
18
 
18
19
 
19
20
  import StyledPegaDxilMyDateTimeWrapper from './styles';
21
+ import type { DateTimeFormat, DateTimeVariant } from '@pega/cosmos-react-core/lib/components/DateTime/DateTime.types';
22
+ import type { ClockFormat } from '@pega/cosmos-react-core/lib/components/DateTime/Input/utils';
23
+
24
+
25
+ // interface for props
26
+ interface PegaDxilMyDateTimeProps extends PConnFieldProps {
27
+ // If any, enter additional props that only exist on TextInput here
28
+ displayAsStatus?: boolean;
29
+ isTableFormatter?: boolean;
30
+ hasSuggestions?: boolean;
31
+ variant?: any;
32
+ formatter?: string;
33
+ withSeconds: boolean;
34
+ nextYearRange: string;
35
+ previousYearRange: string;
36
+ showWeekNumber: boolean;
37
+ pickerInterval: string;
38
+ clockFormat: number;
39
+ }
40
+
41
+ // interface for StateProps object
42
+ interface StateProps {
43
+ value: string;
44
+ hasSuggestions: boolean;
45
+ }
46
+
47
+ interface ConfigProps {
48
+ formatter?: string;
49
+ }
50
+
51
+ interface ActionsProps {
52
+ onFocus: any;
53
+ }
20
54
 
21
55
  // Duplicated runtime code from Constellation Design System Component
22
56
 
23
57
  // props passed in combination of props from property panel (config.json) and run time props from Constellation
24
58
  // any default values in config.pros should be set in defaultProps at bottom of this file
25
- const PegaDxilMyDateTime = props => {
59
+ export default function PegaDxilMyDateTime (props: PegaDxilMyDateTimeProps) {
26
60
  const {
27
61
  getPConnect,
28
62
  value,
@@ -44,7 +78,9 @@ const PegaDxilMyDateTime = props => {
44
78
  let { formatter } = props;
45
79
  const pConn = getPConnect();
46
80
  const actions = pConn.getActionsApi();
47
- const propName = pConn.getStateProps().value;
81
+ const actionsProps = pConn.getActionsApi() as unknown as ActionsProps;
82
+ const stateProps = pConn.getStateProps() as StateProps;
83
+ let propName: string = stateProps.value;
48
84
 
49
85
  const environmentInfo = PCore.getEnvironmentInfo();
50
86
  const timezone = environmentInfo && environmentInfo.getTimeZone();
@@ -54,7 +90,11 @@ const PegaDxilMyDateTime = props => {
54
90
  (prop) => prop === true || (typeof prop === 'string' && prop === 'true')
55
91
  );
56
92
 
57
- const [status, setStatus] = useState(hasSuggestions ? 'pending' : '');
93
+ const [status, setStatus] = useState(hasSuggestions ? 'pending' : undefined);
94
+
95
+ // cast status
96
+ let myStatus: 'success' | 'warning' | 'error' | 'pending';
97
+ myStatus = status as 'success' | 'warning' | 'error' | 'pending';
58
98
 
59
99
  useEffect(() => {
60
100
  if (validatemessage !== '') {
@@ -62,25 +102,25 @@ const PegaDxilMyDateTime = props => {
62
102
  }
63
103
  if (hasSuggestions) {
64
104
  setStatus('pending');
65
- } else if (!hasSuggestions && status !== 'success') {
105
+ } else if (!hasSuggestions && myStatus !== 'success') {
66
106
  setStatus(validatemessage !== '' ? 'error' : undefined);
67
107
  }
68
- }, [validatemessage, hasSuggestions, status]);
108
+ }, [validatemessage, hasSuggestions, myStatus]);
69
109
 
70
110
  let { clockFormat } = props;
71
111
  clockFormat = parseClockFormat(clockFormat);
72
112
 
73
113
  // calculate min and max range of calendar
74
- const currentYear = getFullYear();
114
+ const currentYear = getFullYear("");
75
115
  const yearFromValue = getFullYear(value);
76
116
  const maxDate = getMaxDate(parseInt(nextYearRange, 10), currentYear, yearFromValue);
77
117
  const minDate = getMinDate(parseInt(previousYearRange, 10), currentYear, yearFromValue);
78
118
 
79
- const onResolveSuggestionHandler = (accepted) => {
119
+ const onResolveSuggestionHandler = (accepted: boolean) => {
80
120
  suggestionsHandler(accepted, pConn, setStatus);
81
121
  };
82
122
 
83
- function handleBlur(onBlurValue) {
123
+ function handleBlur(onBlurValue: any) {
84
124
  const { valueAsISOString: datetimeTZ, state: errorState } = onBlurValue;
85
125
  const datetimeGMT = DateTimeFormatter.convertFromTimezone(datetimeTZ, timezone);
86
126
 
@@ -92,11 +132,11 @@ const PegaDxilMyDateTime = props => {
92
132
  const isValueChanged =
93
133
  !(value === undefined && datetimeGMTCorrectedToSeconds === '') && value !== datetimeGMTCorrectedToSeconds;
94
134
  if (hasSuggestions && isValueChanged) {
95
- pConn.ignoreSuggestion();
135
+ pConn.ignoreSuggestion("");
96
136
  }
97
137
  }
98
138
 
99
- function handleChange(onChangeValue) {
139
+ function handleChange(onChangeValue: any) {
100
140
  const { valueAsISOString: datetimeTZ } = onChangeValue;
101
141
  const datetimeGMT = DateTimeFormatter.convertFromTimezone(datetimeTZ, timezone);
102
142
  const datetimeGMTCorrectedToSeconds = datetimeGMT
@@ -106,21 +146,27 @@ const PegaDxilMyDateTime = props => {
106
146
  setStatus(undefined);
107
147
  }
108
148
  pConn.clearErrorMessages({
109
- property: propName
149
+ category: "",
150
+ property: propName,
151
+ context: ""
110
152
  });
111
153
  }
112
154
 
113
155
  if (displayMode === 'LABELS_LEFT' || displayMode === 'STACKED_LARGE_VAL' || displayMode === 'DISPLAY_ONLY') {
114
- let variantValue = 'datetime';
115
- let formatValue = withSeconds ? 'long' : 'short';
116
- const runtimeformatter = pConn.getConfigProps()?.formatter;
156
+ let variantValue = 'datetime' as DateTimeVariant;
157
+ let formatValue = withSeconds ? 'long' : 'short' as DateTimeFormat;
158
+
159
+ const configProps = pConn.getConfigProps() as ConfigProps;
160
+
161
+ const runtimeformatter = configProps?.formatter;
162
+
117
163
  if (formatter !== runtimeformatter) {
118
164
  formatter = runtimeformatter;
119
165
  }
120
166
  if (formatExists(formatter)) {
121
167
  const { variantVal, formatVal } = datetimedisplayformatter(formatter);
122
- variantValue = variantVal;
123
- formatValue = withSeconds && formatter === 'Time-Only' ? 'long' : formatVal;
168
+ variantValue = variantVal as DateTimeVariant;
169
+ formatValue = withSeconds && formatter === 'Time-Only' ? 'long' : formatVal as DateTimeFormat;
124
170
  }
125
171
  const displayComp = (
126
172
  <DateTimeDisplay
@@ -129,7 +175,7 @@ const PegaDxilMyDateTime = props => {
129
175
  value={
130
176
  formatter === 'DateTime-Since' ? value : DateTimeFormatter.convertToTimezone(value, { timezone }) || undefined
131
177
  }
132
- clockFormat={clockFormat || undefined}
178
+ clockFormat={clockFormat as ClockFormat || undefined}
133
179
  />
134
180
  );
135
181
  switch (displayMode) {
@@ -192,7 +238,7 @@ const PegaDxilMyDateTime = props => {
192
238
  min={minDate}
193
239
  max={maxDate}
194
240
  data-testid={testId}
195
- onFocus={actions.onFocus}
241
+ onFocus={actionsProps.onFocus}
196
242
  onChange={handleChange}
197
243
  onBlur={handleBlur}
198
244
  onResolveSuggestion={onResolveSuggestionHandler}
@@ -249,5 +295,3 @@ PegaDxilMyDateTime.propTypes = {
249
295
  Format: PropTypes.string,
250
296
  hasSuggestions: PropTypes.bool
251
297
  };
252
-
253
- export default PegaDxilMyDateTime;
@@ -1,5 +1,5 @@
1
- /* eslint-disable storybook/default-exports */
2
- /* eslint-disable storybook/prefer-pascal-case */
1
+
2
+ // @ts-nocheck
3
3
  export const configProps = {
4
4
  value: '2023-01-24T16:45:00.000Z',
5
5
  validatemessage: '',
@@ -0,0 +1,10 @@
1
+ export const suggestionsHandler = (accepted: boolean, pConn: any, setStatus: any) => {
2
+ if (accepted) {
3
+ pConn.acceptSuggestion();
4
+ setStatus('success');
5
+ } else {
6
+ pConn.ignoreSuggestion();
7
+ setStatus(undefined);
8
+ }
9
+ };
10
+
@@ -0,0 +1,46 @@
1
+ import {PConnect } from '@pega/pcore-pconnect-typedefs';
2
+
3
+ // PConnProps.d.ts
4
+ // This gives us a place to have each component (which is most DX Components) that is
5
+ // expected to have a getPConnect extend its props (from BaseProps)
6
+ // such that every component will be expected to have a getPConnect() function
7
+ // that returns a PConnect object. (new/better way of doing .propTypes).
8
+ // This PConnProps can be extended to include other props that we know are in every component
9
+ export interface PConnProps {
10
+ // getPConnect should exist for every C11n component. (add @ts-ignore in special cases where it isn't)
11
+ getPConnect: () => typeof PConnect;
12
+
13
+ // Allow any/all other key/value pairs in the BaseProps for now
14
+ // TODO: refine which other props are always expected for various component
15
+ // types and consider further interface "subclassing". For example, we may
16
+ // want to create a "BasePropsForm" that gives guidance on required, readonly, etc.
17
+ // and any other props that every Form component expects.
18
+ // For example, see the PConnFieldProps below.
19
+ // NOTE: if you uncomment the line below, the PConnProps type will allow
20
+ // otherwise undefined types to appear. This can be helpful for debugging
21
+ // or when adding new components whose types aren't yet known.
22
+ // [key: string]: any;
23
+ }
24
+
25
+
26
+ // PConnFieldProps extends PConnProps to bring in the common properties that are
27
+ // associated with most field components (ex: Dropdown, TextInput, etc.) in the
28
+ // components/field directory
29
+ export interface PConnFieldProps extends PConnProps {
30
+ label: string,
31
+ required: boolean,
32
+ disabled: boolean,
33
+ value: any,
34
+ validatemessage: string,
35
+ status?: string,
36
+ onChange?: any,
37
+ onBlur?: any,
38
+ readOnly: boolean,
39
+ testId: string,
40
+ helperText: string,
41
+ displayMode?: string,
42
+ hideLabel: boolean,
43
+ placeholder?: string,
44
+ fieldMetadata?: any,
45
+ additionalProps?: any
46
+ }
@@ -0,0 +1,52 @@
1
+
2
+ /* eslint-disable react/jsx-no-useless-fragment */
3
+ // @ts-nocheck
4
+ import { withKnobs } from '@storybook/addon-knobs';
5
+
6
+ import { configProps, fieldMetadata, stateProps } from './mock';
7
+
8
+ import PegaDxilMyDecimal from './index';
9
+
10
+ export default {
11
+ title: 'PegaDxilMyDecimal',
12
+ decorators: [withKnobs],
13
+ component: PegaDxilMyDecimal
14
+ };
15
+
16
+ export const BasePegaDxilMyDecimal = () => {
17
+
18
+ const props = {
19
+ value: configProps.value,
20
+ placeholder: configProps.placeholder,
21
+ label: configProps.label,
22
+ helperText: configProps.helperText,
23
+ showGroupSeparators: configProps.showGroupSeparators,
24
+ hasSuggestions: configProps.hasSuggestions,
25
+ testId: configProps.testId,
26
+ fieldMetadata,
27
+
28
+ getPConnect: () => {
29
+ return {
30
+ getStateProps: () => {
31
+ return stateProps;
32
+ },
33
+ getActionsApi: () => {
34
+ return {
35
+ updateFieldValue: () => {/* nothing */},
36
+ triggerFieldChange: () => {/* nothing */}
37
+ };
38
+ },
39
+ ignoreSuggestion: () => {/* nothing */},
40
+ acceptSuggestion: () => {/* nothing */},
41
+ setInheritedProps: () => {/* nothing */},
42
+ resolveConfigProps: () => {/* nothing */}
43
+ };
44
+ }
45
+ };
46
+
47
+ return (
48
+ <>
49
+ <PegaDxilMyDecimal {...props} />
50
+ </>
51
+ );
52
+ };
@@ -1,12 +1,12 @@
1
- const handleEvent = (actions, eventType, propName, value) => {
1
+ const handleEvent = (actions: any, eventType: string, propName: string, value: string) => {
2
2
  switch (eventType) {
3
- case "change":
3
+ case 'change':
4
4
  actions.updateFieldValue(propName, value);
5
5
  break;
6
- case "blur":
6
+ case 'blur':
7
7
  actions.triggerFieldChange(propName, value);
8
8
  break;
9
- case "changeNblur":
9
+ case 'changeNblur':
10
10
  actions.updateFieldValue(propName, value);
11
11
  actions.triggerFieldChange(propName, value);
12
12
  break;
@@ -2,17 +2,45 @@ import { useState, useEffect, useRef } from 'react';
2
2
  import { NumberInput, NumberDisplay, CurrencyDisplay, FieldValueList, Text } from '@pega/cosmos-react-core';
3
3
  import PropTypes from 'prop-types';
4
4
 
5
+ import type { PConnFieldProps } from './PConnProps';
6
+
5
7
  // includes in bundle
6
8
  import StyledPegaDxilMyDecimalWrapper from './styles';
7
9
  import handleEvent from "./event-utils";
8
10
  import { suggestionsHandler } from './suggestions-handler';
9
11
 
12
+ // interface for props
13
+ interface PegaDxilMyDecimalProps extends PConnFieldProps {
14
+ // If any, enter additional props that only exist on TextInput here
15
+ displayAsStatus?: boolean;
16
+ isTableFormatter?: boolean;
17
+ hasSuggestions?: boolean;
18
+ variant?: any;
19
+ formatter: string;
20
+ decimalPrecision: string;
21
+ allowDecimals: boolean;
22
+ currencyISOCode: string;
23
+ alwaysShowISOCode: boolean;
24
+ isoCodeSelection: string;
25
+ additionalProps: any;
26
+ showGroupSeparators: boolean;
27
+ currencyDisplay: 'symbol' | 'code' | 'name' | undefined;
28
+ negative: 'minus-sign' | 'parentheses' | undefined;
29
+ notation: 'standard' | 'compact' | undefined;
30
+ currencyDecimalPrecision: string;
31
+ }
32
+
33
+ // interface for StateProps object
34
+ interface StateProps {
35
+ value: string;
36
+ hasSuggestions: boolean;
37
+ }
10
38
 
11
39
  // Duplicated runtime code from Constellation Design System Component
12
40
 
13
41
  // props passed in combination of props from property panel (config.json) and run time props from Constellation
14
42
  // any default values in config.pros should be set in defaultProps at bottom of this file
15
- const PegaDxilMyDecimal = props => {
43
+ export default function PegaDxilMyDecimal(props: PegaDxilMyDecimalProps) {
16
44
  const {
17
45
  getPConnect,
18
46
  value,
@@ -36,7 +64,8 @@ const PegaDxilMyDecimal = props => {
36
64
  let { currencyDisplay } = props;
37
65
  const pConn = getPConnect();
38
66
  const actions = pConn.getActionsApi();
39
- const propName = pConn.getStateProps().value;
67
+ const stateProps = pConn.getStateProps() as StateProps;
68
+ const propName: string = stateProps.value;
40
69
  const [decimalValue, setDecimalValue] = useState(value?.toString());
41
70
  const hasValueChange = useRef(false);
42
71
 
@@ -61,6 +90,7 @@ const PegaDxilMyDecimal = props => {
61
90
  const { decimalPrecision, currencyDecimalPrecision } = props;
62
91
  let numberOfDecimals = parseInt(decimalPrecision, 10);
63
92
  if (Number.isNaN(numberOfDecimals)) {
93
+ // @ts-ignore
64
94
  numberOfDecimals = decimalPrecision === '' ? undefined : 2;
65
95
  }
66
96
  let noOfFractionDigits = currencyDecimalPrecision === 'auto' ? undefined : parseInt(currencyDecimalPrecision, 10);
@@ -71,7 +101,7 @@ const PegaDxilMyDecimal = props => {
71
101
 
72
102
  let unit;
73
103
 
74
- if (['DISPLAY_ONLY', 'LABELS_LEFT', 'STACKED_LARGE_VAL'].includes(displayMode)) {
104
+ if (['DISPLAY_ONLY', 'LABELS_LEFT', 'STACKED_LARGE_VAL'].includes(displayMode as string)) {
75
105
  if (displayMode !== 'STACKED_LARGE_VAL' && isTableFormatter) {
76
106
  showGroupSeparators = true;
77
107
  noOfFractionDigits = undefined;
@@ -167,7 +197,7 @@ const PegaDxilMyDecimal = props => {
167
197
  }
168
198
  }
169
199
 
170
- const onResolveSuggestionHandler = (accepted) => {
200
+ const onResolveSuggestionHandler = (accepted: boolean) => {
171
201
  suggestionsHandler(accepted, pConn, setStatus);
172
202
  };
173
203
 
@@ -193,15 +223,17 @@ const PegaDxilMyDecimal = props => {
193
223
  }
194
224
  setDecimalValue(enteredValue);
195
225
  if (value !== (enteredValue !== '' ? Number(enteredValue) : '')) {
226
+ // @ts-ignore
196
227
  handleEvent(actions, 'change', propName, enteredValue !== '' ? Number(enteredValue) : '');
197
228
  hasValueChange.current = true;
198
229
  }
199
230
  }}
200
231
  onBlur={() => {
201
232
  if (!value || hasValueChange.current) {
233
+ // @ts-ignore
202
234
  handleEvent(actions, 'blur', propName, decimalValue !== '' ? Number(decimalValue) : '');
203
235
  if (hasSuggestions) {
204
- pConn.ignoreSuggestion();
236
+ pConn.ignoreSuggestion("");
205
237
  }
206
238
  hasValueChange.current = false;
207
239
  }
@@ -266,5 +298,3 @@ PegaDxilMyDecimal.propTypes = {
266
298
  isTableFormatter: PropTypes.bool,
267
299
  hasSuggestions: PropTypes.bool
268
300
  };
269
-
270
- export default PegaDxilMyDecimal;
@@ -1,5 +1,5 @@
1
- /* eslint-disable storybook/default-exports */
2
- /* eslint-disable storybook/prefer-pascal-case */
1
+
2
+ // @ts-nocheck
3
3
  export const configProps = {
4
4
  value: '',
5
5
  label: 'Decimal Sample',
@@ -1,4 +1,4 @@
1
- export const suggestionsHandler = (accepted, pConn, setStatus) => {
1
+ export const suggestionsHandler = (accepted: boolean, pConn: any, setStatus: any) => {
2
2
  if (accepted) {
3
3
  pConn.acceptSuggestion();
4
4
  setStatus('success');
@@ -0,0 +1,46 @@
1
+ import {PConnect } from '@pega/pcore-pconnect-typedefs';
2
+
3
+ // PConnProps.d.ts
4
+ // This gives us a place to have each component (which is most DX Components) that is
5
+ // expected to have a getPConnect extend its props (from BaseProps)
6
+ // such that every component will be expected to have a getPConnect() function
7
+ // that returns a PConnect object. (new/better way of doing .propTypes).
8
+ // This PConnProps can be extended to include other props that we know are in every component
9
+ export interface PConnProps {
10
+ // getPConnect should exist for every C11n component. (add @ts-ignore in special cases where it isn't)
11
+ getPConnect: () => typeof PConnect;
12
+
13
+ // Allow any/all other key/value pairs in the BaseProps for now
14
+ // TODO: refine which other props are always expected for various component
15
+ // types and consider further interface "subclassing". For example, we may
16
+ // want to create a "BasePropsForm" that gives guidance on required, readonly, etc.
17
+ // and any other props that every Form component expects.
18
+ // For example, see the PConnFieldProps below.
19
+ // NOTE: if you uncomment the line below, the PConnProps type will allow
20
+ // otherwise undefined types to appear. This can be helpful for debugging
21
+ // or when adding new components whose types aren't yet known.
22
+ // [key: string]: any;
23
+ }
24
+
25
+
26
+ // PConnFieldProps extends PConnProps to bring in the common properties that are
27
+ // associated with most field components (ex: Dropdown, TextInput, etc.) in the
28
+ // components/field directory
29
+ export interface PConnFieldProps extends PConnProps {
30
+ label: string,
31
+ required: boolean,
32
+ disabled: boolean,
33
+ value: any,
34
+ validatemessage: string,
35
+ status?: string,
36
+ onChange?: any,
37
+ onBlur?: any,
38
+ readOnly: boolean,
39
+ testId: string,
40
+ helperText: string,
41
+ displayMode?: string,
42
+ hideLabel: boolean,
43
+ placeholder?: string,
44
+ fieldMetadata?: any,
45
+ additionalProps?: any
46
+ }
@@ -1,7 +1,7 @@
1
1
  import { Status } from "@pega/cosmos-react-core";
2
2
 
3
- export default function StatusWorkRenderer({ value }) {
4
- let variant = "info";
3
+ export default function StatusWorkRenderer({ value }: any) {
4
+ let variant: "pending" | "success" | "info" | "warn" | "urgent" = "info";
5
5
 
6
6
  const warnStrings = ["fail", "cancel", "reject", "revoke", "stopped", "warn"];
7
7
  const infoStrings = ["open", "hold", "info", "new"];
@@ -1,10 +1,10 @@
1
1
 
2
- /* eslint-disable storybook/prefer-pascal-case */
3
2
  /* eslint-disable react/jsx-no-useless-fragment */
3
+ // @ts-nocheck
4
4
  import { Text, FieldValueList, Button, DateTimeDisplay, useTheme } from '@pega/cosmos-react-core';
5
5
  import PegaDxilMyDetails from './index';
6
6
  import { pyReviewRaw, pyReviewResolved, regionChildrenResolved } from './mock';
7
- import StatusWorkRenderer from './StatusWork.jsx';
7
+ import StatusWorkRenderer from './StatusWork';
8
8
 
9
9
  export default {
10
10
  title: 'PegaDxilMyDetails',
@@ -2,16 +2,27 @@ import { Fragment } from 'react';
2
2
  import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
3
3
  import PropTypes from 'prop-types';
4
4
 
5
+ import type { PConnFieldProps } from './PConnProps';
6
+
5
7
  import StyledPegaDxilMyDetailsWrapper from './styles';
6
8
 
7
9
  // includes in bundle
8
10
  import { getAllFields } from './utils';
9
11
 
12
+
13
+ // interface for props
14
+ interface PegaDxilMyDetailsProps extends PConnFieldProps {
15
+ // If any, enter additional props that only exist on TextInput here
16
+ showLabel: boolean;
17
+ showHighlightedData: boolean;
18
+ children: any;
19
+ }
20
+
10
21
  // Duplicated runtime code from Constellation Design System Component
11
22
 
12
23
  // props passed in combination of props from property panel (config.json) and run time props from Constellation
13
24
  // any default values in config.pros should be set in defaultProps at bottom of this file
14
- export default function PegaDxilMyDetails(props) {
25
+ export default function PegaDxilMyDetails(props: PegaDxilMyDetailsProps) {
15
26
 
16
27
  const { getPConnect, children, label, showLabel, showHighlightedData } = props;
17
28
  const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };
@@ -19,18 +30,25 @@ export default function PegaDxilMyDetails(props) {
19
30
  const numRegions = getAllFields(getPConnect)?.length;
20
31
  const gridRepeat = "repeat(".concat(numRegions).concat(", 1fr)");
21
32
  const gridContainer = { "colGap": 1};
33
+ // @ts-ignore
22
34
  gridContainer.cols = gridRepeat;
35
+ // @ts-ignore
23
36
  gridContainer.alignItems = 'start';
24
37
 
25
38
  const gridHighlightContainer = { "gap": 2};
39
+ // @ts-ignore
26
40
  gridHighlightContainer.cols = gridRepeat;
41
+ // @ts-ignore
27
42
  gridHighlightContainer.alignItems = 'start';
43
+ // @ts-ignore
28
44
  gridHighlightContainer.pad = [0, 0, 2, 0];
29
45
 
30
46
  // Set up highlighted data to pass in return if is set to show, need raw metadata to pass to createComponent
31
47
  let highlightedDataArr = [];
32
48
  if (showHighlightedData) {
49
+ // @ts-ignore
33
50
  const { highlightedData = [] } = getPConnect().getRawMetadata().config;
51
+ // @ts-ignore
34
52
  highlightedDataArr = highlightedData.map((field) => {
35
53
  field.config.displayMode = 'STACKED_LARGE_VAL';
36
54
 
@@ -39,7 +57,7 @@ export default function PegaDxilMyDetails(props) {
39
57
  field.type = 'TextInput';
40
58
  field.config.displayAsStatus = true;
41
59
  }
42
-
60
+ // @ts-ignore
43
61
  return getPConnect().createComponent(field);
44
62
  });
45
63
  }
@@ -50,13 +68,13 @@ export default function PegaDxilMyDetails(props) {
50
68
  {showHighlightedData && highlightedDataArr.length > 0 && (
51
69
  <Grid container={gridHighlightContainer}
52
70
  data-testid={`highlighted-column-count-${numRegions}`}>
53
- {highlightedDataArr.map((child, i) => (
71
+ {highlightedDataArr.map((child: any, i: number) => (
54
72
  <Fragment key={`hf-${i + 1}`}>{child}</Fragment>
55
73
  ))}
56
74
  </Grid>
57
75
  )}
58
76
  <Grid container={gridContainer} data-testid={`column-count-${numRegions}`} >
59
- {children.map((child, i) => (
77
+ {children.map((child: any, i: number) => (
60
78
  <Flex container={{ direction: 'column'}} key={`r-${i + 1}`}>
61
79
  {child}
62
80
  </Flex>
@@ -1,6 +1,6 @@
1
1
 
2
- /* eslint-disable storybook/default-exports */
3
- /* eslint-disable storybook/prefer-pascal-case */
2
+
3
+ // @ts-nocheck
4
4
  export const pyReviewRaw = {
5
5
  name: 'pyReview',
6
6
  type: 'View',
@@ -0,0 +1,46 @@
1
+ import {PConnect } from '@pega/pcore-pconnect-typedefs';
2
+
3
+ // PConnProps.d.ts
4
+ // This gives us a place to have each component (which is most DX Components) that is
5
+ // expected to have a getPConnect extend its props (from BaseProps)
6
+ // such that every component will be expected to have a getPConnect() function
7
+ // that returns a PConnect object. (new/better way of doing .propTypes).
8
+ // This PConnProps can be extended to include other props that we know are in every component
9
+ export interface PConnProps {
10
+ // getPConnect should exist for every C11n component. (add @ts-ignore in special cases where it isn't)
11
+ getPConnect: () => typeof PConnect;
12
+
13
+ // Allow any/all other key/value pairs in the BaseProps for now
14
+ // TODO: refine which other props are always expected for various component
15
+ // types and consider further interface "subclassing". For example, we may
16
+ // want to create a "BasePropsForm" that gives guidance on required, readonly, etc.
17
+ // and any other props that every Form component expects.
18
+ // For example, see the PConnFieldProps below.
19
+ // NOTE: if you uncomment the line below, the PConnProps type will allow
20
+ // otherwise undefined types to appear. This can be helpful for debugging
21
+ // or when adding new components whose types aren't yet known.
22
+ // [key: string]: any;
23
+ }
24
+
25
+
26
+ // PConnFieldProps extends PConnProps to bring in the common properties that are
27
+ // associated with most field components (ex: Dropdown, TextInput, etc.) in the
28
+ // components/field directory
29
+ export interface PConnFieldProps extends PConnProps {
30
+ label: string,
31
+ required: boolean,
32
+ disabled: boolean,
33
+ value: any,
34
+ validatemessage: string,
35
+ status?: string,
36
+ onChange?: any,
37
+ onBlur?: any,
38
+ readOnly: boolean,
39
+ testId: string,
40
+ helperText: string,
41
+ displayMode?: string,
42
+ hideLabel: boolean,
43
+ placeholder?: string,
44
+ fieldMetadata?: any,
45
+ additionalProps?: any
46
+ }