@imtf/dms-core 1.1.0-beta.6 → 6.5.7-natwest.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 (175) hide show
  1. package/apps/folder-manager/routes/InodeCollection/hooks/useRemoveInodesFromUrl.d.ts +0 -4
  2. package/core/components/JsonForm/widgets/widgetHOC.d.ts +29 -0
  3. package/core/components/TreeView/types.d.ts +17 -0
  4. package/core/components/TreeViewCell/constants.d.ts +25 -0
  5. package/core/constants/apps.d.ts +5 -0
  6. package/core/containers/DropZone/selectors.d.ts +125 -0
  7. package/core/containers/PDFComposer/actions.d.ts +2 -2
  8. package/core/containers/TreeView/actions.d.ts +197 -0
  9. package/core/containers/TreeView/constants.d.ts +36 -0
  10. package/core/containers/TreeView/types.d.ts +46 -0
  11. package/core/providers/Actions/types.d.ts +7 -1
  12. package/core/providers/App/actions.d.ts +17 -8
  13. package/core/providers/App/constants.d.ts +3 -0
  14. package/core/providers/App/hooks/useApplicationSettings.d.ts +2 -3
  15. package/core/providers/App/hooks/useSettings.d.ts +8 -4
  16. package/core/providers/App/hooks/useUserSetting.d.ts +1 -9
  17. package/core/providers/App/hooks/useUserStorage.d.ts +2 -2
  18. package/core/providers/App/messages.d.ts +0 -8
  19. package/core/providers/App/reducer.d.ts +1 -1
  20. package/core/providers/App/types.d.ts +2 -8
  21. package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
  22. package/core/providers/App/utils/isSupportedItem.d.ts +2 -0
  23. package/core/providers/Authentication/types.d.ts +1 -1
  24. package/core/providers/Cases/actions.d.ts +3 -15
  25. package/core/providers/Cases/reducer.d.ts +18 -0
  26. package/core/providers/Cases/selectors.d.ts +64 -0
  27. package/core/providers/Cases/utils/common.d.ts +0 -2
  28. package/core/providers/Ccm/types.d.ts +0 -1
  29. package/core/providers/Definitions/types.d.ts +1 -1
  30. package/core/providers/Inodes/actions.d.ts +442 -13
  31. package/core/providers/Inodes/constants.d.ts +44 -0
  32. package/core/providers/Inodes/messages.d.ts +0 -8
  33. package/core/providers/Inodes/selectors.d.ts +55 -0
  34. package/core/providers/Inodes/service.d.ts +3 -4
  35. package/core/providers/Inodes/types.d.ts +8 -20
  36. package/core/providers/Inodes/utils/is.d.ts +3 -2
  37. package/core/providers/Inspectors/Context.d.ts +0 -2
  38. package/core/providers/MdmGraph/actions.d.ts +0 -8
  39. package/core/providers/MdmGraph/constants.d.ts +4 -4
  40. package/core/providers/MdmGraph/types.d.ts +0 -2
  41. package/core/providers/MdmGraph/utils/misc.d.ts +13 -0
  42. package/core/providers/Modal/slice.d.ts +0 -6
  43. package/core/providers/Modal/types.d.ts +0 -2
  44. package/core/providers/Plugins/hooks/inodes/useActions.d.ts +2 -10
  45. package/core/providers/Plugins/hooks/inodes/useInodesByOids.d.ts +6 -0
  46. package/core/providers/Plugins/hooks/tasks/useActions.d.ts +1 -1
  47. package/core/providers/Plugins/pluginRegistry.d.ts +43 -61
  48. package/core/providers/Plugins/types/componentPlugins.d.ts +6 -16
  49. package/core/providers/Search/reducer.d.ts +4 -7
  50. package/core/providers/Search/selectors.d.ts +262 -48
  51. package/core/providers/Search/types.d.ts +5 -26
  52. package/core/providers/Search/utils/createQuery.d.ts +5 -5
  53. package/core/providers/SystemNotification/slice.d.ts +1 -1
  54. package/core/providers/Tasks/hooks/useEntityDelete.d.ts +1 -1
  55. package/core/providers/Tasks/hooks/useEntityMutate.d.ts +1 -1
  56. package/core/providers/Tasks/hooks/useTaskData.d.ts +2 -2
  57. package/core/providers/Tasks/service.d.ts +0 -3
  58. package/core/providers/Tasks/types.d.ts +1 -1
  59. package/core/providers/Uploader/Context.d.ts +9 -9
  60. package/core/utils/action.d.ts +2 -2
  61. package/core/utils/htmlElements.d.ts +1 -0
  62. package/core/utils/requestMiddleware.d.ts +1 -0
  63. package/package.json +1 -1
  64. package/store.d.ts +16 -21
  65. package/vendor/@imtf/react-components/components/Chip/utils.d.ts +2 -2
  66. package/vendor/@imtf/react-components/components/ViewMoreCard/ViewMoreCard.d.ts +2 -1
  67. package/vendor/@imtf/react-components/utils/constants.d.ts +20 -0
  68. package/core/components/ActionMenu/Menu.d.ts +0 -19
  69. package/core/components/ActionMenu/Trigger.d.ts +0 -8
  70. package/core/components/ActionMenu/index.d.ts +0 -1
  71. package/core/components/ActionMenu/styles.d.ts +0 -4
  72. package/core/components/Chip/Chip.d.ts +0 -8
  73. package/core/components/Chip/index.d.ts +0 -1
  74. package/core/components/CloseModalButton/CloseModalButton.d.ts +0 -10
  75. package/core/components/CloseModalButton/index.d.ts +0 -1
  76. package/core/components/DatePicker/DatePicker.d.ts +0 -6
  77. package/core/components/DatePicker/index.d.ts +0 -1
  78. package/core/components/Error/index.d.ts +0 -7
  79. package/core/components/FormattedNumberTextfield/FormattedNumberTextfield.d.ts +0 -3
  80. package/core/components/FormattedNumberTextfield/index.d.ts +0 -1
  81. package/core/components/ItemIcon/TaskIcon.d.ts +0 -5
  82. package/core/components/ItemIcon/index.d.ts +0 -19
  83. package/core/components/Select/ListboxComponent.d.ts +0 -5
  84. package/core/components/Select/Select.d.ts +0 -20
  85. package/core/components/Select/index.d.ts +0 -1
  86. package/core/components/dms-ui/DatasourceAutocomplete.d.ts +0 -14
  87. package/core/components/dms-ui/ImmutableComposer.d.ts +0 -15
  88. package/core/components/dms-ui/immutableDefault/DatasourceAutocomplete.d.ts +0 -19
  89. package/core/components/dms-ui/immutableDefault/DatePicker.d.ts +0 -15
  90. package/core/components/dms-ui/immutableDefault/Group.d.ts +0 -16
  91. package/core/components/dms-ui/immutableDefault/NumberFormattedTexfield.d.ts +0 -14
  92. package/core/components/dms-ui/immutableDefault/NumberTextfield.d.ts +0 -2
  93. package/core/components/dms-ui/immutableDefault/RadioButton.d.ts +0 -19
  94. package/core/components/dms-ui/immutableDefault/Select.d.ts +0 -19
  95. package/core/components/dms-ui/immutableDefault/Switch.d.ts +0 -19
  96. package/core/components/dms-ui/immutableDefault/Textfield.d.ts +0 -21
  97. package/core/components/dms-ui/immutableDefault/index.d.ts +0 -10
  98. package/core/components/dms-ui/immutableFacet/DatasourceAutocomplete.d.ts +0 -13
  99. package/core/components/dms-ui/immutableFacet/DateRangeSearcher.d.ts +0 -14
  100. package/core/components/dms-ui/immutableFacet/Facet.d.ts +0 -23
  101. package/core/components/dms-ui/immutableFacet/NumericRangePicker.d.ts +0 -14
  102. package/core/components/dms-ui/immutableFacet/Select.d.ts +0 -13
  103. package/core/components/dms-ui/immutableFacet/Textfield.d.ts +0 -13
  104. package/core/components/dms-ui/immutableFacet/TypePicker.d.ts +0 -13
  105. package/core/components/dms-ui/immutableFacet/index.d.ts +0 -7
  106. package/core/components/dms-ui/immutableFacet/styles.d.ts +0 -5
  107. package/core/components/dms-ui/messages.d.ts +0 -27
  108. package/core/components/dms-ui/utils/getImmutableComponent.d.ts +0 -19
  109. package/core/components/dms-ui/utils/removeLabelFromValues.d.ts +0 -1
  110. package/core/components/dms-ui/utils/utils.d.ts +0 -3
  111. package/core/constants/dragTypes.d.ts +0 -2
  112. package/core/containers/DataGrid/constants.d.ts +0 -26
  113. package/core/containers/DataGrid/types.d.ts +0 -38
  114. package/core/containers/DataGrid/utils/handleWidth.d.ts +0 -18
  115. package/core/containers/EntityDocuments/EntityDocumentsComponent.d.ts +0 -30
  116. package/core/containers/EntityDocuments/components/Accordion.d.ts +0 -12
  117. package/core/containers/EntityDocuments/components/Document.d.ts +0 -11
  118. package/core/containers/EntityDocuments/components/DocumentLabel.d.ts +0 -7
  119. package/core/containers/EntityDocuments/components/DocumentList.d.ts +0 -19
  120. package/core/containers/EntityDocuments/components/DocumentListTitle.d.ts +0 -9
  121. package/core/containers/EntityDocuments/constants.d.ts +0 -1
  122. package/core/containers/EntityDocuments/styles.d.ts +0 -10
  123. package/core/containers/EntityDocuments/types.d.ts +0 -7
  124. package/core/containers/SearchDataGrid/types.d.ts +0 -16
  125. package/core/hooks/useCollator.d.ts +0 -2
  126. package/core/providers/App/hooks/useDownload.d.ts +0 -23
  127. package/core/providers/App/hooks/useTriggerItems.d.ts +0 -11
  128. package/core/providers/App/utils/convertTreeviewFields.d.ts +0 -70
  129. package/core/providers/App/utils/sortListByWeightAndName.d.ts +0 -8
  130. package/core/providers/DataGrid/Context.d.ts +0 -47
  131. package/core/providers/Definitions/hooks/useTaskDefinition.d.ts +0 -1
  132. package/core/providers/Definitions/hooks/useTaskDefinitions.d.ts +0 -4
  133. package/core/providers/Definitions/utils/typesToTypeRefs.d.ts +0 -5
  134. package/core/providers/DropZone/Context.d.ts +0 -12
  135. package/core/providers/Inodes/hooks/useInodeByOid.d.ts +0 -5
  136. package/core/providers/Inodes/hooks/useInodeTypeAssignment.d.ts +0 -4
  137. package/core/providers/Inodes/hooks/useInodesByOids.d.ts +0 -7
  138. package/core/providers/Inodes/hooks/usePropertiesType.d.ts +0 -14
  139. package/core/providers/Inodes/hooks/usePropertyComponents.d.ts +0 -11
  140. package/core/providers/Inodes/hooks/useRestore.d.ts +0 -22
  141. package/core/providers/Inodes/hooks/useSortedTypes.d.ts +0 -5
  142. package/core/providers/Inodes/hooks/useTypes.d.ts +0 -10
  143. package/core/providers/Inodes/hooks/useUpdateInodes.d.ts +0 -35
  144. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +0 -29
  145. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/BarcodeLoading.d.ts +0 -5
  146. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/ModalContent.d.ts +0 -35
  147. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/index.d.ts +0 -12
  148. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/messages.d.ts +0 -59
  149. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +0 -43
  150. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +0 -22
  151. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/createBarcodeProcessingFormData.d.ts +0 -5
  152. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/findMostUsedValue.d.ts +0 -18
  153. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInodesRequiredFieldNames.d.ts +0 -10
  154. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInvalidInodeOids.d.ts +0 -10
  155. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +0 -10
  156. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveStatusIconAndColor.d.ts +0 -5
  157. package/core/providers/Inodes/modals/AssignTypeModal.d.ts +0 -9
  158. package/core/providers/Inodes/utils/getAssignableTypesFromInode.d.ts +0 -2
  159. package/core/providers/Inodes/utils/getBulkUrl.d.ts +0 -1
  160. package/core/providers/Inodes/utils/isInodeType.d.ts +0 -3
  161. package/core/providers/Inodes/utils/isInodeTypeRef.d.ts +0 -3
  162. package/core/providers/Inodes/utils/mutateInodes.d.ts +0 -7
  163. package/core/providers/Inodes/utils/replacePropertiesWithConfig.d.ts +0 -10
  164. package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +0 -183
  165. package/core/providers/Localization/Context.d.ts +0 -7
  166. package/core/providers/Localization/hooks/useLocale.d.ts +0 -3
  167. package/core/providers/Modal/hooks/useModal.d.ts +0 -44
  168. package/core/providers/Plugins/ComponentPluginContext.d.ts +0 -14
  169. package/core/providers/Plugins/withComponentPlugin.d.ts +0 -27
  170. package/core/providers/Tasks/utils/mutateTaskData.d.ts +0 -6
  171. package/core/theme/theme.base.d.ts +0 -32
  172. package/core/theme/theme.lightMode.d.ts +0 -206
  173. package/core/utils/date/getUTCDateInCurrentTimezone.d.ts +0 -11
  174. package/core/utils/hasValidKind.d.ts +0 -2
  175. package/core/utils/immutable.d.ts +0 -2
