@iapps/ng-dhis2-ui 1.2.170 → 1.2.171
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.
|
|
3
|
+
"version": "1.2.171",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.0.0",
|
|
6
6
|
"@angular/core": "^19.0.0",
|
|
@@ -22,14 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"module": "fesm2022/iapps-ng-dhis2-ui.mjs",
|
|
25
|
-
"typings": "
|
|
25
|
+
"typings": "types/iapps-ng-dhis2-ui.d.ts",
|
|
26
26
|
"exports": {
|
|
27
27
|
"./package.json": {
|
|
28
28
|
"default": "./package.json"
|
|
29
29
|
},
|
|
30
30
|
".": {
|
|
31
|
-
"types": "./
|
|
31
|
+
"types": "./types/iapps-ng-dhis2-ui.d.ts",
|
|
32
32
|
"default": "./fesm2022/iapps-ng-dhis2-ui.mjs"
|
|
33
33
|
}
|
|
34
|
-
}
|
|
34
|
+
},
|
|
35
|
+
"type": "module"
|
|
35
36
|
}
|
|
@@ -4,12 +4,13 @@ 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,
|
|
7
|
+
import { TrackedEntityInstance, DHIS2Event, DataQueryFilter, LineListRowActionFilterConfig, EnrollmentStatus, EventStatus, Option as Option$1, ProgramRule, ProgramRuleVariable, ProgramRuleAction, Program, BaseTrackerQuery, BaseEventQuery, D2EventResponse, D2TrackerResponse } 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';
|
|
11
11
|
import { FormGroup, FormControl, UntypedFormGroup } from '@angular/forms';
|
|
12
12
|
import * as _dhis2_ui_loader from '@dhis2-ui/loader';
|
|
13
|
+
import * as _dhis2_app_service_user from '@dhis2/app-service-user';
|
|
13
14
|
import * as _dhis2_app_service_config from '@dhis2/app-service-config';
|
|
14
15
|
|
|
15
16
|
declare class ReactWrapperModule implements OnDestroy, AfterViewInit {
|
|
@@ -265,7 +266,7 @@ declare class LineListTableComponent extends ReactWrapperModule implements OnCha
|
|
|
265
266
|
action: string;
|
|
266
267
|
data: TrackedEntityInstance | DHIS2Event;
|
|
267
268
|
}>;
|
|
268
|
-
rowsSelected: EventEmitter<
|
|
269
|
+
rowsSelected: EventEmitter<DHIS2Event[] | TrackedEntityInstance[]>;
|
|
269
270
|
showActionButtons: boolean;
|
|
270
271
|
showEnrollmentDates: boolean;
|
|
271
272
|
showDownloadButton: boolean;
|
|
@@ -1466,7 +1467,7 @@ declare class D2FormModule {
|
|
|
1466
1467
|
declare class FieldUtil {
|
|
1467
1468
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
1468
1469
|
static sanitizeOptions(options: any[]): any;
|
|
1469
|
-
static getFieldType(valueType: string): "
|
|
1470
|
+
static getFieldType(valueType: string): "email" | "number" | "text" | "tel" | "date" | "date-time" | "org-unit" | "file" | "coordinate";
|
|
1470
1471
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
1471
1472
|
static getOptionEntities?(options: any[]): any;
|
|
1472
1473
|
}
|
|
@@ -1476,7 +1477,7 @@ declare class FieldControlTypeUtil {
|
|
|
1476
1477
|
}
|
|
1477
1478
|
|
|
1478
1479
|
declare class FormFieldTypeUtil {
|
|
1479
|
-
static getFieldType(valueType: string): "
|
|
1480
|
+
static getFieldType(valueType: string): "number" | "text" | "tel" | "date-time" | "image" | "org-unit" | "file" | "coordinate";
|
|
1480
1481
|
}
|
|
1481
1482
|
|
|
1482
1483
|
declare class FormUtil {
|
|
@@ -1576,6 +1577,7 @@ declare class SelectionFiltersComponent extends ReactWrapperModule implements Af
|
|
|
1576
1577
|
onCancelOrgUnit: () => void;
|
|
1577
1578
|
}) => React.FunctionComponentElement<{
|
|
1578
1579
|
config: _dhis2_app_service_config.Config;
|
|
1580
|
+
userInfo: _dhis2_app_service_user.CurrentUser | undefined;
|
|
1579
1581
|
children: React.ReactNode;
|
|
1580
1582
|
offlineInterface?: any;
|
|
1581
1583
|
plugin: boolean;
|
|
@@ -1675,7 +1677,7 @@ declare class ProgramEntryFormModule {
|
|
|
1675
1677
|
instance: TrackedEntityInstance | DHIS2Event;
|
|
1676
1678
|
}) => void>;
|
|
1677
1679
|
instanceSave: EventEmitter<TrackedEntityInstance | DHIS2Event>;
|
|
1678
|
-
instanceSaveCompleted: EventEmitter<
|
|
1680
|
+
instanceSaveCompleted: EventEmitter<D2EventResponse<DHIS2Event> | D2TrackerResponse<TrackedEntityInstance>>;
|
|
1679
1681
|
instanceUpdate: EventEmitter<TrackedEntityInstance | DHIS2Event>;
|
|
1680
1682
|
formValidityUpdate: EventEmitter<boolean>;
|
|
1681
1683
|
formCancel: EventEmitter<any>;
|