@pega/dx-component-builder-sdk 0.23.14 → 0.23.15

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 (156) hide show
  1. package/package.json +1 -1
  2. package/src/constants.js +8 -0
  3. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.html.mustache +5 -1
  4. package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +6 -0
  5. package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.html.mustache +5 -1
  6. package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.ts.mustache +7 -0
  7. package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.ts.mustache +2 -1
  8. package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.scss.mustache +14 -5
  9. package/src/tasks/create/templates/SDK-React/field/Boolean/demo.stories.tsx.mustache +8 -4
  10. package/src/tasks/create/templates/SDK-React/field/Date/demo.stories.tsx.mustache +17 -15
  11. package/src/tasks/create/templates/SDK-React/field/DateTime/demo.stories.tsx.mustache +15 -14
  12. package/src/tasks/create/templates/SDK-React/field/Decimal/demo.stories.tsx.mustache +15 -14
  13. package/src/tasks/create/templates/SDK-React/field/Decimal/index.tsx.mustache +1 -1
  14. package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/demo.stories.tsx.mustache +14 -12
  15. package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/demo.stories.tsx.mustache +2 -2
  16. package/src/tasks/create/templates/SDK-React/field/Integer/demo.stories.tsx.mustache +3 -3
  17. package/src/tasks/create/templates/SDK-React/field/Picklist/demo.stories.tsx.mustache +2 -3
  18. package/src/tasks/create/templates/SDK-React/field/Picklist-Autocomplete/demo.stories.tsx.mustache +3 -3
  19. package/src/tasks/create/templates/SDK-React/field/Picklist-RadioButtons/demo.stories.tsx.mustache +6 -4
  20. package/src/tasks/create/templates/SDK-React/field/Text/demo.stories.tsx.mustache +8 -4
  21. package/src/tasks/create/templates/SDK-React/field/Text-Email/demo.stories.tsx.mustache +8 -4
  22. package/src/tasks/create/templates/SDK-React/field/Text-Input/demo.stories.tsx.mustache +8 -4
  23. package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/demo.stories.tsx.mustache +8 -5
  24. package/src/tasks/create/templates/SDK-React/field/Text-Phone/demo.stories.tsx.mustache +6 -4
  25. package/src/tasks/create/templates/SDK-React/field/Text-URL/demo.stories.tsx.mustache +8 -4
  26. package/src/tasks/create/templates/SDK-React/field/TimeOfDay/demo.stories.tsx.mustache +6 -4
  27. package/src/tasks/create/templates/SDK-React/template/DETAILS/demo.stories.tsx.mustache +22 -22
  28. package/src/tasks/create/templates/SDK-React/template/DETAILS-region/demo.stories.tsx.mustache +17 -17
  29. package/src/tasks/create/templates/SDK-React/template/FORM/demo.stories.tsx.mustache +30 -18
  30. package/src/tasks/create/templates/SDK-React/template/FORM-region/demo.stories.tsx.mustache +50 -24
  31. package/src/tasks/create/templates/SDK-React/template/PAGE/demo.stories.tsx.mustache +37 -21
  32. package/src/tasks/create/templates/SDK-React/widget/CASE/demo.stories.tsx.mustache +22 -10
  33. package/src/tasks/create/templates/SDK-React/widget/PAGE/demo.stories.tsx.mustache +3 -4
  34. package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/demo.stories.tsx.mustache +21 -9
  35. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/field-group/field-group.component.html +21 -0
  36. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/field-group/field-group.component.scss +18 -0
  37. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/field-group/field-group.component.spec.ts +21 -0
  38. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/field-group/field-group.component.ts +24 -0
  39. package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.html +8 -2
  40. package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.html +5 -1
  41. package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.ts +6 -0
  42. package/tests/assets/sdk-a/components/create/override-sdk/field/date/date.component.html +5 -1
  43. package/tests/assets/sdk-a/components/create/override-sdk/field/date/date.component.ts +7 -0
  44. package/tests/assets/sdk-a/components/create/override-sdk/field/group/config-ext.json +8 -0
  45. package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.html +25 -0
  46. package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.scss +0 -0
  47. package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.spec.ts +21 -0
  48. package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.ts +84 -0
  49. package/tests/assets/sdk-a/components/create/override-sdk/template/app-shell/app-shell.component.ts +2 -2
  50. package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.ts +1 -1
  51. package/tests/assets/sdk-a/components/create/override-sdk/template/default-form/default-form.component.scss +9 -5
  52. package/tests/assets/sdk-a/components/create/override-sdk/template/details/details.component.ts +2 -1
  53. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.html +5 -1
  54. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.ts +6 -0
  55. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date/pega-dxil-my-date.component.html +5 -1
  56. package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date/pega-dxil-my-date.component.ts +7 -0
  57. package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-details/pega-dxil-my-details.component.ts +2 -1
  58. package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.scss +14 -5
  59. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/field-group/field-group.component.html +21 -0
  60. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/field-group/field-group.component.scss +18 -0
  61. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/field-group/field-group.component.spec.ts +21 -0
  62. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/field-group/field-group.component.ts +24 -0
  63. package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.html +8 -2
  64. package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.html +5 -1
  65. package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.ts +6 -0
  66. package/tests/assets/sdk-a/components/createAll/override-sdk/field/date/date.component.html +5 -1
  67. package/tests/assets/sdk-a/components/createAll/override-sdk/field/date/date.component.ts +7 -0
  68. package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/config-ext.json +8 -0
  69. package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.html +25 -0
  70. package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.scss +0 -0
  71. package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.spec.ts +21 -0
  72. package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.ts +84 -0
  73. package/tests/assets/sdk-a/components/createAll/override-sdk/template/app-shell/app-shell.component.ts +2 -2
  74. package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.ts +1 -1
  75. package/tests/assets/sdk-a/components/createAll/override-sdk/template/default-form/default-form.component.scss +9 -5
  76. package/tests/assets/sdk-a/components/createAll/override-sdk/template/details/details.component.ts +2 -1
  77. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/demo.stories.tsx +8 -4
  78. package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +15 -16
  79. package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +35 -6
  80. package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/Checkbox.tsx +7 -4
  81. package/tests/assets/sdk-r/components/create/override-sdk/field/Group/Group.tsx +37 -0
  82. package/tests/assets/sdk-r/components/create/override-sdk/field/Group/config-ext.json +8 -0
  83. package/tests/assets/sdk-r/components/create/override-sdk/field/Group/index.tsx +1 -0
  84. package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +14 -1
  85. package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/DefaultForm.css +6 -2
  86. package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +19 -1
  87. package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.tsx +22 -16
  88. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/PConnProps.d.ts +46 -0
  89. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/demo.stories.tsx +54 -0
  90. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +73 -0
  91. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/mock.ts +15 -0
  92. package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/styles.ts +15 -0
  93. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/demo.stories.tsx +8 -4
  94. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx +23 -21
  95. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/demo.stories.tsx +14 -12
  96. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/index.tsx +0 -1
  97. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/demo.stories.tsx +17 -15
  98. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/index.tsx +21 -23
  99. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/demo.stories.tsx +15 -14
  100. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/index.tsx +20 -22
  101. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/demo.stories.tsx +15 -14
  102. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/index.tsx +1 -2
  103. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/demo.stories.tsx +8 -4
  104. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/index.tsx +23 -24
  105. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/demo.stories.tsx +3 -3
  106. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/index.tsx +0 -1
  107. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/demo.stories.tsx +8 -5
  108. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/index.tsx +18 -19
  109. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/demo.stories.tsx +2 -2
  110. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/index.tsx +0 -1
  111. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/demo.stories.tsx +6 -4
  112. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +33 -34
  113. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/demo.stories.tsx +2 -3
  114. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
  115. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +6 -4
  116. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/index.tsx +22 -23
  117. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/demo.stories.tsx +3 -3
  118. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/index.tsx +28 -29
  119. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/config.json +83 -0
  120. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/demo.stories.tsx +59 -0
  121. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +101 -0
  122. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/mock.ts +16 -0
  123. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/styles.js +7 -0
  124. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/demo.stories.tsx +8 -4
  125. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/index.tsx +15 -16
  126. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/demo.stories.tsx +8 -4
  127. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/index.tsx +15 -16
  128. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +6 -4
  129. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/index.tsx +1 -2
  130. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/demo.stories.tsx +8 -4
  131. package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/index.tsx +16 -17
  132. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/demo.stories.tsx +22 -22
  133. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx +16 -17
  134. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/demo.stories.tsx +56 -18
  135. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx +3 -4
  136. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/demo.stories.tsx +37 -21
  137. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/index.tsx +4 -5
  138. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +17 -17
  139. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +16 -17
  140. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +50 -24
  141. package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/index.tsx +8 -9
  142. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +22 -10
  143. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/index.tsx +10 -11
  144. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +21 -9
  145. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +34 -34
  146. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +3 -4
  147. package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx +23 -24
  148. package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +35 -6
  149. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/Checkbox.tsx +7 -4
  150. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Group/Group.tsx +37 -0
  151. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Group/config-ext.json +8 -0
  152. package/tests/assets/sdk-r/components/createAll/override-sdk/field/Group/index.tsx +1 -0
  153. package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +14 -1
  154. package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/DefaultForm.css +6 -2
  155. package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +19 -1
  156. package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.tsx +22 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/dx-component-builder-sdk",
