@imtf/dms-core 1.1.0-beta.6 → 7.4.0
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 +75 -0
- package/core/components/ActionMenu/styles.d.ts +2 -4
- package/core/components/Chip/Chip.d.ts +1 -1
- package/core/components/CloseModalButton/CloseModalButton.d.ts +4 -0
- package/core/components/DatePicker/DatePicker.d.ts +4 -3
- package/core/components/FormattedMessage/index.d.ts +11 -0
- package/core/components/Inline/index.d.ts +8 -0
- package/core/components/ItemIcon/index.d.ts +1 -1
- package/core/components/NotFound/index.d.ts +4 -0
- package/core/components/Select/Select.d.ts +3 -3
- package/core/components/Tooltip/TooltipError.d.ts +4 -0
- package/core/components/dms-ui/Composer.d.ts +57 -0
- package/core/components/dms-ui/NewDatasourceAutocomplete.d.ts +18 -0
- package/core/components/dms-ui/constants.d.ts +1 -0
- package/core/components/dms-ui/default/DatasourceAutocomplete.d.ts +18 -0
- package/core/components/dms-ui/default/DatePicker.d.ts +17 -0
- package/core/components/dms-ui/default/Group.d.ts +19 -0
- package/core/components/dms-ui/default/NestedGroup.d.ts +7 -0
- package/core/components/dms-ui/default/NumberFormattedTexfield.d.ts +17 -0
- package/core/components/dms-ui/default/NumberTextfield.d.ts +3 -0
- package/core/components/dms-ui/default/RadioButton.d.ts +16 -0
- package/core/components/dms-ui/default/Select.d.ts +20 -0
- package/core/components/dms-ui/default/Textfield.d.ts +17 -0
- package/core/components/dms-ui/default/TwoDigitNumberFormattedTextfield.d.ts +3 -0
- package/core/components/dms-ui/{immutableDefault → default}/index.d.ts +2 -2
- package/core/components/dms-ui/facet/DatasourceAutocomplete.d.ts +13 -0
- package/core/components/dms-ui/facet/DateRangeSearcher.d.ts +18 -0
- package/core/components/dms-ui/facet/Facet.d.ts +11 -0
- package/core/components/dms-ui/facet/NumericRangePicker.d.ts +20 -0
- package/core/components/dms-ui/facet/Select.d.ts +13 -0
- package/core/components/dms-ui/facet/Textfield.d.ts +11 -0
- package/core/components/dms-ui/facet/TypePicker.d.ts +12 -0
- package/core/components/dms-ui/facet/styles.d.ts +9 -0
- package/core/components/dms-ui/messages.d.ts +12 -0
- package/core/components/dms-ui/types.d.ts +9 -1
- package/core/components/dms-ui/utils/getComponent.d.ts +20 -0
- package/core/components/dms-ui/utils/type-guards.d.ts +4 -0
- package/core/constants/apps.d.ts +0 -5
- package/core/constants/permissions.d.ts +1 -0
- package/core/containers/DataGrid/constants.d.ts +2 -0
- package/core/containers/DataGrid/types.d.ts +14 -2
- package/core/containers/DataGrid/utils/crossTabSync.d.ts +13 -0
- package/core/containers/EntityDocuments/components/Accordion.d.ts +1 -1
- package/core/containers/EntityDocuments/components/Document.d.ts +4 -4
- package/core/containers/EntityDocuments/components/DocumentLabel.d.ts +8 -6
- package/core/containers/NotificationCenter/slice.d.ts +1 -1
- package/core/containers/PDFTronViewer/components/LightViewer/config.d.ts +0 -4
- package/core/containers/PDFTronViewer/messages.d.ts +8 -0
- package/core/containers/SearchDataGrid/types.d.ts +1 -6
- package/core/providers/App/actions.d.ts +4 -10
- package/core/providers/App/constants.d.ts +1 -1
- package/core/providers/App/hooks/useApplicationSettings.d.ts +15 -1
- package/core/providers/App/hooks/useDownload.d.ts +6 -0
- package/core/providers/App/hooks/useSettings.d.ts +4 -4
- package/core/providers/App/hooks/useTriggerItems.d.ts +2 -0
- package/core/providers/App/messages.d.ts +4 -0
- package/core/providers/App/reducer.d.ts +1 -1
- package/core/providers/App/service.d.ts +48 -17
- package/core/providers/App/types.d.ts +9 -0
- package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
- package/core/providers/App/utils/convertTreeviewFields.d.ts +19 -1
- package/core/providers/Authentication/hooks/useAuth.d.ts +1 -1
- package/core/providers/Authentication/service.d.ts +11 -3
- package/core/providers/Authentication/types.d.ts +5 -7
- package/core/providers/Cases/actions.d.ts +6 -0
- package/core/providers/Cases/service.d.ts +70 -33
- package/core/providers/Cases/types.d.ts +3 -0
- package/core/providers/Cases/utils/common.d.ts +2 -0
- package/core/providers/Ccm/constants.d.ts +6 -0
- package/core/providers/Ccm/types.d.ts +1 -1
- package/core/providers/Ccm/utils/isAccount.d.ts +1 -1
- package/core/providers/Ccm/utils/isClient.d.ts +1 -1
- package/core/providers/Ccm/utils/isClientGroup.d.ts +1 -1
- package/core/providers/Ccm/utils/isHouseholdEntity.d.ts +1 -1
- package/core/providers/DataGrid/Context.d.ts +4 -0
- package/core/providers/Definitions/service.d.ts +48 -19
- package/core/providers/Definitions/types.d.ts +24 -1
- package/core/providers/DropZone/Context.d.ts +2 -2
- package/core/providers/Inodes/actions.d.ts +26 -1
- package/core/providers/Inodes/constants.d.ts +9 -2
- package/core/providers/Inodes/hooks/useInodeByOid.d.ts +1 -1
- package/core/providers/Inodes/hooks/useInodesByOids.d.ts +1 -1
- package/core/providers/Inodes/messages.d.ts +37 -1
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +4 -2
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/ModalContent.d.ts +6 -6
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/index.d.ts +1 -1
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/messages.d.ts +4 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +1 -1
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +2 -16
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/convertToUIPropertiesGroup.d.ts +3 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getDefaultValuesFromProperties.d.ts +7 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +1 -1
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveProperties.d.ts +8 -0
- package/core/providers/Inodes/service.d.ts +141 -65
- package/core/providers/Inodes/type-guards.d.ts +2 -0
- package/core/providers/Inodes/types.d.ts +8 -5
- package/core/providers/Inodes/utils/can.d.ts +1 -0
- package/core/providers/Inodes/utils/getUrl.d.ts +2 -1
- package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +4 -2
- package/core/providers/Inodes/utils/validatePropertiesForm.d.ts +2 -0
- package/core/providers/Inspectors/Context.d.ts +3 -0
- package/core/providers/Inspectors/types.d.ts +5 -5
- package/core/providers/MdmGraph/actions.d.ts +5 -1
- package/core/providers/MdmGraph/constants.d.ts +6 -0
- package/core/providers/MdmGraph/service.d.ts +56 -31
- package/core/providers/MdmGraph/types.d.ts +10 -0
- package/core/providers/Modal/hooks/useModal.d.ts +1 -0
- package/core/providers/Modal/slice.d.ts +3 -0
- package/core/providers/Modal/types.d.ts +1 -0
- package/core/providers/Plugins/hooks/app/useSystemNotification.d.ts +8 -3
- package/core/providers/Plugins/hooks/tasks/useActions.d.ts +2 -2
- package/core/providers/Plugins/hooks/tasks/useTaskProcessing.d.ts +8 -0
- package/core/providers/Plugins/pluginRegistry.d.ts +21 -12
- package/core/providers/Plugins/types/componentPlugins.d.ts +2 -2
- package/core/providers/Plugins/withComponentPlugin.d.ts +2 -2
- package/core/providers/Search/service.d.ts +10 -4
- package/core/providers/Search/types.d.ts +0 -38
- package/core/providers/Tasks/Context.d.ts +8 -5
- package/core/providers/Tasks/constants.d.ts +2 -1
- package/core/providers/Tasks/service.d.ts +43 -23
- package/core/providers/Tasks/types.d.ts +7 -0
- package/core/providers/Tasks/utils/isDocumentTask.d.ts +2 -0
- package/core/providers/Uploader/Context.d.ts +1 -1
- package/core/providers/User/hooks/useAgencies.d.ts +16 -0
- package/core/providers/User/hooks/useIsAgencyEnabled.d.ts +5 -0
- package/core/providers/User/saga.d.ts +1 -2
- package/core/providers/User/service.d.ts +18 -0
- package/core/providers/User/types.d.ts +21 -0
- package/core/services/constants.d.ts +1 -0
- package/core/services/index.d.ts +6 -6
- package/core/services/localStorage.d.ts +1 -0
- package/core/theme/theme.base.d.ts +302 -21
- package/core/theme/theme.lightMode.d.ts +34 -170
- package/core/utils/common.d.ts +15 -0
- package/core/utils/string.d.ts +2 -1
- package/package.json +1 -1
- package/reducers.d.ts +2 -3
- package/store.d.ts +12 -18
- package/vendor/@imtf/react-components/components/ActivityDetail/ActivityDetail.d.ts +2 -30
- package/vendor/@imtf/react-components/components/CounterStackedBar/CounterStackedBar.d.ts +1 -27
- package/vendor/@imtf/react-components/components/Error/Error.d.ts +2 -55
- package/vendor/@imtf/react-components/components/InfiniteScroll/InfiniteScroll.d.ts +0 -4
- package/vendor/@imtf/react-components/components/Line/Line.d.ts +1 -38
- package/vendor/@imtf/react-components/components/Loader/Loader.d.ts +1 -22
- package/vendor/@imtf/react-components/components/Menu/Menu.d.ts +1 -9
- package/vendor/@imtf/react-components/components/NoContent/NoContent.d.ts +1 -10
- package/vendor/@imtf/react-components/components/Notification/Notification.d.ts +2 -55
- package/vendor/@imtf/react-components/components/ProgressCircleBar/ProgressCircleBar.d.ts +2 -43
- package/vendor/@imtf/react-components/components/Scroller/Scroller.d.ts +1 -19
- package/vendor/@imtf/react-components/components/SearchBar/SearchBar.d.ts +2 -57
- package/vendor/@imtf/react-components/components/Timeline/Timeline.d.ts +1 -14
- package/vendor/@imtf/react-components/components/Timeline/TimelineItem.d.ts +2 -46
- package/vendor/@imtf/react-components/components/ViewMore/ViewMore.d.ts +1 -24
- package/vendor/@imtf/react-components/components/ViewMoreCard/ViewMoreCard.d.ts +2 -73
- package/vendor/@imtf/react-components/components/ViewMoreCard/utils.d.ts +2 -2
- package/vendor/@imtf/react-components/components/index.d.ts +0 -14
- package/vendor/@imtf/react-components/index.d.ts +0 -1
- package/vendor/@imtf/react-components/utils/common.d.ts +1 -4
- package/vendor/@imtf/react-components/utils/constants.d.ts +0 -1
- package/core/components/Select/ListboxComponent.d.ts +0 -5
- package/core/components/dms-ui/DatasourceAutocomplete.d.ts +0 -14
- package/core/components/dms-ui/ImmutableComposer.d.ts +0 -15
- package/core/components/dms-ui/immutableDefault/DatasourceAutocomplete.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/DatePicker.d.ts +0 -15
- package/core/components/dms-ui/immutableDefault/Group.d.ts +0 -16
- package/core/components/dms-ui/immutableDefault/NumberFormattedTexfield.d.ts +0 -14
- package/core/components/dms-ui/immutableDefault/NumberTextfield.d.ts +0 -2
- package/core/components/dms-ui/immutableDefault/RadioButton.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/Select.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/Switch.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/Textfield.d.ts +0 -21
- package/core/components/dms-ui/immutableFacet/DatasourceAutocomplete.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/DateRangeSearcher.d.ts +0 -14
- package/core/components/dms-ui/immutableFacet/Facet.d.ts +0 -23
- package/core/components/dms-ui/immutableFacet/NumericRangePicker.d.ts +0 -14
- package/core/components/dms-ui/immutableFacet/Select.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/Textfield.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/TypePicker.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/styles.d.ts +0 -5
- package/core/components/dms-ui/utils/getImmutableComponent.d.ts +0 -19
- package/core/containers/EntityDocuments/styles.d.ts +0 -10
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInodesRequiredFieldNames.d.ts +0 -10
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInvalidInodeOids.d.ts +0 -10
- package/core/providers/SystemNotification/constants.d.ts +0 -3
- package/core/providers/SystemNotification/slice.d.ts +0 -9
- package/core/providers/SystemNotification/useSystemNotification.d.ts +0 -6
- package/core/utils/immutable.d.ts +0 -2
- package/vendor/@imtf/react-components/components/BasicNotification/BasicNotification.d.ts +0 -52
- package/vendor/@imtf/react-components/components/BasicNotification/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/BasicNotification/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Breadcrumb/Breadcrumb.d.ts +0 -36
- package/vendor/@imtf/react-components/components/Breadcrumb/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Breadcrumb/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Chip/Chip.d.ts +0 -41
- package/vendor/@imtf/react-components/components/Chip/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Chip/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Chip/messages.d.ts +0 -7
- package/vendor/@imtf/react-components/components/Chip/utils.d.ts +0 -14
- package/vendor/@imtf/react-components/components/DebounceField/DebounceField.d.ts +0 -35
- package/vendor/@imtf/react-components/components/DebounceField/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DebounceField/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DetailList/DetailList.d.ts +0 -24
- package/vendor/@imtf/react-components/components/DetailList/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DetailList/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DetailTree/DetailTree.d.ts +0 -30
- package/vendor/@imtf/react-components/components/DetailTree/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DetailTree/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/ErrorCatcher/ErrorCatcher.d.ts +0 -40
- package/vendor/@imtf/react-components/components/ErrorCatcher/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/ErrorCatcher/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/InfoCard/InfoCard.d.ts +0 -64
- package/vendor/@imtf/react-components/components/InfoCard/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Inline/Inline.d.ts +0 -19
- package/vendor/@imtf/react-components/components/Inline/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Inline/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Internal/FormattedMessage.d.ts +0 -11
- package/vendor/@imtf/react-components/components/MenuSelect/MenuSelect.d.ts +0 -43
- package/vendor/@imtf/react-components/components/MenuSelect/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/MenuSelect/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Navipath/Navipath.d.ts +0 -52
- package/vendor/@imtf/react-components/components/Navipath/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Navipath/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/RippleEffect/RippleEffect.d.ts +0 -33
- package/vendor/@imtf/react-components/components/RippleEffect/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/RippleEffect/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Stats/Stats.d.ts +0 -39
- package/vendor/@imtf/react-components/components/Stats/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Stats/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/TitleContent/TitleContent.d.ts +0 -25
- package/vendor/@imtf/react-components/components/TitleContent/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/TitleContent/index.d.ts +0 -1
- package/vendor/@imtf/react-components/hooks/index.d.ts +0 -1
- package/vendor/@imtf/react-components/hooks/useResponsiveBreakpoints.d.ts +0 -13
- package/vendor/@imtf/react-components/utils/resizeObserver.d.ts +0 -1
- /package/core/components/dms-ui/{immutableFacet → facet}/index.d.ts +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DateValue, OldDateValue, OptionValue } from "../types";
|
|
2
|
+
export declare function isDateValue(obj: unknown): obj is DateValue;
|
|
3
|
+
export declare function isOldDateValue(obj: unknown): obj is OldDateValue;
|
|
4
|
+
export declare function isOptionValue(obj: unknown): obj is OptionValue;
|
package/core/constants/apps.d.ts
CHANGED
|
@@ -43,11 +43,6 @@ export declare const C360_MANAGER: {
|
|
|
43
43
|
readonly path: "/c360";
|
|
44
44
|
readonly capability: "canAccessC360";
|
|
45
45
|
};
|
|
46
|
-
export declare const ADMIN: {
|
|
47
|
-
readonly id: "admin";
|
|
48
|
-
readonly path: "/admin";
|
|
49
|
-
readonly capability: "canAccessAdmin";
|
|
50
|
-
};
|
|
51
46
|
export declare const WORKBENCH: {
|
|
52
47
|
readonly id: "workbench";
|
|
53
48
|
readonly path: "#" | "/workbench";
|
|
@@ -2,6 +2,7 @@ export declare const ADD_FILE = "ADD_FILE";
|
|
|
2
2
|
export declare const ADD_FOLDER = "ADD_FOLDER";
|
|
3
3
|
export declare const ASSIGN_TYPE = "ASSIGN_TYPE";
|
|
4
4
|
export declare const COMMENT = "COMMENT";
|
|
5
|
+
export declare const DELETE_COMMENT = "DELETE_COMMENT";
|
|
5
6
|
export declare const ANNOTATE = "ANNOTATE";
|
|
6
7
|
export declare const COMPOSE = "COMPOSE";
|
|
7
8
|
export declare const DELETE = "DELETE";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { GridColDef } from "@mui/x-data-grid-pro";
|
|
2
|
+
import { SupportedItem } from "../../providers/App/types";
|
|
2
3
|
import { SearchMask } from "../../providers/Definitions/types";
|
|
3
4
|
import { COLUMN_TYPES } from "./constants";
|
|
4
5
|
export type ColumnDefinitionList = {
|
|
@@ -15,11 +16,22 @@ export type ColumnDefinition = {
|
|
|
15
16
|
align?: "LEFT" | "RIGHT" | "CENTER";
|
|
16
17
|
width?: ColumnWidth;
|
|
17
18
|
filterable?: GridColDef["filterable"];
|
|
19
|
+
resizable?: GridColDef["resizable"];
|
|
20
|
+
minWidth?: GridColDef["minWidth"];
|
|
21
|
+
maxWidth?: GridColDef["maxWidth"];
|
|
22
|
+
description?: GridColDef["description"];
|
|
23
|
+
disableColumnMenu?: GridColDef["disableColumnMenu"];
|
|
24
|
+
disableReorder?: GridColDef["disableReorder"];
|
|
25
|
+
hideable?: GridColDef["hideable"];
|
|
26
|
+
hideSortIcons?: GridColDef["hideSortIcons"];
|
|
27
|
+
pinnable?: GridColDef["pinnable"];
|
|
18
28
|
sortable?: GridColDef["sortable"];
|
|
29
|
+
hidden?: boolean;
|
|
30
|
+
hideLabel?: boolean;
|
|
19
31
|
};
|
|
20
32
|
export type Row = {
|
|
21
33
|
id: string | `load-more-${string}`;
|
|
22
|
-
item?: Record<string, unknown>;
|
|
34
|
+
item?: SupportedItem | Record<string, unknown>;
|
|
23
35
|
searchData?: {
|
|
24
36
|
cells: Record<string, string>;
|
|
25
37
|
highlights?: string[];
|
|
@@ -28,7 +40,7 @@ export type Row = {
|
|
|
28
40
|
loadMoreParentId?: string;
|
|
29
41
|
hierarchy: string[];
|
|
30
42
|
};
|
|
31
|
-
export type DataGridId = "HOME" | "DOSSIER" | "FOLDER" | "FAVORITES" | "TRASH" | "TRANSACTIONS" | "ACCOUNT_PROFILES" | "TOP_TRANSACTIONS" | "TOP_COUNTRIES" | "TRANSACTIONS_TYPE" | "DOCUMENT_TASKS" | "INDEXATION_TASKS" | `SEARCH_MASK_${SearchMask["name"]}`;
|
|
43
|
+
export type DataGridId = "HOME" | "DOSSIER" | "FOLDER" | "FAVORITES" | "TRASH" | "TRANSACTIONS" | "ACCOUNT_PROFILES" | "TOP_TRANSACTIONS" | "TOP_COUNTRIES" | "TRANSACTIONS_TYPE" | "DOCUMENT_TASKS" | "INDEXATION_TASKS" | "AUDIT" | `SEARCH_MASK_${SearchMask["name"]}`;
|
|
32
44
|
export type UserSettingTreeviewField = {
|
|
33
45
|
name: string;
|
|
34
46
|
hidden?: boolean;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Inode } from "../../../providers/Inodes/types";
|
|
2
|
+
export type InodeSyncMessage = {
|
|
3
|
+
type: "INODES_MOVED";
|
|
4
|
+
movedInodeOids: string[];
|
|
5
|
+
newInodes: Inode[];
|
|
6
|
+
};
|
|
7
|
+
export declare function getChannel(): BroadcastChannel;
|
|
8
|
+
/**
|
|
9
|
+
* Broadcast to other tabs that inodes have been moved/restored.
|
|
10
|
+
* BroadcastChannel only sends to OTHER tabs — the posting tab never receives its own message.
|
|
11
|
+
*/
|
|
12
|
+
export declare function broadcastInodesMoved(movedInodeOids: string[], newInodes: Inode[]): void;
|
|
13
|
+
export declare function revalidateTrash(): void;
|
|
@@ -8,5 +8,5 @@ type AccordionProps = {
|
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
TransitionProps?: Record<string, any>;
|
|
10
10
|
};
|
|
11
|
-
declare const AccordionComponent: import("react").ForwardRefExoticComponent<AccordionProps & import("react").RefAttributes<
|
|
11
|
+
declare const AccordionComponent: import("react").ForwardRefExoticComponent<AccordionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export default AccordionComponent;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Inode } from "../../../providers/Inodes/types";
|
|
2
1
|
import { Entity } from "../../../providers/MdmGraph/types";
|
|
2
|
+
import { type DocumentLabelProps } from "./DocumentLabel";
|
|
3
3
|
type DocumentProps = {
|
|
4
|
-
document:
|
|
5
|
-
onDragStart?:
|
|
6
|
-
onDragEnd?:
|
|
4
|
+
document: DocumentLabelProps["document"];
|
|
5
|
+
onDragStart?: DocumentLabelProps["onDragStart"];
|
|
6
|
+
onDragEnd?: DocumentLabelProps["onDragEnd"];
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
entity?: Entity;
|
|
9
9
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { Inode } from "../../../providers/Inodes/types";
|
|
2
|
+
export type DocumentLabelProps = {
|
|
3
|
+
document: Inode<"dms-core.File">;
|
|
4
|
+
onDragStart?: (document: any) => void;
|
|
5
|
+
onDragEnd?: (document: any) => void;
|
|
6
|
+
canDrag?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const DocumentLabel: ({ document, onDragStart, onDragEnd, canDrag, }: DocumentLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
9
|
export default DocumentLabel;
|
|
2
|
-
declare function DocumentLabel({ document, onDragStart, onDragEnd, canDrag }: {
|
|
3
|
-
document: any;
|
|
4
|
-
onDragStart: any;
|
|
5
|
-
onDragEnd: any;
|
|
6
|
-
canDrag: any;
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,7 +18,7 @@ export declare const toggle: import("@reduxjs/toolkit").ActionCreatorWithoutPayl
|
|
|
18
18
|
items: Notification[];
|
|
19
19
|
}, "notificationCenter/watchReceived">, read: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notificationCenter/read">, readSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
20
20
|
oid: string;
|
|
21
|
-
}, "notificationCenter/readSuccess">, readAll: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notificationCenter/readAll">, readAllSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notificationCenter/readAllSuccess">, flashNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
21
|
+
}, "notificationCenter/readSuccess">, readAll: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notificationCenter/readAll">, readAllSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notificationCenter/readAllSuccess">, clearAllSuccess: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notificationCenter/clearAllSuccess">, flashNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
22
22
|
notification: Notification;
|
|
23
23
|
}, "notificationCenter/flashNotification">, unflashNotification: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"notificationCenter/unflashNotification">;
|
|
24
24
|
declare const _default: import("redux").Reducer<NotificationCenterState>;
|
|
@@ -75,6 +75,14 @@ declare const _default: {
|
|
|
75
75
|
id: string;
|
|
76
76
|
defaultMessage: string;
|
|
77
77
|
};
|
|
78
|
+
compareDescriptionFileNeedsTwoVersions: {
|
|
79
|
+
id: string;
|
|
80
|
+
defaultMessage: string;
|
|
81
|
+
};
|
|
82
|
+
compareError: {
|
|
83
|
+
id: string;
|
|
84
|
+
defaultMessage: string;
|
|
85
|
+
};
|
|
78
86
|
compareReset: {
|
|
79
87
|
id: string;
|
|
80
88
|
defaultMessage: string;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { SupportedItem } from "../../providers/App/types";
|
|
2
|
-
import { LOAD_MORE } from "../../../core/constants/kinds";
|
|
3
2
|
export type TableRow = {
|
|
4
3
|
kind: "dms-core.ui.TableRow";
|
|
5
4
|
cells: {
|
|
6
5
|
kind: "dms-core.ui.ItemTableCell";
|
|
7
6
|
value: string;
|
|
8
7
|
}[];
|
|
9
|
-
item: SupportedItem
|
|
10
|
-
kind: typeof LOAD_MORE;
|
|
11
|
-
oid: string;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
8
|
+
item: SupportedItem;
|
|
14
9
|
highlights?: string[];
|
|
15
10
|
status: string;
|
|
16
11
|
};
|
|
@@ -3,16 +3,6 @@ import { ReactElement, ReactNode } from "react";
|
|
|
3
3
|
import { Inode } from "../Inodes/types";
|
|
4
4
|
import { ModalProps } from "../Modal/types";
|
|
5
5
|
import { TextFieldModalParams } from "./modals/TextFieldModal";
|
|
6
|
-
export declare function email({ subject, body }: {
|
|
7
|
-
subject?: string | undefined;
|
|
8
|
-
body?: string | undefined;
|
|
9
|
-
}): {
|
|
10
|
-
type: string;
|
|
11
|
-
payload: {
|
|
12
|
-
subject: string;
|
|
13
|
-
body: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
6
|
export declare function openInNewWindow(url: string, target?: string, features?: string): {
|
|
17
7
|
type: string;
|
|
18
8
|
payload: {
|
|
@@ -46,6 +36,7 @@ export declare function showGlobalModal(type: string, props: ModalProps): {
|
|
|
46
36
|
correlationId: string;
|
|
47
37
|
fullWidth: boolean;
|
|
48
38
|
maxWidth: DialogProps["maxWidth"];
|
|
39
|
+
minHeight: number | string;
|
|
49
40
|
blocker: boolean;
|
|
50
41
|
onConfirm: (...args: any[]) => void;
|
|
51
42
|
onCancel: () => void;
|
|
@@ -67,6 +58,7 @@ export declare function showValidatemodal(callback: () => void, title?: ReactEle
|
|
|
67
58
|
correlationId: string;
|
|
68
59
|
fullWidth: boolean;
|
|
69
60
|
maxWidth: DialogProps["maxWidth"];
|
|
61
|
+
minHeight: number | string;
|
|
70
62
|
blocker: boolean;
|
|
71
63
|
onConfirm: (...args: any[]) => void;
|
|
72
64
|
onCancel: () => void;
|
|
@@ -123,6 +115,7 @@ export declare function showAddCommentModal(modalProps: {
|
|
|
123
115
|
correlationId: string;
|
|
124
116
|
fullWidth: boolean;
|
|
125
117
|
maxWidth: DialogProps["maxWidth"];
|
|
118
|
+
minHeight: number | string;
|
|
126
119
|
blocker: boolean;
|
|
127
120
|
onConfirm: (...args: any[]) => void;
|
|
128
121
|
onCancel: () => void;
|
|
@@ -144,6 +137,7 @@ export declare function showTextFieldModal(modalParams: TextFieldModalParams): {
|
|
|
144
137
|
correlationId: string;
|
|
145
138
|
fullWidth: boolean;
|
|
146
139
|
maxWidth: DialogProps["maxWidth"];
|
|
140
|
+
minHeight: number | string;
|
|
147
141
|
blocker: boolean;
|
|
148
142
|
onConfirm: (...args: any[]) => void;
|
|
149
143
|
onCancel: () => void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const GET_APP_AUTH_PARAMETERS = "imtf/App/GET_APP_AUTH_PARAMETERS";
|
|
2
|
-
export declare const EMAIL = "imtf/App/EMAIL";
|
|
3
2
|
export declare const OPEN_IN_NEW_WINDOW = "imtf/App/OPEN_IN_NEW_WINDOW";
|
|
4
3
|
export declare const OPEN_CONTEXT_MENU = "imtf/App/OPEN_CONTEXT_MENU";
|
|
5
4
|
export declare const CLOSE_CONTEXT_MENU = "imtf/App/CLOSE_CONTEXT_MENU";
|
|
@@ -8,6 +7,7 @@ export declare const VALIDATION_NOT_OK = "imtf/App/MODAL_VALIDATION_NOT_OK";
|
|
|
8
7
|
export declare const PREVIEW_DOCUMENT = "imtf/App/PREVIEW_DOCUMENT";
|
|
9
8
|
export declare const STORE_CLEANUP = "imtf/App/STORE_CLEANUP";
|
|
10
9
|
export declare const EXTERNAL_PLUGINS_ERROR = "imtf/App/EXTERNAL_PLUGINS_ERROR";
|
|
10
|
+
export declare const INODES_BULKDOWNLOAD_GET_LIMIT = 25;
|
|
11
11
|
export declare const ACTIONS: {
|
|
12
12
|
readonly OPEN: "OPEN";
|
|
13
13
|
readonly OPEN_IN_NEW_TAB: "OPEN_IN_NEW_TAB";
|
|
@@ -15,7 +15,7 @@ declare const useApplicationSettings: () => {
|
|
|
15
15
|
disableTaskAutoClaim?: unknown;
|
|
16
16
|
useRelativeDateWheneverPossible?: unknown;
|
|
17
17
|
customerRelatedEntitiesTemplates?: unknown;
|
|
18
|
-
|
|
18
|
+
documentTaskFilterFoldersByFileType?: unknown;
|
|
19
19
|
canOpenRelatedAlertFromInspector?: unknown;
|
|
20
20
|
propertyPanelOverrides?: unknown;
|
|
21
21
|
additionalTransactionsColumns?: unknown;
|
|
@@ -40,6 +40,20 @@ declare const useApplicationSettings: () => {
|
|
|
40
40
|
enableDigitalSignatureVerification?: unknown;
|
|
41
41
|
certificateRevocationListProxyServerUrl?: unknown;
|
|
42
42
|
companionScanDPIResolution?: unknown;
|
|
43
|
+
enableCommentLinks?: unknown;
|
|
44
|
+
companionMultipleEditionLimit?: unknown;
|
|
45
|
+
enableCompanionDefaultDuplex?: unknown;
|
|
46
|
+
enableCompanionDefaultColor?: unknown;
|
|
47
|
+
disableNotifications?: unknown;
|
|
48
|
+
openViewerCommentsByDefault?: unknown;
|
|
49
|
+
enableStampsCreation?: unknown;
|
|
50
|
+
enableStandardStamps?: unknown;
|
|
51
|
+
hideDisabledPropertiesAtUpload?: unknown;
|
|
52
|
+
displaySearchBarInToolbar?: unknown;
|
|
53
|
+
restrictAnnotationEditingToOwner?: unknown;
|
|
54
|
+
displayUnauthorizedItems?: unknown;
|
|
55
|
+
propertiesBySearchContext?: unknown;
|
|
56
|
+
signatureWidth?: unknown;
|
|
43
57
|
applicationSortOrder?: string | undefined;
|
|
44
58
|
capabilities?: import("../types").AppCapabilities | undefined;
|
|
45
59
|
commentMaxLength?: number | undefined;
|
|
@@ -2,21 +2,27 @@ import { AxiosError } from "axios";
|
|
|
2
2
|
import { Inode } from "../../Inodes/types";
|
|
3
3
|
type Arg = {
|
|
4
4
|
inodes: Inode[];
|
|
5
|
+
purpose?: "view" | "compare" | "compose" | "download";
|
|
5
6
|
};
|
|
6
7
|
/**
|
|
7
8
|
* Downloads an array of inodes by getting a download token and then using an iframe to download the files
|
|
8
9
|
*/
|
|
9
10
|
declare const useDownload: () => {
|
|
10
11
|
downloadViaIframe: (url: string | null) => void;
|
|
12
|
+
downloadViaBinary: (token: string) => Promise<void>;
|
|
11
13
|
isMutating: boolean;
|
|
12
14
|
trigger: import("swr/mutation").TriggerWithArgs<{
|
|
13
15
|
downloadToken: string;
|
|
14
16
|
length: number;
|
|
17
|
+
downloadName?: string;
|
|
18
|
+
purpose?: "view" | "compare" | "compose" | "download";
|
|
15
19
|
}, AxiosError<unknown, any>, string, Arg>;
|
|
16
20
|
reset: () => void;
|
|
17
21
|
data: {
|
|
18
22
|
downloadToken: string;
|
|
19
23
|
length: number;
|
|
24
|
+
downloadName?: string;
|
|
25
|
+
purpose?: "view" | "compare" | "compose" | "download";
|
|
20
26
|
} | undefined;
|
|
21
27
|
error: AxiosError<unknown, any> | undefined;
|
|
22
28
|
};
|
|
@@ -2,11 +2,11 @@ import { AxiosError } from "axios";
|
|
|
2
2
|
import { Settings } from "../types";
|
|
3
3
|
type Arg = Settings | ((previousState: Settings) => Settings);
|
|
4
4
|
declare const useSettings: () => {
|
|
5
|
-
data: Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "
|
|
6
|
-
trigger: import("swr/mutation").TriggerWithArgs<Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "
|
|
5
|
+
data: Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", any>> | undefined;
|
|
6
|
+
trigger: import("swr/mutation").TriggerWithArgs<Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", any>>, AxiosError<unknown, any>, string, Arg>;
|
|
7
7
|
error: any;
|
|
8
|
-
mutate: import("swr").KeyedMutator<Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "
|
|
8
|
+
mutate: import("swr").KeyedMutator<Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", any>>>;
|
|
9
9
|
isValidating: boolean;
|
|
10
|
-
isLoading:
|
|
10
|
+
isLoading: import("swr/_internal").IsLoadingResponse<Data, Config>;
|
|
11
11
|
};
|
|
12
12
|
export default useSettings;
|
|
@@ -7,5 +7,7 @@ import { SupportedItem } from "../types";
|
|
|
7
7
|
declare const useTriggerItems: () => (items: SupportedItem[], target?: (typeof TRIGGER_TARGET)[keyof typeof TRIGGER_TARGET]) => Promise<{
|
|
8
8
|
downloadToken: string;
|
|
9
9
|
length: number;
|
|
10
|
+
downloadName?: string;
|
|
11
|
+
purpose?: "view" | "compare" | "compose" | "download";
|
|
10
12
|
}> | undefined;
|
|
11
13
|
export default useTriggerItems;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function appReducer(state: import("immutable").Map<"contextMenu" | "errorAtInit" | "parameters", import("immutable").Map<"open" | "coord",
|
|
1
|
+
export default function appReducer(state: import("immutable").Map<"contextMenu" | "errorAtInit" | "parameters", import("immutable").Map<"open" | "coord", unknown> | import("immutable").Map<never, never> | undefined> | undefined, action: any): import("immutable").Map<"contextMenu" | "errorAtInit" | "parameters", import("immutable").Map<"open" | "coord", unknown> | import("immutable").Map<never, never> | undefined>;
|
|
@@ -1,26 +1,57 @@
|
|
|
1
1
|
export declare const paths: Readonly<{
|
|
2
|
-
readonly template: (params?: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
readonly
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
readonly
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
readonly
|
|
2
|
+
readonly template: (params?: {
|
|
3
|
+
[x: string]: string | null | undefined;
|
|
4
|
+
} | undefined) => string;
|
|
5
|
+
readonly terms: (params?: {
|
|
6
|
+
[x: string]: string | null | undefined;
|
|
7
|
+
} | undefined) => string;
|
|
8
|
+
readonly applicationSettings: (params?: {
|
|
9
|
+
[x: string]: string | null | undefined;
|
|
10
|
+
} | undefined) => string;
|
|
11
|
+
readonly frontendParams: (params?: {
|
|
12
|
+
[x: string]: string | null | undefined;
|
|
13
|
+
} | undefined) => string;
|
|
14
|
+
readonly generateDownloadToken: (params?: {
|
|
15
|
+
[x: string]: string | null | undefined;
|
|
16
|
+
} | undefined) => string;
|
|
17
|
+
readonly users: (params?: {
|
|
18
|
+
[x: string]: string | null | undefined;
|
|
19
|
+
} | undefined) => string;
|
|
20
|
+
readonly userSettings: (params?: {
|
|
21
|
+
[x: string]: string | null | undefined;
|
|
22
|
+
} | undefined) => string;
|
|
23
|
+
readonly groups: (params?: {
|
|
24
|
+
[x: string]: string | null | undefined;
|
|
25
|
+
} | undefined) => string;
|
|
26
|
+
readonly principals: (params?: {
|
|
27
|
+
[x: string]: string | null | undefined;
|
|
28
|
+
} | undefined) => string;
|
|
29
|
+
readonly icosPrincipals: (params?: {
|
|
30
|
+
[x: string]: string | null | undefined;
|
|
31
|
+
} | undefined) => string;
|
|
32
|
+
readonly icosUsers: (params?: {
|
|
33
|
+
[x: string]: string | null | undefined;
|
|
34
|
+
} | undefined) => string;
|
|
35
|
+
readonly productVersion: (params?: {
|
|
36
|
+
[x: string]: string | null | undefined;
|
|
37
|
+
} | undefined) => string;
|
|
38
|
+
readonly systemEnv: (params?: {
|
|
39
|
+
[x: string]: string | null | undefined;
|
|
40
|
+
} | undefined) => string;
|
|
15
41
|
readonly companionSetup: (params?: {
|
|
16
|
-
|
|
42
|
+
[x: string]: string | null | undefined;
|
|
43
|
+
version: string;
|
|
44
|
+
} | undefined) => string;
|
|
45
|
+
readonly companionDownload: (params?: {
|
|
46
|
+
[x: string]: string | null | undefined;
|
|
17
47
|
} | undefined) => string;
|
|
18
|
-
readonly companionDownload: (params?: {} | undefined) => string;
|
|
19
48
|
readonly webappConfig: (params?: {
|
|
20
|
-
|
|
49
|
+
[x: string]: string | null | undefined;
|
|
50
|
+
configType: string;
|
|
21
51
|
} | undefined) => string;
|
|
22
52
|
readonly comments: (params?: {
|
|
23
|
-
|
|
53
|
+
[x: string]: string | null | undefined;
|
|
54
|
+
commentOid: string;
|
|
24
55
|
} | undefined) => string;
|
|
25
56
|
}>;
|
|
26
57
|
/**
|
|
@@ -36,6 +36,7 @@ export type AppCapabilities = {
|
|
|
36
36
|
canAccessTasks: boolean;
|
|
37
37
|
canCreateClientGroup: boolean;
|
|
38
38
|
canTriggerAdhocScreening: boolean;
|
|
39
|
+
canTriggerBulkNameScreening: boolean;
|
|
39
40
|
canAccessLinkAnalysis: boolean;
|
|
40
41
|
canAccessRisk: boolean;
|
|
41
42
|
canAccessFM: boolean;
|
|
@@ -104,6 +105,7 @@ type DefaultTimelineEventItem = {
|
|
|
104
105
|
status?: number;
|
|
105
106
|
name?: string;
|
|
106
107
|
label?: string;
|
|
108
|
+
color?: string;
|
|
107
109
|
milestone?: string;
|
|
108
110
|
clientType?: string;
|
|
109
111
|
text?: string;
|
|
@@ -128,17 +130,24 @@ export type TimelineEvent<T = DefaultTimelineEventItem> = {
|
|
|
128
130
|
referencedObjectOid?: string;
|
|
129
131
|
referencedOid?: string;
|
|
130
132
|
scope: string;
|
|
133
|
+
context?: string;
|
|
131
134
|
commentText?: string;
|
|
132
135
|
text?: string;
|
|
133
136
|
referencedObjectPayload?: {
|
|
134
137
|
completionOutcomeLabel: string;
|
|
135
138
|
label: string;
|
|
136
139
|
name: string;
|
|
140
|
+
color?: string;
|
|
137
141
|
};
|
|
138
142
|
item: T;
|
|
139
143
|
inode?: Pick<Inode, "kind" | "oid" | "parentOid" | "label" | "mimeType" | "version"> & {
|
|
140
144
|
path?: string[];
|
|
141
145
|
};
|
|
146
|
+
/**
|
|
147
|
+
* Optional per-event delete handler. Only wired for comment events that the
|
|
148
|
+
* current user is allowed to delete (see the Inodes comments inspector).
|
|
149
|
+
*/
|
|
150
|
+
onDelete?: () => void;
|
|
142
151
|
};
|
|
143
152
|
export type EventResource = {
|
|
144
153
|
kind: "acm.EventResource";
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
* This function and its usage will be removed once the user settings are
|
|
8
8
|
* migrated to the backend.
|
|
9
9
|
*/
|
|
10
|
-
declare const convertOldUserSettings: (oldSettings: Record<string, any>) => Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "
|
|
10
|
+
declare const convertOldUserSettings: (oldSettings: Record<string, any>) => Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "agencyId" | "expandedNestedGroups" | "displayDropdownForOutcomes" | "lastOutcomeUsed" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", any>>;
|
|
11
11
|
export default convertOldUserSettings;
|
|
@@ -29,6 +29,10 @@ declare const convertTreeviewFields: (settings: Settings) => {
|
|
|
29
29
|
externalApplications?: any;
|
|
30
30
|
treeviewFields?: any;
|
|
31
31
|
dataGridOrders?: any;
|
|
32
|
+
agencyId?: any;
|
|
33
|
+
expandedNestedGroups?: any;
|
|
34
|
+
displayDropdownForOutcomes?: any;
|
|
35
|
+
lastOutcomeUsed?: any;
|
|
32
36
|
contentType?: any;
|
|
33
37
|
locales?: any;
|
|
34
38
|
enableCaseCreation?: any;
|
|
@@ -41,7 +45,7 @@ declare const convertTreeviewFields: (settings: Settings) => {
|
|
|
41
45
|
disableTaskAutoClaim?: any;
|
|
42
46
|
useRelativeDateWheneverPossible?: any;
|
|
43
47
|
customerRelatedEntitiesTemplates?: any;
|
|
44
|
-
|
|
48
|
+
documentTaskFilterFoldersByFileType?: any;
|
|
45
49
|
canOpenRelatedAlertFromInspector?: any;
|
|
46
50
|
propertyPanelOverrides?: any;
|
|
47
51
|
additionalTransactionsColumns?: any;
|
|
@@ -66,5 +70,19 @@ declare const convertTreeviewFields: (settings: Settings) => {
|
|
|
66
70
|
enableDigitalSignatureVerification?: any;
|
|
67
71
|
certificateRevocationListProxyServerUrl?: any;
|
|
68
72
|
companionScanDPIResolution?: any;
|
|
73
|
+
enableCommentLinks?: any;
|
|
74
|
+
companionMultipleEditionLimit?: any;
|
|
75
|
+
enableCompanionDefaultDuplex?: any;
|
|
76
|
+
enableCompanionDefaultColor?: any;
|
|
77
|
+
disableNotifications?: any;
|
|
78
|
+
openViewerCommentsByDefault?: any;
|
|
79
|
+
enableStampsCreation?: any;
|
|
80
|
+
enableStandardStamps?: any;
|
|
81
|
+
hideDisabledPropertiesAtUpload?: any;
|
|
82
|
+
displaySearchBarInToolbar?: any;
|
|
83
|
+
restrictAnnotationEditingToOwner?: any;
|
|
84
|
+
displayUnauthorizedItems?: any;
|
|
85
|
+
propertiesBySearchContext?: any;
|
|
86
|
+
signatureWidth?: any;
|
|
69
87
|
};
|
|
70
88
|
export default convertTreeviewFields;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const useAuth: () => import("
|
|
1
|
+
declare const useAuth: () => import("../../../../core/providers/Authentication/Context").ProviderState;
|
|
2
2
|
export default useAuth;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
+
import { OidcMetadata } from "oidc-client-ts";
|
|
1
2
|
export type OAuthConfig = {
|
|
2
3
|
authority: string;
|
|
3
4
|
clientId: string;
|
|
4
5
|
scope: string;
|
|
6
|
+
oidcConfigOverride?: Partial<OidcMetadata> | undefined;
|
|
5
7
|
};
|
|
6
8
|
export declare const paths: Readonly<{
|
|
7
|
-
readonly oAuthConfig: (params?: {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
readonly oAuthConfig: (params?: {
|
|
10
|
+
[x: string]: string | null | undefined;
|
|
11
|
+
} | undefined) => string;
|
|
12
|
+
readonly dmsToken: (params?: {
|
|
13
|
+
[x: string]: string | null | undefined;
|
|
14
|
+
} | undefined) => string;
|
|
15
|
+
readonly dmsLogout: (params?: {
|
|
16
|
+
[x: string]: string | null | undefined;
|
|
17
|
+
} | undefined) => string;
|
|
10
18
|
}>;
|
|
11
19
|
export declare function getOAuth2Config(): Promise<OAuthConfig>;
|
|
12
20
|
export declare function getDMSAuthToken(credentials?: {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { User } from "oidc-client-ts";
|
|
2
2
|
export interface ProviderConfiguration<C extends (() => Promise<unknown>) | Record<string, unknown> | undefined = undefined> {
|
|
3
3
|
type: "oidc" | "internal";
|
|
4
4
|
configuration?: C;
|
|
5
5
|
validateAccessToken: (token: string) => boolean;
|
|
6
6
|
authenticateRequest: (params: C extends () => Promise<unknown> ? Awaited<ReturnType<C>> : C, sessionStartHandler: (type: ProviderConfiguration<C>["type"], payload: Payload, locationState?: LocationStateLike) => void, locationState?: LocationStateLike, authenticationWorkflow?: AuthentificationWorkflow) => Promise<void>;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
createTokenRefresher?: (params: C extends () => Promise<unknown> ? Awaited<ReturnType<C>> : C) => (token: string) => ReturnType<ProviderConfiguration<C>["refreshTokenRequest"]>;
|
|
7
|
+
revokeTokenRequest: () => Promise<boolean>;
|
|
8
|
+
addUserLoadedEventListener?: (callback: (user: User | null | undefined) => void) => () => void;
|
|
10
9
|
}
|
|
11
10
|
export type AuthentificationWorkflow = "http-header" | "internal";
|
|
12
11
|
export type LocationStateLike = {
|
|
@@ -15,11 +14,10 @@ export type LocationStateLike = {
|
|
|
15
14
|
[key: string]: unknown;
|
|
16
15
|
};
|
|
17
16
|
/**
|
|
18
|
-
* Generic token object with at least accessToken
|
|
17
|
+
* Generic token object with at least accessToken
|
|
19
18
|
*/
|
|
20
19
|
export type Payload = {
|
|
21
20
|
accessToken: string;
|
|
22
|
-
refreshToken?: string;
|
|
23
21
|
};
|
|
24
22
|
export interface Provider<C extends (() => Promise<unknown>) | Record<string, unknown> | undefined = undefined> extends Omit<ProviderConfiguration<C>, "configuration"> {
|
|
25
23
|
configuration?: C extends () => Promise<unknown> ? Awaited<ReturnType<C>> : C;
|
|
@@ -33,6 +31,6 @@ export type MessageData = {
|
|
|
33
31
|
type: "session_end";
|
|
34
32
|
payload?: unknown;
|
|
35
33
|
} | {
|
|
36
|
-
type: "
|
|
34
|
+
type: "session_start";
|
|
37
35
|
payload: MessageDataPayload;
|
|
38
36
|
};
|