eehitus-my-task-list-ui 1.3.10 → 1.3.12
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 +5 -5
- package/dist/index.esm.js +5 -5
- package/dist/index.umd.js +5 -5
- package/dist/l10n/eehitus-my-task-list-ui-combined_translations_et.json +1 -1
- package/dist/types/components/DemoDetailSearch.d.ts +0 -3
- package/dist/types/components/common/components/operation/operationsTable/OperationsTable.d.ts +1 -0
- package/dist/types/components/common/constants/Constants.d.ts +18 -21
- package/dist/types/components/common/services/invitationCommentService.d.ts +11 -0
- package/dist/types/components/common/table/TableRowButtons.d.ts +2 -1
- package/dist/types/components/common/table/tableButtonsHelpers.d.ts +2 -2
- package/dist/types/components/page/detailsearch/detailsearch.d.ts +0 -15
- package/dist/types/components/page/detailsearch/filter/LandImprovementDetailSearchFilter.d.ts +7 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchLandImprovement.d.ts +6 -0
- package/dist/types/components/page/detailsearch/types/LandImprovementDetailSearchFilterType.d.ts +9 -0
- package/dist/types/components/page/myApprovals/components/ApprovalsToCommentSection.d.ts +5 -1
- package/dist/types/components/page/myApprovals/components/operationsTable/ApprovalsOperationsTable.d.ts +4 -1
- package/dist/types/components/page/myApprovals/components/operationsTable/tableHelpers.d.ts +1 -1
- package/dist/types/components/sections/planningsCompleted/PlanningsCompletedSection.d.ts +6 -3
- package/dist/types/components/sections/planningsCompleted/components/CompletedDocsTable.d.ts +5 -2
- package/dist/types/components/sections/planningsCompleted/components/completedDocsTableHelpers.d.ts +2 -2
- package/dist/types/components/sections/planningsIncoming/PlanningsIncomingSection.d.ts +5 -1
- package/dist/types/components/sections/planningsIncoming/components/IncomingDocsTable.d.ts +4 -1
- package/dist/types/components/sections/planningsIncoming/components/incomingDocTableHelpers.d.ts +1 -1
- package/dist/types/components/sections/planningsOngoing/components/OngoingDocsTable.d.ts +2 -1
- package/dist/types/components/services/maaparandusSearchApi.d.ts +39 -0
- package/dist/types/components/services/my_views_api_client/api.d.ts +6 -0
- package/dist/types/components/util/redirect-utils.d.ts +1 -0
- package/dist/types/indexExport.d.ts +0 -1
- package/dist/types/redux/reducers/detailSearchSlice.d.ts +0 -6
- package/dist/types/redux/reducers/detailSearchState.d.ts +0 -7
- package/dist/types/redux/reducers/myApprovals/approvalThunks/getToCommentOperations.d.ts +1 -0
- package/dist/types/redux/reducers/myPlannings/planningThunks/downloadDocument.d.ts +11 -0
- package/dist/types/redux/reducers/rootReducer.d.ts +0 -1
- package/package.json +1 -1
- package/dist/types/components/page/detailsearch/filter/BuildingsDetailSearchFilter.d.ts +0 -10
- package/dist/types/components/page/detailsearch/filter/BuildingsDetailSearchFilter.test.d.ts +0 -1
- package/dist/types/components/page/detailsearch/filter/DetailSearchFilterService.d.ts +0 -14
- package/dist/types/components/page/detailsearch/filter/DocumentsDetailSearchFilter.d.ts +0 -9
- package/dist/types/components/page/detailsearch/filter/DocumentsDetailSearchFilter.test.d.ts +0 -1
- package/dist/types/components/page/detailsearch/filter/ProceedingsDetailSearchFilter.d.ts +0 -6
- package/dist/types/components/page/detailsearch/tables/DetailSearchBuildings.d.ts +0 -9
- package/dist/types/components/page/detailsearch/tables/DetailSearchBuildings.test.d.ts +0 -1
- package/dist/types/components/page/detailsearch/tables/DetailSearchDocuments.d.ts +0 -12
- package/dist/types/components/page/detailsearch/tables/DetailSearchDocuments.test.d.ts +0 -1
- package/dist/types/components/page/detailsearch/tables/DetailSearchProceedings.d.ts +0 -9
- package/dist/types/components/page/detailsearch/tables/DetailSearchProceedings.test.d.ts +0 -1
- package/dist/types/components/page/detailsearch/tables/detailSearchHelper.d.ts +0 -2
- package/dist/types/components/page/detailsearch/tables/linkGenMock.d.ts +0 -2
- package/dist/types/components/page/detailsearch/types/BuildingsDetailSearchFilterType.d.ts +0 -16
- package/dist/types/components/page/detailsearch/types/DocumentsDetailSearchFilterType.d.ts +0 -13
- package/dist/types/components/page/detailsearch/types/ProceedingsDetailSearchFilterType.d.ts +0 -10
- package/dist/types/components/page/search/SearchPage.d.ts +0 -3
- package/dist/types/components/page/search/components/SearchFilterButtons.d.ts +0 -3
- package/dist/types/components/sections/BuildingSearchSection/BuildingSearchSection.d.ts +0 -3
- package/dist/types/components/sections/DocumentsSearchSection/DocumentsSearchSection.d.ts +0 -3
- package/dist/types/components/sections/PlanningsSearchSection/PlanningSearchSection.d.ts +0 -3
- /package/dist/types/components/{page/detailsearch/detailsearch.test.d.ts → common/services/invitationCommentService.test.d.ts} +0 -0
|
@@ -21,3 +21,4 @@ export declare enum RedirectType {
|
|
|
21
21
|
export type LinkGen = (redirect: any, event: any, type: any, path: any, state?: any) => string | void;
|
|
22
22
|
export declare const redirectWithType: (type: string, path: string, history: any, isExternal: boolean, isNewWindow?: boolean, state?: any) => void;
|
|
23
23
|
export declare const linkGen: (type: string, path: string, history: any, isExternal: boolean, isNewWindow?: boolean, state?: any) => string | undefined;
|
|
24
|
+
export declare const getProceedingRedirectType: (doty: string | undefined) => RedirectType.Proceeding | RedirectType.NotFound;
|
|
@@ -7,7 +7,6 @@ export { default as MyCoordinationsPage } from './components/page/myCoordination
|
|
|
7
7
|
export { default as MyApprovalsPage } from './components/page/myApprovals/TediWrappedMyApprovalsPage';
|
|
8
8
|
export { default as MyOpinions } from './components/page/myopinions/myopinions';
|
|
9
9
|
export { default as MyInvolvements } from './components/page/myinvolvements/myinvolvements';
|
|
10
|
-
export { default as DetailSearch } from './components/page/detailsearch/detailsearch';
|
|
11
10
|
export { default as filterReducer } from './redux/reducers/filterSlice';
|
|
12
11
|
export { default as documentsReducer } from './redux/reducers/documentsSlice';
|
|
13
12
|
export { default as proceedingsReducer } from './redux/reducers/proceedingsSlice';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BSearchOResponseArray } from '../../components/services/buildings_actual_data_api_client';
|
|
2
|
-
import { DocDetail, ProceedingDetail } from '../../components/services/my_views_api_client';
|
|
3
|
-
import { DetailSearchState } from './detailSearchState';
|
|
4
|
-
export declare const buildingsLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<BSearchOResponseArray[], "detailSearch/buildingsLoaded">, documentsLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<DocDetail[], "detailSearch/documentsLoaded">, proceedingsLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<ProceedingDetail[], "detailSearch/proceedingsLoaded">;
|
|
5
|
-
declare const _default: import("@reduxjs/toolkit").Reducer<DetailSearchState>;
|
|
6
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BSearchOResponseArray } from '../../components/services/buildings_actual_data_api_client';
|
|
2
|
-
import { DocDetail, ProceedingDetail } from '../../components/services/my_views_api_client';
|
|
3
|
-
export interface DetailSearchState {
|
|
4
|
-
buildings: BSearchOResponseArray[];
|
|
5
|
-
documents: DocDetail[];
|
|
6
|
-
proceedings: ProceedingDetail[];
|
|
7
|
-
}
|
|
@@ -2,6 +2,7 @@ import { UserInfo } from '../../../../components/services/user_api_client/api';
|
|
|
2
2
|
import { MyOperationDto } from '../../../../components/services/my_views_api_client';
|
|
3
3
|
declare const getToCommentOperations: import("@reduxjs/toolkit").AsyncThunk<void | MyOperationDto[], {
|
|
4
4
|
userInfo: UserInfo;
|
|
5
|
+
showAll?: boolean | undefined;
|
|
5
6
|
}, {
|
|
6
7
|
state?: unknown;
|
|
7
8
|
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const downloadDocument: import("@reduxjs/toolkit").AsyncThunk<void, number, {
|
|
2
|
+
state?: unknown;
|
|
3
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
4
|
+
extra?: unknown;
|
|
5
|
+
rejectValue?: unknown;
|
|
6
|
+
serializedErrorType?: unknown;
|
|
7
|
+
pendingMeta?: unknown;
|
|
8
|
+
fulfilledMeta?: unknown;
|
|
9
|
+
rejectedMeta?: unknown;
|
|
10
|
+
}>;
|
|
11
|
+
export default downloadDocument;
|
|
@@ -3,7 +3,6 @@ declare const rootReducer: import("@reduxjs/toolkit").Reducer<import("@reduxjs/t
|
|
|
3
3
|
myDocuments: import("./documentsState").DocumentsState;
|
|
4
4
|
myProceedings: import("./proceedingsState").ProceedingState;
|
|
5
5
|
myOperations: import("./myOperationsState").MyOperationsState;
|
|
6
|
-
detailSearch: import("./detailSearchState").DetailSearchState;
|
|
7
6
|
notifications: {
|
|
8
7
|
notices: import("../../components/common/components/notifications/NotifificationMessagesWithValues").NotificationMessageWithValues[];
|
|
9
8
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PeopleDto } from '../../../services/user_api_client';
|
|
3
|
-
interface Props {
|
|
4
|
-
onSubmit: (filter: any) => void;
|
|
5
|
-
isAdminPlusRole: boolean;
|
|
6
|
-
isAdminRole: boolean;
|
|
7
|
-
callSearchPerson: (input: string, xRoad: boolean, isPrivate?: boolean) => Promise<PeopleDto | undefined>;
|
|
8
|
-
}
|
|
9
|
-
declare const BuildingsDetailSearchFilter: (props: Props) => JSX.Element;
|
|
10
|
-
export default BuildingsDetailSearchFilter;
|
package/dist/types/components/page/detailsearch/filter/BuildingsDetailSearchFilter.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Classifier } from '../../../services/document_api_client';
|
|
2
|
-
import { MultiselectTypeOption } from '../../../common/types/MultiselectTypeOption';
|
|
3
|
-
import { FileType } from '../../../services/classifier_api_client';
|
|
4
|
-
export declare function buildHierarchyBuildingStates(isAdminRole: any): MultiselectTypeOption[];
|
|
5
|
-
export declare function buildHierarchyBuildingTypes(): MultiselectTypeOption[];
|
|
6
|
-
export declare function buildHierarchyHeritageTypes(heritages: Classifier[]): MultiselectTypeOption[];
|
|
7
|
-
export declare const ownershipTypes: {
|
|
8
|
-
code: string;
|
|
9
|
-
value: string;
|
|
10
|
-
}[];
|
|
11
|
-
export declare function buildHierarchyOwnershipTypes(): MultiselectTypeOption[];
|
|
12
|
-
export declare function buildHierarchyDocumentStates(): MultiselectTypeOption[];
|
|
13
|
-
export declare function getParsedKAOSData(data: FileType[]): MultiselectTypeOption[];
|
|
14
|
-
export declare function buildMultiSelectKaos(values: MultiselectTypeOption[]): string[];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PeopleDto } from '../../../services/user_api_client';
|
|
3
|
-
interface Props {
|
|
4
|
-
onSubmit: (filterState: any) => void;
|
|
5
|
-
callSearchPerson: (input: string, xRoad: boolean) => Promise<PeopleDto | undefined>;
|
|
6
|
-
isNonAuthenticatedUser: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const DocumentsDetailSearchFilter: React.FC<Props>;
|
|
9
|
-
export default DocumentsDetailSearchFilter;
|
package/dist/types/components/page/detailsearch/filter/DocumentsDetailSearchFilter.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface Props {
|
|
3
|
-
linkGen: (event: any, type: string, path: string) => void;
|
|
4
|
-
generateLink: (type: string, path: string, history: any, isExternal: boolean, isNewWindow?: boolean, state?: any) => string;
|
|
5
|
-
isAdminRole: boolean;
|
|
6
|
-
isAdminPlusRole: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const DetailSearchBuildings: (props: Props) => JSX.Element;
|
|
9
|
-
export default DetailSearchBuildings;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
-
import { DocDetail, DocumentSearchDto } from '../../../services/my_views_api_client';
|
|
4
|
-
interface Props {
|
|
5
|
-
linkGen: (event: any, type: string, path: string, state?: any) => void;
|
|
6
|
-
generateLink: (type: string, path: string, history: any, isExternal: boolean, isNewWindow?: boolean, state?: any) => string;
|
|
7
|
-
userInfo: GlobalUserInfo | undefined;
|
|
8
|
-
filterStateDocumentsSearch: DocumentSearchDto;
|
|
9
|
-
}
|
|
10
|
-
export declare function setLinkGenType(value: DocDetail): "PROCEEDING" | "ADMIN_PROCEEDING";
|
|
11
|
-
declare const DetailSearchDocuments: (props: Props) => JSX.Element;
|
|
12
|
-
export default DetailSearchDocuments;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
-
interface Props {
|
|
4
|
-
linkGen: (event: any, type: string, path: string) => void;
|
|
5
|
-
generateLink: (type: string, path: string, history: any, isExternal: boolean, isNewWindow?: boolean, state?: any) => string;
|
|
6
|
-
userInfo: GlobalUserInfo | undefined;
|
|
7
|
-
}
|
|
8
|
-
declare const DetailSearchProceedings: (props: Props) => JSX.Element;
|
|
9
|
-
export default DetailSearchProceedings;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface BuildingsDetailSearchFilterType {
|
|
2
|
-
buildingLocation: string;
|
|
3
|
-
buildingName: string;
|
|
4
|
-
buildingStates: string[];
|
|
5
|
-
firstUseDate: {
|
|
6
|
-
from: string;
|
|
7
|
-
to: string;
|
|
8
|
-
};
|
|
9
|
-
firstUseMissing: boolean;
|
|
10
|
-
buildingType: string[];
|
|
11
|
-
purposeOfUse: string[];
|
|
12
|
-
ownershipType: string[];
|
|
13
|
-
owner: string | undefined;
|
|
14
|
-
isPrivatePerson: boolean;
|
|
15
|
-
searchType: string;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface DocumentsDetailSearchFilterType {
|
|
2
|
-
buildingLocation: string;
|
|
3
|
-
buildingName: string;
|
|
4
|
-
institutions: string[];
|
|
5
|
-
documentDate: {
|
|
6
|
-
from: string;
|
|
7
|
-
to: string;
|
|
8
|
-
};
|
|
9
|
-
documentType: string[];
|
|
10
|
-
documentNr: string;
|
|
11
|
-
documentState: string[];
|
|
12
|
-
connectedPerson: number | undefined;
|
|
13
|
-
}
|