3
- "version": "0.23.14",
3
+ "version": "0.23.15",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
package/src/constants.js CHANGED
@@ -692,6 +692,10 @@ export const COMPONENT_SCHEMA = {
692
692
  name: 'Email',
693
693
  value: 'Email'
694
694
  },
695
+ {
696
+ name: 'Field Group',
697
+ value: 'Group'
698
+ },
695
699
  {
696
700
  name: 'Integer',
697
701
  value: 'Integer'
@@ -762,6 +766,10 @@ export const COMPONENT_SCHEMA = {
762
766
  name: 'Case Create Stage',
763
767
  value: 'CaseCreateStage'
764
768
  },
769
+ {
770
+ name: 'Field Group',
771
+ value: 'FieldGroup'
772
+ },
765
773
  {
766
774
  name: 'Material Case Summary',
767
775
  value: 'MaterialCaseSummary'
@@ -1,5 +1,9 @@
1
1
  <div *ngIf="displayMode$; else noDisplayMode">
2
- <component-mapper *ngIf="bVisible$ !== false" name="FieldValueList" [props]="{ label$, value$, displayMode$ }"></component-mapper>
2
+ <component-mapper
3
+ *ngIf="bVisible$ !== false"
4
+ name="FieldValueList"
5
+ [props]="{ label$: caption$, value$: value$ ? trueLabel$ : falseLabel$, displayMode$ }"
6
+ ></component-mapper>
3
7
  </div>
4
8
  <ng-template #noDisplayMode>
5
9
  <div *ngIf="!bReadonly$ && bHasForm$; else noEdit">
@@ -13,6 +13,8 @@ interface {{COMPONENT_CLASS_NAME}}Props extends Omit<PConnFieldProps, 'value'> {
13
13
  // Everything from PConnFieldProps except value and change type of value to boolean
14
14
  value: boolean;
15
15
  caption?: string;
16
+ trueLabel?: string;
17
+ falseLabel?: string;
16
18
  }
17
19
 
18
20
  @Component({
@@ -45,6 +47,8 @@ export class {{COMPONENT_CLASS_NAME}}Component implements OnInit, OnDestroy {
45
47
  bHasForm$ = true;
46
48
  componentReference = '';
47
49
  helperText: string;
50
+ trueLabel$?: string;
51
+ falseLabel$?: string;
48
52
 
49
53
  fieldControl = new FormControl('', null);
50
54
 
@@ -116,6 +120,8 @@ export class {{COMPONENT_CLASS_NAME}}Component implements OnInit, OnDestroy {
116
120
 
117
121
  this.caption$ = this.configProps$.caption;
118
122
  this.helperText = this.configProps$.helperText;
123
+ this.trueLabel$ = this.configProps$.trueLabel;
124
+ this.falseLabel$ = this.configProps$.falseLabel;
119
125
 
120
126
  // timeout and detectChanges to avoid ExpressionChangedAfterItHasBeenCheckedError
121
127
  setTimeout(() => {
@@ -1,5 +1,9 @@
1
1
  <div *ngIf="displayMode$; else noDisplayMode">
2
- <component-mapper *ngIf="bVisible$ !== false" name="FieldValueList" [props]="{ label$, value$, displayMode$ }"></component-mapper>
2
+ <component-mapper
3
+ *ngIf="bVisible$ !== false"
4
+ name="FieldValueList"
5
+ [props]="{ label$, value$: getFormattedValue(), displayMode$ }"
6
+ ></component-mapper>
3
7
  </div>
4
8
  {{! pick new delimiters for mustache }}
5
9
  {{=<% %>=}}
@@ -14,6 +14,7 @@ import { Utils } from '@pega/angular-sdk-components';
14
14
  import { ComponentMapperComponent } from '@pega/angular-sdk-components';
15
15
  import { dateFormatInfoDefault, getDateFormatInfo } from '@pega/angular-sdk-components';
16
16
  import { PConnFieldProps } from '@pega/angular-sdk-components';
17
+ import { format } from '@pega/angular-sdk-components';
17
18
 
18
19
  interface {{COMPONENT_CLASS_NAME}}Props extends PConnFieldProps {
19
20
  // If any, enter additional props that only exist on Date here
@@ -242,4 +243,10 @@ export class {{COMPONENT_CLASS_NAME}}Component implements OnInit, OnDestroy {
242
243
  }
243
244
  return errMessage;
244
245
  }
246
+
247
+ getFormattedValue() {
248
+ return format(this.value$, 'date', {
249
+ format: this.theDateFormat.dateFormatString
250
+ });
251
+ }
245
252
  }
@@ -75,7 +75,7 @@ export class {{COMPONENT_CLASS_NAME}}Component implements OnInit, OnDestroy {
75
75
  fields?.forEach(field => {
76
76
  const thePConn = field.getPConnect();
77
77
  const theCompType = thePConn.getComponentName().toLowerCase();
78
- if (theCompType === 'reference') {
78
+ if (theCompType === 'reference' || theCompType === 'group') {
79
79
  const configProps = thePConn.getConfigProps();
80
80
  configProps.readOnly = true;
81
81
  configProps.displayMode = 'LABELS_LEFT';
@@ -88,6 +88,7 @@ export class {{COMPONENT_CLASS_NAME}}Component implements OnInit, OnDestroy {
88
88
  };
89
89
  const viewContConfig = {
90
90
  meta: {
91
+ ...thePConn.getMetadata(),
91
92
  type: theCompType,
92
93
  config: configProps
93
94
  },
@@ -1,27 +1,31 @@
1
1
  .psdk-default-form-one-column {
2
2
  display: grid;
3
3
  grid-template-columns: repeat(1, minmax(0, 1fr));
4
- gap: calc(1rem);
4
+ column-gap: calc(1rem);
5
5
  }
6
6
 
7
7
  .psdk-default-form-two-column {
8
8
  display: grid;
9
9
  grid-template-columns: repeat(2, 1fr);
10
- gap: calc(1rem);
10
+ column-gap: calc(1rem);
11
11
  }
12
12
 
13
13
  .psdk-default-form-three-column {
14
14
  display: grid;
15
15
  grid-template-columns: repeat(3, 1fr);
16
- gap: calc(1rem);
16
+ column-gap: calc(1rem);
17
+ }
18
+
19
+ .psdk-default-form-three-column .grid-column {
20
+ grid-column: 1 / span 3;
17
21
  }
18
22
 
19
23
  .psdk-default-form-two-column .grid-column {
20
24
  grid-column: 1 / span 2;
21
25
  }
22
26
 
23
- .psdk-default-form-three-column .grid-column {
24
- grid-column: 1 / span 3;
27
+ .psdk-default-form-one-column .grid-column {
28
+ grid-column: 1;
25
29
  }
26
30
 
27
31
  .template-title-container {
@@ -29,3 +33,8 @@
29
33
  font-weight: 600;
30
34
  margin: 10px 0px;
31
35
  }
36
+
37
+ .psdk-default-form-instruction-text {
38
+ padding-top: 0.625rem;
39
+ padding-bottom: 0.625rem;
40
+ }
@@ -14,7 +14,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
14
14
  export default meta;
15
15
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
16
16
 
17
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
17
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
18
18
  const [value, setValue] = useState(configProps.value);
19
19
 
20
20
  const props = {
@@ -35,12 +35,16 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
35
35
  updateFieldValue: (propName, theValue) => {
36
36
  setValue(theValue);
37
37
  },
38
- triggerFieldChange: () => { /* nothing */}
38
+ triggerFieldChange: () => {
39
+ /* nothing */
40
+ }
39
41
  };
40
42
  },
41
43
  getValidationApi: () => {
42
44
  return {
43
- validate: () => { /* nothing */}
45
+ validate: () => {
46
+ /* nothing */
47
+ }
44
48
  };
45
49
  }
46
50
  };
@@ -60,5 +64,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
60
64
  status: configProps.status,
61
65
  hideLabel: configProps.hideLabel,
62
66
  displayMode: configProps.displayMode,
63
- validatemessage: configProps.validatemessage,
67
+ validatemessage: configProps.validatemessage
64
68
  };
@@ -9,21 +9,21 @@ window.PCore = {
9
9
  ...window.PCore,
10
10
  getLocaleUtils: (): any => {
11
11
  return {
12
- getLocaleValue: (value) => {
12
+ getLocaleValue: value => {
13
13
  return value;
14
14
  }
15
- }
15
+ };
16
16
  },
17
17
  getEnvironmentInfo: (): any => {
18
- return {
19
- getUseLocale: () => {
20
- return 'en-GB';
21
- },
22
- getLocale: () => {
23
- return 'en-GB';
24
- }
25
- };
26
- }
18
+ return {
19
+ getUseLocale: () => {
20
+ return 'en-GB';
21
+ },
22
+ getLocale: () => {
23
+ return 'en-GB';
24
+ }
25
+ };
26
+ }
27
27
  };
28
28
 
29
29
  const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
@@ -35,7 +35,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
35
35
  export default meta;
36
36
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
37
37
 
38
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
38
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
39
39
  const [value, setValue] = useState(configProps.value);
40
40
 
41
41
  const props = {
@@ -47,7 +47,9 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
47
47
  updateFieldValue: (propName, theValue) => {
48
48
  setValue(theValue);
49
49
  },
50
- triggerFieldChange: () => {/* nothing */}
50
+ triggerFieldChange: () => {
51
+ /* nothing */
52
+ }
51
53
  };
52
54
  },
53
55
  getStateProps: () => {
@@ -60,7 +62,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
60
62
  }
61
63
  };
62
64
 
63
- return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />
65
+ return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />;
64
66
  };
65
67
 
66
68
  Base{{COMPONENT_CLASS_NAME}}.args = {
@@ -73,5 +75,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
73
75
  status: configProps.status,
74
76
  hideLabel: configProps.hideLabel,
75
77
  displayMode: configProps.displayMode,
76
- validatemessage: configProps.validatemessage,
78
+ validatemessage: configProps.validatemessage
77
79
  };
@@ -4,19 +4,18 @@ import type { Meta, StoryObj } from '@storybook/react';
4
4
  import {{COMPONENT_CLASS_NAME}} from './index';
5
5
  import { configProps, stateProps } from './mock';
6
6
 
7
-
8
7
  window.PCore = {
9
8
  ...window.PCore,
10
9
  getEnvironmentInfo: (): any => {
11
- return {
12
- getUseLocale: () => {
13
- return 'en-GB';
14
- },
15
- getLocale: () => {
16
- return 'en-GB';
17
- }
18
- };
19
- }
10
+ return {
11
+ getUseLocale: () => {
12
+ return 'en-GB';
13
+ },
14
+ getLocale: () => {
15
+ return 'en-GB';
16
+ }
17
+ };
18
+ }
20
19
  };
21
20
 
22
21
  const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
@@ -28,7 +27,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
28
27
  export default meta;
29
28
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
30
29
 
31
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
30
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
32
31
  const [value, setValue] = useState(configProps.value);
33
32
 
34
33
  const props = {
@@ -40,7 +39,9 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
40
39
  updateFieldValue: (propName, theValue) => {
41
40
  setValue(theValue);
42
41
  },
43
- triggerFieldChange: () => {/* nothing */}
42
+ triggerFieldChange: () => {
43
+ /* nothing */
44
+ }
44
45
  };
45
46
  },
46
47
  getStateProps: () => {
@@ -53,7 +54,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
53
54
  }
54
55
  };
55
56
 
56
- return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />
57
+ return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />;
57
58
  };
58
59
 
59
60
  Base{{COMPONENT_CLASS_NAME}}.args = {
@@ -66,5 +67,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
66
67
  status: configProps.status,
67
68
  hideLabel: configProps.hideLabel,
68
69
  displayMode: configProps.displayMode,
69
- validatemessage: configProps.validatemessage,
70
+ validatemessage: configProps.validatemessage
70
71
  };
@@ -7,15 +7,15 @@ import { configProps, fieldMetadata } from './mock';
7
7
  window.PCore = {
8
8
  ...window.PCore,
9
9
  getEnvironmentInfo: (): any => {
10
- return {
11
- getUseLocale: () => {
12
- return 'en-GB';
13
- },
14
- getLocale: () => {
15
- return 'en-GB';
16
- }
17
- };
18
- }
10
+ return {
11
+ getUseLocale: () => {
12
+ return 'en-GB';
13
+ },
14
+ getLocale: () => {
15
+ return 'en-GB';
16
+ }
17
+ };
18
+ }
19
19
  };
20
20
 
21
21
  const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
@@ -27,7 +27,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
27
27
  export default meta;
28
28
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
29
29
 
30
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
30
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
31
31
  const [value, setValue] = useState(configProps.value);
32
32
 
33
33
  const props = {
@@ -41,7 +41,9 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
41
41
  updateFieldValue: (propName, theValue) => {
42
42
  setValue(theValue?.toString());
43
43
  },
44
- triggerFieldChange: () => {/* nothing */}
44
+ triggerFieldChange: () => {
45
+ /* nothing */
46
+ }
45
47
  };
46
48
  },
47
49
  getStateProps: () => {
@@ -60,7 +62,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
60
62
  }
61
63
  };
