@pega/dx-component-builder-sdk 0.24.2 → 0.24.3

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 (168) hide show
  1. package/package.json +1 -1
  2. package/tests/assets/sdk-r/components/create/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +94 -4
  3. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/config.json +1 -1
  4. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +0 -1
  5. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/mock.ts +1 -1
  6. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +2 -2
  7. package/tests/assets/sdk-r/components/create/override-sdk/field/CancelAlert/CancelAlert.tsx +2 -0
  8. package/tests/assets/sdk-r/components/create/override-sdk/field/Currency/Currency.tsx +36 -26
  9. package/tests/assets/sdk-r/components/create/override-sdk/field/Decimal/Decimal.tsx +33 -19
  10. package/tests/assets/sdk-r/components/create/override-sdk/field/Multiselect/Multiselect.tsx +1 -1
  11. package/tests/assets/sdk-r/components/create/override-sdk/field/Percentage/Percentage.tsx +33 -18
  12. package/tests/assets/sdk-r/components/create/override-sdk/field/ScalarList/ScalarList.tsx +2 -0
  13. package/tests/assets/sdk-r/components/create/override-sdk/field/UserReference/UserReference.tsx +11 -1
  14. package/tests/assets/sdk-r/components/create/override-sdk/infra/Assignment/Assignment.tsx +2 -1
  15. package/tests/assets/sdk-r/components/create/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +1 -1
  16. package/tests/assets/sdk-r/components/create/override-sdk/infra/DeferLoad/DeferLoad.tsx +5 -1
  17. package/tests/assets/sdk-r/components/create/override-sdk/infra/MultiStep/MultiStep.tsx +3 -1
  18. package/tests/assets/sdk-r/components/create/override-sdk/infra/NavBar/NavBar.tsx +2 -2
  19. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseView/CaseView.tsx +2 -1
  20. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +1 -1
  21. package/tests/assets/sdk-r/components/create/override-sdk/template/DataReference/DataReference.tsx +1 -1
  22. package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/utils/index.ts +2 -7
  23. package/tests/assets/sdk-r/components/create/override-sdk/template/Details/Details.tsx +1 -1
  24. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +1 -1
  25. package/tests/assets/sdk-r/components/create/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +1 -1
  26. package/tests/assets/sdk-r/components/create/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +2 -0
  27. package/tests/assets/sdk-r/components/create/override-sdk/template/ListView/ListView.tsx +4 -2
  28. package/tests/assets/sdk-r/components/create/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +1 -1
  29. package/tests/assets/sdk-r/components/create/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +1 -1
  30. package/tests/assets/sdk-r/components/create/override-sdk/template/PromotedFilters/PromotedFilters.tsx +1 -0
  31. package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +4 -0
  32. package/tests/assets/sdk-r/components/create/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +1 -1
  33. package/tests/assets/sdk-r/components/create/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +1 -1
  34. package/tests/assets/sdk-r/components/create/override-sdk/widget/Attachment/Attachment.tsx +3 -2
  35. package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.tsx +1 -1
  36. package/tests/assets/sdk-r/components/create/override-sdk/widget/QuickCreate/QuickCreate.tsx +1 -0
  37. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.tsx +3 -2
  38. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/PConnProps.d.ts +46 -0
  39. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +99 -0
  40. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/index.tsx +201 -0
  41. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/mock.ts +5 -0
  42. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyIconButtonURL/styles.ts +8 -0
  43. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
  44. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/date.ts +15 -37
  45. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/index.tsx +11 -0
  46. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MySearchbox/utils.ts +3 -0
  47. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyText/index.tsx +94 -4
  48. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Avatar.tsx +78 -0
  49. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/DetailsRender.tsx +52 -0
  50. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/HighlightRender.tsx +46 -0
  51. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/Operator.tsx +215 -0
  52. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/demo.stories.tsx +77 -23
  53. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/index.tsx +48 -37
  54. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/mock.ts +78 -20
  55. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyDetails/styles.ts +16 -0
  56. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/DetailsRender.tsx +59 -0
  57. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyForm/index.tsx +28 -5
  58. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/GetNextWork.tsx +2 -1
  59. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyPage/localizations.json +4 -2
  60. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Avatar.tsx +78 -0
  61. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/DetailsRender.tsx +52 -0
  62. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/HighlightRender.tsx +46 -0
  63. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/Operator.tsx +215 -0
  64. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +95 -26
  65. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +39 -36
  66. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +68 -10
  67. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnDetails/styles.ts +15 -0
  68. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/DetailsRender.tsx +59 -0
  69. package/tests/assets/sdk-r/components/createAll/custom-constellation/template/Pega_DXIL_MyTwoColumnForm/index.tsx +23 -4
  70. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +87 -6
  71. package/tests/assets/sdk-r/components/createAll/custom-constellation/widget/Pega_DXIL_MyPageWidget/index.tsx +67 -5
  72. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/demo.stories.tsx +1 -1
  73. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/mock.ts +8 -8
  74. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/config.json +1 -1
  75. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/demo.stories.tsx +1 -1
  76. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/index.tsx +44 -34
  77. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/mock.ts +1 -1
  78. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/index.tsx +2 -2
  79. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/mock.ts +7 -7
  80. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/demo.stories.tsx +1 -1
  81. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/index.tsx +2 -3
  82. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/mock.ts +6 -6
  83. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/index.tsx +48 -32
  84. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/mock.ts +1 -1
  85. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/config.json +1 -1
  86. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/mock.ts +1 -1
  87. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/config.json +64 -0
  88. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/demo.stories.tsx +91 -0
  89. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/index.tsx +157 -0
  90. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/mock.ts +4 -0
  91. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyIconButtonURL/styles.js +7 -0
  92. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/config.json +1 -1
  93. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/index.tsx +16 -17
  94. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/mock.ts +1 -1
  95. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/index.tsx +1 -3
  96. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/mock.ts +1 -1
  97. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/config.json +1 -1
  98. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/index.tsx +34 -19
  99. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/mock.ts +1 -1
  100. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +1 -2
  101. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +23 -23
  102. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/mock.ts +0 -1
  103. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/config.json +1 -1
  104. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/index.tsx +0 -1
  105. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/mock.ts +1 -1
  106. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/config.json +1 -1
  107. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/index.tsx +0 -1
  108. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/mock.ts +1 -1
  109. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +4 -4
  110. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/index.tsx +0 -2
  111. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/mock.ts +6 -6
  112. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/index.tsx +1 -2
  113. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/mock.ts +1 -1
  114. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/demo.stories.tsx +1 -7
  115. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx +4 -9
  116. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/mock.ts +181 -165
  117. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/config.json +1 -1
  118. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/demo.stories.tsx +0 -1
  119. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx +11 -13
  120. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/utils.ts +1 -1
  121. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/OneColumn.tsx +12 -13
  122. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/demo.stories.tsx +1 -1
  123. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/index.tsx +3 -5
  124. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/mock.ts +8 -9
  125. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +1 -6
  126. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +4 -9
  127. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/mock.ts +207 -163
  128. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +0 -2
  129. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/mock.ts +121 -122
  130. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/config.json +2 -2
  131. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +0 -1
  132. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/index.tsx +3 -3
  133. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +1 -2
  134. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +0 -1
  135. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/mock.ts +0 -1
  136. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/config.json +43 -43
  137. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/mock.ts +1 -1
  138. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +2 -2
  139. package/tests/assets/sdk-r/components/createAll/override-sdk/field/CancelAlert/CancelAlert.tsx +2 -0
  140. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Currency/Currency.tsx +36 -26
  141. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Decimal/Decimal.tsx +33 -19
  142. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Multiselect/Multiselect.tsx +1 -1
  143. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Percentage/Percentage.tsx +33 -18
  144. package/tests/assets/sdk-r/components/createAll/override-sdk/field/ScalarList/ScalarList.tsx +2 -0
  145. package/tests/assets/sdk-r/components/createAll/override-sdk/field/UserReference/UserReference.tsx +11 -1
  146. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/Assignment/Assignment.tsx +2 -1
  147. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DashboardFilter/DashboardFilter.tsx +1 -1
  148. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/DeferLoad/DeferLoad.tsx +5 -1
  149. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/MultiStep/MultiStep.tsx +3 -1
  150. package/tests/assets/sdk-r/components/createAll/override-sdk/infra/NavBar/NavBar.tsx +2 -2
  151. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseView/CaseView.tsx +2 -1
  152. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +1 -1
  153. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DataReference/DataReference.tsx +1 -1
  154. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/utils/index.ts +2 -7
  155. package/tests/assets/sdk-r/components/createAll/override-sdk/template/Details/Details.tsx +1 -1
  156. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsThreeColumn/DetailsThreeColumn.tsx +1 -1
  157. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DetailsTwoColumn/DetailsTwoColumn.tsx +1 -1
  158. package/tests/assets/sdk-r/components/createAll/override-sdk/template/FieldGroupTemplate/FieldGroupTemplate.tsx +2 -0
  159. package/tests/assets/sdk-r/components/createAll/override-sdk/template/ListView/ListView.tsx +4 -2
  160. package/tests/assets/sdk-r/components/createAll/override-sdk/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +1 -1
  161. package/tests/assets/sdk-r/components/createAll/override-sdk/template/NarrowWideDetails/NarrowWideDetails.tsx +1 -1
  162. package/tests/assets/sdk-r/components/createAll/override-sdk/template/PromotedFilters/PromotedFilters.tsx +1 -0
  163. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +4 -0
  164. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +1 -1
  165. package/tests/assets/sdk-r/components/createAll/override-sdk/template/WideNarrowDetails/WideNarrowDetails.tsx +1 -1
  166. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/Attachment/Attachment.tsx +3 -2
  167. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.tsx +1 -1
  168. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/QuickCreate/QuickCreate.tsx +1 -0
