@iapps/ng-dhis2-ui 1.2.171 → 1.3.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iapps/ng-dhis2-ui",
3
- "version": "1.2.171",
3
+ "version": "1.3.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0",
@@ -363,6 +363,7 @@ interface IFormField<T> {
363
363
  key: string;
364
364
  referenceKey?: string;
365
365
  label: string;
366
+ description?: string;
366
367
  required: boolean;
367
368
  order?: number;
368
369
  controlType: FieldControlType;
@@ -528,6 +529,7 @@ declare class FormField<T> implements IFormField<T>, FormFieldFunction<T> {
528
529
  key: string;
529
530
  referenceKey?: string;
530
531
  label: string;
532
+ description?: string;
531
533
  required: boolean;
532
534
  order?: number;
533
535
  controlType: FieldControlType;
@@ -604,6 +606,7 @@ interface FieldData {
604
606
 
605
607
  declare class FieldConfig {
606
608
  hideLabel?: boolean;
609
+ fieldDescriptionLabel?: string;
607
610
  inputWidth: string;
608
611
  constructor(config?: Partial<FieldConfig>);
609
612
  }
@@ -1237,6 +1240,7 @@ interface IProgramEntryFormConfig {
1237
1240
  disableEventDate?: boolean;
1238
1241
  hideEventDate?: boolean;
1239
1242
  includedProgramStages?: string[];
1243
+ fieldDescriptionLabel?: string;
1240
1244
  submitButtonLabel?: string;
1241
1245
  cancelButtonLabel?: string;
1242
1246
  hideActionButtons?: boolean;
@@ -1272,6 +1276,7 @@ declare class ProgramEntryFormConfig implements IProgramEntryFormConfig {
1272
1276
  includedProgramStages?: string[];
1273
1277
  submitButtonLabel: string;
1274
1278
  cancelButtonLabel: string;
1279
+ fieldDescriptionLabel: string;
1275
1280
  hideActionButtons?: boolean;
1276
1281
  hideSubmitButton?: boolean;
1277
1282
  hideCancelButton?: boolean;