62
64
 
63
- return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />
65
+ return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />;
64
66
  };
65
67
 
66
68
  Base{{COMPONENT_CLASS_NAME}}.args = {
@@ -73,6 +75,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
73
75
  status: configProps.status,
74
76
  hideLabel: configProps.hideLabel,
75
77
  displayMode: configProps.displayMode,
76
- validatemessage: configProps.validatemessage,
78
+ validatemessage: configProps.validatemessage
77
79
  };
78
-
@@ -3,7 +3,7 @@ import CurrencyTextField from '@unicef/material-ui-currency-textfield';
3
3
 
4
4
  import { getCurrencyCharacters, getCurrencyOptions } from '@pega/react-sdk-components/lib/components/field/Currency/currency-utils.js';
5
5
  import handleEvent from '@pega/react-sdk-components/lib/components/helpers/event-utils';
6
- import { format } from "@pega/react-sdk-components/lib/components/helpers/formatters";
6
+ import { format } from '@pega/react-sdk-components/lib/components/helpers/formatters';
7
7
  import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
8
8
  import { PConnFieldProps } from '@pega/react-sdk-components/lib/types/PConnProps';
9
9
  import Styled{{COMPONENT_CLASS_NAME}}Wrapper from './styles';
@@ -7,14 +7,14 @@ import { configProps, fieldMetadata } from './mock';
7
7
  window.PCore = {
8
8
  ...window.PCore,
9
9
  getEnvironmentInfo: (): any => {
10
- return {
11
- getUseLocale: () => {
12
- return 'en-GB';
13
- },
14
- getLocale: () => {
15
- return 'en-GB';
16
- }
17
- };
10
+ return {
11
+ getUseLocale: () => {
12
+ return 'en-GB';
13
+ },
14
+ getLocale: () => {
15
+ return 'en-GB';
16
+ }
17
+ };
18
18
  }
19
19
  };