@@ -1,11 +1,15 @@
1
+ import webappParamsSchema from "@/schemas/jsonSchemas/webapp_params.json";
1
2
  import { AxiosError } from "axios";
2
- import { Settings } from "../types";
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>>;
3
7
  type Arg = Settings | ((previousState: Settings) => Settings);
4
8
  declare const useSettings: () => {
5
- data: Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "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" | "dataGridOrders" | "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>;
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>;
7
11
  error: any;
8
- mutate: import("swr").KeyedMutator<Partial<Record<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "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>>>;
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>>>;
9
13
  isValidating: boolean;
10
14
  isLoading: boolean;
11
15
  };
@@ -2,13 +2,5 @@ import webappParamsSchema from "@/schemas/jsonSchemas/webapp_params.json";
2
2
  import settingsSchema from "@/features/User/settings.schema.json";
3
3
  type SettingsKeys = keyof typeof settingsSchema.properties;
4
4
  type ParamKeys = keyof typeof webappParamsSchema.properties;
5
- /**
6
- * Hook to get and set user settings.
7
- * The key can be a single key or an array of keys.
8
- * The defaultValue can be a single value or an array of values.
9
- *
10
- * If you're using an array of keys, the defaultValue should be an array of values.
11
- * If you're using a function to set the value, the value can be a single value or an array of values.
12
- */
13
- declare const useUserSetting: <T>(key: SettingsKeys | ParamKeys | (SettingsKeys | ParamKeys)[], defaultValue?: T | T[]) => [T, (value: T | ((n: T) => T)) => void];
5
+ declare const useUserSetting: <T>(key: SettingsKeys | ParamKeys, defaultValue?: T) => [T, (value: T | ((n: T) => T)) => void];
14
6
  export default useUserSetting;
