@iapps/ng-dhis2-ui 1.2.115 → 1.2.116
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
|
@@ -335,7 +335,7 @@ interface FormFieldExtension {
|
|
|
335
335
|
accept?: string[];
|
|
336
336
|
sizeLimit?: number;
|
|
337
337
|
isDataElementUnique?: boolean;
|
|
338
|
-
|
|
338
|
+
optionsSourceCode?: string;
|
|
339
339
|
organisationUnits?: any[];
|
|
340
340
|
}
|
|
341
341
|
|
|
@@ -1003,7 +1003,7 @@ declare class D2FormModule {
|
|
|
1003
1003
|
declare class FieldUtil {
|
|
1004
1004
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
1005
1005
|
static sanitizeOptions(options: any[]): any;
|
|
1006
|
-
static getFieldType(valueType: string): "
|
|
1006
|
+
static getFieldType(valueType: string): "date" | "org-unit" | "file" | "number" | "tel" | "email" | "text";
|
|
1007
1007
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
1008
1008
|
static getOptionEntities?(options: any[]): any;
|
|
1009
1009
|
}
|
|
@@ -1013,7 +1013,7 @@ declare class FieldControlTypeUtil {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
declare class FormFieldTypeUtil {
|
|
1016
|
-
static getFieldType(valueType: string): "
|
|
1016
|
+
static getFieldType(valueType: string): "image" | "org-unit" | "file" | "number" | "text";
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
1019
|
declare class FormUtil {
|