20
20
 
@@ -27,7 +27,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
27
27
  export default meta;
28
28
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
29
29
 
30
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
30
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
31
31
  const [value, setValue] = useState(configProps.value);
32
32
 
33
33
  const props = {
@@ -41,7 +41,9 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
41
41
  updateFieldValue: (propName, theValue) => {
42
42
  setValue(theValue?.toString());
43
43
  },
44
- triggerFieldChange: () => {/* nothing */}
44
+ triggerFieldChange: () => {
45
+ /* nothing */
46
+ }
45
47
  };
46
48
  },
47
49
  getStateProps: () => {
@@ -60,7 +62,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
60
62
  }
61
63
  };
62
64
 
63
- return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />
65
+ return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />;
64
66
  };
65
67
 
66
68
  Base{{COMPONENT_CLASS_NAME}}.args = {
@@ -73,5 +75,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
73
75
  status: configProps.status,
74
76
  hideLabel: configProps.hideLabel,
75
77
  displayMode: configProps.displayMode,
76
- validatemessage: configProps.validatemessage,
78
+ validatemessage: configProps.validatemessage
77
79
  };
@@ -13,7 +13,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
13
13
  export default meta;
14
14
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
15
15
 
16
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
16
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
17
17
  const [value, setValue] = useState(configProps.value);
