@iapps/ng-dhis2-ui 1.1.66 → 1.1.68
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/fesm2022/iapps-ng-dhis2-ui.mjs +148 -31
- package/fesm2022/iapps-ng-dhis2-ui.mjs.map +1 -1
- package/lib/modules/form/utils/field-type.util.d.ts +1 -1
- package/lib/modules/form/utils/field.util.d.ts +1 -1
- package/lib/modules/line-list/models/line-list.models.d.ts +31 -4
- package/lib/modules/line-list/utils/line-list-utils.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { DropdownOption } from '../models';
|
|
|
3
3
|
export declare class FieldUtil {
|
|
4
4
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
5
5
|
static sanitizeOptions(options: any[]): any;
|
|
6
|
-
static getFieldType(valueType: string): "
|
|
6
|
+
static getFieldType(valueType: string): "email" | "number" | "text" | "tel" | "date" | "org-unit" | "file";
|
|
7
7
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
8
8
|
static getOptionEntities?(options: any[]): any;
|
|
9
9
|
}
|
|
@@ -138,10 +138,37 @@ export interface EnrollmentsResponse {
|
|
|
138
138
|
pager: Pager;
|
|
139
139
|
}
|
|
140
140
|
export interface ProgramStageDataElement {
|
|
141
|
-
dataElement:
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
dataElement: DataElement;
|
|
142
|
+
}
|
|
143
|
+
export interface DataElement {
|
|
144
|
+
code: string;
|
|
145
|
+
name: string;
|
|
146
|
+
created: string;
|
|
147
|
+
lastUpdated: string;
|
|
148
|
+
translations: any[];
|
|
149
|
+
favorites: any[];
|
|
150
|
+
shortName: string;
|
|
151
|
+
description: string;
|
|
152
|
+
formName: string;
|
|
153
|
+
dimensionItemType: string;
|
|
154
|
+
legendSets: any[];
|
|
155
|
+
aggregationType: string;
|
|
156
|
+
valueType: string;
|
|
157
|
+
domainType: string;
|
|
158
|
+
dataSetElements: any[];
|
|
159
|
+
aggregationLevels: any[];
|
|
160
|
+
zeroIsSignificant: boolean;
|
|
161
|
+
optionSetValue: boolean;
|
|
162
|
+
dimensionItem: string;
|
|
163
|
+
displayShortName: string;
|
|
164
|
+
displayDescription: string;
|
|
165
|
+
displayName: string;
|
|
166
|
+
favorite: boolean;
|
|
167
|
+
displayFormName: string;
|
|
168
|
+
id: string;
|
|
169
|
+
attributeValues: any[];
|
|
170
|
+
dataElementGroups: any[];
|
|
171
|
+
optionSet?: OptionSet;
|
|
145
172
|
}
|
|
146
173
|
export interface ProgramStage {
|
|
147
174
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FilterConfig } from '../models/filter-config.model';
|
|
2
2
|
import { LineListResponse, ColumnDefinition, TableRow } from '../models/line-list.models';
|
|
3
|
-
export declare const getProgramStageData: (response: LineListResponse, programStageId: string, pager: any) => {
|
|
3
|
+
export declare const getProgramStageData: (response: LineListResponse, programStageId: string, pager: any, isOptionSetNameVisible: boolean) => {
|
|
4
4
|
columns: ColumnDefinition[];
|
|
5
5
|
data: TableRow[];
|
|
6
6
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getTrackedEntityData: (response: LineListResponse, programI
|
|
|
9
9
|
data: TableRow[];
|
|
10
10
|
filteredEntityColumns: ColumnDefinition[];
|
|
11
11
|
};
|
|
12
|
-
export declare const getEventData: (response: LineListResponse, pager: any) => {
|
|
12
|
+
export declare const getEventData: (response: LineListResponse, pager: any, isOptionSetNameVisible: boolean) => {
|
|
13
13
|
columns: ColumnDefinition[];
|
|
14
14
|
data: TableRow[];
|
|
15
15
|
};
|