@@ -1,120 +1,124 @@
1
1
  const operatorDetails = {
2
2
  data: {
3
- pzLoadTime: "January 18, 2023 10:33:19 AM EST",
4
- pzPageNameHash: "_pa1519192551088960pz",
3
+ pzLoadTime: 'January 18, 2023 10:33:19 AM EST',
4
+ pzPageNameHash: '_pa1519192551088960pz',
5
5
  pyOperatorInfo: {
6
- pyUserName: "french DigV2",
7
- pyPosition: "",
8
- pyImageInsKey: "",
6
+ pyUserName: 'french DigV2',
7
+ pyPosition: '',
8
+ pyImageInsKey: '',
9
9
  pySkills: [
10
10
  {
11
- pySkillName: "",
12
- pzIndexOwnerKey: "DATA-ADMIN-OPERATOR-ID FRENCHTEST.DIGV2",
13
- pySkillRating: 0,
14
- },
11
+ pySkillName: '',
12
+ pzIndexOwnerKey: 'DATA-ADMIN-OPERATOR-ID FRENCHTEST.DIGV2',
13
+ pySkillRating: 0
14
+ }
15
15
  ],
16
- pyReportToUserName: "",
17
- pyReportTo: "",
18
- pyOrganization: "DXIL",
19
- pyTitle: "",
20
- pyLabel: "frenchTest.DigV2",
21
- pyEmailAddress: "User@DigV2",
22
- pyTelephone: "",
23
- },
16
+ pyReportToUserName: '',
17
+ pyReportTo: '',
18
+ pyOrganization: 'DXIL',
19
+ pyTitle: '',
20
+ pyLabel: 'frenchTest.DigV2',
21
+ pyEmailAddress: 'User@DigV2',
22
+ pyTelephone: ''
23
+ }
24
24
  },
