@iapps/ng-dhis2-ui 1.2.140 → 1.2.146
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
|
@@ -1410,7 +1410,7 @@ declare class D2FormModule {
|
|
|
1410
1410
|
declare class FieldUtil {
|
|
1411
1411
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
1412
1412
|
static sanitizeOptions(options: any[]): any;
|
|
1413
|
-
static getFieldType(valueType: string): "
|
|
1413
|
+
static getFieldType(valueType: string): "number" | "text" | "email" | "tel" | "date" | "date-time" | "org-unit" | "file" | "coordinate";
|
|
1414
1414
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
1415
1415
|
static getOptionEntities?(options: any[]): any;
|
|
1416
1416
|
}
|
|
@@ -1612,14 +1612,14 @@ declare class ProgramEntryFormModule {
|
|
|
1612
1612
|
metaData: _angular_core.WritableSignal<IProgramEntryFormMetaData>;
|
|
1613
1613
|
isFormValid: _angular_core.WritableSignal<boolean>;
|
|
1614
1614
|
isFormValid$: Observable<boolean>;
|
|
1615
|
-
instance: _angular_core.WritableSignal<
|
|
1615
|
+
instance: _angular_core.WritableSignal<TrackedEntityInstance | DHIS2Event>;
|
|
1616
1616
|
instanceQuery: BaseTrackerQuery<TrackedEntityInstance> | BaseEventQuery<DHIS2Event>;
|
|
1617
1617
|
preprocess: _angular_core.InputSignal<(payload: {
|
|
1618
1618
|
instance: TrackedEntityInstance | DHIS2Event;
|
|
1619
1619
|
}) => void>;
|
|
1620
|
-
instanceSave: EventEmitter<
|
|
1620
|
+
instanceSave: EventEmitter<TrackedEntityInstance | DHIS2Event>;
|
|
1621
1621
|
instanceSaveCompleted: EventEmitter<D2EventResponse<DHIS2Event> | D2TrackerResponse<TrackedEntityInstance>>;
|
|
1622
|
-
instanceUpdate: EventEmitter<
|
|
1622
|
+
instanceUpdate: EventEmitter<TrackedEntityInstance | DHIS2Event>;
|
|
1623
1623
|
formValidityUpdate: EventEmitter<boolean>;
|
|
1624
1624
|
formCancel: EventEmitter<any>;
|
|
1625
1625
|
FormLoader: () => React.JSX.Element;
|