@pega/custom-dx-components 0.25.35 → 0.25.37

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 (106) hide show
  1. package/package.json +1 -1
  2. package/src/tasks/create/templates/Constellation/Field/Boolean/create-nonce.ts.mustache +0 -2
  3. package/src/tasks/create/templates/Constellation/Field/Date/create-nonce.ts.mustache +0 -2
  4. package/src/tasks/create/templates/Constellation/Field/DateTime/create-nonce.ts.mustache +0 -2
  5. package/src/tasks/create/templates/Constellation/Field/Decimal/create-nonce.ts.mustache +0 -2
  6. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/create-nonce.ts.mustache +0 -2
  7. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/create-nonce.ts.mustache +0 -2
  8. package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/create-nonce.ts.mustache +0 -2
  9. package/src/tasks/create/templates/Constellation/Field/Integer/create-nonce.ts.mustache +0 -2
  10. package/src/tasks/create/templates/Constellation/Field/Picklist/create-nonce.ts.mustache +0 -2
  11. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/create-nonce.ts.mustache +0 -2
  12. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/create-nonce.ts.mustache +0 -2
  13. package/src/tasks/create/templates/Constellation/Field/Text/create-nonce.ts.mustache +0 -2
  14. package/src/tasks/create/templates/Constellation/Field/Text-Email/create-nonce.ts.mustache +0 -2
  15. package/src/tasks/create/templates/Constellation/Field/Text-Input/create-nonce.ts.mustache +0 -2
  16. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/create-nonce.ts.mustache +0 -2
  17. package/src/tasks/create/templates/Constellation/Field/Text-Phone/create-nonce.ts.mustache +0 -2
  18. package/src/tasks/create/templates/Constellation/Field/Text-URL/create-nonce.ts.mustache +0 -2
  19. package/src/tasks/create/templates/Constellation/Field/TimeofDay/create-nonce.ts.mustache +0 -2
  20. package/src/tasks/create/templates/Constellation/Template/DETAILS/create-nonce.ts.mustache +0 -2
  21. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/create-nonce.ts.mustache +0 -2
  22. package/src/tasks/create/templates/Constellation/Template/FORM/create-nonce.ts.mustache +0 -2
  23. package/src/tasks/create/templates/Constellation/Template/FORM-region/create-nonce.ts.mustache +0 -2
  24. package/src/tasks/create/templates/Constellation/Template/PAGE/create-nonce.ts.mustache +0 -2
  25. package/src/tasks/create/templates/Constellation/Widget/CASE/create-nonce.ts.mustache +0 -2
  26. package/src/tasks/create/templates/Constellation/Widget/PAGE/create-nonce.ts.mustache +0 -2
  27. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/create-nonce.ts.mustache +0 -2
  28. package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/create-nonce.ts.mustache +0 -2
  29. package/src/tasks/create/templates/Launchpad/Widget/CASE/create-nonce.ts.mustache +0 -2
  30. package/src/tasks/create/templates/Launchpad/Widget/PAGE/create-nonce.ts.mustache +0 -2
  31. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/create-nonce.ts.mustache +0 -2
  32. package/src/tasks/create-lib/helper.js +70 -1
  33. package/src/tasks/create-lib/index.js +38 -3
  34. package/src/tasks/create-version/index.js +1 -1
  35. package/src/tasks/delete-lib/index.js +1 -1
  36. package/src/tasks/delete-version/index.js +1 -1
  37. package/src/tasks/init/template/eslint.config.mjs +1 -3
  38. package/src/tasks/init/template/package.json.mustache +1 -1
  39. package/src/tasks/publish/index.js +6 -2
  40. package/src/tasks/switch-lib/index.js +1 -1
  41. package/src/tasks/switch-version/index.js +1 -1
  42. package/tests/assets/library/components/create/shared/create-nonce.ts +0 -2
  43. package/tests/assets/library/components/createAll/Constellation/shared/create-nonce.ts +0 -2
  44. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/create-nonce.ts +0 -2
  45. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/create-nonce.ts +0 -2
  46. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/create-nonce.ts +0 -2
  47. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/create-nonce.ts +0 -2
  48. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/create-nonce.ts +0 -2
  49. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/create-nonce.ts +0 -2
  50. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/create-nonce.ts +0 -2
  51. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/create-nonce.ts +0 -2
  52. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/create-nonce.ts +0 -2
  53. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/create-nonce.ts +0 -2
  54. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/create-nonce.ts +0 -2
  55. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/create-nonce.ts +0 -2
  56. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/create-nonce.ts +0 -2
  57. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +0 -2
  58. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/create-nonce.ts +0 -2
  59. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/create-nonce.ts +0 -2
  60. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/create-nonce.ts +0 -2
  61. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/create-nonce.ts +0 -2
  62. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/create-nonce.ts +0 -2
  63. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/create-nonce.ts +0 -2
  64. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/create-nonce.ts +0 -2
  65. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/create-nonce.ts +0 -2
  66. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/create-nonce.ts +0 -2
  67. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/create-nonce.ts +0 -2
  68. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +0 -2
  69. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +0 -2
  70. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/create-nonce.ts +0 -2
  71. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/create-nonce.ts +0 -2
  72. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/create-nonce.ts +0 -2
  73. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/create-nonce.ts +0 -2
  74. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/create-nonce.ts +0 -2
  75. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/create-nonce.ts +0 -2
  76. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/create-nonce.ts +0 -2
  77. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/create-nonce.ts +0 -2
  78. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/create-nonce.ts +0 -2
  79. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/create-nonce.ts +0 -2
  80. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/create-nonce.ts +0 -2
  81. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/create-nonce.ts +0 -2
  82. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/create-nonce.ts +0 -2
  83. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +0 -2
  84. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/create-nonce.ts +0 -2
  85. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/create-nonce.ts +0 -2
  86. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/create-nonce.ts +0 -2
  87. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/create-nonce.ts +0 -2
  88. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/create-nonce.ts +0 -2
  89. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/create-nonce.ts +0 -2
  90. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/create-nonce.ts +0 -2
  91. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/create-nonce.ts +0 -2
  92. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/create-nonce.ts +0 -2
  93. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/create-nonce.ts +0 -2
  94. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +0 -2
  95. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +0 -2
  96. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/create-nonce.ts +0 -2
  97. package/src/tasks/init/template/.eslintignore +0 -15
  98. package/tests/assets/original/components/create/shared/PConnProps.d.ts +0 -46
  99. package/tests/assets/original/components/create/shared/create-nonce.ts +0 -7
  100. package/tests/assets/original/components/create/shared/suggestions-handler.ts +0 -9
  101. package/tests/assets/original/components/createAll/Constellation/shared/PConnProps.d.ts +0 -46
  102. package/tests/assets/original/components/createAll/Constellation/shared/create-nonce.ts +0 -7
  103. package/tests/assets/original/components/createAll/Constellation/shared/suggestions-handler.ts +0 -9
  104. package/tests/assets/original/components/createAll/Launchpad/shared/PConnProps.d.ts +0 -46
  105. package/tests/assets/original/components/createAll/Launchpad/shared/create-nonce.ts +0 -7
  106. package/tests/assets/original/components/createAll/Launchpad/shared/suggestions-handler.ts +0 -9
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,7 +1,5 @@
1
- /* eslint-disable camelcase */
2
1
  // @ts-ignore