18
18
 
19
19
  const props = {
@@ -55,5 +55,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
55
55
  status: configProps.status,
56
56
  hideLabel: configProps.hideLabel,
57
57
  displayMode: configProps.displayMode,
58
- validatemessage: configProps.validatemessage,
58
+ validatemessage: configProps.validatemessage
59
59
  };
@@ -13,7 +13,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
13
13
  export default meta;
14
14
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
15
15
 
16
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
16
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
17
17
  const [value, setValue] = useState(configProps.value);
18
18
 
19
19
  const props = {
@@ -42,7 +42,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
42
42
  }
43
43
  };
44
44
 
45
- return <{{COMPONENT_CLASS_NAME}} {...props} {...args}/>;
45
+ return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />;
46
46
  };
47
47
 
48
48
  Base{{COMPONENT_CLASS_NAME}}.args = {
@@ -55,5 +55,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
55
55
  status: configProps.status,
56
56
  hideLabel: configProps.hideLabel,
57
57
  displayMode: configProps.displayMode,
58
- validatemessage: configProps.validatemessage,
58
+ validatemessage: configProps.validatemessage
59
59
  };
@@ -13,7 +13,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
13
13
  export default meta;
14
14
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
15
15
 
16
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
16
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
17
17
  const [value, setValue] = useState(configProps.value);
