@ocelescope/exploration 0.8.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.
@@ -0,0 +1,4 @@
1
+ //#region src/index.d.ts
2
+ declare const _default: import("@ocelescope/core").ModuleDefinition;
3
+ //#endregion
4
+ export { _default as default };
package/dist/index.js ADDED
@@ -0,0 +1,29 @@
1
+ import { defineModule, defineModuleRoute, useCurrentOcel } from "@ocelescope/core";
2
+ import { ChartNoAxesCombinedIcon } from "lucide-react";
3
+ import { LoadingOverlay } from "@mantine/core";
4
+ import dynamic from "next/dynamic";
5
+ import { jsx } from "react/jsx-runtime";
6
+ //#region src/pages/dashboard.tsx
7
+ const Dashboard = dynamic(() => import("./Dashboard-BQ_EzP8N.js").then((module) => module.Dashboard), { ssr: false });
8
+ const DashboardPage = () => {
9
+ const { id } = useCurrentOcel();
10
+ return id ? /* @__PURE__ */ jsx(Dashboard, { ocelId: id }, id) : /* @__PURE__ */ jsx(LoadingOverlay, { visible: true });
11
+ };
12
+ var dashboard_default = defineModuleRoute({
13
+ component: DashboardPage,
14
+ label: "Dashboard",
15
+ name: "dashboard",
16
+ requiresOcel: true
17
+ });
18
+ //#endregion
19
+ //#region src/index.ts
20
+ var src_default = defineModule({
21
+ name: "exploration",
22
+ description: "Explore the active OCEL through configurable visualizations.",
23
+ label: "Exploration",
24
+ authors: [{ name: "Ocelescope contributors" }],
25
+ routes: [dashboard_default],
26
+ icon: ChartNoAxesCombinedIcon
27
+ });
28
+ //#endregion
29
+ export { src_default as default };
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@ocelescope/exploration",
3
+ "type": "module",
4
+ "version": "0.8.0",
5
+ "description": "Interactive analytical dashboards for OCEL data",
6
+ "license": "MIT",
7
+ "exports": {
8
+ ".": "./dist/index.js",
9
+ "./package.json": "./package.json"
10
+ },
11
+ "main": "./dist/index.js",
12
+ "module": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "peerDependencies": {
18
+ "@mantine/core": "^9.5.1",
19
+ "@ocelescope/api-base": "^0.8.0",
20
+ "@ocelescope/core": "^0.8.0",
21
+ "@r4pm/components": "^0.3.2",
22
+ "@tanstack/react-query": "^5.90.21",
23
+ "lucide-react": "^1.0.0",
24
+ "next": "16.3.2",
25
+ "react": "^19.3.0"
26
+ },
27
+ "devDependencies": {
28
+ "@types/node": "^26.6.1",
29
+ "@types/react": "^19.3.0",
30
+ "tsdown": "^0.23.0",
31
+ "typescript": "^6.0.3"
32
+ },
33
+ "scripts": {
34
+ "build": "tsdown",
35
+ "dev": "tsdown --watch ./src",
36
+ "typecheck": "tsc --noEmit"
37
+ }
38
+ }