@iapps/ng-dhis2-ui 1.1.42 → 1.1.44
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/fesm2022/iapps-ng-dhis2-ui.mjs +64 -47
- package/fesm2022/iapps-ng-dhis2-ui.mjs.map +1 -1
- package/lib/modules/form/models/form-field.model.d.ts +2 -1
- package/lib/modules/form/models/form-metadata.model.d.ts +2 -0
- package/lib/modules/tracker-form/tracker-form.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -18,6 +18,8 @@ export declare class FormField<T> implements IFormField<T> {
|
|
|
18
18
|
maxLength?: number | string;
|
|
19
19
|
hidden: boolean;
|
|
20
20
|
units?: string;
|
|
21
|
+
generated?: boolean;
|
|
22
|
+
unique?: boolean;
|
|
21
23
|
isDataElement?: boolean;
|
|
22
24
|
isAttribute?: boolean;
|
|
23
25
|
isOrgUnit?: boolean;
|
|
@@ -32,7 +34,6 @@ export declare class FormField<T> implements IFormField<T> {
|
|
|
32
34
|
displayInList?: boolean;
|
|
33
35
|
displayInReports?: boolean;
|
|
34
36
|
searchable?: boolean;
|
|
35
|
-
unique?: boolean;
|
|
36
37
|
metaType?: FormFieldMetaType;
|
|
37
38
|
stepId?: string;
|
|
38
39
|
availableOptionsLabel?: string;
|
|
@@ -13,6 +13,8 @@ export declare class FormMetaData implements IFormMetadata {
|
|
|
13
13
|
programs: Program[];
|
|
14
14
|
locale?: string;
|
|
15
15
|
splitRegistrationSection?: boolean;
|
|
16
|
+
includeAllProgramStages?: boolean;
|
|
17
|
+
programStage?: string;
|
|
16
18
|
customFormMetaData?: Partial<FormMetaData>;
|
|
17
19
|
});
|
|
18
20
|
get sections(): IFormMetadataSection[];
|
|
@@ -4,6 +4,7 @@ import { IFormMetadata } from '../form';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TrackerFormComponent implements OnInit {
|
|
6
6
|
program: import("@angular/core").InputSignal<string>;
|
|
7
|
+
programStage: import("@angular/core").InputSignal<string>;
|
|
7
8
|
trackedEntity: import("@angular/core").InputSignal<string>;
|
|
8
9
|
d2: import("@iapps/d2-web-sdk").D2Web;
|
|
9
10
|
trackerQuery: BaseTrackerQuery<TrackedEntityInstance>;
|
|
@@ -13,5 +14,5 @@ export declare class TrackerFormComponent implements OnInit {
|
|
|
13
14
|
onSave(event: any): void;
|
|
14
15
|
onCancel(): void;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TrackerFormComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TrackerFormComponent, "ng-dhis2-ui-tracker-form", never, { "program": { "alias": "program"; "required": true; "isSignal": true; }; "trackedEntity": { "alias": "trackedEntity"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TrackerFormComponent, "ng-dhis2-ui-tracker-form", never, { "program": { "alias": "program"; "required": true; "isSignal": true; }; "programStage": { "alias": "programStage"; "required": false; "isSignal": true; }; "trackedEntity": { "alias": "trackedEntity"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
17
18
|
}
|