@iapps/ng-dhis2-ui 1.2.166 → 1.2.167
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>;
|
|
@@ -1448,7 +1448,7 @@ declare class D2FormModule {
|
|
|
1448
1448
|
declare class FieldUtil {
|
|
1449
1449
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
1450
1450
|
static sanitizeOptions(options: any[]): any;
|
|
1451
|
-
static getFieldType(valueType: string): "date" | "
|
|
1451
|
+
static getFieldType(valueType: string): "date" | "number" | "tel" | "email" | "org-unit" | "date-time" | "file" | "coordinate" | "text";
|
|
1452
1452
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
1453
1453
|
static getOptionEntities?(options: any[]): any;
|
|
1454
1454
|
}
|
|
@@ -1458,7 +1458,7 @@ declare class FieldControlTypeUtil {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
|
|
1460
1460
|
declare class FormFieldTypeUtil {
|
|
1461
|
-
static getFieldType(valueType: string): "
|
|
1461
|
+
static getFieldType(valueType: string): "number" | "tel" | "org-unit" | "date-time" | "file" | "coordinate" | "text" | "image";
|
|
1462
1462
|
}
|
|
1463
1463
|
|
|
1464
1464
|
declare class FormUtil {
|
|
@@ -1556,14 +1556,14 @@ declare class SelectionFiltersComponent extends ReactWrapperModule implements Af
|
|
|
1556
1556
|
FieldOrgUnitSelector: (props: {
|
|
1557
1557
|
onSelectOrgUnit: (selectedOrgUnits: any) => void;
|
|
1558
1558
|
onCancelOrgUnit: () => void;
|
|
1559
|
-
}) => React.FunctionComponentElement<
|
|
1559
|
+
}) => React.FunctionComponentElement<{
|
|
1560
1560
|
config: _dhis2_app_service_config.Config;
|
|
1561
1561
|
children: React.ReactNode;
|
|
1562
1562
|
offlineInterface?: any;
|
|
1563
1563
|
plugin: boolean;
|
|
1564
1564
|
parentAlertsAdd: any;
|
|
1565
1565
|
showAlertsInPlugin: boolean;
|
|
1566
|
-
}>;
|
|
1566
|
+
}> | React.FunctionComponentElement<_dhis2_ui_loader.CircularLoaderProps>;
|
|
1567
1567
|
showOrgUnitTree: _angular_core.WritableSignal<boolean>;
|
|
1568
1568
|
orgUnitSelectionConfig: OrganisationUnitSelectionConfig;
|
|
1569
1569
|
selectedOrgUnitSignal: _angular_core.WritableSignal<any>;
|