3
2
  if (window?.__webpack_nonce__) {
4
3
  // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
4
  __webpack_nonce__ = window.__webpack_nonce__;
7
5
  }
@@ -1,15 +0,0 @@
1
- webpack.config.js
2
- src/helpers/config_access.js
3
- *.html
4
- *.css
5
- *.json
6
- *.md
7
- *.svg
8
- *.zip
9
- *.d.ts
10
- *.storybook/*
11
- *.cjs
12
- paths.js
13
- *.config.mjs
14
- dist/*
15
- lib/*
@@ -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,7 +0,0 @@
1
- /* eslint-disable camelcase */
2
- // @ts-ignore
3
- if (window?.__webpack_nonce__) {
4
- // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
- __webpack_nonce__ = window.__webpack_nonce__;
7
- }
@@ -1,9 +0,0 @@
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
- };
@@ -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,7 +0,0 @@
1
- /* eslint-disable camelcase */
2
- // @ts-ignore
3
- if (window?.__webpack_nonce__) {
4
- // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
- __webpack_nonce__ = window.__webpack_nonce__;
7
- }
@@ -1,9 +0,0 @@
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
- };
@@ -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,7 +0,0 @@
1
- /* eslint-disable camelcase */
2
- // @ts-ignore
3
- if (window?.__webpack_nonce__) {
4
- // @ts-ignore
5
- // eslint-disable-next-line no-undef
6
- __webpack_nonce__ = window.__webpack_nonce__;
7
- }
@@ -1,9 +0,0 @@
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
- };