@iapps/ng-dhis2-ui 1.2.0 → 1.2.1
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.
|
@@ -2,10 +2,9 @@ import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ReactWrapperModule } from '../../react-wrapper/react-wrapper.component';
|
|
4
4
|
import { AttributeFilter } from '../models/attribute-filter.model';
|
|
5
|
-
import { TableRow } from '../models/line-list.models';
|
|
6
5
|
import { LineListService } from '../services/line-list.service';
|
|
7
6
|
import { ActionOptionOrientation, LineListActionOption } from '../models';
|
|
8
|
-
import { DataQueryFilter } from '@iapps/d2-web-sdk';
|
|
7
|
+
import { DataQueryFilter, DHIS2Event, TrackedEntityInstance } from '@iapps/d2-web-sdk';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class LineListTableComponent extends ReactWrapperModule {
|
|
11
10
|
programId: string;
|
|
@@ -19,20 +18,20 @@ export declare class LineListTableComponent extends ReactWrapperModule {
|
|
|
19
18
|
endDate?: string;
|
|
20
19
|
dataQueryFilters?: DataQueryFilter[];
|
|
21
20
|
ouMode?: string;
|
|
21
|
+
isButtonLoading: boolean;
|
|
22
|
+
buttonFilter: string;
|
|
23
|
+
filterRootOrgUnit: boolean;
|
|
24
|
+
showFilters: boolean;
|
|
25
|
+
isOptionSetNameVisible: boolean;
|
|
22
26
|
actionSelected: EventEmitter<{
|
|
23
27
|
action: string;
|
|
24
|
-
|
|
28
|
+
data: TrackedEntityInstance | DHIS2Event;
|
|
25
29
|
}>;
|
|
26
|
-
private reactStateUpdaters;
|
|
27
30
|
approvalSelected: EventEmitter<{
|
|
28
31
|
teiId: string;
|
|
29
32
|
enrollmentId: string;
|
|
30
33
|
}[]>;
|
|
31
|
-
|
|
32
|
-
buttonFilter: string;
|
|
33
|
-
filterRootOrgUnit: boolean;
|
|
34
|
-
showFilters: boolean;
|
|
35
|
-
isOptionSetNameVisible: boolean;
|
|
34
|
+
private reactStateUpdaters;
|
|
36
35
|
setReactStateUpdaters: (updaters: any) => void;
|
|
37
36
|
ngOnChanges(changes: SimpleChanges): void;
|
|
38
37
|
lineListService: LineListService;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Pager, TrackedEntityInstance } from
|
|
1
|
+
import { DHIS2Event, Pager, TrackedEntityInstance } from '@iapps/d2-web-sdk';
|
|
2
2
|
export interface PagerObject {
|
|
3
3
|
page: number;
|
|
4
4
|
pageSize: number;
|
|
@@ -173,7 +173,7 @@ export interface LineListResponse {
|
|
|
173
173
|
}
|
|
174
174
|
export interface TableRow {
|
|
175
175
|
[key: string]: {
|
|
176
|
-
value: string | number;
|
|
176
|
+
value: TrackedEntityInstance | DHIS2Event | string | number;
|
|
177
177
|
style?: string;
|
|
178
178
|
};
|
|
179
179
|
index: {
|