eehitus-my-task-list-ui 1.2.5 → 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/detailsearch.d.ts +2 -1
- package/dist/types/components/page/detailsearch/filter/DetailSearchFilterService.d.ts +2 -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/buildings_actual_data_api_client/api.d.ts +31 -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/filterSlice.d.ts +1 -1
- package/dist/types/redux/reducers/filterState.d.ts +1 -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
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import { IntlShape } from 'react-intl';
|
|
2
|
+
import { NewStatusTypes, StatusTypes } from '../constants/Constants';
|
|
1
3
|
export declare function getOperationStateClassificatorCode(statusFromApi: string): string | undefined;
|
|
4
|
+
export declare function getOperationStateClassificatorStatus(status: string, intl: IntlShape): {
|
|
5
|
+
name: string;
|
|
6
|
+
oldType: StatusTypes;
|
|
7
|
+
newType: NewStatusTypes;
|
|
8
|
+
};
|
|
2
9
|
export declare const statusColorByOperationState: {
|
|
3
10
|
MENTOIMSEIS_OOTEL: string;
|
|
4
11
|
MENTOIMSEIS_TEOSTAMISEL: string;
|
|
@@ -15,11 +22,8 @@ export declare const statesByOperationState: {
|
|
|
15
22
|
MENTOIMSEIS_LOOBUTUD: string;
|
|
16
23
|
MENTOIMSEIS_TAHTAEG_MOODUNUD: string;
|
|
17
24
|
};
|
|
18
|
-
export declare
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare function convertApiOperationState(statusFromApi: string, intl: any): {
|
|
23
|
-
state: string;
|
|
24
|
-
type: string;
|
|
25
|
+
export declare function convertApiOperationState(statusFromApi: string, intl: IntlShape): {
|
|
26
|
+
name: string;
|
|
27
|
+
oldType: StatusTypes;
|
|
28
|
+
newType: NewStatusTypes;
|
|
25
29
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { IntlShape } from 'react-intl';
|
|
2
|
+
import { NewStatusTypes, StatusTypes } from '../constants/Constants';
|
|
1
3
|
export declare function getProceedingStateClassificatorCode(statusFromApi: string): string | undefined;
|
|
2
|
-
export declare function getProceedingStateClassificatorStatus(status: string): {
|
|
4
|
+
export declare function getProceedingStateClassificatorStatus(status: string, intl: IntlShape): {
|
|
3
5
|
name: string;
|
|
4
|
-
|
|
6
|
+
oldType: StatusTypes;
|
|
7
|
+
newType: NewStatusTypes;
|
|
5
8
|
};
|
|
6
|
-
export declare function convertApiProceedingState(statusFromApi: string): {
|
|
9
|
+
export declare function convertApiProceedingState(statusFromApi: string, intl: IntlShape): {
|
|
7
10
|
name: string;
|
|
8
|
-
|
|
11
|
+
oldType: StatusTypes;
|
|
12
|
+
newType: NewStatusTypes;
|
|
9
13
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IconProps } from '@tedi-design-system/react/community';
|
|
3
|
+
interface IconWithTextProps extends Partial<IconProps> {
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
declare const IconWithText: ({ text, ...rest }: IconWithTextProps) => JSX.Element;
|
|
7
|
+
export default IconWithText;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Breakpoint } from '@tedi-design-system/react/tedi';
|
|
3
|
+
export declare enum TableButtonTypes {
|
|
4
|
+
Show = "Show",
|
|
5
|
+
Text = "Text",
|
|
6
|
+
Delete = "Delete",
|
|
7
|
+
Edit = "Edit",
|
|
8
|
+
More = "More",
|
|
9
|
+
Download = "Download"
|
|
10
|
+
}
|
|
11
|
+
interface EntityRowButtonsProps {
|
|
12
|
+
onDelete?: () => void;
|
|
13
|
+
collapseButtonsBreakPoint?: Breakpoint;
|
|
14
|
+
buttonsShown?: TableButtonTypes[];
|
|
15
|
+
}
|
|
16
|
+
declare const EntityRowButtons: ({ onDelete, collapseButtonsBreakPoint, buttonsShown, }: EntityRowButtonsProps) => JSX.Element;
|
|
17
|
+
export default EntityRowButtons;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GlobalUserInfo } from 'ehr-auth-react/dist';
|
|
2
|
+
import { ButtonColor, ButtonType } from '@tedi-design-system/react/community';
|
|
3
|
+
import { TableButtonTypes } from './TableRowButtons';
|
|
4
|
+
import { BaseMyDocument } from '../../services/my_views_api_client';
|
|
5
|
+
export declare const getVisibleButtonTypes: (buttonsShown: any, onDelete: any) => any;
|
|
6
|
+
export interface ButtonConf {
|
|
7
|
+
icon?: string;
|
|
8
|
+
text: string;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
visualType?: ButtonType;
|
|
11
|
+
color?: ButtonColor;
|
|
12
|
+
}
|
|
13
|
+
export declare const getButtonConfs: (visibleButtonTypes: TableButtonTypes[], intl: any, isSmallScreen: any, onDelete: any) => {
|
|
14
|
+
dropdownButtons: ButtonConf[];
|
|
15
|
+
actionButtons: ButtonConf[];
|
|
16
|
+
};
|
|
17
|
+
export declare const getPossibleDocumentButtons: (document: BaseMyDocument, userInfo: GlobalUserInfo) => TableButtonTypes[];
|
|
@@ -3,6 +3,7 @@ import { GlobalUserInfo } from 'ehr-auth-react';
|
|
|
3
3
|
interface Props {
|
|
4
4
|
userInfo: GlobalUserInfo | undefined;
|
|
5
5
|
classifierApiEndpoint: string;
|
|
6
|
+
documentApiEndpoint: string;
|
|
6
7
|
userApiEndpoint: string;
|
|
7
8
|
myViewsApiEndpoint: string;
|
|
8
9
|
buildingsActualDataApiEndpoint: string;
|
|
@@ -10,5 +11,5 @@ interface Props {
|
|
|
10
11
|
generateLink: (type: string, path: string, history: any, isExternal: boolean, isNewWindow?: boolean, state?: any) => string;
|
|
11
12
|
searchType: string;
|
|
12
13
|
}
|
|
13
|
-
declare const DetailSearch: ({ buildingsActualDataApiEndpoint, classifierApiEndpoint, linkGen, generateLink, myViewsApiEndpoint, searchType, userApiEndpoint, userInfo, }: Props) => JSX.Element;
|
|
14
|
+
declare const DetailSearch: ({ buildingsActualDataApiEndpoint, classifierApiEndpoint, documentApiEndpoint, linkGen, generateLink, myViewsApiEndpoint, searchType, userApiEndpoint, userInfo, }: Props) => JSX.Element;
|
|
14
15
|
export default DetailSearch;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { Classifier } from '../../../services/document_api_client';
|
|
1
2
|
import { MultiselectTypeOption } from '../../../common/types/MultiselectTypeOption';
|
|
2
3
|
import { FileType } from '../../../services/classifier_api_client';
|
|
3
4
|
export declare function buildHierarchyBuildingStates(isAdminRole: any): MultiselectTypeOption[];
|
|
4
5
|
export declare function buildHierarchyBuildingTypes(): MultiselectTypeOption[];
|
|
6
|
+
export declare function buildHierarchyHeritageTypes(heritages: Classifier[]): MultiselectTypeOption[];
|
|
5
7
|
export declare const ownershipTypes: {
|
|
6
8
|
code: string;
|
|
7
9
|
value: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RedirectType } from '../../../util/redirect-utils';
|
|
2
|
-
export declare const getProceedingRedirectType: (doty: string | undefined) => RedirectType.Proceeding | RedirectType.
|
|
2
|
+
export declare const getProceedingRedirectType: (doty: string | undefined) => RedirectType.Proceeding | RedirectType.NotFound;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
import { LinkGen } from '../../../contexts/NavigationContext';
|
|
4
|
+
interface MyApprovalsProps {
|
|
5
|
+
userInfo: GlobalUserInfo;
|
|
6
|
+
linkGen: LinkGen;
|
|
7
|
+
}
|
|
8
|
+
declare const MyApprovalsPage: ({ userInfo, linkGen }: MyApprovalsProps) => JSX.Element;
|
|
9
|
+
export default MyApprovalsPage;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { MyOperationDto } from '../../../../services/my_views_api_client';
|
|
4
|
+
import { LinkGen } from '../../../../../contexts/NavigationContext';
|
|
5
|
+
export type ApprovalsOperationsTableColumn = ColumnDef<MyOperationDto, any>;
|
|
6
|
+
export declare const getApprovalsOperationsTableColumns: (intl: IntlShape, linkGen: LinkGen) => ApprovalsOperationsTableColumn[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
-
interface
|
|
3
|
+
interface MyCoordinationsProps {
|
|
4
4
|
userInfo: GlobalUserInfo;
|
|
5
5
|
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
6
6
|
userApiEndpoint: string;
|
|
7
7
|
myViewsApiEndpoint: string;
|
|
8
8
|
classifierApiEndpoint: string;
|
|
9
9
|
}
|
|
10
|
-
declare const
|
|
11
|
-
export default
|
|
10
|
+
declare const MyCoordinations: ({ classifierApiEndpoint, linkGen, myViewsApiEndpoint, userApiEndpoint, userInfo: { activeRole }, }: MyCoordinationsProps) => JSX.Element;
|
|
11
|
+
export default MyCoordinations;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
3
|
+
import { LinkGen } from '../../../contexts/NavigationContext';
|
|
4
|
+
interface MyPlanningsProps {
|
|
5
|
+
userInfo: GlobalUserInfo;
|
|
6
|
+
linkGen: LinkGen;
|
|
7
|
+
}
|
|
8
|
+
declare const MyPlanningsPage: ({ userInfo, linkGen }: MyPlanningsProps) => JSX.Element;
|
|
9
|
+
export default MyPlanningsPage;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GlobalUserInfo } from 'ehr-auth-react/dist';
|
|
2
|
+
export declare const canAddExistingNationalSpecialPlanning: (businessId: any) => boolean;
|
|
3
|
+
export declare const getPossibleNewDocTypes: (userInfo: GlobalUserInfo) => string[];
|
|
4
|
+
export declare const getPossibleExistingPlanningDocTypes: (userInfo: GlobalUserInfo) => string[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react';
|
|
2
3
|
import { ProceedingsFilterType } from '../types/ProceedingsFilterType';
|
|
3
4
|
interface MyProceedingsProps {
|
|
4
5
|
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
@@ -6,6 +7,7 @@ interface MyProceedingsProps {
|
|
|
6
7
|
onAllUsersChecked: (isChecked: boolean) => void;
|
|
7
8
|
isAllUsersChecked: boolean;
|
|
8
9
|
filter: ProceedingsFilterType;
|
|
10
|
+
userInfo: GlobalUserInfo;
|
|
9
11
|
}
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
+
declare const MyProceedingsTable: ({ linkGen, isKov, onAllUsersChecked, isAllUsersChecked, userInfo }: MyProceedingsProps) => JSX.Element;
|
|
13
|
+
export default MyProceedingsTable;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface DocumentLinkCellProps {
|
|
3
|
+
document?: string;
|
|
4
|
+
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
5
|
+
}
|
|
6
|
+
declare const DocumentLinkCell: ({ document, linkGen }: DocumentLinkCellProps) => JSX.Element;
|
|
7
|
+
export default DocumentLinkCell;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface EhrCodeCellProps {
|
|
3
|
+
ehrCodes: string[];
|
|
4
|
+
linkGen: (redirect: boolean, event: any, type: any, code: any) => string | undefined;
|
|
5
|
+
}
|
|
6
|
+
declare const EhrCodeCell: ({ ehrCodes, linkGen }: EhrCodeCellProps) => JSX.Element;
|
|
7
|
+
export default EhrCodeCell;
|
package/dist/types/components/page/myproceedings/proceedingTable/cells/ProceedingLinkCell.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface ProceedingLinkCellProps {
|
|
3
|
+
proceedingNr?: string;
|
|
4
|
+
linkGenType: string;
|
|
5
|
+
linkGen: (redirect: boolean, event: any, type: any, path: any) => string | undefined;
|
|
6
|
+
}
|
|
7
|
+
declare const ProceedingLinkCell: ({ proceedingNr, linkGenType, linkGen }: ProceedingLinkCellProps) => JSX.Element;
|
|
8
|
+
export default ProceedingLinkCell;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseMyDocument } from '../../../services/my_views_api_client';
|
|
3
|
+
import { DocumentsType } from '../../../common/constants/Constants';
|
|
4
|
+
interface PlanCompletedDocsTableProps {
|
|
5
|
+
documents: BaseMyDocument[];
|
|
6
|
+
documentType: DocumentsType;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
isError?: boolean;
|
|
9
|
+
showDefaultVersion: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const PlanCompletedDocsTable: ({ documents, documentType, isLoading, isError, showDefaultVersion, }: PlanCompletedDocsTableProps) => JSX.Element;
|
|
12
|
+
export default PlanCompletedDocsTable;
|
package/dist/types/components/sections/planningsCompleted/components/completedDocsTableHelpers.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { BaseMyDocument } from '../../../services/my_views_api_client';
|
|
4
|
+
import { LinkGen } from '../../../../contexts/NavigationContext';
|
|
5
|
+
export type CompletedDocumentsTableColumn = ColumnDef<BaseMyDocument, any>;
|
|
6
|
+
export declare const getDefaultCompletedTableColumns: (intl: IntlShape, linkGen: LinkGen) => CompletedDocumentsTableColumn[];
|
|
7
|
+
export declare const getCompletedTableColumns: (intl: IntlShape, linkGen: LinkGen) => CompletedDocumentsTableColumn[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseMyDocument } from '../../../services/my_views_api_client';
|
|
3
|
+
import { DocumentsType } from '../../../common/constants/Constants';
|
|
4
|
+
interface IncomingDocumentsTableProps {
|
|
5
|
+
documents: BaseMyDocument[];
|
|
6
|
+
documentType: DocumentsType;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
isError?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const IncomingDocumentsTable: ({ documents, documentType, isLoading, isError, }: IncomingDocumentsTableProps) => JSX.Element;
|
|
11
|
+
export default IncomingDocumentsTable;
|
package/dist/types/components/sections/planningsIncoming/components/incomingDocTableHelpers.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { BaseMyDocument } from '../../../services/my_views_api_client';
|
|
4
|
+
import { LinkGen } from '../../../../contexts/NavigationContext';
|
|
5
|
+
export type IncomingDocumentsTableColumn = ColumnDef<BaseMyDocument, any>;
|
|
6
|
+
export declare const getIncomingDocumentsTableColumns: (intl: IntlShape, linkGen: LinkGen) => IncomingDocumentsTableColumn[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GlobalUserInfo } from 'ehr-auth-react/dist';
|
|
3
|
+
interface PlanningsOngoingSectionProps {
|
|
4
|
+
userInfo: GlobalUserInfo;
|
|
5
|
+
}
|
|
6
|
+
declare const PlanningsOngoingSection: ({ userInfo, }: PlanningsOngoingSectionProps) => JSX.Element;
|
|
7
|
+
export default PlanningsOngoingSection;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PaginationState, SortingState } from '@tanstack/react-table';
|
|
3
|
+
import { GlobalUserInfo } from 'ehr-auth-react/dist';
|
|
4
|
+
import { PageBaseMyDocument } from '../../../services/my_views_api_client';
|
|
5
|
+
import { DocumentsType } from '../../../common/constants/Constants';
|
|
6
|
+
interface PlanningsDocumentsTableProps {
|
|
7
|
+
documents: PageBaseMyDocument;
|
|
8
|
+
documentType: DocumentsType;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
isError?: boolean;
|
|
11
|
+
pagination: PaginationState;
|
|
12
|
+
sorting: SortingState;
|
|
13
|
+
userInfo: GlobalUserInfo;
|
|
14
|
+
}
|
|
15
|
+
declare const OngoingDocumentsTable: ({ documents, documentType, isLoading, isError, pagination, sorting, userInfo, }: PlanningsDocumentsTableProps) => JSX.Element;
|
|
16
|
+
export default OngoingDocumentsTable;
|
package/dist/types/components/sections/planningsOngoing/components/ongoingDocTableHelpers.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { BaseMyDocument } from '../../../services/my_views_api_client';
|
|
4
|
+
import { LinkGen } from '../../../../contexts/NavigationContext';
|
|
5
|
+
export type OngoingDocumentsTableColumn = ColumnDef<BaseMyDocument, any>;
|
|
6
|
+
export declare const getOngoingDocumentsTableColumns: (intl: IntlShape, linkGen: LinkGen, getRowButtons: (row: BaseMyDocument) => void) => OngoingDocumentsTableColumn[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { MyPlanningProceedingDto } from '../../../../services/my_views_api_client';
|
|
4
|
+
import { LinkGen } from '../../../../../contexts/NavigationContext';
|
|
5
|
+
export type PlanningsProcTableColumn = ColumnDef<MyPlanningProceedingDto, any>;
|
|
6
|
+
export declare const getPlanningsProcTableColumns: (intl: IntlShape, linkGen: LinkGen) => PlanningsProcTableColumn[];
|
package/dist/types/components/sections/planningsToComment/components/planningsOpTableHelpers.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { MyOperationDto } from '../../../services/my_views_api_client';
|
|
4
|
+
import { LinkGen } from '../../../../contexts/NavigationContext';
|
|
5
|
+
export type PlanningsOperationsTableColumn = ColumnDef<MyOperationDto, any>;
|
|
6
|
+
export declare const getPlanningsOperationsTableColumns: (intl: IntlShape, linkGen: LinkGen) => PlanningsOperationsTableColumn[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseMyDocument } from '../../../services/my_views_api_client';
|
|
3
|
+
import { DocumentsType } from '../../../common/constants/Constants';
|
|
4
|
+
interface ToSignDocumentsTableProps {
|
|
5
|
+
documents: BaseMyDocument[];
|
|
6
|
+
documentType: DocumentsType;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
isError?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const ToSignDocumentsTable: ({ documents, documentType, isLoading, isError, }: ToSignDocumentsTableProps) => JSX.Element;
|
|
11
|
+
export default ToSignDocumentsTable;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
+
import { IntlShape } from 'react-intl';
|
|
3
|
+
import { BaseMyDocument } from '../../../services/my_views_api_client';
|
|
4
|
+
import { LinkGen } from '../../../../contexts/NavigationContext';
|
|
5
|
+
import { DocumentsType } from '../../../common/constants/Constants';
|
|
6
|
+
export type ToSignDocumentsTableColumn = ColumnDef<BaseMyDocument, any>;
|
|
7
|
+
export declare const getToSignDocumentsTableColumns: (intl: IntlShape, documentType: DocumentsType, linkGen: LinkGen) => ToSignDocumentsTableColumn[];
|
|
@@ -1186,6 +1186,12 @@ export interface BSearchOResponseArray {
|
|
|
1186
1186
|
* @memberof BSearchOResponseArray
|
|
1187
1187
|
*/
|
|
1188
1188
|
buildingState?: BSearchOResponseArrayBuildingType;
|
|
1189
|
+
/**
|
|
1190
|
+
*
|
|
1191
|
+
* @type {BSearchOResponseArrayBuildingType}
|
|
1192
|
+
* @memberof BSearchOResponseArray
|
|
1193
|
+
*/
|
|
1194
|
+
heritage?: Array<BSearchOResponseArrayHeritage>;
|
|
1189
1195
|
}
|
|
1190
1196
|
/**
|
|
1191
1197
|
*
|
|
@@ -1206,6 +1212,25 @@ export interface BSearchOResponseArrayBuildingType {
|
|
|
1206
1212
|
*/
|
|
1207
1213
|
value?: string;
|
|
1208
1214
|
}
|
|
1215
|
+
/**
|
|
1216
|
+
*
|
|
1217
|
+
* @export
|
|
1218
|
+
* @interface BSearchOResponseArrayHeritage
|
|
1219
|
+
*/
|
|
1220
|
+
export interface BSearchOResponseArrayHeritage {
|
|
1221
|
+
/**
|
|
1222
|
+
*
|
|
1223
|
+
* @type {string}
|
|
1224
|
+
* @memberof BSearchOResponseArrayHeritage
|
|
1225
|
+
*/
|
|
1226
|
+
name?: string;
|
|
1227
|
+
/**
|
|
1228
|
+
*
|
|
1229
|
+
* @type {string}
|
|
1230
|
+
* @memberof BSearchOResponseArrayHeritage
|
|
1231
|
+
*/
|
|
1232
|
+
value?: string;
|
|
1233
|
+
}
|
|
1209
1234
|
/**
|
|
1210
1235
|
*
|
|
1211
1236
|
* @export
|
|
@@ -1333,6 +1358,12 @@ export interface BSearchResponseArray {
|
|
|
1333
1358
|
* @memberof BSearchResponseArray
|
|
1334
1359
|
*/
|
|
1335
1360
|
buildingState?: BSearchOResponseArrayBuildingType;
|
|
1361
|
+
/**
|
|
1362
|
+
*
|
|
1363
|
+
* @type {Array<BSearchOResponseArrayHeritage>}
|
|
1364
|
+
* @memberof BSearchResponseArray
|
|
1365
|
+
*/
|
|
1366
|
+
heritage?: Array<BSearchOResponseArrayHeritage>;
|
|
1336
1367
|
}
|
|
1337
1368
|
/**
|
|
1338
1369
|
*
|