@imtf/dms-core 1.0.0-beta.2 → 1.1.0-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.
Files changed (166) hide show
  1. package/apps/folder-manager/routes/InodeCollection/hooks/useRemoveInodesFromUrl.d.ts +4 -0
  2. package/core/components/Chip/Chip.d.ts +8 -0
  3. package/core/components/Chip/index.d.ts +1 -0
  4. package/core/components/CloseModalButton/CloseModalButton.d.ts +10 -0
  5. package/core/components/CloseModalButton/index.d.ts +1 -0
  6. package/core/components/DatePicker/DatePicker.d.ts +6 -0
  7. package/core/components/DatePicker/index.d.ts +1 -0
  8. package/core/components/Error/index.d.ts +7 -0
  9. package/core/components/FormattedNumberTextfield/FormattedNumberTextfield.d.ts +3 -0
  10. package/core/components/FormattedNumberTextfield/index.d.ts +1 -0
  11. package/core/components/ItemIcon/TaskIcon.d.ts +5 -0
  12. package/core/components/ItemIcon/index.d.ts +19 -0
  13. package/core/components/JsonForm/types.d.ts +15 -0
  14. package/core/components/Select/ListboxComponent.d.ts +5 -0
  15. package/core/components/Select/Select.d.ts +20 -0
  16. package/core/components/Select/index.d.ts +1 -0
  17. package/core/components/dms-ui/DatasourceAutocomplete.d.ts +14 -0
  18. package/core/components/dms-ui/ImmutableComposer.d.ts +15 -0
  19. package/core/components/dms-ui/immutableDefault/DatasourceAutocomplete.d.ts +19 -0
  20. package/core/components/dms-ui/immutableDefault/DatePicker.d.ts +15 -0
  21. package/core/components/dms-ui/immutableDefault/Group.d.ts +16 -0
  22. package/core/components/dms-ui/immutableDefault/NumberFormattedTexfield.d.ts +14 -0
  23. package/core/components/dms-ui/immutableDefault/NumberTextfield.d.ts +2 -0
  24. package/core/components/dms-ui/immutableDefault/RadioButton.d.ts +19 -0
  25. package/core/components/dms-ui/immutableDefault/Select.d.ts +19 -0
  26. package/core/components/dms-ui/immutableDefault/Switch.d.ts +19 -0
  27. package/core/components/dms-ui/immutableDefault/Textfield.d.ts +21 -0
  28. package/core/components/dms-ui/immutableDefault/index.d.ts +10 -0
  29. package/core/components/dms-ui/immutableFacet/DatasourceAutocomplete.d.ts +13 -0
  30. package/core/components/dms-ui/immutableFacet/DateRangeSearcher.d.ts +14 -0
  31. package/core/components/dms-ui/immutableFacet/Facet.d.ts +23 -0
  32. package/core/components/dms-ui/immutableFacet/NumericRangePicker.d.ts +14 -0
  33. package/core/components/dms-ui/immutableFacet/Select.d.ts +13 -0
  34. package/core/components/dms-ui/immutableFacet/Textfield.d.ts +13 -0
  35. package/core/components/dms-ui/immutableFacet/TypePicker.d.ts +13 -0
  36. package/core/components/dms-ui/immutableFacet/index.d.ts +7 -0
  37. package/core/components/dms-ui/immutableFacet/styles.d.ts +5 -0
  38. package/core/components/dms-ui/messages.d.ts +27 -0
  39. package/core/components/dms-ui/types.d.ts +49 -0
  40. package/core/components/dms-ui/utils/getImmutableComponent.d.ts +19 -0
  41. package/core/components/dms-ui/utils/removeLabelFromValues.d.ts +1 -0
  42. package/core/components/dms-ui/utils/utils.d.ts +3 -0
  43. package/core/constants/apps.d.ts +0 -5
  44. package/core/constants/kinds.d.ts +1 -0
  45. package/core/containers/DataGrid/constants.d.ts +26 -0
  46. package/core/containers/DataGrid/types.d.ts +36 -0
  47. package/core/containers/DataGrid/utils/handleWidth.d.ts +18 -0
  48. package/core/containers/DropZone/actions.d.ts +25 -0
  49. package/core/containers/DropZone/constants.d.ts +5 -0
  50. package/core/containers/DropZone/selectors.d.ts +8 -70
  51. package/core/containers/PDFTronViewer/components/LightViewer/config.d.ts +1 -0
  52. package/core/containers/PDFTronViewer/constants.d.ts +0 -1
  53. package/core/containers/SearchDataGrid/types.d.ts +16 -0
  54. package/core/hooks/useCollator.d.ts +2 -0
  55. package/core/providers/Actions/types.d.ts +2 -4
  56. package/core/providers/App/actions.d.ts +8 -6
  57. package/core/providers/App/constants.d.ts +0 -1
  58. package/core/providers/App/hooks/useApplicationSettings.d.ts +3 -2
  59. package/core/providers/App/hooks/useDownload.d.ts +23 -0
  60. package/core/providers/App/hooks/useSettings.d.ts +4 -8
  61. package/core/providers/App/hooks/useTriggerItems.d.ts +11 -0
  62. package/core/providers/App/messages.d.ts +8 -0
  63. package/core/providers/App/types.d.ts +8 -2
  64. package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
  65. package/core/providers/App/utils/convertTreeviewFields.d.ts +69 -0
  66. package/core/providers/App/utils/sortListByWeightAndName.d.ts +8 -0
  67. package/core/providers/Cases/actions.d.ts +16 -3
  68. package/core/providers/Cases/hooks/useCaseFiles.d.ts +4 -0
  69. package/core/providers/Cases/utils/common.d.ts +37 -9
  70. package/core/providers/Ccm/types.d.ts +5 -0
  71. package/core/providers/DataGrid/Context.d.ts +47 -0
  72. package/core/providers/Definitions/hooks/useTaskDefinition.d.ts +1 -0
  73. package/core/providers/Definitions/hooks/useTaskDefinitions.d.ts +4 -0
  74. package/core/providers/Definitions/types.d.ts +14 -11
  75. package/core/providers/Definitions/utils/typesToTypeRefs.d.ts +5 -0
  76. package/core/providers/Inodes/actions.d.ts +13 -441
  77. package/core/providers/Inodes/constants.d.ts +1 -44
  78. package/core/providers/Inodes/hooks/useDelete.d.ts +5 -2
  79. package/core/providers/Inodes/hooks/useInodeByOid.d.ts +5 -0
  80. package/core/providers/Inodes/hooks/useInodeTypeAssignment.d.ts +4 -0
  81. package/core/providers/Inodes/hooks/useInodesByOids.d.ts +7 -0
  82. package/core/providers/Inodes/hooks/usePropertiesType.d.ts +14 -0
  83. package/core/providers/Inodes/hooks/usePropertyComponents.d.ts +11 -0
  84. package/core/providers/Inodes/hooks/useRestore.d.ts +22 -0
  85. package/core/providers/Inodes/hooks/useSortedTypes.d.ts +5 -0
  86. package/core/providers/Inodes/hooks/useTypes.d.ts +10 -0
  87. package/core/providers/Inodes/hooks/useUpdateInodes.d.ts +35 -0
  88. package/core/providers/Inodes/messages.d.ts +8 -0
  89. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +29 -0
  90. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/BarcodeLoading.d.ts +5 -0
  91. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/ModalContent.d.ts +35 -0
  92. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/index.d.ts +12 -0
  93. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/messages.d.ts +59 -0
  94. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +43 -0
  95. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +22 -0
  96. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/createBarcodeProcessingFormData.d.ts +5 -0
  97. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/findMostUsedValue.d.ts +18 -0
  98. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInodesRequiredFieldNames.d.ts +10 -0
  99. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInvalidInodeOids.d.ts +10 -0
  100. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +10 -0
  101. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveStatusIconAndColor.d.ts +5 -0
  102. package/core/providers/Inodes/modals/AssignTypeModal.d.ts +9 -0
  103. package/core/providers/Inodes/service.d.ts +7 -6
  104. package/core/providers/Inodes/types.d.ts +19 -49
  105. package/core/providers/Inodes/utils/getAssignableTypesFromInode.d.ts +2 -0
  106. package/core/providers/Inodes/utils/getBulkUrl.d.ts +1 -0
  107. package/core/providers/Inodes/utils/getDataFromForbiddenError.d.ts +18 -0
  108. package/core/providers/Inodes/utils/is.d.ts +1 -1
  109. package/core/providers/Inodes/utils/isImmutable.d.ts +1 -0
  110. package/core/providers/Inodes/utils/isInodeType.d.ts +3 -0
  111. package/core/providers/Inodes/utils/isInodeTypeRef.d.ts +3 -0
  112. package/core/providers/Inodes/utils/mutateInodes.d.ts +7 -0
  113. package/core/providers/Inodes/utils/replacePropertiesWithConfig.d.ts +10 -0
  114. package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +183 -0
  115. package/core/providers/Inspectors/Context.d.ts +2 -0
  116. package/core/providers/Localization/Context.d.ts +7 -0
  117. package/core/providers/Localization/hooks/useLocale.d.ts +3 -0
  118. package/core/providers/MdmGraph/actions.d.ts +8 -0
  119. package/core/providers/MdmGraph/types.d.ts +11 -0
  120. package/core/providers/Modal/hooks/useModal.d.ts +44 -0
  121. package/core/providers/Modal/slice.d.ts +6 -0
  122. package/core/providers/Modal/types.d.ts +2 -0
  123. package/core/providers/Plugins/hooks/cases/useCaseDocuments.d.ts +6 -1
  124. package/core/providers/Plugins/hooks/inodes/useActions.d.ts +13 -2
  125. package/core/providers/Plugins/hooks/tasks/useTaskCompletionDisabling.d.ts +9 -0
  126. package/core/providers/Plugins/pluginRegistry.d.ts +60 -22
  127. package/core/providers/Search/hooks/useReloader.d.ts +1 -1
  128. package/core/providers/Search/reducer.d.ts +7 -4
  129. package/core/providers/Search/selectors.d.ts +48 -262
  130. package/core/providers/Search/types.d.ts +26 -28
  131. package/core/providers/Search/utils/createQuery.d.ts +5 -5
  132. package/core/providers/SystemNotification/slice.d.ts +1 -1
  133. package/core/providers/Tasks/Context.d.ts +10 -0
  134. package/core/providers/Tasks/hooks/useEntityDelete.d.ts +1 -1
  135. package/core/providers/Tasks/hooks/useEntityMutate.d.ts +1 -1
  136. package/core/providers/Tasks/hooks/useTaskStatus.d.ts +8 -0
  137. package/core/providers/Uploader/Context.d.ts +4 -4
  138. package/core/routes/navigate.d.ts +1 -1
  139. package/core/services/utils/generatePaths.d.ts +1 -1
  140. package/core/theme/theme.base.d.ts +32 -0
  141. package/core/theme/theme.lightMode.d.ts +206 -0
  142. package/core/utils/action.d.ts +2 -2
  143. package/core/utils/date/getUTCDateInCurrentTimezone.d.ts +11 -0
  144. package/core/utils/hasValidKind.d.ts +2 -0
  145. package/core/utils/immutable.d.ts +2 -0
  146. package/core/utils/string.d.ts +5 -5
  147. package/index.d.ts +5 -0
  148. package/package.json +1 -1
  149. package/store.d.ts +15 -10
  150. package/vendor/@imtf/react-components/components/Chip/utils.d.ts +2 -2
  151. package/vendor/@imtf/react-components/utils/constants.d.ts +0 -20
  152. package/core/components/JsonForm/widgets/widgetHOC.d.ts +0 -33
  153. package/core/components/TreeView/types.d.ts +0 -17
  154. package/core/components/TreeViewCell/constants.d.ts +0 -25
  155. package/core/containers/TreeView/actions.d.ts +0 -197
  156. package/core/containers/TreeView/constants.d.ts +0 -36
  157. package/core/containers/TreeView/types.d.ts +0 -46
  158. package/core/providers/App/utils/isSupportedItem.d.ts +0 -2
  159. package/core/providers/Cases/reducer.d.ts +0 -18
  160. package/core/providers/Cases/selectors.d.ts +0 -64
  161. package/core/providers/Inodes/selectors.d.ts +0 -55
  162. package/core/providers/MdmGraph/containers/MdmEntitiesEditor/utils/createHighlightsSchema.d.ts +0 -13
  163. package/core/providers/MdmGraph/utils/misc.d.ts +0 -13
  164. package/core/providers/Plugins/hooks/inodes/useInodesByOids.d.ts +0 -6
  165. package/core/providers/Tasks/hooks/useQuestionnaire.d.ts +0 -4
  166. package/core/utils/requestMiddleware.d.ts +0 -1
