@iapps/ng-dhis2-ui 1.2.138 → 1.2.139
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 +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1398,7 +1398,7 @@ declare class D2FormModule {
|
|
|
1398
1398
|
declare class FieldUtil {
|
|
1399
1399
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
1400
1400
|
static sanitizeOptions(options: any[]): any;
|
|
1401
|
-
static getFieldType(valueType: string): "
|
|
1401
|
+
static getFieldType(valueType: string): "email" | "number" | "text" | "tel" | "date" | "date-time" | "org-unit" | "file" | "coordinate";
|
|
1402
1402
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
1403
1403
|
static getOptionEntities?(options: any[]): any;
|
|
1404
1404
|
}
|
|
@@ -1408,7 +1408,7 @@ declare class FieldControlTypeUtil {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
|
|
1410
1410
|
declare class FormFieldTypeUtil {
|
|
1411
|
-
static getFieldType(valueType: string): "
|
|
1411
|
+
static getFieldType(valueType: string): "number" | "text" | "tel" | "date-time" | "image" | "org-unit" | "file" | "coordinate";
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
1414
|
declare class FormUtil {
|