@dexteel/mesf-core 3.11.9 → 3.12.1-alpha
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/dist/configuration/index.d.ts +1 -0
- package/dist/configuration/pages/asset/ConfigurationAssetPage.d.ts +2 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/AssetView.d.ts +2 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/ConfigurationAssetComponent.d.ts +2 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomDragPreview.d.ts +8 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomNode.d.ts +15 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/MultipleDragPreview.d.ts +8 -0
- package/dist/configuration/pages/asset/components/AssetConfiguration/TypeIcon.d.ts +7 -0
- package/dist/configuration/pages/asset/components/dialogs/create-new-asset-dialog.d.ts +7 -0
- package/dist/configuration/pages/asset/components/dialogs/edit-asset-dialog.d.ts +7 -0
- package/dist/configuration/pages/asset/components/dialogs/remove-asset-dialog.d.ts +7 -0
- package/dist/configuration/pages/asset/components/dialogs/viewer-asset-dialog.d.ts +7 -0
- package/dist/configuration/pages/asset/components/hooks/useAssetActions.d.ts +25 -0
- package/dist/configuration/pages/asset/components/hooks/useAssetCodes.d.ts +3 -0
- package/dist/configuration/pages/asset/context/ConfigurationAssetContext.d.ts +261 -0
- package/dist/configuration/pages/asset/hooks/TransformAssetModelData.d.ts +3 -0
- package/dist/configuration/pages/asset/hooks/useSearchAssets.d.ts +3 -0
- package/dist/configuration/pages/asset/index.d.ts +4 -0
- package/dist/configuration/pages/asset/models/AssetAPI.d.ts +9 -0
- package/dist/configuration/pages/asset/models/AssetCode.d.ts +7 -0
- package/dist/configuration/pages/asset/models/AssetParameters.d.ts +10 -0
- package/dist/configuration/pages/asset/models/FileProperties.d.ts +4 -0
- package/dist/configuration/pages/asset/models/InitialValueDataAsset.d.ts +2 -0
- package/dist/configuration/pages/asset/reducers/ConfigurationAssetReducer.d.ts +255 -0
- package/dist/configuration/pages/asset/repositories/ConfigurationAssetRepository.d.ts +36 -0
- package/dist/configuration/pages/asset/theme.d.ts +1 -0
- package/dist/index.esm.js +1461 -138
- package/dist/models/Asset.d.ts +2 -0
- package/package.json +4 -1
- package/.deepsource.toml +0 -4
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { AssetAPI } from "../models/AssetAPI";
|
|
2
|
+
export declare const ConfigurationAssetReducer: import("@reduxjs/toolkit").Slice<{
|
|
3
|
+
allAssetNodes: any;
|
|
4
|
+
dataToCreateAsset: AssetAPI;
|
|
5
|
+
allNodesLoading: boolean;
|
|
6
|
+
anchorPoint: any;
|
|
7
|
+
menuContextAssetId: number | undefined;
|
|
8
|
+
showContextMenu: boolean;
|
|
9
|
+
showCreateNewContextMenu: boolean;
|
|
10
|
+
assetTreeId: number | null;
|
|
11
|
+
assetTreeName: string | null;
|
|
12
|
+
assetCodes: any;
|
|
13
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
14
|
+
}, {
|
|
15
|
+
setAllAssetNodes(state: import("immer/dist/internal").WritableDraft<{
|
|
16
|
+
allAssetNodes: any;
|
|
17
|
+
dataToCreateAsset: AssetAPI;
|
|
18
|
+
allNodesLoading: boolean;
|
|
19
|
+
anchorPoint: any;
|
|
20
|
+
menuContextAssetId: number | undefined;
|
|
21
|
+
showContextMenu: boolean;
|
|
22
|
+
showCreateNewContextMenu: boolean;
|
|
23
|
+
assetTreeId: number | null;
|
|
24
|
+
assetTreeName: string | null;
|
|
25
|
+
assetCodes: any;
|
|
26
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
27
|
+
}>, { payload }: {
|
|
28
|
+
payload: any;
|
|
29
|
+
type: string;
|
|
30
|
+
}): void;
|
|
31
|
+
seAllNodesLoading(state: import("immer/dist/internal").WritableDraft<{
|
|
32
|
+
allAssetNodes: any;
|
|
33
|
+
dataToCreateAsset: AssetAPI;
|
|
34
|
+
allNodesLoading: boolean;
|
|
35
|
+
anchorPoint: any;
|
|
36
|
+
menuContextAssetId: number | undefined;
|
|
37
|
+
showContextMenu: boolean;
|
|
38
|
+
showCreateNewContextMenu: boolean;
|
|
39
|
+
assetTreeId: number | null;
|
|
40
|
+
assetTreeName: string | null;
|
|
41
|
+
assetCodes: any;
|
|
42
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
43
|
+
}>, { payload }: {
|
|
44
|
+
payload: any;
|
|
45
|
+
type: string;
|
|
46
|
+
}): void;
|
|
47
|
+
setAnchorPointX(state: import("immer/dist/internal").WritableDraft<{
|
|
48
|
+
allAssetNodes: any;
|
|
49
|
+
dataToCreateAsset: AssetAPI;
|
|
50
|
+
allNodesLoading: boolean;
|
|
51
|
+
anchorPoint: any;
|
|
52
|
+
menuContextAssetId: number | undefined;
|
|
53
|
+
showContextMenu: boolean;
|
|
54
|
+
showCreateNewContextMenu: boolean;
|
|
55
|
+
assetTreeId: number | null;
|
|
56
|
+
assetTreeName: string | null;
|
|
57
|
+
assetCodes: any;
|
|
58
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
59
|
+
}>, { payload }: {
|
|
60
|
+
payload: any;
|
|
61
|
+
type: string;
|
|
62
|
+
}): void;
|
|
63
|
+
setAnchorPointY(state: import("immer/dist/internal").WritableDraft<{
|
|
64
|
+
allAssetNodes: any;
|
|
65
|
+
dataToCreateAsset: AssetAPI;
|
|
66
|
+
allNodesLoading: boolean;
|
|
67
|
+
anchorPoint: any;
|
|
68
|
+
menuContextAssetId: number | undefined;
|
|
69
|
+
showContextMenu: boolean;
|
|
70
|
+
showCreateNewContextMenu: boolean;
|
|
71
|
+
assetTreeId: number | null;
|
|
72
|
+
assetTreeName: string | null;
|
|
73
|
+
assetCodes: any;
|
|
74
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
75
|
+
}>, { payload }: {
|
|
76
|
+
payload: any;
|
|
77
|
+
type: string;
|
|
78
|
+
}): void;
|
|
79
|
+
setMenuContextAssetId(state: import("immer/dist/internal").WritableDraft<{
|
|
80
|
+
allAssetNodes: any;
|
|
81
|
+
dataToCreateAsset: AssetAPI;
|
|
82
|
+
allNodesLoading: boolean;
|
|
83
|
+
anchorPoint: any;
|
|
84
|
+
menuContextAssetId: number | undefined;
|
|
85
|
+
showContextMenu: boolean;
|
|
86
|
+
showCreateNewContextMenu: boolean;
|
|
87
|
+
assetTreeId: number | null;
|
|
88
|
+
assetTreeName: string | null;
|
|
89
|
+
assetCodes: any;
|
|
90
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
91
|
+
}>, { payload }: {
|
|
92
|
+
payload: any;
|
|
93
|
+
type: string;
|
|
94
|
+
}): void;
|
|
95
|
+
setShowContextMenu(state: import("immer/dist/internal").WritableDraft<{
|
|
96
|
+
allAssetNodes: any;
|
|
97
|
+
dataToCreateAsset: AssetAPI;
|
|
98
|
+
allNodesLoading: boolean;
|
|
99
|
+
anchorPoint: any;
|
|
100
|
+
menuContextAssetId: number | undefined;
|
|
101
|
+
showContextMenu: boolean;
|
|
102
|
+
showCreateNewContextMenu: boolean;
|
|
103
|
+
assetTreeId: number | null;
|
|
104
|
+
assetTreeName: string | null;
|
|
105
|
+
assetCodes: any;
|
|
106
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
107
|
+
}>, { payload }: {
|
|
108
|
+
payload: any;
|
|
109
|
+
type: string;
|
|
110
|
+
}): void;
|
|
111
|
+
setShowCreateNewContextMenu(state: import("immer/dist/internal").WritableDraft<{
|
|
112
|
+
allAssetNodes: any;
|
|
113
|
+
dataToCreateAsset: AssetAPI;
|
|
114
|
+
allNodesLoading: boolean;
|
|
115
|
+
anchorPoint: any;
|
|
116
|
+
menuContextAssetId: number | undefined;
|
|
117
|
+
showContextMenu: boolean;
|
|
118
|
+
showCreateNewContextMenu: boolean;
|
|
119
|
+
assetTreeId: number | null;
|
|
120
|
+
assetTreeName: string | null;
|
|
121
|
+
assetCodes: any;
|
|
122
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
123
|
+
}>, { payload }: {
|
|
124
|
+
payload: any;
|
|
125
|
+
type: string;
|
|
126
|
+
}): void;
|
|
127
|
+
setDataToCreateAsset(state: import("immer/dist/internal").WritableDraft<{
|
|
128
|
+
allAssetNodes: any;
|
|
129
|
+
dataToCreateAsset: AssetAPI;
|
|
130
|
+
allNodesLoading: boolean;
|
|
131
|
+
anchorPoint: any;
|
|
132
|
+
menuContextAssetId: number | undefined;
|
|
133
|
+
showContextMenu: boolean;
|
|
134
|
+
showCreateNewContextMenu: boolean;
|
|
135
|
+
assetTreeId: number | null;
|
|
136
|
+
assetTreeName: string | null;
|
|
137
|
+
assetCodes: any;
|
|
138
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
139
|
+
}>, { payload }: {
|
|
140
|
+
payload: any;
|
|
141
|
+
type: string;
|
|
142
|
+
}): void;
|
|
143
|
+
setAssetNameToCreateAsset(state: import("immer/dist/internal").WritableDraft<{
|
|
144
|
+
allAssetNodes: any;
|
|
145
|
+
dataToCreateAsset: AssetAPI;
|
|
146
|
+
allNodesLoading: boolean;
|
|
147
|
+
anchorPoint: any;
|
|
148
|
+
menuContextAssetId: number | undefined;
|
|
149
|
+
showContextMenu: boolean;
|
|
150
|
+
showCreateNewContextMenu: boolean;
|
|
151
|
+
assetTreeId: number | null;
|
|
152
|
+
assetTreeName: string | null;
|
|
153
|
+
assetCodes: any;
|
|
154
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
155
|
+
}>, { payload }: {
|
|
156
|
+
payload: any;
|
|
157
|
+
type: string;
|
|
158
|
+
}): void;
|
|
159
|
+
setAssetParentAssetIdToCreateAsset(state: import("immer/dist/internal").WritableDraft<{
|
|
160
|
+
allAssetNodes: any;
|
|
161
|
+
dataToCreateAsset: AssetAPI;
|
|
162
|
+
allNodesLoading: boolean;
|
|
163
|
+
anchorPoint: any;
|
|
164
|
+
menuContextAssetId: number | undefined;
|
|
165
|
+
showContextMenu: boolean;
|
|
166
|
+
showCreateNewContextMenu: boolean;
|
|
167
|
+
assetTreeId: number | null;
|
|
168
|
+
assetTreeName: string | null;
|
|
169
|
+
assetCodes: any;
|
|
170
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
171
|
+
}>, { payload }: {
|
|
172
|
+
payload: any;
|
|
173
|
+
type: string;
|
|
174
|
+
}): void;
|
|
175
|
+
setAssetTreeId(state: import("immer/dist/internal").WritableDraft<{
|
|
176
|
+
allAssetNodes: any;
|
|
177
|
+
dataToCreateAsset: AssetAPI;
|
|
178
|
+
allNodesLoading: boolean;
|
|
179
|
+
anchorPoint: any;
|
|
180
|
+
menuContextAssetId: number | undefined;
|
|
181
|
+
showContextMenu: boolean;
|
|
182
|
+
showCreateNewContextMenu: boolean;
|
|
183
|
+
assetTreeId: number | null;
|
|
184
|
+
assetTreeName: string | null;
|
|
185
|
+
assetCodes: any;
|
|
186
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
187
|
+
}>, { payload }: {
|
|
188
|
+
payload: any;
|
|
189
|
+
type: string;
|
|
190
|
+
}): void;
|
|
191
|
+
setAssetTreeName(state: import("immer/dist/internal").WritableDraft<{
|
|
192
|
+
allAssetNodes: any;
|
|
193
|
+
dataToCreateAsset: AssetAPI;
|
|
194
|
+
allNodesLoading: boolean;
|
|
195
|
+
anchorPoint: any;
|
|
196
|
+
menuContextAssetId: number | undefined;
|
|
197
|
+
showContextMenu: boolean;
|
|
198
|
+
showCreateNewContextMenu: boolean;
|
|
199
|
+
assetTreeId: number | null;
|
|
200
|
+
assetTreeName: string | null;
|
|
201
|
+
assetCodes: any;
|
|
202
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
203
|
+
}>, { payload }: {
|
|
204
|
+
payload: any;
|
|
205
|
+
type: string;
|
|
206
|
+
}): void;
|
|
207
|
+
setAssetCodes(state: import("immer/dist/internal").WritableDraft<{
|
|
208
|
+
allAssetNodes: any;
|
|
209
|
+
dataToCreateAsset: AssetAPI;
|
|
210
|
+
allNodesLoading: boolean;
|
|
211
|
+
anchorPoint: any;
|
|
212
|
+
menuContextAssetId: number | undefined;
|
|
213
|
+
showContextMenu: boolean;
|
|
214
|
+
showCreateNewContextMenu: boolean;
|
|
215
|
+
assetTreeId: number | null;
|
|
216
|
+
assetTreeName: string | null;
|
|
217
|
+
assetCodes: any;
|
|
218
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
219
|
+
}>, { payload }: {
|
|
220
|
+
payload: any;
|
|
221
|
+
type: string;
|
|
222
|
+
}): void;
|
|
223
|
+
setAssetNodeSelectedInTree(state: import("immer/dist/internal").WritableDraft<{
|
|
224
|
+
allAssetNodes: any;
|
|
225
|
+
dataToCreateAsset: AssetAPI;
|
|
226
|
+
allNodesLoading: boolean;
|
|
227
|
+
anchorPoint: any;
|
|
228
|
+
menuContextAssetId: number | undefined;
|
|
229
|
+
showContextMenu: boolean;
|
|
230
|
+
showCreateNewContextMenu: boolean;
|
|
231
|
+
assetTreeId: number | null;
|
|
232
|
+
assetTreeName: string | null;
|
|
233
|
+
assetCodes: any;
|
|
234
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
235
|
+
}>, { payload }: {
|
|
236
|
+
payload: any;
|
|
237
|
+
type: string;
|
|
238
|
+
}): void;
|
|
239
|
+
setParentAssetNameInNodeSelectedInTree(state: import("immer/dist/internal").WritableDraft<{
|
|
240
|
+
allAssetNodes: any;
|
|
241
|
+
dataToCreateAsset: AssetAPI;
|
|
242
|
+
allNodesLoading: boolean;
|
|
243
|
+
anchorPoint: any;
|
|
244
|
+
menuContextAssetId: number | undefined;
|
|
245
|
+
showContextMenu: boolean;
|
|
246
|
+
showCreateNewContextMenu: boolean;
|
|
247
|
+
assetTreeId: number | null;
|
|
248
|
+
assetTreeName: string | null;
|
|
249
|
+
assetCodes: any;
|
|
250
|
+
assetNodeSelectedInTree: AssetAPI;
|
|
251
|
+
}>, { payload }: {
|
|
252
|
+
payload: any;
|
|
253
|
+
type: string;
|
|
254
|
+
}): void;
|
|
255
|
+
}, "__">;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const updateAsset: (AssetId: number, ParentAssetId: number) => Promise<{
|
|
2
|
+
ok: boolean;
|
|
3
|
+
data: any;
|
|
4
|
+
message?: undefined;
|
|
5
|
+
} | {
|
|
6
|
+
ok: boolean;
|
|
7
|
+
message: any;
|
|
8
|
+
data?: undefined;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const insertAsset: (AssetName: string, ParentAssetId: number, IsAsset: boolean, CanBeDefaultAsset: boolean | null) => Promise<{
|
|
11
|
+
ok: boolean;
|
|
12
|
+
data: any;
|
|
13
|
+
message?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
ok: boolean;
|
|
16
|
+
message: any;
|
|
17
|
+
data?: undefined;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const UpdateAssetData: (AssetId: number, AssetName: string, ParentAssetId: number, IsAsset: boolean, CanBeDefaultAsset: boolean | null) => Promise<{
|
|
20
|
+
ok: boolean;
|
|
21
|
+
data: any;
|
|
22
|
+
message?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
ok: boolean;
|
|
25
|
+
message: any;
|
|
26
|
+
data?: undefined;
|
|
27
|
+
}>;
|
|
28
|
+
export declare const removeAsset: (AssetId: number, IsActive: boolean) => Promise<{
|
|
29
|
+
ok: boolean;
|
|
30
|
+
data: any;
|
|
31
|
+
message?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
ok: boolean;
|
|
34
|
+
message: any;
|
|
35
|
+
data?: undefined;
|
|
36
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const theme: (props?: any) => import("@material-ui/styles").ClassNameMap<"components">;
|