@dexteel/mesf-core 4.17.0 → 4.19.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/.husky/pre-commit +14 -0
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +45 -0
- package/biome.json +11 -0
- package/dist/MESFMain.d.ts +1 -1
- package/dist/components/modals/modal.mesf.d.ts +1 -1
- package/dist/components/shared/buttons/button-with-loading.d.ts +1 -2
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomDragPreview.d.ts +1 -1
- package/dist/configuration/pages/asset/components/AssetConfiguration/CustomNode.d.ts +1 -1
- package/dist/configuration/pages/asset/components/AssetConfiguration/MultipleDragPreview.d.ts +1 -1
- package/dist/configuration/pages/asset/components/hooks/useAssetActions.d.ts +1 -1
- package/dist/configuration/pages/asset/context/ConfigurationAssetContext.d.ts +1 -1
- package/dist/configuration/pages/job/components/JobsTable/TableJobs.d.ts +6 -1
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsOptionsFunctions.d.ts +10 -0
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsTableData.d.ts +3 -3
- package/dist/configuration/pages/job/context/JobsContext.d.ts +1 -1
- package/dist/configuration/pages/log/components/LogsTable/customHooks/useLogsOptionsFunctions.d.ts +11 -0
- package/dist/configuration/pages/log/context/LogsContext.d.ts +1 -1
- package/dist/configuration/pages/profiles/components/Delete/DeleteProfile.d.ts +2 -2
- package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useProfilesOptionsFunctions.d.ts +12 -0
- package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useTableData.d.ts +4 -4
- package/dist/configuration/pages/profiles/context/ProfileContext.d.ts +1 -1
- package/dist/configuration/pages/profiles/index.d.ts +2 -2
- package/dist/configuration/pages/shifCrew/components/customHooks/useShiftsOptionsFunctions.d.ts +11 -0
- package/dist/configuration/pages/shifCrew/components/customHooks/useTableShift.d.ts +2 -1
- package/dist/configuration/pages/shifCrew/context/ShiftsCrewsContext.d.ts +1 -1
- package/dist/configuration/pages/users/components/Delete/DeleteUser.d.ts +2 -2
- package/dist/configuration/pages/users/components/EditUser/EditUser.d.ts +2 -2
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useTableData.d.ts +3 -4
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useUsersOptionsFunctions.d.ts +13 -0
- package/dist/configuration/pages/users/components/common/AuthTypeSelector.d.ts +2 -1
- package/dist/configuration/pages/users/components/common/ProfilesPicker.d.ts +2 -1
- package/dist/configuration/pages/users/context/UsersContext.d.ts +1 -1
- package/dist/context/UTLSettingContext.d.ts +1 -1
- package/dist/context/assetContext.d.ts +1 -1
- package/dist/context/userContext.d.ts +1 -1
- package/dist/controls/alert.d.ts +1 -1
- package/dist/controls/charts/genericChart.d.ts +1 -1
- package/dist/controls/contextMenu/ContextMenu.d.ts +2 -0
- package/dist/controls/contextMenu/index.d.ts +4 -0
- package/dist/controls/contextMenu/models/MenuOptionType.d.ts +10 -0
- package/dist/controls/contextMenu/styles/ContextMenuStyles.d.ts +1 -0
- package/dist/controls/contextMenu/useContextMenuMESF.d.ts +22 -0
- package/dist/controls/filters/TreePickerControl.d.ts +11 -0
- package/dist/controls/filters/TreePickerControlV2.d.ts +13 -0
- package/dist/controls/filters/dialogFilter.d.ts +1 -1
- package/dist/controls/filters/filters.d.ts +2 -9
- package/dist/controls/index.d.ts +2 -1
- package/dist/controls/panels.d.ts +1 -1
- package/dist/controls/shift-navigator/context/ShiftNavigatorProvider.d.ts +1 -1
- package/dist/controls/shift-navigator/hook/useShiftNavigator.d.ts +1 -1
- package/dist/controls/shift-navigator/index.d.ts +5 -5
- package/dist/controls/tables/dataGrid.d.ts +1 -1
- package/dist/hooks/useSearchUTLSetting.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3579 -2989
- package/dist/index.esm.js.map +1 -1
- package/dist/pages/trendings/components/chart/TableComponent.d.ts +4 -4
- package/dist/pages/trendings/components/chart/components/CellComponent.d.ts +3 -3
- package/dist/pages/trendings/components/chart/components/ColorPicker.d.ts +1 -1
- package/dist/pages/trendings/components/chart/components/DraggableLineControl.d.ts +2 -2
- package/dist/pages/trendings/components/chart/components/modals/deleteViewModal/DeleteViewModal.d.ts +2 -2
- package/dist/pages/trendings/components/chart/components/modals/editViewModal/EditViewModal.d.ts +2 -2
- package/dist/pages/trendings/components/chart/components/modals/loadView/LoadViewModal.d.ts +1 -1
- package/dist/pages/trendings/components/chart/components/modals/saveAsView/SaveAsViewModal.d.ts +1 -1
- package/dist/pages/trendings/components/chart/components/modals/saveView/SaveViewModal.d.ts +1 -1
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/ContextMenu.d.ts +4 -4
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/NewFolder/NewFolder.d.ts +4 -4
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/ContextMenu/RemoveFolder/RemoveFolder.d.ts +4 -4
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagFolderCustomNode.d.ts +3 -3
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagSelectionModal.d.ts +1 -1
- package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagsTreeModal.d.ts +2 -2
- package/dist/pages/trendings/components/chart/context/TrendingContext.d.ts +1 -1
- package/dist/pages/trendings/components/chart/hooks/useGetVerticalLinePlugin.d.ts +1 -1
- package/dist/pages/trendings/components/chart/hooks/useTagsDataTable.d.ts +1 -1
- package/dist/pages/trendings/components/chart/hooks/useUpdateCursorData.d.ts +1 -1
- package/dist/pages/trendings/components/chart/hooks/useXAxisDatePlugin.d.ts +1 -1
- package/dist/pages/trendings/components/chart/sections/header.d.ts +1 -1
- package/dist/pages/trendings/components/chart/sections/trending-chart.d.ts +1 -1
- package/dist/pages/trendings/index.d.ts +1 -1
- package/dist/services/index.d.ts +1 -1
- package/package.json +5 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ChartData } from
|
|
2
|
-
import React, { Dispatch } from
|
|
3
|
-
import
|
|
4
|
-
import { CursorData, ViewTag } from
|
|
1
|
+
import { ChartData } from "chart.js";
|
|
2
|
+
import React, { type Dispatch } from "react";
|
|
3
|
+
import "./ContextMenu.css";
|
|
4
|
+
import { CursorData, ViewTag } from "./models/TrendingModels";
|
|
5
5
|
interface TableComponentProps {
|
|
6
6
|
cursorData: CursorData;
|
|
7
7
|
chartData: ChartData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChartData } from
|
|
2
|
-
import React from
|
|
3
|
-
import { Tag } from
|
|
1
|
+
import { ChartData } from "chart.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Tag } from "../models/TrendingModels";
|
|
4
4
|
interface Props {
|
|
5
5
|
tag: Tag;
|
|
6
6
|
chartData: ChartData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NodeModel } from
|
|
2
|
-
import React, { Dispatch } from
|
|
3
|
-
import { TagFromTree } from
|
|
1
|
+
import { NodeModel } from "@minoru/react-dnd-treeview";
|
|
2
|
+
import React, { type Dispatch } from "react";
|
|
3
|
+
import { TagFromTree } from "../../../../models/TagsTree.model";
|
|
4
4
|
interface Props {
|
|
5
5
|
isOpen: boolean;
|
|
6
6
|
tagNodeSelectedInTree: NodeModel<TagFromTree> | null;
|
|
@@ -11,5 +11,5 @@ interface Props {
|
|
|
11
11
|
getTagsTreeData: Function;
|
|
12
12
|
setShowContextMenu: Dispatch<boolean>;
|
|
13
13
|
}
|
|
14
|
-
export declare const ContextMenu: ({ isOpen, anchorPoint, tagNodeSelectedInTree, getTagsTreeData, setShowContextMenu }: Props) => React.JSX.Element;
|
|
14
|
+
export declare const ContextMenu: ({ isOpen, anchorPoint, tagNodeSelectedInTree, getTagsTreeData, setShowContextMenu, }: Props) => React.JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { NodeModel } from
|
|
2
|
-
import React from
|
|
3
|
-
import { TagFromTree } from
|
|
1
|
+
import { NodeModel } from "@minoru/react-dnd-treeview";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TagFromTree } from "../../../../../models/TagsTree.model";
|
|
4
4
|
interface Props {
|
|
5
5
|
open: boolean;
|
|
6
6
|
handleClose: (shouldUpdate: boolean) => void;
|
|
7
7
|
tagNodeSelectedInTree: NodeModel<TagFromTree> | null;
|
|
8
8
|
}
|
|
9
|
-
export declare const NewFolderModal: ({ open, handleClose, tagNodeSelectedInTree }: Props) => React.JSX.Element;
|
|
9
|
+
export declare const NewFolderModal: ({ open, handleClose, tagNodeSelectedInTree, }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { NodeModel } from
|
|
2
|
-
import React from
|
|
3
|
-
import { TagFromTree } from
|
|
1
|
+
import { NodeModel } from "@minoru/react-dnd-treeview";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TagFromTree } from "../../../../../models/TagsTree.model";
|
|
4
4
|
interface Props {
|
|
5
5
|
open: boolean;
|
|
6
6
|
handleClose: (shouldUpdate: boolean) => void;
|
|
7
7
|
tagNodeSelectedInTree: NodeModel<TagFromTree> | null;
|
|
8
8
|
}
|
|
9
|
-
export declare const RemoveFolderModal: ({ open, handleClose, tagNodeSelectedInTree }: Props) => React.JSX.Element;
|
|
9
|
+
export declare const RemoveFolderModal: ({ open, handleClose, tagNodeSelectedInTree, }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NodeModel, RenderParams } from
|
|
2
|
-
import React from
|
|
3
|
-
import { TagFromTree } from
|
|
1
|
+
import { NodeModel, RenderParams } from "@minoru/react-dnd-treeview";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TagFromTree } from "../../../models/TagsTree.model";
|
|
4
4
|
interface CustomNodeProps {
|
|
5
5
|
node: NodeModel<TagFromTree>;
|
|
6
6
|
setContextMenuOver: (data: NodeModel<TagFromTree>, e: React.MouseEvent<HTMLElement>) => void;
|
package/dist/pages/trendings/components/chart/components/modals/tagsTreeModal/TagSelectionModal.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ interface TagSelectionModalProps {
|
|
|
5
5
|
onClose: () => void;
|
|
6
6
|
onTagSelect: (tag: TagFromTree) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const TagSelectionModal: ({ isOpen, onClose, onTagSelect }: TagSelectionModalProps) => React.JSX.Element;
|
|
8
|
+
export declare const TagSelectionModal: ({ isOpen, onClose, onTagSelect, }: TagSelectionModalProps) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Plugin } from
|
|
1
|
+
import { Plugin } from "chart.js";
|
|
2
2
|
export declare const useGetVerticalLinePlugin: (setChartArea: (param: any) => void, setCoords: any) => Plugin;
|
|
@@ -20,5 +20,5 @@ interface TagsDataTable {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
export declare const useTagsDataTable: ({ cursorData, viewTagsMap, chartData }: Props) => TagsDataTable;
|
|
23
|
+
export declare const useTagsDataTable: ({ cursorData, viewTagsMap, chartData, }: Props) => TagsDataTable;
|
|
24
24
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CursorData } from
|
|
1
|
+
import { CursorData } from "../models/TrendingModels";
|
|
2
2
|
export declare const updateCursorData: (chart: any, setCursorData: (cursorData: CursorData) => void) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Plugin } from
|
|
1
|
+
import { Plugin } from "chart.js";
|
|
2
2
|
export declare const useXAxisDatePlugin: () => Plugin;
|
|
@@ -8,5 +8,5 @@ interface Props {
|
|
|
8
8
|
chartData: any;
|
|
9
9
|
setChartData: any;
|
|
10
10
|
}
|
|
11
|
-
export declare const TrendingChart: ({ series, chartOptions, setChartOptions, chartData, setCursorData, setChartData }: Props) => React.JSX.Element;
|
|
11
|
+
export declare const TrendingChart: ({ series, chartOptions, setChartOptions, chartData, setCursorData, setChartData, }: Props) => React.JSX.Element;
|
|
12
12
|
export {};
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./ApiService";
|
|
2
|
-
export * from
|
|
2
|
+
export * from "./TimeService";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexteel/mesf-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0",
|
|
4
4
|
"author": "Dexteel Team",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"ci": "rimraf -rf ./dist && rollup -c",
|
|
13
13
|
"build": "rimraf -rf ./dist && rollup -c",
|
|
14
14
|
"watch": "cross-env rollup -wc",
|
|
15
|
-
"start": "cross-env rollup -wc"
|
|
15
|
+
"start": "cross-env rollup -wc",
|
|
16
|
+
"prepare": "husky"
|
|
16
17
|
},
|
|
17
18
|
"license": "ISC",
|
|
18
19
|
"devDependencies": {
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
"@babel/preset-react": "^7.16.7",
|
|
24
25
|
"@babel/preset-typescript": "^7.16.7",
|
|
25
26
|
"@babel/runtime": "^7.17.2",
|
|
26
|
-
"@biomejs/biome": "1.
|
|
27
|
+
"@biomejs/biome": "^1.8.3",
|
|
27
28
|
"@material-ui/core": "^4.12.3",
|
|
28
29
|
"@material-ui/data-grid": "^4.0.0-alpha.37",
|
|
29
30
|
"@material-ui/icons": "^4.11.2",
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
"@types/react": "^17.0.39",
|
|
41
42
|
"autoprefixer": "^10.4.2",
|
|
42
43
|
"bootstrap": "^4.6.1",
|
|
44
|
+
"husky": "^9.1.4",
|
|
43
45
|
"moment": "^2.29.3",
|
|
44
46
|
"prop-types": "^15.8.1",
|
|
45
47
|
"react": "^17.0.2",
|