@imtf/dms-core 6.5.7-natwest.0 → 7.4.3-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +75 -0
- package/apps/folder-manager/routes/InodeCollection/hooks/useRemoveInodesFromUrl.d.ts +4 -0
- package/core/components/ActionMenu/Menu.d.ts +19 -0
- package/core/components/ActionMenu/Trigger.d.ts +8 -0
- package/core/components/ActionMenu/index.d.ts +1 -0
- package/core/components/ActionMenu/styles.d.ts +2 -0
- package/core/components/Chip/Chip.d.ts +8 -0
- package/core/components/CloseModalButton/CloseModalButton.d.ts +14 -0
- package/core/components/CloseModalButton/index.d.ts +1 -0
- package/core/components/DatePicker/DatePicker.d.ts +7 -0
- package/core/components/DatePicker/index.d.ts +1 -0
- package/core/components/Error/index.d.ts +7 -0
- package/core/components/FormattedMessage/index.d.ts +11 -0
- package/core/components/FormattedNumberTextfield/FormattedNumberTextfield.d.ts +3 -0
- package/core/components/FormattedNumberTextfield/index.d.ts +1 -0
- package/core/components/Inline/index.d.ts +8 -0
- package/core/components/ItemIcon/TaskIcon.d.ts +5 -0
- package/core/components/ItemIcon/index.d.ts +19 -0
- package/core/components/NotFound/index.d.ts +4 -0
- package/core/components/Select/Select.d.ts +20 -0
- package/core/components/Select/index.d.ts +1 -0
- package/core/components/Tooltip/TooltipError.d.ts +4 -0
- package/core/components/dms-ui/Composer.d.ts +57 -0
- package/core/components/dms-ui/NewDatasourceAutocomplete.d.ts +18 -0
- package/core/components/dms-ui/constants.d.ts +1 -0
- package/core/components/dms-ui/default/DatasourceAutocomplete.d.ts +18 -0
- package/core/components/dms-ui/default/DatePicker.d.ts +17 -0
- package/core/components/dms-ui/default/Group.d.ts +19 -0
- package/core/components/dms-ui/default/NestedGroup.d.ts +7 -0
- package/core/components/dms-ui/default/NumberFormattedTexfield.d.ts +17 -0
- package/core/components/dms-ui/default/NumberTextfield.d.ts +3 -0
- package/core/components/dms-ui/default/RadioButton.d.ts +16 -0
- package/core/components/dms-ui/default/Select.d.ts +20 -0
- package/core/components/dms-ui/default/Textfield.d.ts +17 -0
- package/core/components/dms-ui/default/TwoDigitNumberFormattedTextfield.d.ts +3 -0
- package/core/components/dms-ui/default/index.d.ts +10 -0
- package/core/components/dms-ui/facet/DatasourceAutocomplete.d.ts +13 -0
- package/core/components/dms-ui/facet/DateRangeSearcher.d.ts +18 -0
- package/core/components/dms-ui/facet/Facet.d.ts +11 -0
- package/core/components/dms-ui/facet/NumericRangePicker.d.ts +20 -0
- package/core/components/dms-ui/facet/Select.d.ts +13 -0
- package/core/components/dms-ui/facet/Textfield.d.ts +11 -0
- package/core/components/dms-ui/facet/TypePicker.d.ts +12 -0
- package/core/components/dms-ui/facet/index.d.ts +7 -0
- package/core/components/dms-ui/facet/styles.d.ts +9 -0
- package/core/components/dms-ui/messages.d.ts +39 -0
- package/core/components/dms-ui/types.d.ts +9 -1
- package/core/components/dms-ui/utils/getComponent.d.ts +20 -0
- package/core/components/dms-ui/utils/removeLabelFromValues.d.ts +1 -0
- package/core/components/dms-ui/utils/type-guards.d.ts +4 -0
- package/core/components/dms-ui/utils/utils.d.ts +3 -0
- package/core/constants/apps.d.ts +0 -10
- package/core/constants/dragTypes.d.ts +2 -0
- package/core/containers/DataGrid/constants.d.ts +28 -0
- package/core/containers/DataGrid/types.d.ts +50 -0
- package/core/containers/DataGrid/utils/crossTabSync.d.ts +13 -0
- package/core/containers/DataGrid/utils/handleWidth.d.ts +18 -0
- package/core/containers/EntityDocuments/EntityDocumentsComponent.d.ts +30 -0
- package/core/containers/EntityDocuments/components/Accordion.d.ts +12 -0
- package/core/containers/EntityDocuments/components/Document.d.ts +11 -0
- package/core/containers/EntityDocuments/components/DocumentLabel.d.ts +9 -0
- package/core/containers/EntityDocuments/components/DocumentList.d.ts +19 -0
- package/core/containers/EntityDocuments/components/DocumentListTitle.d.ts +9 -0
- package/core/containers/EntityDocuments/constants.d.ts +1 -0
- package/core/containers/EntityDocuments/types.d.ts +7 -0
- package/core/containers/NotificationCenter/slice.d.ts +1 -1
- package/core/containers/PDFComposer/actions.d.ts +2 -2
- package/core/containers/PDFTronViewer/components/LightViewer/config.d.ts +0 -4
- package/core/containers/PDFTronViewer/messages.d.ts +8 -0
- package/core/containers/SearchDataGrid/types.d.ts +11 -0
- package/core/hooks/useCollator.d.ts +2 -0
- package/core/providers/Actions/types.d.ts +1 -7
- package/core/providers/App/actions.d.ts +12 -27
- package/core/providers/App/constants.d.ts +1 -4
- package/core/providers/App/hooks/useApplicationSettings.d.ts +19 -3
- package/core/providers/App/hooks/useDownload.d.ts +29 -0
- package/core/providers/App/hooks/useSettings.d.ts +5 -9
- package/core/providers/App/hooks/useTriggerItems.d.ts +13 -0
- package/core/providers/App/hooks/useUserSetting.d.ts +9 -1
- package/core/providers/App/hooks/useUserStorage.d.ts +2 -2
- package/core/providers/App/messages.d.ts +12 -0
- package/core/providers/App/reducer.d.ts +1 -1
- package/core/providers/App/service.d.ts +48 -17
- package/core/providers/App/types.d.ts +12 -2
- package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
- package/core/providers/App/utils/convertTreeviewFields.d.ts +89 -0
- package/core/providers/App/utils/sortListByWeightAndName.d.ts +8 -0
- package/core/providers/Authentication/hooks/useAuth.d.ts +1 -1
- package/core/providers/Authentication/service.d.ts +11 -3
- package/core/providers/Authentication/types.d.ts +6 -8
- package/core/providers/Cases/actions.d.ts +21 -3
- package/core/providers/Cases/service.d.ts +70 -33
- package/core/providers/Cases/types.d.ts +3 -0
- package/core/providers/Cases/utils/common.d.ts +4 -0
- package/core/providers/Cases/utils/mutateDocumentGuidance.d.ts +17 -0
- package/core/providers/Ccm/constants.d.ts +6 -0
- package/core/providers/Ccm/types.d.ts +2 -1
- package/core/providers/Ccm/utils/isAccount.d.ts +1 -1
- package/core/providers/Ccm/utils/isClient.d.ts +1 -1
- package/core/providers/Ccm/utils/isClientGroup.d.ts +1 -1
- package/core/providers/Ccm/utils/isHouseholdEntity.d.ts +1 -1
- package/core/providers/DataGrid/Context.d.ts +51 -0
- package/core/providers/Definitions/hooks/useTaskDefinition.d.ts +1 -0
- package/core/providers/Definitions/hooks/useTaskDefinitions.d.ts +4 -0
- package/core/providers/Definitions/service.d.ts +48 -19
- package/core/providers/Definitions/types.d.ts +26 -2
- package/core/providers/Definitions/utils/typesToTypeRefs.d.ts +5 -0
- package/core/providers/DropZone/Context.d.ts +12 -0
- package/core/providers/Inodes/actions.d.ts +26 -430
- package/core/providers/Inodes/constants.d.ts +8 -46
- package/core/providers/Inodes/hooks/useInodeByOid.d.ts +5 -0
- package/core/providers/Inodes/hooks/useInodeTypeAssignment.d.ts +4 -0
- package/core/providers/Inodes/hooks/useInodesByOids.d.ts +7 -0
- package/core/providers/Inodes/hooks/usePropertiesType.d.ts +14 -0
- package/core/providers/Inodes/hooks/usePropertyComponents.d.ts +11 -0
- package/core/providers/Inodes/hooks/useRestore.d.ts +22 -0
- package/core/providers/Inodes/hooks/useSortedTypes.d.ts +5 -0
- package/core/providers/Inodes/hooks/useTypes.d.ts +10 -0
- package/core/providers/Inodes/hooks/useUpdateInodes.d.ts +35 -0
- package/core/providers/Inodes/messages.d.ts +25 -1
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +31 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/BarcodeLoading.d.ts +5 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/ModalContent.d.ts +35 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/index.d.ts +12 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/messages.d.ts +63 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +43 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +8 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/convertToUIPropertiesGroup.d.ts +3 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/createBarcodeProcessingFormData.d.ts +5 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/findMostUsedValue.d.ts +18 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getDefaultValuesFromProperties.d.ts +7 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +10 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveProperties.d.ts +8 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveStatusIconAndColor.d.ts +5 -0
- package/core/providers/Inodes/modals/AssignTypeModal.d.ts +9 -0
- package/core/providers/Inodes/service.d.ts +138 -66
- package/core/providers/Inodes/type-guards.d.ts +2 -0
- package/core/providers/Inodes/types.d.ts +27 -12
- package/core/providers/Inodes/utils/can.d.ts +1 -0
- package/core/providers/Inodes/utils/getAssignableTypesFromInode.d.ts +2 -0
- package/core/providers/Inodes/utils/getBulkUrl.d.ts +1 -0
- package/core/providers/Inodes/utils/getUrl.d.ts +2 -1
- package/core/providers/Inodes/utils/is.d.ts +2 -3
- package/core/providers/Inodes/utils/isInodeType.d.ts +3 -0
- package/core/providers/Inodes/utils/isInodeTypeRef.d.ts +3 -0
- package/core/providers/Inodes/utils/mutateInodes.d.ts +28 -0
- package/core/providers/Inodes/utils/replacePropertiesWithConfig.d.ts +10 -0
- package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +185 -0
- package/core/providers/Inodes/utils/validatePropertiesForm.d.ts +2 -0
- package/core/providers/Inspectors/Context.d.ts +5 -0
- package/core/providers/Inspectors/types.d.ts +5 -5
- package/core/providers/Localization/Context.d.ts +7 -0
- package/core/providers/Localization/hooks/useLocale.d.ts +3 -0
- package/core/providers/MdmGraph/actions.d.ts +13 -1
- package/core/providers/MdmGraph/constants.d.ts +10 -4
- package/core/providers/MdmGraph/service.d.ts +56 -31
- package/core/providers/MdmGraph/types.d.ts +12 -0
- package/core/providers/Modal/hooks/useModal.d.ts +45 -0
- package/core/providers/Modal/slice.d.ts +9 -0
- package/core/providers/Modal/types.d.ts +3 -0
- package/core/providers/Plugins/ComponentPluginContext.d.ts +14 -0
- package/core/providers/Plugins/hooks/app/useSystemNotification.d.ts +8 -3
- package/core/providers/Plugins/hooks/inodes/useActions.d.ts +10 -2
- package/core/providers/Plugins/hooks/tasks/useActions.d.ts +2 -2
- package/core/providers/Plugins/hooks/tasks/useTaskProcessing.d.ts +8 -0
- package/core/providers/Plugins/pluginRegistry.d.ts +80 -53
- package/core/providers/Plugins/types/componentPlugins.d.ts +18 -8
- package/core/providers/Plugins/withComponentPlugin.d.ts +27 -0
- package/core/providers/Search/reducer.d.ts +7 -4
- package/core/providers/Search/selectors.d.ts +48 -262
- package/core/providers/Search/service.d.ts +10 -4
- package/core/providers/Search/types.d.ts +11 -28
- package/core/providers/Search/utils/createQuery.d.ts +5 -5
- package/core/providers/Tasks/Context.d.ts +8 -5
- package/core/providers/Tasks/constants.d.ts +2 -1
- package/core/providers/Tasks/hooks/useEntityDelete.d.ts +1 -1
- package/core/providers/Tasks/hooks/useEntityMutate.d.ts +1 -1
- package/core/providers/Tasks/hooks/useTaskData.d.ts +2 -2
- package/core/providers/Tasks/service.d.ts +45 -22
- package/core/providers/Tasks/types.d.ts +8 -1
- package/core/providers/Tasks/utils/isDocumentTask.d.ts +2 -0
- package/core/providers/Tasks/utils/mutateTaskData.d.ts +6 -0
- package/core/providers/Uploader/Context.d.ts +9 -9
- package/core/providers/User/hooks/useAgencies.d.ts +15 -0
- package/core/providers/User/hooks/useIsAgencyEnabled.d.ts +5 -0
- package/core/providers/User/saga.d.ts +1 -2
- package/core/providers/User/service.d.ts +18 -0
- package/core/providers/User/types.d.ts +21 -0
- package/core/services/index.d.ts +6 -6
- package/core/services/localStorage.d.ts +1 -0
- package/core/theme/theme.base.d.ts +312 -0
- package/core/theme/theme.lightMode.d.ts +70 -0
- package/core/utils/action.d.ts +2 -2
- package/core/utils/common.d.ts +15 -0
- package/core/utils/date/getUTCDateInCurrentTimezone.d.ts +11 -0
- package/core/utils/hasValidKind.d.ts +2 -0
- package/core/utils/string.d.ts +2 -1
- package/package.json +1 -1
- package/reducers.d.ts +2 -3
- package/store.d.ts +27 -28
- package/vendor/@imtf/react-components/components/ActivityDetail/ActivityDetail.d.ts +2 -30
- package/vendor/@imtf/react-components/components/CounterStackedBar/CounterStackedBar.d.ts +1 -27
- package/vendor/@imtf/react-components/components/Error/Error.d.ts +2 -55
- package/vendor/@imtf/react-components/components/InfiniteScroll/InfiniteScroll.d.ts +0 -4
- package/vendor/@imtf/react-components/components/Line/Line.d.ts +1 -38
- package/vendor/@imtf/react-components/components/Loader/Loader.d.ts +1 -22
- package/vendor/@imtf/react-components/components/Menu/Menu.d.ts +1 -9
- package/vendor/@imtf/react-components/components/NoContent/NoContent.d.ts +1 -10
- package/vendor/@imtf/react-components/components/Notification/Notification.d.ts +2 -55
- package/vendor/@imtf/react-components/components/ProgressCircleBar/ProgressCircleBar.d.ts +2 -43
- package/vendor/@imtf/react-components/components/Scroller/Scroller.d.ts +1 -19
- package/vendor/@imtf/react-components/components/SearchBar/SearchBar.d.ts +2 -57
- package/vendor/@imtf/react-components/components/Timeline/Timeline.d.ts +1 -14
- package/vendor/@imtf/react-components/components/Timeline/TimelineItem.d.ts +2 -46
- package/vendor/@imtf/react-components/components/ViewMore/ViewMore.d.ts +1 -24
- package/vendor/@imtf/react-components/components/ViewMoreCard/ViewMoreCard.d.ts +2 -74
- package/vendor/@imtf/react-components/components/ViewMoreCard/utils.d.ts +2 -2
- package/vendor/@imtf/react-components/components/index.d.ts +0 -14
- package/vendor/@imtf/react-components/index.d.ts +0 -1
- package/vendor/@imtf/react-components/utils/common.d.ts +1 -4
- package/vendor/@imtf/react-components/utils/constants.d.ts +0 -21
- package/core/components/JsonForm/widgets/widgetHOC.d.ts +0 -29
- package/core/components/TreeView/types.d.ts +0 -17
- package/core/components/TreeViewCell/constants.d.ts +0 -25
- package/core/containers/DropZone/selectors.d.ts +0 -125
- package/core/containers/TreeView/actions.d.ts +0 -197
- package/core/containers/TreeView/constants.d.ts +0 -36
- package/core/containers/TreeView/types.d.ts +0 -46
- package/core/providers/App/utils/isSupportedItem.d.ts +0 -2
- package/core/providers/Cases/reducer.d.ts +0 -18
- package/core/providers/Cases/selectors.d.ts +0 -64
- package/core/providers/Inodes/selectors.d.ts +0 -55
- package/core/providers/MdmGraph/utils/misc.d.ts +0 -13
- package/core/providers/Plugins/hooks/inodes/useInodesByOids.d.ts +0 -6
- package/core/providers/SystemNotification/constants.d.ts +0 -3
- package/core/providers/SystemNotification/slice.d.ts +0 -9
- package/core/providers/SystemNotification/useSystemNotification.d.ts +0 -6
- package/core/utils/htmlElements.d.ts +0 -1
- package/core/utils/requestMiddleware.d.ts +0 -1
- package/vendor/@imtf/react-components/components/BasicNotification/BasicNotification.d.ts +0 -52
- package/vendor/@imtf/react-components/components/BasicNotification/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/BasicNotification/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Breadcrumb/Breadcrumb.d.ts +0 -36
- package/vendor/@imtf/react-components/components/Breadcrumb/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Breadcrumb/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Chip/Chip.d.ts +0 -41
- package/vendor/@imtf/react-components/components/Chip/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Chip/messages.d.ts +0 -7
- package/vendor/@imtf/react-components/components/Chip/utils.d.ts +0 -14
- package/vendor/@imtf/react-components/components/DebounceField/DebounceField.d.ts +0 -35
- package/vendor/@imtf/react-components/components/DebounceField/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DebounceField/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DetailList/DetailList.d.ts +0 -24
- package/vendor/@imtf/react-components/components/DetailList/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DetailList/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DetailTree/DetailTree.d.ts +0 -30
- package/vendor/@imtf/react-components/components/DetailTree/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/DetailTree/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/ErrorCatcher/ErrorCatcher.d.ts +0 -40
- package/vendor/@imtf/react-components/components/ErrorCatcher/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/ErrorCatcher/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/InfoCard/InfoCard.d.ts +0 -64
- package/vendor/@imtf/react-components/components/InfoCard/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Inline/Inline.d.ts +0 -19
- package/vendor/@imtf/react-components/components/Inline/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Inline/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Internal/FormattedMessage.d.ts +0 -11
- package/vendor/@imtf/react-components/components/MenuSelect/MenuSelect.d.ts +0 -43
- package/vendor/@imtf/react-components/components/MenuSelect/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/MenuSelect/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Navipath/Navipath.d.ts +0 -52
- package/vendor/@imtf/react-components/components/Navipath/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Navipath/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/RippleEffect/RippleEffect.d.ts +0 -33
- package/vendor/@imtf/react-components/components/RippleEffect/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/RippleEffect/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Stats/Stats.d.ts +0 -39
- package/vendor/@imtf/react-components/components/Stats/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/Stats/index.d.ts +0 -1
- package/vendor/@imtf/react-components/components/TitleContent/TitleContent.d.ts +0 -25
- package/vendor/@imtf/react-components/components/TitleContent/ids.d.ts +0 -1
- package/vendor/@imtf/react-components/components/TitleContent/index.d.ts +0 -1
- package/vendor/@imtf/react-components/hooks/index.d.ts +0 -1
- package/vendor/@imtf/react-components/hooks/useResponsiveBreakpoints.d.ts +0 -13
- package/vendor/@imtf/react-components/utils/resizeObserver.d.ts +0 -1
- /package/{vendor/@imtf/react-components → core}/components/Chip/index.d.ts +0 -0
|
@@ -1,136 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SupportedItem } from "../App/types";
|
|
3
|
-
import { UploadContextType } from "../Uploader/Context";
|
|
4
|
-
import { Inode, InodeTypeRef, StateMachineAction, StateMachineActionResult } from "./types";
|
|
5
|
-
/**
|
|
6
|
-
* Load an iterable of inode's oid
|
|
7
|
-
* @param {Array.<string>} oids
|
|
8
|
-
*/
|
|
9
|
-
export declare function get(oids: Inode["oid"][]): {
|
|
10
|
-
type: string;
|
|
11
|
-
payload: {
|
|
12
|
-
oids: string[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Load an iterable of inode's oid
|
|
17
|
-
* @param {Iterable.<object>} inodes
|
|
18
|
-
*/
|
|
19
|
-
export declare function getSuccess(inodes: Inode[]): {
|
|
20
|
-
type: string;
|
|
21
|
-
payload: {
|
|
22
|
-
inodes: Inode[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export declare function getError(error: unknown, payload: {
|
|
26
|
-
oids: Inode["oid"][];
|
|
27
|
-
}): {
|
|
28
|
-
type: string;
|
|
29
|
-
payload: {
|
|
30
|
-
oids: Inode["oid"][];
|
|
31
|
-
};
|
|
32
|
-
error: unknown;
|
|
33
|
-
};
|
|
34
|
-
export declare function load(oid: Inode["oid"]): {
|
|
35
|
-
type: string;
|
|
36
|
-
payload: {
|
|
37
|
-
oid: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare function loadSuccess(inode: Inode): {
|
|
41
|
-
type: string;
|
|
42
|
-
payload: {
|
|
43
|
-
inode: Inode;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export declare function loadAllChildren(oid: Inode["oid"], params: Record<string, unknown>): {
|
|
47
|
-
type: string;
|
|
48
|
-
payload: {
|
|
49
|
-
oid: string;
|
|
50
|
-
params: Record<string, unknown>;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
export declare function loadAllChildrenSuccess(inodes: Inode[]): {
|
|
54
|
-
type: string;
|
|
55
|
-
payload: {
|
|
56
|
-
inodes: Inode[];
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
export declare function loadAllChildrenError(error: unknown, oid: Inode["oid"]): {
|
|
60
|
-
type: string;
|
|
61
|
-
payload: {
|
|
62
|
-
oid: string;
|
|
63
|
-
};
|
|
64
|
-
error: unknown;
|
|
65
|
-
};
|
|
66
|
-
export declare function loadError(error: unknown, oid: Inode["oid"]): {
|
|
67
|
-
type: string;
|
|
68
|
-
payload: {
|
|
69
|
-
oid: string;
|
|
70
|
-
};
|
|
71
|
-
error: unknown;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @param {string[]} oids
|
|
76
|
-
* @param {Record<any,any>} params
|
|
77
|
-
* @param {Record<any,any>} queryParams
|
|
78
|
-
* @returns
|
|
79
|
-
*/
|
|
80
|
-
export declare function loadChildren(oids: Inode["oid"][], params: Record<string, unknown>, queryParams: Record<string, unknown>): {
|
|
81
|
-
type: string;
|
|
82
|
-
payload: {
|
|
83
|
-
oids: string[];
|
|
84
|
-
queryParams: Record<string, unknown>;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
export declare function loadChildrenSuccess(inodeCollections: Record<Inode["oid"], Inode>, params: Record<string, unknown>): {
|
|
88
|
-
type: string;
|
|
89
|
-
payload: {
|
|
90
|
-
inodeCollections: Record<string, Inode>;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
export declare function loadChildrenError(error: unknown, payload: {
|
|
94
|
-
oids: Inode["oid"][];
|
|
95
|
-
params: Record<string, unknown>;
|
|
96
|
-
queryParams: Record<string, unknown>;
|
|
97
|
-
}): {
|
|
98
|
-
type: string;
|
|
99
|
-
error: unknown;
|
|
100
|
-
payload: {
|
|
101
|
-
oids: Inode["oid"][];
|
|
102
|
-
params: Record<string, unknown>;
|
|
103
|
-
queryParams: Record<string, unknown>;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
export declare function save(inodes: Inode[], params: Record<string, unknown>, mergeOnNameConflict?: boolean): {
|
|
107
|
-
type: string;
|
|
108
|
-
payload: {
|
|
109
|
-
inodes: Inode[];
|
|
110
|
-
params: Record<string, unknown>;
|
|
111
|
-
mergeOnNameConflict: boolean;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
export declare function saveSuccess(inodes: Inode[], params: Record<string, unknown>): {
|
|
115
|
-
type: string;
|
|
116
|
-
payload: {
|
|
117
|
-
inodes: Inode[];
|
|
118
|
-
params: Record<string, unknown>;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
export declare function saveError(error: unknown, payload: {
|
|
122
|
-
inodes: Inode[];
|
|
123
|
-
params: Record<string, unknown>;
|
|
124
|
-
mergeOnNameConflict: boolean;
|
|
125
|
-
}): {
|
|
126
|
-
type: string;
|
|
127
|
-
payload: {
|
|
128
|
-
inodes: Inode[];
|
|
129
|
-
params: Record<string, unknown>;
|
|
130
|
-
mergeOnNameConflict: boolean;
|
|
131
|
-
};
|
|
132
|
-
error: unknown;
|
|
133
|
-
};
|
|
1
|
+
import { Inode, StateMachineAction, StateMachineActionResult } from "./types";
|
|
134
2
|
export declare function saveConfiguration(inode: Inode, data: {
|
|
135
3
|
childrenAllowedTypes: Inode["childrenAllowedTypes"];
|
|
136
4
|
childrenAllowedTemplates: Inode["childrenAllowedTemplates"];
|
|
@@ -165,249 +33,6 @@ export declare function saveConfigurationError(error: unknown, inode: Inode, dat
|
|
|
165
33
|
};
|
|
166
34
|
error: unknown;
|
|
167
35
|
};
|
|
168
|
-
export declare function loadTrash(queryParams: Record<string, unknown>): {
|
|
169
|
-
type: string;
|
|
170
|
-
payload: {
|
|
171
|
-
queryParams: Record<string, unknown>;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
export declare function loadTrashSuccess(inodes: Inode[]): {
|
|
175
|
-
type: string;
|
|
176
|
-
payload: {
|
|
177
|
-
inodes: Inode[];
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
export declare function loadTrashError(error: unknown, queryParams: Record<string, unknown>): {
|
|
181
|
-
type: string;
|
|
182
|
-
payload: {
|
|
183
|
-
queryParams: Record<string, unknown>;
|
|
184
|
-
};
|
|
185
|
-
error: unknown;
|
|
186
|
-
};
|
|
187
|
-
export declare function trashSuccess(inodes: Inode[]): {
|
|
188
|
-
type: string;
|
|
189
|
-
payload: {
|
|
190
|
-
inodes: Inode[];
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
export declare function addInodes(inodes: Inode[]): {
|
|
194
|
-
type: string;
|
|
195
|
-
payload: {
|
|
196
|
-
inodes: Inode[];
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* Remove (trash) inodes from folder manager
|
|
201
|
-
*/
|
|
202
|
-
export declare function willRemoveInodes(inodes: Inode[]): {
|
|
203
|
-
type: string;
|
|
204
|
-
payload: {
|
|
205
|
-
inodes: Inode[];
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
export declare function removeInodes(inodes: Inode[]): {
|
|
209
|
-
type: string;
|
|
210
|
-
payload: {
|
|
211
|
-
inodes: Inode[];
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
export declare function upload(targetOid: Inode["oid"], files: File[], fileInodes: Inode[], serviceConfig: {
|
|
215
|
-
onUploadProgress: (progressEvent: any) => void;
|
|
216
|
-
cancelToken: CancelToken;
|
|
217
|
-
}): {
|
|
218
|
-
type: string;
|
|
219
|
-
payload: {
|
|
220
|
-
targetOid: string;
|
|
221
|
-
files: File[];
|
|
222
|
-
fileInodes: Inode[];
|
|
223
|
-
serviceConfig: {
|
|
224
|
-
onUploadProgress: (progressEvent: any) => void;
|
|
225
|
-
cancelToken: CancelToken;
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
export declare function uploadSuccess(targetOid: Inode["oid"], inodes: Inode[]): {
|
|
230
|
-
type: string;
|
|
231
|
-
payload: {
|
|
232
|
-
targetOid: string;
|
|
233
|
-
inodes: Inode[];
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
export declare function uploadError(error: unknown, payload: {
|
|
237
|
-
targetOid: Inode["oid"];
|
|
238
|
-
files: File[];
|
|
239
|
-
fileInodes: Inode[];
|
|
240
|
-
serviceConfig: {
|
|
241
|
-
onUploadProgress: (progressEvent: any) => void;
|
|
242
|
-
cancelToken: CancelToken;
|
|
243
|
-
};
|
|
244
|
-
}): {
|
|
245
|
-
type: string;
|
|
246
|
-
payload: {
|
|
247
|
-
targetOid: Inode["oid"];
|
|
248
|
-
files: File[];
|
|
249
|
-
fileInodes: Inode[];
|
|
250
|
-
serviceConfig: {
|
|
251
|
-
onUploadProgress: (progressEvent: any) => void;
|
|
252
|
-
cancelToken: CancelToken;
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
error: unknown;
|
|
256
|
-
};
|
|
257
|
-
/**
|
|
258
|
-
* This action has to be used in conjonction with `createPromiseAction`. Promise will be then resolved with proper types.
|
|
259
|
-
* @param {Object} params Params object
|
|
260
|
-
* @param {Iterable} params.inodes List of inodes to check the type of. If you set this parameter, you can't set files parameter
|
|
261
|
-
* @param {Iterable} params.files List of files to check the type of. If you set this parameter, you can't set inodes parameter
|
|
262
|
-
* @param {Iterable} params.targetTypes List of acceptable types. If you set this parameter, you can't set targetInodeOid parameter
|
|
263
|
-
* @param {string} params.targetInodeOid Target inode oid. If you set this parameter, you can't set targetTypes or forceChildrenWithType parameters
|
|
264
|
-
* @param {boolean} params.forceChildrenWithType If true, inodes will be forced to have a type.
|
|
265
|
-
* @param {boolean} params.sort If true, inodes will be sorted by name in types capture modal.
|
|
266
|
-
* @param {boolean} params.enablePropertiesUpload If true, the AssignTypeAndPropertiesModal modal will be shown.
|
|
267
|
-
* @returns
|
|
268
|
-
*/
|
|
269
|
-
export declare function checkAndGetType(params: {
|
|
270
|
-
inodes: Inode[];
|
|
271
|
-
files: File[];
|
|
272
|
-
targetTypes: InodeTypeRef[];
|
|
273
|
-
forceChildrenWithType: boolean;
|
|
274
|
-
targetInodeOid: Inode["oid"];
|
|
275
|
-
sort: string;
|
|
276
|
-
fileProps: Record<string, unknown>;
|
|
277
|
-
enablePropertiesUpload: boolean;
|
|
278
|
-
}): {
|
|
279
|
-
type: string;
|
|
280
|
-
payload: {
|
|
281
|
-
inodes: Inode[];
|
|
282
|
-
files: File[];
|
|
283
|
-
targetInodeOid: string;
|
|
284
|
-
targetTypes: InodeTypeRef[];
|
|
285
|
-
forceChildrenWithType: boolean;
|
|
286
|
-
sort: string;
|
|
287
|
-
fileProps: Record<string, unknown>;
|
|
288
|
-
enablePropertiesUpload: boolean;
|
|
289
|
-
};
|
|
290
|
-
};
|
|
291
|
-
export declare function updateBinary(oid: Inode["oid"], file: File, serviceConfig?: Record<string, unknown>): {
|
|
292
|
-
type: string;
|
|
293
|
-
payload: {
|
|
294
|
-
oid: string;
|
|
295
|
-
file: File;
|
|
296
|
-
serviceConfig: Record<string, unknown> | undefined;
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
export declare function updateBinarySuccess(inodes: Inode[]): {
|
|
300
|
-
type: string;
|
|
301
|
-
payload: {
|
|
302
|
-
inodes: Inode[];
|
|
303
|
-
};
|
|
304
|
-
};
|
|
305
|
-
export declare function updateBinaryError(error: unknown, payload: {
|
|
306
|
-
oid: Inode["oid"];
|
|
307
|
-
file: File;
|
|
308
|
-
item: Inode;
|
|
309
|
-
serviceConfig: Record<string, unknown>;
|
|
310
|
-
}): {
|
|
311
|
-
type: string;
|
|
312
|
-
error: unknown;
|
|
313
|
-
payload: {
|
|
314
|
-
oid: Inode["oid"];
|
|
315
|
-
file: File;
|
|
316
|
-
item: Inode;
|
|
317
|
-
serviceConfig: Record<string, unknown>;
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
export declare function toggleFavoriteSuccess(inodes: Inode[]): {
|
|
321
|
-
type: string;
|
|
322
|
-
payload: {
|
|
323
|
-
inodes: Inode[];
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
export declare function toggleWatchSuccess(inodes: Inode[]): {
|
|
327
|
-
type: string;
|
|
328
|
-
payload: {
|
|
329
|
-
inodes: Inode[];
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
export declare function createFolderSuccess(inode: Inode): {
|
|
333
|
-
type: string;
|
|
334
|
-
payload: {
|
|
335
|
-
inode: Inode;
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
export declare function copy(inodes: Inode[], targetInodeOrOid: Inode | Inode["oid"], params?: Record<string, unknown>, copyToMode?: "FORCE_DUPLICATE"): {
|
|
339
|
-
type: string;
|
|
340
|
-
payload: {
|
|
341
|
-
inodes: Inode[];
|
|
342
|
-
targetInodeOrOid: string | Inode;
|
|
343
|
-
params: Record<string, unknown> | undefined;
|
|
344
|
-
copyToMode: "FORCE_DUPLICATE" | undefined;
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
export declare function copySuccess(inodes: Inode[], params: Record<string, unknown>): {
|
|
348
|
-
type: string;
|
|
349
|
-
payload: {
|
|
350
|
-
inodes: Inode[];
|
|
351
|
-
params: Record<string, unknown>;
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
export declare function copyError(error: unknown, payload: {
|
|
355
|
-
inodes: Inode[];
|
|
356
|
-
targetInodeOrOid: Inode | Inode["oid"];
|
|
357
|
-
params: Record<string, unknown>;
|
|
358
|
-
}): {
|
|
359
|
-
type: string;
|
|
360
|
-
error: unknown;
|
|
361
|
-
payload: {
|
|
362
|
-
inodes: Inode[];
|
|
363
|
-
targetInodeOrOid: Inode | Inode["oid"];
|
|
364
|
-
params: Record<string, unknown>;
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
|
-
export declare function linkSuccess(inodes: Inode[]): {
|
|
368
|
-
type: string;
|
|
369
|
-
payload: {
|
|
370
|
-
inodes: Inode[];
|
|
371
|
-
};
|
|
372
|
-
};
|
|
373
|
-
export declare function download(inodes: SupportedItem[]): {
|
|
374
|
-
type: string;
|
|
375
|
-
payload: {
|
|
376
|
-
inodes: SupportedItem[];
|
|
377
|
-
};
|
|
378
|
-
};
|
|
379
|
-
export declare function editModal(inode: Inode): {
|
|
380
|
-
payload: {
|
|
381
|
-
type: string;
|
|
382
|
-
props: Partial<{
|
|
383
|
-
[key: string]: unknown;
|
|
384
|
-
disableEscapeKeyDown: boolean;
|
|
385
|
-
disableBackdropClick: boolean;
|
|
386
|
-
correlationId: string;
|
|
387
|
-
fullWidth: boolean;
|
|
388
|
-
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
389
|
-
blocker: boolean;
|
|
390
|
-
onClose: () => void;
|
|
391
|
-
}> | undefined;
|
|
392
|
-
};
|
|
393
|
-
type: "modal/showModal";
|
|
394
|
-
};
|
|
395
|
-
export declare function scanModal(inode: Inode): {
|
|
396
|
-
payload: {
|
|
397
|
-
type: string;
|
|
398
|
-
props: Partial<{
|
|
399
|
-
[key: string]: unknown;
|
|
400
|
-
disableEscapeKeyDown: boolean;
|
|
401
|
-
disableBackdropClick: boolean;
|
|
402
|
-
correlationId: string;
|
|
403
|
-
fullWidth: boolean;
|
|
404
|
-
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
405
|
-
blocker: boolean;
|
|
406
|
-
onClose: () => void;
|
|
407
|
-
}> | undefined;
|
|
408
|
-
};
|
|
409
|
-
type: "modal/showModal";
|
|
410
|
-
};
|
|
411
36
|
/**
|
|
412
37
|
*
|
|
413
38
|
* @param {import("./types").StateMachineAction} action State action to apply
|
|
@@ -449,28 +74,6 @@ export declare function assignTypesAndProperties(inodes: Inode[], correlationId:
|
|
|
449
74
|
correlationId: string;
|
|
450
75
|
};
|
|
451
76
|
};
|
|
452
|
-
export declare function move(sourceInodes: Inode[], targetInode: Inode, params?: Record<string, unknown>, moveMode?: "FORCE_MOVE"): {
|
|
453
|
-
type: string;
|
|
454
|
-
payload: {
|
|
455
|
-
inodes: Inode[];
|
|
456
|
-
params: {
|
|
457
|
-
targetInode: Inode;
|
|
458
|
-
inodeOriginals: Inode[];
|
|
459
|
-
moveMode: "FORCE_MOVE" | undefined;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
};
|
|
463
|
-
/**
|
|
464
|
-
*
|
|
465
|
-
* @param {Set} oids Set of oids to keep upon cleaning
|
|
466
|
-
* @return {Object} FSA Compliant action
|
|
467
|
-
*/
|
|
468
|
-
export declare function clean(oids: Inode["oid"][]): {
|
|
469
|
-
type: string;
|
|
470
|
-
payload: {
|
|
471
|
-
oids: string[];
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
77
|
export declare function renameInodeModal(inode: Inode): {
|
|
475
78
|
payload: {
|
|
476
79
|
type: string;
|
|
@@ -481,7 +84,10 @@ export declare function renameInodeModal(inode: Inode): {
|
|
|
481
84
|
correlationId: string;
|
|
482
85
|
fullWidth: boolean;
|
|
483
86
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
87
|
+
minHeight: number | string;
|
|
484
88
|
blocker: boolean;
|
|
89
|
+
onConfirm: (...args: any[]) => void;
|
|
90
|
+
onCancel: () => void;
|
|
485
91
|
onClose: () => void;
|
|
486
92
|
}> | undefined;
|
|
487
93
|
};
|
|
@@ -497,7 +103,10 @@ export declare function createFolderModal(inode: Inode): {
|
|
|
497
103
|
correlationId: string;
|
|
498
104
|
fullWidth: boolean;
|
|
499
105
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
106
|
+
minHeight: number | string;
|
|
500
107
|
blocker: boolean;
|
|
108
|
+
onConfirm: (...args: any[]) => void;
|
|
109
|
+
onCancel: () => void;
|
|
501
110
|
onClose: () => void;
|
|
502
111
|
}> | undefined;
|
|
503
112
|
};
|
|
@@ -513,19 +122,16 @@ export declare function assignTypeModal(sourceInodes: Inode[], childrenAllowedTy
|
|
|
513
122
|
correlationId: string;
|
|
514
123
|
fullWidth: boolean;
|
|
515
124
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
125
|
+
minHeight: number | string;
|
|
516
126
|
blocker: boolean;
|
|
127
|
+
onConfirm: (...args: any[]) => void;
|
|
128
|
+
onCancel: () => void;
|
|
517
129
|
onClose: () => void;
|
|
518
130
|
}> | undefined;
|
|
519
131
|
};
|
|
520
132
|
type: "modal/showModal";
|
|
521
133
|
};
|
|
522
|
-
export declare function
|
|
523
|
-
permissions: Inode["permissions"];
|
|
524
|
-
callback: (action: "RENAME" | "UPDATE", inodeName: Inode["name"], uploadContext: UploadContextType) => void;
|
|
525
|
-
name: string;
|
|
526
|
-
isPlural: boolean;
|
|
527
|
-
shouldCheckForExtensionRename: boolean;
|
|
528
|
-
}): {
|
|
134
|
+
export declare function createTaskOrCaseInodeModal(inodes: Inode[]): {
|
|
529
135
|
payload: {
|
|
530
136
|
type: string;
|
|
531
137
|
props: Partial<{
|
|
@@ -535,35 +141,16 @@ export declare function nameConflictModal(payload: {
|
|
|
535
141
|
correlationId: string;
|
|
536
142
|
fullWidth: boolean;
|
|
537
143
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
144
|
+
minHeight: number | string;
|
|
538
145
|
blocker: boolean;
|
|
146
|
+
onConfirm: (...args: any[]) => void;
|
|
147
|
+
onCancel: () => void;
|
|
539
148
|
onClose: () => void;
|
|
540
149
|
}> | undefined;
|
|
541
150
|
};
|
|
542
151
|
type: "modal/showModal";
|
|
543
152
|
};
|
|
544
|
-
export declare function
|
|
545
|
-
type: string;
|
|
546
|
-
payload: {
|
|
547
|
-
inodes: Inode[];
|
|
548
|
-
targetInode: Inode | undefined;
|
|
549
|
-
params: Record<string, unknown> | undefined;
|
|
550
|
-
};
|
|
551
|
-
};
|
|
552
|
-
export declare function restoreInodesSuccess(inodes: Inode[], params: Record<string, unknown>): {
|
|
553
|
-
type: string;
|
|
554
|
-
payload: {
|
|
555
|
-
inodes: Inode[];
|
|
556
|
-
params: Record<string, unknown>;
|
|
557
|
-
};
|
|
558
|
-
};
|
|
559
|
-
export declare function restoreInodesError(error: unknown, inodes: Inode[]): {
|
|
560
|
-
type: string;
|
|
561
|
-
payload: {
|
|
562
|
-
inodes: Inode[];
|
|
563
|
-
};
|
|
564
|
-
error: unknown;
|
|
565
|
-
};
|
|
566
|
-
export declare function createNewTaskInodeModal(inodes: Inode[]): {
|
|
153
|
+
export declare function showTimelineModal(inode: Inode): {
|
|
567
154
|
payload: {
|
|
568
155
|
type: string;
|
|
569
156
|
props: Partial<{
|
|
@@ -573,13 +160,16 @@ export declare function createNewTaskInodeModal(inodes: Inode[]): {
|
|
|
573
160
|
correlationId: string;
|
|
574
161
|
fullWidth: boolean;
|
|
575
162
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
163
|
+
minHeight: number | string;
|
|
576
164
|
blocker: boolean;
|
|
165
|
+
onConfirm: (...args: any[]) => void;
|
|
166
|
+
onCancel: () => void;
|
|
577
167
|
onClose: () => void;
|
|
578
168
|
}> | undefined;
|
|
579
169
|
};
|
|
580
170
|
type: "modal/showModal";
|
|
581
171
|
};
|
|
582
|
-
export declare function
|
|
172
|
+
export declare function assignTypeAndPropertiesModal(sourceInodes: Inode[], childrenAllowedTypes: Inode["childrenAllowedTypes"], forceChildrenWithType: Inode["forceChildrenWithType"], correlationId: string): {
|
|
583
173
|
payload: {
|
|
584
174
|
type: string;
|
|
585
175
|
props: Partial<{
|
|
@@ -589,13 +179,16 @@ export declare function showTimelineModal(inode: Inode): {
|
|
|
589
179
|
correlationId: string;
|
|
590
180
|
fullWidth: boolean;
|
|
591
181
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
182
|
+
minHeight: number | string;
|
|
592
183
|
blocker: boolean;
|
|
184
|
+
onConfirm: (...args: any[]) => void;
|
|
185
|
+
onCancel: () => void;
|
|
593
186
|
onClose: () => void;
|
|
594
187
|
}> | undefined;
|
|
595
188
|
};
|
|
596
189
|
type: "modal/showModal";
|
|
597
190
|
};
|
|
598
|
-
export declare
|
|
191
|
+
export declare const viewInodeCommentsModal: (inode: Inode) => {
|
|
599
192
|
payload: {
|
|
600
193
|
type: string;
|
|
601
194
|
props: Partial<{
|
|
@@ -605,7 +198,10 @@ export declare function assignTypeAndPropertiesModal(sourceInodes: Inode[], chil
|
|
|
605
198
|
correlationId: string;
|
|
606
199
|
fullWidth: boolean;
|
|
607
200
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
201
|
+
minHeight: number | string;
|
|
608
202
|
blocker: boolean;
|
|
203
|
+
onConfirm: (...args: any[]) => void;
|
|
204
|
+
onCancel: () => void;
|
|
609
205
|
onClose: () => void;
|
|
610
206
|
}> | undefined;
|
|
611
207
|
};
|
|
@@ -1,52 +1,10 @@
|
|
|
1
|
-
export declare const LOAD = "imtf/Inodes/LOAD";
|
|
2
|
-
export declare const LOAD_SUCCESS = "imtf/Inodes/LOAD_SUCCESS";
|
|
3
|
-
export declare const LOAD_ERROR = "imtf/Inodes/LOAD_ERROR";
|
|
4
|
-
export declare const GET = "imtf/Inodes/GET";
|
|
5
|
-
export declare const GET_SUCCESS = "imtf/Inodes/GET_SUCCESS";
|
|
6
|
-
export declare const GET_ERROR = "imtf/Inodes/GET_ERROR";
|
|
7
|
-
export declare const LOAD_CHILDREN = "imtf/Inodes/LOAD_CHILDREN";
|
|
8
|
-
export declare const LOAD_CHILDREN_SUCCESS = "imtf/Inodes/LOAD_CHILDREN_SUCCESS";
|
|
9
|
-
export declare const LOAD_CHILDREN_ERROR = "imtf/Inodes/LOAD_CHILDREN_ERROR";
|
|
10
|
-
export declare const LOAD_ALL_CHILDREN = "imtf/Inodes/LOAD_ALL_CHILDREN";
|
|
11
|
-
export declare const LOAD_ALL_CHILDREN_SUCCESS = "imtf/Inodes/LOAD_ALL_CHILDREN_SUCCESS";
|
|
12
|
-
export declare const LOAD_ALL_CHILDREN_ERROR = "imtf/Inodes/LOAD_ALL_CHILDREN_ERROR";
|
|
13
|
-
export declare const CHECK_AND_GET_TYPE = "imtf/inode/CHECK_AND_GET_TYPE";
|
|
14
|
-
export declare const UPDATE_BINARY = "imtf/inode/UPDATE_BINARY";
|
|
15
|
-
export declare const UPDATE_BINARY_SUCCESS = "imtf/inode/UPDATE_BINARY_SUCCESS";
|
|
16
|
-
export declare const UPDATE_BINARY_ERROR = "imtf/inode/UPDATE_BINARY_ERROR";
|
|
17
|
-
export declare const SAVE = "imtf/Inodes/SAVE";
|
|
18
|
-
export declare const SAVE_SUCCESS = "imtf/Inodes/SAVE_SUCCESS";
|
|
19
|
-
export declare const SAVE_ERROR = "imtf/Inodes/SAVE_ERROR";
|
|
20
|
-
export declare const MOVE = "imtf/Inodes/MOVE";
|
|
21
1
|
export declare const ASSIGN_TYPES_AND_PROPERTIES = "imtf/Inodes/ASSIGN_TYPES_AND_PROPERTIES";
|
|
22
2
|
export declare const SAVE_CONFIGURATION = "imtf/Inodes/SAVE_CONFIGURATION";
|
|
23
3
|
export declare const SAVE_CONFIGURATION_SUCCESS = "imtf/Inodes/SAVE_CONFIGURATION_SUCCESS";
|
|
24
4
|
export declare const SAVE_CONFIGURATION_ERROR = "imtf/Inodes/SAVE_CONFIGURATION_ERROR";
|
|
25
|
-
export declare const TOGGLE_FAVORITE_SUCCESS = "imtf/Inodes/TOGGLE_FAVORITE_SUCCESS";
|
|
26
|
-
export declare const TOGGLE_WATCH_SUCCESS = "imtf/Inodes/TOGGLE_WATCH_SUCCESS";
|
|
27
|
-
export declare const LOAD_TRASH = "imtf/TRASH/LOAD_TRASH";
|
|
28
|
-
export declare const LOAD_TRASH_SUCCESS = "imtf/TRASH/LOAD_TRASH_SUCCESS";
|
|
29
|
-
export declare const LOAD_TRASH_ERROR = "imtf/TRASH/LOAD_TRASH_ERROR";
|
|
30
|
-
export declare const TRASH_SUCCESS = "imtf/Inodes/TRASH_SUCCESS";
|
|
31
|
-
export declare const RESTORE_INODES = "imtf/Inode/RESTORE_INODES";
|
|
32
|
-
export declare const RESTORE_INODES_SUCCESS = "imtf/Inode/RESTORE_INODES_SUCCESS";
|
|
33
|
-
export declare const RESTORE_INODES_ERROR = "imtf/Inode/RESTORE_INODES_ERROR";
|
|
34
|
-
export declare const UPLOAD = "imtf/Inodes/UPLOAD";
|
|
35
|
-
export declare const UPLOAD_SUCCESS = "imtf/Inodes/UPLOAD_SUCCESS";
|
|
36
|
-
export declare const UPLOAD_ERROR = "imtf/Inodes/UPLOAD_ERROR";
|
|
37
|
-
export declare const CREATE_FOLDER_SUCCESS = "imtf/Inodes/CREATE_FOLDER_SUCCESS";
|
|
38
|
-
export declare const COPY = "imtf/Inodes/COPY";
|
|
39
|
-
export declare const COPY_SUCCESS = "imtf/Inodes/COPY_SUCCESS";
|
|
40
|
-
export declare const COPY_ERROR = "imtf/Inodes/COPY_ERROR";
|
|
41
|
-
export declare const LINK_SUCCESS = "imtf/Inodes/LINK_SUCCESS";
|
|
42
|
-
export declare const DOWNLOAD = "imtf/Inodes/DOWNLOAD";
|
|
43
5
|
export declare const STATE_ACTION = "imtf/Inodes/STATE_ACTION";
|
|
44
6
|
export declare const STATE_ACTION_SUCCESS = "imtf/Inodes/STATE_ACTION_SUCCESS";
|
|
45
7
|
export declare const STATE_ACTION_ERROR = "imtf/Inodes/STATE_ACTION_ERROR";
|
|
46
|
-
export declare const ADD_INODES = "imtf/Inodes/ADD_INODES";
|
|
47
|
-
export declare const WILL_REMOVE_INODES = "imtf/Inodes/WILL_REMOVE_INODES";
|
|
48
|
-
export declare const REMOVE_INODES = "imtf/Inodes/REMOVE_INODES";
|
|
49
|
-
export declare const CLEAN = "imtf/Inodes/CLEAN";
|
|
50
8
|
export declare const EXTERNAL_LINK = "EXTERNAL_LINK";
|
|
51
9
|
export declare const EVENT_TYPES: {
|
|
52
10
|
readonly DOSSIER_CREATED: "DOSSIER_CREATED";
|
|
@@ -80,18 +38,21 @@ export declare const EVENT_TYPES: {
|
|
|
80
38
|
readonly FILE_TASK_COMPLETED: "FILE_TASK_COMPLETED";
|
|
81
39
|
readonly FILE_CASE_CREATED: "FILE_CASE_CREATED";
|
|
82
40
|
readonly FILE_CASE_COMPLETED: "FILE_CASE_COMPLETED";
|
|
41
|
+
readonly FILE_DOWNLOADED: "FILE_DOWNLOADED";
|
|
42
|
+
readonly FILE_ACCESSEDED: "FILE_ACCESSED";
|
|
43
|
+
readonly FILE_MERGED: "FILE_MERGED";
|
|
44
|
+
readonly FILE_SPLIT: "FILE_SPLIT";
|
|
83
45
|
};
|
|
84
46
|
export declare const MODAL_TYPES: {
|
|
85
47
|
readonly RENAME_INODE: "imtf/Inodes/modal/RENAME_INODE";
|
|
86
|
-
readonly EDIT_INODE: "imtf/Inodes/modal/EDIT_INODE";
|
|
87
|
-
readonly SCAN_FILE: "imtf/Inodes/modal/SCAN_FILE";
|
|
88
48
|
readonly CREATE_FOLDER: "imtf/Inodes/modal/CREATE_FOLDER";
|
|
89
49
|
readonly ASSIGN_TYPE: "imtf/Inodes/modal/ASSIGN_TYPE";
|
|
90
50
|
readonly TIMELINE: "imtf/Inodes/modal/TIMELINE";
|
|
91
51
|
readonly NAME_CONFLICT_MODAL: "imtf/Inodes/modal/NAME_CONFLICT_MODAL";
|
|
92
|
-
readonly
|
|
52
|
+
readonly CREATE_TASK_OR_CASE: "imtf/Inodes/modal/CREATE_TASK_OR_CASE";
|
|
93
53
|
readonly ASSIGN_TYPE_AND_PROPERTIES: "imtf/Inodes/modal/ASSIGN_TYPE_AND_PROPERTIES";
|
|
94
54
|
readonly FORCE_FOLDER_ACTION: "imtf/Inodes/modal/FORCE_FOLDER_ACTION";
|
|
55
|
+
readonly VIEW_INODE_COMMENTS: "imtf/Inodes/modal/VIEW_INODE_COMMENTS";
|
|
95
56
|
};
|
|
96
57
|
export declare const ACTIONS: {
|
|
97
58
|
readonly MARK_AS_FAVORITE: "INODE_MARK_AS_FAVORITE";
|
|
@@ -111,13 +72,14 @@ export declare const ACTIONS: {
|
|
|
111
72
|
readonly ADD_FILE: "INODE_ADD_FILE";
|
|
112
73
|
readonly ADD_FOLDER: "INODE_ADD_FOLDER";
|
|
113
74
|
readonly ADD_COMMENT: "INODE_ADD_COMMENT";
|
|
75
|
+
readonly VIEW_COMMENTS: "INODE_VIEW_COMMENTS";
|
|
114
76
|
readonly RESTORE: "INODE_RESTORE";
|
|
115
77
|
readonly COMPOSE: "INODE_COMPOSE";
|
|
116
78
|
readonly QUICK_LOOK: "INODE_QUICK_LOOK";
|
|
117
79
|
readonly QUICK_LOOK_MERGE: "INODE_QUICK_LOOK_MERGE";
|
|
118
80
|
readonly CREATE_CASE: "INODE_CREATE_CASE";
|
|
119
81
|
readonly MERGE_PDF: "INODE_MERGE_PDF";
|
|
120
|
-
readonly
|
|
82
|
+
readonly CREATE_TASK_OR_CASE: "INODE_CREATE_TASK_OR_CASE";
|
|
121
83
|
readonly DELETE: "INODES_DELETE";
|
|
122
84
|
readonly ADD_TO_DROP_ZONE: "INODES_ADD_TO_DROP_ZONE";
|
|
123
85
|
readonly LINK_FROM_DROP_ZONE: "INODES_LINK_FROM_DROP_ZONE";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Inode, VersionInfo } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* Fetches an inode by its oid
|
|
4
|
+
*/
|
|
5
|
+
export declare function useInodeByOid(inodeOid: Inode["oid"] | undefined, version?: VersionInfo["version"], keepPreviousData?: boolean): import("swr").SWRResponse<Inode, any, import("swr").SWRConfiguration<Inode, any, import("swr").BareFetcher<Inode>> | undefined>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Inode, InodeType, InodeTypeRef, TemplateRef } from "../types";
|
|
2
|
+
export declare function useInodeTypeAssignment(): {
|
|
3
|
+
checkAndGetInodesWithType: (sourceInodes: Inode[], targetTypes: (InodeType | InodeTypeRef)[], targetTemplates?: TemplateRef[], forceChildrenWithType?: boolean, forceChildrenWithTemplate?: boolean, files?: File[], enablePropertiesUpload?: boolean) => Promise<Inode[] | null>;
|
|
4
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Inode } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* Fetch inodes by oids
|
|
4
|
+
*/
|
|
5
|
+
export declare function useInodesByOids(oids?: Inode["oid"][]): import("swr").SWRResponse<Inode<"dms-core.Folder" | "dms-core.File" | "dms-core.Template" | "dms-core.Dossier" | "dms-core.DeniedInode" | "DeniedInodeResource">[], any, {
|
|
6
|
+
keepPreviousData: true;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropertiesComponent } from "../../../../core/components/dms-ui/types";
|
|
2
|
+
import { InodeType } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Get property groups given type oids
|
|
5
|
+
* We can also override the properties given a propertyPanelOverrides parameter
|
|
6
|
+
* https://imtf.atlassian.net/wiki/spaces/DEV/pages/7045794/param#param-propertyPanelOverrides
|
|
7
|
+
*/
|
|
8
|
+
export default function usePropertiesType(typeOids: InodeType["oid"][]): {
|
|
9
|
+
propertiesType: {
|
|
10
|
+
[typeName: string]: PropertiesComponent[];
|
|
11
|
+
} | undefined;
|
|
12
|
+
error: any;
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PropertiesGroupList } from "../../../../core/components/dms-ui/types";
|
|
2
|
+
import { Inode } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Fetches property groups for a given inode
|
|
5
|
+
*/
|
|
6
|
+
export default function usePropertyComponents(inodeOid?: Inode["oid"]): {
|
|
7
|
+
data: import("../../../../core/components/dms-ui/types").UIPropertiesGroup[] | null;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
isValidating: boolean;
|
|
10
|
+
mutate: import("swr").KeyedMutator<PropertiesGroupList>;
|
|
11
|
+
};
|