@dexteel/mesf-core 7.5.0 → 7.5.2

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.
@@ -1,10 +1,3 @@
1
1
  import React from "react";
2
- import { Entry } from "./models/Entry";
3
- type useEntriesProps = {
4
- shiftId?: number;
5
- assetId?: number | null;
6
- };
7
- export declare const useEntries: ({ shiftId, assetId }: useEntriesProps) => import("@tanstack/react-query").UseQueryResult<Entry[], Error>;
8
- export declare const routeLogbookEntry = "/logbook/entry";
2
+ export { useEntries, routeLogbookEntry } from "./hooks/useEntries";
9
3
  export declare const LogbookPage: () => React.JSX.Element;
10
- export {};
@@ -0,0 +1,8 @@
1
+ import { Entry } from "../models/Entry";
2
+ type UseEntriesProps = {
3
+ shiftId?: number;
4
+ assetId?: number | null;
5
+ };
6
+ export declare const useEntries: ({ shiftId, assetId }: UseEntriesProps) => import("@tanstack/react-query").UseQueryResult<Entry[], Error>;
7
+ export declare const routeLogbookEntry = "/logbook/entry";
8
+ export {};
@@ -1,11 +1,3 @@
1
1
  import React from "react";
2
- import { Entry } from "../entry/models/Entry";
3
- type useEntriesProps = {
4
- startShiftId: number | null;
5
- endShiftId: number | null;
6
- assetId: number | null;
7
- };
8
- export declare const useEntriesReport: ({ startShiftId, endShiftId, assetId, }: useEntriesProps) => import("@tanstack/react-query").UseQueryResult<Entry[], Error>;
9
- export declare const routeLogbookReport = "/logbook/report";
2
+ export { useEntriesReport, routeLogbookReport } from "./hooks/useEntriesReport";
10
3
  export declare const LogbookPage: () => React.JSX.Element;
11
- export {};
@@ -0,0 +1,9 @@
1
+ import { Entry } from "../../entry/models/Entry";
2
+ type UseEntriesReportProps = {
3
+ startShiftId: number | null;
4
+ endShiftId: number | null;
5
+ assetId: number | null;
6
+ };
7
+ export declare const useEntriesReport: ({ startShiftId, endShiftId, assetId, }: UseEntriesReportProps) => import("@tanstack/react-query").UseQueryResult<Entry[], Error>;
8
+ export declare const routeLogbookReport = "/logbook/report";
9
+ export {};
@@ -1,17 +1,3 @@
1
1
  import React from "react";
2
- import { TagFromTree } from "./components/chart/models/TagsTree.model";
3
- import { View, ViewTagDataSet } from "./components/chart/models/TrendingModels";
4
- export declare const searchViews: ({ autoRefresh, }: {
5
- autoRefresh?: boolean;
6
- }) => import("@tanstack/react-query").UseQueryResult<View[], Error>;
7
- export declare const searchViewTags: ({ viewId }: {
8
- viewId: number | null;
9
- }) => import("@tanstack/react-query").UseQueryResult<any[], Error>;
10
- export declare const searchTagsTree: () => import("@tanstack/react-query").UseQueryResult<TagFromTree[], Error>;
11
- export declare const searchSeries: ({ start, end, tagIds, autoRefresh, }: {
12
- start: number;
13
- end: number;
14
- tagIds: number[];
15
- autoRefresh?: boolean;
16
- }) => import("@tanstack/react-query").UseQueryResult<ViewTagDataSet[][], Error>;
2
+ export { useSearchViews as searchViews, useSearchViewTags as searchViewTags, useSearchTagsTree as searchTagsTree, useSearchSeries as searchSeries, } from "./hooks/useTrendingQueries";
17
3
  export declare const TrendingsPage: () => React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { TagFromTree } from "../components/chart/models/TagsTree.model";