18
18
 
19
19
  const props = {
@@ -72,6 +72,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
72
72
  status: configProps.status,
73
73
  hideLabel: configProps.hideLabel,
74
74
  displayMode: configProps.displayMode,
75
- validatemessage: configProps.validatemessage,
75
+ validatemessage: configProps.validatemessage
76
76
  };
77
-
@@ -13,7 +13,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
13
13
  export default meta;
14
14
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
15
15
 
16
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
16
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
17
17
  const [value, setValue] = useState(configProps.value);
18
18
 
19
19
  const props = {
@@ -72,5 +72,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
72
72
  status: configProps.status,
73
73
  hideLabel: configProps.hideLabel,
74
74
  displayMode: configProps.displayMode,
75
- validatemessage: configProps.validatemessage,
76
- }
75
+ validatemessage: configProps.validatemessage
76
+ };
@@ -13,7 +13,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
13
13
  export default meta;
14
14
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
15
15
 
16
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
16
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
17
17
  const [value, setValue] = useState(configProps.value);
18
18
 
19
19
  const props = {
@@ -46,7 +46,9 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
46
46
  },
47
47
  getValidationApi: () => {
48
48
  return {
49
- validate: () => {/* nothing */}
49
+ validate: () => {
50
+ /* nothing */
51
+ }
50
52
  };
51
53
  },
