@iapps/ng-dhis2-ui 1.2.163 → 1.2.164
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
|
@@ -342,6 +342,7 @@ interface FormFieldExtension {
|
|
|
342
342
|
isDataElementUnique?: boolean;
|
|
343
343
|
optionsSourceCode?: string;
|
|
344
344
|
organisationUnits?: any[];
|
|
345
|
+
orgUnitRoots?: string[];
|
|
345
346
|
}
|
|
346
347
|
|
|
347
348
|
interface IFormField<T> {
|
|
@@ -1433,7 +1434,7 @@ declare class D2FormModule {
|
|
|
1433
1434
|
declare class FieldUtil {
|
|
1434
1435
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
1435
1436
|
static sanitizeOptions(options: any[]): any;
|
|
1436
|
-
static getFieldType(valueType: string): "date" | "date-time" | "org-unit" | "file" | "number" | "tel" | "coordinate" | "
|
|
1437
|
+
static getFieldType(valueType: string): "date" | "date-time" | "org-unit" | "file" | "number" | "tel" | "coordinate" | "email" | "text";
|
|
1437
1438
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
1438
1439
|
static getOptionEntities?(options: any[]): any;
|
|
1439
1440
|
}
|