@@ -0,0 +1,36 @@
1
+ import { GridColDef } from "@mui/x-data-grid-pro";
2
+ import { SearchMask } from "../../providers/Definitions/types";
3
+ import { COLUMN_TYPES } from "./constants";
4
+ export type ColumnDefinitionList = {
5
+ kind: "dms-core.ui.TableHeaderCellList";
6
+ items: ColumnDefinition[];
7
+ };
8
+ export type ColumnWidth = number | `${string}%` | `${string}px`;
9
+ export type ColumnDefinition = {
10
+ kind: "dms-core.ui.TableHeaderCell";
11
+ name: string;
12
+ label: string;
13
+ type: keyof typeof COLUMN_TYPES;
14
+ origin: string;
15
+ align?: "LEFT" | "RIGHT" | "CENTER";
16
+ width?: ColumnWidth;
17
+ filterable?: GridColDef["filterable"];
18
+ sortable?: GridColDef["sortable"];
19
+ };
20
+ export type Row = {
21
+ id: string | `load-more-${string}`;
22
+ item?: Record<string, unknown>;
23
+ searchData?: {
24
+ cells: Record<string, string>;
25
+ highlights?: string[];
26
+ status: string;
27
+ };
28
+ loadMoreParentId?: string;
29
+ hierarchy: string[];
30
+ };
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"]}`;
32
+ export type UserSettingTreeviewField = {
33
+ name: string;
34
+ hidden?: boolean;
35
+ width?: number;
36
+ };
@@ -0,0 +1,18 @@
1
+ import { ColumnWidth } from "../types";
2
+ /**
3
+ * Handles the width of the columns
4
+ *
5
+ * They can be a number, a string with "px" or "%" or undefined
6
+ *
7
+ * If it's a number, it's returned as is
8
+ * If it's a string, it's converted to a number depending on the unit
9
+ * - If it ends with "%", it's converted to a number based on the DataGrid width
10
+ * - If it ends with "px", it's converted to a number
11
+ * - If it's not a valid string, it's returned as is
12
+ * If it's undefined, it's returned as is
13
+ *
14
+ * @param width - The width of the column
15
+ * @returns The width of the column
16
+ */
17
+ declare const handleWidth: (width: ColumnWidth | undefined, gridWidth?: number) => number | undefined;
18
+ export default handleWidth;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Add inodes to the DropZone
3
+ * @param {Collection} collection of oids
4
+ */
5
+ export function addInodes(oids: any): {
6
+ type: string;
7
+ payload: {
8
+ oids: any;
9
+ };
10
+ };
11
+ export function removeInodes(oids: any): {
12
+ type: string;
13
+ payload: {
14
+ oids: any;
15
+ };
16
+ };
17
+ export function clear(): {
18
+ type: string;
19
+ };
20
+ export function toggle(nextState: any): {
21
+ type: string;
22
+ payload: {
23
+ nextState: any;
24
+ };
25
+ };
@@ -0,0 +1,5 @@
1
+ export declare const ADD_INODES = "imtf/DropZone/ADD_INODES";
2
+ export declare const REMOVE_INODES = "imtf/DropZone/REMOVE_INODES";
3
+ export declare const CLEAR = "imtf/DropZone/CLEAR";
4
+ export declare const TOGGLE = "imtf/DropZone/TOGGLE";
5
+ export declare const DROP_ZONE = "imtf/DropZone/DROP_ZONE";
@@ -1,25 +1,4 @@
1
- export const isDropZoneOpenSelector: ((state: any) => boolean) & {
2
- clearCache: () => void;
3
- resultsCount: () => number;
4
- resetResultsCount: () => void;
5
- } & {
6
- resultFunc: (resultFuncArgs_0: any) => boolean;
7
- memoizedResultFunc: ((resultFuncArgs_0: any) => boolean) & {
8
- clearCache: () => void;
9
- resultsCount: () => number;
10
- resetResultsCount: () => void;
11
- };
12
- lastResult: () => boolean;
13
- dependencies: [(state: any) => any];
14
- recomputations: () => number;
15
- resetRecomputations: () => void;
16
- dependencyRecomputations: () => number;
17
- resetDependencyRecomputations: () => void;
18
- } & {
19
- memoize: typeof import("reselect").lruMemoize;
20
- argsMemoize: typeof import("reselect").weakMapMemoize;
21
- };
22
- export const itemOidsSelector: ((state: any) => any) & {
1
+ export const dropZoneItemsSelector: ((state: any) => any) & {
23
2
  clearCache: () => void;
24
3
  resultsCount: () => number;
25
4
  resetResultsCount: () => void;
@@ -40,40 +19,19 @@ export const itemOidsSelector: ((state: any) => any) & {
40
19
  memoize: typeof import("reselect").lruMemoize;
41
20
  argsMemoize: typeof import("reselect").weakMapMemoize;
42
21
  };
43
- export const itemsSelector: ((state: any) => any) & {
44
- clearCache: () => void;
45
- resultsCount: () => number;
46
- resetResultsCount: () => void;
47
- } & {
48
- resultFunc: (resultFuncArgs_0: import("../../providers/Inodes/types").InodeState, resultFuncArgs_1: any) => any;
49
- memoizedResultFunc: ((resultFuncArgs_0: import("../../providers/Inodes/types").InodeState, resultFuncArgs_1: any) => any) & {
50
- clearCache: () => void;
51
- resultsCount: () => number;
52
- resetResultsCount: () => void;
53
- };
54
- lastResult: () => any;
55
- dependencies: [(state: any) => import("../../providers/Inodes/types").InodeState, (state: any) => any];
56
- recomputations: () => number;
57
- resetRecomputations: () => void;
58
- dependencyRecomputations: () => number;
59
- resetDependencyRecomputations: () => void;
60
- } & {
61
- memoize: typeof import("reselect").lruMemoize;
62
- argsMemoize: typeof import("reselect").weakMapMemoize;
63
- };
64
- export const itemsFlatSelector: ((state: any) => any) & {
22
+ export const isDropZoneOpenSelector: ((state: any) => boolean) & {
65
23
  clearCache: () => void;
66
24
  resultsCount: () => number;
67
25
  resetResultsCount: () => void;
68
26
  } & {
69
- resultFunc: (resultFuncArgs_0: import("../../providers/Inodes/types").InodeState, resultFuncArgs_1: any) => any;
70
- memoizedResultFunc: ((resultFuncArgs_0: import("../../providers/Inodes/types").InodeState, resultFuncArgs_1: any) => any) & {
27
+ resultFunc: (resultFuncArgs_0: any) => boolean;
28
+ memoizedResultFunc: ((resultFuncArgs_0: any) => boolean) & {
71
29
  clearCache: () => void;
72
30
  resultsCount: () => number;
73
31
  resetResultsCount: () => void;
74
32
  };
75
- lastResult: () => any;
76
- dependencies: [(state: any) => import("../../providers/Inodes/types").InodeState, (state: any) => any];
33
+ lastResult: () => boolean;
34
+ dependencies: [(state: any) => any];
77
35
  recomputations: () => number;
78
36
  resetRecomputations: () => void;
79
37
  dependencyRecomputations: () => number;
@@ -82,7 +40,7 @@ export const itemsFlatSelector: ((state: any) => any) & {
82
40
  memoize: typeof import("reselect").lruMemoize;
83
41
  argsMemoize: typeof import("reselect").weakMapMemoize;
84
42
  };
85
- export const stackOidsSelector: ((state: any) => any) & {
43
+ export const itemOidsSelector: ((state: any) => any) & {
86
44
  clearCache: () => void;
87
45
  resultsCount: () => number;
88
46
  resetResultsCount: () => void;
@@ -94,27 +52,7 @@ export const stackOidsSelector: ((state: any) => any) & {
94
52
  resetResultsCount: () => void;
95
53
  };
96
54
  lastResult: () => any;
97
- dependencies: [((state: any) => any) & {
98
- clearCache: () => void;
99
- resultsCount: () => number;
100
- resetResultsCount: () => void;
101
- } & {
102
- resultFunc: (resultFuncArgs_0: import("../../providers/Inodes/types").InodeState, resultFuncArgs_1: any) => any;
103
- memoizedResultFunc: ((resultFuncArgs_0: import("../../providers/Inodes/types").InodeState, resultFuncArgs_1: any) => any) & {
104
- clearCache: () => void;
105
- resultsCount: () => number;
106
- resetResultsCount: () => void;
107
- };
108
- lastResult: () => any;
109
- dependencies: [(state: any) => import("../../providers/Inodes/types").InodeState, (state: any) => any];
110
- recomputations: () => number;
111
- resetRecomputations: () => void;
112
- dependencyRecomputations: () => number;
113
- resetDependencyRecomputations: () => void;
114
- } & {
115
- memoize: typeof import("reselect").lruMemoize;
116
- argsMemoize: typeof import("reselect").weakMapMemoize;
117
- }];
55
+ dependencies: [(state: any) => any];
118
56
  recomputations: () => number;
119
57
  resetRecomputations: () => void;
120
58
  dependencyRecomputations: () => number;
@@ -7,4 +7,5 @@ export declare function getDefaultConfiguration(): {
7
7
  licenseKey: any;
8
8
  path: string;
9
9
  disabledElements: string[];
10
+ ui: string;
10
11
  };
@@ -1,4 +1,3 @@
1
- export declare const CSS_PDFTRON: string;
2
1
  export declare const ACCEPT_IMAGE = "image/x-png,image/gif,image/jpeg,image/png";
3
2
  export declare const MODAL_TYPES: {
4
3
  readonly ABORT: "imtf/PDFTronViewer/modal/ABORT";
@@ -0,0 +1,16 @@
1
+ import { SupportedItem } from "../../providers/App/types";
2
+ import { LOAD_MORE } from "../../../core/constants/kinds";
3
+ export type TableRow = {
4
+ kind: "dms-core.ui.TableRow";
5
+ cells: {
6
+ kind: "dms-core.ui.ItemTableCell";
7
+ value: string;
8
+ }[];
9
+ item: SupportedItem | {
10
+ kind: typeof LOAD_MORE;
11
+ oid: string;
12
+ [key: string]: any;
13
+ };
14
+ highlights?: string[];
15
+ status: string;
16
+ };
@@ -0,0 +1,2 @@
1
+ declare function useCollator(): Intl.Collator;
2
+ export default useCollator;
@@ -1,7 +1,6 @@
1
- import { Set } from "immutable";
2
1
  import { ContextType, ReactNode } from "react";
3
2
  import { IntlShape, MessageDescriptor } from "react-intl";
4
- import { Location } from "react-router-dom";
3
+ import { Location } from "react-router";
5
4
  import useEnvironment from "../App/hooks/useEnvironment";
6
5
  import { AppCapabilities, SupportedItem } from "../App/types";
7
6
  import UploadContext from "../Uploader/Context";
@@ -21,9 +20,8 @@ export type ActionParams = {
21
20
  dirty?: boolean;
22
21
  formatMessage: IntlShape["formatMessage"];
23
22
  dropZoneItems: Items;
24
- dropZoneStackOids: Set<string>;
25
23
  environment: ReturnType<typeof useEnvironment>;
26
- meta?: string;
24
+ meta?: Record<string, unknown>;
27
25
  openEachInodeInNewTabOrWindow: (inodes: Items, shouldOpenInNewWindow: boolean) => void;
28
26
  promptUpdateBinary: ContextType<typeof UploadContext>["promptUpdateBinary"];
29
27
  promptUpload: ContextType<typeof UploadContext>["promptUpload"];
@@ -3,12 +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 download(url: string): {
7
- type: string;
8
- payload: {
9
- url: string;
10
- };
11
- };
12
6
  export declare function email({ subject, body }: {
13
7
  subject?: string | undefined;
14
8
  body?: string | undefined;
@@ -64,6 +58,8 @@ export declare function showGlobalModal(type: string, props: ModalProps): {
64
58
  fullWidth: boolean;
65
59
  maxWidth: DialogProps["maxWidth"];
66
60
  blocker: boolean;
61
+ onConfirm: (...args: any[]) => void;
62
+ onCancel: () => void;
67
63
  onClose: () => void;
68
64
  }> | undefined;
69
65
  };
@@ -83,6 +79,8 @@ export declare function showValidatemodal(callback: () => void, title?: ReactEle
83
79
  fullWidth: boolean;
84
80
  maxWidth: DialogProps["maxWidth"];
85
81
  blocker: boolean;
82
+ onConfirm: (...args: any[]) => void;
83
+ onCancel: () => void;
86
84
  onClose: () => void;
87
85
  }> | undefined;
88
86
  };
@@ -137,6 +135,8 @@ export declare function showAddCommentModal(modalProps: {
137
135
  fullWidth: boolean;
138
136
  maxWidth: DialogProps["maxWidth"];
139
137
  blocker: boolean;
138
+ onConfirm: (...args: any[]) => void;
139
+ onCancel: () => void;
140
140
  onClose: () => void;
141
141
  }> | undefined;
142
142
  };
@@ -156,6 +156,8 @@ export declare function showTextFieldModal(modalParams: TextFieldModalParams): {
156
156
  fullWidth: boolean;
157
157
  maxWidth: DialogProps["maxWidth"];
158
158
  blocker: boolean;
159
+ onConfirm: (...args: any[]) => void;
160
+ onCancel: () => void;
159
161
  onClose: () => void;
160
162
  }> | undefined;
161
163
  };
@@ -1,5 +1,4 @@
1
1
  export declare const GET_APP_AUTH_PARAMETERS = "imtf/App/GET_APP_AUTH_PARAMETERS";
2
- export declare const DOWNLOAD = "imtf/App/DOWNLOAD";
3
2
  export declare const EMAIL = "imtf/App/EMAIL";
4
3
  export declare const OPEN_IN_NEW_WINDOW = "imtf/App/OPEN_IN_NEW_WINDOW";
5
4
  export declare const OPEN_CONTEXT_MENU = "imtf/App/OPEN_CONTEXT_MENU";
@@ -2,6 +2,7 @@ declare const useApplicationSettings: () => {
2
2
  data: {
3
3
  translations?: unknown;
4
4
  language?: unknown;
5
+ navigateOnTaskCompletion?: unknown;
5
6
  contentType?: unknown;
6
7
  locales?: unknown;
7
8
  enableCaseCreation?: unknown;
@@ -29,7 +30,6 @@ declare const useApplicationSettings: () => {
29
30
  enableBarcodeProcessing?: unknown;
30
31
  enablePropertiesUpload?: unknown;
31
32
  navigateOnCaseCreation?: unknown;
32
- navigateOnTaskCompletion?: unknown;
33
33
  authenticationWorkflow?: unknown;
34
34
  hitListLimit?: unknown;
35
35
  inodeListLimit?: unknown;
@@ -43,7 +43,7 @@ declare const useApplicationSettings: () => {
43
43
  applicationSortOrder?: string | undefined;
44
44
  capabilities?: import("../types").AppCapabilities | undefined;
45
45
  commentMaxLength?: number | undefined;
46
- defaultDossierViewMode?: "TREE" | "SEARCH" | undefined;
46
+ defaultDossierViewMode?: "SEARCH" | "TREE" | undefined;
47
47
  defaultModule?: string | undefined;
48
48
  externalApplications?: {
49
49
  name: string;
@@ -51,6 +51,7 @@ declare const useApplicationSettings: () => {
51
51
  }[] | undefined;
52
52
  inodeNameMaxLength?: number | undefined;
53
53
  kind?: "dms-core.ApplicationSettings" | undefined;
54
+ useNewArchive?: boolean;
54
55
  };
55
56
  isLoading: boolean;
56
57
  };
@@ -0,0 +1,23 @@
1
+ import { AxiosError } from "axios";
2
+ import { Inode } from "../../Inodes/types";
3
+ type Arg = {
4
+ inodes: Inode[];
5
+ };
6
+ /**
7
+ * Downloads an array of inodes by getting a download token and then using an iframe to download the files
8
+ */
9
+ declare const useDownload: () => {
10
+ downloadViaIframe: (url: string | null) => void;
11
+ isMutating: boolean;
12
+ trigger: import("swr/mutation").TriggerWithArgs<{
13
+ downloadToken: string;
14
+ length: number;
15
+ }, AxiosError<unknown, any>, string, Arg>;
16
+ reset: () => void;
17
+ data: {
18
+ downloadToken: string;
19
+ length: number;
20
+ } | undefined;
21
+ error: AxiosError<unknown, any> | undefined;
22
+ };
23
+ export default useDownload;
@@ -1,15 +1,11 @@
1
- import webappParamsSchema from "@/schemas/jsonSchemas/webapp_params.json";
2
1
  import { AxiosError } from "axios";
3
- import settingsSchema from "@/features/User/settings.schema.json";
4
- type SettingsKeys = keyof typeof settingsSchema.properties;
5
- type ParamKeys = keyof typeof webappParamsSchema.properties;
6
- type Settings = Partial<Record<SettingsKeys | ParamKeys, any>>;
2
+ import { Settings } from "../types";
7
3
  type Arg = Settings | ((previousState: Settings) => Settings);
8
4
  declare const useSettings: () => {
9
- data: Partial<Record<"appearance" | "translations" | "language" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskSearchContextName" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "navigateOnTaskCompletion" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "defaultDossierViewMode" | "isInspectorVisible" | "inspectorExpandedModules" | "inspectorStickyModules" | "inspectorWidth" | "documentZoom" | "signatureOrientation" | "savedFilters" | "transactionActiveProfiles" | "treeviewFields" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications", any>> | undefined;
10
- trigger: import("swr/mutation").TriggerWithArgs<Partial<Record<"appearance" | "translations" | "language" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskSearchContextName" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "navigateOnTaskCompletion" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "defaultDossierViewMode" | "isInspectorVisible" | "inspectorExpandedModules" | "inspectorStickyModules" | "inspectorWidth" | "documentZoom" | "signatureOrientation" | "savedFilters" | "transactionActiveProfiles" | "treeviewFields" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications", 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" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskSearchContextName" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution", 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" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskSearchContextName" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution", any>>, AxiosError<unknown, any>, string, Arg>;
11
7
  error: any;
12
- mutate: import("swr").KeyedMutator<Partial<Record<"appearance" | "translations" | "language" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskSearchContextName" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "navigateOnTaskCompletion" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "defaultDossierViewMode" | "isInspectorVisible" | "inspectorExpandedModules" | "inspectorStickyModules" | "inspectorWidth" | "documentZoom" | "signatureOrientation" | "savedFilters" | "transactionActiveProfiles" | "treeviewFields" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications", 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" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskSearchContextName" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution", any>>>;
13
9
  isValidating: boolean;
14
10
  isLoading: boolean;
15
11
  };
@@ -0,0 +1,11 @@
1
+ import { TRIGGER_TARGET } from "../../Actions/constants";
2
+ import { SupportedItem } from "../types";
3
+ /**
4
+ * Triggers/opens items
5
+ * You can also give a target to open the item in a new tab, window or in the same tab
6
+ */
7
+ declare const useTriggerItems: () => (items: SupportedItem[], target?: (typeof TRIGGER_TARGET)[keyof typeof TRIGGER_TARGET]) => Promise<{
8
+ downloadToken: string;
9
+ length: number;
10
+ }> | undefined;
11
+ export default useTriggerItems;
@@ -67,5 +67,13 @@ declare const _default: {
67
67
  id: string;
68
68
  defaultMessage: string;
69
69
  };
70
+ settingSaveError: {
71
+ id: string;
72
+ defaultMessage: string;
73
+ };
74
+ downloadError: {
75
+ id: string;
76
+ defaultMessage: string;
77
+ };
70
78
  };
71
79
  export default _default;
@@ -1,9 +1,12 @@
1
+ import webappParamsSchema from "@/schemas/jsonSchemas/webapp_params.json";
1
2
  import { Map } from "immutable";
2
3
  import { ReactNode } from "react";
4
+ import settingsSchema from "@/features/User/settings.schema.json";
5
+ import type { PropertiesComponent } from "../../../core/components/dms-ui/types";
3
6
  import EVENTS from "@/core/constants/events.json";
4
7
  import { ACM_COMMENT } from "../../../core/constants/kinds";
5
8
  import type { Case } from "../Cases/types";
6
- import type { Inode, PropertiesComponent } from "../Inodes/types";
9
+ import type { Inode } from "../Inodes/types";
7
10
  import type { Entity } from "../MdmGraph/types";
8
11
  import type { Task } from "../Tasks/types";
9
12
  export type ImmutableItem = Map<string, any>;
@@ -23,6 +26,7 @@ export type ApplicationSettings = {
23
26
  inodeNameMaxLength: number;
24
27
  kind: "dms-core.ApplicationSettings";
25
28
  loadFirstFromQuickSearch: true;
29
+ useNewArchive?: boolean;
26
30
  };
27
31
  export type AppCapabilities = {
28
32
  canAccessDashboard: boolean;
@@ -37,7 +41,6 @@ export type AppCapabilities = {
37
41
  canAccessFM: boolean;
38
42
  canAccessFMHome: boolean;
39
43
  canAccessFMSearch: boolean;
40
- canAccessFMBrowse: boolean;
41
44
  canAccessFMFavorites: boolean;
42
45
  canAccessFMTrash: boolean;
43
46
  canAccessFMTrashOfAllUsers: boolean;
@@ -194,4 +197,7 @@ export type DeniedResource = {
194
197
  export type RecursivePartial<T> = {
195
198
  [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object | undefined ? RecursivePartial<T[P]> : T[P];
196
199
  };
200
+ type SettingsKeys = keyof typeof settingsSchema.properties;
201
+ type ParamKeys = keyof typeof webappParamsSchema.properties;
202
+ export type Settings = Partial<Record<SettingsKeys | ParamKeys, any>>;
197
203
  export {};
@@ -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<"appearance" | "translations" | "language" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskSearchContextName" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "navigateOnTaskCompletion" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "defaultDossierViewMode" | "isInspectorVisible" | "inspectorExpandedModules" | "inspectorStickyModules" | "inspectorWidth" | "documentZoom" | "signatureOrientation" | "savedFilters" | "transactionActiveProfiles" | "treeviewFields" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications", 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" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskSearchContextName" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution", any>>;
11
11
  export default convertOldUserSettings;
@@ -0,0 +1,69 @@
1
+ import { Settings } from "../types";
2
+ /**
3
+ * Converts the treeviewFields from the old format to the new format.
4
+ * Since version 7.0.0, the treeviewFields are used in a different way.
5
+ *
6
+ * @param settings - The settings object
7
+ * @returns The settings object with the treeviewFields converted
8
+ */
9
+ declare const convertTreeviewFields: (settings: Settings) => {
10
+ translations?: any;
11
+ language?: any;
12
+ appearance?: any;
13
+ isInspectorVisible?: any;
14
+ inspectorWidth?: any;
15
+ inspectorExpandedModules?: any;
16
+ inspectorStickyModules?: any;
17
+ defaultDossierViewMode?: any;
18
+ savedFilters?: any;
19
+ documentZoom?: any;
20
+ signatureOrientation?: any;
21
+ transactionActiveProfiles?: any;
22
+ navigateOnTaskCompletion?: any;
23
+ draggableModalSizing?: any;
24
+ draggableModalCoordinates?: any;
25
+ defaultModule?: any;
26
+ commentMaxLength?: any;
27
+ inodeNameMaxLength?: any;
28
+ applicationSortOrder?: any;
29
+ externalApplications?: any;
30
+ treeviewFields?: any;
31
+ contentType?: any;
32
+ locales?: any;
33
+ enableCaseCreation?: any;
34
+ shouldReloadResults?: any;
35
+ reloadResultsIntervals?: any;
36
+ userInactivitySessionTimeout?: any;
37
+ showDropzone?: any;
38
+ theme?: any;
39
+ productNameInSidebar?: any;
40
+ disableTaskAutoClaim?: any;
41
+ useRelativeDateWheneverPossible?: any;
42
+ customerRelatedEntitiesTemplates?: any;
43
+ documentTaskSearchContextName?: any;
44
+ canOpenRelatedAlertFromInspector?: any;
45
+ propertyPanelOverrides?: any;
46
+ additionalTransactionsColumns?: any;
47
+ millisecondsToHideUploadProgress?: any;
48
+ inodeTimelineExportLimit?: any;
49
+ searchExportLimit?: any;
50
+ customStamps?: any;
51
+ openEachInodeInNewTabOrWindowLimit?: any;
52
+ useSolrDocumentIcons?: any;
53
+ loadFirstFromQuickSearch?: any;
54
+ enableDossierCreation?: any;
55
+ enableBarcodeProcessing?: any;
56
+ enablePropertiesUpload?: any;
57
+ navigateOnCaseCreation?: any;
58
+ authenticationWorkflow?: any;
59
+ hitListLimit?: any;
60
+ inodeListLimit?: any;
61
+ appBarColor?: any;
62
+ displayEnvironmentName?: any;
63
+ autosaveDebounce?: any;
64
+ displayFullnameInDocuments?: any;
65
+ enableDigitalSignatureVerification?: any;
66
+ certificateRevocationListProxyServerUrl?: any;
67
+ companionScanDPIResolution?: any;
68
+ };
69
+ export default convertTreeviewFields;
@@ -0,0 +1,8 @@
1
+ export declare function sortImmutableListByWeightAndName(list: Immutable.List<Map<string, any>>): import("immutable").List<Map<string, any>>;
2
+ /**
3
+ * Sorts a list of objects by 'orderingWeight' and 'name'.
4
+ */
5
+ export default function sortListByWeightAndName<T extends Record<string, any>>(list: (T & {
6
+ orderingWeight?: number;
7
+ name: string;
8
+ })[], collator: Intl.Collator): T[];