@imtf/dms-core 1.0.0-beta.1

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 (302) hide show
  1. package/apps/folder-manager/routes/InodeCollection/hooks/useRemoveInodesFromUrl.d.ts +3 -0
  2. package/core/components/CountryFlag/CountryFlag.d.ts +5 -0
  3. package/core/components/CountryFlag/Loadable.d.ts +2 -0
  4. package/core/components/JsonForm/widgets/widgetHOC.d.ts +33 -0
  5. package/core/components/TreeView/types.d.ts +17 -0
  6. package/core/components/TreeViewCell/constants.d.ts +25 -0
  7. package/core/components/dms-ui/constants.d.ts +15 -0
  8. package/core/constants/apps.d.ts +60 -0
  9. package/core/constants/kinds.d.ts +80 -0
  10. package/core/constants/permissions.d.ts +32 -0
  11. package/core/containers/DropZone/selectors.d.ts +125 -0
  12. package/core/containers/NotificationCenter/slice.d.ts +25 -0
  13. package/core/containers/NotificationCenter/types.d.ts +5 -0
  14. package/core/containers/PDFComposer/actions.d.ts +93 -0
  15. package/core/containers/PDFComposer/constants.d.ts +31 -0
  16. package/core/containers/PDFComposer/reducer.d.ts +21 -0
  17. package/core/containers/PDFComposer/type.d.ts +47 -0
  18. package/core/containers/PDFTronViewer/components/LightViewer/config.d.ts +10 -0
  19. package/core/containers/PDFTronViewer/components/LightViewer/index.d.ts +6 -0
  20. package/core/containers/PDFTronViewer/components/LightViewer/utils.d.ts +5 -0
  21. package/core/containers/PDFTronViewer/components/Viewer/types.d.ts +7 -0
  22. package/core/containers/PDFTronViewer/constants.d.ts +22 -0
  23. package/core/containers/PDFTronViewer/messages.d.ts +123 -0
  24. package/core/containers/PDFTronViewer/slice.d.ts +9 -0
  25. package/core/containers/SearchView/utils.d.ts +8 -0
  26. package/core/containers/TreeView/actions.d.ts +197 -0
  27. package/core/containers/TreeView/constants.d.ts +36 -0
  28. package/core/containers/TreeView/types.d.ts +46 -0
  29. package/core/providers/Actions/Context.d.ts +3 -0
  30. package/core/providers/Actions/constants.d.ts +74 -0
  31. package/core/providers/Actions/index.d.ts +8 -0
  32. package/core/providers/Actions/messages.d.ts +39 -0
  33. package/core/providers/Actions/types.d.ts +85 -0
  34. package/core/providers/Actions/utils.d.ts +4 -0
  35. package/core/providers/App/actions.d.ts +163 -0
  36. package/core/providers/App/constants.d.ts +34 -0
  37. package/core/providers/App/hooks/useAppCapabilities.d.ts +6 -0
  38. package/core/providers/App/hooks/useApplicationSettings.d.ts +57 -0
  39. package/core/providers/App/hooks/useEnvironment.d.ts +9 -0
  40. package/core/providers/App/hooks/useSettings.d.ts +16 -0
  41. package/core/providers/App/hooks/useUserSetting.d.ts +6 -0
  42. package/core/providers/App/hooks/useUserStorage.d.ts +7 -0
  43. package/core/providers/App/messages.d.ts +71 -0
  44. package/core/providers/App/modals/TextFieldModal.d.ts +12 -0
  45. package/core/providers/App/reducer.d.ts +1 -0
  46. package/core/providers/App/saga.d.ts +1 -0
  47. package/core/providers/App/selectors.d.ts +84 -0
  48. package/core/providers/App/service.d.ts +35 -0
  49. package/core/providers/App/types.d.ts +197 -0
  50. package/core/providers/App/utils/convertOldUserSettings.d.ts +11 -0
  51. package/core/providers/App/utils/createFileUploadFormData.d.ts +2 -0
  52. package/core/providers/App/utils/isSupportedItem.d.ts +2 -0
  53. package/core/providers/Authentication/Context.d.ts +10 -0
  54. package/core/providers/Authentication/constants.d.ts +2 -0
  55. package/core/providers/Authentication/hooks/useAuth.d.ts +2 -0
  56. package/core/providers/Authentication/service.d.ts +29 -0
  57. package/core/providers/Authentication/types.d.ts +38 -0
  58. package/core/providers/Cases/actions.d.ts +239 -0
  59. package/core/providers/Cases/constants.d.ts +54 -0
  60. package/core/providers/Cases/hooks/useCaseDocumentTypes.d.ts +10 -0
  61. package/core/providers/Cases/reducer.d.ts +18 -0
  62. package/core/providers/Cases/selectors.d.ts +64 -0
  63. package/core/providers/Cases/service.d.ts +92 -0
  64. package/core/providers/Cases/types.d.ts +143 -0
  65. package/core/providers/Cases/utils/can.d.ts +14 -0
  66. package/core/providers/Cases/utils/common.d.ts +10 -0
  67. package/core/providers/Cases/utils/isCase.d.ts +5 -0
  68. package/core/providers/Ccm/constants.d.ts +50 -0
  69. package/core/providers/Ccm/types.d.ts +137 -0
  70. package/core/providers/Ccm/utils/isAccount.d.ts +4 -0
  71. package/core/providers/Ccm/utils/isClient.d.ts +4 -0
  72. package/core/providers/Ccm/utils/isClientGroup.d.ts +4 -0
  73. package/core/providers/Ccm/utils/isHouseholdEntity.d.ts +4 -0
  74. package/core/providers/Definitions/service.d.ts +30 -0
  75. package/core/providers/Definitions/types.d.ts +248 -0
  76. package/core/providers/Inodes/actions.d.ts +612 -0
  77. package/core/providers/Inodes/constants.d.ts +152 -0
  78. package/core/providers/Inodes/hooks/useDelete.d.ts +12 -0
  79. package/core/providers/Inodes/messages.d.ts +475 -0
  80. package/core/providers/Inodes/selectors.d.ts +55 -0
  81. package/core/providers/Inodes/service.d.ts +149 -0
  82. package/core/providers/Inodes/types.d.ts +411 -0
  83. package/core/providers/Inodes/utils/can.d.ts +16 -0
  84. package/core/providers/Inodes/utils/getUrl.d.ts +1 -0
  85. package/core/providers/Inodes/utils/hasPermission.d.ts +2 -0
  86. package/core/providers/Inodes/utils/is.d.ts +39 -0
  87. package/core/providers/Inodes/utils/isImmutable.d.ts +15 -0
  88. package/core/providers/Inodes/utils/resolveUnauthorizedInodes.d.ts +11 -0
  89. package/core/providers/Inodes/utils/saveProperties.d.ts +2 -0
  90. package/core/providers/Inodes/utils/sortByOrderingWeight.d.ts +6 -0
  91. package/core/providers/Inspectors/Context.d.ts +11 -0
  92. package/core/providers/Inspectors/index.d.ts +6 -0
  93. package/core/providers/Inspectors/types.d.ts +40 -0
  94. package/core/providers/Inspectors/utils.d.ts +2 -0
  95. package/core/providers/Localization/constants.d.ts +3 -0
  96. package/core/providers/Localization/intl.d.ts +3 -0
  97. package/core/providers/Localization/types.d.ts +6 -0
  98. package/core/providers/MdmGraph/actions.d.ts +145 -0
  99. package/core/providers/MdmGraph/constants.d.ts +28 -0
  100. package/core/providers/MdmGraph/containers/MdmEntitiesEditor/utils/createHighlightsSchema.d.ts +13 -0
  101. package/core/providers/MdmGraph/service.d.ts +76 -0
  102. package/core/providers/MdmGraph/types.d.ts +151 -0
  103. package/core/providers/MdmGraph/utils/isEntity.d.ts +3 -0
  104. package/core/providers/MdmGraph/utils/misc.d.ts +13 -0
  105. package/core/providers/Modal/slice.d.ts +45 -0
  106. package/core/providers/Modal/types.d.ts +24 -0
  107. package/core/providers/Plugins/Context.d.ts +8 -0
  108. package/core/providers/Plugins/components/JsonFormPlugin.d.ts +6 -0
  109. package/core/providers/Plugins/components/QuestionnairePart.d.ts +11 -0
  110. package/core/providers/Plugins/components/index.d.ts +2 -0
  111. package/core/providers/Plugins/constants.d.ts +15 -0
  112. package/core/providers/Plugins/hooks/app/useActions.d.ts +4 -0
  113. package/core/providers/Plugins/hooks/app/useCodetype.d.ts +5 -0
  114. package/core/providers/Plugins/hooks/app/useParameter.d.ts +4 -0
  115. package/core/providers/Plugins/hooks/app/useSystemNotification.d.ts +6 -0
  116. package/core/providers/Plugins/hooks/app/useUserDetails.d.ts +2 -0
  117. package/core/providers/Plugins/hooks/cases/useActions.d.ts +7 -0
  118. package/core/providers/Plugins/hooks/cases/useCase.d.ts +3 -0
  119. package/core/providers/Plugins/hooks/cases/useCaseDocumentTypes.d.ts +5 -0
  120. package/core/providers/Plugins/hooks/cases/useCaseDocuments.d.ts +2 -0
  121. package/core/providers/Plugins/hooks/cases/useData.d.ts +14 -0
  122. package/core/providers/Plugins/hooks/cases/usePayload.d.ts +6 -0
  123. package/core/providers/Plugins/hooks/inodes/useActions.d.ts +12 -0
  124. package/core/providers/Plugins/hooks/inodes/useInodesByOids.d.ts +6 -0
  125. package/core/providers/Plugins/hooks/mdm/useEntity.d.ts +6 -0
  126. package/core/providers/Plugins/hooks/tasks/useActions.d.ts +17 -0
  127. package/core/providers/Plugins/hooks/tasks/useData.d.ts +2 -0
  128. package/core/providers/Plugins/hooks/tasks/useEntitiesMutate.d.ts +1 -0
  129. package/core/providers/Plugins/hooks/tasks/useTask.d.ts +2 -0
  130. package/core/providers/Plugins/hooks/usePlugin.d.ts +3 -0
  131. package/core/providers/Plugins/pluginRegistry.d.ts +323 -0
  132. package/core/providers/Plugins/types/ccm.d.ts +4 -0
  133. package/core/providers/Plugins/types/componentPlugins.d.ts +61 -0
  134. package/core/providers/Search/actions.d.ts +62 -0
  135. package/core/providers/Search/constants.d.ts +9 -0
  136. package/core/providers/Search/hooks/useReloader.d.ts +14 -0
  137. package/core/providers/Search/messages.d.ts +7 -0
  138. package/core/providers/Search/reducer.d.ts +32 -0
  139. package/core/providers/Search/saga.d.ts +1 -0
  140. package/core/providers/Search/selectors.d.ts +541 -0
  141. package/core/providers/Search/service.d.ts +9 -0
  142. package/core/providers/Search/types.d.ts +100 -0
  143. package/core/providers/Search/utils/common.d.ts +7 -0
  144. package/core/providers/Search/utils/createQuery.d.ts +26 -0
  145. package/core/providers/Search/utils/sanitizeUrlSearchParams.d.ts +1 -0
  146. package/core/providers/SystemNotification/constants.d.ts +3 -0
  147. package/core/providers/SystemNotification/slice.d.ts +9 -0
  148. package/core/providers/SystemNotification/useSystemNotification.d.ts +6 -0
  149. package/core/providers/Tasks/Context.d.ts +10 -0
  150. package/core/providers/Tasks/constants.d.ts +70 -0
  151. package/core/providers/Tasks/hooks/useEntitiesMutate.d.ts +15 -0
  152. package/core/providers/Tasks/hooks/useEntityDelete.d.ts +17 -0
  153. package/core/providers/Tasks/hooks/useEntityMutate.d.ts +31 -0
  154. package/core/providers/Tasks/hooks/useQuestionnaire.d.ts +4 -0
  155. package/core/providers/Tasks/hooks/useTask.d.ts +3 -0
  156. package/core/providers/Tasks/hooks/useTaskData.d.ts +5 -0
  157. package/core/providers/Tasks/service.d.ts +71 -0
  158. package/core/providers/Tasks/types.d.ts +133 -0
  159. package/core/providers/Tasks/utils/can.d.ts +21 -0
  160. package/core/providers/Tasks/utils/isTask.d.ts +5 -0
  161. package/core/providers/Uploader/Context.d.ts +47 -0
  162. package/core/providers/User/action.d.ts +19 -0
  163. package/core/providers/User/constants.d.ts +7 -0
  164. package/core/providers/User/reducer.d.ts +9 -0
  165. package/core/providers/User/saga.d.ts +2 -0
  166. package/core/providers/User/selectors.d.ts +76 -0
  167. package/core/providers/User/service.d.ts +11 -0
  168. package/core/providers/User/types.d.ts +31 -0
  169. package/core/routes/navigate.d.ts +9 -0
  170. package/core/services/client.d.ts +11 -0
  171. package/core/services/constants.d.ts +1 -0
  172. package/core/services/index.d.ts +18 -0
  173. package/core/services/localStorage.d.ts +21 -0
  174. package/core/services/settings.d.ts +7 -0
  175. package/core/services/silentErrorURLs.d.ts +2 -0
  176. package/core/services/utils/generatePaths.d.ts +11 -0
  177. package/core/utils/action.d.ts +17 -0
  178. package/core/utils/base64.d.ts +1 -0
  179. package/core/utils/checkStore.d.ts +4 -0
  180. package/core/utils/constants.d.ts +3 -0
  181. package/core/utils/everyIn.d.ts +5 -0
  182. package/core/utils/getItemLocation.d.ts +1 -0
  183. package/core/utils/getItemsLocation.d.ts +2 -0
  184. package/core/utils/htmlElements.d.ts +1 -0
  185. package/core/utils/isDocumentActive.d.ts +4 -0
  186. package/core/utils/isObject.d.ts +1 -0
  187. package/core/utils/lazyComponent.d.ts +4 -0
  188. package/core/utils/misc.d.ts +5 -0
  189. package/core/utils/promise.d.ts +4 -0
  190. package/core/utils/requestMiddleware.d.ts +1 -0
  191. package/core/utils/sagaInjectors.d.ts +4 -0
  192. package/core/utils/selectors.d.ts +8 -0
  193. package/core/utils/string.d.ts +24 -0
  194. package/core/utils/uuid.d.ts +1 -0
  195. package/index.d.ts +13 -0
  196. package/package.json +6 -0
  197. package/reducers.d.ts +22 -0
  198. package/store.d.ts +158 -0
  199. package/types/utils.d.ts +22 -0
  200. package/vendor/@imtf/react-components/components/ActivityDetail/ActivityDetail.d.ts +34 -0
  201. package/vendor/@imtf/react-components/components/ActivityDetail/ids.d.ts +1 -0
  202. package/vendor/@imtf/react-components/components/ActivityDetail/index.d.ts +1 -0
  203. package/vendor/@imtf/react-components/components/BasicNotification/BasicNotification.d.ts +52 -0
  204. package/vendor/@imtf/react-components/components/BasicNotification/ids.d.ts +1 -0
  205. package/vendor/@imtf/react-components/components/BasicNotification/index.d.ts +1 -0
  206. package/vendor/@imtf/react-components/components/Breadcrumb/Breadcrumb.d.ts +36 -0
  207. package/vendor/@imtf/react-components/components/Breadcrumb/ids.d.ts +1 -0
  208. package/vendor/@imtf/react-components/components/Breadcrumb/index.d.ts +1 -0
  209. package/vendor/@imtf/react-components/components/Chip/Chip.d.ts +41 -0
  210. package/vendor/@imtf/react-components/components/Chip/ids.d.ts +1 -0
  211. package/vendor/@imtf/react-components/components/Chip/index.d.ts +1 -0
  212. package/vendor/@imtf/react-components/components/Chip/messages.d.ts +7 -0
  213. package/vendor/@imtf/react-components/components/Chip/utils.d.ts +14 -0
  214. package/vendor/@imtf/react-components/components/CounterStackedBar/CounterStackedBar.d.ts +33 -0
  215. package/vendor/@imtf/react-components/components/CounterStackedBar/ids.d.ts +3 -0
  216. package/vendor/@imtf/react-components/components/CounterStackedBar/index.d.ts +1 -0
  217. package/vendor/@imtf/react-components/components/DebounceField/DebounceField.d.ts +35 -0
  218. package/vendor/@imtf/react-components/components/DebounceField/ids.d.ts +1 -0
  219. package/vendor/@imtf/react-components/components/DebounceField/index.d.ts +1 -0
  220. package/vendor/@imtf/react-components/components/DetailList/DetailList.d.ts +24 -0
  221. package/vendor/@imtf/react-components/components/DetailList/ids.d.ts +1 -0
  222. package/vendor/@imtf/react-components/components/DetailList/index.d.ts +1 -0
  223. package/vendor/@imtf/react-components/components/DetailTree/DetailTree.d.ts +30 -0
  224. package/vendor/@imtf/react-components/components/DetailTree/ids.d.ts +1 -0
  225. package/vendor/@imtf/react-components/components/DetailTree/index.d.ts +1 -0
  226. package/vendor/@imtf/react-components/components/Error/Error.d.ts +59 -0
  227. package/vendor/@imtf/react-components/components/Error/ids.d.ts +1 -0
  228. package/vendor/@imtf/react-components/components/Error/index.d.ts +1 -0
  229. package/vendor/@imtf/react-components/components/Error/messages.d.ts +15 -0
  230. package/vendor/@imtf/react-components/components/ErrorCatcher/ErrorCatcher.d.ts +40 -0
  231. package/vendor/@imtf/react-components/components/ErrorCatcher/ids.d.ts +1 -0
  232. package/vendor/@imtf/react-components/components/ErrorCatcher/index.d.ts +1 -0
  233. package/vendor/@imtf/react-components/components/InfiniteScroll/InfiniteScroll.d.ts +114 -0
  234. package/vendor/@imtf/react-components/components/InfiniteScroll/index.d.ts +1 -0
  235. package/vendor/@imtf/react-components/components/InfoCard/InfoCard.d.ts +64 -0
  236. package/vendor/@imtf/react-components/components/InfoCard/index.d.ts +1 -0
  237. package/vendor/@imtf/react-components/components/Inline/Inline.d.ts +19 -0
  238. package/vendor/@imtf/react-components/components/Inline/ids.d.ts +1 -0
  239. package/vendor/@imtf/react-components/components/Inline/index.d.ts +1 -0
  240. package/vendor/@imtf/react-components/components/Internal/FormattedMessage.d.ts +11 -0
  241. package/vendor/@imtf/react-components/components/Line/Line.d.ts +44 -0
  242. package/vendor/@imtf/react-components/components/Line/ids.d.ts +1 -0
  243. package/vendor/@imtf/react-components/components/Line/index.d.ts +1 -0
  244. package/vendor/@imtf/react-components/components/Loader/Loader.d.ts +28 -0
  245. package/vendor/@imtf/react-components/components/Loader/ids.d.ts +1 -0
  246. package/vendor/@imtf/react-components/components/Loader/index.d.ts +1 -0
  247. package/vendor/@imtf/react-components/components/Menu/Menu.d.ts +16 -0
  248. package/vendor/@imtf/react-components/components/Menu/ids.d.ts +1 -0
  249. package/vendor/@imtf/react-components/components/Menu/index.d.ts +1 -0
  250. package/vendor/@imtf/react-components/components/MenuSelect/MenuSelect.d.ts +43 -0
  251. package/vendor/@imtf/react-components/components/MenuSelect/ids.d.ts +1 -0
  252. package/vendor/@imtf/react-components/components/MenuSelect/index.d.ts +1 -0
  253. package/vendor/@imtf/react-components/components/Navipath/Navipath.d.ts +52 -0
  254. package/vendor/@imtf/react-components/components/Navipath/ids.d.ts +1 -0
  255. package/vendor/@imtf/react-components/components/Navipath/index.d.ts +1 -0
  256. package/vendor/@imtf/react-components/components/NoContent/NoContent.d.ts +16 -0
  257. package/vendor/@imtf/react-components/components/NoContent/ids.d.ts +1 -0
  258. package/vendor/@imtf/react-components/components/NoContent/index.d.ts +1 -0
  259. package/vendor/@imtf/react-components/components/NoContent/messages.d.ts +7 -0
  260. package/vendor/@imtf/react-components/components/Notification/Notification.d.ts +56 -0
  261. package/vendor/@imtf/react-components/components/Notification/ids.d.ts +1 -0
  262. package/vendor/@imtf/react-components/components/Notification/index.d.ts +1 -0
  263. package/vendor/@imtf/react-components/components/ProgressCircleBar/ProgressCircleBar.d.ts +47 -0
  264. package/vendor/@imtf/react-components/components/ProgressCircleBar/ids.d.ts +1 -0
  265. package/vendor/@imtf/react-components/components/ProgressCircleBar/index.d.ts +1 -0
  266. package/vendor/@imtf/react-components/components/RippleEffect/RippleEffect.d.ts +33 -0
  267. package/vendor/@imtf/react-components/components/RippleEffect/ids.d.ts +1 -0
  268. package/vendor/@imtf/react-components/components/RippleEffect/index.d.ts +1 -0
  269. package/vendor/@imtf/react-components/components/Scroller/Scroller.d.ts +25 -0
  270. package/vendor/@imtf/react-components/components/Scroller/ids.d.ts +1 -0
  271. package/vendor/@imtf/react-components/components/Scroller/index.d.ts +1 -0
  272. package/vendor/@imtf/react-components/components/SearchBar/SearchBar.d.ts +61 -0
  273. package/vendor/@imtf/react-components/components/SearchBar/ids.d.ts +1 -0
  274. package/vendor/@imtf/react-components/components/SearchBar/index.d.ts +1 -0
  275. package/vendor/@imtf/react-components/components/SearchBar/messages.d.ts +7 -0
  276. package/vendor/@imtf/react-components/components/Stats/Stats.d.ts +39 -0
  277. package/vendor/@imtf/react-components/components/Stats/ids.d.ts +1 -0
  278. package/vendor/@imtf/react-components/components/Stats/index.d.ts +1 -0
  279. package/vendor/@imtf/react-components/components/Timeline/FormattedDate.d.ts +8 -0
  280. package/vendor/@imtf/react-components/components/Timeline/Timeline.d.ts +20 -0
  281. package/vendor/@imtf/react-components/components/Timeline/TimelineItem.d.ts +51 -0
  282. package/vendor/@imtf/react-components/components/Timeline/ids.d.ts +1 -0
  283. package/vendor/@imtf/react-components/components/Timeline/index.d.ts +1 -0
  284. package/vendor/@imtf/react-components/components/Timeline/messages.d.ts +11 -0
  285. package/vendor/@imtf/react-components/components/TitleContent/TitleContent.d.ts +25 -0
  286. package/vendor/@imtf/react-components/components/TitleContent/ids.d.ts +1 -0
  287. package/vendor/@imtf/react-components/components/TitleContent/index.d.ts +1 -0
  288. package/vendor/@imtf/react-components/components/ViewMore/ViewMore.d.ts +30 -0
  289. package/vendor/@imtf/react-components/components/ViewMore/ids.d.ts +1 -0
  290. package/vendor/@imtf/react-components/components/ViewMore/index.d.ts +1 -0
  291. package/vendor/@imtf/react-components/components/ViewMoreCard/ViewMoreCard.d.ts +77 -0
  292. package/vendor/@imtf/react-components/components/ViewMoreCard/ids.d.ts +1 -0
  293. package/vendor/@imtf/react-components/components/ViewMoreCard/index.d.ts +1 -0
  294. package/vendor/@imtf/react-components/components/ViewMoreCard/utils.d.ts +5 -0
  295. package/vendor/@imtf/react-components/components/index.d.ts +30 -0
  296. package/vendor/@imtf/react-components/hooks/index.d.ts +1 -0
  297. package/vendor/@imtf/react-components/hooks/useResponsiveBreakpoints.d.ts +13 -0
  298. package/vendor/@imtf/react-components/index.d.ts +3 -0
  299. package/vendor/@imtf/react-components/utils/common.d.ts +13 -0
  300. package/vendor/@imtf/react-components/utils/constants.d.ts +82 -0
  301. package/vendor/@imtf/react-components/utils/index.d.ts +2 -0
  302. package/vendor/@imtf/react-components/utils/resizeObserver.d.ts +1 -0
