@iapps/ng-dhis2-ui 1.1.65 → 1.1.67
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 +233 -29
- package/fesm2022/iapps-ng-dhis2-ui.mjs.map +1 -1
- package/lib/modules/line-list/containers/line-list.component.d.ts +2 -1
- package/lib/modules/line-list/models/line-list.models.d.ts +55 -9
- package/lib/modules/line-list/utils/line-list-utils.d.ts +2 -2
- package/package.json +1 -1
|
@@ -34,11 +34,12 @@ export declare class LineListTableComponent extends ReactWrapperModule {
|
|
|
34
34
|
buttonFilter: string;
|
|
35
35
|
filterRootOrgUnit: boolean;
|
|
36
36
|
showFilters: boolean;
|
|
37
|
+
isOptionSetNameVisible: boolean;
|
|
37
38
|
setReactStateUpdaters: (updaters: any) => void;
|
|
38
39
|
ngOnChanges(changes: SimpleChanges): void;
|
|
39
40
|
lineListService: LineListService;
|
|
40
41
|
LineList: () => React.JSX.Element;
|
|
41
42
|
ngAfterViewInit(): Promise<void>;
|
|
42
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<LineListTableComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LineListTableComponent, "ng-dhis2-ui-line-list", never, { "programId": { "alias": "programId"; "required": false; }; "orgUnit": { "alias": "orgUnit"; "required": false; }; "programStageId": { "alias": "programStageId"; "required": false; }; "actionOptions": { "alias": "actionOptions"; "required": false; }; "attributeFilters": { "alias": "attributeFilters"; "required": false; }; "useOuModeWithOlderDHIS2Instance": { "alias": "useOuModeWithOlderDHIS2Instance"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "ouMode": { "alias": "ouMode"; "required": false; }; "dispatchTeis": { "alias": "dispatchTeis"; "required": false; }; "isButtonLoading": { "alias": "isButtonLoading"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "buttonFilter": { "alias": "buttonFilter"; "required": false; }; "filterRootOrgUnit": { "alias": "filterRootOrgUnit"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; }, { "actionSelected": "actionSelected"; "approvalSelected": "approvalSelected"; "firstValue": "firstValue"; }, never, ["*"], false, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LineListTableComponent, "ng-dhis2-ui-line-list", never, { "programId": { "alias": "programId"; "required": false; }; "orgUnit": { "alias": "orgUnit"; "required": false; }; "programStageId": { "alias": "programStageId"; "required": false; }; "actionOptions": { "alias": "actionOptions"; "required": false; }; "attributeFilters": { "alias": "attributeFilters"; "required": false; }; "useOuModeWithOlderDHIS2Instance": { "alias": "useOuModeWithOlderDHIS2Instance"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "ouMode": { "alias": "ouMode"; "required": false; }; "dispatchTeis": { "alias": "dispatchTeis"; "required": false; }; "isButtonLoading": { "alias": "isButtonLoading"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "buttonFilter": { "alias": "buttonFilter"; "required": false; }; "filterRootOrgUnit": { "alias": "filterRootOrgUnit"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; "isOptionSetNameVisible": { "alias": "isOptionSetNameVisible"; "required": false; }; }, { "actionSelected": "actionSelected"; "approvalSelected": "approvalSelected"; "firstValue": "firstValue"; }, never, ["*"], false, never>;
|
|
44
45
|
}
|
|
@@ -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;
|
|
@@ -213,13 +240,32 @@ export interface ProgramTrackedEntityAttribute {
|
|
|
213
240
|
users: any;
|
|
214
241
|
};
|
|
215
242
|
sortOrder: number;
|
|
216
|
-
trackedEntityAttribute:
|
|
217
|
-
id: string;
|
|
218
|
-
name: string;
|
|
219
|
-
valueType: string;
|
|
220
|
-
};
|
|
243
|
+
trackedEntityAttribute: TrackedEntityAttribute;
|
|
221
244
|
translations: any[];
|
|
222
245
|
userAccesses: any[];
|
|
223
246
|
userGroupAccesses: any[];
|
|
224
247
|
valueType: string;
|
|
225
248
|
}
|
|
249
|
+
export interface TrackedEntityAttribute {
|
|
250
|
+
code: string;
|
|
251
|
+
name: string;
|
|
252
|
+
formName: string;
|
|
253
|
+
shortName: string;
|
|
254
|
+
valueType: string;
|
|
255
|
+
optionSetValue: boolean;
|
|
256
|
+
id: string;
|
|
257
|
+
optionSet?: OptionSet;
|
|
258
|
+
generated: boolean;
|
|
259
|
+
unique: boolean;
|
|
260
|
+
}
|
|
261
|
+
export interface OptionSet {
|
|
262
|
+
name: string;
|
|
263
|
+
options: Option[];
|
|
264
|
+
id: string;
|
|
265
|
+
}
|
|
266
|
+
export interface Option {
|
|
267
|
+
code: string;
|
|
268
|
+
name: string;
|
|
269
|
+
id: string;
|
|
270
|
+
value?: string;
|
|
271
|
+
}
|
|
@@ -4,12 +4,12 @@ export declare const getProgramStageData: (response: LineListResponse, programSt
|
|
|
4
4
|
columns: ColumnDefinition[];
|
|
5
5
|
data: TableRow[];
|
|
6
6
|
};
|
|
7
|
-
export declare const getTrackedEntityData: (response: LineListResponse, programId: string, pager: any, filters?: FilterConfig[]) => {
|
|
7
|
+
export declare const getTrackedEntityData: (response: LineListResponse, programId: string, pager: any, isOptionSetNameVisible: boolean, filters?: FilterConfig[]) => {
|
|
8
8
|
columns: ColumnDefinition[];
|
|
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
|
};
|