@imtf/dms-core 7.4.0 → 7.4.3-beta.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/utils/getComponent.d.ts +1 -1
- package/core/constants/permissions.d.ts +0 -1
- package/core/containers/DataGrid/types.d.ts +1 -1
- 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 +0 -5
- package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
- package/core/providers/App/utils/convertTreeviewFields.d.ts +1 -0
- package/core/providers/Cases/utils/mutateDocumentGuidance.d.ts +17 -0
- package/core/providers/Definitions/types.d.ts +1 -0
- package/core/providers/Inodes/constants.d.ts +0 -1
- package/core/providers/Inodes/messages.d.ts +0 -20
- package/core/providers/Inodes/service.d.ts +0 -5
- package/core/providers/Inodes/utils/mutateInodes.d.ts +21 -0
- package/core/providers/Plugins/pluginRegistry.d.ts +1 -1
- package/core/providers/User/hooks/useAgencies.d.ts +0 -1
- package/core/services/constants.d.ts +0 -1
- package/core/theme/theme.base.d.ts +0 -1
- package/package.json +1 -1
|
@@ -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
|
|
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;
|
|
@@ -2,7 +2,6 @@ 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";
|
|
6
5
|
export declare const ANNOTATE = "ANNOTATE";
|
|
7
6
|
export declare const COMPOSE = "COMPOSE";
|
|
8
7
|
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" |
|
|
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"]}`;
|
|
44
44
|
export type UserSettingTreeviewField = {
|
|
45
45
|
name: string;
|
|
46
46
|
hidden?: boolean;
|
|
@@ -30,6 +30,7 @@ declare const useApplicationSettings: () => {
|
|
|
30
30
|
enableBarcodeProcessing?: unknown;
|
|
31
31
|
enablePropertiesUpload?: unknown;
|
|
32
32
|
navigateOnCaseCreation?: unknown;
|
|
33
|
+
taskDocumentReloadIntervals?: unknown;
|
|
33
34
|
authenticationWorkflow?: unknown;
|
|
34
35
|
hitListLimit?: unknown;
|
|
35
36
|
inodeListLimit?: unknown;
|
|
@@ -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" | "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>;
|
|
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>;
|
|
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" | "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" | "signatureWidth", any>>>;
|
|
9
9
|
isValidating: boolean;
|
|
10
10
|
isLoading: import("swr/_internal").IsLoadingResponse<Data, Config>;
|
|
11
11
|
};
|
|
@@ -143,11 +143,6 @@ export type TimelineEvent<T = DefaultTimelineEventItem> = {
|
|
|
143
143
|
inode?: Pick<Inode, "kind" | "oid" | "parentOid" | "label" | "mimeType" | "version"> & {
|
|
144
144
|
path?: string[];
|
|
145
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;
|
|
151
146
|
};
|
|
152
147
|
export type EventResource = {
|
|
153
148
|
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" | "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>>;
|
|
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>>;
|
|
11
11
|
export default convertOldUserSettings;
|
|
@@ -60,6 +60,7 @@ declare const convertTreeviewFields: (settings: Settings) => {
|
|
|
60
60
|
enableBarcodeProcessing?: any;
|
|
61
61
|
enablePropertiesUpload?: any;
|
|
62
62
|
navigateOnCaseCreation?: any;
|
|
63
|
+
taskDocumentReloadIntervals?: any;
|
|
63
64
|
authenticationWorkflow?: any;
|
|
64
65
|
hitListLimit?: any;
|
|
65
66
|
inodeListLimit?: any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Invalidate the case document guidance.
|
|
3
|
+
*
|
|
4
|
+
* The guidance is derived from both the case files and the case entities, so it
|
|
5
|
+
* must be refetched whenever either changes:
|
|
6
|
+
* - file changes go through `mutateInodes`, which the guidance already
|
|
7
|
+
* subscribes to through its `INODES_UPDATED` mutation key;
|
|
8
|
+
* - entity changes go through `mutateTaskData`, which calls this.
|
|
9
|
+
*
|
|
10
|
+
* Call this from the mutation choke points only, never from a component or an
|
|
11
|
+
* SWR middleware: a hook used by N components (`useTaskData` is instantiated
|
|
12
|
+
* per editor row) would fire N invalidations for a single change, and `mutate`
|
|
13
|
+
* clears the dedupe marker before revalidating, so each one is a real
|
|
14
|
+
* concurrent request.
|
|
15
|
+
*/
|
|
16
|
+
declare const mutateDocumentGuidance: () => Promise<any[]>;
|
|
17
|
+
export default mutateDocumentGuidance;
|
|
@@ -126,6 +126,7 @@ export type TaskDefinition = {
|
|
|
126
126
|
type: "form" | "todo" | "documents" | "documents_filing" | "documents_approval";
|
|
127
127
|
assignRequiresComment: boolean;
|
|
128
128
|
canProcessTaskFromActionMenu: boolean;
|
|
129
|
+
hasAsyncPostCompletionProcessing: boolean;
|
|
129
130
|
commentRequired: boolean;
|
|
130
131
|
ownerRequired: boolean;
|
|
131
132
|
assignee: boolean;
|
|
@@ -20,7 +20,6 @@ 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";
|
|
24
23
|
readonly INODE_STATE_UPDATED_V2: "INODE_STATE_UPDATED_V2";
|
|
25
24
|
readonly LINK_CREATED: "LINK_CREATED";
|
|
26
25
|
readonly FILE_TYPE_ASSIGNED: "FILE_TYPE_ASSIGNED";
|
|
@@ -459,26 +459,6 @@ 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
|
-
};
|
|
482
462
|
expandAllChildren: {
|
|
483
463
|
id: string;
|
|
484
464
|
defaultMessage: string;
|
|
@@ -45,11 +45,6 @@ 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;
|
|
53
48
|
readonly timeline: (params?: {
|
|
54
49
|
[x: string]: string | null | undefined;
|
|
55
50
|
inodeOid: string;
|
|
@@ -1,7 +1,28 @@
|
|
|
1
1
|
import { Inode } from "../../Inodes/types";
|
|
2
|
+
/**
|
|
3
|
+
* Populate the SWR cache with inodes that have just been fetched.
|
|
4
|
+
*
|
|
5
|
+
* This is the read-safe half of `mutateInodes`: it writes what was read into
|
|
6
|
+
* the per-inode cache entries without claiming anything changed. Read paths
|
|
7
|
+
* must use this rather than `mutateInodes`, because broadcasting
|
|
8
|
+
* INODES_UPDATED forces a refetch of every case/task subscriber (document
|
|
9
|
+
* guidance, case files, task data, task files) for data nobody modified.
|
|
10
|
+
*
|
|
11
|
+
* The inodes come straight from the server, so they are written without a
|
|
12
|
+
* revalidation: otherwise `mutate` would immediately re-GET what was just
|
|
13
|
+
* written, once per inode, on every revalidation of the calling hook.
|
|
14
|
+
*/
|
|
15
|
+
export declare const seedInodes: (inodes: (Inode | Inode["oid"])[]) => void;
|
|
2
16
|
/**
|
|
3
17
|
* Mutate the inodes and the inodes updated key.
|
|
4
18
|
* Mutating the INODES_UPDATED is important to refetch the data for tasks and cases.
|
|
19
|
+
*
|
|
20
|
+
* Only call this when inodes actually changed; on read paths use `seedInodes`.
|
|
21
|
+
*
|
|
22
|
+
* Unlike `seedInodes`, the per-inode writes revalidate. Several callers pass
|
|
23
|
+
* the inode they had *before* the mutation (see `useTags`, `useAddComment`,
|
|
24
|
+
* `Properties`), so the write is only an optimistic placeholder and the
|
|
25
|
+
* follow-up GET is what actually makes the cache correct.
|
|
5
26
|
*/
|
|
6
27
|
declare const mutateInodes: (inodes: (Inode | Inode["oid"])[]) => void;
|
|
7
28
|
export default mutateInodes;
|
|
@@ -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" | "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" | "signatureWidth", defaultValue?: T) => T | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* @deprecated
|
|
87
87
|
*/
|
|
@@ -3,7 +3,6 @@ declare const useAgencies: () => {
|
|
|
3
3
|
agencyBranchSecurityEnabled: boolean | undefined;
|
|
4
4
|
agencyIdentifierTermName: string | undefined;
|
|
5
5
|
userAgencyId: string | undefined;
|
|
6
|
-
userAgencyOid: string | undefined;
|
|
7
6
|
shouldAddAgencyToQueryParams: boolean;
|
|
8
7
|
error: any;
|
|
9
8
|
mutate: import("swr").KeyedMutator<{
|