@imtf/dms-core 7.4.3-beta.0 → 8.0.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/core/components/dms-ui/facet/DateRangeSearcher.d.ts +1 -1
- package/core/components/dms-ui/facet/Textfield.d.ts +2 -1
- package/core/components/dms-ui/types.d.ts +1 -0
- package/core/components/dms-ui/utils/getComponent.d.ts +1 -1
- package/core/constants/apps.d.ts +5 -0
- package/core/constants/kinds.d.ts +1 -0
- package/core/constants/permissions.d.ts +1 -0
- package/core/containers/DataGrid/types.d.ts +1 -1
- package/core/containers/PDFTronViewer/constants.d.ts +1 -0
- package/core/containers/PDFTronViewer/messages.d.ts +8 -0
- package/core/providers/App/hooks/useApplicationSettings.d.ts +1 -0
- package/core/providers/App/hooks/useSettings.d.ts +3 -3
- package/core/providers/App/types.d.ts +23 -2
- package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
- package/core/providers/App/utils/convertTreeviewFields.d.ts +1 -0
- package/core/providers/App/utils/isAuditEvent.d.ts +2 -0
- package/core/providers/Ccm/types.d.ts +13 -0
- package/core/providers/Definitions/types.d.ts +1 -1
- package/core/providers/Inodes/constants.d.ts +1 -0
- package/core/providers/Inodes/messages.d.ts +20 -0
- package/core/providers/Inodes/service.d.ts +5 -0
- package/core/providers/Plugins/pluginRegistry.d.ts +1 -1
- package/core/providers/User/hooks/useAgencies.d.ts +3 -1
- package/core/providers/User/hooks/useIsAgencyEnabled.d.ts +1 -0
- package/core/services/constants.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5,7 +5,8 @@ type TextFieldComponentProps = {
|
|
|
5
5
|
label: string;
|
|
6
6
|
required?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
|
+
placeholder?: string;
|
|
8
9
|
onChange?: (name: string, value: unknown) => void;
|
|
9
10
|
};
|
|
10
|
-
export default function TextFieldComponent({ control, name, label, required, disabled, onChange, ...props }: TextFieldComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default function TextFieldComponent({ control, name, label, required, disabled, placeholder, onChange, ...props }: TextFieldComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -17,4 +17,4 @@ export default function getComponent(kind: PropertiesComponent["kind"] | UIPrope
|
|
|
17
17
|
kind: PropertiesComponent["kind"];
|
|
18
18
|
}) => import("react/jsx-runtime").JSX.Element) | ((props: import("../default/Textfield").TextFieldComponentProps) => import("react/jsx-runtime").JSX.Element) | ((props: import("../default/NumberFormattedTexfield").NumberFormattedTextfieldProps) => import("react/jsx-runtime").JSX.Element) | (({ component, }: {
|
|
19
19
|
component: PropertiesComponent;
|
|
20
|
-
}) => import("react/jsx-runtime").JSX.Element) | typeof Facet.Select | typeof Facet.DateRangeSearcher | typeof Default.Group | typeof Default.NestedGroup | typeof Default.DatasourceAutocomplete | typeof Default.DatePicker;
|
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element) | typeof Facet.Select | typeof Facet.DateRangeSearcher | typeof Facet.NumericRangePicker | typeof Default.Group | typeof Default.NestedGroup | typeof Default.DatasourceAutocomplete | typeof Default.DatePicker;
|
package/core/constants/apps.d.ts
CHANGED
|
@@ -48,3 +48,8 @@ export declare const WORKBENCH: {
|
|
|
48
48
|
readonly path: "#" | "/workbench";
|
|
49
49
|
readonly capability: "canAccessWorkbench";
|
|
50
50
|
};
|
|
51
|
+
export declare const AUDIT_MANAGER: {
|
|
52
|
+
readonly id: "audit";
|
|
53
|
+
readonly path: "/audit-manager";
|
|
54
|
+
readonly capability: "canAccessAudit";
|
|
55
|
+
};
|
|
@@ -54,6 +54,7 @@ export declare const TASK_DOCUMENT_ERRORS_LIST = "acm.TaskDocumentErrorsList";
|
|
|
54
54
|
export declare const TYPE_DETECTION_REQUEST = "dms-core.TypeDetectionRequest";
|
|
55
55
|
export declare const BUSINESS_PROCESS_TASK_REF = "dms-inodes-business-processes.BusinessProcessHumanTaskRef";
|
|
56
56
|
export declare const BUSINESS_PROCESS_CASE_REF = "dms-inodes-business-processes.BusinessProcessCaseRef";
|
|
57
|
+
export declare const AUDIT_EVENT = "audit.Event";
|
|
57
58
|
export declare const DENIED_RESOURCE = "DeniedInodeResource";
|
|
58
59
|
export declare const LOAD_MORE = "dms-core.ui.LoadMoreButton";
|
|
59
60
|
export declare const STACK = "dms-core.InodeStack";
|
|
@@ -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";
|
|
@@ -40,7 +40,7 @@ export type Row = {
|
|
|
40
40
|
loadMoreParentId?: string;
|
|
41
41
|
hierarchy: string[];
|
|
42
42
|
};
|
|
43
|
-
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"]}`;
|
|
44
44
|
export type UserSettingTreeviewField = {
|
|
45
45
|
name: string;
|
|
46
46
|
hidden?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const ACCEPT_IMAGE = "image/x-png,image/gif,image/jpeg,image/png";
|
|
2
2
|
export declare const MODAL_TYPES: {
|
|
3
3
|
readonly ABORT: "imtf/PDFTronViewer/modal/ABORT";
|
|
4
|
+
readonly SIGNED_DOCUMENT_WARNING: "imtf/PDFTronViewer/modal/SIGNED_DOCUMENT_WARNING";
|
|
4
5
|
};
|
|
5
6
|
export declare const SUPPORTED_MIME_TYPES: {
|
|
6
7
|
"application/pdf": string;
|
|
@@ -43,6 +43,14 @@ declare const _default: {
|
|
|
43
43
|
id: string;
|
|
44
44
|
defaultMessage: string;
|
|
45
45
|
};
|
|
46
|
+
documentSealed: {
|
|
47
|
+
id: string;
|
|
48
|
+
defaultMessage: string;
|
|
49
|
+
};
|
|
50
|
+
documentSealingError: {
|
|
51
|
+
id: string;
|
|
52
|
+
defaultMessage: string;
|
|
53
|
+
};
|
|
46
54
|
compareFirstFile: {
|
|
47
55
|
id: string;
|
|
48
56
|
defaultMessage: string;
|
|
@@ -54,6 +54,7 @@ declare const useApplicationSettings: () => {
|
|
|
54
54
|
restrictAnnotationEditingToOwner?: unknown;
|
|
55
55
|
displayUnauthorizedItems?: unknown;
|
|
56
56
|
propertiesBySearchContext?: unknown;
|
|
57
|
+
documentTypeKeySuffix?: unknown;
|
|
57
58
|
signatureWidth?: unknown;
|
|
58
59
|
applicationSortOrder?: string | undefined;
|
|
59
60
|
capabilities?: import("../types").AppCapabilities | undefined;
|
|
@@ -2,10 +2,10 @@ 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" | "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" | "taskDocumentReloadIntervals" | "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" | "taskDocumentReloadIntervals" | "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>;
|
|
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" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "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" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "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" | "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" | "taskDocumentReloadIntervals" | "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>>>;
|
|
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" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "signatureWidth", any>>>;
|
|
9
9
|
isValidating: boolean;
|
|
10
10
|
isLoading: import("swr/_internal").IsLoadingResponse<Data, Config>;
|
|
11
11
|
};
|
|
@@ -4,7 +4,7 @@ import { ReactNode } from "react";
|
|
|
4
4
|
import settingsSchema from "@/features/User/settings.schema.json";
|
|
5
5
|
import type { PropertiesComponent } from "../../../core/components/dms-ui/types";
|
|
6
6
|
import EVENTS from "@/core/constants/events.json";
|
|
7
|
-
import { ACM_COMMENT } from "../../../core/constants/kinds";
|
|
7
|
+
import { ACM_COMMENT, AUDIT_EVENT } from "../../../core/constants/kinds";
|
|
8
8
|
import type { Case } from "../Cases/types";
|
|
9
9
|
import type { Inode } from "../Inodes/types";
|
|
10
10
|
import type { Entity } from "../MdmGraph/types";
|
|
@@ -30,6 +30,7 @@ export type ApplicationSettings = {
|
|
|
30
30
|
};
|
|
31
31
|
export type AppCapabilities = {
|
|
32
32
|
canAccessDashboard: boolean;
|
|
33
|
+
canAccessAudit: boolean;
|
|
33
34
|
canAccessAdmin: boolean;
|
|
34
35
|
canAccessC360: boolean;
|
|
35
36
|
canAccessCases: boolean;
|
|
@@ -39,6 +40,7 @@ export type AppCapabilities = {
|
|
|
39
40
|
canTriggerBulkNameScreening: boolean;
|
|
40
41
|
canAccessLinkAnalysis: boolean;
|
|
41
42
|
canAccessRisk: boolean;
|
|
43
|
+
canDigitallySign: boolean;
|
|
42
44
|
canAccessFM: boolean;
|
|
43
45
|
canAccessFMHome: boolean;
|
|
44
46
|
canAccessFMSearch: boolean;
|
|
@@ -80,6 +82,20 @@ export type AcmComment = {
|
|
|
80
82
|
uri: string;
|
|
81
83
|
username: string;
|
|
82
84
|
};
|
|
85
|
+
/** Audit event inspected in the audit manager, reported whole by the search response. */
|
|
86
|
+
export type AuditEventItem = {
|
|
87
|
+
kind: typeof AUDIT_EVENT;
|
|
88
|
+
oid: string;
|
|
89
|
+
label: string;
|
|
90
|
+
eventType: string;
|
|
91
|
+
timeStamp: string;
|
|
92
|
+
triggeringIdentity: string;
|
|
93
|
+
userLabel: string;
|
|
94
|
+
resourceId: string | null;
|
|
95
|
+
resourceType: string | null;
|
|
96
|
+
resourceTypeLabel?: string;
|
|
97
|
+
payload: Record<string, unknown>;
|
|
98
|
+
};
|
|
83
99
|
export type FormError = {
|
|
84
100
|
kind: "acm.FormError";
|
|
85
101
|
ancestorsOid: string[];
|
|
@@ -143,6 +159,11 @@ export type TimelineEvent<T = DefaultTimelineEventItem> = {
|
|
|
143
159
|
inode?: Pick<Inode, "kind" | "oid" | "parentOid" | "label" | "mimeType" | "version"> & {
|
|
144
160
|
path?: string[];
|
|
145
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* Optional per-event delete handler. Only wired for comment events that the
|
|
164
|
+
* current user is allowed to delete (see the Inodes comments inspector).
|
|
165
|
+
*/
|
|
166
|
+
onDelete?: () => void;
|
|
146
167
|
};
|
|
147
168
|
export type EventResource = {
|
|
148
169
|
kind: "acm.EventResource";
|
|
@@ -186,7 +207,7 @@ export type PropertiesPanelOverrides = {
|
|
|
186
207
|
[componentsName: string]: Partial<PropertiesComponent>;
|
|
187
208
|
};
|
|
188
209
|
};
|
|
189
|
-
export type SupportedItem = Case | Task | Inode | Entity;
|
|
210
|
+
export type SupportedItem = Case | Task | Inode | Entity | AuditEventItem;
|
|
190
211
|
export type DeniedResource = {
|
|
191
212
|
kind: "DeniedInodeResource";
|
|
192
213
|
oid: string;
|
|
@@ -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" | "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" | "taskDocumentReloadIntervals" | "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>>;
|
|
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" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "signatureWidth", any>>;
|
|
11
11
|
export default convertOldUserSettings;
|
|
@@ -84,6 +84,7 @@ declare const convertTreeviewFields: (settings: Settings) => {
|
|
|
84
84
|
restrictAnnotationEditingToOwner?: any;
|
|
85
85
|
displayUnauthorizedItems?: any;
|
|
86
86
|
propertiesBySearchContext?: any;
|
|
87
|
+
documentTypeKeySuffix?: any;
|
|
87
88
|
signatureWidth?: any;
|
|
88
89
|
};
|
|
89
90
|
export default convertTreeviewFields;
|
|
@@ -72,9 +72,13 @@ export type IMatchCaseEntity = CcmEntity<typeof ENTITY_TYPES.IMATCH_CASE, {
|
|
|
72
72
|
birthLocation: string[];
|
|
73
73
|
customerCategory: string;
|
|
74
74
|
firstName: string;
|
|
75
|
+
imatchResult?: string;
|
|
76
|
+
isArchived?: boolean;
|
|
75
77
|
lastSuccessfulScreeningDate: string;
|
|
78
|
+
legalStatus?: string;
|
|
76
79
|
listOriginIds: string[];
|
|
77
80
|
name: string;
|
|
81
|
+
nameScreened?: string;
|
|
78
82
|
originId: string;
|
|
79
83
|
screeningSource: string;
|
|
80
84
|
yearOfBirth: string;
|
|
@@ -84,14 +88,18 @@ export type IMatchAlertEntity = CcmEntity<typeof ENTITY_TYPES.IMATCH_ALERT, {
|
|
|
84
88
|
aliases: string[];
|
|
85
89
|
birthDate: string[];
|
|
86
90
|
birthLocation: string[];
|
|
91
|
+
category?: string;
|
|
87
92
|
categories: string[];
|
|
88
93
|
externalLinks: string[];
|
|
89
94
|
firstName: string;
|
|
90
95
|
furtherInformation: string;
|
|
91
96
|
gender: string;
|
|
92
97
|
hitName: string;
|
|
98
|
+
hitJustification?: string | null;
|
|
93
99
|
idNumbers: string[];
|
|
100
|
+
identification?: string | null;
|
|
94
101
|
isAlive: boolean;
|
|
102
|
+
isArchived?: boolean;
|
|
95
103
|
keywords: string[];
|
|
96
104
|
linkedTo: string[];
|
|
97
105
|
listName: string;
|
|
@@ -99,6 +107,7 @@ export type IMatchAlertEntity = CcmEntity<typeof ENTITY_TYPES.IMATCH_ALERT, {
|
|
|
99
107
|
name: string;
|
|
100
108
|
nationalities: string[];
|
|
101
109
|
originId: string;
|
|
110
|
+
otherReason?: string | null;
|
|
102
111
|
personType: string;
|
|
103
112
|
positions: string[];
|
|
104
113
|
recordCreatedAt: string;
|
|
@@ -106,6 +115,10 @@ export type IMatchAlertEntity = CcmEntity<typeof ENTITY_TYPES.IMATCH_ALERT, {
|
|
|
106
115
|
recordStoredAt: string;
|
|
107
116
|
score: string;
|
|
108
117
|
screenedDate: string;
|
|
118
|
+
subCategory?: string;
|
|
119
|
+
justification?: string | null;
|
|
120
|
+
materiality?: string | null;
|
|
121
|
+
reason?: string[] | null;
|
|
109
122
|
watchListType: string;
|
|
110
123
|
isProcessed: boolean;
|
|
111
124
|
isAdhoc: boolean;
|
|
@@ -202,7 +202,7 @@ export type SidePanelDefinition = {
|
|
|
202
202
|
name: string;
|
|
203
203
|
resourceNames: string[];
|
|
204
204
|
position: "right" | "left";
|
|
205
|
-
resourceKind: "acm.Case" | "acm.HumanTask" | "dms-core.Folder" | "dms-core.File" | "dms-core.Dossier" | "mdm.Entity";
|
|
205
|
+
resourceKind: "acm.Case" | "acm.HumanTask" | "dms-core.Folder" | "dms-core.File" | "dms-core.Dossier" | "mdm.Entity" | "audit.Event";
|
|
206
206
|
tabs: Array<{
|
|
207
207
|
label: string;
|
|
208
208
|
name: string;
|
|
@@ -20,6 +20,7 @@ export declare const EVENT_TYPES: {
|
|
|
20
20
|
readonly FOLDER_DELETED: "FOLDER_DELETED";
|
|
21
21
|
readonly FOLDER_RESTORED: "FOLDER_RESTORED";
|
|
22
22
|
readonly INODE_COMMENTED: "INODE_COMMENTED";
|
|
23
|
+
readonly INODE_COMMENT_DELETED: "INODE_COMMENT_DELETED";
|
|
23
24
|
readonly INODE_STATE_UPDATED_V2: "INODE_STATE_UPDATED_V2";
|
|
24
25
|
readonly LINK_CREATED: "LINK_CREATED";
|
|
25
26
|
readonly FILE_TYPE_ASSIGNED: "FILE_TYPE_ASSIGNED";
|
|
@@ -459,6 +459,26 @@ declare const _default: {
|
|
|
459
459
|
id: string;
|
|
460
460
|
defaultMessage: string;
|
|
461
461
|
};
|
|
462
|
+
deleteInodeComment: {
|
|
463
|
+
id: string;
|
|
464
|
+
defaultMessage: string;
|
|
465
|
+
};
|
|
466
|
+
deleteCommentSuccess: {
|
|
467
|
+
id: string;
|
|
468
|
+
defaultMessage: string;
|
|
469
|
+
};
|
|
470
|
+
deleteCommentError: {
|
|
471
|
+
id: string;
|
|
472
|
+
defaultMessage: string;
|
|
473
|
+
};
|
|
474
|
+
deleteCommentConfirmTitle: {
|
|
475
|
+
id: string;
|
|
476
|
+
defaultMessage: string;
|
|
477
|
+
};
|
|
478
|
+
deleteCommentConfirmText: {
|
|
479
|
+
id: string;
|
|
480
|
+
defaultMessage: string;
|
|
481
|
+
};
|
|
462
482
|
expandAllChildren: {
|
|
463
483
|
id: string;
|
|
464
484
|
defaultMessage: string;
|
|
@@ -45,6 +45,11 @@ export declare const paths: Readonly<{
|
|
|
45
45
|
[x: string]: string | null | undefined;
|
|
46
46
|
inodeOid: string;
|
|
47
47
|
} | undefined) => string;
|
|
48
|
+
readonly comment: (params?: {
|
|
49
|
+
[x: string]: string | null | undefined;
|
|
50
|
+
inodeOid: string;
|
|
51
|
+
commentOid: string;
|
|
52
|
+
} | undefined) => string;
|
|
48
53
|
readonly timeline: (params?: {
|
|
49
54
|
[x: string]: string | null | undefined;
|
|
50
55
|
inodeOid: string;
|
|
@@ -81,7 +81,7 @@ declare class PluginRegistry {
|
|
|
81
81
|
message: (() => React.ReactNode) | React.ReactNode;
|
|
82
82
|
}) => string | number;
|
|
83
83
|
};
|
|
84
|
-
useParameter: <T>(key: "translations" | "language" | "navigateOnTaskCompletion" | "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" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", defaultValue?: T) => T | undefined;
|
|
84
|
+
useParameter: <T>(key: "translations" | "language" | "navigateOnTaskCompletion" | "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" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "documentTypeKeySuffix" | "signatureWidth", defaultValue?: T) => T | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* @deprecated
|
|
87
87
|
*/
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { Agency } from "../types";
|
|
2
2
|
declare const useAgencies: () => {
|
|
3
|
+
isLoading: boolean;
|
|
4
|
+
hasNoActiveAgency: boolean;
|
|
3
5
|
agencyBranchSecurityEnabled: boolean | undefined;
|
|
4
6
|
agencyIdentifierTermName: string | undefined;
|
|
5
7
|
userAgencyId: string | undefined;
|
|
8
|
+
userAgencyOid: string | undefined;
|
|
6
9
|
shouldAddAgencyToQueryParams: boolean;
|
|
7
10
|
error: any;
|
|
8
11
|
mutate: import("swr").KeyedMutator<{
|
|
9
12
|
agencies: Agency[];
|
|
10
13
|
}>;
|
|
11
14
|
isValidating: boolean;
|
|
12
|
-
isLoading: import("swr/_internal").IsLoadingResponse<Data, Config>;
|
|
13
15
|
data: Agency[] | undefined;
|
|
14
16
|
};
|
|
15
17
|
export default useAgencies;
|