@iapps/ng-dhis2-ui 1.1.65 → 1.1.66
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 +169 -26
- 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 +24 -5
- package/lib/modules/line-list/utils/line-list-utils.d.ts +1 -1
- 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
|
}
|
|
@@ -213,13 +213,32 @@ export interface ProgramTrackedEntityAttribute {
|
|
|
213
213
|
users: any;
|
|
214
214
|
};
|
|
215
215
|
sortOrder: number;
|
|
216
|
-
trackedEntityAttribute:
|
|
217
|
-
id: string;
|
|
218
|
-
name: string;
|
|
219
|
-
valueType: string;
|
|
220
|
-
};
|
|
216
|
+
trackedEntityAttribute: TrackedEntityAttribute;
|
|
221
217
|
translations: any[];
|
|
222
218
|
userAccesses: any[];
|
|
223
219
|
userGroupAccesses: any[];
|
|
224
220
|
valueType: string;
|
|
225
221
|
}
|
|
222
|
+
export interface TrackedEntityAttribute {
|
|
223
|
+
code: string;
|
|
224
|
+
name: string;
|
|
225
|
+
formName: string;
|
|
226
|
+
shortName: string;
|
|
227
|
+
valueType: string;
|
|
228
|
+
optionSetValue: boolean;
|
|
229
|
+
id: string;
|
|
230
|
+
optionSet?: OptionSet;
|
|
231
|
+
generated: boolean;
|
|
232
|
+
unique: boolean;
|
|
233
|
+
}
|
|
234
|
+
export interface OptionSet {
|
|
235
|
+
name: string;
|
|
236
|
+
options: Option[];
|
|
237
|
+
id: string;
|
|
238
|
+
}
|
|
239
|
+
export interface Option {
|
|
240
|
+
code: string;
|
|
241
|
+
name: string;
|
|
242
|
+
id: string;
|
|
243
|
+
value?: string;
|
|
244
|
+
}
|
|
@@ -4,7 +4,7 @@ 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[];
|