2
+ import { View, ViewTagDataSet } from "../components/chart/models/TrendingModels";
3
+ export declare const useSearchViews: ({ autoRefresh, }: {
4
+ autoRefresh?: boolean;
5
+ }) => import("@tanstack/react-query").UseQueryResult<View[], Error>;
6
+ export declare const useSearchViewTags: ({ viewId }: {
7
+ viewId: number | null;
8
+ }) => import("@tanstack/react-query").UseQueryResult<any[], Error>;
9
+ export declare const useSearchTagsTree: () => import("@tanstack/react-query").UseQueryResult<TagFromTree[], Error>;
10
+ export declare const useSearchSeries: ({ start, end, tagIds, autoRefresh, }: {
11
+ start: number;
12
+ end: number;
13
+ tagIds: number[];
14
+ autoRefresh?: boolean;
15
+ }) => import("@tanstack/react-query").UseQueryResult<ViewTagDataSet[][], Error>;
package/opencode.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://opencode.ai/config.json",
3
+ "mcp": {
4
+ "context7": {
5
+ "type": "remote",
6
+ "url": "https://mcp.context7.com/mcp",
7
+ "headers": {
8
+ "CONTEXT7_API_KEY":"ctx7sk-efd233a5-f9b8-45e2-87b2-e5c1f9f04d1f"
9
+ }
10
+ }
11
+ }
12
+ }
package/package.json CHANGED
@@ -1,126 +1,126 @@
1
1
  {
2
- "name": "@dexteel/mesf-core",
3
- "version": "7.5.0",
4
- "author": "Dexteel Team",
5
- "module": "dist/index.esm.js",
6
- "typings": "dist/index.d.ts",
7
- "publishConfig": {
8
- "access": "public"
9
- },
10
- "scripts": {
11
- "prepublishOnly": "rimraf -rf ./dist && npm run build",
12
- "ci": "rimraf -rf ./dist && rollup -c",
13
- "build": "rimraf -rf ./dist && rollup -c",
14
- "watch": "cross-env rollup -wc",
15
- "start": "cross-env rollup -wc",
16
- "prepare": "husky",
17
- "type-check": "npx --yes -p typescript tsc --noEmit"
18
- },
19
- "license": "ISC",
20
- "devDependencies": {
21
- "@babel/cli": "^7.17.6",
22
- "@babel/core": "^7.17.5",
23
- "@babel/plugin-transform-runtime": "^7.17.0",
24
- "@babel/preset-env": "^7.16.11",
25
- "@babel/preset-react": "^7.16.7",
26
- "@babel/preset-typescript": "^7.16.7",
27
- "@babel/runtime": "^7.17.2",
28
- "@biomejs/biome": "^1.8.3",
29
- "@react-spring/types": "^9.7.3",
30
- "@reduxjs/toolkit": "^1.8.1",
31
- "@rollup/plugin-babel": "^5.3.1",
32
- "@rollup/plugin-typescript": "^8.3.1",
33
- "@tanstack/react-query": "^4.41.0",
34
- "@types/lodash-es": "^4.17.6",
35
- "@types/markdown-it": "^14.1.2",
36
- "@types/node": "^12.20.46",
37
- "@types/react": "^18.3.26",
38
- "autoprefixer": "^10.4.2",
39
- "echarts": "^6.0.0",
40
- "echarts-for-react": "^3.0.4",
41
- "husky": "^9.1.4",
42
- "moment": "^2.29.3",
43
- "prop-types": "^15.8.1",
44
- "react": "^18.3.1",
45
- "react-dom": "^18.3.1",
46
- "react-hook-form": "^7.20.2",
47
- "react-router-dom": "^6.30.1",
48
- "react-spring": "^9.4.3",
49
- "rimraf": "^3.0.2",
50
- "rollup": "^2.79.0",
51
- "rollup-plugin-node-resolve": "^5.2.0",
52
- "rollup-plugin-sourcemaps": "^0.6.3",
53
- "rollup-plugin-styles": "^3.14.1",
54
- "rollup-plugin-terser": "^7.0.2",
55
- "rollup-plugin-typescript2": "^0.31.2",
56
- "tslib": "^2.3.1",
57
- "typescript": "^5.8.3",
58
- "use-complex-state": "^1.1.0"
59
- },
60
- "peerDependencies": {
61
- "@emotion/react": "^11.14.0",
62
- "@emotion/styled": "^11.14.1",
63
- "@mui/icons-material": "latest-v6",
64
- "@mui/lab": "latest-v6",
65
- "@mui/material": "latest-v6",
66
- "@mui/styles": "latest-v6",
67
- "@mui/x-data-grid": "latest-v7",
68
- "@mui/x-tree-view": "latest-v7",
69
- "@mui/x-date-pickers": "latest-v7",
70
- "@reduxjs/toolkit": "^1.6.2",
71
- "ag-grid-community": "^33.3.1",
72
- "ag-grid-enterprise": "^33.3.1",
73
- "ag-grid-react": "^33.3.1",
74
- "moment": "^2.29.1",
75
- "prop-types": "^15.8.1",
76
- "react": "^18.3.1",
77
- "react-dom": "^18.3.1",
78
- "react-router-dom": "^6.30.1",
79
- "react-spring": "^9.4.3",
80
- "rimraf": "^3.0.2",
81
- "string-to-color": "^2.2.2",
82
- "use-complex-state": "^1.1.0"
83
- },
84
- "browserslist": {
85
- "production": [
86
- ">0.2%",
87
- "not dead",
88
- "not op_mini all"
89
- ],
90
- "development": [
91
- "last 1 chrome version",
92
- "last 1 firefox version",
93
- "last 1 safari version"
94
- ]
95
- },
96
- "dependencies": {
97
- "@azure/msal-browser": "^2.18.0",
98
- "@azure/msal-react": "^1.1.0",
99
- "@date-io/moment": "^1.3.13",
100
- "@fortawesome/fontawesome-free": "^6.7.2",
101
- "@microsoft/signalr": "^8.0.7",
102
- "@minoru/react-dnd-treeview": "3.4.4",
103
- "axios": "^1.3.5",
104
- "chart.js": "^4.4.1",
105
- "chartjs-adapter-moment": "^1.0.1",
106
- "chartjs-plugin-zoom": "^2.0.1",
107
- "cross-env": "^7.0.3",
108
- "date-fns-tz": "^3.1.3",
109
- "lodash-es": "^4.17.21",
110
- "markdown-it": "^13.0.2",
111
- "moment-timezone": "^0.5.45",
112
- "react-chartjs-2": "^5.2.0",
113
- "react-dnd": "^16.0.1",
114
- "react-dropzone": "^14.3.8",
115
- "react-helmet-async": "^2.0.5",
116
- "react-is": "^18.3.1",
117
- "react-markdown-editor-lite": "^1.3.4",
118
- "string-to-color": "^2.2.2",
119
- "windows-iana": "^5.1.0"
120
- },
121
- "repository": {
122
- "type": "git",
123
- "url": "https://github.com/dexteel/mesf-core-frontend"
124
- },
125
- "description": ""
2
+ "name": "@dexteel/mesf-core",
3
+ "version": "7.5.2",
4
+ "author": "Dexteel Team",
5
+ "module": "dist/index.esm.js",
6
+ "typings": "dist/index.d.ts",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
10
+ "scripts": {
11
+ "prepublishOnly": "rimraf -rf ./dist && npm run build",
12
+ "ci": "rimraf -rf ./dist && rollup -c",
13
+ "build": "rimraf -rf ./dist && rollup -c",
14
+ "watch": "cross-env rollup -wc",
15
+ "start": "cross-env rollup -wc",
16
+ "prepare": "husky",
17
+ "type-check": "npx --yes -p typescript tsc --noEmit"
18
+ },
19
+ "license": "ISC",
20
+ "devDependencies": {
21
+ "@babel/cli": "^7.17.6",
22
+ "@babel/core": "^7.17.5",
23
+ "@babel/plugin-transform-runtime": "^7.17.0",
24
+ "@babel/preset-env": "^7.16.11",
25
+ "@babel/preset-react": "^7.16.7",
26
+ "@babel/preset-typescript": "^7.16.7",
27
+ "@babel/runtime": "^7.17.2",
28
+ "@biomejs/biome": "^1.8.3",
29
+ "@react-spring/types": "^9.7.3",
30
+ "@reduxjs/toolkit": "^1.8.1",
31
+ "@rollup/plugin-babel": "^5.3.1",
32
+ "@rollup/plugin-typescript": "^8.3.1",
33
+ "@tanstack/react-query": "^4.41.0",
34
+ "@types/lodash-es": "^4.17.6",
35
+ "@types/markdown-it": "^14.1.2",
36
+ "@types/node": "^12.20.46",
37
+ "@types/react": "^18.3.26",
38
+ "autoprefixer": "^10.4.2",
39
+ "echarts": "^6.0.0",
40
+ "echarts-for-react": "^3.0.4",
41
+ "husky": "^9.1.4",
42
+ "moment": "^2.29.3",
43
+ "prop-types": "^15.8.1",
44
+ "react": "^18.3.1",
45
+ "react-dom": "^18.3.1",
46
+ "react-hook-form": "^7.20.2",
47
+ "react-router-dom": "^6.30.1",
48
+ "@react-spring/web": "^9.7.5",
49
+ "rimraf": "^3.0.2",
50
+ "rollup": "^2.79.0",
51
+ "rollup-plugin-node-resolve": "^5.2.0",
52
+ "rollup-plugin-sourcemaps": "^0.6.3",
53
+ "rollup-plugin-styles": "^3.14.1",
54
+ "rollup-plugin-terser": "^7.0.2",
55
+ "rollup-plugin-typescript2": "^0.31.2",
56
+ "tslib": "^2.3.1",
57
+ "typescript": "^5.8.3",
58
+ "use-complex-state": "^1.1.0"
59
+ },
60
+ "peerDependencies": {
61
+ "date-fns": "^3.0.0 || ^4.0.0",
62
+ "@emotion/react": "^11.14.0",
63
+ "@emotion/styled": "^11.14.1",
64
+ "@mui/icons-material": "latest-v6",
65
+ "@mui/lab": "latest-v6",
66
+ "@mui/material": "latest-v6",
67
+ "@mui/styles": "latest-v6",
68
+ "@mui/x-data-grid": "latest-v7",
69
+ "@mui/x-tree-view": "latest-v7",
70
+ "@mui/x-date-pickers": "latest-v7",
71
+ "@reduxjs/toolkit": "^1.6.2",
72
+ "ag-grid-community": "^33.3.1",
73
+ "ag-grid-enterprise": "^33.3.1",
74
+ "ag-grid-react": "^33.3.1",
75
+ "moment": "^2.29.1",
76
+ "prop-types": "^15.8.1",
77
+ "react": "^18.3.1",
78
+ "react-dom": "^18.3.1",
79
+ "react-router-dom": "^6.30.1",
80
+ "@react-spring/web": "^9.7.5",
81
+ "rimraf": "^3.0.2",
82
+ "string-to-color": "^2.2.2",
83
+ "use-complex-state": "^1.1.0"
84
+ },
85
+ "browserslist": {
86
+ "production": [
87
+ ">0.2%",
88
+ "not dead",
89
+ "not op_mini all"
90
+ ],
91
+ "development": [
92
+ "last 1 chrome version",
93
+ "last 1 firefox version",
94
+ "last 1 safari version"
95
+ ]
96
+ },
97
+ "dependencies": {
98
+ "@azure/msal-browser": "^2.18.0",
99
+ "@azure/msal-react": "^1.1.0",
100
+ "@date-io/moment": "^1.3.13",
101
+ "@microsoft/signalr": "^8.0.7",
102
+ "@minoru/react-dnd-treeview": "3.4.4",
103
+ "axios": "^1.3.5",
104
+ "chart.js": "^4.4.1",
105
+ "chartjs-adapter-moment": "^1.0.1",
106
+ "chartjs-plugin-zoom": "^2.0.1",
107
+ "cross-env": "^7.0.3",
108
+ "date-fns-tz": "^3.1.3",
109
+ "lodash-es": "^4.17.21",
110
+ "markdown-it": "^13.0.2",
111
+ "moment-timezone": "^0.5.45",
112
+ "react-chartjs-2": "^5.2.0",
113
+ "react-dnd": "^16.0.1",
114
+ "react-dropzone": "^14.3.8",
115
+ "react-helmet-async": "^2.0.5",
116
+ "react-is": "^18.3.1",
117
+ "react-markdown-editor-lite": "^1.3.4",
118
+ "string-to-color": "^2.2.2",
119
+ "windows-iana": "^5.1.0"
120
+ },
121
+ "repository": {
122
+ "type": "git",
123
+ "url": "https://github.com/dexteel/mesf-core-frontend"
124
+ },
125
+ "description": ""
126
126
  }