@pega/custom-dx-components 0.23.22 → 0.23.24

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 (206) hide show
  1. package/package.json +1 -1
  2. package/src/tasks/init/template/.eslintrc.json +1 -1
  3. package/src/tasks/init/template/babel.config.cjs +4 -4
  4. package/src/tasks/init/template/package.json.mustache +1 -1
  5. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyBoolean/Boolean.js +0 -38
  6. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyBoolean/PConnProps.d.ts +0 -46
  7. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyBoolean/boolean-format.ts +0 -27
  8. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyBoolean/config.json +0 -145
  9. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyBoolean/demo.stories.tsx +0 -64
  10. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyBoolean/event-utils.ts +0 -18
  11. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyBoolean/index.tsx +0 -196
  12. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyBoolean/mock.ts +0 -22
  13. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyBoolean/styles.ts +0 -15
  14. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCaseWidget/OneColumnPage.svg +0 -36
  15. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCaseWidget/PConnProps.d.ts +0 -46
  16. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCaseWidget/config.json +0 -23
  17. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCaseWidget/demo.stories.tsx +0 -81
  18. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCaseWidget/index.tsx +0 -81
  19. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCaseWidget/mock.ts +0 -391
  20. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCaseWidget/styles.ts +0 -15
  21. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCurrency/PConnProps.d.ts +0 -46
  22. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCurrency/config.json +0 -291
  23. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCurrency/demo.stories.tsx +0 -56
  24. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCurrency/event-utils.ts +0 -18
  25. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCurrency/index.tsx +0 -333
  26. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCurrency/mock.ts +0 -25
  27. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCurrency/styles.ts +0 -15
  28. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyCurrency/suggestions-handler.ts +0 -9
  29. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/DateFormatter.js +0 -62
  30. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/FormattedText.jsx +0 -42
  31. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/PConnProps.d.ts +0 -46
  32. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/config.json +0 -199
  33. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/date.js +0 -439
  34. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/demo.stories.tsx +0 -79
  35. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/index.tsx +0 -302
  36. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/mock.ts +0 -24
  37. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/styles.ts +0 -15
  38. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDate/suggestions-handler.ts +0 -9
  39. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/PConnProps.d.ts +0 -46
  40. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/config.json +0 -256
  41. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/date-time.js +0 -93
  42. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/date-utils.js +0 -288
  43. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/date.js +0 -331
  44. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/demo.stories.tsx +0 -79
  45. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/index.tsx +0 -297
  46. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/mock.ts +0 -25
  47. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/styles.ts +0 -15
  48. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDateTime/suggestions-handler.ts +0 -10
  49. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDecimal/PConnProps.d.ts +0 -46
  50. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDecimal/config.json +0 -278
  51. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDecimal/demo.stories.tsx +0 -52
  52. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDecimal/event-utils.ts +0 -18
  53. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDecimal/index.tsx +0 -300
  54. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDecimal/mock.ts +0 -23
  55. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDecimal/styles.ts +0 -15
  56. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDecimal/suggestions-handler.ts +0 -9
  57. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDetails/OneColumnDetails.svg +0 -22
  58. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDetails/PConnProps.d.ts +0 -46
  59. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDetails/StatusWork.tsx +0 -26
  60. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDetails/config.json +0 -35
  61. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDetails/demo.stories.tsx +0 -137
  62. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDetails/index.tsx +0 -101
  63. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDetails/mock.ts +0 -192
  64. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDetails/styles.ts +0 -15
  65. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyDetails/utils.js +0 -151
  66. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyEmail/PConnProps.d.ts +0 -46
  67. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyEmail/config.json +0 -111
  68. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyEmail/demo.stories.tsx +0 -51
  69. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyEmail/event-utils.ts +0 -18
  70. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyEmail/index.tsx +0 -251
  71. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyEmail/mock.ts +0 -24
  72. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyEmail/styles.ts +0 -15
  73. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyEmail/suggestions-handler.ts +0 -9
  74. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyForm/DefaultForm.svg +0 -29
  75. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyForm/PConnProps.d.ts +0 -46
  76. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyForm/config.json +0 -45
  77. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyForm/demo.stories.tsx +0 -175
  78. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyForm/index.tsx +0 -53
  79. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyForm/mock.ts +0 -139
  80. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyForm/styles.ts +0 -15
  81. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyInteger/PConnProps.d.ts +0 -46
  82. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyInteger/config.json +0 -344
  83. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyInteger/demo.stories.tsx +0 -51
  84. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyInteger/event-utils.ts +0 -18
  85. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyInteger/index.tsx +0 -376
  86. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyInteger/mock.ts +0 -22
  87. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyInteger/styles.ts +0 -15
  88. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyInteger/suggestions-handler.ts +0 -9
  89. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/GetNextWork.tsx +0 -43
  90. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/OneColumnPage.svg +0 -36
  91. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/PConnProps.d.ts +0 -46
  92. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/config.json +0 -32
  93. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/demo.stories.tsx +0 -106
  94. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/index.tsx +0 -83
  95. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/localizations.json +0 -4
  96. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/mock.ts +0 -96
  97. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/styles.ts +0 -15
  98. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPage/utils.js +0 -227
  99. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageCaseWidget/Avatar.tsx +0 -86
  100. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageCaseWidget/OneColumnPage.svg +0 -36
  101. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageCaseWidget/Operator.tsx +0 -301
  102. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageCaseWidget/PConnProps.d.ts +0 -46
  103. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageCaseWidget/config.json +0 -55
  104. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +0 -76
  105. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -89
  106. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageCaseWidget/mock.ts +0 -52
  107. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageCaseWidget/styles.ts +0 -15
  108. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageWidget/OneColumnPage.svg +0 -36
  109. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageWidget/PConnProps.d.ts +0 -46
  110. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageWidget/config.json +0 -59
  111. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageWidget/demo.stories.tsx +0 -33
  112. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageWidget/index.tsx +0 -61
  113. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageWidget/mock.ts +0 -25
  114. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPageWidget/styles.ts +0 -15
  115. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyParagraph/PConnProps.d.ts +0 -46
  116. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyParagraph/config.json +0 -111
  117. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyParagraph/demo.stories.tsx +0 -51
  118. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyParagraph/event-utils.ts +0 -18
  119. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyParagraph/index.tsx +0 -248
  120. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyParagraph/mock.ts +0 -22
  121. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyParagraph/styles.ts +0 -15
  122. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyParagraph/suggestions-handler.ts +0 -9
  123. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPercentage/PConnProps.d.ts +0 -46
  124. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPercentage/config.json +0 -93
  125. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPercentage/demo.stories.tsx +0 -52
  126. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPercentage/event-utils.ts +0 -18
  127. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPercentage/index.tsx +0 -306
  128. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPercentage/mock.ts +0 -23
  129. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPercentage/styles.ts +0 -15
  130. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPercentage/suggestions-handler.ts +0 -9
  131. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPhone/PConnProps.d.ts +0 -46
  132. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPhone/config.json +0 -123
  133. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPhone/demo.stories.tsx +0 -49
  134. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPhone/event-utils.ts +0 -18
  135. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPhone/index.tsx +0 -288
  136. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPhone/mock.ts +0 -39
  137. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPhone/styles.ts +0 -15
  138. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPhone/suggestions-handler.ts +0 -9
  139. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPicklist/PConnProps.d.ts +0 -46
  140. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPicklist/config.json +0 -114
  141. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPicklist/demo.stories.tsx +0 -81
  142. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPicklist/event-utils.ts +0 -18
  143. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPicklist/index.tsx +0 -393
  144. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPicklist/styles.ts +0 -15
  145. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPicklist/suggestions-handler.ts +0 -9
  146. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyRadioButtons/PConnProps.d.ts +0 -46
  147. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyRadioButtons/config.json +0 -113
  148. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyRadioButtons/demo.stories.tsx +0 -85
  149. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyRadioButtons/event-utils.ts +0 -18
  150. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyRadioButtons/index.tsx +0 -243
  151. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyRadioButtons/mock.ts +0 -69
  152. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyRadioButtons/styles.ts +0 -15
  153. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyRadioButtons/suggestions-handler.ts +0 -9
  154. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyRadioButtons/textformat-utils.jsx +0 -161
  155. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyText/PConnProps.d.ts +0 -46
  156. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyText/config.json +0 -55
  157. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyText/demo.stories.tsx +0 -54
  158. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyText/index.tsx +0 -73
  159. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyText/mock.ts +0 -15
  160. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyText/styles.ts +0 -15
  161. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTextInput/PConnProps.d.ts +0 -46
  162. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTextInput/StatusWork.tsx +0 -30
  163. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTextInput/config.json +0 -111
  164. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTextInput/demo.stories.tsx +0 -51
  165. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTextInput/event-utils.ts +0 -18
  166. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTextInput/index.tsx +0 -263
  167. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTextInput/mock.ts +0 -23
  168. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTextInput/styles.ts +0 -15
  169. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTextInput/suggestions-handler.ts +0 -9
  170. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTimeOfDay/PConnProps.d.ts +0 -46
  171. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTimeOfDay/config.json +0 -185
  172. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +0 -60
  173. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTimeOfDay/index.tsx +0 -245
  174. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTimeOfDay/mock.ts +0 -22
  175. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTimeOfDay/styles.ts +0 -15
  176. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTimeOfDay/suggestions-handler.ts +0 -9
  177. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTimeOfDay/time-of-day.js +0 -287
  178. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnDetails/PConnProps.d.ts +0 -46
  179. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnDetails/StatusWork.tsx +0 -26
  180. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnDetails/TwoColumnDetails.svg +0 -28
  181. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnDetails/config.json +0 -42
  182. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +0 -141
  183. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnDetails/index.tsx +0 -100
  184. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnDetails/mock.ts +0 -232
  185. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnDetails/styles.ts +0 -15
  186. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnDetails/utils.js +0 -151
  187. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnForm/PConnProps.d.ts +0 -46
  188. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnForm/TwoColumn.svg +0 -38
  189. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnForm/config.json +0 -27
  190. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +0 -181
  191. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnForm/index.tsx +0 -60
  192. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnForm/mock.ts +0 -145
  193. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyTwoColumnForm/styles.ts +0 -15
  194. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyURL/PConnProps.d.ts +0 -46
  195. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyURL/config.json +0 -237
  196. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyURL/demo.stories.tsx +0 -49
  197. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyURL/event-utils.ts +0 -18
  198. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyURL/index.tsx +0 -261
  199. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyURL/mock.ts +0 -24
  200. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyURL/styles.ts +0 -15
  201. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyURL/suggestions-handler.ts +0 -9
  202. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyURL/text-url.jsx +0 -175
  203. package/tests/assets/components/createAll/Launchpad/Pega_DXIL_MyAutocomplete/mock.js +0 -68
  204. /package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/{mock.js.mustache → mock.ts.mustache} +0 -0
  205. /package/tests/assets/components/createAll/{Launchpad/Pega_DXIL_MyAutocomplete/Pega_DXIL_MyPicklist → Constellation/Pega_DXIL_MyAutocomplete}/mock.ts +0 -0
  206. /package/tests/assets/components/createAll/{Constellation/Pega_DXIL_MyAutocomplete/mock.js → Launchpad/Pega_DXIL_MyAutocomplete/mock.ts} +0 -0