@@ -1,7 +1,7 @@
1
- import { UserSettingValue } from "../../../../core/providers/User/types";
1
+ import { UserSettingValue } from "../../User/types";
2
2
  declare const useUserStorage: () => {
3
3
  userStorage: Record<string, any>;
4
- setUserStorage: (key: string | string[], newValue: UserSettingValue | UserSettingValue[]) => void;
4
+ setUserStorage: (key: string, newValue: UserSettingValue) => void;
5
5
  clearUserStorage: () => void;
6
6
  };
7
7
  export default useUserStorage;
@@ -67,13 +67,5 @@ 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
- };
78
70
  };
79
71
  export default _default;
@@ -1 +1 @@
1
- export default function appReducer(state: import("immutable").Map<"contextMenu" | "errorAtInit" | "parameters", import("immutable").Map<"open" | "coord", import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<never, never>> | import("immutable").Map<never, never> | undefined> | undefined, action: any): import("immutable").Map<"contextMenu" | "errorAtInit" | "parameters", import("immutable").Map<"open" | "coord", import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<never, never>> | import("immutable").Map<never, never> | undefined>;
1
+ export default function appReducer(state: import("immutable").Map<"contextMenu" | "errorAtInit" | "dnd" | "parameters", import("immutable").Map<"open" | "coord", import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<never, never>> | import("immutable").Map<"props" | "type" | "isDragging", import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<never, never> | null> | import("immutable").Map<never, never> | undefined> | undefined, action: any): import("immutable").Map<"contextMenu" | "errorAtInit" | "dnd" | "parameters", import("immutable").Map<"open" | "coord", import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<never, never>> | import("immutable").Map<"props" | "type" | "isDragging", import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<"valueOf", import("immutable").Map<never, never>> | import("immutable").Map<never, never> | null> | import("immutable").Map<never, never> | undefined>;
@@ -1,7 +1,5 @@
1
- import webappParamsSchema from "@/schemas/jsonSchemas/webapp_params.json";
2
1
  import { Map } from "immutable";