@@ -0,0 +1,5 @@
1
+ import { CaseDocumentType } from "../../../Cases/hooks/useCaseDocumentTypes";
2
+ import { Case } from "../../../Cases/types";
3
+ import { Task } from "../../../Tasks/types";
4
+ declare const useCaseDocumentTypes: (item: string | Case | Task) => import("swr").SWRResponse<CaseDocumentType[], any, any>;
5
+ export default useCaseDocumentTypes;
@@ -0,0 +1,2 @@
1
+ export default useCaseDocuments;
2
+ declare function useCaseDocuments(item: any): (import("../../../Inodes/types").Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode"> | undefined)[] | undefined;
@@ -0,0 +1,14 @@
1
+ import { EntityType } from "../../../Ccm/types";
2
+ import { MdmGraphData } from "../../../MdmGraph/types";
3
+ type EntitiesSelector<E = EntityType> = {
4
+ entityType: E;
5
+ attachedEntities?: E[];
6
+ orderBy?: string;
7
+ };
8
+ declare const useCasePaginatedMdmGraphData: <E = EntityType>(params: {
9
+ caseOid: string | undefined;
10
+ entitiesSelector?: EntitiesSelector<E>;
11
+ offset?: number;
12
+ limit?: number;
13
+ }) => import("swr").SWRResponse<MdmGraphData, any, any>;
14
+ export default useCasePaginatedMdmGraphData;
@@ -0,0 +1,6 @@
1
+ import { CasePayload } from "../../../Cases/types";
2
+ declare const useCasePayload: (item: unknown) => import("swr").SWRResponse<{
3
+ kind: "acm.CasePayload";
4
+ payload: CasePayload;
5
+ }, any, any>;
6
+ export default useCasePayload;
@@ -0,0 +1,12 @@
1
+ export default useInodeActions;
2
+ declare function useInodeActions(): {
3
+ delete: (inodes: any, permanent: any, showNotification: any) => Promise<{
4
+ inodes: import("../../../Inodes/types").Inode[];
5
+ permanent?: boolean;
6
+ showNotification?: boolean;
7
+ }>;
8
+ update: (inodes: any) => void;
9
+ stateAction: (inodes: any, action: any) => void;
10
+ updateProperties: (newProperties: any, oid: any) => void;
11
+ checkAndGetWithType: (inodes: any, targetTypes: any, forceChildrenWithType: any, sort: any) => Promise<any>;
12
+ };
@@ -0,0 +1,6 @@
1
+ import { Inode } from "../../../Inodes/types";
2
+ /**
3
+ * Load inodes from server if not already
4
+ * and return inode's objects
5
+ */
6
+ export default function useInodesByOid(oids: string[]): Inode[];
@@ -0,0 +1,6 @@
1
+ export default useEntity;
2
+ declare function useEntity(taskOid: any, entityOid: any): {
3
+ data: any;
4
+ error: any;
5
+ loading: boolean;
6
+ };
@@ -0,0 +1,17 @@
1
+ export default useTaskActions;
2
+ declare function useTaskActions(taskOid: any): {
3
+ createEntity: (entity: any, params: any) => Promise<void>;
4
+ patchEntity: (entity: any, patchData: any, params: any) => Promise<void>;
5
+ deleteEntity: (entity: any, params: any) => Promise<unknown>;
6
+ createFiles: (entityOid: any, inodes: any) => {
7
+ type: string;
8
+ payload: {
9
+ caseOid: any;
10
+ taskOid: any;
11
+ entityOid: any;
12
+ inodes: any;
13
+ };
14
+ };
15
+ reloadQuestionnaire: () => Promise<any>;
16
+ reloadData: () => Promise<any>;
17
+ };
@@ -0,0 +1,2 @@
1
+ import useTaskData from "../../../Tasks/hooks/useTaskData";
2
+ export default useTaskData;
@@ -0,0 +1 @@
1
+ export { default } from "../../../Tasks/hooks/useEntitiesMutate";
@@ -0,0 +1,2 @@
1
+ export default useTask;
2
+ import useTask from "../../../Tasks/hooks/useTask";
@@ -0,0 +1,3 @@
1
+ import { TYPES } from "../constants";
2
+ declare const usePlugin: (TYPE: Exclude<(typeof TYPES)[keyof typeof TYPES], "INSPECTOR" | "CONTEXT_MENU_ACTION">, NAME: string, defaultValue?: any) => any;
3
+ export default usePlugin;
@@ -0,0 +1,323 @@
1
+ import { useIntl } from "react-intl";
2
+ import useReloader from "../Search/hooks/useReloader";
3
+ import { api } from "../../../core/services/settings";
4
+ import { TRIGGER_TARGET } from "../Actions/constants";
5
+ import { Action, ActionDefinition } from "../Actions/types";
6
+ import { SupportedItem } from "../App/types";
7
+ import { Case } from "../Cases/types";
8
+ import { Inode } from "../Inodes/types";
9
+ import { InspectorProps } from "../Inspectors/types";
10
+ import { Task } from "../Tasks/types";
11
+ import { TYPES } from "./constants";
12
+ import useInodesByOids from "./hooks/inodes/useInodesByOids";
13
+ import { CategoryFilterProps, EntitiesWrapperProps, EntityDocumentsDocumentLabelProps, EntityDocumentsDocumentProps, EntityDocumentsTypeLabelProps, EntityEditModalEditForm, MdmEditorEntityRowActionsProps } from "./types/componentPlugins";
14
+ type PLUGIN_TYPES = (typeof TYPES)[keyof typeof TYPES];
15
+ declare const plugins: {
16
+ [key in Exclude<PLUGIN_TYPES, "INSPECTOR" | "CONTEXT_MENU_ACTION">]: Record<string, Record<string, any>>;
17
+ };
18
+ declare class PluginRegistry {
19
+ private getActions;
20
+ private triggerItems;
21
+ private uploadFiles;
22
+ TYPES: Readonly<{
23
+ QUESTIONNAIRE_PART: "QUESTIONNAIRE_PART";
24
+ FORM_WIDGET: "FORM_WIDGET";
25
+ FORM_FIELD: "FORM_FIELD";
26
+ FORM_ACTION: "FORM_ACTION";
27
+ FORM_OPERATOR: "FORM_OPERATOR";
28
+ FORMATTER: "FORMATTER";
29
+ RENDERER: "RENDERER";
30
+ INSPECTOR: "INSPECTOR";
31
+ UNSAFE_SAGA: "UNSAFE_SAGA";
32
+ CONTEXT_MENU_ACTION: "CONTEXT_MENU_ACTION";
33
+ EXTERNAL_MODULE: "EXTERNAL_MODULE";
34
+ PROVIDER: "PROVIDER";
35
+ COMPONENT: "COMPONENT";
36
+ }>;
37
+ ENVIRONNEMENT: string;
38
+ service: {
39
+ service: {
40
+ get: <T = any, R = import("axios").AxiosResponse<T, any>, D = any>(url: string, config?: import("axios").AxiosRequestConfig<D>) => Promise<R> & {
41
+ "@@redux-saga/CANCEL_PROMISE"?: import("axios").Canceler;
42
+ };
43
+ post: <T = any, Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>;
44
+ put: <T = any, Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>;
45
+ patch: <T = any, Data = any>(url: string, data: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>;
46
+ delete: <Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
47
+ head: (url: string, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
48
+ };
49
+ api: typeof api;
50
+ CancelToken: import("axios").CancelTokenStatic;
51
+ };
52
+ components: {
53
+ DocumentViewer: import("react").MemoExoticComponent<({ inode }: {
54
+ inode: Inode;
55
+ }) => import("react/jsx-runtime").JSX.Element>;
56
+ CountryFlag: any;
57
+ };
58
+ hooks: {
59
+ app: {
60
+ useActions: () => {
61
+ openValidationModal: (callback: any, title: any, text: any, extraParams?: {}) => void;
62
+ };
63
+ useCodetype: (codetype?: string, params?: Partial<{
64
+ formName: string;
65
+ }>) => import("swr").SWRResponse<import("../Definitions/types").Codetypes, any, any>;
66
+ useIntl: typeof useIntl;
67
+ useNotification: () => {
68
+ notify: (message: import("react-toastify").ToastContent, options: import("react-toastify").ToastOptions) => import("react-toastify").Id;
69
+ updateNotification: (tastId: import("react-toastify").Id, options: import("react-toastify").UpdateOptions) => void;
70
+ };
71
+ useParameter: <T>(key: "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", defaultValue?: T) => T | undefined;
72
+ useReloader: typeof useReloader;
73
+ useSWR: import("swr").SWRHook;
74
+ useSWRImmutable: import("swr").SWRHook;
75
+ useSWRConfig: () => import("swr/_internal").FullConfiguration;
76
+ useUserDetails: () => import("../User/types").User | undefined;
77
+ };
78
+ case: {
79
+ useActions: (item: any) => {
80
+ createFiles: (entityOid: any, inodes: any) => void;
81
+ };
82
+ useCase: (item: Case) => import("swr").SWRResponse<Case, any, any>;
83
+ useData: <E = import("../Ccm/types").EntityType>(params: {
84
+ caseOid: string | undefined;
85
+ entitiesSelector?: {
86
+ entityType: E;
87
+ attachedEntities?: E[] | undefined;
88
+ orderBy?: string;
89
+ };
90
+ offset?: number;
91
+ limit?: number;
92
+ }) => import("swr").SWRResponse<import("../MdmGraph/types").MdmGraphData, any, any>;
93
+ useDocuments: (item: any) => (Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode"> | undefined)[] | undefined;
94
+ useDocumentTypes: (item: string | Case | Task) => import("swr").SWRResponse<import("../Cases/hooks/useCaseDocumentTypes").CaseDocumentType[], any, any>;
95
+ usePayload: (item: unknown) => import("swr").SWRResponse<{
96
+ kind: "acm.CasePayload";
97
+ payload: import("../Cases/types").CasePayload;
98
+ }, any, any>;
99
+ };
100
+ task: {
101
+ useActions: (taskOid: any) => {
102
+ createEntity: (entity: any, params: any) => Promise<void>;
103
+ patchEntity: (entity: any, patchData: any, params: any) => Promise<void>;
104
+ deleteEntity: (entity: any, params: any) => Promise<unknown>;
105
+ createFiles: (entityOid: any, inodes: any) => {
106
+ type: string;
107
+ payload: {
108
+ caseOid: any;
109
+ taskOid: any;
110
+ entityOid: any;
111
+ inodes: any;
112
+ };
113
+ };
114
+ reloadQuestionnaire: () => Promise<any>;
115
+ reloadData: () => Promise<any>;
116
+ };
117
+ useData: <EntityType extends import("../MdmGraph/types").Entity>(taskOid: string | undefined, config?: import("swr").SWRConfiguration) => import("swr").SWRResponse<import("../Tasks/types").TaskData<EntityType>, any, import("swr").SWRConfiguration<import("../Tasks/types").TaskData<EntityType>, any, import("swr").BareFetcher<import("../Tasks/types").TaskData<EntityType>>> | undefined>;
118
+ useEntitiesMutate: (taskOid: string) => import("swr/mutation").SWRMutationResponse<{
119
+ entities?: import("../MdmGraph/types").Entity[];
120
+ params?: import("../Tasks/hooks/useEntitiesMutate").Params;
121
+ }, import("axios").AxiosError<unknown, any>, import("swr").Key, {
122
+ entities: import("../MdmGraph/types").Entity[];
123
+ params?: import("../Tasks/hooks/useEntitiesMutate").Params;
124
+ }>;
125
+ useEntityMutate: (taskOid: string) => {
126
+ trigger: (entity: import("../MdmGraph/types").Entity, patchData?: import("../MdmGraph/types").EntityData, params?: import("../Tasks/hooks/useEntityMutate").Params) => Promise<void>;
127
+ isMutating: boolean;
128
+ reset: () => void;
129
+ error: import("axios").AxiosError<unknown, any> | undefined;
130
+ data: {
131
+ entity?: import("../MdmGraph/types").Entity & {
132
+ __creationOid?: string;
133
+ };
134
+ relation?: import("../MdmGraph/types").Relation;
135
+ params?: import("../Tasks/hooks/useEntityMutate").Params | undefined;
136
+ } | undefined;
137
+ };
138
+ useEntityDelete: (taskOid: string) => {
139
+ deleteEntity: (entityOid: string, params: Omit<{
140
+ triggerTaskDataReload?: boolean;
141
+ triggerQuestionnaireReload?: boolean;
142
+ } & {
143
+ entityOid: string;
144
+ }, "entityOid">) => Promise<unknown>;
145
+ isMutating: boolean;
146
+ trigger: import("swr/mutation").TriggerWithArgs<string, import("axios").AxiosError<unknown, any>, import("swr").Key, {
147
+ triggerTaskDataReload?: boolean;
148
+ triggerQuestionnaireReload?: boolean;
149
+ } & {
150
+ entityOid: string;
151
+ }>;
152
+ reset: () => void;
153
+ error: import("axios").AxiosError<unknown, any> | undefined;
154
+ data: string | undefined;
155
+ };
156
+ useTask: (taskOid: string | undefined) => import("swr").SWRResponse<Task, any, any>;
157
+ };
158
+ mdm: {
159
+ useEntity: (taskOid: any, entityOid: any) => {
160
+ data: any;
161
+ error: any;
162
+ loading: boolean;
163
+ };
164
+ };
165
+ inode: {
166
+ useActions: () => {
167
+ delete: (inodes: any, permanent: any, showNotification: any) => Promise<{
168
+ inodes: Inode[];
169
+ permanent?: boolean;
170
+ showNotification?: boolean;
171
+ }>;
172
+ update: (inodes: any) => void;
173
+ stateAction: (inodes: any, action: any) => void;
174
+ updateProperties: (newProperties: any, oid: any) => void;
175
+ checkAndGetWithType: (inodes: any, targetTypes: any, forceChildrenWithType: any, sort: any) => Promise<any>;
176
+ };
177
+ useInodesByOids: typeof useInodesByOids;
178
+ };
179
+ };
180
+ setDeps({ getActions, triggerItems, upload, }: {
181
+ getActions: typeof PluginRegistry.prototype.getActions;
182
+ triggerItems: typeof PluginRegistry.prototype.triggerItems;
183
+ upload: typeof PluginRegistry.prototype.uploadFiles;
184
+ }): void;
185
+ register(type: typeof TYPES.FORM_WIDGET | typeof TYPES.FORM_FIELD | typeof TYPES.RENDERER | typeof TYPES.CONTEXT_MENU_ACTION | typeof TYPES.EXTERNAL_MODULE | typeof TYPES.QUESTIONNAIRE_PART | typeof TYPES.PROVIDER, name: string, plugin: (...args: any[]) => React.ReactNode, options?: {
186
+ condition?: (item: unknown) => boolean;
187
+ }): void;
188
+ register(type: typeof TYPES.INSPECTOR, name: string, component: React.FC<InspectorProps>, options?: {
189
+ label?: string;
190
+ condition?: (item: Case | Task | Inode) => boolean;
191
+ }): void;
192
+ register(type: typeof TYPES.FORM_OPERATOR, name: string, plugin: (item: Record<string, any>) => React.ReactNode): void;
193
+ register(type: typeof TYPES.FORMATTER, name: string, plugin: (...args: any[]) => string, params?: unknown): void;
194
+ register(type: typeof TYPES.COMPONENT, name: "mdmEditor/EntitiesWrapper", plugin: React.FC<EntitiesWrapperProps>, params?: {
195
+ condition: (props: EntitiesWrapperProps) => boolean;
196
+ }): void;
197
+ register(type: typeof TYPES.COMPONENT, name: "mdmEditor/EntityRowActions", plugin: React.FC<MdmEditorEntityRowActionsProps>, params?: {
198
+ condition: (props: MdmEditorEntityRowActionsProps) => boolean;
199
+ }): void;
200
+ register(type: typeof TYPES.COMPONENT, name: "mdmEditor/EditModal/EditForm", plugin: React.FC<EntityEditModalEditForm>, params?: {
201
+ condition: (props: EntityEditModalEditForm) => boolean;
202
+ }): void;
203
+ register(type: typeof TYPES.COMPONENT, name: "documentUpload/Filters", plugin: React.FC<CategoryFilterProps>, params?: {
204
+ condition: (props: CategoryFilterProps) => boolean;
205
+ }): void;
206
+ register(type: typeof TYPES.COMPONENT, name: "entityDocuments/TypeLabel", plugin: React.FC<EntityDocumentsTypeLabelProps>, params?: {
207
+ condition: (props: EntityDocumentsTypeLabelProps) => boolean;
208
+ }): void;
209
+ register(type: typeof TYPES.COMPONENT, name: "entityDocuments/Document", plugin: React.FC<EntityDocumentsDocumentProps>, params?: {
210
+ condition: (props: EntityDocumentsDocumentProps) => boolean;
211
+ }): void;
212
+ register(type: typeof TYPES.COMPONENT, name: "entityDocuments/DocumentLabel", plugin: React.FC<EntityDocumentsDocumentLabelProps>, params?: {
213
+ condition: (props: EntityDocumentsDocumentLabelProps) => boolean;
214
+ }): void;
215
+ get(type: keyof typeof plugins, name?: string): Record<string, any> | undefined;
216
+ getAll(type: keyof typeof plugins): Record<string, Record<string, any>>;
217
+ upload: {
218
+ promptIcosUpload: (params: {
219
+ multiple?: boolean;
220
+ accept?: string;
221
+ caseOid?: string;
222
+ taskOid?: string;
223
+ entityOid?: string;
224
+ type?: import("../Inodes/types").InodeType;
225
+ properties?: any;
226
+ types?: import("../Inodes/types").InodeType[];
227
+ }) => Promise<null>;
228
+ uploadIcosFiles: (params: {
229
+ files: File[];
230
+ caseOid?: string;
231
+ taskOid?: string;
232
+ entityOid?: string;
233
+ fileProps?: Record<string, any>;
234
+ fileInodes?: Inode[];
235
+ types: import("../Inodes/types").InodeType[];
236
+ }) => Promise<null>;
237
+ updateBinary: (inodeOid: string, file: File, getUpdatedItem?: (file: File) => File) => Promise<null>;
238
+ };
239
+ actions: {
240
+ getActions: (items: SupportedItem[], extraActions?: ActionDefinition[], extraActionParams?: Record<string, any>) => Action[];
241
+ triggerItems: (items: SupportedItem[], target?: keyof typeof TRIGGER_TARGET) => void;
242
+ getAction: (actionId: string, itemArray: SupportedItem[]) => false | (() => void) | undefined;
243
+ TYPES: {
244
+ APP: {
245
+ readonly OPEN: "OPEN";
246
+ readonly OPEN_IN_NEW_TAB: "OPEN_IN_NEW_TAB";
247
+ readonly OPEN_IN_NEW_WINDOW: "OPEN_IN_NEW_WINDOW";
248
+ readonly OPEN_EACH_IN_NEW_WINDOW: "OPEN_EACH_IN_NEW_WINDOW";
249
+ readonly OPEN_EACH_IN_NEW_TAB: "OPEN_EACH_IN_NEW_TAB";
250
+ readonly DEV_DETAILS: "DETAILS";
251
+ readonly DETAILS: "DETAILS";
252
+ readonly SEND_LINK_BY_EMAIL: "SEND_LINK_BY_EMAIL";
253
+ };
254
+ CASE: {
255
+ readonly REOPEN: "CASE_REOPEN";
256
+ readonly CANCEL: "CASE_CANCEL";
257
+ readonly SUSPEND: "CASE_SUSPEND";
258
+ readonly COMPLETE: "CASE_COMPLETE";
259
+ readonly REACTIVATE: "CASE_REACTIVATE";
260
+ readonly RESTART: "CASE_RESTART";
261
+ readonly CREATE_AD_HOC_PROCESS: "CREATE_AD_HOC_PROCESS";
262
+ readonly OPEN_DOSSIER: "OPEN_DOSSIER";
263
+ readonly GENERATE_CASE_REPORT: "GENERATE_CASE_REPORT";
264
+ readonly SHOW_TIMELINE: "SHOW_TIMELINE";
265
+ readonly ADD_COMMENT: "CASE_ADD_COMMENT";
266
+ };
267
+ TASK: {
268
+ readonly CLAIM_TASK: "CLAIM_TASK";
269
+ readonly RELEASE_TASK: "RELEASE_TASK";
270
+ readonly DELEGATE_TASK: "DELEGATE_TASK";
271
+ readonly ASSIGN_TASK: "ASSIGN_TASK";
272
+ readonly ADD_COMMENT: "TASK_ADD_COMMENT";
273
+ };
274
+ INODE: {
275
+ readonly MARK_AS_FAVORITE: "INODE_MARK_AS_FAVORITE";
276
+ readonly MARK_AS_UNFAVORITE: "INODE_MARK_AS_UNFAVORITE";
277
+ readonly RENAME: "INODE_RENAME";
278
+ readonly OPEN_CASE: "OPEN_CASE";
279
+ readonly DUPLICATE: "INODE_DUPLICATE";
280
+ readonly CREATE_LINK: "INODE_CREATE_LINK";
281
+ readonly DOWNLOAD: "INODE_DOWNLOAD";
282
+ readonly EDIT: "INODE_EDIT";
283
+ readonly SCAN: "SCAN_FILE";
284
+ readonly PDFTRON_PRINT: "INODE_PDFTRON_PRINT";
285
+ readonly PDFTRON_PRINT_MERGE: "INODE_PDFTRON_PRINT_MERGE";
286
+ readonly UPDATE: "INODE_UPDATE";
287
+ readonly WATCH: "INODE_WATCH";
288
+ readonly UNWATCH: "INODE_UNWATCH";
289
+ readonly ADD_FILE: "INODE_ADD_FILE";
290
+ readonly ADD_FOLDER: "INODE_ADD_FOLDER";
291
+ readonly ADD_COMMENT: "INODE_ADD_COMMENT";
292
+ readonly RESTORE: "INODE_RESTORE";
293
+ readonly COMPOSE: "INODE_COMPOSE";
294
+ readonly QUICK_LOOK: "INODE_QUICK_LOOK";
295
+ readonly QUICK_LOOK_MERGE: "INODE_QUICK_LOOK_MERGE";
296
+ readonly CREATE_CASE: "INODE_CREATE_CASE";
297
+ readonly MERGE_PDF: "INODE_MERGE_PDF";
298
+ readonly CREATE_NEW_TASK: "INODE_CREATE_NEW_TASK";
299
+ readonly DELETE: "INODES_DELETE";
300
+ readonly ADD_TO_DROP_ZONE: "INODES_ADD_TO_DROP_ZONE";
301
+ readonly LINK_FROM_DROP_ZONE: "INODES_LINK_FROM_DROP_ZONE";
302
+ readonly COPY_FROM_DROP_ZONE: "INODES_COPY_FROM_DROP_ZONE";
303
+ readonly MOVE_FROM_DROP_ZONE: "INODES_MOVE_FROM_DROP_ZONE";
304
+ readonly REMOVE_FROM_DROP_ZONE: "INODES_REMOVE_FROM_DROP_ZONE";
305
+ readonly EXPAND_ALL_CHILDREN: "EXPAND_ALL_CHILDREN";
306
+ readonly DETAILS: "INODES_DETAILS";
307
+ };
308
+ };
309
+ GROUPS: {
310
+ readonly EDIT_ELEMENT: "EDIT_ELEMENT";
311
+ readonly EXTRA_ACTION: "EXTRA_ACTION";
312
+ readonly FOLDER_OPTIONS: "FOLDER_OPTIONS";
313
+ readonly LINK_TO_OTHER: "LINK_TO_OTHER";
314
+ readonly EDIT_GLOBAL: "EDIT_GLOBAL";
315
+ readonly ADMIN: "ADMIN";
316
+ readonly OTHER: "OTHER";
317
+ readonly DROPZONE: "DROPZONE";
318
+ readonly SEARCH: "SEARCH";
319
+ };
320
+ };
321
+ }
322
+ export { TYPES };
323
+ export default PluginRegistry;
@@ -0,0 +1,4 @@
1
+ export type Definition = {
2
+ name: string;
3
+ [key: string]: unknown;
4
+ };
@@ -0,0 +1,61 @@
1
+ import { ReactNode } from "react";
2
+ import { Inode } from "../../Inodes/types";
3
+ import { Entity } from "../../MdmGraph/types";
4
+ import { Definition } from "./ccm";
5
+ export type ComponentPluginProps<P> = P & {
6
+ defaultRender: (props?: Partial<P>) => JSX.Element;
7
+ };
8
+ export type MdmEditorEntityRowActionsProps = ComponentPluginProps<{
9
+ isDisabled: boolean;
10
+ isEditable: boolean;
11
+ isDeletable: boolean;
12
+ entity: Entity;
13
+ taskOid: string;
14
+ definition: any;
15
+ }>;
16
+ export type EntityEditModalEditForm = ComponentPluginProps<{
17
+ definition: Definition;
18
+ entity: Entity;
19
+ children: ReactNode;
20
+ }>;
21
+ export type EntityDocumentsDocumentProps = ComponentPluginProps<{
22
+ document: Inode<"dms-core.File">;
23
+ disabled: boolean;
24
+ identifier?: string;
25
+ taskOid?: string;
26
+ caseOid?: string;
27
+ entityOid?: string;
28
+ }>;
29
+ export type EntityDocumentsDocumentLabelProps = ComponentPluginProps<{
30
+ document: Inode<"dms-core.File">;
31
+ canDrag: boolean;
32
+ disabled: boolean;
33
+ identifier?: string;
34
+ taskOid?: string;
35
+ caseOid?: string;
36
+ entityOid?: string;
37
+ }>;
38
+ export type CategoryFilterProps = ComponentPluginProps<{
39
+ documents: {
40
+ [entityOid: string]: Inode<"dms-core.File">[];
41
+ };
42
+ setDocuments: (documents: {
43
+ [entityOid: string]: Inode<"dms-core.File">[];
44
+ }) => void;
45
+ }>;
46
+ export type EntityDocumentsTypeLabelProps = ComponentPluginProps<{
47
+ label: string;
48
+ disabled: boolean;
49
+ isRequired: boolean;
50
+ identifier?: string;
51
+ taskOid?: string;
52
+ caseOid?: string;
53
+ entityOid?: string;
54
+ type: string;
55
+ documents: Inode<"dms-core.File">[];
56
+ }>;
57
+ export type EntitiesWrapperProps = ComponentPluginProps<{
58
+ definition: Definition;
59
+ entitiesLength: number;
60
+ disabled: boolean;
61
+ }>;
@@ -0,0 +1,62 @@
1
+ export function search(query: any, params?: {}): {
2
+ type: string;
3
+ payload: {
4
+ query: any;
5
+ params: {};
6
+ };
7
+ };
8
+ export function searchSuccess(results: any, query: any): {
9
+ type: string;
10
+ payload: {
11
+ results: any;
12
+ query: any;
13
+ };
14
+ };
15
+ export function searchError(error: any, query: any): {
16
+ type: string;
17
+ payload: {
18
+ query: any;
19
+ };
20
+ error: any;
21
+ };
22
+ export function clearResults(loading?: boolean): {
23
+ type: string;
24
+ payload: {
25
+ loading: boolean;
26
+ };
27
+ };
28
+ export function clearError(): {
29
+ type: string;
30
+ };
31
+ export function reset(): {
32
+ type: string;
33
+ };
34
+ export function setRowsStatus(itemOids: any, status: any): {
35
+ type: string;
36
+ payload: {
37
+ itemOids: any;
38
+ status: any;
39
+ };
40
+ };
41
+ export function deleteRows(itemOids: any): {
42
+ type: string;
43
+ payload: {
44
+ itemOids: any;
45
+ };
46
+ };
47
+ /**
48
+ * @param {{
49
+ * caseOid: string,
50
+ * taskOid?: string,
51
+ * }} props
52
+ */
53
+ export function setDirty({ caseOid, taskOid }: {
54
+ caseOid: string;
55
+ taskOid?: string;
56
+ }): {
57
+ type: string;
58
+ payload: {
59
+ caseOid: string;
60
+ taskOid: string | undefined;
61
+ };
62
+ };
@@ -0,0 +1,9 @@
1
+ export declare const SEARCH = "imtf/Search/SEARCH";
2
+ export declare const SEARCH_SUCCESS = "imtf/Search/SEARCH_SUCCESS";
3
+ export declare const SEARCH_ERROR = "imtf/Search/SEARCH_ERROR";
4
+ export declare const CLEAR_RESULTS = "imtf/Search/CLEAR_RESULTS";
5
+ export declare const CLEAR_ERROR = "imtf/Search/CLEAR_ERROR";
6
+ export declare const RESET = "imtf/Search/RESET";
7
+ export declare const SET_ROWS_STATUS = "imtf/Search/SET_ROWS_STATUS";
8
+ export declare const DELETE_ROWS = "imtf/Search/DELETE_ROWS";
9
+ export declare const SET_DIRTY = "imtf/Search/SET_DIRTY";
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Execute a function periodically
3
+ * @param {Function} fn Function to execute periodically
4
+ * @param {Array<Number>} [intervals] array of intervals (optional)
5
+ * @param {Boolean} infinite Should we repeat last interval
6
+ * @param {Boolean} autoStart Directly start intervalometer
7
+ * @param {Boolean} triggerOnBlurAndFocus Stop / restart when window is visible but blurred
8
+ * @param {Boolean} enabled Wether this hook should be enabled or not
9
+ * @returns an object containing restart and stop function
10
+ */
11
+ export default function useReloader(fn: Function, intervals?: number[] | undefined, infinite?: boolean, enabled?: boolean, triggerOnBlurAndFocus?: boolean): {
12
+ restart: () => void;
13
+ stop: () => void;
14
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ singletonNavigation: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ };
6
+ };
7
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { AnyAction } from "@reduxjs/toolkit";
2
+ import { TableRow, TreeViewField } from "../../../core/containers/TreeView/types";
3
+ import { SearchMask } from "../Definitions/types";
4
+ import { SearchResultCapabilities } from "./types";
5
+ export type SearchState = {
6
+ loading: boolean;
7
+ error: any;
8
+ results: {
9
+ contextName: string | undefined;
10
+ count: number | null;
11
+ head: TreeViewField[];
12
+ mask: SearchMask | null;
13
+ rows: TableRow[];
14
+ hasUnknowCount: boolean;
15
+ timestamp: number | undefined;
16
+ capabilities: SearchResultCapabilities;
17
+ };
18
+ };
19
+ export default function searchReducer(state: SearchState | undefined, action: AnyAction): {
20
+ loading: any;
21
+ error: any;
22
+ results: {
23
+ contextName: string | undefined;
24
+ count: number | null;
25
+ head: TreeViewField[];
26
+ mask: SearchMask | null;
27
+ rows: TableRow[];
28
+ hasUnknowCount: boolean;
29
+ timestamp: number | undefined;
30
+ capabilities: SearchResultCapabilities;
31
+ };
32
+ };
@@ -0,0 +1 @@
1
+ export default function searchSaga(): Generator<import("redux-saga/effects").AllEffect<import("redux-saga/effects").ForkEffect<never>>, void, unknown>;