52
54
  getCaseInfo: () => {
@@ -79,5 +81,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
79
81
  status: configProps.status,
80
82
  hideLabel: configProps.hideLabel,
81
83
  displayMode: configProps.displayMode,
82
- validatemessage: configProps.validatemessage,
83
- }
84
+ validatemessage: configProps.validatemessage
85
+ };
@@ -14,7 +14,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
14
14
  export default meta;
15
15
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
16
16
 
17
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
17
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
18
18
  const [value, setValue] = useState(configProps.value);
19
19
 
20
20
  const props = {
@@ -34,8 +34,12 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
34
34
  }
35
35
  };
36
36
  },
37
- onChange: (event) => { setValue(event.target.value); },
38
- onBlur: () => { return configProps.value; }
37
+ onChange: event => {
38
+ setValue(event.target.value);
39
+ },
40
+ onBlur: () => {
41
+ return configProps.value;
42
+ }
39
43
  };
40
44
 
41
45
  return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />;
@@ -51,5 +55,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
51
55
  status: configProps.status,
52
56
  hideLabel: configProps.hideLabel,
53
57
  displayMode: configProps.displayMode,
54
- validatemessage: configProps.validatemessage,
58
+ validatemessage: configProps.validatemessage
55
59
  };
@@ -13,7 +13,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
13
13
  export default meta;
