@pega/custom-dx-components 0.25.19 → 0.25.21

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 (163) hide show
  1. package/package.json +2 -2
  2. package/src/tasks/build-jest-assets/index.js +5 -5
  3. package/src/tasks/create/templates/Constellation/Field/Boolean/create-nonce.ts.mustache +1 -0
  4. package/src/tasks/create/templates/Constellation/Field/Date/create-nonce.ts.mustache +1 -0
  5. package/src/tasks/create/templates/Constellation/Field/Date/date.ts.mustache +0 -24
  6. package/src/tasks/create/templates/Constellation/Field/DateTime/create-nonce.ts.mustache +1 -0
  7. package/src/tasks/create/templates/Constellation/Field/Decimal/create-nonce.ts.mustache +1 -0
  8. package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/create-nonce.ts.mustache +1 -0
  9. package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/create-nonce.ts.mustache +1 -0
  10. package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/create-nonce.ts.mustache +1 -0
  11. package/src/tasks/create/templates/Constellation/Field/Integer/create-nonce.ts.mustache +1 -0
  12. package/src/tasks/create/templates/Constellation/Field/Picklist/create-nonce.ts.mustache +1 -0
  13. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/create-nonce.ts.mustache +1 -0
  14. package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/repeat-utils.ts.mustache +0 -4
  15. package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/create-nonce.ts.mustache +1 -0
  16. package/src/tasks/create/templates/Constellation/Field/Text/create-nonce.ts.mustache +1 -0
  17. package/src/tasks/create/templates/Constellation/Field/Text-Email/create-nonce.ts.mustache +1 -0
  18. package/src/tasks/create/templates/Constellation/Field/Text-Input/create-nonce.ts.mustache +1 -0
  19. package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/create-nonce.ts.mustache +1 -0
  20. package/src/tasks/create/templates/Constellation/Field/Text-Phone/create-nonce.ts.mustache +1 -0
  21. package/src/tasks/create/templates/Constellation/Field/Text-URL/create-nonce.ts.mustache +1 -0
  22. package/src/tasks/create/templates/Constellation/Field/TimeofDay/create-nonce.ts.mustache +1 -0
  23. package/src/tasks/create/templates/Constellation/Template/DETAILS/create-nonce.ts.mustache +1 -0
  24. package/src/tasks/create/templates/Constellation/Template/DETAILS-region/create-nonce.ts.mustache +1 -0
  25. package/src/tasks/create/templates/Constellation/Template/FORM/create-nonce.ts.mustache +1 -0
  26. package/src/tasks/create/templates/Constellation/Template/FORM-region/create-nonce.ts.mustache +1 -0
  27. package/src/tasks/create/templates/Constellation/Template/PAGE/create-nonce.ts.mustache +1 -0
  28. package/src/tasks/create/templates/Constellation/Widget/CASE/create-nonce.ts.mustache +1 -0
  29. package/src/tasks/create/templates/Constellation/Widget/PAGE/create-nonce.ts.mustache +1 -0
  30. package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/create-nonce.ts.mustache +1 -0
  31. package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/create-nonce.ts.mustache +1 -0
  32. package/src/tasks/create/templates/Launchpad/Widget/CASE/create-nonce.ts.mustache +1 -0
  33. package/src/tasks/create/templates/Launchpad/Widget/PAGE/create-nonce.ts.mustache +1 -0
  34. package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/create-nonce.ts.mustache +1 -0
  35. package/src/tasks/create-lib/helper.js +6 -2
  36. package/src/tasks/create-lib/index.js +3 -1
  37. package/src/tasks/delete-pub/index.js +3 -1
  38. package/src/tasks/export-archive/index.js +10 -5
  39. package/src/tasks/import-archive/index.js +12 -18
  40. package/src/tasks/init/template/.eslintrc.json +1 -1
  41. package/src/tasks/init/template/package.json.mustache +4 -4
  42. package/src/tasks/list-pub/index.js +15 -7
  43. package/src/tasks/publish-lib/index.js +131 -135
  44. package/src/tasks/restore/index.js +7 -1
  45. package/src/tasks/show-status/index.js +10 -6
  46. package/src/util.js +83 -4
  47. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/config.json +1 -1
  48. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +1 -1
  49. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +1 -1
  50. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/localizations.json +8 -0
  51. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +1 -1
  52. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +1 -1
  53. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +1 -1
  54. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +1 -1
  55. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +1 -1
  56. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +1 -1
  57. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +1 -1
  58. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +1 -1
  59. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/localizations.json +10 -0
  60. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +1 -1
  61. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +1 -1
  62. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +1 -1
  63. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +1 -1
  64. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/localizations.json +10 -0
  65. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +1 -1
  66. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +1 -1
  67. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +1 -1
  68. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +1 -1
  69. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +1 -1
  70. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +1 -1
  71. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/localizations.json +5 -0
  72. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/config.json +1 -1
  73. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +1 -1
  74. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +1 -1
  75. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +1 -1
  76. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +1 -1
  77. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +1 -1
  78. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/create-nonce.ts +1 -0
  79. package/tests/assets/original/components/create/shared/PConnProps.d.ts +46 -0
  80. package/tests/assets/original/components/create/shared/create-nonce.ts +7 -0
  81. package/tests/assets/original/components/create/shared/suggestions-handler.ts +9 -0
  82. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/create-nonce.ts +1 -0
  83. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/create-nonce.ts +1 -0
  84. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/localizations.json +8 -0
  85. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/create-nonce.ts +1 -0
  86. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/create-nonce.ts +1 -0
  87. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/date.ts +0 -24
  88. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/create-nonce.ts +1 -0
  89. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/create-nonce.ts +1 -0
  90. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/create-nonce.ts +1 -0
  91. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/create-nonce.ts +1 -0
  92. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/create-nonce.ts +1 -0
  93. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/create-nonce.ts +1 -0
  94. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/localizations.json +10 -0
  95. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/create-nonce.ts +1 -0
  96. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/create-nonce.ts +1 -0
  97. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +1 -0
  98. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/create-nonce.ts +1 -0
  99. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/localizations.json +10 -0
  100. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/create-nonce.ts +1 -0
  101. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/create-nonce.ts +1 -0
  102. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/create-nonce.ts +1 -0
  103. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/create-nonce.ts +1 -0
  104. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/create-nonce.ts +1 -0
  105. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/create-nonce.ts +1 -0
  106. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/localizations.json +5 -0
  107. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -4
  108. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/create-nonce.ts +1 -0
  109. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/create-nonce.ts +1 -0
  110. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/create-nonce.ts +1 -0
  111. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +1 -0
  112. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +1 -0
  113. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/create-nonce.ts +1 -0
  114. package/tests/assets/original/components/createAll/Constellation/shared/PConnProps.d.ts +46 -0
  115. package/tests/assets/original/components/createAll/Constellation/shared/create-nonce.ts +7 -0
  116. package/tests/assets/original/components/createAll/Constellation/shared/suggestions-handler.ts +9 -0
  117. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/create-nonce.ts +1 -0
  118. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/create-nonce.ts +1 -0
  119. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/create-nonce.ts +1 -0
  120. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/create-nonce.ts +1 -0
  121. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/date.ts +0 -24
  122. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/create-nonce.ts +1 -0
  123. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/create-nonce.ts +1 -0
  124. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/create-nonce.ts +1 -0
  125. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/create-nonce.ts +1 -0
  126. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/create-nonce.ts +1 -0
  127. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/create-nonce.ts +1 -0
  128. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/create-nonce.ts +1 -0
  129. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/create-nonce.ts +1 -0
  130. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +1 -0
  131. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/create-nonce.ts +1 -0
  132. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/create-nonce.ts +1 -0
  133. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/create-nonce.ts +1 -0
  134. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/create-nonce.ts +1 -0
  135. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/create-nonce.ts +1 -0
  136. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/create-nonce.ts +1 -0
  137. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/create-nonce.ts +1 -0
  138. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/localizations.json +5 -0
  139. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/repeat-utils.ts +0 -4
  140. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/create-nonce.ts +1 -0
  141. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/create-nonce.ts +1 -0
  142. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/create-nonce.ts +1 -0
  143. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +1 -0
  144. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +1 -0
  145. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/create-nonce.ts +1 -0
  146. package/tests/assets/original/components/createAll/Launchpad/shared/PConnProps.d.ts +46 -0
  147. package/tests/assets/original/components/createAll/Launchpad/shared/create-nonce.ts +7 -0
  148. package/tests/assets/original/components/createAll/Launchpad/shared/suggestions-handler.ts +9 -0
  149. package/tests/functional/localCreateAllListDeleteAll.test.js +8 -8
  150. package/tests/functional/localLibCreateLibAlreadyDeleteLib.test.js +14 -14
  151. package/tests/functional/localLibCreateLibBuildLibDeleteLib.test.js +17 -17
  152. package/tests/functional/localLibCreateLibBuildLibListPubDeleteLib.test.js +20 -20
  153. package/tests/functional/localLibCreateLibDeleteLib.test.js +17 -17
  154. package/tests/functional/localLibCreateLibExportImportLib.test.js +27 -27
  155. package/tests/functional/localLibCreateLibExportLib.test.js +19 -19
  156. package/tests/functional/localLibCreateLibImportCompDeleteLib.test.js +14 -14
  157. package/tests/functional/localLibCreateLibListDeleteLib.test.js +22 -22
  158. package/tests/functional/localLibCreateLibListMoveDeleteLib.test.js +31 -31
  159. package/tests/functional/localLibCreateLibListSwitchDeleteLib.test.js +20 -20
  160. package/tests/functional/localLibCreateLibStatusDeleteLib.test.js +13 -29
  161. package/tests/functional/localLibCreateLibValidateDeleteLib.test.js +15 -15
  162. package/tests/functional/localLibCreateLibVersionDeleteLib.test.js +27 -27
  163. package/tests/functional/localLibCreateLibPermDeleteLib.test.js +0 -144
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -381,30 +381,6 @@ export function format(value, type, options) {
381
381
  let formattedValue;
382
382
 
383
383
  switch (type?.toLowerCase()) {
384
- case 'currency': {
385
- const defaultOptions = {
386
- locale: getLocale(),
387
- position: 'before',
388
- decPlaces: 2
389
- };
390
- const params = { ...defaultOptions, ...options };
391
- formattedValue = Currency.Currency(value, params);
392
- break;
393
- }
394
-
395
- case 'decimal': {
396
- const defaultOptions = { locale: getLocale(), decPlaces: 2 };
397
- const params = { ...defaultOptions, ...options };
398
- formattedValue = Currency.Decimal(value, params);
399
- break;
400
- }
401
-
402
- case 'integer': {
403
- const defaultOptions = { locale: getLocale() };
404
- const params = { ...defaultOptions, ...options };
405
- formattedValue = Currency.Integer(value, params);
406
- break;
407
- }
408
384
 
409
385
  case 'date': {
410
386
  const defaultOptions = {
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -165,10 +165,6 @@ export function updateWithTimeZone(stateFromTable, meta) {
165
165
  return stateFromTable;
166
166
  }
167
167
 
168
- export function isHybrid() {
169
- return typeof pega !== 'undefined' && typeof pega.desktop !== 'undefined';
170
- }
171
-
172
168
  export const isPageListInPath = (propertyName, currentClassID) => {
173
169
  if (!propertyName.includes('.')) {
174
170
  return false;
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -2,5 +2,6 @@
2
2
  // @ts-ignore
3
3
  if (window?.__webpack_nonce__) {
4
4
  // @ts-ignore
5
+ // eslint-disable-next-line no-undef
5
6
  __webpack_nonce__ = window.__webpack_nonce__;
6
7
  }
@@ -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,7 @@
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
+ }
@@ -0,0 +1,9 @@
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
+ };
@@ -12,13 +12,13 @@ const packageJSONDir = path.resolve('../../..', 'package.json');
12
12
  const packageJSONData = fs.readFileSync(packageJSONDir, { encoding: 'utf8'});
13
13
  let packageJSON = JSON.parse(packageJSONData);
14
14
 
15
- let isLibraryBased = tasksConfigJSON['libraryMode'];
16
- const savedLibraryBased = isLibraryBased;
15
+ let isLibraryBasedCL = tasksConfigJSON['libraryModeCL'];
16
+ const savedLibraryBased = isLibraryBasedCL;
17
17
  const savedOrganization = packageJSON.organization;
18
18
 
19
19
  const serverType = tasksConfigJSON['server-config'].serverType;
20
20
  const serverDir = serverType === 'launchpad' ? 'Launchpad' : 'Constellation';
21
- let compType = isLibraryBased ? "library" : "original";
21
+ let compType = isLibraryBasedCL ? "library" : "original";
22
22
 
23
23
 
24
24
  describe(`createAll list deleteAll local: ${serverDir} - ${compType}` , () => {
@@ -26,9 +26,9 @@ describe(`createAll list deleteAll local: ${serverDir} - ${compType}` , () => {
26
26
  beforeAll( async() => {
27
27
 
28
28
  // make non libraryBased
29
- isLibraryBased = false;
30
- tasksConfigJSON['libraryMode'] = isLibraryBased;
31
- compType = isLibraryBased ? "library" : "original";
29
+ isLibraryBasedCL = false;
30
+ tasksConfigJSON['libraryModeCL'] = isLibraryBasedCL;
31
+ compType = isLibraryBasedCL ? "library" : "original";
32
32
  fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
33
33
 
34
34
  // make organzation Pega
@@ -49,8 +49,8 @@ describe(`createAll list deleteAll local: ${serverDir} - ${compType}` , () => {
49
49
  afterAll( async() => {
50
50
 
51
51
  //restore
52
- isLibraryBased = savedLibraryBased
53
- tasksConfigJSON['libraryMode'] = isLibraryBased;
52
+ isLibraryBasedCL = savedLibraryBased
53
+ tasksConfigJSON['libraryModeCL'] = isLibraryBasedCL;
54
54
 
55
55
  fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
56
56
 
@@ -12,13 +12,13 @@ const packageJSONDir = path.resolve('../../..', 'package.json');
12
12
  const packageJSONData = fs.readFileSync(packageJSONDir, { encoding: 'utf8'});
13
13
  let packageJSON = JSON.parse(packageJSONData);
14
14
 
15
- let isLibraryBased = tasksConfigJSON['libraryMode'];
16
- const savedLibraryBased = isLibraryBased;
15
+ let isLibraryBasedCL = tasksConfigJSON['libraryModeCL'];
16
+ const savedLibraryBasedCL = isLibraryBasedCL;
17
17
  const savedOrganization = packageJSON.organization;
18
18
 
19
19
  const serverType = tasksConfigJSON['server-config'].serverType;
20
20
  const serverDir = serverType === 'launchpad' ? 'Launchpad' : 'Constellation';
21
- let compType = isLibraryBased ? "library" : "original";
21
+ let compType = isLibraryBasedCL ? "library" : "original";
22
22
 
23
23
 
24
24
  describe(`createLib createLib (already exists) deleteLib: ${serverDir} - ${compType}` , () => {
@@ -26,9 +26,9 @@ describe(`createLib createLib (already exists) deleteLib: ${serverDir} - ${compT
26
26
  beforeAll( async() => {
27
27
 
28
28
  // make libraryBased
29
- isLibraryBased = true;
30
- tasksConfigJSON['libraryMode'] = isLibraryBased;
31
- compType = isLibraryBased ? "library" : "original";
29
+ isLibraryBasedCL = true;
30
+ tasksConfigJSON['libraryModeCL'] = isLibraryBasedCL;
31
+ compType = isLibraryBasedCL ? "library" : "original";
32
32
  fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
33
33
 
34
34
  const storeDir = path.join(path.resolve('../../..'), 'store');
@@ -55,8 +55,8 @@ describe(`createLib createLib (already exists) deleteLib: ${serverDir} - ${compT
55
55
  afterAll( async() => {
56
56
 
57
57
  //restore
58
- isLibraryBased = savedLibraryBased
59
- tasksConfigJSON['libraryMode'] = isLibraryBased;
58
+ isLibraryBasedCL = savedLibraryBasedCL
59
+ tasksConfigJSON['libraryModeCL'] = isLibraryBasedCL;
60
60
 
61
61
  fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
62
62
 
@@ -80,14 +80,14 @@ describe(`createLib createLib (already exists) deleteLib: ${serverDir} - ${compT
80
80
  });
81
81
 
82
82
 
83
- it(`npm run createLib - ${isLibraryBased}`, async() => {
83
+ it(`npm run createLib - ${isLibraryBasedCL}`, async() => {
84
84
 
85
85
 
86
86
  const script = `npm run createLib DXIL 0.0.1 N Original --prefix ../../..`;
87
- const compConf = path.join("store", "Pega_DXIL","0.0.1-dev", "componentsconfig.json");
87
+ const compConf = path.join("store", "Pega_DXIL","0.0.1", "componentsconfig.json");
88
88
 
89
89
  const { stdout, stderr } = await exec(script);
90
- expect(stdout).toContain('Library Pega_DXIL/0.0.1-dev has been created!');
90
+ expect(stdout).toContain('Library Pega_DXIL/0.0.1 has been created!');
91
91
 
92
92
  const doesExist = fs.existsSync(path.resolve('../../..', compConf));
93
93
 
@@ -95,7 +95,7 @@ describe(`createLib createLib (already exists) deleteLib: ${serverDir} - ${compT
95
95
 
96
96
  }, 30000);
97
97
 
98
- it(`npm run createLib (already exists) - ${isLibraryBased}`, async() => {
98
+ it(`npm run createLib (already exists) - ${isLibraryBasedCL}`, async() => {
99
99
 
100
100
  const script = `npm run createLib DXIL 0.0.1 N Original --prefix ../../..`;
101
101
 
@@ -105,9 +105,9 @@ describe(`createLib createLib (already exists) deleteLib: ${serverDir} - ${compT
105
105
  }, 30000);
106
106
 
107
107
 
108
- it(`npm run deleteLib- ${isLibraryBased}`, async() => {
108
+ it(`npm run deleteLib- ${isLibraryBasedCL}`, async() => {
109
109
 
110
- const script = `npm run deleteLib Pega_DXIL 0.0.1-dev Y --prefix ../../..`;
110
+ const script = `npm run deleteLib Pega_DXIL 0.0.1 Y --prefix ../../..`;
111
111
  const { stdout, stderr } = await exec(script);
112
112
 
113
113
  expect(stdout).toContain('Pega_DXIL is deleted from Local.');
@@ -12,13 +12,13 @@ const packageJSONDir = path.resolve('../../..', 'package.json');
12
12
  const packageJSONData = fs.readFileSync(packageJSONDir, { encoding: 'utf8'});
13
13
  let packageJSON = JSON.parse(packageJSONData);
14
14
 
15
- let isLibraryBased = tasksConfigJSON['libraryMode'];
16
- const savedLibraryBased = isLibraryBased;
15
+ let isLIbraryBasedCL = tasksConfigJSON['libraryModeCL'];
16
+ const savedLibraryBased = isLIbraryBasedCL;
17
17
  const savedOrganization = packageJSON.organization;
18
18
 
19
19
  const serverType = tasksConfigJSON['server-config'].serverType;
20
20
  const serverDir = serverType === 'launchpad' ? 'Launchpad' : 'Constellation';
21
- let compType = isLibraryBased ? "library" : "original";
21
+ let compType = isLIbraryBasedCL ? "library" : "original";
22
22
 
23
23
 
24
24
  describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} - ${compType}` , () => {
@@ -26,9 +26,9 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
26
26
  beforeAll( async() => {
27
27
 
28
28
  // make libraryBased
29
- isLibraryBased = true;
30
- tasksConfigJSON['libraryMode'] = isLibraryBased;
31
- compType = isLibraryBased ? "library" : "original";
29
+ isLIbraryBasedCL = true;
30
+ tasksConfigJSON['libraryModeCL'] = isLIbraryBasedCL;
31
+ compType = isLIbraryBasedCL ? "library" : "original";
32
32
  fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
33
33
 
34
34
  const storeDir = path.join(path.resolve('../../..'), 'store');
@@ -54,8 +54,8 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
54
54
  afterAll( async() => {
55
55
 
56
56
  //restore
57
- isLibraryBased = savedLibraryBased
58
- tasksConfigJSON['libraryMode'] = isLibraryBased;
57
+ isLIbraryBasedCL = savedLibraryBased
58
+ tasksConfigJSON['libraryModeCL'] = isLIbraryBasedCL;
59
59
 
60
60
  fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
61
61
 
@@ -87,13 +87,13 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
87
87
  // }
88
88
  // });
89
89
 
90
- it(`npm run createLib - ${isLibraryBased}`, async() => {
90
+ it(`npm run createLib - ${isLIbraryBasedCL}`, async() => {
91
91
 
92
92
  const script = `npm run createLib DXIL 0.0.1 N Original --prefix ../../..`;
93
- const compConf = path.join("store", "Pega_DXIL","0.0.1-dev", "componentsconfig.json");
93
+ const compConf = path.join("store", "Pega_DXIL","0.0.1", "componentsconfig.json");
94
94
 
95
95
  const { stdout, stderr } = await exec(script);
96
- expect(stdout).toContain('Library Pega_DXIL/0.0.1-dev has been created!');
96
+ expect(stdout).toContain('Library Pega_DXIL/0.0.1 has been created!');
97
97
 
98
98
  const doesExist = fs.existsSync(path.resolve('../../..', compConf));
99
99
 
@@ -197,9 +197,9 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
197
197
  // }
198
198
  }, 10000);
199
199
 
200
- it(`npm run buildLib (internal) - ${isLibraryBased}`, async() => {
200
+ it(`npm run buildLib (internal) - ${isLIbraryBasedCL}`, async() => {
201
201
 
202
- const script = `npm run _internal-buildLibrary 0.0.1 Y --prefix ../../..`;
202
+ const script = `npm run _internal-buildLibrary 0.0.1 N --prefix ../../..`;
203
203
  const { stdout, stderr } = await exec(script);
204
204
 
205
205
  expect(stdout).toContain('Pega_DXIL_MyTestText schema is valid');
@@ -209,22 +209,22 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
209
209
  expect(stdout).toContain('Building Library...');
210
210
  expect(stdout).toContain('Compile check...');
211
211
 
212
- expect(stdout).toContain('Webpacked library Pega_DXIL:0.0.1-dev successfully!!');
212
+ expect(stdout).toContain('Webpacked library Pega_DXIL:0.0.1 successfully!!');
213
213
  expect(stdout).toContain('== Creating manifest for the library version - completed ==');
214
214
 
215
215
 
216
216
 
217
217
  }, 200000);
218
218
 
219
- it(`npm run deleteLib - ${isLibraryBased}`, async() => {
219
+ it(`npm run deleteLib - ${isLIbraryBasedCL}`, async() => {
220
220
 
221
- const script = `npm run deleteLib Pega_DXIL 0.0.1-dev Y --prefix ../../..`;
221
+ const script = `npm run deleteLib Pega_DXIL 0.0.1 Y --prefix ../../..`;
222
222
  const { stdout, stderr } = await exec(script);
223
223
  expect(stdout).toContain('Pega_DXIL is deleted from Local.');
224
224
 
225
225
  }, 30000);
226
226
 
227
- it(`npm run deletePublishedLib - ${isLibraryBased}`, async() => {
227
+ it(`npm run deletePublishedLib - ${isLIbraryBasedCL}`, async() => {
228
228
 
229
229
  const script = `npm run deletePublishedLib Local ALL --prefix ../../..`;
230
230
  const { stdout, stderr } = await exec(script);
@@ -13,13 +13,13 @@ const packageJSONDir = path.resolve('../../..', 'package.json');
13
13
  const packageJSONData = fs.readFileSync(packageJSONDir, { encoding: 'utf8'});
14
14
  let packageJSON = JSON.parse(packageJSONData);
15
15
 
16
- let isLibraryBased = tasksConfigJSON['libraryMode'];
17
- const savedLibraryBased = isLibraryBased;
16
+ let isLIbraryBasedC = tasksConfigJSON['libraryModeCL'];
17
+ const savedLibraryBased = isLIbraryBasedC;
18
18
  const savedOrganization = packageJSON.organization;
19
19
 
20
20
  const serverType = tasksConfigJSON['server-config'].serverType;
21
21
  const serverDir = serverType === 'launchpad' ? 'Launchpad' : 'Constellation';
22
- let compType = isLibraryBased ? "library" : "original";
22
+ let compType = isLIbraryBasedC ? "library" : "original";
23
23
 
24
24
 
25
25
  describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} - ${compType}` , () => {
@@ -27,9 +27,9 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
27
27
  beforeAll( async() => {
28
28
 
29
29
  // make libraryBased
30
- isLibraryBased = true;
31
- tasksConfigJSON['libraryMode'] = isLibraryBased;
32
- compType = isLibraryBased ? "library" : "original";
30
+ isLIbraryBasedC = true;
31
+ tasksConfigJSON['libraryModeCL'] = isLIbraryBasedC;
32
+ compType = isLIbraryBasedC ? "library" : "original";
33
33
  fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
34
34
 
35
35
  const storeDir = path.join(path.resolve('../../..'), 'store');
@@ -56,8 +56,8 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
56
56
  afterAll( async() => {
57
57
 
58
58
  //restore
59
- isLibraryBased = savedLibraryBased
60
- tasksConfigJSON['libraryMode'] = isLibraryBased;
59
+ isLIbraryBasedC = savedLibraryBased
60
+ tasksConfigJSON['libraryModeCL'] = isLIbraryBasedC;
61
61
 
62
62
  fs.writeFileSync(tasksConfigDir, JSON.stringify(tasksConfigJSON, null, 4), { encoding: 'utf8' });
63
63
 
@@ -76,13 +76,13 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
76
76
  });
77
77
 
78
78
 
79
- it(`npm run createLib - ${isLibraryBased}`, async() => {
79
+ it(`npm run createLib - ${isLIbraryBasedC}`, async() => {
80
80
 
81
81
  const script = `npm run createLib DXIL 0.0.1 N Original --prefix ../../..`;
82
- const compConf = path.join("store", "Pega_DXIL","0.0.1-dev", "componentsconfig.json");
82
+ const compConf = path.join("store", "Pega_DXIL","0.0.1", "componentsconfig.json");
83
83
 
84
84
  const { stdout, stderr } = await exec(script);
85
- expect(stdout).toContain('Library Pega_DXIL/0.0.1-dev has been created!');
85
+ expect(stdout).toContain('Library Pega_DXIL/0.0.1 has been created!');
86
86
 
87
87
  const doesExist = fs.existsSync(path.resolve('../../..', compConf));
88
88
 
@@ -186,9 +186,9 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
186
186
  // }
187
187
  }, 10000);
188
188
 
189
- it(`npm run buildLib (internal) - ${isLibraryBased}`, async() => {
189
+ it(`npm run buildLib (internal) - ${isLIbraryBasedC}`, async() => {
190
190
 
191
- const script = `npm run _internal-buildLibrary 0.0.1 Y --prefix ../../..`;
191
+ const script = `npm run _internal-buildLibrary 0.0.1 N --prefix ../../..`;
192
192
  const { stdout, stderr } = await exec(script);
193
193
 
194
194
  expect(stdout).not.toContain('JWT token has expired, please reauthenticate.');
@@ -199,7 +199,7 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
199
199
  expect(stdout).toContain('Building Library...');
200
200
  expect(stdout).toContain('Compile check...');
201
201
 
202
- expect(stdout).toContain('Webpacked library Pega_DXIL:0.0.1-dev successfully!!');
202
+ expect(stdout).toContain('Webpacked library Pega_DXIL:0.0.1 successfully!!');
203
203
  expect(stdout).toContain('== Creating manifest for the library version - completed ==');
204
204
 
205
205
 
@@ -207,29 +207,29 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
207
207
  }, 200000);
208
208
 
209
209
 
210
- it(`npm run listPublishedLib - ${isLibraryBased}`, async() => {
210
+ it(`npm run listPublishedLib - ${isLIbraryBasedC}`, async() => {
211
211
 
212
- const script = `npm run listPublishedLib Local Pega_DXIL 0.0.1-dev --prefix ../../..`;
212
+ const script = `npm run listPublishedLib Local Pega_DXIL 0.0.1 --prefix ../../..`;
213
213
  const { stdout, stderr } = await exec(script);
214
214
 
215
215
  expect(stdout).toContain('Pega_DXIL_MyTestText');
216
216
  expect(stdout).toContain('Pega_DXIL_MyTestPage');
217
217
  expect(stdout).toContain('Pega_DXIL_MyTestDetails');
218
218
 
219
- expect(stdout).toContain('0.0.1-dev');
219
+ expect(stdout).toContain('0.0.1');
220
220
 
221
221
 
222
222
  }, 30000);
223
223
 
224
- it(`npm run deleteLib - ${isLibraryBased}`, async() => {
224
+ it(`npm run deleteLib - ${isLIbraryBasedC}`, async() => {
225
225
 
226
- const script = `npm run deleteLib Pega_DXIL 0.0.1-dev Y --prefix ../../..`;
226
+ const script = `npm run deleteLib Pega_DXIL 0.0.1 Y --prefix ../../..`;
227
227
  const { stdout, stderr } = await exec(script);
228
228
  expect(stdout).toContain('Pega_DXIL is deleted from Local.');
229
229
 
230
230
  }, 30000);
231
231
 
232
- it(`npm run deletePublishedLib - ${isLibraryBased}`, async() => {
232
+ it(`npm run deletePublishedLib - ${isLIbraryBasedC}`, async() => {
233
233
 
234
234
  const script = `npm run deletePublishedLib Local ALL --prefix ../../..`;
235
235
  const { stdout, stderr } = await exec(script);