@iapps/ng-dhis2-ui 1.2.116 → 1.2.118
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
|
@@ -138,6 +138,7 @@ declare class OrganisationUnitSelectionConfig {
|
|
|
138
138
|
batchSize?: number;
|
|
139
139
|
additionalQueryFields?: string[];
|
|
140
140
|
allowCaching?: boolean;
|
|
141
|
+
rootOrgUnits?: string[];
|
|
141
142
|
constructor(params?: Partial<OrganisationUnitSelectionConfig>);
|
|
142
143
|
}
|
|
143
144
|
|
|
@@ -1003,7 +1004,7 @@ declare class D2FormModule {
|
|
|
1003
1004
|
declare class FieldUtil {
|
|
1004
1005
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
1005
1006
|
static sanitizeOptions(options: any[]): any;
|
|
1006
|
-
static getFieldType(valueType: string): "
|
|
1007
|
+
static getFieldType(valueType: string): "email" | "number" | "text" | "tel" | "date" | "org-unit" | "file";
|
|
1007
1008
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
1008
1009
|
static getOptionEntities?(options: any[]): any;
|
|
1009
1010
|
}
|
|
@@ -1013,7 +1014,7 @@ declare class FieldControlTypeUtil {
|
|
|
1013
1014
|
}
|
|
1014
1015
|
|
|
1015
1016
|
declare class FormFieldTypeUtil {
|
|
1016
|
-
static getFieldType(valueType: string): "
|
|
1017
|
+
static getFieldType(valueType: string): "number" | "text" | "image" | "org-unit" | "file";
|
|
1017
1018
|
}
|
|
1018
1019
|
|
|
1019
1020
|
declare class FormUtil {
|