14
14
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
15
15
 
16
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
16
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
17
17
  const [value, setValue] = useState(configProps.value);
18
18
 
19
19
  const props = {
@@ -33,8 +33,12 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
33
33
  }
34
34
  };
35
35
  },
36
- onChange: (event) => { setValue(event.target.value); },
37
- onBlur: () => { return configProps.value; }
36
+ onChange: event => {
37
+ setValue(event.target.value);
38
+ },
39
+ onBlur: () => {
40
+ return configProps.value;
41
+ }
38
42
  };
39
43
  return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />;
40
44
  };
@@ -49,5 +53,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
49
53
  status: configProps.status,
50
54
  hideLabel: configProps.hideLabel,
51
55
  displayMode: configProps.displayMode,
52
- validatemessage: configProps.validatemessage,
56
+ validatemessage: configProps.validatemessage
53
57
  };
@@ -14,7 +14,7 @@ const meta: Meta<typeof {{COMPONENT_CLASS_NAME}}> = {
14
14
  export default meta;
15
15
  type Story = StoryObj<typeof {{COMPONENT_CLASS_NAME}}>;
16
16
 
17
- export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
17
+ export const Base{{COMPONENT_CLASS_NAME}}: Story = args => {
18
18
  const [value, setValue] = useState(configProps.value);
19
19
 
20
20
  const props = {
@@ -35,8 +35,12 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args) => {
35
35
  }
36
36
  };
37
37
  },
38
- onChange: (event) => { setValue(event.target.value); },
39
- onBlur: () => { return configProps.value; }
38
+ onChange: event => {
39
+ setValue(event.target.value);
40
+ },
41
+ onBlur: () => {
42
+ return configProps.value;
43
+ }
40
44
  };
41
45
 
42
46
  return <{{COMPONENT_CLASS_NAME}} {...props} {...args} />;
@@ -52,5 +56,5 @@ Base{{COMPONENT_CLASS_NAME}}.args = {
52
56
  status: configProps.status,
53
57
  hideLabel: configProps.hideLabel,
54
58
  displayMode: configProps.displayMode,
55
- validatemessage: configProps.validatemessage,
59
+ validatemessage: configProps.validatemessage
56
60
  };