eehitus-my-task-list-ui 1.2.6 → 1.3.2
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/705.index.cjs.js +2 -0
- package/dist/705.index.cjs.js.LICENSE.txt +6 -0
- package/dist/705.index.esm.js +2 -0
- package/dist/705.index.esm.js.LICENSE.txt +6 -0
- package/dist/705.index.umd.js +2 -0
- package/dist/705.index.umd.js.LICENSE.txt +6 -0
- package/dist/index.cjs.js +74 -1
- package/dist/index.cjs.js.LICENSE.txt +50 -0
- package/dist/index.esm.js +74 -1
- package/dist/index.esm.js.LICENSE.txt +50 -0
- package/dist/index.umd.js +74 -1
- package/dist/index.umd.js.LICENSE.txt +50 -0
- package/dist/l10n/eehitus-my-task-list-ui-combined_translations_et.json +1 -1
- package/dist/types/components/DemoApprovals.d.ts +2 -2
- package/dist/types/components/DemoCoordinations.d.ts +3 -0
- package/dist/types/components/DemoPlannings.d.ts +3 -0
- package/dist/types/components/common/classificators/DocumentStates.d.ts +5 -1
- package/dist/types/components/common/components/accordionSelect/AccordionSelect.d.ts +15 -0
- package/dist/types/components/common/components/icons/EhrIcon.d.ts +3 -0
- package/dist/types/components/common/components/modalWrapper/DeleteModal.d.ts +16 -0
- package/dist/types/components/common/components/modalWrapper/ModalWrapper.d.ts +27 -0
- package/dist/types/components/common/components/pageTitle/PageTitle.d.ts +6 -0
- package/dist/types/components/common/components/tediTable/TediTable.d.ts +9 -0
- package/dist/types/components/common/components/tediTable/tediTableHelpers.d.ts +3 -0
- package/dist/types/components/common/constants/Constants.d.ts +161 -11
- package/dist/types/components/common/constants/planningDotyConsts.d.ts +21 -0
- package/dist/types/components/common/stateServices/DocumentStateService.d.ts +5 -3
- package/dist/types/components/common/stateServices/OperationStateService.d.ts +11 -7
- package/dist/types/components/common/stateServices/ProceedingStateService.d.ts +8 -4
- package/dist/types/components/common/table/IconWithText.d.ts +7 -0
- package/dist/types/components/common/table/TableRowButtons.d.ts +17 -0
- package/dist/types/components/common/table/tableButtonsHelpers.d.ts +17 -0
- package/dist/types/components/page/detailsearch/tables/detailSearchHelper.d.ts +1 -1
- package/dist/types/components/page/myApprovals/MyApprovalsPage.d.ts +9 -0
- package/dist/types/components/page/myApprovals/TediWrappedMyApprovalsPage.d.ts +3 -0
- package/dist/types/components/page/myApprovals/components/ApprovalsAllAssignedSection.d.ts +3 -0
- package/dist/types/components/page/myApprovals/components/ApprovalsIncomingSection.d.ts +3 -0
- package/dist/types/components/page/myApprovals/components/ApprovalsOngoingSection.d.ts +3 -0
- package/dist/types/components/page/myApprovals/components/ApprovalsToCommentSection.d.ts +3 -0
- package/dist/types/components/page/myApprovals/components/operationsTable/ApprovalsOperationsTable.d.ts +4 -0
- package/dist/types/components/page/myApprovals/components/operationsTable/tableHelpers.d.ts +6 -0
- package/dist/types/components/page/{myapprovals/myapprovals.d.ts → myCoordinations/MyCoordinationsPage.d.ts} +3 -3
- package/dist/types/components/page/myPlannings/MyPlanningsPage.d.ts +9 -0
- package/dist/types/components/page/myPlannings/TediWrappedMyPlanningsPage.d.ts +3 -0
- package/dist/types/components/page/myPlannings/components/AddExistingPlanningButton.d.ts +6 -0
- package/dist/types/components/page/myPlannings/components/AddNewPlanningButton.d.ts +6 -0
- package/dist/types/components/page/myPlannings/util/helper.d.ts +4 -0
- package/dist/types/components/page/myproceedings/proceedingTable/MyProceedingsTable.d.ts +4 -2
- package/dist/types/components/page/myproceedings/proceedingTable/cells/AddressCell.d.ts +6 -0
- package/dist/types/components/page/myproceedings/proceedingTable/cells/BuildingNameCell.d.ts +6 -0
- package/dist/types/components/page/myproceedings/proceedingTable/cells/DeadlineCell.d.ts +6 -0
- package/dist/types/components/page/myproceedings/proceedingTable/cells/DocumentLinkCell.d.ts +7 -0
- package/dist/types/components/page/myproceedings/proceedingTable/cells/EhrCodeCell.d.ts +7 -0
- package/dist/types/components/page/myproceedings/proceedingTable/cells/InnerCommentDeadlineCell.d.ts +6 -0
- package/dist/types/components/page/myproceedings/proceedingTable/cells/ProceedingLinkCell.d.ts +8 -0
- package/dist/types/components/page/myproceedings/proceedingTable/cells/StateCell.d.ts +6 -0
- package/dist/types/components/page/myproceedings/proceedingTable/columnMappings.d.ts +6 -0
- package/dist/types/components/page/search/SearchPage.d.ts +3 -0
- package/dist/types/components/page/search/components/SearchFilterButtons.d.ts +3 -0
- package/dist/types/components/sections/BuildingSearchSection/BuildingSearchSection.d.ts +3 -0
- package/dist/types/components/sections/DocumentsSearchSection/DocumentsSearchSection.d.ts +3 -0
- package/dist/types/components/sections/PlanningsSearchSection/PlanningSearchSection.d.ts +3 -0
- package/dist/types/components/sections/planningsCompleted/PlanningsCompletedSection.d.ts +5 -0
- package/dist/types/components/sections/planningsCompleted/components/CompletedDocsTable.d.ts +12 -0
- package/dist/types/components/sections/planningsCompleted/components/completedDocsTableHelpers.d.ts +7 -0
- package/dist/types/components/sections/planningsIncoming/PlanningsIncomingSection.d.ts +3 -0
- package/dist/types/components/sections/planningsIncoming/components/IncomingDocsTable.d.ts +11 -0
- package/dist/types/components/sections/planningsIncoming/components/incomingDocTableHelpers.d.ts +6 -0
- package/dist/types/components/sections/planningsOngoing/PlanningsOngoingSection.d.ts +7 -0
- package/dist/types/components/sections/planningsOngoing/components/OngoingDocsTable.d.ts +16 -0
- package/dist/types/components/sections/planningsOngoing/components/ongoingDocTableHelpers.d.ts +6 -0
- package/dist/types/components/sections/planningsProceedings/PlanningsProceedingsSection.d.ts +3 -0
- package/dist/types/components/sections/planningsProceedings/components/proceedingsTable/PlanningsProceedingsTable.d.ts +3 -0
- package/dist/types/components/sections/planningsProceedings/components/proceedingsTable/planningsProcTableHelpers.d.ts +6 -0
- package/dist/types/components/sections/planningsToComment/PlanningsToCommentSection.d.ts +3 -0
- package/dist/types/components/sections/planningsToComment/components/PlanningsOperationsTable.d.ts +3 -0
- package/dist/types/components/sections/planningsToComment/components/planningsOpTableHelpers.d.ts +6 -0
- package/dist/types/components/sections/planningsToSign/PlanningsToSignSection.d.ts +3 -0
- package/dist/types/components/sections/planningsToSign/components/ToSignDocsTable.d.ts +11 -0
- package/dist/types/components/sections/planningsToSign/components/toSignDocsTableHelpers.d.ts +7 -0
- package/dist/types/components/services/my_views_api_client/api.d.ts +929 -246
- package/dist/types/components/services/my_views_api_client/base.d.ts +2 -14
- package/dist/types/components/services/my_views_api_client/configuration.d.ts +0 -8
- package/dist/types/components/util/TranslationUtils.d.ts +7 -0
- package/dist/types/components/util/link-utils.d.ts +2 -2
- package/dist/types/components/util/redirect-utils.d.ts +5 -2
- package/dist/types/contexts/NavigationContext.d.ts +21 -0
- package/dist/types/hooks/useIsBreakpoint/useIsBreakpoint.d.ts +3 -0
- package/dist/types/indexExport.d.ts +3 -1
- package/dist/types/redux/api/index.d.ts +2 -1
- package/dist/types/redux/{documentThunks → reducers/documentThunks}/createDocument.d.ts +1 -1
- package/dist/types/redux/reducers/documentsSlice.d.ts +10 -0
- package/dist/types/redux/reducers/myApprovals/approvalThunks/getAllApprovalsData.d.ts +14 -0
- package/dist/types/redux/reducers/myApprovals/approvalThunks/getAllAssignedOperations.d.ts +15 -0
- package/dist/types/redux/reducers/myApprovals/approvalThunks/getApprovalInvitations.d.ts +15 -0
- package/dist/types/redux/reducers/myApprovals/approvalThunks/getOperations.d.ts +15 -0
- package/dist/types/redux/reducers/myApprovals/approvalThunks/getToCommentOperations.d.ts +15 -0
- package/dist/types/redux/reducers/myApprovals/myApprovalsSlice.d.ts +23 -0
- package/dist/types/redux/reducers/myApprovals/types.d.ts +20 -0
- package/dist/types/redux/reducers/myPlannings/myPlanningsSlice.d.ts +35 -0
- package/dist/types/redux/reducers/myPlannings/planningThunks/deleteDocument.d.ts +14 -0
- package/dist/types/redux/reducers/myPlannings/planningThunks/getAllPlanningsData.d.ts +14 -0
- package/dist/types/redux/reducers/myPlannings/planningThunks/getFinishedDocuments.d.ts +15 -0
- package/dist/types/redux/reducers/myPlannings/planningThunks/getIncomingDocuments.d.ts +15 -0
- package/dist/types/redux/reducers/myPlannings/planningThunks/getProceedings.d.ts +15 -0
- package/dist/types/redux/reducers/myPlannings/planningThunks/getSigningDocuments.d.ts +15 -0
- package/dist/types/redux/reducers/myPlannings/planningThunks/getToCommentOperations.d.ts +15 -0
- package/dist/types/redux/reducers/myPlannings/planningThunks/getWorkingDocuments.d.ts +18 -0
- package/dist/types/redux/reducers/myPlannings/types.d.ts +46 -0
- package/dist/types/redux/reducers/proceedingThunks/getMyProceedings.d.ts +22 -0
- package/dist/types/redux/reducers/proceedingsSlice.d.ts +39 -3
- package/dist/types/redux/reducers/proceedingsState.d.ts +16 -2
- package/dist/types/redux/reducers/rootReducer.d.ts +2 -0
- package/package.json +8 -5
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
|
-
import type { AxiosInstance,
|
|
13
|
+
import type { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
29
29
|
*/
|
|
30
30
|
export interface RequestArgs {
|
|
31
31
|
url: string;
|
|
32
|
-
options:
|
|
32
|
+
options: AxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -52,15 +52,3 @@ export declare class RequiredError extends Error {
|
|
|
52
52
|
field: string;
|
|
53
53
|
constructor(field: string, msg?: string);
|
|
54
54
|
}
|
|
55
|
-
interface ServerMap {
|
|
56
|
-
[key: string]: {
|
|
57
|
-
url: string;
|
|
58
|
-
description: string;
|
|
59
|
-
}[];
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
|
-
export declare const operationServerMap: ServerMap;
|
|
66
|
-
export {};
|
|
@@ -15,7 +15,6 @@ export interface ConfigurationParameters {
|
|
|
15
15
|
password?: string;
|
|
16
16
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
17
|
basePath?: string;
|
|
18
|
-
serverIndex?: number;
|
|
19
18
|
baseOptions?: any;
|
|
20
19
|
formDataCtor?: new () => any;
|
|
21
20
|
}
|
|
@@ -54,13 +53,6 @@ export declare class Configuration {
|
|
|
54
53
|
* @memberof Configuration
|
|
55
54
|
*/
|
|
56
55
|
basePath?: string;
|
|
57
|
-
/**
|
|
58
|
-
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
|
-
*/
|
|
63
|
-
serverIndex?: number;
|
|
64
56
|
/**
|
|
65
57
|
* base options for axios calls
|
|
66
58
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare enum RedirectType {
|
|
2
2
|
Document = "DOCUMENT",
|
|
3
3
|
Proceeding = "PROCEEDING",
|
|
4
|
-
|
|
5
|
-
AdminOperation = "ADMIN_OPERATION",
|
|
4
|
+
PlanningProceeding = "PLANNING_PROCEEDING",
|
|
6
5
|
ProceedingDecision = "PROCEEDING_DECISION",
|
|
7
6
|
Operation = "OPERATION",
|
|
8
7
|
MyDocuments = "MY_DOCUMENTS",
|
|
9
8
|
MyProceedings = "MY_PROCEEDINGS",
|
|
9
|
+
MyPlannings = "MY_PLANNINGS",
|
|
10
10
|
MyAdministrativeProceedings = "MY_ADMIN_PROCEEDINGS",
|
|
11
11
|
Building = "BUILDING",
|
|
12
12
|
NewEnergy = "NEW_ENERGY",
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export declare enum RedirectType {
|
|
2
2
|
Document = "DOCUMENT",
|
|
3
3
|
Proceeding = "PROCEEDING",
|
|
4
|
-
AdminProceeding = "ADMIN_PROCEEDING",
|
|
5
4
|
ProceedingDecision = "PROCEEDING_DECISION",
|
|
6
5
|
Operation = "OPERATION",
|
|
7
6
|
MyDocuments = "MY_DOCUMENTS",
|
|
8
7
|
MyProceedings = "MY_PROCEEDINGS",
|
|
8
|
+
MyPlannings = "MY_PLANNINGS",
|
|
9
|
+
Planning = "PLANNING",
|
|
9
10
|
MyAdministrativeProceedings = "MY_ADMIN_PROCEEDINGS",
|
|
10
11
|
Building = "BUILDING",
|
|
11
12
|
NewEnergy = "NEW_ENERGY",
|
|
@@ -13,7 +14,9 @@ export declare enum RedirectType {
|
|
|
13
14
|
ArchiveBuildingDatasOf2003 = "ARCHIVE_BUILDINGDATAASOF2003",
|
|
14
15
|
ArchiveBuildingDatasOf2014 = "ARCHIVE_BUILDINGDATAASOF2014",
|
|
15
16
|
Restriction = "RESTRICTION",
|
|
16
|
-
NotFound = "404"
|
|
17
|
+
NotFound = "404",
|
|
18
|
+
AdminProceeding = "ADMIN_PROCEEDING",
|
|
19
|
+
PlanningProceeding = "PLANNING_PROCEEDING"
|
|
17
20
|
}
|
|
18
21
|
export type LinkGen = (redirect: any, event: any, type: any, path: any, state?: any) => string | void;
|
|
19
22
|
export declare const redirectWithType: (type: string, path: string, history: any, isExternal: boolean, isNewWindow?: boolean, state?: any) => void;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type LinkGen = (event?: any, type?: any, path?: any, state?: any, isNewWindow?: boolean) => void;
|
|
3
|
+
export declare enum ExternalNotificationType {
|
|
4
|
+
Success = "success",
|
|
5
|
+
Warinng = "warning",
|
|
6
|
+
Error = "error"
|
|
7
|
+
}
|
|
8
|
+
export interface ExternalNotification {
|
|
9
|
+
id?: number;
|
|
10
|
+
header: string;
|
|
11
|
+
body?: string;
|
|
12
|
+
bodyComponent?: JSX.Element;
|
|
13
|
+
messageCode?: string;
|
|
14
|
+
theme: ExternalNotificationType;
|
|
15
|
+
timer?: number;
|
|
16
|
+
}
|
|
17
|
+
export declare const NavigationContext: import("react").Context<{
|
|
18
|
+
linkGen: LinkGen;
|
|
19
|
+
returnData?: any;
|
|
20
|
+
pushExternalNotification?: ((message: ExternalNotification) => void) | undefined;
|
|
21
|
+
}>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import rootReducer from './redux/reducers/rootReducer';
|
|
2
2
|
export { default as MyAdministrativeProceedings } from './components/page/myAdministrativeProceedings/MyAdministrativeProceedings';
|
|
3
|
+
export { default as MyPlanningsPage } from './components/page/myPlannings/TediWrappedMyPlanningsPage';
|
|
3
4
|
export { default as MyDocuments } from './components/page/mydocuments/mydocuments';
|
|
4
5
|
export { default as MyProceedings } from './components/page/myproceedings/myproceedings';
|
|
5
|
-
export { default as
|
|
6
|
+
export { default as MyCoordinationsPage } from './components/page/myCoordinations/MyCoordinationsPage';
|
|
7
|
+
export { default as MyApprovalsPage } from './components/page/myApprovals/TediWrappedMyApprovalsPage';
|
|
6
8
|
export { default as MyOpinions } from './components/page/myopinions/myopinions';
|
|
7
9
|
export { default as MyInvolvements } from './components/page/myinvolvements/myinvolvements';
|
|
8
10
|
export { default as DetailSearch } from './components/page/detailsearch/detailsearch';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassifierApiEndpointApi } from '../../components/services/classifier_api_client';
|
|
2
2
|
import { PersonApiEndpointApi, UserApiEndpointApi, InstitutionKovEndpointApi } from '../../components/services/user_api_client';
|
|
3
|
-
import { MyProceedingsApi, BaseMyDocumentsApi } from '../../components/services/my_views_api_client';
|
|
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';
|
|
6
6
|
import { YldApi } from '../../components/services/yld_esi_api_client';
|
|
@@ -18,6 +18,7 @@ export declare const api: {
|
|
|
18
18
|
personApiService: PersonApiEndpointApi;
|
|
19
19
|
userApiService: UserApiEndpointApi;
|
|
20
20
|
myDocumentBaseApiService: BaseMyDocumentsApi;
|
|
21
|
+
myOperationsApiService: MyOperationsApi;
|
|
21
22
|
documentApiService: ApplicationApiEndpointApi;
|
|
22
23
|
fileApiService: CommonFileUploadControllerApi;
|
|
23
24
|
frontPageApi: YldApi;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddEntityDto, ApplicationDto } from '
|
|
1
|
+
import { AddEntityDto, ApplicationDto } from '../../../components/services/document_api_client';
|
|
2
2
|
declare const createDocument: import("@reduxjs/toolkit").AsyncThunk<ApplicationDto | undefined, {
|
|
3
3
|
addEntityDto: AddEntityDto;
|
|
4
4
|
successCallback?: ((document: ApplicationDto) => void) | undefined;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { Classifier } from '../../components/services/document_api_client';
|
|
2
2
|
import { BaseMyDocument } from '../../components/services/my_views_api_client';
|
|
3
3
|
import { DocumentsState } from './documentsState';
|
|
4
|
+
export declare const workingDocumentsSelector: ((state: any) => any) & import("reselect").OutputSelectorFields<(args_0: any) => any, {
|
|
5
|
+
clearCache: () => void;
|
|
6
|
+
}> & {
|
|
7
|
+
clearCache: () => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const finishedDocumentsSelector: ((state: any) => any) & import("reselect").OutputSelectorFields<(args_0: any) => any, {
|
|
10
|
+
clearCache: () => void;
|
|
11
|
+
}> & {
|
|
12
|
+
clearCache: () => void;
|
|
13
|
+
};
|
|
4
14
|
export declare const workingDocumentsLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<BaseMyDocument[], "documents/workingDocumentsLoaded">, signingDocumentsLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<BaseMyDocument[], "documents/signingDocumentsLoaded">, finishedDocumentsLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<BaseMyDocument[], "documents/finishedDocumentsLoaded">, deleteDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "documents/deleteDocument">, allowedDocumentTypesLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<Classifier[], "documents/allowedDocumentTypesLoaded">;
|
|
5
15
|
declare const _default: import("@reduxjs/toolkit").Reducer<DocumentsState>;
|
|
6
16
|
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client';
|
|
2
|
+
declare const getAllApprovalsData: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
3
|
+
userInfo: UserInfo;
|
|
4
|
+
}, {
|
|
5
|
+
state?: unknown;
|
|
6
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
7
|
+
extra?: unknown;
|
|
8
|
+
rejectValue?: unknown;
|
|
9
|
+
serializedErrorType?: unknown;
|
|
10
|
+
pendingMeta?: unknown;
|
|
11
|
+
fulfilledMeta?: unknown;
|
|
12
|
+
rejectedMeta?: unknown;
|
|
13
|
+
}>;
|
|
14
|
+
export default getAllApprovalsData;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client/api';
|
|
2
|
+
import { MyOperationDto } from '../../../../components/services/my_views_api_client';
|
|
3
|
+
declare const getAllAssignedOperations: import("@reduxjs/toolkit").AsyncThunk<void | MyOperationDto[], {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
}, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export default getAllAssignedOperations;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client/api';
|
|
2
|
+
import { MyOperationDto } from '../../../../components/services/my_views_api_client';
|
|
3
|
+
declare const getApprovalInvitations: import("@reduxjs/toolkit").AsyncThunk<void | MyOperationDto[], {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
}, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export default getApprovalInvitations;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client/api';
|
|
2
|
+
import { MyOperationDto } from '../../../../components/services/my_views_api_client';
|
|
3
|
+
declare const getOperations: import("@reduxjs/toolkit").AsyncThunk<void | MyOperationDto[], {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
}, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export default getOperations;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client/api';
|
|
2
|
+
import { MyOperationDto } from '../../../../components/services/my_views_api_client';
|
|
3
|
+
declare const getToCommentOperations: import("@reduxjs/toolkit").AsyncThunk<void | MyOperationDto[], {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
}, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export default getToCommentOperations;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MyApprovalsSliceState, ApprovalsData } from './types';
|
|
2
|
+
export declare const operationsDataSelector: ((state: any) => ApprovalsData) & import("reselect").OutputSelectorFields<(args_0: ApprovalsData) => ApprovalsData, {
|
|
3
|
+
clearCache: () => void;
|
|
4
|
+
}> & {
|
|
5
|
+
clearCache: () => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const allAssignedOperationsDataSelector: ((state: any) => ApprovalsData) & import("reselect").OutputSelectorFields<(args_0: ApprovalsData) => ApprovalsData, {
|
|
8
|
+
clearCache: () => void;
|
|
9
|
+
}> & {
|
|
10
|
+
clearCache: () => void;
|
|
11
|
+
};
|
|
12
|
+
export declare const toCommentOperationsDataSelector: ((state: any) => ApprovalsData) & import("reselect").OutputSelectorFields<(args_0: ApprovalsData) => ApprovalsData, {
|
|
13
|
+
clearCache: () => void;
|
|
14
|
+
}> & {
|
|
15
|
+
clearCache: () => void;
|
|
16
|
+
};
|
|
17
|
+
export declare const approvalInvitationOperationsDataSelector: ((state: any) => ApprovalsData) & import("reselect").OutputSelectorFields<(args_0: ApprovalsData) => ApprovalsData, {
|
|
18
|
+
clearCache: () => void;
|
|
19
|
+
}> & {
|
|
20
|
+
clearCache: () => void;
|
|
21
|
+
};
|
|
22
|
+
declare const _default: import("@reduxjs/toolkit").Reducer<MyApprovalsSliceState>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MyOperationDto } from '../../../components/services/my_views_api_client';
|
|
2
|
+
export interface MyApprovalsSliceState {
|
|
3
|
+
approvalOperations: MyOperationDto[];
|
|
4
|
+
approvalOperationsLoading: boolean;
|
|
5
|
+
approvalOperationsError: boolean;
|
|
6
|
+
approvalAllAssignedOperations: MyOperationDto[];
|
|
7
|
+
approvalAllAssignedOperationsLoading: boolean;
|
|
8
|
+
approvalAllAssignedOperationsError: boolean;
|
|
9
|
+
approvalCommentOperations: MyOperationDto[];
|
|
10
|
+
approvalCommentOperationsLoading: boolean;
|
|
11
|
+
approvalCommentOperationsError: boolean;
|
|
12
|
+
approvalInvitationOperations: MyOperationDto[];
|
|
13
|
+
approvalInvitationOperationsLoading: boolean;
|
|
14
|
+
approvalInvitationOperationsError: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface ApprovalsData {
|
|
17
|
+
operations: MyOperationDto[];
|
|
18
|
+
isLoading: boolean;
|
|
19
|
+
isError: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PaginationState, SortingState } from '@tanstack/react-table';
|
|
2
|
+
import { DocumentsData, MyPlanningSliceState, PaginatedDocumentsData, PlanningOperationsData, PlanningProceedingsData } from './types';
|
|
3
|
+
export declare const planningProceedingsDataSelector: ((state: any) => PlanningProceedingsData) & import("reselect").OutputSelectorFields<(args_0: PlanningProceedingsData) => PlanningProceedingsData, {
|
|
4
|
+
clearCache: () => void;
|
|
5
|
+
}> & {
|
|
6
|
+
clearCache: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const signingDocumentsDataSelector: ((state: any) => DocumentsData) & import("reselect").OutputSelectorFields<(args_0: DocumentsData) => DocumentsData, {
|
|
9
|
+
clearCache: () => void;
|
|
10
|
+
}> & {
|
|
11
|
+
clearCache: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const toCommentOperationsDataSelector: ((state: any) => PlanningOperationsData) & import("reselect").OutputSelectorFields<(args_0: PlanningOperationsData) => PlanningOperationsData, {
|
|
14
|
+
clearCache: () => void;
|
|
15
|
+
}> & {
|
|
16
|
+
clearCache: () => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const incomingDocumentsDataSelector: ((state: any) => DocumentsData) & import("reselect").OutputSelectorFields<(args_0: DocumentsData) => DocumentsData, {
|
|
19
|
+
clearCache: () => void;
|
|
20
|
+
}> & {
|
|
21
|
+
clearCache: () => void;
|
|
22
|
+
};
|
|
23
|
+
export declare const ongoingDocumentsDataSelector: ((state: any) => PaginatedDocumentsData) & import("reselect").OutputSelectorFields<(args_0: PaginatedDocumentsData) => PaginatedDocumentsData, {
|
|
24
|
+
clearCache: () => void;
|
|
25
|
+
}> & {
|
|
26
|
+
clearCache: () => void;
|
|
27
|
+
};
|
|
28
|
+
export declare const finishedDocumentsDataSelector: ((state: any) => DocumentsData) & import("reselect").OutputSelectorFields<(args_0: DocumentsData) => DocumentsData, {
|
|
29
|
+
clearCache: () => void;
|
|
30
|
+
}> & {
|
|
31
|
+
clearCache: () => void;
|
|
32
|
+
};
|
|
33
|
+
export declare const updateOngoingDocumentsPagination: import("@reduxjs/toolkit").ActionCreatorWithPayload<PaginationState, "myPlannings/updateOngoingDocumentsPagination">, updateOngoingDocumentsSorting: import("@reduxjs/toolkit").ActionCreatorWithPayload<SortingState, "myPlannings/updateOngoingDocumentsSorting">, deleteOngoingDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "myPlannings/deleteOngoingDocument">;
|
|
34
|
+
declare const _default: import("@reduxjs/toolkit").Reducer<MyPlanningSliceState>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const deleteDocument: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
2
|
+
documentNrFull: string;
|
|
3
|
+
successCallback?: (() => void) | undefined;
|
|
4
|
+
}, {
|
|
5
|
+
state?: unknown;
|
|
6
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
7
|
+
extra?: unknown;
|
|
8
|
+
rejectValue?: unknown;
|
|
9
|
+
serializedErrorType?: unknown;
|
|
10
|
+
pendingMeta?: unknown;
|
|
11
|
+
fulfilledMeta?: unknown;
|
|
12
|
+
rejectedMeta?: unknown;
|
|
13
|
+
}>;
|
|
14
|
+
export default deleteDocument;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client';
|
|
2
|
+
declare const getAllPlanningsData: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
3
|
+
userInfo: UserInfo;
|
|
4
|
+
}, {
|
|
5
|
+
state?: unknown;
|
|
6
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
7
|
+
extra?: unknown;
|
|
8
|
+
rejectValue?: unknown;
|
|
9
|
+
serializedErrorType?: unknown;
|
|
10
|
+
pendingMeta?: unknown;
|
|
11
|
+
fulfilledMeta?: unknown;
|
|
12
|
+
rejectedMeta?: unknown;
|
|
13
|
+
}>;
|
|
14
|
+
export default getAllPlanningsData;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client';
|
|
2
|
+
import { BaseMyDocument } from '../../../../components/services/my_views_api_client';
|
|
3
|
+
declare const getCompletedDocuments: import("@reduxjs/toolkit").AsyncThunk<void | BaseMyDocument[], {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
}, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export default getCompletedDocuments;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client';
|
|
2
|
+
import { BaseMyDocument } from '../../../../components/services/my_views_api_client';
|
|
3
|
+
declare const getIncomingDocuments: import("@reduxjs/toolkit").AsyncThunk<BaseMyDocument[], {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
}, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export default getIncomingDocuments;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client/api';
|
|
2
|
+
import { MyPlanningProceedingDto } from '../../../../components/services/my_views_api_client';
|
|
3
|
+
declare const getPlanningsProceedings: import("@reduxjs/toolkit").AsyncThunk<void | MyPlanningProceedingDto[], {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
}, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export default getPlanningsProceedings;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client';
|
|
2
|
+
import { BaseMyDocument } from '../../../../components/services/my_views_api_client';
|
|
3
|
+
declare const getSigningDocuments: import("@reduxjs/toolkit").AsyncThunk<BaseMyDocument[], {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
}, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export default getSigningDocuments;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserInfo } from '../../../../components/services/user_api_client/api';
|
|
2
|
+
import { MyOperationDto } from '../../../../components/services/my_views_api_client';
|
|
3
|
+
declare const getToCommentOperations: import("@reduxjs/toolkit").AsyncThunk<void | MyOperationDto[], {
|
|
4
|
+
userInfo: UserInfo;
|
|
5
|
+
}, {
|
|
6
|
+
state?: unknown;
|
|
7
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
8
|
+
extra?: unknown;
|
|
9
|
+
rejectValue?: unknown;
|
|
10
|
+
serializedErrorType?: unknown;
|
|
11
|
+
pendingMeta?: unknown;
|
|
12
|
+
fulfilledMeta?: unknown;
|
|
13
|
+
rejectedMeta?: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
export default getToCommentOperations;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PaginationState, SortingState } from '@tanstack/react-table';
|
|
2
|
+
import { UserInfo } from '../../../../components/services/user_api_client';
|
|
3
|
+
import { PageBaseMyDocument } from '../../../../components/services/my_views_api_client';
|
|
4
|
+
declare const getOngoingDocuments: import("@reduxjs/toolkit").AsyncThunk<PageBaseMyDocument, {
|
|
5
|
+
userInfo: UserInfo;
|
|
6
|
+
pagination?: Partial<PaginationState> | undefined;
|
|
7
|
+
sorting?: SortingState | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
state?: unknown;
|
|
10
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
11
|
+
extra?: unknown;
|
|
12
|
+
rejectValue?: unknown;
|
|
13
|
+
serializedErrorType?: unknown;
|
|
14
|
+
pendingMeta?: unknown;
|
|
15
|
+
fulfilledMeta?: unknown;
|
|
16
|
+
rejectedMeta?: unknown;
|
|
17
|
+
}>;
|
|
18
|
+
export default getOngoingDocuments;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PaginationState, SortingState } from '@tanstack/react-table';
|
|
2
|
+
import { BaseMyDocument, MyOperationDto, MyProceedingsDto, PageBaseMyDocument } from '../../../components/services/my_views_api_client';
|
|
3
|
+
export interface MyPlanningSliceState {
|
|
4
|
+
planningProceedings: MyProceedingsDto[];
|
|
5
|
+
planningProceedingsLoading: boolean;
|
|
6
|
+
planningProceedingsError: boolean;
|
|
7
|
+
signingDocuments: BaseMyDocument[];
|
|
8
|
+
signingDocumentsLoading: boolean;
|
|
9
|
+
signingDocumentsError: boolean;
|
|
10
|
+
proceedingCommentOperations: MyOperationDto[];
|
|
11
|
+
proceedingCommentOperationsLoading: boolean;
|
|
12
|
+
proceedingCommentOperationsError: boolean;
|
|
13
|
+
incomingDocuments: BaseMyDocument[];
|
|
14
|
+
incomingDocumentsLoading: boolean;
|
|
15
|
+
incomingDocumentsError: boolean;
|
|
16
|
+
ongoingDocuments: PageBaseMyDocument;
|
|
17
|
+
ongoingDocumentsLoading: boolean;
|
|
18
|
+
ongoingDocumentsError: boolean;
|
|
19
|
+
ongoingDocumentsPagination: PaginationState;
|
|
20
|
+
ongoingDocumentsSorting: SortingState;
|
|
21
|
+
finishedDocuments: BaseMyDocument[];
|
|
22
|
+
finishedDocumentsLoading: boolean;
|
|
23
|
+
finishedDocumentsError: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface PlanningProceedingsData {
|
|
26
|
+
proceedings: MyProceedingsDto[];
|
|
27
|
+
isLoading: boolean;
|
|
28
|
+
isError: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface PlanningOperationsData {
|
|
31
|
+
operations: MyOperationDto[];
|
|
32
|
+
isLoading: boolean;
|
|
33
|
+
isError: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface DocumentsData {
|
|
36
|
+
documents: BaseMyDocument[];
|
|
37
|
+
isLoading: boolean;
|
|
38
|
+
isError: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface PaginatedDocumentsData {
|
|
41
|
+
documents: PageBaseMyDocument;
|
|
42
|
+
isLoading: boolean;
|
|
43
|
+
isError: boolean;
|
|
44
|
+
pagination: PaginationState;
|
|
45
|
+
sorting: SortingState;
|
|
46
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
2
|
+
import { PageMyProceedingsDto } from '../../../components/services/my_views_api_client';
|
|
3
|
+
import { ProceedingsFilterType } from '../../../components/page/myproceedings/types/ProceedingsFilterType';
|
|
4
|
+
import { ProceedingsPagination, ProceedingsSorting } from '../proceedingsState';
|
|
5
|
+
interface GetMyProceedingsParams {
|
|
6
|
+
userInfo: GlobalUserInfo;
|
|
7
|
+
pagination?: Partial<ProceedingsPagination>;
|
|
8
|
+
sorting?: ProceedingsSorting;
|
|
9
|
+
filter?: ProceedingsFilterType;
|
|
10
|
+
isAllUsersChecked?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const getMyProceedings: import("@reduxjs/toolkit").AsyncThunk<PageMyProceedingsDto, GetMyProceedingsParams, {
|
|
13
|
+
state?: unknown;
|
|
14
|
+
dispatch?: import("@reduxjs/toolkit").Dispatch<import("@reduxjs/toolkit").AnyAction> | undefined;
|
|
15
|
+
extra?: unknown;
|
|
16
|
+
rejectValue?: unknown;
|
|
17
|
+
serializedErrorType?: unknown;
|
|
18
|
+
pendingMeta?: unknown;
|
|
19
|
+
fulfilledMeta?: unknown;
|
|
20
|
+
rejectedMeta?: unknown;
|
|
21
|
+
}>;
|
|
22
|
+
export default getMyProceedings;
|
|
@@ -1,5 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { BaseMyDocument, MyOperationDto, PageMyProceedingsDto } from '../../components/services/my_views_api_client';
|
|
3
|
+
import { ProceedingState, ProceedingsPagination, ProceedingsSorting } from './proceedingsState';
|
|
4
|
+
import { ProceedingsFilterType } from '../../components/page/myproceedings/types/ProceedingsFilterType';
|
|
5
|
+
export declare const myProceedingsDataSelector: ((state: any) => {
|
|
6
|
+
proceedings: any;
|
|
7
|
+
isLoading: any;
|
|
8
|
+
isError: any;
|
|
9
|
+
pagination: any;
|
|
10
|
+
sorting: any;
|
|
11
|
+
filter: any;
|
|
12
|
+
}) & import("reselect").OutputSelectorFields<(args_0: {
|
|
13
|
+
proceedings: any;
|
|
14
|
+
isLoading: any;
|
|
15
|
+
isError: any;
|
|
16
|
+
pagination: any;
|
|
17
|
+
sorting: any;
|
|
18
|
+
filter: any;
|
|
19
|
+
}) => {
|
|
20
|
+
proceedings: any;
|
|
21
|
+
isLoading: any;
|
|
22
|
+
isError: any;
|
|
23
|
+
pagination: any;
|
|
24
|
+
sorting: any;
|
|
25
|
+
filter: any;
|
|
26
|
+
}, {
|
|
27
|
+
clearCache: () => void;
|
|
28
|
+
}> & {
|
|
29
|
+
clearCache: () => void;
|
|
30
|
+
};
|
|
31
|
+
export declare const updateMyProceedingsPagination: import("@reduxjs/toolkit").ActionCreatorWithPayload<ProceedingsPagination, "proceedings/updateMyProceedingsPagination">, updateMyProceedingsSorting: import("@reduxjs/toolkit").ActionCreatorWithPayload<ProceedingsSorting, "proceedings/updateMyProceedingsSorting">, updateMyProceedingsFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<ProceedingsFilterType, "proceedings/updateMyProceedingsFilter">, proceedingsToCommentLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<MyOperationDto[], "proceedings/proceedingsToCommentLoaded">, incomingDocumentsLoaded: import("@reduxjs/toolkit").ActionCreatorWithPayload<BaseMyDocument[], "proceedings/incomingDocumentsLoaded">;
|
|
32
|
+
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
33
|
+
myProceedingsLoaded: (state: import("immer/dist/internal.js").WritableDraft<ProceedingState>, action: PayloadAction<PageMyProceedingsDto>) => void;
|
|
34
|
+
updateMyProceedingsPagination: (state: import("immer/dist/internal.js").WritableDraft<ProceedingState>, action: PayloadAction<ProceedingsPagination>) => void;
|
|
35
|
+
updateMyProceedingsSorting: (state: import("immer/dist/internal.js").WritableDraft<ProceedingState>, action: PayloadAction<ProceedingsSorting>) => void;
|
|
36
|
+
updateMyProceedingsFilter: (state: import("immer/dist/internal.js").WritableDraft<ProceedingState>, action: PayloadAction<ProceedingsFilterType>) => void;
|
|
37
|
+
proceedingsToCommentLoaded: (state: import("immer/dist/internal.js").WritableDraft<ProceedingState>, action: PayloadAction<MyOperationDto[]>) => void;
|
|
38
|
+
incomingDocumentsLoaded: (state: import("immer/dist/internal.js").WritableDraft<ProceedingState>, action: PayloadAction<BaseMyDocument[]>) => void;
|
|
39
|
+
}, "proceedings">;
|
|
4
40
|
declare const _default: import("@reduxjs/toolkit").Reducer<ProceedingState>;
|
|
5
41
|
export default _default;
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import { BaseMyDocument, MyOperationDto,
|
|
1
|
+
import { BaseMyDocument, MyOperationDto, PageMyProceedingsDto } from '../../components/services/my_views_api_client';
|
|
2
|
+
import { ProceedingsFilterType } from '../../components/page/myproceedings/types/ProceedingsFilterType';
|
|
3
|
+
export interface ProceedingsPagination {
|
|
4
|
+
page: number;
|
|
5
|
+
size: number;
|
|
6
|
+
}
|
|
7
|
+
export interface ProceedingsSorting {
|
|
8
|
+
field: string;
|
|
9
|
+
desc: boolean;
|
|
10
|
+
}
|
|
2
11
|
export interface ProceedingState {
|
|
3
|
-
myProceedings:
|
|
12
|
+
myProceedings: PageMyProceedingsDto;
|
|
13
|
+
myProceedingsLoading: boolean;
|
|
14
|
+
myProceedingsError: boolean;
|
|
15
|
+
myProceedingsPagination: ProceedingsPagination;
|
|
16
|
+
myProceedingsSorting: ProceedingsSorting;
|
|
17
|
+
myProceedingsFilter: ProceedingsFilterType;
|
|
4
18
|
proceedingsToComment: MyOperationDto[];
|
|
5
19
|
incomingDocuments: BaseMyDocument[];
|
|
6
20
|
}
|
|
@@ -7,5 +7,7 @@ declare const rootReducer: import("@reduxjs/toolkit").Reducer<import("@reduxjs/t
|
|
|
7
7
|
notifications: {
|
|
8
8
|
notices: import("../../components/common/components/notifications/NotifificationMessagesWithValues").NotificationMessageWithValues[];
|
|
9
9
|
};
|
|
10
|
+
myPlannings: import("./myPlannings/types").MyPlanningSliceState;
|
|
11
|
+
myApprovals: import("./myApprovals/types").MyApprovalsSliceState;
|
|
10
12
|
}>, import("@reduxjs/toolkit").AnyAction>;
|
|
11
13
|
export default rootReducer;
|