@@ -1,60 +0,0 @@
1
- import { Grid, Flex, FieldGroup } from '@pega/cosmos-react-core';
2
- import PropTypes from 'prop-types';
3
-
4
- import type { PConnFieldProps } from './PConnProps';
5
-
6
- import StyledPegaDxilMyTwoColumnFormWrapper from './styles';
7
-
8
- // interface for props
9
- interface PegaDxilMyTwoColumnFormProps extends PConnFieldProps {
10
- // If any, enter additional props that only exist on TextInput here
11
- showLabel: boolean;
12
- children: any;
13
- }
14
-
15
- // Duplicated runtime code from Constellation Design System Component
16
-
17
- // props passed in combination of props from property panel (config.json) and run time props from Constellation
18
- // any default values in config.pros should be set in defaultProps at bottom of this file
19
- export default function PegaDxilMyTwoColumnForm(props: PegaDxilMyTwoColumnFormProps) {
20
-
21
-
22
- const { children, label, showLabel, getPConnect } = props;
23
- const propsToUse = { label, showLabel, ...getPConnect().getInheritedProps() };
24
-
25
- const numRegions = children?.length;
26
- const gridRepeat = "repeat(".concat(numRegions).concat(", 1fr)");
27
- const gridContainer = {"colGap" : 1};
28
- // @ts-ignore
29
- gridContainer.cols = gridRepeat;
30
- // @ts-ignore
31
- gridContainer.alignItems = 'start';
32
-
33
- const flexContainer = {direction: 'column'};
34
- // @ts-ignore
35
- flexContainer.gap = 2;
36
-
37
- return (
38
- <StyledPegaDxilMyTwoColumnFormWrapper>
39
- <FieldGroup name={propsToUse.showLabel ? propsToUse.label : ''}>
40
- <Grid container={gridContainer}>
41
- {children.map((child: any, i: number) => (
42
- // @ts-ignore
43
- <Flex container={flexContainer} key={`r-${i + 1}`}>
44
- {child}
45
- </Flex>
46
- ))}
47
- </Grid>
48
- </FieldGroup>
49
- </StyledPegaDxilMyTwoColumnFormWrapper>
50
- );
51
-
52
- }
53
-
54
- PegaDxilMyTwoColumnForm.defaultProps = {
55
- children: []
56
- };
57
-
58
- PegaDxilMyTwoColumnForm.propTypes = {
59
- children: PropTypes.arrayOf(PropTypes.node),
60
- };
@@ -1,145 +0,0 @@
1
-
2
- // @ts-nocheck
3
- export const pyReviewRaw = {
4
- name: 'CollectInformation',
5
- type: 'View',
6
- config: {
7
- template: 'DefaultForm',
8
- ruleClass: 'OM5W9U-SampleApp-Work-Test',
9
- localeReference: '@LR OM5W9U-SAMPLEAPP-WORK-TEST!VIEW!COLLECTINFORMATION',
10
- context: '@P .pyViewContext'
11
- },
12
- children: [
13
- {
14
- name: 'A',
15
- type: 'Region',
16
- children: [
17
- {
18
- type: 'TextInput',
19
- config: {
20
- value: '@P .FirstName',
21
- label: '@L First Name',
22
- key: 'FirstName'
23
- }
24
- },
25
- {
26
- type: 'TextInput',
27
- config: {
28
- value: '@P .MiddleName',
29
- label: '@L Middle Name',
30
- key: 'MiddleName'
31
- }
32
- },
33
- {
34
- type: 'TextInput',
35
- config: {
36
- value: '@P .LastName',
37
- label: '@L Last Name',
38
- key: 'LastName'
39
- }
40
- }
41
- ]
42
- },
43
- {
44
- name: 'B',
45
- type: 'Region',
46
- children: [
47
- {
48
- type: 'Email',
49
- config: {
50
- value: '@P .Email',
51
- label: '@L Email',
52
- key: 'Email'
53
- }
54
- },
55
- {
56
- type: 'Phone',
57
- config: {
58
- value: '@P .PhoneNumber',
59
- label: '@L Phone Number',
60
- datasource: {
61
- source: '@DATASOURCE D_pyCountryCallingCodeList.pxResults',
62
- fields: {
63
- value: '@P .pyCallingCode'
64
- }
65
- },
66
- key: 'PhoneNumber'
67
- }
68
- },
69
- {
70
- type: 'Date',
71
- config: {
72
- value: '@P .ServiceDate',
73
- label: '@L Service Date',
74
- key: 'ServiceDate'
75
- }
76
- }
77
- ]
78
- }
79
- ],
80
- classID: 'OM5W9U-SampleApp-Work-Test'
81
- };
82
-
83
- export const regionChildrenResolved = [
84
- {
85
- readOnly: undefined,
86
- value: 'John',
87
- label: 'First Name',
88
- hasSuggestions: false,
89
- key: 'First Name'
90
- },
91
- {
92
- readOnly: undefined,
93
- value: '',
94
- label: 'Middle Name',
95
- hasSuggestions: false,
96
- key: 'Middle Name'
97
- },
98
- {
99
- readOnly: undefined,
100
- value: 'Doe',
101
- label: 'Last Name',
102
- hasSuggestions: false,
103
- key: 'Last Name'
104
- },
105
- {
106
- readOnly: undefined,
107
- value: 'John@doe.com',
108
- label: 'Email',
109
- hasSuggestions: false,
110
- key: 'Email'
111
- },
112
- {
113
- readOnly: undefined,
114
- value: '+16397975093',
115
- label: 'Phone Number',
116
- datasource: {
117
- fields: {
118
- value: undefined
119
- },
120
- source: [
121
- {
122
- value: '+1'
123
- },
124
- {
125
- value: '+91'
126
- },
127
- {
128
- value: '+48'
129
- },
130
- {
131
- value: '+44'
132
- }
133
- ]
134
- },
135
- hasSuggestions: false,
136
- key: 'Phone Number'
137
- },
138
- {
139
- readOnly: undefined,
140
- value: '2023-01-25',
141
- label: 'Service Date',
142
- hasSuggestions: false,
143
- key: 'Service Date'
144
- }
145
- ];
@@ -1,15 +0,0 @@
1
-
2
- // utilizing theming, comment out, if want individual style
3
- import styled from 'styled-components';
4
- import { Configuration } from '@pega/cosmos-react-core';
5
-
6
- export default styled(Configuration)``;
7
-
8
- // individual style, comment out above, and uncomment here and add styles
9
- // import styled, { css } from 'styled-components';
10
- //
11
- // export default styled.div(() => {
12
- // return css`
13
- // margin: 0px 0;
14
- // `;
15
- // });
@@ -1,46 +0,0 @@
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,237 +0,0 @@
1
- {
2
- "name": "Pega_DXIL_MyURL",
3
- "label": "My URL",
4
- "description": "My URL",
5
- "organization": "Pega",
6
- "version": "0.0.1",
7
- "library": "DXIL",
8
- "allowedApplications": [],
9
- "componentKey": "Pega_DXIL_MyURL",
10
- "type": "Field",
11
- "subtype": "Text-URL",
12
- "icon": "images/pz-url-active.svg",
13
- "properties": [
14
- {
15
- "name": "label",
16
- "label": "Field label",
17
- "format": "TEXT",
18
- "required": true
19
- },
20
- {
21
- "name": "readOnly",
22
- "label": "Edit mode",
23
- "format": "READONLY"
24
- },
25
- {
26
- "label": "Column settings",
27
- "format": "GROUP",
28
- "visibility": "@VIEWTYPE == 'MultiRecordDisplayAsTable'",
29
- "properties": [
30
- {
31
- "name": "columnWidth",
32
- "label": "Column width",
33
- "format": "SELECT",
34
- "source": [
35
- {
36
- "key": "auto",
37
- "value": "Auto"
38
- },
39
- {
40
- "key": "custom",
41
- "value": "Custom"
42
- }
43
- ]
44
- },
45
- {
46
- "name": "width",
47
- "label": "Width (px)",
48
- "format": "NUMBER",
49
- "visibility": "$this.columnWidth == 'custom'"
50
- }
51
- ]
52
- },
53
- {
54
- "label": "Input settings",
55
- "format": "GROUP",
56
- "visibility": "(!readOnly = true)",
57
- "properties": [
58
- {
59
- "name": "placeholder",
60
- "label": "Placeholder",
61
- "format": "TEXT"
62
- },
63
- {
64
- "name": "helperText",
65
- "label": "Helper text",
66
- "format": "TEXT"
67
- }
68
- ]
69
- },
70
- {
71
- "label": "Read-only settings",
72
- "format": "GROUP",
73
- "properties": [
74
- {
75
- "format": "SELECT",
76
- "name": "displayAs",
77
- "label": "Display As",
78
- "defaultValue": "defaultURL",
79
- "source": [
80
- {
81
- "key": "defaultURL",
82
- "value": "URL"
83
- },
84
- {
85
- "key": "Image",
86
- "value": "Image"
87
- },
88
- {
89
- "key": "labelText",
90
- "value": "URL Label"
91
- }
92
- ]
93
- },
94
- {
95
- "format": "CASCADE",
96
- "visibility": "(displayAs = labelText)",
97
- "source": {
98
- "format": "SELECT",
99
- "label": "Display text Selection",
100
- "name": "urlLabelSelection",
101
- "defaultValue": "constant",
102
- "source": [
103
- {
104
- "key": "constant",
105
- "value": "Constant"
106
- },
107
- {
108
- "key": "propertyRef",
109
- "value": "Property Reference"
110
- }
111
- ]
112
- },
113
- "cascadeElements": [
114
- {
115
- "key": "urlLabel",
116
- "format": "TEXT",
117
- "name": "urlLabel",
118
- "label": "Display text",
119
- "match": "constant"
120
- },
121
- {
122
- "key": "urlLabel",
123
- "format": "PROPERTY",
124
- "name": "propUrlLabel",
125
- "label": "Display text",
126
- "match": "propertyRef"
127
- }
128
- ]
129
- },
130
- {
131
- "format": "GROUP",
132
- "visibility": "(displayAs = Image)",
133
- "properties": [
134
- {
135
- "format": "SELECT",
136
- "name": "widthSel",
137
- "label": "Width",
138
- "defaultValue": "defaultWidth",
139
- "source": [
140
- {
141
- "key": "defaultWidth",
142
- "value": "Default Width"
143
- },
144
- {
145
- "key": "widthpx",
146
- "value": "Custom Width"
147
- }
148
- ]
149
- },
150
- {
151
- "name": "customWidth",
152
- "label": "Width (px)",
153
- "visibility": "(widthSel = widthpx)",
154
- "format": "NUMBER"
155
- },
156
- {
157
- "format": "CASCADE",
158
- "source": {
159
- "format": "SELECT",
160
- "label": "Image Alt Text",
161
- "name": "altText",
162
- "defaultValue": "constant",
163
- "source": [
164
- {
165
- "key": "constant",
166
- "value": "Constant"
167
- },
168
- {
169
- "key": "propertyRef",
170
- "value": "Property Reference"
171
- }
172
- ]
173
- },
174
- "cascadeElements": [
175
- {
176
- "key": "altTextOfImage",
177
- "format": "TEXT",
178
- "name": "altTextOfImage",
179
- "label": "Alt Text Value",
180
- "defaultValue": "",
181
- "match": "constant"
182
- },
183
- {
184
- "key": "altTextOfImage",
185
- "format": "PROPERTY",
186
- "name": "propaltTextOfImage",
187
- "label": "Alt Text Value",
188
- "match": "propertyRef"
189
- }
190
- ]
191
- }
192
- ]
193
- }
194
- ]
195
- },
196
- {
197
- "label": "Conditions",
198
- "format": "GROUP",
199
- "properties": [
200
- {
201
- "name": "required",
202
- "label": "Required",
203
- "format": "REQUIRED",
204
- "visibility": "(!readOnly = true)"
205
- },
206
- {
207
- "name": "disabled",
208
- "label": "Disabled",
209
- "format": "DISABLED",
210
- "visibility": "(!readOnly = true)"
211
- },
212
- {
213
- "name": "visibility",
214
- "label": "Visibility",
215
- "format": "VISIBILITY"
216
- }
217
- ]
218
- },
219
- {
220
- "label": "Advanced",
221
- "format": "GROUP",
222
- "collapsible": true,
223
- "properties": [
224
- {
225
- "name": "testId",
226
- "label": "Test ID",
227
- "format": "TEXT",
228
- "ignorePattern": "[^-_\\p{N}\\p{L}]",
229
- "includeAnnotations": false
230
- }
231
- ]
232
- }
233
- ],
234
- "defaultConfig": {
235
- "label": "@L $this.label"
236
- }
237
- }
@@ -1,49 +0,0 @@
1
-
2
- /* eslint-disable react/jsx-no-useless-fragment */
3
- // @ts-nocheck
4
- import { withKnobs } from '@storybook/addon-knobs';
5
-
6
- import PegaDxilMyUrl from './index';
7
- import { stateProps, configProps } from './mock';
8
-
9
- export default {
10
- title: 'PegaDxilMyUrl',
11
- decorators: [withKnobs],
12
- component: PegaDxilMyUrl
13
- };
14
-
15
- export const BasePegaDxilMyUrl = () => {
16
-
17
- const props = {
18
- value: configProps.value,
19
- placeholder: configProps.placeholder,
20
- label: configProps.label,
21
- helperText: configProps.helperText,
22
- testId: configProps.testId,
23
- hasSuggestions: configProps.hasSuggestions,
24
-
25
- getPConnect: () => {
26
- return {
27
- getStateProps: () => {
28
- return stateProps;
29
- },
30
- getActionsApi: () => {
31
- return {
32
- updateFieldValue: () => {/* nothing */},
33
- triggerFieldChange: () => {/* nothing */}
34
- };
35
- },
36
- ignoreSuggestion: () => {/* nothing */},
37
- acceptSuggestion: () => {/* nothing */},
38
- setInheritedProps: () => {/* nothing */},
39
- resolveConfigProps: () => {/* nothing */}
40
- };
41
- }
42
- };
43
-
44
- return (
45
- <>
46
- <PegaDxilMyUrl {...props} />
47
- </>
48
- );
49
- };
@@ -1,18 +0,0 @@
1
- const handleEvent = (actions: any, eventType: string, propName: string, value: string) => {
2
- switch (eventType) {
3
- case 'change':
4
- actions.updateFieldValue(propName, value);
5
- break;
6
- case 'blur':
7
- actions.triggerFieldChange(propName, value);
8
- break;
9
- case 'changeNblur':
10
- actions.updateFieldValue(propName, value);
11
- actions.triggerFieldChange(propName, value);
12
- break;
13
- default:
14
- break;
15
- }
16
- };
17
-
18
- export default handleEvent;