25
25
  status: 200,
26
- statusText: "",
26
+ statusText: '',
27
27
  headers: {
28
- "content-length": "435",
29
- "content-type": "application/json;charset=UTF-8",
28
+ 'content-length': '435',
29
+ 'content-type': 'application/json;charset=UTF-8'
30
30
  },
31
- request: {},
31
+ request: {}
32
32
  };
33
33
 
34
34
  export default operatorDetails;
35
35
 
36
36
  export const pyReviewRaw = {
37
- name: "pyReview",
38
- type: "View",
37
+ name: 'pyReview',
38
+ type: 'View',
39
39
  config: {
40
- template: "Details",
41
- ruleClass: "MyCo-MyCompon-Work-MyComponents",
40
+ template: 'Details',
41
+ ruleClass: 'MyCo-MyCompon-Work-MyComponents',
42
42
  showLabel: true,
43
- label: "@L Details",
44
- localeReference: "@LR MYCO-MYCOMPON-WORK-MYCOMPONENTS!VIEW!PYREVIEW",
43
+ label: '@L Details',
44
+ localeReference: '@LR MYCO-MYCOMPON-WORK-MYCOMPONENTS!VIEW!PYREVIEW',
45
45
  showHighlightedData: true,
46
46
  highlightedData: [
47
47
  {
48
- type: "TextInput",
48
+ type: 'TextInput',
49
49
  config: {
50
- value: "@P .pyStatusWork",
51
- label: "@L Work Status",
52
- displayMode: "STACKED_LARGE_VAL",
53
- displayAsStatus: true,
54
- },
50
+ value: '@P .pyStatusWork',
51
+ label: '@L Work Status',
52
+ displayMode: 'STACKED_LARGE_VAL',
53
+ displayAsStatus: true
54
+ }
55
55
  },
56
56
  {
57
- type: "TextInput",
57
+ type: 'TextInput',
58
58
  config: {
59
- value: "@P .pyID",
60
- label: "@L Case ID",
61
- displayMode: "STACKED_LARGE_VAL",
62
- },
59
+ value: '@P .pyID',
60
+ label: '@L Case ID',
61
+ displayMode: 'STACKED_LARGE_VAL'
62
+ }
63
63
  },
64
64
  {
65
- type: "DateTime",
65
+ type: 'DateTime',
66
66
  config: {
67
- value: "@P .pxCreateDateTime",
68
- label: "@L Create date/time",
69
- displayMode: "STACKED_LARGE_VAL",
70
- },
67
+ value: '@P .pxCreateDateTime',
68
+ label: '@L Create date/time',
69
+ displayMode: 'STACKED_LARGE_VAL'
70
+ }
71
71
  },
