@imtf/dms-core 1.0.0-beta.2 → 1.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/folder-manager/routes/InodeCollection/hooks/useRemoveInodesFromUrl.d.ts +4 -0
- package/core/components/Chip/Chip.d.ts +8 -0
- package/core/components/Chip/index.d.ts +1 -0
- package/core/components/CloseModalButton/CloseModalButton.d.ts +10 -0
- package/core/components/CloseModalButton/index.d.ts +1 -0
- package/core/components/DatePicker/DatePicker.d.ts +6 -0
- package/core/components/DatePicker/index.d.ts +1 -0
- package/core/components/Error/index.d.ts +7 -0
- package/core/components/FormattedNumberTextfield/FormattedNumberTextfield.d.ts +3 -0
- package/core/components/FormattedNumberTextfield/index.d.ts +1 -0
- package/core/components/ItemIcon/TaskIcon.d.ts +5 -0
- package/core/components/ItemIcon/index.d.ts +19 -0
- package/core/components/JsonForm/types.d.ts +15 -0
- package/core/components/Select/ListboxComponent.d.ts +5 -0
- package/core/components/Select/Select.d.ts +20 -0
- package/core/components/Select/index.d.ts +1 -0
- package/core/components/dms-ui/DatasourceAutocomplete.d.ts +14 -0
- package/core/components/dms-ui/ImmutableComposer.d.ts +15 -0
- package/core/components/dms-ui/immutableDefault/DatasourceAutocomplete.d.ts +19 -0
- package/core/components/dms-ui/immutableDefault/DatePicker.d.ts +15 -0
- package/core/components/dms-ui/immutableDefault/Group.d.ts +16 -0
- package/core/components/dms-ui/immutableDefault/NumberFormattedTexfield.d.ts +14 -0
- package/core/components/dms-ui/immutableDefault/NumberTextfield.d.ts +2 -0
- package/core/components/dms-ui/immutableDefault/RadioButton.d.ts +19 -0
- package/core/components/dms-ui/immutableDefault/Select.d.ts +19 -0
- package/core/components/dms-ui/immutableDefault/Switch.d.ts +19 -0
- package/core/components/dms-ui/immutableDefault/Textfield.d.ts +21 -0
- package/core/components/dms-ui/immutableDefault/index.d.ts +10 -0
- package/core/components/dms-ui/immutableFacet/DatasourceAutocomplete.d.ts +13 -0
- package/core/components/dms-ui/immutableFacet/DateRangeSearcher.d.ts +14 -0
- package/core/components/dms-ui/immutableFacet/Facet.d.ts +23 -0
- package/core/components/dms-ui/immutableFacet/NumericRangePicker.d.ts +14 -0
- package/core/components/dms-ui/immutableFacet/Select.d.ts +13 -0
- package/core/components/dms-ui/immutableFacet/Textfield.d.ts +13 -0
- package/core/components/dms-ui/immutableFacet/TypePicker.d.ts +13 -0
- package/core/components/dms-ui/immutableFacet/index.d.ts +7 -0
- package/core/components/dms-ui/immutableFacet/styles.d.ts +5 -0
- package/core/components/dms-ui/messages.d.ts +27 -0
- package/core/components/dms-ui/types.d.ts +49 -0
- package/core/components/dms-ui/utils/getImmutableComponent.d.ts +19 -0
- package/core/components/dms-ui/utils/removeLabelFromValues.d.ts +1 -0
- package/core/components/dms-ui/utils/utils.d.ts +3 -0
- package/core/constants/apps.d.ts +0 -5
- package/core/constants/kinds.d.ts +1 -0
- package/core/containers/DataGrid/constants.d.ts +26 -0
- package/core/containers/DataGrid/types.d.ts +36 -0
- package/core/containers/DataGrid/utils/handleWidth.d.ts +18 -0
- package/core/containers/DropZone/actions.d.ts +25 -0
- package/core/containers/DropZone/constants.d.ts +5 -0
- package/core/containers/DropZone/selectors.d.ts +8 -70
- package/core/containers/PDFTronViewer/components/LightViewer/config.d.ts +1 -0
- package/core/containers/PDFTronViewer/constants.d.ts +0 -1
- package/core/containers/SearchDataGrid/types.d.ts +16 -0
- package/core/hooks/useCollator.d.ts +2 -0
- package/core/providers/Actions/types.d.ts +2 -4
- package/core/providers/App/actions.d.ts +8 -6
- package/core/providers/App/constants.d.ts +0 -1
- package/core/providers/App/hooks/useApplicationSettings.d.ts +3 -2
- package/core/providers/App/hooks/useDownload.d.ts +23 -0
- package/core/providers/App/hooks/useSettings.d.ts +4 -8
- package/core/providers/App/hooks/useTriggerItems.d.ts +11 -0
- package/core/providers/App/messages.d.ts +8 -0
- package/core/providers/App/types.d.ts +8 -2
- package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
- package/core/providers/App/utils/convertTreeviewFields.d.ts +69 -0
- package/core/providers/App/utils/sortListByWeightAndName.d.ts +8 -0
- package/core/providers/Cases/actions.d.ts +16 -3
- package/core/providers/Cases/hooks/useCaseFiles.d.ts +4 -0
- package/core/providers/Cases/utils/common.d.ts +37 -9
- package/core/providers/Ccm/types.d.ts +5 -0
- package/core/providers/DataGrid/Context.d.ts +47 -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/types.d.ts +14 -11
- package/core/providers/Definitions/utils/typesToTypeRefs.d.ts +5 -0
- package/core/providers/Inodes/actions.d.ts +13 -441
- package/core/providers/Inodes/constants.d.ts +1 -44
- package/core/providers/Inodes/hooks/useDelete.d.ts +5 -2
- 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 +8 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +29 -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 +59 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +43 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +22 -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/getInodesRequiredFieldNames.d.ts +10 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInvalidInodeOids.d.ts +10 -0
- package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +10 -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 +7 -6
- package/core/providers/Inodes/types.d.ts +19 -49
- 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/getDataFromForbiddenError.d.ts +18 -0
- package/core/providers/Inodes/utils/is.d.ts +1 -1
- package/core/providers/Inodes/utils/isImmutable.d.ts +1 -0
- 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 +7 -0
- package/core/providers/Inodes/utils/replacePropertiesWithConfig.d.ts +10 -0
- package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +183 -0
- package/core/providers/Inspectors/Context.d.ts +2 -0
- 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 +8 -0
- package/core/providers/MdmGraph/types.d.ts +11 -0
- package/core/providers/Modal/hooks/useModal.d.ts +44 -0
- package/core/providers/Modal/slice.d.ts +6 -0
- package/core/providers/Modal/types.d.ts +2 -0
- package/core/providers/Plugins/hooks/cases/useCaseDocuments.d.ts +6 -1
- package/core/providers/Plugins/hooks/inodes/useActions.d.ts +13 -2
- package/core/providers/Plugins/hooks/tasks/useTaskCompletionDisabling.d.ts +9 -0
- package/core/providers/Plugins/pluginRegistry.d.ts +60 -22
- package/core/providers/Search/hooks/useReloader.d.ts +1 -1
- package/core/providers/Search/reducer.d.ts +7 -4
- package/core/providers/Search/selectors.d.ts +48 -262
- package/core/providers/Search/types.d.ts +26 -28
- package/core/providers/Search/utils/createQuery.d.ts +5 -5
- package/core/providers/SystemNotification/slice.d.ts +1 -1
- package/core/providers/Tasks/Context.d.ts +10 -0
- 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/useTaskStatus.d.ts +8 -0
- package/core/providers/Uploader/Context.d.ts +4 -4
- package/core/routes/navigate.d.ts +1 -1
- package/core/services/utils/generatePaths.d.ts +1 -1
- package/core/theme/theme.base.d.ts +32 -0
- package/core/theme/theme.lightMode.d.ts +206 -0
- package/core/utils/action.d.ts +2 -2
- package/core/utils/date/getUTCDateInCurrentTimezone.d.ts +11 -0
- package/core/utils/hasValidKind.d.ts +2 -0
- package/core/utils/immutable.d.ts +2 -0
- package/core/utils/string.d.ts +5 -5
- package/index.d.ts +5 -0
- package/package.json +1 -1
- package/store.d.ts +15 -10
- package/vendor/@imtf/react-components/components/Chip/utils.d.ts +2 -2
- package/vendor/@imtf/react-components/utils/constants.d.ts +0 -20
- package/core/components/JsonForm/widgets/widgetHOC.d.ts +0 -33
- package/core/components/TreeView/types.d.ts +0 -17
- package/core/components/TreeViewCell/constants.d.ts +0 -25
- 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/containers/MdmEntitiesEditor/utils/createHighlightsSchema.d.ts +0 -13
- package/core/providers/MdmGraph/utils/misc.d.ts +0 -13
- package/core/providers/Plugins/hooks/inodes/useInodesByOids.d.ts +0 -6
- package/core/providers/Tasks/hooks/useQuestionnaire.d.ts +0 -4
- package/core/utils/requestMiddleware.d.ts +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { List
|
|
1
|
+
import { List } from "immutable";
|
|
2
2
|
import { GetActionPayload } from "../../../types/utils";
|
|
3
3
|
import { EventFilter } from "../App/types";
|
|
4
|
+
import { CasePayloadEditorDefinition } from "../Definitions/types";
|
|
4
5
|
import { ImmutableInode, Inode, InodeType } from "../Inodes/types";
|
|
5
|
-
import { Case, CaseClassification
|
|
6
|
+
import { Case, CaseClassification } from "./types";
|
|
6
7
|
export declare function refreshReloadCount(caseOid: string): {
|
|
7
8
|
type: string;
|
|
8
9
|
payload: {
|
|
@@ -20,6 +21,8 @@ export declare function createProcessModal(caze: Case): {
|
|
|
20
21
|
fullWidth: boolean;
|
|
21
22
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
22
23
|
blocker: boolean;
|
|
24
|
+
onConfirm: (...args: any[]) => void;
|
|
25
|
+
onCancel: () => void;
|
|
23
26
|
onClose: () => void;
|
|
24
27
|
}> | undefined;
|
|
25
28
|
};
|
|
@@ -42,6 +45,8 @@ export declare function addClassificationModal(caseOid: string): {
|
|
|
42
45
|
fullWidth: boolean;
|
|
43
46
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
44
47
|
blocker: boolean;
|
|
48
|
+
onConfirm: (...args: any[]) => void;
|
|
49
|
+
onCancel: () => void;
|
|
45
50
|
onClose: () => void;
|
|
46
51
|
}> | undefined;
|
|
47
52
|
};
|
|
@@ -76,6 +81,8 @@ export declare function generateReportsModal(caze: Case): {
|
|
|
76
81
|
fullWidth: boolean;
|
|
77
82
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
78
83
|
blocker: boolean;
|
|
84
|
+
onConfirm: (...args: any[]) => void;
|
|
85
|
+
onCancel: () => void;
|
|
79
86
|
onClose: () => void;
|
|
80
87
|
}> | undefined;
|
|
81
88
|
};
|
|
@@ -94,12 +101,14 @@ export declare function openCreatorModal({ inodes, }?: {
|
|
|
94
101
|
fullWidth: boolean;
|
|
95
102
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
96
103
|
blocker: boolean;
|
|
104
|
+
onConfirm: (...args: any[]) => void;
|
|
105
|
+
onCancel: () => void;
|
|
97
106
|
onClose: () => void;
|
|
98
107
|
}> | undefined;
|
|
99
108
|
};
|
|
100
109
|
type: "modal/showModal";
|
|
101
110
|
};
|
|
102
|
-
export declare function editPayloadModal(editor:
|
|
111
|
+
export declare function editPayloadModal(editor: CasePayloadEditorDefinition, caze: Case): {
|
|
103
112
|
payload: {
|
|
104
113
|
type: string;
|
|
105
114
|
props: Partial<{
|
|
@@ -110,6 +119,8 @@ export declare function editPayloadModal(editor: Map<string, unknown>, caze: Imm
|
|
|
110
119
|
fullWidth: boolean;
|
|
111
120
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
112
121
|
blocker: boolean;
|
|
122
|
+
onConfirm: (...args: any[]) => void;
|
|
123
|
+
onCancel: () => void;
|
|
113
124
|
onClose: () => void;
|
|
114
125
|
}> | undefined;
|
|
115
126
|
};
|
|
@@ -226,6 +237,8 @@ export declare function showTimelineModal(caseOid: string, filters?: EventFilter
|
|
|
226
237
|
fullWidth: boolean;
|
|
227
238
|
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
228
239
|
blocker: boolean;
|
|
240
|
+
onConfirm: (...args: any[]) => void;
|
|
241
|
+
onCancel: () => void;
|
|
229
242
|
onClose: () => void;
|
|
230
243
|
}> | undefined;
|
|
231
244
|
};
|
|
@@ -1,10 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
export function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Case } from "../types";
|
|
2
|
+
export declare function getDossierRefUrl(caze: Case): string;
|
|
3
|
+
/**
|
|
4
|
+
* Get the case oid from an item
|
|
5
|
+
*/
|
|
6
|
+
export declare const getCaseOidFromItem: (item: unknown) => string | undefined;
|
|
7
|
+
export declare function getReportUrl(params: {
|
|
8
|
+
templateName: string;
|
|
9
|
+
caseId: string;
|
|
10
|
+
encryptedToken: string;
|
|
11
|
+
language: string;
|
|
7
12
|
}): string;
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
export declare const getCasePayloadEditorActions: (caze: Case) => Promise<{
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
group: "EXTRA_ACTION";
|
|
17
|
+
orderingWeight: number;
|
|
18
|
+
action: () => {
|
|
19
|
+
payload: {
|
|
20
|
+
type: string;
|
|
21
|
+
props: Partial<{
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
disableEscapeKeyDown: boolean;
|
|
24
|
+
disableBackdropClick: boolean;
|
|
25
|
+
correlationId: string;
|
|
26
|
+
fullWidth: boolean;
|
|
27
|
+
maxWidth: import("@mui/material").DialogProps["maxWidth"];
|
|
28
|
+
blocker: boolean;
|
|
29
|
+
onConfirm: (...args: any[]) => void;
|
|
30
|
+
onCancel: () => void;
|
|
31
|
+
onClose: () => void;
|
|
32
|
+
}> | undefined;
|
|
33
|
+
};
|
|
34
|
+
type: "modal/showModal";
|
|
35
|
+
};
|
|
36
|
+
nonModifying: boolean;
|
|
37
|
+
}[]>;
|
|
38
|
+
export declare const getDownloadCaseTimelineUrl: (caseId: string, encryptedToken: string) => string;
|
|
@@ -11,6 +11,7 @@ export type ScenarioEntity = Entity<typeof ENTITY_TYPES.SCENARIO, {
|
|
|
11
11
|
scenarioDescription: string;
|
|
12
12
|
}>;
|
|
13
13
|
export type TransactionEntity = Entity<typeof ENTITY_TYPES.TRANSACTION, {
|
|
14
|
+
businessId: string;
|
|
14
15
|
transactionEntryDate: string;
|
|
15
16
|
transactionAmountOrigin: number;
|
|
16
17
|
transactionAmount: number;
|
|
@@ -135,3 +136,7 @@ export type IMatchWatchlistDocumentAssociatedEntity = CcmEntity<typeof ENTITY_TY
|
|
|
135
136
|
legalState: string;
|
|
136
137
|
originId: string;
|
|
137
138
|
}>;
|
|
139
|
+
export type Listnames = {
|
|
140
|
+
displayName: string;
|
|
141
|
+
watchListOriginId: string;
|
|
142
|
+
}[];
|
|
@@ -0,0 +1,47 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useTaskDefinition(name?: string): import("../types").TaskDefinition | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { PropertiesComponent, UIPropertiesGroup } from "../../../core/components/dms-ui/types";
|
|
1
2
|
import { FORM_DEFINITION, HUMAN_TASK_DEFINITION, MDM_EDITOR_DEFINITION } from "../../../core/constants/kinds";
|
|
2
|
-
|
|
3
|
-
type Codetype = {
|
|
3
|
+
export type Codetype = {
|
|
4
4
|
active: boolean;
|
|
5
5
|
id: string;
|
|
6
6
|
value: string;
|
|
@@ -84,6 +84,12 @@ export type MdmEditorDefinition = {
|
|
|
84
84
|
}>;
|
|
85
85
|
ui_repeatable: boolean | null;
|
|
86
86
|
};
|
|
87
|
+
export type CasePayloadEditorDefinition = {
|
|
88
|
+
kind: "acm.CasePayloadEditorDefinition";
|
|
89
|
+
name: string;
|
|
90
|
+
label: string;
|
|
91
|
+
formName: string;
|
|
92
|
+
};
|
|
87
93
|
export type CaseDefinition = {
|
|
88
94
|
kind: "acm.CaseDefinition";
|
|
89
95
|
capabilities: {
|
|
@@ -95,15 +101,12 @@ export type CaseDefinition = {
|
|
|
95
101
|
parameters: Record<string, unknown>;
|
|
96
102
|
commentRequired: boolean;
|
|
97
103
|
formName: string;
|
|
98
|
-
payloadEditors
|
|
104
|
+
payloadEditors?: {
|
|
105
|
+
kind: "acm.CasePayloadEditorList";
|
|
106
|
+
items: Array<CasePayloadEditorDefinition>;
|
|
107
|
+
} | null;
|
|
99
108
|
masterToScopeEntityListResource: unknown;
|
|
100
109
|
};
|
|
101
|
-
export type CasePayloadEditorDefinition = {
|
|
102
|
-
kind: "acm.CasePayloadEditorDefinition";
|
|
103
|
-
name: string;
|
|
104
|
-
label: string;
|
|
105
|
-
formName: string;
|
|
106
|
-
};
|
|
107
110
|
export type TaskOutcome = {
|
|
108
111
|
kind: "acm.HumanTaskOutcomeDefinition";
|
|
109
112
|
label: string;
|
|
@@ -224,14 +227,14 @@ export type SearchMask = {
|
|
|
224
227
|
defaultQuery: string;
|
|
225
228
|
defaultOrdering: string;
|
|
226
229
|
defaultHighlight?: {
|
|
227
|
-
kind: "dms-
|
|
230
|
+
kind: "dms-indexation.search.Highlight";
|
|
228
231
|
snippets: number;
|
|
229
232
|
field: string;
|
|
230
233
|
};
|
|
231
234
|
initialSearchEnabled: boolean;
|
|
232
235
|
label: string;
|
|
233
236
|
name: string;
|
|
234
|
-
components:
|
|
237
|
+
components: (PropertiesComponent | UIPropertiesGroup)[];
|
|
235
238
|
searchMode: "filter" | "search";
|
|
236
239
|
};
|
|
237
240
|
export type MdmRelationshipDefinitionList = {
|