@ocelescope/plugin 0.10.1 → 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 +0 -2
- package/dist/index.js +9 -18
- package/package.json +15 -15
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
11
11
|
import Link from "next/link.js";
|
|
12
12
|
import { useHover } from "@mantine/hooks";
|
|
13
13
|
import { generateColor } from "@marko19907/string-to-color";
|
|
14
|
-
|
|
14
|
+
// src/components/Form/index.tsx
|
|
15
15
|
const compact = (record) => Object.fromEntries(Object.entries(record ?? {}).filter(([, value]) => !!value));
|
|
16
16
|
const PluginInput = ({ pluginId, method, onSuccess, autoShowFirstOutput, setAutoShowFirstOutput }) => {
|
|
17
17
|
const { mutate: runPlugin } = useRunPlugin({ mutation: { onSuccess } });
|
|
@@ -121,8 +121,7 @@ const PluginInput = ({ pluginId, method, onSuccess, autoShowFirstOutput, setAuto
|
|
|
121
121
|
})]
|
|
122
122
|
});
|
|
123
123
|
};
|
|
124
|
-
|
|
125
|
-
//#region src/components/PluginBreadcrumbs/PluginBreadcrumbs.tsx
|
|
124
|
+
// src/components/PluginBreadcrumbs/PluginBreadcrumbs.tsx
|
|
126
125
|
const PluginBreadcrumbs = () => {
|
|
127
126
|
const { query } = useRouter();
|
|
128
127
|
const { pluginId, methodName } = query;
|
|
@@ -177,8 +176,7 @@ const PluginBreadcrumbs = () => {
|
|
|
177
176
|
]
|
|
178
177
|
});
|
|
179
178
|
};
|
|
180
|
-
|
|
181
|
-
//#region src/pages/MethodPage.tsx
|
|
179
|
+
// src/pages/MethodPage.tsx
|
|
182
180
|
const MethodPage = ({ pluginId, methodName }) => {
|
|
183
181
|
const { data: pluginMethod } = useGetPluginMethod(pluginId, methodName);
|
|
184
182
|
const [currentTask, setCurrentTask] = useState();
|
|
@@ -227,8 +225,7 @@ const MethodPage = ({ pluginId, methodName }) => {
|
|
|
227
225
|
})
|
|
228
226
|
});
|
|
229
227
|
};
|
|
230
|
-
|
|
231
|
-
//#region src/components/LinkCard/LinkCard.tsx
|
|
228
|
+
// src/components/LinkCard/LinkCard.tsx
|
|
232
229
|
const INTERACTIVE_LAYER = {
|
|
233
230
|
position: "relative",
|
|
234
231
|
zIndex: 1
|
|
@@ -376,8 +373,7 @@ const MethodCard = ({ pluginId, method }) => {
|
|
|
376
373
|
]
|
|
377
374
|
});
|
|
378
375
|
};
|
|
379
|
-
|
|
380
|
-
//#region src/pages/PluginPage.tsx
|
|
376
|
+
// src/pages/PluginPage.tsx
|
|
381
377
|
const matchesSearch = (method, search) => [
|
|
382
378
|
method.name,
|
|
383
379
|
method.label,
|
|
@@ -458,8 +454,7 @@ const PluginPage = ({ pluginId }) => {
|
|
|
458
454
|
]
|
|
459
455
|
});
|
|
460
456
|
};
|
|
461
|
-
|
|
462
|
-
//#region src/components/PluginUploadSection/PluginUploadSection.tsx
|
|
457
|
+
// src/components/PluginUploadSection/PluginUploadSection.tsx
|
|
463
458
|
const PluginUploadSection = ({ onSuccess }) => {
|
|
464
459
|
const { mutateAsync: upload } = useUpload({ mutation: { onSuccess } });
|
|
465
460
|
return /* @__PURE__ */ jsx(FileDropzone, {
|
|
@@ -658,8 +653,7 @@ const UploadPluginCard = () => {
|
|
|
658
653
|
})
|
|
659
654
|
] });
|
|
660
655
|
};
|
|
661
|
-
|
|
662
|
-
//#region src/pages/PluginsOverview.tsx
|
|
656
|
+
// src/pages/PluginsOverview.tsx
|
|
663
657
|
const PluginsOverview = () => {
|
|
664
658
|
const { data: plugins } = usePlugins();
|
|
665
659
|
return /* @__PURE__ */ jsxs(Stack, {
|
|
@@ -724,8 +718,7 @@ const PluginsOverview = () => {
|
|
|
724
718
|
})]
|
|
725
719
|
});
|
|
726
720
|
};
|
|
727
|
-
|
|
728
|
-
//#region src/pages/index.tsx
|
|
721
|
+
// src/pages/index.tsx
|
|
729
722
|
const PluginRoute = () => {
|
|
730
723
|
const { query } = useRouter();
|
|
731
724
|
const { pluginId, methodName } = query;
|
|
@@ -743,8 +736,7 @@ var pages_default = defineModuleRoute({
|
|
|
743
736
|
label: "Plugins",
|
|
744
737
|
component: PluginRoute
|
|
745
738
|
});
|
|
746
|
-
|
|
747
|
-
//#region src/index.ts
|
|
739
|
+
// src/index.ts
|
|
748
740
|
var src_default = defineModule({
|
|
749
741
|
name: "plugins",
|
|
750
742
|
description: "Run process mining plugins inside ocelescope",
|
|
@@ -753,5 +745,4 @@ var src_default = defineModule({
|
|
|
753
745
|
routes: [pages_default],
|
|
754
746
|
icon: PuzzleIcon
|
|
755
747
|
});
|
|
756
|
-
//#endregion
|
|
757
748
|
export { src_default as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocelescope/plugin",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.11.0",
|
|
5
5
|
"description": "A module for inspections of OCELs",
|
|
6
6
|
"author": "Görkem-Emre Öztürk <goerkem.oeztuerk@rwth-aachen.de>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,29 +27,29 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@mantine/carousel": "^9.
|
|
31
|
-
"@mantine/core": "^9.
|
|
32
|
-
"@mantine/hooks": "^9.
|
|
30
|
+
"@mantine/carousel": "^9.7.4",
|
|
31
|
+
"@mantine/core": "^9.7.4",
|
|
32
|
+
"@mantine/hooks": "^9.7.4",
|
|
33
33
|
"@marko19907/string-to-color": "^1.0.2",
|
|
34
|
-
"@ocelescope/api-base": "^0.
|
|
35
|
-
"@ocelescope/core": "^0.
|
|
36
|
-
"@ocelescope/plugin-components": "^0.
|
|
37
|
-
"@ocelescope/resources": "^0.
|
|
34
|
+
"@ocelescope/api-base": "^0.11.0",
|
|
35
|
+
"@ocelescope/core": "^0.11.0",
|
|
36
|
+
"@ocelescope/plugin-components": "^0.11.0",
|
|
37
|
+
"@ocelescope/resources": "^0.11.0",
|
|
38
38
|
"embla-carousel": "^8.6.0",
|
|
39
39
|
"@rjsf/core": "^6.8.0",
|
|
40
40
|
"embla-carousel-react": "^8.6.0",
|
|
41
|
-
"lucide-react": "^1.
|
|
42
|
-
"next": "16.3
|
|
43
|
-
"react": "^19.3.
|
|
44
|
-
"react-dom": "^19.3.
|
|
45
|
-
"react-hook-form": "^7.
|
|
41
|
+
"lucide-react": "^1.63.0",
|
|
42
|
+
"next": "16.4.3",
|
|
43
|
+
"react": "^19.3.1",
|
|
44
|
+
"react-dom": "^19.3.1",
|
|
45
|
+
"react-hook-form": "^7.91.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/file-saver": "^2.0.7",
|
|
49
|
-
"@types/node": "^26.6.
|
|
49
|
+
"@types/node": "^26.6.5",
|
|
50
50
|
"@types/react": "^19.3.0",
|
|
51
51
|
"@types/react-dom": "^19.3.0",
|
|
52
|
-
"tsdown": "^0.23.
|
|
52
|
+
"tsdown": "^0.23.3",
|
|
53
53
|
"typescript": "^6.0.3"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|