@ocelescope/management 0.10.2 → 0.11.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.d.ts CHANGED
@@ -1,4 +1,2 @@
1
- //#region src/index.d.ts
2
1
  declare const _default: import("@ocelescope/core").ModuleDefinition;
3
- //#endregion
4
2
  export { _default as default };
package/dist/index.js CHANGED
@@ -10,12 +10,11 @@ import { memo, useCallback, useMemo, useState } from "react";
10
10
  import dayjs from "dayjs";
11
11
  import isBetween from "dayjs/plugin/isBetween.js";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
- //#region src/util/dayjs.ts
13
+ // src/util/dayjs.ts
14
14
  dayjs.extend(isBetween);
15
15
  var dayjs_default = dayjs;
16
16
  const formatDateTime = (dateString) => dayjs(dateString).format("YYYY-MM-DD HH:mm");
17
- //#endregion
18
- //#region src/components/EntityActionsMenu.tsx
17
+ // src/components/EntityActionsMenu.tsx
19
18
  const ocelExtensions = Object.values(DownloadOCELExt);
20
19
  const EntityActionsMenu = ({ entity, onRename, onInspect, onDownloadOcel, onExportAsXes, onDownloadResource, onDownloadResourceAsPnml, onDelete }) => {
21
20
  const { id, type, entityTypeName, isUploading } = entity;
@@ -85,8 +84,7 @@ const EntityActionsMenu = ({ entity, onRename, onInspect, onDownloadOcel, onExpo
85
84
  });
86
85
  };
87
86
  var EntityActionsMenu_default = memo(EntityActionsMenu);
88
- //#endregion
89
- //#region src/components/XESExportWindow.tsx
87
+ // src/components/XESExportWindow.tsx
90
88
  const XESExportWindow = ({ ocelId, onClose }) => {
91
89
  const { data: objectCounts } = useObjectCounts(ocelId ?? "", void 0, { query: { enabled: !!ocelId } });
92
90
  const [selectedObjectType, setSelectedObjectType] = useState(null);
@@ -116,8 +114,7 @@ const XESExportWindow = ({ ocelId, onClose }) => {
116
114
  })] })
117
115
  });
118
116
  };
119
- //#endregion
120
- //#region src/components/ResourceManagementTable.tsx
117
+ // src/components/ResourceManagementTable.tsx
121
118
  const ResourceManagementTable = () => {
122
119
  const { data: ocels = [] } = useGetOcels();
123
120
  const { data: resources = [] } = useResources();
@@ -377,8 +374,7 @@ const ResourceManagementTable = () => {
377
374
  }), /* @__PURE__ */ jsx(UploadSection, {})] })
378
375
  ] });
379
376
  };
380
- //#endregion
381
- //#region src/pages/ResourceManagementPage.tsx
377
+ // src/pages/ResourceManagementPage.tsx
382
378
  const ResourceManagementPage = ({ children }) => {
383
379
  return /* @__PURE__ */ jsx(Container, {
384
380
  h: "100%",
@@ -395,8 +391,7 @@ var ResourceManagementPage_default = defineModuleRoute({
395
391
  label: "Management",
396
392
  name: "management"
397
393
  });
398
- //#endregion
399
- //#region src/index.ts
394
+ // src/index.ts
400
395
  var src_default = defineModule({
401
396
  name: "management",
402
397
  description: "A tool for managing Resources and OCEL",
@@ -404,5 +399,4 @@ var src_default = defineModule({
404
399
  authors: [{ name: "Öztürk, Görkem-Emre" }],
405
400
  routes: [ResourceManagementPage_default]
406
401
  });
407
- //#endregion
408
402
  export { src_default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocelescope/management",
3
3
  "type": "module",
4
- "version": "0.10.2",
4
+ "version": "0.11.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,24 @@
27
27
  "access": "public"
28
28
  },
29
29
  "peerDependencies": {
30
- "@mantine/core": "^9.7.2",
31
- "@mantine/hooks": "^9.7.2",
30
+ "@mantine/core": "^9.7.4",
31
+ "@mantine/hooks": "^9.7.4",
32
32
  "@marko19907/string-to-color": "*",
33
- "@ocelescope/api-base": "^0.10.2",
34
- "@ocelescope/core": "^0.10.2",
35
- "@ocelescope/resources": "^0.10.2",
33
+ "@ocelescope/api-base": "^0.11.0",
34
+ "@ocelescope/core": "^0.11.0",
35
+ "@ocelescope/resources": "^0.11.0",
36
36
  "dayjs": "^1.11.23",
37
- "lucide-react": "^1.56.0",
37
+ "lucide-react": "^1.63.0",
38
38
  "mantine-datatable": "^9.4.0",
39
- "react": "^19.3.0",
40
- "react-dom": "^19.3.0"
39
+ "react": "^19.3.1",
40
+ "react-dom": "^19.3.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@tsdown/css": "^0.23.1",
44
- "@types/node": "^26.6.1",
43
+ "@tsdown/css": "^0.23.3",
44
+ "@types/node": "^26.6.5",
45
45
  "@types/react": "^19.3.0",
46
46
  "@types/react-dom": "^19.3.0",
47
- "tsdown": "^0.23.1",
47
+ "tsdown": "^0.23.3",
48
48
  "typescript": "^6.0.3"
49
49
  },
50
50
  "scripts": {