@pega/custom-dx-components 0.242.19 → 0.242.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 (182) hide show
  1. package/package.json +2 -2
  2. package/src/tasks/build-lib/index.js +82 -32
  3. package/src/tasks/create/index.js +2 -6
  4. package/src/tasks/create-all/index.js +2 -5
  5. package/src/tasks/delete/helper.js +19 -3
  6. package/src/tasks/init/template/package.json.mustache +8 -6
  7. package/src/tasks/list-lib/index.js +21 -7
  8. package/src/tasks/publish-lib/index.js +2 -1
  9. package/src/tasks/rename-lib/index.js +75 -91
  10. package/src/util.js +16 -0
  11. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/config.json +2 -2
  12. package/tests/assets/library/components/create/Pega_DXIL_MyTestText/index.tsx +1 -0
  13. package/tests/assets/library/components/create/shared/create-nonce.ts +6 -0
  14. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +2 -2
  15. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +1 -0
  16. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +3 -3
  17. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +23 -24
  18. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
  19. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +2 -2
  20. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +1 -0
  21. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +2 -2
  22. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +1 -0
  23. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +2 -2
  24. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +1 -0
  25. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +2 -2
  26. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +1 -0
  27. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +2 -2
  28. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +3 -5
  29. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +2 -0
  30. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +2 -2
  31. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +1 -0
  32. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +2 -2
  33. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +1 -0
  34. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +2 -2
  35. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +15 -15
  36. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/index.tsx +1 -0
  37. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +2 -2
  38. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +1 -0
  39. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +2 -2
  40. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +1 -0
  41. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +2 -2
  42. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +2 -2
  43. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +15 -17
  44. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +1 -0
  45. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +2 -2
  46. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +1 -0
  47. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +2 -2
  48. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +1 -0
  49. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +2 -2
  50. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +1 -0
  51. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +2 -2
  52. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +1 -0
  53. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +2 -2
  54. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +1 -0
  55. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +2 -2
  56. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +1 -0
  57. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/config.json +2 -2
  58. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +1 -0
  59. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +2 -2
  60. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +1 -0
  61. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +2 -2
  62. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +1 -0
  63. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +2 -2
  64. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
  65. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +2 -2
  66. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
  67. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +2 -2
  68. package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +1 -0
  69. package/tests/assets/library/components/createAll/Constellation/shared/create-nonce.ts +6 -0
  70. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/create-nonce.ts +6 -0
  71. package/tests/assets/original/components/create/Pega_DXIL_MyTestText/index.tsx +1 -0
  72. package/tests/assets/original/components/create/shared/create-nonce.ts +6 -0
  73. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/create-nonce.ts +6 -0
  74. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/index.tsx +1 -0
  75. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/create-nonce.ts +6 -0
  76. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/demo.stories.tsx +23 -24
  77. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
  78. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/create-nonce.ts +6 -0
  79. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/index.tsx +1 -0
  80. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/create-nonce.ts +6 -0
  81. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/index.tsx +1 -0
  82. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/create-nonce.ts +6 -0
  83. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/index.tsx +1 -0
  84. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/create-nonce.ts +6 -0
  85. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/index.tsx +1 -0
  86. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/create-nonce.ts +6 -0
  87. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/demo.stories.tsx +3 -5
  88. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/index.tsx +2 -0
  89. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/create-nonce.ts +6 -0
  90. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/index.tsx +1 -0
  91. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/create-nonce.ts +6 -0
  92. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/index.tsx +1 -0
  93. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/create-nonce.ts +6 -0
  94. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +15 -15
  95. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/index.tsx +1 -0
  96. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/create-nonce.ts +6 -0
  97. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/index.tsx +1 -0
  98. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/create-nonce.ts +6 -0
  99. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/index.tsx +1 -0
  100. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +6 -0
  101. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/create-nonce.ts +6 -0
  102. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/demo.stories.tsx +15 -17
  103. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/index.tsx +1 -0
  104. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/create-nonce.ts +6 -0
  105. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/index.tsx +1 -0
  106. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/create-nonce.ts +6 -0
  107. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/index.tsx +1 -0
  108. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/create-nonce.ts +6 -0
  109. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/index.tsx +1 -0
  110. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/create-nonce.ts +6 -0
  111. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/index.tsx +1 -0
  112. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/create-nonce.ts +6 -0
  113. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +1 -0
  114. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/create-nonce.ts +6 -0
  115. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/index.tsx +1 -0
  116. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/create-nonce.ts +6 -0
  117. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/index.tsx +1 -0
  118. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/create-nonce.ts +6 -0
  119. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/index.tsx +1 -0
  120. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/create-nonce.ts +6 -0
  121. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/index.tsx +1 -0
  122. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +6 -0
  123. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
  124. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +6 -0
  125. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
  126. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/create-nonce.ts +6 -0
  127. package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/index.tsx +1 -0
  128. package/tests/assets/original/components/createAll/Constellation/shared/create-nonce.ts +6 -0
  129. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/create-nonce.ts +6 -0
  130. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/index.tsx +1 -0
  131. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/create-nonce.ts +6 -0
  132. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/index.tsx +1 -0
  133. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/create-nonce.ts +6 -0
  134. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/index.tsx +1 -0
  135. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/create-nonce.ts +6 -0
  136. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/index.tsx +1 -0
  137. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/create-nonce.ts +6 -0
  138. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/index.tsx +1 -0
  139. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/create-nonce.ts +6 -0
  140. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/index.tsx +1 -0
  141. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/create-nonce.ts +6 -0
  142. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/demo.stories.tsx +3 -5
  143. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/index.tsx +2 -0
  144. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/create-nonce.ts +6 -0
  145. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/index.tsx +1 -0
  146. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/create-nonce.ts +6 -0
  147. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/index.tsx +1 -0
  148. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/create-nonce.ts +6 -0
  149. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/index.tsx +1 -0
  150. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/create-nonce.ts +6 -0
  151. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/index.tsx +1 -0
  152. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/create-nonce.ts +6 -0
  153. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/index.tsx +1 -0
  154. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/create-nonce.ts +6 -0
  155. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/index.tsx +1 -0
  156. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/create-nonce.ts +6 -0
  157. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/index.tsx +1 -0
  158. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/create-nonce.ts +6 -0
  159. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/index.tsx +1 -0
  160. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/create-nonce.ts +6 -0
  161. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/index.tsx +1 -0
  162. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/create-nonce.ts +6 -0
  163. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/index.tsx +1 -0
  164. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/create-nonce.ts +6 -0
  165. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/index.tsx +1 -0
  166. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/create-nonce.ts +6 -0
  167. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/index.tsx +1 -0
  168. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/create-nonce.ts +6 -0
  169. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/index.tsx +1 -0
  170. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/create-nonce.ts +6 -0
  171. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/index.tsx +1 -0
  172. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/create-nonce.ts +6 -0
  173. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/index.tsx +1 -0
  174. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/create-nonce.ts +6 -0
  175. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/index.tsx +1 -0
  176. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/create-nonce.ts +6 -0
  177. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/index.tsx +1 -0
  178. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/create-nonce.ts +6 -0
  179. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/index.tsx +1 -0
  180. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/create-nonce.ts +6 -0
  181. package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/index.tsx +1 -0
  182. package/tests/assets/original/components/createAll/Launchpad/shared/create-nonce.ts +6 -0
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { useState, useEffect, useRef } from 'react';
2
2
  import { Input, EmailDisplay, FieldValueList, Text, URLDisplay, PhoneDisplay, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  // includes in bundle
6
7
  import { suggestionsHandler } from './suggestions-handler';
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -2,6 +2,7 @@ import { Grid, Flex, FieldGroup, withConfiguration } from '@pega/cosmos-react-co
2
2
 
3
3
 
4
4
  import type { PConnFieldProps } from './PConnProps';
5
+ import './create-nonce';
5
6
  import DetailsRender from './DetailsRender';
6
7
 
7
8
  import StyledPegaDxilMyFormWrapper from './styles';
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -10,6 +10,7 @@ import {
10
10
  URLDisplay
11
11
  } from '@pega/cosmos-react-core';
12
12
  import type { PConnFieldProps } from './PConnProps';
13
+ import './create-nonce';
13
14
 
14
15
  // IMPORTANT
15
16
  // To use Icons, need to individually import the icon file form @pega/cosmos-react-core (see path below)
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -3,6 +3,7 @@ import { NumberInput, NumberDisplay, Slider, FieldValueList, CurrencyDisplay, Te
3
3
 
4
4
 
5
5
  import type { PConnFieldProps } from './PConnProps';
6
+ import './create-nonce';
6
7
 
7
8
  // includes in bundle
8
9
  import handleEvent from "./event-utils";
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -3,6 +3,7 @@ import { OneColumnPage as OneColumn, withConfiguration } from '@pega/cosmos-reac
3
3
  import { ConfigurableLayout } from '@pega/cosmos-react-work'
4
4
  // import { registerIcon } from '@pega/cosmos-react-core';
5
5
  import type { PConnFieldProps } from './PConnProps';
6
+ import './create-nonce';
6
7
 
7
8
 
8
9
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { Fragment } from 'react';
2
2
  import { DateTimeDisplay, Card, CardHeader, CardContent, Flex, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  // includes in bundle
6
7
  import Operator from './Operator';
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -2,6 +2,7 @@ import { useEffect, useState } from 'react';
2
2
  import { withConfiguration, Table } from '@pega/cosmos-react-core';
3
3
  import { AppAnnouncement as PegaAppAnnouncement } from '@pega/cosmos-react-work';
4
4
  import type { PConnFieldProps } from './PConnProps';
5
+ import './create-nonce';
5
6
 
6
7
  import StyledPegaDxilMyPageWidgetWrapper from './styles';
7
8
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -2,6 +2,7 @@ import { useState, useEffect, useRef } from 'react';
2
2
  import { TextArea as CosmosTextArea, FieldValueList, ParagraphDisplay, Text, EmailDisplay, PhoneDisplay, URLDisplay, withConfiguration } from '@pega/cosmos-react-core';
3
3
 
4
4
  import type { PConnFieldProps } from './PConnProps';
5
+ import './create-nonce';
5
6
 
6
7
  // includes in bundle
7
8
  import { suggestionsHandler } from './suggestions-handler';
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -10,6 +10,7 @@ import {
10
10
 
11
11
 
12
12
  import type { PConnFieldProps } from './PConnProps';
13
+ import './create-nonce';
13
14
 
14
15
  // includes in bundle
15
16
  import handleEvent from './event-utils';
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -10,6 +10,7 @@ import {
10
10
  withConfiguration
11
11
  } from '@pega/cosmos-react-core';
12
12
  import type { PConnFieldProps } from './PConnProps';
13
+ import './create-nonce';
13
14
 
14
15
  // includes in bundle
15
16
  import handleEvent from "./event-utils";
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -3,6 +3,7 @@ import { useState, useEffect, useRef, type Key } from 'react';
3
3
  import { Select, Option, FieldValueList, Text, withConfiguration } from '@pega/cosmos-react-core';
4
4
 
5
5
  import type { PConnFieldProps } from './PConnProps';
6
+ import './create-nonce';
6
7
 
7
8
  // includes in bundle
8
9
  import handleEvent from "./event-utils";
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -2,6 +2,7 @@
2
2
  import { useMemo } from 'react';
3
3
  import { RadioButton, RadioButtonGroup, withConfiguration } from '@pega/cosmos-react-core';
4
4
  import type { PConnFieldProps } from './PConnProps';
5
+ import './create-nonce';
5
6
 
6
7
  // includes in bundle
7
8
  import { formatExists, textFormatter } from './textformat-utils';
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -4,6 +4,7 @@ import { useEffect, useRef, useState, useMemo, type MutableRefObject, type SetSt
4
4
  import { ComboBox, menuHelpers, debounce, throttle, Button, Icon, withConfiguration, type MenuGroupProps, type MenuItemProps } from '@pega/cosmos-react-core';
5
5
  import get from 'lodash.get';
6
6
  import type { PConnFieldProps } from './PConnProps';
7
+ import './create-nonce';
7
8
 
8
9
  // includes in bundle
9
10
  import handleEvent from "./event-utils";
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -9,6 +9,7 @@ import {
9
9
  } from '@pega/cosmos-react-core';
10
10
 
11
11
  import type { PConnFieldProps } from './PConnProps';
12
+ import './create-nonce';
12
13
 
13
14
  import StyledPegaDxilMyTextWrapper from './styles';
14
15
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { useEffect, useState, useRef } from 'react';
2
2
  import { Input, FieldValueList, Text, EmailDisplay, PhoneDisplay, URLDisplay, withConfiguration } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  // include in bundle
6
7
  import handleEvent from "./event-utils";
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -2,6 +2,7 @@ import { useEffect, useState } from 'react';
2
2
  import { TimeInput, FieldValueList, DateTimeDisplay, Text, withConfiguration } from '@pega/cosmos-react-core';
3
3
 
4
4
  import type { PConnFieldProps } from './PConnProps';
5
+ import './create-nonce';
5
6
 
6
7
 
7
8
  // includes in bundle
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { Fragment, Children, type ReactElement } from 'react';
2
2
  import { Grid, Flex, FieldGroup, withConfiguration, type GridContainerProps } from '@pega/cosmos-react-core';
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
  import DetailsRender from './DetailsRender';
5
6
  import HighlightRender from './HighlightRender';
6
7
 
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { Grid, Flex, FieldGroup, withConfiguration } from '@pega/cosmos-react-core';
2
2
 
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
  import DetailsRender from './DetailsRender';
5
6
 
6
7
  import StyledPegaDxilMyTwoColumnFormWrapper from './styles';
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { useState, useEffect, useRef} from "react";
2
2
  import { Input, FieldValueList, Text, withConfiguration } from "@pega/cosmos-react-core";
3
3
  import type { PConnFieldProps } from './PConnProps';
4
+ import './create-nonce';
4
5
 
5
6
  // includes in bundle
6
7
  import {formatExists,textFormatter, urlFormatter} from "./text-url";
@@ -0,0 +1,6 @@
1
+ /* eslint-disable camelcase */
2
+ // @ts-ignore
3
+ if (window?.__webpack_nonce__) {
4
+ // @ts-ignore
5
+ __webpack_nonce__ = window.__webpack_nonce__;
6
+ }