72
72
  {
73
- type: "UserReference",
73
+ type: 'UserReference',
74
74
  config: {
75
- label: "@L Create Operator",
76
- value: "@USER .pxCreateOperator",
77
- placeholder: "Select...",
78
- displayMode: "STACKED_LARGE_VAL",
79
- },
80
- },
75
+ label: '@L Create Operator',
76
+ value: '@USER .pxCreateOperator',
77
+ placeholder: 'Select...',
78
+ displayMode: 'STACKED_LARGE_VAL'
79
+ }
80
+ }
81
81
  ],
82
82
  inheritedProps: [
83
83
  {
84
- prop: "label",
85
- value: "@L Details",
84
+ prop: 'label',
85
+ value: '@L Details'
86
86
  },
87
87
  {
88
- prop: "showLabel",
89
- value: true,
90
- },
91
- ],
88
+ prop: 'showLabel',
89
+ value: true
90
+ }
91
+ ]
92
92
  },
93
93
  children: [
94
94
  {
95
- name: "A",
96
- type: "Region",
95
+ name: 'A',
96
+ type: 'Region',
97
97
  getPConnect: () => {
98
98
  return {
99
99
  getRawMetadata: () => {
100
100
  return pyReviewRaw.children[0];
101
- },
101
+ }
102
102
  };
103
103
  },
104
104
  children: [
105
105
  {
106
106
  readOnly: undefined,
107
- placeholder: "First Name",
108
- value: "John",
109
- label: "First Name",
107
+ placeholder: 'First Name',
108
+ value: 'John',
109
+ label: 'First Name',
110
110
  hasSuggestions: false,
111
- displayMode: "LABELS_LEFT",
111
+ displayMode: 'LABELS_LEFT',
112
112
  getPConnect: () => {
113
113
  return {
114
114
  getActionsApi: () => {
115
115
  return {
116
- updateFieldValue: () => {/* nothing */},
117
- triggerFieldChange: () => {/* nothing */}
116
+ updateFieldValue: () => {
117
+ /* nothing */
118
+ },
119
+ triggerFieldChange: () => {
120
+ /* nothing */
121
+ }
118
122
  };
119
123
  },
120
124
  getStateProps: () => {
@@ -125,17 +129,21 @@ export const pyReviewRaw = {
125
129
  },
126
130
  {
127
131
  readOnly: undefined,
128
- placeholder: "Middle Name",
129
- value: "",
130
- label: "Middle Name",
132
+ placeholder: 'Middle Name',
133
+ value: '',
134
+ label: 'Middle Name',
131
135
  hasSuggestions: false,
132
- displayMode: "LABELS_LEFT",
136
+ displayMode: 'LABELS_LEFT',
133
137
  getPConnect: () => {
134
138
  return {
135
139
  getActionsApi: () => {
136
140
  return {
137
- updateFieldValue: () => {/* nothing */},
138
- triggerFieldChange: () => {/* nothing */}
141
+ updateFieldValue: () => {
142
+ /* nothing */
143
+ },
144
+ triggerFieldChange: () => {
145
+ /* nothing */
146
+ }
139
147
  };
140
148
  },
141
149
  getStateProps: () => {
@@ -146,17 +154,21 @@ export const pyReviewRaw = {
146
154
  },
147
155
  {
148
156
  readOnly: undefined,
149
- placeholder: "Last Name",
150
- value: "Doe",
151
- label: "Last Name",
157
+ placeholder: 'Last Name',
158
+ value: 'Doe',
159
+ label: 'Last Name',
152
160
  hasSuggestions: false,
153
- displayMode: "LABELS_LEFT",
161
+ displayMode: 'LABELS_LEFT',
154
162
  getPConnect: () => {
155
163
  return {
156
164
  getActionsApi: () => {
157
165
  return {
158
- updateFieldValue: () => {/* nothing */},
159
- triggerFieldChange: () => {/* nothing */}
166
+ updateFieldValue: () => {
167
+ /* nothing */
168
+ },
169
+ triggerFieldChange: () => {
170
+ /* nothing */
171
+ }
160
172
  };
161
173
  },
162
174
  getStateProps: () => {
@@ -166,18 +178,22 @@ export const pyReviewRaw = {
166
178
  }
167
179
  },
168
180
  {
169
- value: "john@doe.com",
170
- label: "Email",
181
+ value: 'john@doe.com',
182
+ label: 'Email',
171
183
  required: true,
172
- testId: "CE8AE9DA5B7CD6C3DF2929543A9AF92D",
184
+ testId: 'CE8AE9DA5B7CD6C3DF2929543A9AF92D',
173
185
  hasSuggestions: false,
174
- displayMode: "LABELS_LEFT",
186
+ displayMode: 'LABELS_LEFT',
175
187
  getPConnect: () => {
176
188
  return {
177
189
  getActionsApi: () => {
178
190
  return {
179
- updateFieldValue: () => {/* nothing */},
180
- triggerFieldChange: () => {/* nothing */}
191
+ updateFieldValue: () => {
192
+ /* nothing */
193
+ },
194
+ triggerFieldChange: () => {
195
+ /* nothing */
196
+ }
181
197
  };
182
198
  },
183
199
  getStateProps: () => {
@@ -188,16 +204,20 @@ export const pyReviewRaw = {
188
204
  },
189
205
  {
190
206
  readOnly: undefined,
191
- value: "+16397975093",
192
- label: "Phone",
193
- displayMode: "LABELS_LEFT",
207
+ value: '+16397975093',
208
+ label: 'Phone',
209
+ displayMode: 'LABELS_LEFT',
194
210
  hasSuggestions: false,
195
211
  getPConnect: () => {
196
212
  return {
197
213
  getActionsApi: () => {
198
214
  return {
199
- updateFieldValue: () => {/* nothing */},
200
- triggerFieldChange: () => {/* nothing */}
215
+ updateFieldValue: () => {
216
+ /* nothing */
217
+ },
218
+ triggerFieldChange: () => {
219
+ /* nothing */
220
+ }
201
221
  };
202
222
  },
203
223
  getStateProps: () => {
@@ -208,41 +228,45 @@ export const pyReviewRaw = {
208
228
  },
209
229
  {
210
230
  readOnly: undefined,
211
- placeholder: "Price",
212
- value: "90.99",
213
- label: "Price",
231
+ placeholder: 'Price',
232
+ value: '90.99',
233
+ label: 'Price',
214
234
  hasSuggestions: false,
215
- displayMode: "LABELS_LEFT",
235
+ displayMode: 'LABELS_LEFT',
216
236
  getPConnect: () => {
217
237
  return {
218
- getActionsApi: () => {/* nothing */},
238
+ getActionsApi: () => {
239
+ /* nothing */
240
+ },
219
241
  getStateProps: () => {
220
242
  return {
221
- value: "",
243
+ value: ''
222
244
  };
223
245
  },
224
246
  getComponentName: () => {
225
- return "currency";
226
- },
247
+ return 'currency';
248
+ }
227
249
  };
228
- },
250
+ }
229
251
  },
230
252
  {
231
253
  readOnly: undefined,
232
- value: "100 Mbps",
233
- label: "Internet Plan",
254
+ value: '100 Mbps',
255
+ label: 'Internet Plan',
234
256
  hasSuggestions: false,
235
- displayMode: "LABELS_LEFT",
257
+ displayMode: 'LABELS_LEFT',
236
258
  getPConnect: () => {
237
259
  return {
238
- getActionsApi: () => {/* nothing */},
260
+ getActionsApi: () => {
261
+ /* nothing */
262
+ },
239
263
  getStateProps: () => {
240
264
  return {
241
- value: "",
265
+ value: ''
242
266
  };
243
267
  },
244
268
  getComponentName: () => {
245
- return "radio";
269
+ return 'radio';
246
270
  },
247
271
  getContextName: () => {
248
272
  return 'app/primary_1';
@@ -268,23 +292,27 @@ export const pyReviewRaw = {
268
292
  },
269
293
  getLocalizedValue: val => {
270
294
  return val;
271
- },
295
+ }
272
296
  };
273
- },
297
+ }
274
298
  },
275
299
  {
276
300
  readOnly: undefined,
277
- placeholder: "Middle Name",
278
- value: "",
279
- label: "Middle Name",
301
+ placeholder: 'Middle Name',
302
+ value: '',
303
+ label: 'Middle Name',
280
304
  hasSuggestions: false,
281
- displayMode: "LABELS_LEFT",
305
+ displayMode: 'LABELS_LEFT',
282
306
  getPConnect: () => {
283
307
  return {
284
308
  getActionsApi: () => {
285
309
  return {
286
- updateFieldValue: () => {/* nothing */},
287
- triggerFieldChange: () => {/* nothing */}
310
+ updateFieldValue: () => {
311
+ /* nothing */
312
+ },
313
+ triggerFieldChange: () => {
314
+ /* nothing */
315
+ }
288
316
  };
289
317
  },
290
318
  getStateProps: () => {
@@ -295,17 +323,21 @@ export const pyReviewRaw = {
295
323
  },
296
324
  {
297
325
  readOnly: undefined,
298
- placeholder: "Last Name",
299
- value: "Doe",
300
- label: "Last Name",
326
+ placeholder: 'Last Name',
327
+ value: 'Doe',
328
+ label: 'Last Name',
301
329
  hasSuggestions: false,
302
- displayMode: "LABELS_LEFT",
330
+ displayMode: 'LABELS_LEFT',
303
331
  getPConnect: () => {
304
332
  return {
305
333
  getActionsApi: () => {
306
334
  return {
307
- updateFieldValue: () => {/* nothing */},
308
- triggerFieldChange: () => {/* nothing */}
335
+ updateFieldValue: () => {
336
+ /* nothing */
337
+ },
338
+ triggerFieldChange: () => {
339
+ /* nothing */
340
+ }
309
341
  };
310
342
  },
311
343
  getStateProps: () => {
@@ -315,18 +347,22 @@ export const pyReviewRaw = {
315
347
  }
316
348
  },
317
349
  {
318
- value: "john@doe.com",
319
- label: "Email",
350
+ value: 'john@doe.com',
351
+ label: 'Email',
320
352
  required: true,
321
- testId: "CE8AE9DA5B7CD6C3DF2929543A9AF92D",
353
+ testId: 'CE8AE9DA5B7CD6C3DF2929543A9AF92D',
322
354
  hasSuggestions: false,
323
- displayMode: "LABELS_LEFT",
355
+ displayMode: 'LABELS_LEFT',
324
356
  getPConnect: () => {
325
357
  return {
326
358
  getActionsApi: () => {
327
359
  return {
328
- updateFieldValue: () => {/* nothing */},
329
- triggerFieldChange: () => {/* nothing */}
360
+ updateFieldValue: () => {
361
+ /* nothing */
362
+ },
363
+ triggerFieldChange: () => {
364
+ /* nothing */
365
+ }
330
366
  };
331
367
  },
332
368
  getStateProps: () => {
@@ -337,16 +373,20 @@ export const pyReviewRaw = {
337
373
  },
338
374
  {
339
375
  readOnly: undefined,
340
- value: "+16397975093",
341
- label: "Phone",
342
- displayMode: "LABELS_LEFT",
376
+ value: '+16397975093',
377
+ label: 'Phone',
378
+ displayMode: 'LABELS_LEFT',
343
379
  hasSuggestions: false,
344
380
  getPConnect: () => {
345
381
  return {
346
382
  getActionsApi: () => {
347
383
  return {
348
- updateFieldValue: () => {/* nothing */},
349
- triggerFieldChange: () => {/* nothing */}
384
+ updateFieldValue: () => {
385
+ /* nothing */
386
+ },
387
+ triggerFieldChange: () => {
388
+ /* nothing */
389
+ }
350
390
  };
351
391
  },
352
392
  getStateProps: () => {
@@ -357,41 +397,45 @@ export const pyReviewRaw = {
357
397
  },
358
398
  {
359
399
  readOnly: undefined,
360
- placeholder: "Price",
361
- value: "90.99",
362
- label: "Price",
400
+ placeholder: 'Price',
401
+ value: '90.99',
402
+ label: 'Price',
363
403
  hasSuggestions: false,
364
- displayMode: "LABELS_LEFT",
404
+ displayMode: 'LABELS_LEFT',
365
405
  getPConnect: () => {
366
406
  return {
367
- getActionsApi: () => {/* nothing */},
407
+ getActionsApi: () => {
408
+ /* nothing */
409
+ },
368
410
  getStateProps: () => {
369
411
  return {
370
- value: "",
412
+ value: ''
371
413
  };
372
414
  },
373
415
  getComponentName: () => {
374
- return "currency";
375
- },
416
+ return 'currency';
417
+ }
376
418
  };
377
- },
419
+ }
378
420
  },
379
421
  {
380
422
  readOnly: undefined,
381
- value: "100 Mbps",
382
- label: "Internet Plan",
423
+ value: '100 Mbps',
424
+ label: 'Internet Plan',
383
425
  hasSuggestions: false,
384
- displayMode: "LABELS_LEFT",
426
+ displayMode: 'LABELS_LEFT',
385
427
  getPConnect: () => {
386
428
  return {
387
- getActionsApi: () => {/* nothing */},
429
+ getActionsApi: () => {
430
+ /* nothing */
431
+ },
388
432
  getStateProps: () => {
389
433
  return {
390
- value: "",
434
+ value: ''
391
435
  };
392
436
  },
393
437
  getComponentName: () => {
394
- return "radio";
438
+ return 'radio';
395
439
  },
396
440
  getContextName: () => {
397
441
  return 'app/primary_1';
@@ -417,27 +461,27 @@ export const pyReviewRaw = {
417
461
  },
418
462
  getLocalizedValue: val => {
419
463
  return val;
420
- },
464
+ }
421
465
  };
422
- },
466
+ }
423
467
  },
424
468
  {
425
- label: "Update operator",
426
- createLabel: "Created",
427
- updateLabel: "Updated",
428
- updateDateTime: "2023-03-10T12:53:04.670Z",
429
- createDateTime: "2023-03-10T12:52:20.054Z",
430
- updateOperator: {
431
- userId: "User.DigV2",
432
- userName: "User DigV2",
433
- },
434
- createOperator: {
435
- userId: "User.DigV2",
436
- userName: "User DigV2",
437
- },
438
- },
439
- ],
440
- },
469
+ label: 'Update operator',
470
+ createLabel: 'Created',
471
+ updateLabel: 'Updated',
472
+ updateDateTime: '2023-03-10T12:53:04.670Z',
473
+ createDateTime: '2023-03-10T12:52:20.054Z',
474
+ updateOperator: {
475
+ userId: 'User.DigV2',
476
+ userName: 'User DigV2'
477
+ },
478
+ createOperator: {
479
+ userId: 'User.DigV2',
480
+ userName: 'User DigV2'
481
+ }
482
+ }
483
+ ]
484
+ }
441
485
  ],
442
- classID: "MyCo-MyCompon-Work-MyComponents",
443
- };
486
+ classID: 'MyCo-MyCompon-Work-MyComponents'
487
+ };
@@ -44,7 +44,6 @@ const renderField = resolvedProps => {
44
44
  </MuiPickersUtilsProvider>
45
45
  );
46
46
 
47
-
48
47
  if (label === 'Email')
49
48
  val = (
50
49
  <TextField
@@ -76,7 +75,6 @@ const renderField = resolvedProps => {
76
75
  />
77
76
  );
78
77
 
79
-
80
78
  if (variant === 'inline') {
81
79
  val = value || <span aria-hidden='true'>&ndash;&ndash;</span>;
82
80
  }