@iapps/ng-dhis2-ui 1.2.168 → 1.2.169
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/index.d.ts
CHANGED
|
@@ -9,8 +9,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
|
-
import * as _dhis2_app_service_config from '@dhis2/app-service-config';
|
|
13
12
|
import * as _dhis2_ui_loader from '@dhis2-ui/loader';
|
|
13
|
+
import * as _dhis2_app_service_config from '@dhis2/app-service-config';
|
|
14
14
|
|
|
15
15
|
declare class ReactWrapperModule implements OnDestroy, AfterViewInit {
|
|
16
16
|
protected elementRef: ElementRef<HTMLElement>;
|
|
@@ -265,7 +265,7 @@ declare class LineListTableComponent extends ReactWrapperModule implements OnCha
|
|
|
265
265
|
action: string;
|
|
266
266
|
data: TrackedEntityInstance | DHIS2Event;
|
|
267
267
|
}>;
|
|
268
|
-
rowsSelected: EventEmitter<
|
|
268
|
+
rowsSelected: EventEmitter<DHIS2Event[] | TrackedEntityInstance[]>;
|
|
269
269
|
showActionButtons: boolean;
|
|
270
270
|
showEnrollmentDates: boolean;
|
|
271
271
|
showDownloadButton: boolean;
|
|
@@ -1455,7 +1455,7 @@ declare class D2FormModule {
|
|
|
1455
1455
|
declare class FieldUtil {
|
|
1456
1456
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
1457
1457
|
static sanitizeOptions(options: any[]): any;
|
|
1458
|
-
static getFieldType(valueType: string): "
|
|
1458
|
+
static getFieldType(valueType: string): "email" | "number" | "text" | "tel" | "date" | "date-time" | "org-unit" | "file" | "coordinate";
|
|
1459
1459
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
1460
1460
|
static getOptionEntities?(options: any[]): any;
|
|
1461
1461
|
}
|
|
@@ -1465,7 +1465,7 @@ declare class FieldControlTypeUtil {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
|
|
1467
1467
|
declare class FormFieldTypeUtil {
|
|
1468
|
-
static getFieldType(valueType: string): "
|
|
1468
|
+
static getFieldType(valueType: string): "number" | "text" | "tel" | "date-time" | "image" | "org-unit" | "file" | "coordinate";
|
|
1469
1469
|
}
|
|
1470
1470
|
|
|
1471
1471
|
declare class FormUtil {
|
|
@@ -1563,14 +1563,14 @@ declare class SelectionFiltersComponent extends ReactWrapperModule implements Af
|
|
|
1563
1563
|
FieldOrgUnitSelector: (props: {
|
|
1564
1564
|
onSelectOrgUnit: (selectedOrgUnits: any) => void;
|
|
1565
1565
|
onCancelOrgUnit: () => void;
|
|
1566
|
-
}) => React.FunctionComponentElement<
|
|
1566
|
+
}) => React.FunctionComponentElement<{
|
|
1567
1567
|
config: _dhis2_app_service_config.Config;
|
|
1568
1568
|
children: React.ReactNode;
|
|
1569
1569
|
offlineInterface?: any;
|
|
1570
1570
|
plugin: boolean;
|
|
1571
1571
|
parentAlertsAdd: any;
|
|
1572
1572
|
showAlertsInPlugin: boolean;
|
|
1573
|
-
}>;
|
|
1573
|
+
}> | React.FunctionComponentElement<_dhis2_ui_loader.CircularLoaderProps>;
|
|
1574
1574
|
showOrgUnitTree: _angular_core.WritableSignal<boolean>;
|
|
1575
1575
|
orgUnitSelectionConfig: OrganisationUnitSelectionConfig;
|
|
1576
1576
|
selectedOrgUnitSignal: _angular_core.WritableSignal<any>;
|