eehitus-my-task-list-ui 0.6.5
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/README.md +41 -0
- package/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.LICENSE.txt +9 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.LICENSE.txt +9 -0
- package/dist/index.umd.js +2 -0
- package/dist/index.umd.js.LICENSE.txt +9 -0
- package/dist/l10n/eehitus-my-proceeding-ui-combined_translations_en.json +1 -0
- package/dist/l10n/eehitus-my-proceeding-ui-combined_translations_et.json +1 -0
- package/dist/l10n/eehitus-my-proceeding-ui-combined_translations_ru.json +1 -0
- package/dist/types/App.d.ts +5 -0
- package/dist/types/Reducer.d.ts +2 -0
- package/dist/types/__mocks__/fileMock.d.ts +2 -0
- package/dist/types/components/Demo.d.ts +3 -0
- package/dist/types/components/DemoAdministrativeProceedings.d.ts +3 -0
- package/dist/types/components/DemoApprovals.d.ts +3 -0
- package/dist/types/components/DemoDetailSearch.d.ts +3 -0
- package/dist/types/components/DemoDocuments.d.ts +3 -0
- package/dist/types/components/DemoInvolvements.d.ts +3 -0
- package/dist/types/components/DemoOpinions.d.ts +3 -0
- package/dist/types/components/DemoProceedings.d.ts +3 -0
- package/dist/types/components/common/AddressesService.d.ts +5 -0
- package/dist/types/components/common/CommonServices.d.ts +5 -0
- package/dist/types/components/common/TableService.d.ts +18 -0
- package/dist/types/components/common/classificators/BuildingStates.d.ts +9 -0
- package/dist/types/components/common/classificators/DocumentStates.d.ts +25 -0
- package/dist/types/components/common/classificators/OperationStates.d.ts +34 -0
- package/dist/types/components/common/classificators/ProceedingStates.d.ts +9 -0
- package/dist/types/components/common/components/DateRangeExtended.d.ts +14 -0
- package/dist/types/components/common/components/DeletePopoverExtended.d.ts +12 -0
- package/dist/types/components/common/components/DeleteTableRow.d.ts +7 -0
- package/dist/types/components/common/components/DownloadTableRow.d.ts +9 -0
- package/dist/types/components/common/components/LinkWithDarkTooltip.d.ts +9 -0
- package/dist/types/components/common/components/LinkWithTooltip.d.ts +7 -0
- package/dist/types/components/common/components/Phone.d.ts +13 -0
- package/dist/types/components/common/components/TableSortingArrows.d.ts +6 -0
- package/dist/types/components/common/components/operation/filter/OperationsFilter.d.ts +10 -0
- package/dist/types/components/common/components/operation/filter/OperationsFilterService.d.ts +10 -0
- package/dist/types/components/common/components/operation/operationsTable/OperationsTable.d.ts +11 -0
- package/dist/types/components/common/components/operation/types/OperationsFilterType.d.ts +18 -0
- package/dist/types/components/common/components/personalCodeValidator.d.ts +2 -0
- package/dist/types/components/common/components/tablecomponent/TableComponentUtils.d.ts +2 -0
- package/dist/types/components/common/constants/Constants.d.ts +72 -0
- package/dist/types/components/common/filterService/CommonFilterService.d.ts +6 -0
- package/dist/types/components/common/stateServices/BuildingStateService.d.ts +9 -0
- package/dist/types/components/common/stateServices/DocumentStateService.d.ts +6 -0
- package/dist/types/components/common/stateServices/OperationStateService.d.ts +25 -0
- package/dist/types/components/common/stateServices/ProceedingStateService.d.ts +9 -0
- package/dist/types/components/common/types/MultiselectTypeOption.d.ts +9 -0
- package/dist/types/components/dto/MyDocuments.d.ts +40 -0
- package/dist/types/components/form/checkBox.d.ts +2 -0
- package/dist/types/components/model/StatusTypes.d.ts +15 -0
- package/dist/types/components/page/detailsearch/detailsearch.d.ts +14 -0
- package/dist/types/components/page/detailsearch/detailsearch.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/filter/BuildingsDetailSearchFilter.d.ts +10 -0
- package/dist/types/components/page/detailsearch/filter/BuildingsDetailSearchFilter.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/filter/DetailSearchFilterService.d.ts +12 -0
- package/dist/types/components/page/detailsearch/filter/DocumentsDetailSearchFilter.d.ts +9 -0
- package/dist/types/components/page/detailsearch/filter/DocumentsDetailSearchFilter.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/filter/ProceedingsDetailSearchFilter.d.ts +6 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchBuildings.d.ts +9 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchBuildings.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchDocuments.d.ts +12 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchDocuments.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchProceedings.d.ts +11 -0
- package/dist/types/components/page/detailsearch/tables/DetailSearchProceedings.test.d.ts +1 -0
- package/dist/types/components/page/detailsearch/tables/linkGenMock.d.ts +2 -0
- package/dist/types/components/page/detailsearch/types/BuildingsDetailSearchFilterType.d.ts +16 -0
- package/dist/types/components/page/detailsearch/types/DocumentsDetailSearchFilterType.d.ts +13 -0
- package/dist/types/components/page/detailsearch/types/ProceedingsDetailSearchFilterType.d.ts +10 -0
- package/dist/types/components/page/myAdministrativeProceedings/AdministrativeProceedingsTable.d.ts +8 -0
- package/dist/types/components/page/myAdministrativeProceedings/MyAdministrativeProceedings.d.ts +8 -0
- package/dist/types/components/page/myAdministrativeProceedings/components/AdminProceedingsReminderSection.d.ts +6 -0
- package/dist/types/components/page/myAdministrativeProceedings/components/AdminProceedingsSection.d.ts +7 -0
- package/dist/types/components/page/myapprovals/myapprovals.d.ts +11 -0
- package/dist/types/components/page/mydocuments/common/AddNewDocumentButton.d.ts +5 -0
- package/dist/types/components/page/mydocuments/common/FinishedDocDotys.d.ts +1 -0
- package/dist/types/components/page/mydocuments/common/SigningDocDocys.d.ts +1 -0
- package/dist/types/components/page/mydocuments/common/WorkingDocDotys.d.ts +1 -0
- package/dist/types/components/page/mydocuments/documentTable/DocumentTableMoreActionsPopover.d.ts +8 -0
- package/dist/types/components/page/mydocuments/documentTable/DocumentsTable.d.ts +17 -0
- package/dist/types/components/page/mydocuments/filter/DocumentsFilter.d.ts +10 -0
- package/dist/types/components/page/mydocuments/filter/DocumentsFilterService.d.ts +5 -0
- package/dist/types/components/page/mydocuments/filter/FilterDocumentStatesBasedOnDocTypes.d.ts +9 -0
- package/dist/types/components/page/mydocuments/filter/FilterDocumentTypes.d.ts +1 -0
- package/dist/types/components/page/mydocuments/mydocuments.d.ts +8 -0
- package/dist/types/components/page/mydocuments/types/DocumentsFilterType.d.ts +17 -0
- package/dist/types/components/page/myinvolvements/filter/InvolvementsFilter.d.ts +8 -0
- package/dist/types/components/page/myinvolvements/myinvolvements.d.ts +11 -0
- package/dist/types/components/page/myopinions/myopinions.d.ts +11 -0
- package/dist/types/components/page/myproceedings/filter/ProceedingsFilter.d.ts +9 -0
- package/dist/types/components/page/myproceedings/filter/ProceedingsFilterService.d.ts +12 -0
- package/dist/types/components/page/myproceedings/myproceedings.d.ts +12 -0
- package/dist/types/components/page/myproceedings/proceedingTable/MyProceedingsTable.d.ts +11 -0
- package/dist/types/components/page/myproceedings/types/ProceedingsFilterType.d.ts +17 -0
- package/dist/types/components/services/buildings_actual_data_api_client/api.d.ts +8403 -0
- package/dist/types/components/services/buildings_actual_data_api_client/base.d.ts +55 -0
- package/dist/types/components/services/buildings_actual_data_api_client/common.d.ts +65 -0
- package/dist/types/components/services/buildings_actual_data_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/buildings_actual_data_api_client/index.d.ts +13 -0
- package/dist/types/components/services/classifier_api_client/api.d.ts +499 -0
- package/dist/types/components/services/classifier_api_client/base.d.ts +55 -0
- package/dist/types/components/services/classifier_api_client/common.d.ts +65 -0
- package/dist/types/components/services/classifier_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/classifier_api_client/index.d.ts +13 -0
- package/dist/types/components/services/document_api_client/api.d.ts +8727 -0
- package/dist/types/components/services/document_api_client/base.d.ts +55 -0
- package/dist/types/components/services/document_api_client/common.d.ts +65 -0
- package/dist/types/components/services/document_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/document_api_client/index.d.ts +13 -0
- package/dist/types/components/services/file_api_client/api.d.ts +782 -0
- package/dist/types/components/services/file_api_client/base.d.ts +55 -0
- package/dist/types/components/services/file_api_client/common.d.ts +65 -0
- package/dist/types/components/services/file_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/file_api_client/index.d.ts +13 -0
- package/dist/types/components/services/my_views_api_client/api.d.ts +1806 -0
- package/dist/types/components/services/my_views_api_client/base.d.ts +66 -0
- package/dist/types/components/services/my_views_api_client/common.d.ts +65 -0
- package/dist/types/components/services/my_views_api_client/configuration.d.ts +91 -0
- package/dist/types/components/services/my_views_api_client/index.d.ts +13 -0
- package/dist/types/components/services/user_api_client/api.d.ts +4706 -0
- package/dist/types/components/services/user_api_client/base.d.ts +54 -0
- package/dist/types/components/services/user_api_client/common.d.ts +65 -0
- package/dist/types/components/services/user_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/user_api_client/index.d.ts +13 -0
- package/dist/types/components/services/yld_esi_api_client/api.d.ts +401 -0
- package/dist/types/components/services/yld_esi_api_client/base.d.ts +54 -0
- package/dist/types/components/services/yld_esi_api_client/common.d.ts +65 -0
- package/dist/types/components/services/yld_esi_api_client/configuration.d.ts +83 -0
- package/dist/types/components/services/yld_esi_api_client/index.d.ts +13 -0
- package/dist/types/components/util/DateFormatUtils.d.ts +12 -0
- package/dist/types/components/util/link-utils.d.ts +18 -0
- package/dist/types/components/util/redirect-utils.d.ts +19 -0
- package/dist/types/hooks/useAreaProceedings.d.ts +8 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/indexExport.d.ts +13 -0
- package/dist/types/mocks/kaosClassifierMock.d.ts +20 -0
- package/dist/types/rbac-rules.d.ts +57 -0
- package/dist/types/redux/actions/parametersAction.d.ts +4 -0
- package/dist/types/redux/api/index.d.ts +25 -0
- package/dist/types/redux/constants/action.d.ts +2 -0
- package/dist/types/redux/middleware/middleware.d.ts +4 -0
- package/dist/types/redux/parametersService.d.ts +5 -0
- package/dist/types/redux/reducers/detailSearchSlice.d.ts +6 -0
- package/dist/types/redux/reducers/detailSearchState.d.ts +7 -0
- package/dist/types/redux/reducers/documentsSlice.d.ts +6 -0
- package/dist/types/redux/reducers/documentsState.d.ts +8 -0
- package/dist/types/redux/reducers/filterSlice.d.ts +8 -0
- package/dist/types/redux/reducers/filterState.d.ts +11 -0
- package/dist/types/redux/reducers/myOperationsSlice.d.ts +5 -0
- package/dist/types/redux/reducers/myOperationsState.d.ts +6 -0
- package/dist/types/redux/reducers/parametersReducer.d.ts +2 -0
- package/dist/types/redux/reducers/proceedingsSlice.d.ts +5 -0
- package/dist/types/redux/reducers/proceedingsState.d.ts +6 -0
- package/dist/types/redux/reducers/reducer.d.ts +4 -0
- package/dist/types/redux/reducers/rootReducer.d.ts +9 -0
- package/dist/types/redux/store.d.ts +2 -0
- package/dist/types/redux/types/parameters.d.ts +3 -0
- package/dist/types/serviceWorker.d.ts +2 -0
- package/dist/types/setupTests.d.ts +2 -0
- package/package.json +256 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export declare const SIGNING_DOCUMENTS = "SIGNING_DOCUMENTS";
|
|
2
|
+
export declare const WORKING_DOCUMENTS = "WORKING_DOCUMENTS";
|
|
3
|
+
export declare const FINISHED_DOCUMENTS = "FINISHED_DOCUMENTS";
|
|
4
|
+
export declare const INCOMING_DOCUMENTS = "INCOMING_DOCUMENTS";
|
|
5
|
+
export declare const MY_APPROVALS = "MY_APPROVALS";
|
|
6
|
+
export declare const APPROVALS_TO_COMMENT = "APPROVALS_TO_COMMENT";
|
|
7
|
+
export declare const APPROVAL_INVITATIONS = "APPROVAL_INVITATIONS";
|
|
8
|
+
export declare const MY_OPINIONS = "MY_OPINIONS";
|
|
9
|
+
export declare const OPINIONS_TO_COMMENT = "OPINIONS_TO_COMMENT";
|
|
10
|
+
export declare const OPINION_INVITATIONS = "OPINION_INVITATIONS";
|
|
11
|
+
export declare const MY_INVOLVEMENTS = "MY_INVOLVEMENTS";
|
|
12
|
+
export declare const MY_OPERATIONS = "MY_OPERATIONS";
|
|
13
|
+
export declare const OPERATIONS_TO_COMMENT = "OPERATIONS_TO_COMMENT";
|
|
14
|
+
export declare const OPERATION_INVITATIONS = "OPERATION_INVITATIONS";
|
|
15
|
+
export declare const PROCEEDINGS_TO_COMMENT = "PROCEEDINGS_TO_COMMENT";
|
|
16
|
+
export declare const BUILDINGS_SEARCH = "BUILDINGS_SEARCH";
|
|
17
|
+
export declare const DOCUMENTS_SEARCH = "DOCUMENTS_SEARCH";
|
|
18
|
+
export declare const PROCEEDINGS_SEARCH = "PROCEEDINGS_SEARCH";
|
|
19
|
+
export declare const MENTOIMSEIS_OOTEL = "MENTOIMSEIS_OOTEL";
|
|
20
|
+
export declare const MENTOIMSEIS_TEOSTAMISEL = "MENTOIMSEIS_TEOSTAMISEL";
|
|
21
|
+
export declare const MENTOIMSEIS_TEOSTATUD = "MENTOIMSEIS_TEOSTATUD";
|
|
22
|
+
export declare const MENTOIMSEIS_LOOBUTUD = "MENTOIMSEIS_LOOBUTUD";
|
|
23
|
+
export declare const MENTOIMSEIS_TYHISTATUD = "MENTOIMSEIS_TYHISTATUD";
|
|
24
|
+
export declare const MENTOIMSEIS_VALMIS = "MENTOIMSEIS_VALMIS";
|
|
25
|
+
export declare const MENTOIMSEIS_JATKAMINE = "MENTOIMSEIS_JATKAMINE";
|
|
26
|
+
export declare const MENTOIMSEIS_KEELDUTUD = "MENTOIMSEIS_KEELDUTUD";
|
|
27
|
+
export declare const MENTOIMSEIS_TAGASI_LYKATUD = "MENTOIMSEIS_TAGASI_LYKATUD";
|
|
28
|
+
export declare enum STATUSTYPES {
|
|
29
|
+
DEFAULT = "default",
|
|
30
|
+
INFO = "info",
|
|
31
|
+
SUCCESS = "success",
|
|
32
|
+
WARNING = "warning",
|
|
33
|
+
DANGER = "danger"
|
|
34
|
+
}
|
|
35
|
+
export declare const BUILDING = "BUILDING";
|
|
36
|
+
export declare const PROCEEDING = "PROCEEDING";
|
|
37
|
+
export declare const DOCUMENT = "DOCUMENT";
|
|
38
|
+
export declare const ADMIN_PROCEEDING = "ADMIN_PROCEEDING";
|
|
39
|
+
export declare enum BusinessType {
|
|
40
|
+
KOV = "KOV",
|
|
41
|
+
MKM = "MKM",
|
|
42
|
+
A = "A",
|
|
43
|
+
N = "N",
|
|
44
|
+
KT = "KT",
|
|
45
|
+
JUR = "JUR",
|
|
46
|
+
AMAS = "AMAS",
|
|
47
|
+
TJA = "TJA"
|
|
48
|
+
}
|
|
49
|
+
export declare const DO_DOKU_ISIK_ROLL_ALLAK = "DO_DOKU_ISIK_ROLL_ALLAK";
|
|
50
|
+
export declare enum MENTOIMLIIK {
|
|
51
|
+
MENTOIMLIIK_AUTO_REG = "MENTOIMLIIK_AUTO_REG",
|
|
52
|
+
MENTOIMLIIK_KAASAMINE = "MENTOIMLIIK_KAASAMINE",
|
|
53
|
+
MENTOIMLIIK_MASSKAASAMINE = "MENTOIMLIIK_MASSKAASAMINE",
|
|
54
|
+
MENTOIMLIIK_YKSIKKAASAMINE = "MENTOIMLIIK_YKSIKKAASAMINE",
|
|
55
|
+
MENTOIMLIIK_ARVAMUS = "MENTOIMLIIK_ARVAMUS",
|
|
56
|
+
MENTOIMLIIK_VALINE_KOOSK = "MENTOIMLIIK_VALINE_KOOSK",
|
|
57
|
+
MENTOIMLIIK_SISENE_KOOSK = "MENTOIMLIIK_SISENE_KOOSK",
|
|
58
|
+
MENTOIMLIIK_KOOSK = "MENTOIMLIIK_KOOSK",
|
|
59
|
+
MENTOIMLIIK_MARKUS_TAIEND = "MENTOIMLIIK_MARKUS_TAIEND",
|
|
60
|
+
MENTOIMLIIK_MEN_MARKUS = "MENTOIMLIIK_MEN_MARKUS",
|
|
61
|
+
MENTOIMLIIK_EHIT_KK_RING = "MENTOIMLIIK_EHIT_KK_RING",
|
|
62
|
+
MENTOIMLIIK_ADS = "MENTOIMLIIK_ADS",
|
|
63
|
+
MENTOIMLIIK_ADS_SAADA = "MENTOIMLIIK_ADS_SAADA",
|
|
64
|
+
MENTOIMLIIK_ADS_ESIT = "MENTOIMLIIK_ADS_ESIT",
|
|
65
|
+
MENTOIMLIIK_AVALIK = "MENTOIMLIIK_AVALIK",
|
|
66
|
+
MENTOIMLIIK_AVALIK_TAGASISIDE = "MENTOIMLIIK_AVALIK_TAGASISIDE",
|
|
67
|
+
MENTOIMLIIK_RAHV_KAASAMINE = "MENTOIMLIIK_RAHV_KAASAMINE",
|
|
68
|
+
MENTOIMLIIK_KAAS_TAGASISIDE = "MENTOIMLIIK_KAAS_TAGASISIDE",
|
|
69
|
+
MENTOIMLIIK_ALLKIRJASTAMINE = "MENTOIMLIIK_ALLKIRJASTAMINE",
|
|
70
|
+
MENTOIMLIIK_KMH_PR = "MENTOIMLIIK_KMH_PR",
|
|
71
|
+
MENTOIMLIIK_KMH_AR = "MENTOIMLIIK_KMH_AR"
|
|
72
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DocumentType } from '../../services/classifier_api_client';
|
|
2
|
+
import { MultiselectTypeOption } from '../types/MultiselectTypeOption';
|
|
3
|
+
import { JurPersonDto, UserDto } from '../../services/user_api_client';
|
|
4
|
+
export declare function getParsedDocumentTypes(data: DocumentType[]): MultiselectTypeOption[];
|
|
5
|
+
export declare function getParsedInstitutionUsers(data: UserDto[]): MultiselectTypeOption[];
|
|
6
|
+
export declare function getParsedInstitutions(data: JurPersonDto[]): MultiselectTypeOption[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function getBuildingStateClassificatorCode(statusFromApi: string): string | undefined;
|
|
2
|
+
export declare function getBuildingStateClassificatorStatus(status: string): {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function convertApiBuildingState(statusFromApi: string): {
|
|
7
|
+
name: string;
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare function getOperationStateClassificatorCode(statusFromApi: string): string | undefined;
|
|
2
|
+
export declare const statusColorByOperationState: {
|
|
3
|
+
MENTOIMSEIS_OOTEL: string;
|
|
4
|
+
MENTOIMSEIS_TEOSTAMISEL: string;
|
|
5
|
+
MENTOIMSEIS_TYHISTATUD: string;
|
|
6
|
+
MENTOIMSEIS_TEOSTATUD: string;
|
|
7
|
+
MENTOIMSEIS_LOOBUTUD: string;
|
|
8
|
+
MENTOIMSEIS_TAHTAEG_MOODUNUD: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const statesByOperationState: {
|
|
11
|
+
MENTOIMSEIS_OOTEL: string;
|
|
12
|
+
MENTOIMSEIS_TEOSTAMISEL: string;
|
|
13
|
+
MENTOIMSEIS_TYHISTATUD: string;
|
|
14
|
+
MENTOIMSEIS_TEOSTATUD: string;
|
|
15
|
+
MENTOIMSEIS_LOOBUTUD: string;
|
|
16
|
+
MENTOIMSEIS_TAHTAEG_MOODUNUD: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const getOperationStatus: (operationState: any, intl: any) => {
|
|
19
|
+
state: string;
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
export declare function convertApiOperationState(statusFromApi: string, intl: any): {
|
|
23
|
+
state: string;
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function getProceedingStateClassificatorCode(statusFromApi: string): string | undefined;
|
|
2
|
+
export declare function getProceedingStateClassificatorStatus(status: string): {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function convertApiProceedingState(statusFromApi: string): {
|
|
7
|
+
name: string;
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface MyDocuments {
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @type {Array<Document>}
|
|
5
|
+
* @memberof MyDocuments
|
|
6
|
+
*/
|
|
7
|
+
myWorkingDocuments?: Document[];
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @type {Array<Document>}
|
|
11
|
+
* @memberof MyDocuments
|
|
12
|
+
*/
|
|
13
|
+
myIncomingDocuments?: Document[];
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {Array<Document>}
|
|
17
|
+
* @memberof MyDocuments
|
|
18
|
+
*/
|
|
19
|
+
myFinishedDocuments?: Document[];
|
|
20
|
+
}
|
|
21
|
+
export interface Document {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof Document
|
|
26
|
+
*/
|
|
27
|
+
docNr?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof Document
|
|
32
|
+
*/
|
|
33
|
+
anesId?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof Document
|
|
38
|
+
*/
|
|
39
|
+
start?: Date;
|
|
40
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const FINALIZED: string;
|
|
2
|
+
export declare const RETURNED_FOR_CORRECTIONS: string;
|
|
3
|
+
export declare const MENSEIS_KAIMASOLEV: string;
|
|
4
|
+
export declare const NOT_SUBMITTED: string;
|
|
5
|
+
export declare const SUBMITTED: string;
|
|
6
|
+
export declare const ON_GOING: string;
|
|
7
|
+
export declare const DONE: string;
|
|
8
|
+
export declare const DECLINED: string;
|
|
9
|
+
export declare const RETURNED_WO_REVIEW: string;
|
|
10
|
+
export declare const SUBMITTED_FOR_CORRECTIONS: string;
|
|
11
|
+
export declare const statusBlue: string[];
|
|
12
|
+
export declare const statusYellow: string[];
|
|
13
|
+
export declare const statusRed: string[];
|
|
14
|
+
export declare const statusGreen: string[];
|
|
15
|
+
export declare const statusGrey: string[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
interface Props {
|
|
4
|
+
userInfo: GlobalUserInfo | undefined;
|
|
5
|
+
classifierApiEndpoint: string;
|
|
6
|
+
userApiEndpoint: string;
|
|
7
|
+
myViewsApiEndpoint: string;
|
|
8
|
+
buildingsActualDataApiEndpoint: string;
|
|
9
|
+
linkGen: (event: any, type: string, path: string, state?: any) => void;
|
|
10
|
+
generateLink: (type: string, path: string, history: any, isExternal: boolean, isNewWindow?: boolean, state?: any) => string;
|
|
11
|
+
searchType: string;
|
|
12
|
+
}
|
|
13
|
+
declare const DetailSearch: ({ buildingsActualDataApiEndpoint, classifierApiEndpoint, linkGen, generateLink, myViewsApiEndpoint, searchType, userApiEndpoint, userInfo, }: Props) => JSX.Element;
|
|
14
|
+
export default DetailSearch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MultiselectTypeOption } from '../../../common/types/MultiselectTypeOption';
|
|
2
|
+
import { FileType } from '../../../services/classifier_api_client';
|
|
3
|
+
export declare function buildHierarchyBuildingStates(isAdminRole: any): MultiselectTypeOption[];
|
|
4
|
+
export declare function buildHierarchyBuildingTypes(): MultiselectTypeOption[];
|
|
5
|
+
export declare const ownershipTypes: {
|
|
6
|
+
code: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare function buildHierarchyOwnershipTypes(): MultiselectTypeOption[];
|
|
10
|
+
export declare function buildHierarchyDocumentStates(): MultiselectTypeOption[];
|
|
11
|
+
export declare function getParsedKAOSData(data: FileType[]): MultiselectTypeOption[];
|
|
12
|
+
export declare function buildMultiSelectKaos(values: MultiselectTypeOption[]): string[];
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
import { ProceedingDetail } from '../../../services/my_views_api_client';
|
|
4
|
+
interface Props {
|
|
5
|
+
linkGen: (event: any, type: string, path: string) => void;
|
|
6
|
+
generateLink: (type: string, path: string, history: any, isExternal: boolean, isNewWindow?: boolean, state?: any) => string;
|
|
7
|
+
userInfo: GlobalUserInfo | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare function setLinkGenType(value: ProceedingDetail): "PROCEEDING" | "ADMIN_PROCEEDING";
|
|
10
|
+
declare const DetailSearchProceedings: (props: Props) => JSX.Element;
|
|
11
|
+
export default DetailSearchProceedings;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
package/dist/types/components/page/myAdministrativeProceedings/AdministrativeProceedingsTable.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MyProceedingsDto } from '../../services/my_views_api_client';
|
|
3
|
+
interface AdministrativeProceedingsTableProps {
|
|
4
|
+
proceedings: MyProceedingsDto[];
|
|
5
|
+
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
6
|
+
}
|
|
7
|
+
declare const AdministrativeProceedingsTable: ({ proceedings, linkGen, }: AdministrativeProceedingsTableProps) => JSX.Element;
|
|
8
|
+
export default AdministrativeProceedingsTable;
|
package/dist/types/components/page/myAdministrativeProceedings/MyAdministrativeProceedings.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
interface MyAdministrativeProceedingsProps {
|
|
4
|
+
userInfo: GlobalUserInfo;
|
|
5
|
+
linkGen: (redirect: any, event: any, type: any, path: any, state?: any) => string | undefined;
|
|
6
|
+
}
|
|
7
|
+
declare const MyAdministrativeProceedings: ({ userInfo, linkGen, }: MyAdministrativeProceedingsProps) => JSX.Element;
|
|
8
|
+
export default MyAdministrativeProceedings;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
declare const AdminProceedingsSection: ({ userInfo, linkGen, }: {
|
|
4
|
+
userInfo: GlobalUserInfo;
|
|
5
|
+
linkGen: (redirect: any, event: any, type: any, path: any, state?: any) => string | undefined;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
export default AdminProceedingsSection;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
interface MyApprovalsProps {
|
|
4
|
+
userInfo: GlobalUserInfo;
|
|
5
|
+
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
6
|
+
userApiEndpoint: string;
|
|
7
|
+
myViewsApiEndpoint: string;
|
|
8
|
+
classifierApiEndpoint: string;
|
|
9
|
+
}
|
|
10
|
+
declare const MyApprovals: ({ classifierApiEndpoint, linkGen, myViewsApiEndpoint, userApiEndpoint, userInfo: { activeRole }, }: MyApprovalsProps) => JSX.Element;
|
|
11
|
+
export default MyApprovals;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const finishedDocDotys: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const signingDocDotys: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const workingDocDotys: string[];
|
package/dist/types/components/page/mydocuments/documentTable/DocumentTableMoreActionsPopover.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface Props {
|
|
3
|
+
docNr: string;
|
|
4
|
+
proceedingNr: string;
|
|
5
|
+
linkGen: (event: any, type: any, path: any) => void;
|
|
6
|
+
documentType: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const DocumentTableMoreActionsPopover: (props: Props) => JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DocumentsFilterType } from '../types/DocumentsFilterType';
|
|
3
|
+
import { CommonFileUploadControllerApi } from '../../../services/file_api_client';
|
|
4
|
+
interface DocumentTableProps {
|
|
5
|
+
linkGen: (redirect: any, event: any, type: any, path: any) => string | undefined;
|
|
6
|
+
isKov: boolean;
|
|
7
|
+
documentType: string;
|
|
8
|
+
onAllUsersChecked?: (isChecked: boolean) => void;
|
|
9
|
+
isAllUsersChecked?: boolean;
|
|
10
|
+
filter: DocumentsFilterType;
|
|
11
|
+
onDocumentDelete?: (docNr: string) => void;
|
|
12
|
+
fileApi: CommonFileUploadControllerApi;
|
|
13
|
+
hidePresenter?: boolean;
|
|
14
|
+
linkProceeding?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const DocumentsTable: (props: DocumentTableProps) => JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DocumentsFilterType } from '../types/DocumentsFilterType';
|
|
3
|
+
interface Props {
|
|
4
|
+
documentType: string;
|
|
5
|
+
filterState: DocumentsFilterType;
|
|
6
|
+
onSubmit: (filterState: any) => void;
|
|
7
|
+
isKov: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const DocumentsFilter: React.FC<Props>;
|
|
10
|
+
export default DocumentsFilter;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MultiselectTypeOption } from '../../../common/types/MultiselectTypeOption';
|
|
2
|
+
import { BaseMyDocument } from '../../../services/my_views_api_client';
|
|
3
|
+
import { DocumentsFilterType } from '../types/DocumentsFilterType';
|
|
4
|
+
export declare function getParsedDocumentStates(documentType: string): MultiselectTypeOption[];
|
|
5
|
+
export declare function filterDocuments(documents: BaseMyDocument[], filter: DocumentsFilterType): BaseMyDocument[];
|
package/dist/types/components/page/mydocuments/filter/FilterDocumentStatesBasedOnDocTypes.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DOKUSEIS } from '../../../common/classificators/DocumentStates';
|
|
2
|
+
export declare const FilterDocumentStatesWorkingDocuments: {
|
|
3
|
+
code: DOKUSEIS;
|
|
4
|
+
value: string;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const FilterDocumentStatesFinishedDocuments: {
|
|
7
|
+
code: DOKUSEIS;
|
|
8
|
+
value: string;
|
|
9
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FilterDocumentTypes: string[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
interface MyDocumentsProps {
|
|
4
|
+
userInfo: GlobalUserInfo;
|
|
5
|
+
linkGen: (redirect: any, event: any, type: any, path: any, state?: any) => string | undefined;
|
|
6
|
+
}
|
|
7
|
+
declare const MyDocuments: ({ linkGen, userInfo }: MyDocumentsProps) => JSX.Element;
|
|
8
|
+
export default MyDocuments;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface DocumentsFilterType {
|
|
2
|
+
documentTypes: string[];
|
|
3
|
+
ehrCode: string;
|
|
4
|
+
buildingName: string;
|
|
5
|
+
wordInAddress: string;
|
|
6
|
+
documentNumber: string;
|
|
7
|
+
cadastralNumber: string;
|
|
8
|
+
documentStates: string[];
|
|
9
|
+
institutionUsers: string[];
|
|
10
|
+
proceedingNumber: string;
|
|
11
|
+
institutions: string[];
|
|
12
|
+
proceedingMissing: boolean;
|
|
13
|
+
documentDate: {
|
|
14
|
+
from: string;
|
|
15
|
+
to: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OperationsFilterType } from '../../../common/components/operation/types/OperationsFilterType';
|
|
3
|
+
interface Props {
|
|
4
|
+
filterState: OperationsFilterType;
|
|
5
|
+
onSubmit: (filterState: any) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const InvolvementsFilter: React.FC<Props>;
|
|
8
|
+
export default InvolvementsFilter;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
interface MyInvolvementsProps {
|
|
4
|
+
userInfo: GlobalUserInfo;
|
|
5
|
+
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
6
|
+
userApiEndpoint: string;
|
|
7
|
+
myViewsApiEndpoint: string;
|
|
8
|
+
classifierApiEndpoint: string;
|
|
9
|
+
}
|
|
10
|
+
declare const MyInvolvements: ({ classifierApiEndpoint, linkGen, myViewsApiEndpoint, userInfo, userApiEndpoint, }: MyInvolvementsProps) => JSX.Element;
|
|
11
|
+
export default MyInvolvements;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
interface MyOpinionsProps {
|
|
4
|
+
userInfo: GlobalUserInfo;
|
|
5
|
+
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
6
|
+
userApiEndpoint: string;
|
|
7
|
+
myViewsApiEndpoint: string;
|
|
8
|
+
classifierApiEndpoint: string;
|
|
9
|
+
}
|
|
10
|
+
declare const MyOpinions: ({ classifierApiEndpoint, linkGen, myViewsApiEndpoint, userApiEndpoint, userInfo: { activeRole }, }: MyOpinionsProps) => JSX.Element;
|
|
11
|
+
export default MyOpinions;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ProceedingsFilterType } from '../types/ProceedingsFilterType';
|
|
3
|
+
interface Props {
|
|
4
|
+
onSubmit: (currentFilter: any) => void;
|
|
5
|
+
isKov: boolean;
|
|
6
|
+
filterState: ProceedingsFilterType;
|
|
7
|
+
}
|
|
8
|
+
declare const ProceedingsFilter: React.FC<Props>;
|
|
9
|
+
export default ProceedingsFilter;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MultiselectTypeOption } from '../../../common/types/MultiselectTypeOption';
|
|
2
|
+
import { MyProceedingsDto } from '../../../services/my_views_api_client';
|
|
3
|
+
import { ProceedingsFilterType } from '../types/ProceedingsFilterType';
|
|
4
|
+
export declare function buildHierarchyProceedingStates(): MultiselectTypeOption[];
|
|
5
|
+
export declare function buildHierarchyOperationStates(): MultiselectTypeOption[];
|
|
6
|
+
export declare function filterProceedings(proceedings: MyProceedingsDto[], filter: ProceedingsFilterType): MyProceedingsDto[];
|
|
7
|
+
export declare function getPresetProceedingStates(): {
|
|
8
|
+
id: string;
|
|
9
|
+
}[];
|
|
10
|
+
export declare function getPresetOperationStates(): {
|
|
11
|
+
id: string;
|
|
12
|
+
}[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
interface MyProceedingProps {
|
|
4
|
+
myViewsApiEndpoint: string;
|
|
5
|
+
classifierApiEndpoint: string;
|
|
6
|
+
userApiEndpoint: string;
|
|
7
|
+
fileUploadApiEndpoint: string;
|
|
8
|
+
userInfo: GlobalUserInfo;
|
|
9
|
+
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare const MyProceedings: ({ classifierApiEndpoint, fileUploadApiEndpoint, linkGen, myViewsApiEndpoint, userInfo, userApiEndpoint, }: MyProceedingProps) => JSX.Element;
|
|
12
|
+
export default MyProceedings;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ProceedingsFilterType } from '../types/ProceedingsFilterType';
|
|
3
|
+
interface MyProceedingsProps {
|
|
4
|
+
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
5
|
+
isKov: boolean;
|
|
6
|
+
onAllUsersChecked: (isChecked: boolean) => void;
|
|
7
|
+
isAllUsersChecked: boolean;
|
|
8
|
+
filter: ProceedingsFilterType;
|
|
9
|
+
}
|
|
10
|
+
export declare const MyProceedingsTable: (props: MyProceedingsProps) => JSX.Element;
|
|
11
|
+
export {};
|