3
2
  import { ReactNode } from "react";
4
- import settingsSchema from "@/features/User/settings.schema.json";
5
3
  import type { PropertiesComponent } from "../../../core/components/dms-ui/types";
6
4
  import EVENTS from "@/core/constants/events.json";
7
5
  import { ACM_COMMENT } from "../../../core/constants/kinds";
@@ -26,7 +24,6 @@ export type ApplicationSettings = {
26
24
  inodeNameMaxLength: number;
27
25
  kind: "dms-core.ApplicationSettings";
28
26
  loadFirstFromQuickSearch: true;
29
- useNewArchive?: boolean;
30
27
  };
31
28
  export type AppCapabilities = {
32
29
  canAccessDashboard: boolean;
@@ -41,6 +38,7 @@ export type AppCapabilities = {
41
38
  canAccessFM: boolean;
42
39
  canAccessFMHome: boolean;
43
40
  canAccessFMSearch: boolean;
41
+ canAccessFMBrowse: boolean;
44
42
  canAccessFMFavorites: boolean;
45
43
  canAccessFMTrash: boolean;
46
44
  canAccessFMTrashOfAllUsers: boolean;
@@ -88,8 +86,7 @@ export type FormError = {
88
86
  type: "required" | string;
89
87
  errorDescription: string;
90
88
  propertyName?: string | null;
91
- documentOid?: string;
92
- documentType?: Inode["type"];
89
+ documentType?: string;
93
90
  }>;
94
91
  formName: string;
95
92
  };
@@ -198,7 +195,4 @@ export type DeniedResource = {
198
195
  export type RecursivePartial<T> = {
199
196
  [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object | undefined ? RecursivePartial<T[P]> : T[P];
200
197
  };
201
- type SettingsKeys = keyof typeof settingsSchema.properties;
202
- type ParamKeys = keyof typeof webappParamsSchema.properties;
203
- export type Settings = Partial<Record<SettingsKeys | ParamKeys, any>>;
204
198
  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<"translations" | "language" | "appearance" | "isInspectorVisible" | "inspectorWidth" | "inspectorExpandedModules" | "inspectorStickyModules" | "defaultDossierViewMode" | "savedFilters" | "documentZoom" | "signatureOrientation" | "transactionActiveProfiles" | "navigateOnTaskCompletion" | "draggableModalSizing" | "draggableModalCoordinates" | "defaultModule" | "commentMaxLength" | "inodeNameMaxLength" | "applicationSortOrder" | "externalApplications" | "treeviewFields" | "dataGridOrders" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "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>>;
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>>;
11
11
  export default convertOldUserSettings;
@@ -0,0 +1,2 @@
1
+ import { SupportedItem } from "../types";
2
+ export default function isSupportedItem(item: unknown): item is SupportedItem;
@@ -1,6 +1,6 @@
1
1
  import { OAuthConfig } from "./service";
2
2
  export interface ProviderConfiguration<C extends (() => Promise<unknown>) | Record<string, unknown> | undefined = undefined> {
3
- type: "oidc" | "internal";
3
+ type: "oidc" | "internal" | "rbs";
4
4
  configuration?: C;
5
5
  validateAccessToken: (token: string) => boolean;
6
6
  authenticateRequest: (params: C extends () => Promise<unknown> ? Awaited<ReturnType<C>> : C, sessionStartHandler: (type: ProviderConfiguration<C>["type"], payload: Payload, locationState?: LocationStateLike) => void, locationState?: LocationStateLike, authenticationWorkflow?: AuthentificationWorkflow) => Promise<void>;
@@ -21,8 +21,6 @@ export declare function createProcessModal(caze: Case): {
21
21
  fullWidth: boolean;
22
22
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
23
23
  blocker: boolean;
24
- onConfirm: (...args: any[]) => void;
25
- onCancel: () => void;
26
24
  onClose: () => void;
27
25
  }> | undefined;
28
26
  };
@@ -45,8 +43,6 @@ export declare function addClassificationModal(caseOid: string): {
45
43
  fullWidth: boolean;
46
44
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
47
45
  blocker: boolean;
48
- onConfirm: (...args: any[]) => void;
49
- onCancel: () => void;
50
46
  onClose: () => void;
51
47
  }> | undefined;
52
48
  };
@@ -81,8 +77,6 @@ export declare function generateReportsModal(caze: Case): {
81
77
  fullWidth: boolean;
82
78
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
83
79
  blocker: boolean;
84
- onConfirm: (...args: any[]) => void;
85
- onCancel: () => void;
86
80
  onClose: () => void;
87
81
  }> | undefined;
88
82
  };
@@ -101,8 +95,6 @@ export declare function openCreatorModal({ inodes, }?: {
101
95
  fullWidth: boolean;
102
96
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
103
97
  blocker: boolean;
104
- onConfirm: (...args: any[]) => void;
105
- onCancel: () => void;
106
98
  onClose: () => void;
107
99
  }> | undefined;
108
100
  };
@@ -119,8 +111,6 @@ export declare function editPayloadModal(editor: CasePayloadEditorDefinition, ca
119
111
  fullWidth: boolean;
120
112
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
121
113
  blocker: boolean;
122
- onConfirm: (...args: any[]) => void;
123
- onCancel: () => void;
124
114
  onClose: () => void;
125
115
  }> | undefined;
126
116
  };
