eehitus-my-task-list-ui 1.5.7 → 1.5.8
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/dist/index.cjs.js +4 -4
- package/dist/index.esm.js +3 -3
- package/dist/index.umd.js +4 -4
- package/dist/types/components/common/components/operation/filter/OperationsFilterService.d.ts +0 -1
- package/dist/types/components/common/constants/Constants.d.ts +0 -10
- package/dist/types/components/common/constants/planningDotyConsts.d.ts +0 -1
- package/dist/types/components/common/filterService/CommonFilterService.d.ts +2 -13
- package/dist/types/components/page/mydocuments/filter/DocumentsFilterService.d.ts +0 -1
- package/dist/types/components/services/my_views_api_client/api.d.ts +0 -12
- package/dist/types/redux/api/index.d.ts +2 -1
- package/dist/types/redux/reducers/filterSlice.d.ts +2 -2
- package/dist/types/redux/reducers/filterState.d.ts +2 -1
- package/package.json +1 -1
- package/dist/types/components/common/components/operation/filter/OperationsFilterService.institutionOptions.test.d.ts +0 -1
- package/dist/types/components/common/components/operation/operationsTable/proceedingInstitution.d.ts +0 -2
- package/dist/types/components/common/components/operation/operationsTable/proceedingInstitution.test.d.ts +0 -1
- package/dist/types/components/page/mydocuments/filter/DocumentsFilterService.institutionOptions.test.d.ts +0 -1
package/dist/types/components/common/components/operation/filter/OperationsFilterService.d.ts
CHANGED
|
@@ -8,4 +8,3 @@ export declare function filterOperations(operations: MyOperationDto[], filter: O
|
|
|
8
8
|
export declare function getPresetOperationStates(selectedStates: any): {
|
|
9
9
|
id: MENTOIMSEIS;
|
|
10
10
|
}[];
|
|
11
|
-
export declare const getInstitutionOptionsFromOperations: (operations: MyOperationDto[]) => MultiselectTypeOption[];
|
|
@@ -260,16 +260,6 @@ export declare const NATIONAL_SPECIAL_PLANNING_INITIATION_DRAFT_12514: {
|
|
|
260
260
|
nr: number;
|
|
261
261
|
name: string;
|
|
262
262
|
};
|
|
263
|
-
export declare const PLANNING_ANNULMENT_DECISION_12515: {
|
|
264
|
-
code: string;
|
|
265
|
-
nr: number;
|
|
266
|
-
name: string;
|
|
267
|
-
};
|
|
268
|
-
export declare const PLANNING_PARTIAL_ANNULMENT_DECISION_12516: {
|
|
269
|
-
code: string;
|
|
270
|
-
nr: number;
|
|
271
|
-
name: string;
|
|
272
|
-
};
|
|
273
263
|
export declare const DETAIL_PLANNING_14101: {
|
|
274
264
|
code: string;
|
|
275
265
|
nr: number;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare const RestrictedPlanningCodes: string[];
|
|
2
2
|
export declare const DetailPlanningAppliRelatedCodes: string[];
|
|
3
|
-
export declare const PlanningAnnulmentDecisionCodes: string[];
|
|
4
3
|
export declare const AllPlanningCodes: string[];
|
|
5
4
|
export declare const PLANNING_DOCTYPES: {
|
|
6
5
|
code: string;
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import { DocumentType } from '../../services/classifier_api_client';
|
|
2
2
|
import { MultiselectTypeOption } from '../types/MultiselectTypeOption';
|
|
3
|
-
import { UserDto } from '../../services/user_api_client';
|
|
3
|
+
import { JurPersonDto, UserDto } from '../../services/user_api_client';
|
|
4
4
|
export declare function getParsedDocumentTypes(data: DocumentType[]): MultiselectTypeOption[];
|
|
5
5
|
export declare function getParsedInstitutionUsers(data: UserDto[]): MultiselectTypeOption[];
|
|
6
|
-
|
|
7
|
-
* Builds "Menetlev asutus" filter options from rows that already carry the authority.
|
|
8
|
-
*
|
|
9
|
-
* These filters match client-side on the authority id, so the only options worth offering
|
|
10
|
-
* are the ones present in the loaded rows. Building them from the rows also means
|
|
11
|
-
* central-government authorities appear -- the list this used to come from, user-api's
|
|
12
|
-
* GET /person/jur/kov, holds local municipalities only and excludes e.g. Transpordiamet
|
|
13
|
-
* by construction.
|
|
14
|
-
*
|
|
15
|
-
* Ids are kept as strings because that is what the filter state stores and compares.
|
|
16
|
-
*/
|
|
17
|
-
export declare function buildInstitutionOptions(rows: [string | number | undefined, string | undefined][]): MultiselectTypeOption[];
|
|
6
|
+
export declare function getParsedInstitutions(data: JurPersonDto[]): MultiselectTypeOption[];
|
|
@@ -3,4 +3,3 @@ import { BaseMyDocument } from '../../../services/my_views_api_client';
|
|
|
3
3
|
import { DocumentsFilterType } from '../types/DocumentsFilterType';
|
|
4
4
|
export declare function getParsedDocumentStates(documentType: string): MultiselectTypeOption[];
|
|
5
5
|
export declare function filterDocuments(documents: BaseMyDocument[], filter: DocumentsFilterType): BaseMyDocument[];
|
|
6
|
-
export declare const getInstitutionOptionsFromDocuments: (documents: BaseMyDocument[]) => MultiselectTypeOption[];
|
|
@@ -122,12 +122,6 @@ export interface BaseMyDocument {
|
|
|
122
122
|
* @memberof BaseMyDocument
|
|
123
123
|
*/
|
|
124
124
|
'institutionId'?: string;
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
* @type {string}
|
|
128
|
-
* @memberof BaseMyDocument
|
|
129
|
-
*/
|
|
130
|
-
'institution'?: string;
|
|
131
125
|
/**
|
|
132
126
|
*
|
|
133
127
|
* @type {number}
|
|
@@ -918,12 +912,6 @@ export interface MyOperationDto {
|
|
|
918
912
|
* @memberof MyOperationDto
|
|
919
913
|
*/
|
|
920
914
|
'commentingInvitationId'?: number;
|
|
921
|
-
/**
|
|
922
|
-
*
|
|
923
|
-
* @type {string}
|
|
924
|
-
* @memberof MyOperationDto
|
|
925
|
-
*/
|
|
926
|
-
'proceedingInstitution'?: string;
|
|
927
915
|
}
|
|
928
916
|
/**
|
|
929
917
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClassifierApiEndpointApi } from '../../components/services/classifier_api_client';
|
|
2
|
-
import { PersonApiEndpointApi, UserApiEndpointApi } from '../../components/services/user_api_client';
|
|
2
|
+
import { PersonApiEndpointApi, UserApiEndpointApi, InstitutionKovEndpointApi } from '../../components/services/user_api_client';
|
|
3
3
|
import { MyProceedingsApi, BaseMyDocumentsApi, MyOperationsApi } from '../../components/services/my_views_api_client';
|
|
4
4
|
import { ApplicationApiEndpointApi } from '../../components/services/document_api_client';
|
|
5
5
|
import { CommonFileUploadControllerApi } from '../../components/services/file_api_client';
|
|
@@ -22,4 +22,5 @@ export declare const api: {
|
|
|
22
22
|
documentApiService: ApplicationApiEndpointApi;
|
|
23
23
|
fileApiService: CommonFileUploadControllerApi;
|
|
24
24
|
frontPageApi: YldApi;
|
|
25
|
+
institutionKovEndpointApi: InstitutionKovEndpointApi;
|
|
25
26
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Classifier, DocumentType, FileType } from '../../components/services/classifier_api_client';
|
|
2
|
-
import { UserDto } from '../../components/services/user_api_client';
|
|
2
|
+
import { JurPersonDto, UserDto } from '../../components/services/user_api_client';
|
|
3
3
|
import { FilterState } from './filterState';
|
|
4
4
|
export declare const classifiersLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
5
5
|
[key: string]: Classifier[];
|
|
6
|
-
}, "filter/classifiersLoaded">, documentTypesLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<DocumentType[], "filter/documentTypesLoaded">, institutionUsersLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<UserDto[], "filter/institutionUsersLoaded">, usageClassifierTypesLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<FileType[], "filter/usageClassifierTypesLoaded">, heritageClassifierTypesLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<Classifier[], "filter/heritageClassifierTypesLoaded">;
|
|
6
|
+
}, "filter/classifiersLoaded">, documentTypesLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<DocumentType[], "filter/documentTypesLoaded">, institutionUsersLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<UserDto[], "filter/institutionUsersLoaded">, institutionsLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<JurPersonDto[], "filter/institutionsLoaded">, usageClassifierTypesLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<FileType[], "filter/usageClassifierTypesLoaded">, heritageClassifierTypesLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<Classifier[], "filter/heritageClassifierTypesLoaded">;
|
|
7
7
|
declare const _default: import("@reduxjs/toolkit").Reducer<FilterState>;
|
|
8
8
|
export default _default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Classifier, DocumentType, FileType } from '../../components/services/classifier_api_client';
|
|
2
|
-
import { UserDto } from '../../components/services/user_api_client';
|
|
2
|
+
import { JurPersonDto, UserDto } from '../../components/services/user_api_client';
|
|
3
3
|
export interface FilterState {
|
|
4
4
|
classifiers: {
|
|
5
5
|
[key: string]: Array<Classifier>;
|
|
6
6
|
};
|
|
7
7
|
documentTypes: DocumentType[];
|
|
8
8
|
institutionUsers: UserDto[];
|
|
9
|
+
institutions: JurPersonDto[];
|
|
9
10
|
usageClassifierTypes: FileType[];
|
|
10
11
|
heritageClassifierTypes: Classifier[];
|
|
11
12
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|