@iapps/ng-dhis2-ui 1.2.80 → 1.2.82

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.
@@ -1,10 +1,10 @@
1
- import { EffectRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { EffectRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { FieldsData, FormConfig, IMetadataRuleAction } from '../../models';
4
4
  import { FormFieldComponent } from '../form-field/form-field.component';
5
5
  import { IFormField } from '../../interfaces';
6
6
  import * as i0 from "@angular/core";
7
- export declare class FormComponent implements OnChanges, OnDestroy, OnInit {
7
+ export declare class FormComponent implements OnChanges, OnDestroy {
8
8
  #private;
9
9
  formConfig: import("@angular/core").InputSignal<FormConfig>;
10
10
  fields: IFormField<string>[];
@@ -24,7 +24,6 @@ export declare class FormComponent implements OnChanges, OnDestroy, OnInit {
24
24
  get layoutCssClass(): string;
25
25
  ruleProcessor: EffectRef;
26
26
  constructor();
27
- ngOnInit(): void;
28
27
  ngOnChanges(changes: SimpleChanges): void;
29
28
  onSubmit(): void;
30
29
  onFieldUpdate(form: FormGroup, field: IFormField<string>): void;
@@ -24,6 +24,7 @@ export interface IProgramEntryFormConfig {
24
24
  hideCancelButton?: boolean;
25
25
  ignoreRepeatability?: boolean;
26
26
  autoAssignedValues?: AutoAssignedValues[];
27
+ hideCustomAssignedFields?: boolean;
27
28
  autoComplete?: boolean;
28
29
  formFieldExtensions?: FormFieldExtension[];
29
30
  }
@@ -48,6 +49,7 @@ export declare class ProgramEntryFormConfig implements IProgramEntryFormConfig {
48
49
  hideCancelButton?: boolean;
49
50
  ignoreRepeatability?: boolean;
50
51
  autoAssignedValues?: AutoAssignedValues[];
52
+ hideCustomAssignedFields?: boolean;
51
53
  autoComplete?: boolean;
52
54
  formFieldExtensions?: FormFieldExtension[];
53
55
  constructor(config: IProgramEntryFormConfig);
@@ -17,6 +17,7 @@ export declare class ProgramEntryFormFieldUtil {
17
17
  valueType: string;
18
18
  aggregationType?: string;
19
19
  generated?: boolean;
20
+ pattern?: string;
20
21
  unique?: boolean;
21
22
  optionSetValue?: boolean;
22
23
  optionSetValueCount?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iapps/ng-dhis2-ui",
3
- "version": "1.2.80",
3
+ "version": "1.2.82",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0",