@imtf/dms-core 1.1.0-beta.5 → 6.5.7-natwest.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/folder-manager/routes/InodeCollection/hooks/useRemoveInodesFromUrl.d.ts +0 -4
- package/core/components/JsonForm/widgets/widgetHOC.d.ts +29 -0
- package/core/components/TreeView/types.d.ts +17 -0
- package/core/components/TreeViewCell/constants.d.ts +25 -0
- package/core/constants/apps.d.ts +5 -0
- package/core/containers/DropZone/selectors.d.ts +125 -0
- package/core/containers/PDFComposer/actions.d.ts +2 -2
- package/core/containers/TreeView/actions.d.ts +197 -0
- package/core/containers/TreeView/constants.d.ts +36 -0
- package/core/containers/TreeView/types.d.ts +46 -0
- package/core/providers/Actions/types.d.ts +7 -1
- package/core/providers/App/actions.d.ts +17 -8
- package/core/providers/App/constants.d.ts +3 -0
- package/core/providers/App/hooks/useApplicationSettings.d.ts +2 -3
- package/core/providers/App/hooks/useSettings.d.ts +8 -4
- package/core/providers/App/hooks/useUserSetting.d.ts +1 -9
- package/core/providers/App/hooks/useUserStorage.d.ts +2 -2
- package/core/providers/App/messages.d.ts +0 -8
- package/core/providers/App/reducer.d.ts +1 -1
- package/core/providers/App/types.d.ts +2 -8
- package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
- package/core/providers/App/utils/isSupportedItem.d.ts +2 -0
- package/core/providers/Authentication/types.d.ts +1 -1
- package/core/providers/Cases/actions.d.ts +3 -15
- package/core/providers/Cases/hooks/useCaseDocumentTypes.d.ts +3 -3
- package/core/providers/Cases/reducer.d.ts +18 -0
- package/core/providers/Cases/selectors.d.ts +64 -0
- package/core/providers/Cases/utils/common.d.ts +0 -2
- package/core/providers/Ccm/types.d.ts +0 -1
- package/core/providers/Definitions/types.d.ts +1 -1
- package/core/providers/Inodes/actions.d.ts +442 -13
- package/core/providers/Inodes/constants.d.ts +44 -0
- package/core/providers/Inodes/messages.d.ts +0 -8
- package/core/providers/Inodes/selectors.d.ts +55 -0
- package/core/providers/Inodes/service.d.ts +3 -4
- package/core/providers/Inodes/types.d.ts +8 -20
- package/core/providers/Inodes/utils/is.d.ts +3 -2
- package/core/providers/Inspectors/Context.d.ts +0 -2
- package/core/providers/MdmGraph/actions.d.ts +0 -8
- package/core/providers/MdmGraph/constants.d.ts +4 -4
- package/core/providers/MdmGraph/types.d.ts +0 -2
- package/core/providers/MdmGraph/utils/misc.d.ts +13 -0
- package/core/providers/Modal/slice.d.ts +0 -6
- package/core/providers/Modal/types.d.ts +0 -2
- package/core/providers/Plugins/hooks/inodes/useActions.d.ts +2 -10
- package/core/providers/Plugins/hooks/inodes/useInodesByOids.d.ts +6 -0
- package/core/providers/Plugins/hooks/tasks/useActions.d.ts +1 -1
- package/core/providers/Plugins/pluginRegistry.d.ts +43 -61
- package/core/providers/Plugins/types/componentPlugins.d.ts +0 -9
- package/core/providers/Search/reducer.d.ts +4 -7
- package/core/providers/Search/selectors.d.ts +262 -48
- package/core/providers/Search/types.d.ts +5 -26
- package/core/providers/Search/utils/createQuery.d.ts +5 -5
- package/core/providers/SystemNotification/slice.d.ts +1 -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 +0 -3
- package/core/providers/Tasks/types.d.ts +1 -1
- package/core/providers/Uploader/Context.d.ts +9 -9
- package/core/utils/action.d.ts +2 -2
- package/core/utils/htmlElements.d.ts +1 -0
- package/core/utils/requestMiddleware.d.ts +1 -0
- package/package.json +1 -1
- package/store.d.ts +16 -21
- package/vendor/@imtf/react-components/components/Chip/utils.d.ts +2 -2
- package/vendor/@imtf/react-components/components/ViewMoreCard/ViewMoreCard.d.ts +2 -1
- package/vendor/@imtf/react-components/utils/constants.d.ts +20 -0
- package/core/components/ActionMenu/Menu.d.ts +0 -19
- package/core/components/ActionMenu/Trigger.d.ts +0 -8
- package/core/components/ActionMenu/index.d.ts +0 -1
- package/core/components/ActionMenu/styles.d.ts +0 -4
- package/core/components/Chip/Chip.d.ts +0 -8
- package/core/components/Chip/index.d.ts +0 -1
- package/core/components/CloseModalButton/CloseModalButton.d.ts +0 -10
- package/core/components/CloseModalButton/index.d.ts +0 -1
- package/core/components/DatePicker/DatePicker.d.ts +0 -6
- package/core/components/DatePicker/index.d.ts +0 -1
- package/core/components/Error/index.d.ts +0 -7
- package/core/components/FormattedNumberTextfield/FormattedNumberTextfield.d.ts +0 -3
- package/core/components/FormattedNumberTextfield/index.d.ts +0 -1
- package/core/components/ItemIcon/TaskIcon.d.ts +0 -5
- package/core/components/ItemIcon/index.d.ts +0 -19
- package/core/components/Select/ListboxComponent.d.ts +0 -5
- package/core/components/Select/Select.d.ts +0 -20
- package/core/components/Select/index.d.ts +0 -1
- package/core/components/dms-ui/DatasourceAutocomplete.d.ts +0 -14
- package/core/components/dms-ui/ImmutableComposer.d.ts +0 -15
- package/core/components/dms-ui/immutableDefault/DatasourceAutocomplete.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/DatePicker.d.ts +0 -15
- package/core/components/dms-ui/immutableDefault/Group.d.ts +0 -16
- package/core/components/dms-ui/immutableDefault/NumberFormattedTexfield.d.ts +0 -14
- package/core/components/dms-ui/immutableDefault/NumberTextfield.d.ts +0 -2
- package/core/components/dms-ui/immutableDefault/RadioButton.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/Select.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/Switch.d.ts +0 -19
- package/core/components/dms-ui/immutableDefault/Textfield.d.ts +0 -21
- package/core/components/dms-ui/immutableDefault/index.d.ts +0 -10
- package/core/components/dms-ui/immutableFacet/DatasourceAutocomplete.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/DateRangeSearcher.d.ts +0 -14
- package/core/components/dms-ui/immutableFacet/Facet.d.ts +0 -23
- package/core/components/dms-ui/immutableFacet/NumericRangePicker.d.ts +0 -14
- package/core/components/dms-ui/immutableFacet/Select.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/Textfield.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/TypePicker.d.ts +0 -13
- package/core/components/dms-ui/immutableFacet/index.d.ts +0 -7
- package/core/components/dms-ui/immutableFacet/styles.d.ts +0 -5
- package/core/components/dms-ui/messages.d.ts +0 -27
- package/core/components/dms-ui/utils/getImmutableComponent.d.ts +0 -19
- package/core/components/dms-ui/utils/removeLabelFromValues.d.ts +0 -1
- package/core/components/dms-ui/utils/utils.d.ts +0 -3
- package/core/constants/dragTypes.d.ts +0 -2
- package/core/containers/DataGrid/constants.d.ts +0 -26
- package/core/containers/DataGrid/types.d.ts +0 -38
- package/core/containers/DataGrid/utils/handleWidth.d.ts +0 -18
- package/core/containers/EntityDocuments/EntityDocumentsComponent.d.ts +0 -30
- package/core/containers/EntityDocuments/components/Accordion.d.ts +0 -12
- package/core/containers/EntityDocuments/components/Document.d.ts +0 -11
- package/core/containers/EntityDocuments/components/DocumentLabel.d.ts +0 -7
- package/core/containers/EntityDocuments/components/DocumentList.d.ts +0 -19
- package/core/containers/EntityDocuments/components/DocumentListTitle.d.ts +0 -7
- package/core/containers/EntityDocuments/constants.d.ts +0 -1
- package/core/containers/EntityDocuments/styles.d.ts +0 -10
- package/core/containers/EntityDocuments/types.d.ts +0 -7
- package/core/containers/SearchDataGrid/types.d.ts +0 -16
- package/core/hooks/useCollator.d.ts +0 -2
- package/core/providers/App/hooks/useDownload.d.ts +0 -23
- package/core/providers/App/hooks/useTriggerItems.d.ts +0 -11
- package/core/providers/App/utils/convertTreeviewFields.d.ts +0 -70
- package/core/providers/App/utils/sortListByWeightAndName.d.ts +0 -8
- package/core/providers/DataGrid/Context.d.ts +0 -47
- package/core/providers/Definitions/hooks/useTaskDefinition.d.ts +0 -1
- package/core/providers/Definitions/hooks/useTaskDefinitions.d.ts +0 -4
- package/core/providers/Definitions/utils/typesToTypeRefs.d.ts +0 -5
- package/core/providers/DropZone/Context.d.ts +0 -12
- package/core/providers/Inodes/hooks/useInodeByOid.d.ts +0 -5
- package/core/providers/Inodes/hooks/useInodeTypeAssignment.d.ts +0 -4
- package/core/providers/Inodes/hooks/useInodesByOids.d.ts +0 -7
- package/core/providers/Inodes/hooks/usePropertiesType.d.ts +0 -14
- package/core/providers/Inodes/hooks/usePropertyComponents.d.ts +0 -11
- package/core/providers/Inodes/hooks/useRestore.d.ts +0 -22
- package/core/providers/Inodes/hooks/useSortedTypes.d.ts +0 -5
- package/core/providers/Inodes/hooks/useTypes.d.ts +0 -10
- package/core/providers/Inodes/hooks/useUpdateInodes.d.ts +0 -35
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +0 -29
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/BarcodeLoading.d.ts +0 -5
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/ModalContent.d.ts +0 -35
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/index.d.ts +0 -12
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/messages.d.ts +0 -59
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +0 -43
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +0 -22
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/createBarcodeProcessingFormData.d.ts +0 -5
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/findMostUsedValue.d.ts +0 -18
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInodesRequiredFieldNames.d.ts +0 -10
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInvalidInodeOids.d.ts +0 -10
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +0 -10
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveStatusIconAndColor.d.ts +0 -5
- package/core/providers/Inodes/modals/AssignTypeModal.d.ts +0 -9
- package/core/providers/Inodes/utils/getAssignableTypesFromInode.d.ts +0 -2
- package/core/providers/Inodes/utils/getBulkUrl.d.ts +0 -1
- package/core/providers/Inodes/utils/isInodeType.d.ts +0 -3
- package/core/providers/Inodes/utils/isInodeTypeRef.d.ts +0 -3
- package/core/providers/Inodes/utils/mutateInodes.d.ts +0 -7
- package/core/providers/Inodes/utils/replacePropertiesWithConfig.d.ts +0 -10
- package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +0 -183
- package/core/providers/Localization/Context.d.ts +0 -7
- package/core/providers/Localization/hooks/useLocale.d.ts +0 -3
- package/core/providers/Modal/hooks/useModal.d.ts +0 -44
- package/core/providers/Plugins/ComponentPluginContext.d.ts +0 -14
- package/core/providers/Plugins/withComponentPlugin.d.ts +0 -27
- package/core/providers/Tasks/utils/mutateTaskData.d.ts +0 -6
- package/core/theme/theme.base.d.ts +0 -32
- package/core/theme/theme.lightMode.d.ts +0 -206
- package/core/utils/date/getUTCDateInCurrentTimezone.d.ts +0 -11
- package/core/utils/hasValidKind.d.ts +0 -2
- package/core/utils/immutable.d.ts +0 -2
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { default as DatasourceAutocomplete } from "./DatasourceAutocomplete";
|
|
2
|
-
export { default as DatePicker } from "./DatePicker";
|
|
3
|
-
export { default as Group } from "./Group";
|
|
4
|
-
export { default as Select } from "./Select";
|
|
5
|
-
export { default as Switch } from "./Switch";
|
|
6
|
-
export { default as Textfield } from "./Textfield";
|
|
7
|
-
export { default as NumberTextfield } from "./NumberTextfield";
|
|
8
|
-
export { default as NumberFormattedTextfield } from "./NumberFormattedTexfield";
|
|
9
|
-
export { default as RadioButton } from "./RadioButton";
|
|
10
|
-
export function TwoDigitNumberFormattedTextfield(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare function AutocompleteField({ component, error, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
component?: import("immutable").Map<any, any> | undefined;
|
|
4
|
-
error: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace AutocompleteField {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
let component: Requireable<any>;
|
|
9
|
-
let error: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export default AutocompleteField;
|
|
13
|
-
import * as PropTypes from "prop-types";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare function DateRangeSearcher({ component, error, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
component?: Map<any, any> | undefined;
|
|
4
|
-
error: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace DateRangeSearcher {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
let component: Requireable<any>;
|
|
9
|
-
let error: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export default DateRangeSearcher;
|
|
13
|
-
import { Map } from "immutable";
|
|
14
|
-
import * as PropTypes from "prop-types";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare function Facet({ label, children, form, field, onChange, }: {
|
|
2
|
-
label: any;
|
|
3
|
-
children: any;
|
|
4
|
-
form: any;
|
|
5
|
-
field: any;
|
|
6
|
-
onChange?: ((...args: any[]) => void) | undefined;
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare namespace Facet {
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
let label: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
11
|
-
let form: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
12
|
-
submitForm: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
-
setFieldValue: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
|
-
}>>>;
|
|
15
|
-
let field: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
16
|
-
name: PropTypes.Requireable<string>;
|
|
17
|
-
value: PropTypes.Requireable<any>;
|
|
18
|
-
}>>>;
|
|
19
|
-
let onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export default Facet;
|
|
23
|
-
import * as PropTypes from "prop-types";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare function TextFieldComponent({ component, error, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
component?: Map<any, any> | undefined;
|
|
4
|
-
error: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace TextFieldComponent {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
let component: Requireable<any>;
|
|
9
|
-
let error: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export default TextFieldComponent;
|
|
13
|
-
import { Map } from "immutable";
|
|
14
|
-
import * as PropTypes from "prop-types";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare function TextFieldComponent({ component, error, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
component?: import("immutable").Map<any, any> | undefined;
|
|
4
|
-
error: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace TextFieldComponent {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
let component: Requireable<any>;
|
|
9
|
-
let error: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export default TextFieldComponent;
|
|
13
|
-
import * as PropTypes from "prop-types";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare function TextFieldComponent({ component, error, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
component?: import("immutable").Map<any, any> | undefined;
|
|
4
|
-
error: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace TextFieldComponent {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
let component: Requireable<any>;
|
|
9
|
-
let error: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export default TextFieldComponent;
|
|
13
|
-
import * as PropTypes from "prop-types";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare function TypePickerComponent({ component, error, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
component?: import("immutable").Map<any, any> | undefined;
|
|
4
|
-
error: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace TypePickerComponent {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
let component: Requireable<any>;
|
|
9
|
-
let error: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export default TypePickerComponent;
|
|
13
|
-
import * as PropTypes from "prop-types";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { default as DatasourceAutocomplete } from "./DatasourceAutocomplete";
|
|
2
|
-
export { default as DateRangeSearcher } from "./DateRangeSearcher";
|
|
3
|
-
export { default as Facet } from "./Facet";
|
|
4
|
-
export { default as NumericRangePicker } from "./NumericRangePicker";
|
|
5
|
-
export { default as Select } from "./Select";
|
|
6
|
-
export { default as Textfield } from "./Textfield";
|
|
7
|
-
export { default as TypePicker } from "./TypePicker";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export const TextEllipsisSpan: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
2
|
-
export const OptionSingle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
-
export const OptionMultiple: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
-
export const Count: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
5
|
-
export const Input: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
loading: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
};
|
|
6
|
-
search: {
|
|
7
|
-
id: string;
|
|
8
|
-
defaultMessage: string;
|
|
9
|
-
};
|
|
10
|
-
newEntry: {
|
|
11
|
-
id: string;
|
|
12
|
-
defaultMessage: string;
|
|
13
|
-
};
|
|
14
|
-
noOptions: {
|
|
15
|
-
id: string;
|
|
16
|
-
defaultMessage: string;
|
|
17
|
-
};
|
|
18
|
-
startTyping: {
|
|
19
|
-
id: string;
|
|
20
|
-
defaultMessage: string;
|
|
21
|
-
};
|
|
22
|
-
required: {
|
|
23
|
-
id: string;
|
|
24
|
-
defaultMessage: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export function getImmutableComponent(kind: any, display: any): import("react").MemoExoticComponent<({ component, error, required, disabled, label, name, min: minProps, max: maxProps, ...props }: {
|
|
2
|
-
component: Immutable.Map<string, any>;
|
|
3
|
-
error: any;
|
|
4
|
-
required: boolean;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
label: string;
|
|
7
|
-
name: string;
|
|
8
|
-
min: number;
|
|
9
|
-
max: number;
|
|
10
|
-
}) => import("react/jsx-runtime").JSX.Element> | typeof Default.DatasourceAutocomplete | typeof Default.Group | typeof Default.Select | typeof Default.Textfield | typeof Default.RadioButton | typeof Default.DatePicker;
|
|
11
|
-
export function DefaultComp({ component }: {
|
|
12
|
-
component: any;
|
|
13
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export namespace DefaultComp {
|
|
15
|
-
namespace propTypes {
|
|
16
|
-
let component: Validator<any>;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
import * as Default from "../immutableDefault";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function removeLabelFromValues(values: any): any;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export function getImmutableValues(components: any, key?: string, createEmptyValue?: boolean, values?: {}): {};
|
|
2
|
-
export function getValues(components: any, key?: string, createEmptyValue?: boolean, values?: {}, searchParams?: URLSearchParams): {};
|
|
3
|
-
export function isValueNull(value: any): any;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const COLUMN_TYPES: {
|
|
2
|
-
readonly STRING: "STRING";
|
|
3
|
-
readonly TRANSLATABLE: "TRANSLATABLE";
|
|
4
|
-
readonly LONG: "LONG";
|
|
5
|
-
readonly DOUBLE: "DOUBLE";
|
|
6
|
-
readonly DATE: "DATE";
|
|
7
|
-
readonly DATE_TIME: "DATE_TIME";
|
|
8
|
-
readonly PATH: "PATH";
|
|
9
|
-
readonly TYPE: "TYPE";
|
|
10
|
-
readonly SIZE: "SIZE";
|
|
11
|
-
readonly PROCESS_STATE: "PROCESS_STATE";
|
|
12
|
-
readonly TAG: "TAG";
|
|
13
|
-
readonly STATUS: "STATUS";
|
|
14
|
-
readonly ITEM: "ITEM";
|
|
15
|
-
readonly BOOLEAN: "BOOLEAN";
|
|
16
|
-
readonly FORMATTED_LONG: "FORMATTED_LONG";
|
|
17
|
-
readonly FORMATTED_DOUBLE: "FORMATTED_DOUBLE";
|
|
18
|
-
readonly TWO_DIGITS_NUMBER: "TWO_DIGITS_NUMBER";
|
|
19
|
-
readonly TASK_TYPE: "TASK_TYPE";
|
|
20
|
-
readonly BUSINESS_PROCESS_STATUS: "BUSINESS_PROCESS_STATUS";
|
|
21
|
-
readonly INODE_NAME: "INODE_NAME";
|
|
22
|
-
readonly DELETED_BY: "DELETED_BY";
|
|
23
|
-
readonly DELETED_ON: "DELETED_ON";
|
|
24
|
-
readonly ITEM_ICON: "ITEM_ICON";
|
|
25
|
-
};
|
|
26
|
-
export declare const LIMIT = 50;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { GridColDef } from "@mui/x-data-grid-pro";
|
|
2
|
-
import { SearchMask } from "../../providers/Definitions/types";
|
|
3
|
-
import { COLUMN_TYPES } from "./constants";
|
|
4
|
-
export type ColumnDefinitionList = {
|
|
5
|
-
kind: "dms-core.ui.TableHeaderCellList";
|
|
6
|
-
items: ColumnDefinition[];
|
|
7
|
-
};
|
|
8
|
-
export type ColumnWidth = number | `${string}%` | `${string}px`;
|
|
9
|
-
export type ColumnDefinition = {
|
|
10
|
-
kind: "dms-core.ui.TableHeaderCell";
|
|
11
|
-
name: string;
|
|
12
|
-
label: string;
|
|
13
|
-
type: keyof typeof COLUMN_TYPES;
|
|
14
|
-
origin: string;
|
|
15
|
-
align?: "LEFT" | "RIGHT" | "CENTER";
|
|
16
|
-
width?: ColumnWidth;
|
|
17
|
-
filterable?: GridColDef["filterable"];
|
|
18
|
-
sortable?: GridColDef["sortable"];
|
|
19
|
-
};
|
|
20
|
-
export type Row = {
|
|
21
|
-
id: string | `load-more-${string}`;
|
|
22
|
-
item?: Record<string, unknown>;
|
|
23
|
-
searchData?: {
|
|
24
|
-
cells: Record<string, string>;
|
|
25
|
-
highlights?: string[];
|
|
26
|
-
status: string;
|
|
27
|
-
};
|
|
28
|
-
loadMoreParentId?: string;
|
|
29
|
-
hierarchy: string[];
|
|
30
|
-
};
|
|
31
|
-
export type DataGridId = "HOME" | "DOSSIER" | "FOLDER" | "FAVORITES" | "TRASH" | "TRANSACTIONS" | "ACCOUNT_PROFILES" | "TOP_TRANSACTIONS" | "TOP_COUNTRIES" | "TRANSACTIONS_TYPE" | "DOCUMENT_TASKS" | "INDEXATION_TASKS" | `SEARCH_MASK_${SearchMask["name"]}`;
|
|
32
|
-
export type UserSettingTreeviewField = {
|
|
33
|
-
name: string;
|
|
34
|
-
hidden?: boolean;
|
|
35
|
-
width?: number;
|
|
36
|
-
pinned?: "left" | "right";
|
|
37
|
-
sort?: "asc" | "desc";
|
|
38
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ColumnWidth } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* Handles the width of the columns
|
|
4
|
-
*
|
|
5
|
-
* They can be a number, a string with "px" or "%" or undefined
|
|
6
|
-
*
|
|
7
|
-
* If it's a number, it's returned as is
|
|
8
|
-
* If it's a string, it's converted to a number depending on the unit
|
|
9
|
-
* - If it ends with "%", it's converted to a number based on the DataGrid width
|
|
10
|
-
* - If it ends with "px", it's converted to a number
|
|
11
|
-
* - If it's not a valid string, it's returned as is
|
|
12
|
-
* If it's undefined, it's returned as is
|
|
13
|
-
*
|
|
14
|
-
* @param width - The width of the column
|
|
15
|
-
* @returns The width of the column
|
|
16
|
-
*/
|
|
17
|
-
declare const handleWidth: (width: ColumnWidth | undefined, gridWidth?: number) => number | undefined;
|
|
18
|
-
export default handleWidth;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ElementType, ReactNode } from "react";
|
|
2
|
-
import { Inode, InodeType } from "../../providers/Inodes/types";
|
|
3
|
-
import { Entity } from "../../providers/MdmGraph/types";
|
|
4
|
-
import { DocumentTaskListError } from "../../providers/Tasks/types";
|
|
5
|
-
import { FileType } from "./types";
|
|
6
|
-
export type EntityDocumentsComponentProps = {
|
|
7
|
-
types: FileType[];
|
|
8
|
-
typesFromDefinition: FileType[];
|
|
9
|
-
documentsByType: {
|
|
10
|
-
[key: string]: Inode<"dms-core.File">[];
|
|
11
|
-
};
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
documentUploadButton?: ReactNode;
|
|
14
|
-
title?: ReactNode;
|
|
15
|
-
WrapperComponent?: ElementType;
|
|
16
|
-
WrapperProps?: {
|
|
17
|
-
[key: string]: unknown;
|
|
18
|
-
};
|
|
19
|
-
hideDocumentTypeWhenSolo?: boolean;
|
|
20
|
-
entity?: Entity;
|
|
21
|
-
errors?: {
|
|
22
|
-
[key: string]: DocumentTaskListError["errors"];
|
|
23
|
-
};
|
|
24
|
-
onDrop: (items: File[] | Inode<"dms-core.File">[], targetTypes: InodeType[]) => void;
|
|
25
|
-
onDragStart?: (document: any) => void;
|
|
26
|
-
onDragEnd?: (document: any) => void;
|
|
27
|
-
canDrop: (items: Inode<"dms-core.File">[] | File[], typeName?: string) => boolean;
|
|
28
|
-
};
|
|
29
|
-
declare const _default: import("react").MemoExoticComponent<({ types, typesFromDefinition, documentsByType, disabled, documentUploadButton, title, WrapperComponent, WrapperProps, hideDocumentTypeWhenSolo, entity, errors, onDragStart, onDragEnd, onDrop, canDrop: canDropProp, }: EntityDocumentsComponentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
30
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Entity } from "../../../providers/MdmGraph/types";
|
|
2
|
-
type AccordionProps = {
|
|
3
|
-
defaultExpanded?: boolean;
|
|
4
|
-
isOver?: boolean;
|
|
5
|
-
title: string;
|
|
6
|
-
entity: Entity;
|
|
7
|
-
documentUploadButton?: React.ReactNode;
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
TransitionProps?: Record<string, any>;
|
|
10
|
-
};
|
|
11
|
-
declare const AccordionComponent: import("react").ForwardRefExoticComponent<AccordionProps & import("react").RefAttributes<unknown>>;
|
|
12
|
-
export default AccordionComponent;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Inode } from "../../../providers/Inodes/types";
|
|
2
|
-
import { Entity } from "../../../providers/MdmGraph/types";
|
|
3
|
-
type DocumentProps = {
|
|
4
|
-
document: Inode<"dms-core.File">;
|
|
5
|
-
onDragStart?: (document: any) => void;
|
|
6
|
-
onDragEnd?: (document: any) => void;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
entity?: Entity;
|
|
9
|
-
};
|
|
10
|
-
declare const _default: import("react").MemoExoticComponent<({ document, onDragStart, onDragEnd, disabled, entity, }: DocumentProps) => import("react/jsx-runtime").JSX.Element>;
|
|
11
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Inode } from "../../../providers/Inodes/types";
|
|
2
|
-
import { Entity } from "../../../providers/MdmGraph/types";
|
|
3
|
-
import { FileType } from "../types";
|
|
4
|
-
type DocumentListProps = {
|
|
5
|
-
label?: string;
|
|
6
|
-
type: FileType;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
entity?: Entity;
|
|
9
|
-
errors?: string[];
|
|
10
|
-
isTypeAssignable: boolean;
|
|
11
|
-
isRequired: boolean;
|
|
12
|
-
documents: Inode<"dms-core.File">[];
|
|
13
|
-
canDrop?: (item: Inode<"dms-core.File">[] | File[], typeName?: string) => boolean;
|
|
14
|
-
onDrop?: (files: File[], monitor: any, typeName: string) => void;
|
|
15
|
-
onDragStart?: (document: any) => void;
|
|
16
|
-
onDragEnd?: (document: any) => void;
|
|
17
|
-
};
|
|
18
|
-
declare const _default: import("react").MemoExoticComponent<({ label, type, disabled, isTypeAssignable, entity, errors, isRequired, documents, canDrop: canDropOnDocuments, onDrop, onDragStart, onDragEnd, }: DocumentListProps) => import("react/jsx-runtime").JSX.Element>;
|
|
19
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type DocumentsTypeProps = {
|
|
2
|
-
label: string;
|
|
3
|
-
disabled: boolean;
|
|
4
|
-
isRequired: boolean;
|
|
5
|
-
};
|
|
6
|
-
declare const DocumentListTitle: ({ disabled, label, isRequired, }: DocumentsTypeProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default DocumentListTitle;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const REQUIRED_FIELD_SYMBOL = "*";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export const Accordion: import("react").JSXElementConstructor<any>;
|
|
2
|
-
export const AccordionDetails: import("react").JSXElementConstructor<Omit<import("@mui/material").AccordionDetailsProps, "classes"> & import("@mui/styles").StyledComponentProps<"root"> & object>;
|
|
3
|
-
export const AccordionActions: import("react").JSXElementConstructor<Omit<import("@mui/material").AccordionActionsProps, "classes"> & import("@mui/styles").StyledComponentProps<"root"> & object>;
|
|
4
|
-
export const Placeholder: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
5
|
-
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
6
|
-
}, "maxWidth" | "classes" | "children" | "className" | "sx" | "p" | "style" | "color" | "m" | "right" | "left" | "variant" | "flex" | "display" | "alignItems" | "alignContent" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "displayPrint" | "bgcolor" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY" | "typography" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
7
|
-
export const File: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
-
export const FileName: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
9
|
-
export const Required: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
10
|
-
export const Error: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SupportedItem } from "../../providers/App/types";
|
|
2
|
-
import { LOAD_MORE } from "../../../core/constants/kinds";
|
|
3
|
-
export type TableRow = {
|
|
4
|
-
kind: "dms-core.ui.TableRow";
|
|
5
|
-
cells: {
|
|
6
|
-
kind: "dms-core.ui.ItemTableCell";
|
|
7
|
-
value: string;
|
|
8
|
-
}[];
|
|
9
|
-
item: SupportedItem | {
|
|
10
|
-
kind: typeof LOAD_MORE;
|
|
11
|
-
oid: string;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
14
|
-
highlights?: string[];
|
|
15
|
-
status: string;
|
|
16
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { AxiosError } from "axios";
|
|
2
|
-
import { Inode } from "../../Inodes/types";
|
|
3
|
-
type Arg = {
|
|
4
|
-
inodes: Inode[];
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Downloads an array of inodes by getting a download token and then using an iframe to download the files
|
|
8
|
-
*/
|
|
9
|
-
declare const useDownload: () => {
|
|
10
|
-
downloadViaIframe: (url: string | null) => void;
|
|
11
|
-
isMutating: boolean;
|
|
12
|
-
trigger: import("swr/mutation").TriggerWithArgs<{
|
|
13
|
-
downloadToken: string;
|
|
14
|
-
length: number;
|
|
15
|
-
}, AxiosError<unknown, any>, string, Arg>;
|
|
16
|
-
reset: () => void;
|
|
17
|
-
data: {
|
|
18
|
-
downloadToken: string;
|
|
19
|
-
length: number;
|
|
20
|
-
} | undefined;
|
|
21
|
-
error: AxiosError<unknown, any> | undefined;
|
|
22
|
-
};
|
|
23
|
-
export default useDownload;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TRIGGER_TARGET } from "../../Actions/constants";
|
|
2
|
-
import { SupportedItem } from "../types";
|
|
3
|
-
/**
|
|
4
|
-
* Triggers/opens items
|
|
5
|
-
* You can also give a target to open the item in a new tab, window or in the same tab
|
|
6
|
-
*/
|
|
7
|
-
declare const useTriggerItems: () => (items: SupportedItem[], target?: (typeof TRIGGER_TARGET)[keyof typeof TRIGGER_TARGET]) => Promise<{
|
|
8
|
-
downloadToken: string;
|
|
9
|
-
length: number;
|
|
10
|
-
}> | undefined;
|
|
11
|
-
export default useTriggerItems;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { Settings } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* Converts the treeviewFields from the old format to the new format.
|
|
4
|
-
* Since version 7.0.0, the treeviewFields are used in a different way.
|
|
5
|
-
*
|
|
6
|
-
* @param settings - The settings object
|
|
7
|
-
* @returns The settings object with the treeviewFields converted
|
|
8
|
-
*/
|
|
9
|
-
declare const convertTreeviewFields: (settings: Settings) => {
|
|
10
|
-
translations?: any;
|
|
11
|
-
language?: any;
|
|
12
|
-
appearance?: any;
|
|
13
|
-
isInspectorVisible?: any;
|
|
14
|
-
inspectorWidth?: any;
|
|
15
|
-
inspectorExpandedModules?: any;
|
|
16
|
-
inspectorStickyModules?: any;
|
|
17
|
-
defaultDossierViewMode?: any;
|
|
18
|
-
savedFilters?: any;
|
|
19
|
-
documentZoom?: any;
|
|
20
|
-
signatureOrientation?: any;
|
|
21
|
-
transactionActiveProfiles?: any;
|
|
22
|
-
navigateOnTaskCompletion?: any;
|
|
23
|
-
draggableModalSizing?: any;
|
|
24
|
-
draggableModalCoordinates?: any;
|
|
25
|
-
defaultModule?: any;
|
|
26
|
-
commentMaxLength?: any;
|
|
27
|
-
inodeNameMaxLength?: any;
|
|
28
|
-
applicationSortOrder?: any;
|
|
29
|
-
externalApplications?: any;
|
|
30
|
-
treeviewFields?: any;
|
|
31
|
-
dataGridOrders?: any;
|
|
32
|
-
contentType?: any;
|
|
33
|
-
locales?: any;
|
|
34
|
-
enableCaseCreation?: any;
|
|
35
|
-
shouldReloadResults?: any;
|
|
36
|
-
reloadResultsIntervals?: any;
|
|
37
|
-
userInactivitySessionTimeout?: any;
|
|
38
|
-
showDropzone?: any;
|
|
39
|
-
theme?: any;
|
|
40
|
-
productNameInSidebar?: any;
|
|
41
|
-
disableTaskAutoClaim?: any;
|
|
42
|
-
useRelativeDateWheneverPossible?: any;
|
|
43
|
-
customerRelatedEntitiesTemplates?: any;
|
|
44
|
-
documentTaskSearchContextName?: any;
|
|
45
|
-
canOpenRelatedAlertFromInspector?: any;
|
|
46
|
-
propertyPanelOverrides?: any;
|
|
47
|
-
additionalTransactionsColumns?: any;
|
|
48
|
-
millisecondsToHideUploadProgress?: any;
|
|
49
|
-
inodeTimelineExportLimit?: any;
|
|
50
|
-
searchExportLimit?: any;
|
|
51
|
-
customStamps?: any;
|
|
52
|
-
openEachInodeInNewTabOrWindowLimit?: any;
|
|
53
|
-
useSolrDocumentIcons?: any;
|
|
54
|
-
loadFirstFromQuickSearch?: any;
|
|
55
|
-
enableDossierCreation?: any;
|
|
56
|
-
enableBarcodeProcessing?: any;
|
|
57
|
-
enablePropertiesUpload?: any;
|
|
58
|
-
navigateOnCaseCreation?: any;
|
|
59
|
-
authenticationWorkflow?: any;
|
|
60
|
-
hitListLimit?: any;
|
|
61
|
-
inodeListLimit?: any;
|
|
62
|
-
appBarColor?: any;
|
|
63
|
-
displayEnvironmentName?: any;
|
|
64
|
-
autosaveDebounce?: any;
|
|
65
|
-
displayFullnameInDocuments?: any;
|
|
66
|
-
enableDigitalSignatureVerification?: any;
|
|
67
|
-
certificateRevocationListProxyServerUrl?: any;
|
|
68
|
-
companionScanDPIResolution?: any;
|
|
69
|
-
};
|
|
70
|
-
export default convertTreeviewFields;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function sortImmutableListByWeightAndName(list: Immutable.List<Map<string, any>>): import("immutable").List<Map<string, any>>;
|
|
2
|
-
/**
|
|
3
|
-
* Sorts a list of objects by 'orderingWeight' and 'name'.
|
|
4
|
-
*/
|
|
5
|
-
export default function sortListByWeightAndName<T extends Record<string, any>>(list: (T & {
|
|
6
|
-
orderingWeight?: number;
|
|
7
|
-
name: string;
|
|
8
|
-
})[], collator: Intl.Collator): T[];
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { GridApiPro } from "@mui/x-data-grid-pro";
|
|
2
|
-
import { RefObject } from "react";
|
|
3
|
-
import { DataGridId } from "../../../core/containers/DataGrid/types";
|
|
4
|
-
import { SupportedItem } from "../App/types";
|
|
5
|
-
import { Inode } from "../Inodes/types";
|
|
6
|
-
export type DataGridContextType = {
|
|
7
|
-
dataGrids: {
|
|
8
|
-
[id: DataGridId | string]: {
|
|
9
|
-
selectedOids: SupportedItem["oid"][];
|
|
10
|
-
expanded: {
|
|
11
|
-
[oid: Inode<"dms-core.Folder">["oid"]]: {
|
|
12
|
-
limit: number;
|
|
13
|
-
offset: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
offset: number;
|
|
17
|
-
limit: number;
|
|
18
|
-
order: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
currentApiRef: RefObject<GridApiPro> | null;
|
|
22
|
-
setCurrentApiRef: (apiRef: RefObject<GridApiPro> | null) => void;
|
|
23
|
-
currentDataGrid: DataGridContextType["dataGrids"][string] | null;
|
|
24
|
-
currentDataGridId: DataGridId | string | null;
|
|
25
|
-
setCurrentDataGridId: (id: string | null) => void;
|
|
26
|
-
addDataGrid: (id: string, initialState: {
|
|
27
|
-
selectedOids: DataGridContextType["dataGrids"][string]["selectedOids"];
|
|
28
|
-
expanded: DataGridContextType["dataGrids"][string]["expanded"];
|
|
29
|
-
offset: DataGridContextType["dataGrids"][string]["offset"];
|
|
30
|
-
limit: DataGridContextType["dataGrids"][string]["limit"];
|
|
31
|
-
order: DataGridContextType["dataGrids"][string]["order"];
|
|
32
|
-
}) => void;
|
|
33
|
-
removeDataGrid: (id: string) => void;
|
|
34
|
-
setSelectedOids: (id: string, oids: SupportedItem["oid"][] | ((prev: SupportedItem["oid"][]) => SupportedItem["oid"][])) => void;
|
|
35
|
-
setExpanded: (id: string, expanded: DataGridContextType["dataGrids"][string]["expanded"] | ((prev: DataGridContextType["dataGrids"][string]["expanded"]) => DataGridContextType["dataGrids"][string]["expanded"])) => void;
|
|
36
|
-
setCurrentExpanded: (expanded: DataGridContextType["dataGrids"][string]["expanded"] | ((prev: DataGridContextType["dataGrids"][string]["expanded"]) => DataGridContextType["dataGrids"][string]["expanded"])) => void;
|
|
37
|
-
setCurrentSelectedOids: (oids: SupportedItem["oid"][] | ((prev: SupportedItem["oid"][]) => SupportedItem["oid"][])) => void;
|
|
38
|
-
setLimit: (id: string, limit: number | ((prev: number) => number)) => void;
|
|
39
|
-
setCurrentLimit: (limit: number | ((prev: number) => number)) => void;
|
|
40
|
-
increaseCurrentLimitByLimit: () => void;
|
|
41
|
-
setExpandedLimit: (oid: string, limit: number | ((prev: number) => number)) => void;
|
|
42
|
-
increaseExpandedLimitByLimit: (oid: string) => void;
|
|
43
|
-
setOrder: (id: string, order: string) => void;
|
|
44
|
-
setCurrentOrder: (order: string) => void;
|
|
45
|
-
};
|
|
46
|
-
declare const DataGridContext: import("react").Context<DataGridContextType>;
|
|
47
|
-
export default DataGridContext;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useTaskDefinition(name?: string): import("../types").TaskDefinition | undefined;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Inode } from "../Inodes/types";
|
|
2
|
-
export type DropZoneContextType = {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
setIsOpen: (isOpen: boolean | ((prev: boolean) => boolean)) => void;
|
|
5
|
-
inodes: Inode[];
|
|
6
|
-
isLoading: boolean;
|
|
7
|
-
addOids: (oids: Inode["oid"][]) => void;
|
|
8
|
-
removeOids: (oids: Inode["oid"][]) => void;
|
|
9
|
-
clear: () => void;
|
|
10
|
-
};
|
|
11
|
-
declare const DropZoneContext: import("react").Context<DropZoneContextType>;
|
|
12
|
-
export default DropZoneContext;
|