@ocelescope/management 0.1.2 → 0.5.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/dist/index.js +3 -3
- package/package.json +12 -13
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UploadSection, defineModule, defineModuleRoute, useDownloadFlatOCEL, useDownloadOCEL, useDownloadResource, useDownloadResourceAsPnml, useInvalidate } from "@ocelescope/core";
|
|
1
|
+
import { FullScreenUpload, UploadSection, defineModule, defineModuleRoute, useDownloadFlatOCEL, useDownloadOCEL, useDownloadResource, useDownloadResourceAsPnml, useInvalidate } from "@ocelescope/core";
|
|
2
2
|
import { ActionIcon, Badge, Button, Container, Group, Loader, Menu, MenuItem, Modal, Select, Stack, TextInput, Title, Tooltip } from "@mantine/core";
|
|
3
3
|
import { generateColor } from "@marko19907/string-to-color";
|
|
4
4
|
import { useDeleteOcel, useDeleteResource, useGetOcels, useGetResourceMeta, useGetSystemTasks, useObjectCounts, useRenameOcel, useRenameResource, useResources } from "@ocelescope/api-base";
|
|
@@ -144,7 +144,7 @@ const ResourceManagementTable = () => {
|
|
|
144
144
|
ocelId: exportOcelId,
|
|
145
145
|
onClose: () => setExportOcelId(void 0)
|
|
146
146
|
}, exportOcelId),
|
|
147
|
-
entities.length ? /* @__PURE__ */ jsx(DataTable, {
|
|
147
|
+
entities.length ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(FullScreenUpload, {}), /* @__PURE__ */ jsx(DataTable, {
|
|
148
148
|
withTableBorder: true,
|
|
149
149
|
borderRadius: "md",
|
|
150
150
|
idAccessor: "id",
|
|
@@ -279,7 +279,7 @@ const ResourceManagementTable = () => {
|
|
|
279
279
|
}
|
|
280
280
|
],
|
|
281
281
|
records: entities
|
|
282
|
-
}) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Title, {
|
|
282
|
+
})] }) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Title, {
|
|
283
283
|
size: "h3",
|
|
284
284
|
children: "Upload"
|
|
285
285
|
}), /* @__PURE__ */ jsx(UploadSection, {})] })
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocelescope/management",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"description": "A tool for managing Resources and OCEL",
|
|
6
6
|
"author": "Görkem-Emre Öztürk <goerkem.oeztuerk@rwth-aachen.de>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,24 +27,23 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@mantine/core": "^9.4.
|
|
31
|
-
"mantine-datatable": "^9.3.1",
|
|
30
|
+
"@mantine/core": "^9.4.2",
|
|
32
31
|
"@marko19907/string-to-color": "*",
|
|
33
32
|
"dayjs": "^1.11.19",
|
|
34
33
|
"lucide-react": "^1.0.0",
|
|
35
|
-
"
|
|
36
|
-
"react
|
|
37
|
-
"
|
|
38
|
-
"@ocelescope/
|
|
39
|
-
"@ocelescope/resources": "^0.
|
|
34
|
+
"mantine-datatable": "^9.4.0",
|
|
35
|
+
"react": "^19.2.7",
|
|
36
|
+
"react-dom": "^19.2.7",
|
|
37
|
+
"@ocelescope/api-base": "^0.5.0",
|
|
38
|
+
"@ocelescope/resources": "^0.5.0",
|
|
39
|
+
"@ocelescope/core": "^0.5.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@tsdown/css": "^0.22.
|
|
43
|
-
"@types/
|
|
44
|
-
"@types/
|
|
45
|
-
"@types/react": "^19.2.7",
|
|
42
|
+
"@tsdown/css": "^0.22.12",
|
|
43
|
+
"@types/node": "^26.1.1",
|
|
44
|
+
"@types/react": "^19.2.17",
|
|
46
45
|
"@types/react-dom": "^19.2.3",
|
|
47
|
-
"tsdown": "^0.22.
|
|
46
|
+
"tsdown": "^0.22.12",
|
|
48
47
|
"typescript": "^5.9.3"
|
|
49
48
|
},
|
|
50
49
|
"scripts": {
|