@@ -202,11 +192,11 @@ export declare function createFilesError(error: any, payload: GetActionPayload<t
202
192
  };
203
193
  error: any;
204
194
  };
205
- export declare function attachFiles(caseOid: string, inodes: Inode<"dms-core.File">[], types: InodeType[]): {
195
+ export declare function attachFiles(caseOid: string, inodes: List<ImmutableInode>, types: InodeType[]): {
206
196
  type: string;
207
197
  payload: {
208
198
  caseOid: string;
209
- inodes: Inode<"dms-core.File">[];
199
+ inodes: List<ImmutableInode>;
210
200
  types: InodeType[];
211
201
  };
212
202
  };
@@ -221,7 +211,7 @@ export declare function attachFilesError(error: any, payload: GetActionPayload<t
221
211
  type: string;
222
212
  payload: {
223
213
  caseOid: string;
224
- inodes: Inode<"dms-core.File">[];
214
+ inodes: List<ImmutableInode>;
225
215
  types: InodeType[];
226
216
  };
227
217
  error: any;
@@ -237,8 +227,6 @@ export declare function showTimelineModal(caseOid: string, filters?: EventFilter
237
227
  fullWidth: boolean;
238
228
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
239
229
  blocker: boolean;
240
- onConfirm: (...args: any[]) => void;
241
- onCancel: () => void;
242
230
  onClose: () => void;
243
231
  }> | undefined;
244
232
  };
@@ -0,0 +1,18 @@
1
+ export type CaseState = {
2
+ documents: {
3
+ status: string;
4
+ error: any;
5
+ items: string[] | undefined;
6
+ };
7
+ reloadCount: number;
8
+ };
9
+ export default function casesReducer(state: Record<string, CaseState | undefined> | undefined, action: any): {
10
+ [x: string]: CaseState | {
11
+ documents: {
12
+ status: string;
13
+ error: undefined;
14
+ items: string[];
15
+ };
16
+ reloadCount?: number | undefined;
17
+ } | undefined;
18
+ };
@@ -0,0 +1,64 @@
1
+ import { CaseState } from "./reducer";
2
+ export declare const createFilesSelector: (caseOid: string) => ((state: any) => (import("../Inodes/types").Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode"> | undefined)[] | undefined) & {
3
+ clearCache: () => void;
4
+ resultsCount: () => number;
5
+ resetResultsCount: () => void;
6
+ } & {
7
+ resultFunc: (resultFuncArgs_0: CaseState | undefined, resultFuncArgs_1: import("../Inodes/types").InodeState) => (import("../Inodes/types").Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode"> | undefined)[] | undefined;
8
+ memoizedResultFunc: ((resultFuncArgs_0: CaseState | undefined, resultFuncArgs_1: import("../Inodes/types").InodeState) => (import("../Inodes/types").Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode"> | undefined)[] | undefined) & {
9
+ clearCache: () => void;
10
+ resultsCount: () => number;
11
+ resetResultsCount: () => void;
12
+ };
13
+ lastResult: () => (import("../Inodes/types").Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode"> | undefined)[] | undefined;
14
+ dependencies: [(state: any) => CaseState | undefined, (state: any) => import("../Inodes/types").InodeState];
15
+ recomputations: () => number;
16
+ resetRecomputations: () => void;
17
+ dependencyRecomputations: () => number;
18
+ resetDependencyRecomputations: () => void;
19
+ } & {
20
+ memoize: typeof import("reselect").lruMemoize;
21
+ argsMemoize: typeof import("reselect").weakMapMemoize;
22
+ };
23
+ export declare const allCasesInodeOidsSelector: ((state: any) => string[]) & {
24
+ clearCache: () => void;
25
+ resultsCount: () => number;
26
+ resetResultsCount: () => void;
27
+ } & {
28
+ resultFunc: (resultFuncArgs_0: Record<string, CaseState>) => string[];
29
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, CaseState>) => string[]) & {
30
+ clearCache: () => void;
31
+ resultsCount: () => number;
32
+ resetResultsCount: () => void;
33
+ };
34
+ lastResult: () => string[];
35
+ dependencies: [(state: any) => Record<string, CaseState>];
36
+ recomputations: () => number;
37
+ resetRecomputations: () => void;
38
+ dependencyRecomputations: () => number;
39
+ resetDependencyRecomputations: () => void;
40
+ } & {
41
+ memoize: typeof import("reselect").lruMemoize;
42
+ argsMemoize: typeof import("reselect").weakMapMemoize;
43
+ };
44
+ export declare const reloadCountSelector: (caseOid: string) => ((state: any) => number | undefined) & {
45
+ clearCache: () => void;
46
+ resultsCount: () => number;
47
+ resetResultsCount: () => void;
48
+ } & {
49
+ resultFunc: (resultFuncArgs_0: CaseState | undefined) => number | undefined;
50
+ memoizedResultFunc: ((resultFuncArgs_0: CaseState | undefined) => number | undefined) & {
51
+ clearCache: () => void;
52
+ resultsCount: () => number;
53
+ resetResultsCount: () => void;
54
+ };
55
+ lastResult: () => number | undefined;
56
+ dependencies: [(state: any) => CaseState | undefined];
57
+ recomputations: () => number;
58
+ resetRecomputations: () => void;
59
+ dependencyRecomputations: () => number;
60
+ resetDependencyRecomputations: () => void;
61
+ } & {
62
+ memoize: typeof import("reselect").lruMemoize;
63
+ argsMemoize: typeof import("reselect").weakMapMemoize;
64
+ };
@@ -26,8 +26,6 @@ export declare const getCasePayloadEditorActions: (caze: Case) => Promise<{
26
26
  fullWidth: boolean;
27
27
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
28
28
  blocker: boolean;
29
- onConfirm: (...args: any[]) => void;
30
- onCancel: () => void;
31
29
  onClose: () => void;
32
30
  }> | undefined;
33
31
  };
@@ -11,7 +11,6 @@ export type ScenarioEntity = Entity<typeof ENTITY_TYPES.SCENARIO, {
11
11
  scenarioDescription: string;
12
12
  }>;
13
13
  export type TransactionEntity = Entity<typeof ENTITY_TYPES.TRANSACTION, {
14
- businessId: string;
15
14
  transactionEntryDate: string;
16
15
  transactionAmountOrigin: number;
17
16
  transactionAmount: number;
@@ -227,7 +227,7 @@ export type SearchMask = {
227
227
  defaultQuery: string;
228
228
  defaultOrdering: string;
229
229
  defaultHighlight?: {
230
- kind: "dms-indexation.search.Highlight";
230
+ kind: "dms-core.ui.component.HighlightFieldResource";
231
231
  snippets: number;
232
232
  field: string;
233
233
  };