@iapps/ng-dhis2-ui 1.4.2 → 1.4.5
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,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iapps/ng-dhis2-ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^19.0.0",
|
|
6
|
-
"@angular/core": "^19.0.0",
|
|
5
|
+
"@angular/common": "^19.0.0 || ^20.0.0",
|
|
6
|
+
"@angular/core": "^19.0.0 || ^20.0.0",
|
|
7
|
+
"@angular/forms": "^19.0.0 || ^20.0.0",
|
|
7
8
|
"@dhis2/app-adapter": "^12.1.0",
|
|
8
9
|
"@dhis2/app-runtime": "^3.13.0",
|
|
9
10
|
"@dhis2/d2-i18n": "^1.1.2",
|
|
@@ -4,7 +4,7 @@ import React, { ComponentProps } from 'react';
|
|
|
4
4
|
import * as ReactDOM from 'react-dom/client';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
6
6
|
import * as _iapps_d2_web_sdk from '@iapps/d2-web-sdk';
|
|
7
|
-
import { TrackedEntityInstance, DHIS2Event, DataQueryFilter, LineListRowActionFilterConfig, EnrollmentStatus, EventStatus, Option as Option$1, ProgramRule, ProgramRuleVariable, ProgramRuleAction, Program, BaseTrackerQuery, BaseEventQuery,
|
|
7
|
+
import { TrackedEntityInstance, DHIS2Event, DataQueryFilter, LineListRowActionFilterConfig, EnrollmentStatus, EventStatus, Option as Option$1, ProgramRule, ProgramRuleVariable, ProgramRuleAction, Program, BaseTrackerQuery, BaseEventQuery, D2TrackerResponse, D2EventResponse } from '@iapps/d2-web-sdk';
|
|
8
8
|
import * as rxjs from 'rxjs';
|
|
9
9
|
import { Observable, Subject } from 'rxjs';
|
|
10
10
|
import * as i8 from '@angular/forms';
|
|
@@ -1482,7 +1482,7 @@ declare class D2FormModule {
|
|
|
1482
1482
|
declare class FieldUtil {
|
|
1483
1483
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
1484
1484
|
static sanitizeOptions(options: any[]): any;
|
|
1485
|
-
static getFieldType(valueType: string): "
|
|
1485
|
+
static getFieldType(valueType: string): "number" | "tel" | "email" | "org-unit" | "date" | "date-time" | "file" | "coordinate" | "text";
|
|
1486
1486
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
1487
1487
|
static getOptionEntities?(options: any[]): any;
|
|
1488
1488
|
}
|
|
@@ -1492,7 +1492,7 @@ declare class FieldControlTypeUtil {
|
|
|
1492
1492
|
}
|
|
1493
1493
|
|
|
1494
1494
|
declare class FormFieldTypeUtil {
|
|
1495
|
-
static getFieldType(valueType: string): "number" | "
|
|
1495
|
+
static getFieldType(valueType: string): "number" | "tel" | "org-unit" | "date-time" | "file" | "coordinate" | "text" | "image";
|
|
1496
1496
|
}
|
|
1497
1497
|
|
|
1498
1498
|
declare class FormUtil {
|
|
@@ -1688,12 +1688,14 @@ declare class ProgramEntryFormModule {
|
|
|
1688
1688
|
isFormValid$: Observable<boolean>;
|
|
1689
1689
|
instance: _angular_core.WritableSignal<TrackedEntityInstance | DHIS2Event>;
|
|
1690
1690
|
trackedEntityInstance: _angular_core.WritableSignal<TrackedEntityInstance>;
|
|
1691
|
+
private readonly instanceRevision;
|
|
1692
|
+
private readonly initialAutoAssignedValues;
|
|
1691
1693
|
instanceQuery: BaseTrackerQuery<TrackedEntityInstance> | BaseEventQuery<DHIS2Event>;
|
|
1692
1694
|
preprocess: _angular_core.InputSignal<(payload: {
|
|
1693
1695
|
instance: TrackedEntityInstance | DHIS2Event;
|
|
1694
1696
|
}) => void>;
|
|
1695
1697
|
instanceSave: EventEmitter<TrackedEntityInstance | DHIS2Event>;
|
|
1696
|
-
instanceSaveCompleted: EventEmitter<
|
|
1698
|
+
instanceSaveCompleted: EventEmitter<D2TrackerResponse<TrackedEntityInstance> | D2EventResponse<DHIS2Event>>;
|
|
1697
1699
|
instanceUpdate: EventEmitter<TrackedEntityInstance | DHIS2Event>;
|
|
1698
1700
|
formValidityUpdate: EventEmitter<boolean>;
|
|
1699
1701
|
formCancel: EventEmitter<any>;
|