@dexteel/mesf-core 4.4.2 → 4.5.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/CHANGELOG.md +2 -0
- package/dist/MESFMain.d.ts +3 -3
- package/dist/account/AuthProvider.d.ts +1 -1
- package/dist/account/changePassword.d.ts +1 -1
- package/dist/account/index.d.ts +6 -6
- package/dist/account/login-strategies/LoginAsGuest.d.ts +1 -1
- package/dist/account/login-strategies/LoginWithEmailAndPassword.d.ts +1 -1
- package/dist/account/login-strategies/LoginWithWindowsAuthentication.d.ts +1 -1
- package/dist/account/login-strategies/azure-ad/LoginWithAzureAD.d.ts +1 -1
- package/dist/account/login-strategies/azure-ad/LoginWithAzureADForm.d.ts +1 -1
- package/dist/account/login.d.ts +1 -1
- package/dist/account/logout.d.ts +1 -1
- package/dist/components/modals/error-modal.d.ts +3 -3
- package/dist/components/modals/modal.mesf.d.ts +4 -4
- package/dist/components/navigation/Header.d.ts +1 -1
- package/dist/components/navigation/Navigation.d.ts +1 -1
- package/dist/components/navigation/areaSelector/area-selector.d.ts +1 -1
- package/dist/configuration/formatters.d.ts +1 -1
- package/dist/configuration/pages/asset/components/AssetConfiguration/AssetView.d.ts +1 -1
- package/dist/configuration/pages/asset/components/AssetConfiguration/ConfigurationAssetComponent.d.ts +1 -1
- package/dist/configuration/pages/asset/components/dialogs/edit-asset-dialog.d.ts +1 -1
- package/dist/configuration/pages/asset/components/dialogs/remove-asset-dialog.d.ts +1 -1
- package/dist/configuration/pages/asset/components/dialogs/viewer-asset-dialog.d.ts +1 -1
- package/dist/configuration/pages/asset/context/ConfigurationAssetContext.d.ts +1 -1
- package/dist/configuration/pages/asset/hooks/useSearchAssets.d.ts +1 -1
- package/dist/configuration/pages/asset/index.d.ts +1 -1
- package/dist/configuration/pages/job/components/JobsTable/TableJobs.d.ts +1 -1
- package/dist/configuration/pages/job/components/ResetJob.d.ts +1 -1
- package/dist/configuration/pages/job/index.d.ts +1 -1
- package/dist/configuration/pages/log/components/Filters/codeFilter.d.ts +1 -1
- package/dist/configuration/pages/log/components/Filters/dateFilter.d.ts +1 -1
- package/dist/configuration/pages/log/components/Filters/searchFilter.d.ts +1 -1
- package/dist/configuration/pages/log/components/LogsTable/TableLogs.d.ts +2 -2
- package/dist/configuration/pages/log/components/ModalLogSelected/ModalLogSelected.d.ts +2 -2
- package/dist/configuration/pages/log/components/hook/useGetLogsFromAPI.d.ts +1 -1
- package/dist/configuration/pages/log/index.d.ts +1 -1
- package/dist/configuration/pages/profiles/components/Create/CreateProfile.d.ts +1 -1
- package/dist/configuration/pages/profiles/components/Delete/DeleteProfile.d.ts +2 -2
- package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ActionsOfProfile.d.ts +2 -2
- package/dist/configuration/pages/profiles/components/ProceduresOfProfile/ProceduresDataTable/index.d.ts +4 -4
- package/dist/configuration/pages/profiles/components/ProfilesTable/TableProfiles.d.ts +1 -1
- package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useTableData.d.ts +3 -3
- package/dist/configuration/pages/profiles/components/common/Pickers/ProfilesPicker.d.ts +2 -2
- package/dist/configuration/pages/profiles/components/common/Profiles/hook/useGetProfilesEffect.d.ts +1 -1
- package/dist/configuration/pages/profiles/index.d.ts +1 -1
- package/dist/configuration/pages/shifCrew/components/Create/CreateShift.d.ts +1 -1
- package/dist/configuration/pages/shifCrew/components/Delete/DeleteShift.d.ts +1 -1
- package/dist/configuration/pages/shifCrew/components/Edit/EditShift.d.ts +1 -1
- package/dist/configuration/pages/shifCrew/components/TableShifts.d.ts +5 -5
- package/dist/configuration/pages/shifCrew/components/customHooks/useTableShift.d.ts +2 -2
- package/dist/configuration/pages/shifCrew/index.d.ts +1 -1
- package/dist/configuration/pages/users/components/ChangePassword/ChangePassword.d.ts +1 -1
- package/dist/configuration/pages/users/components/Create/CreateUser.d.ts +1 -1
- package/dist/configuration/pages/users/components/Delete/DeleteUser.d.ts +1 -1
- package/dist/configuration/pages/users/components/EditUser/EditUser.d.ts +1 -1
- package/dist/configuration/pages/users/components/UsersDataTable/TableUsers.d.ts +1 -1
- package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useTableData.d.ts +2 -2
- package/dist/configuration/pages/users/components/common/AuthTypeSelector.d.ts +1 -1
- package/dist/configuration/pages/users/components/common/ProfilesPicker.d.ts +2 -2
- package/dist/configuration/pages/users/index.d.ts +1 -1
- package/dist/configurationMenu.d.ts +1 -4
- package/dist/controls/LazyLoading/LazyLoading.d.ts +1 -1
- package/dist/controls/alert.d.ts +2 -2
- package/dist/controls/charts/genericChart.d.ts +1 -1
- package/dist/controls/filters/dialogFilter.d.ts +1 -1
- package/dist/controls/filters/filters.d.ts +1 -1
- package/dist/controls/index.d.ts +6 -6
- package/dist/controls/tables/dataGrid.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +2304 -1555
- package/dist/pages/trendings/components/chart/TableComponent.d.ts +3 -3
- package/dist/pages/trendings/components/chart/TagSelectionModal.d.ts +2 -2
- package/dist/pages/trendings/components/chart/Trending.d.ts +2 -4
- package/dist/pages/trendings/components/chart/context/TrendingContext.d.ts +33 -0
- package/dist/pages/trendings/components/chart/models/scopes.model.d.ts +1 -0
- package/dist/pages/trendings/components/chart/styles/TrendingStyles.d.ts +1 -0
- package/dist/pages/trendings/components/chart/utils/tagColors.d.ts +1 -0
- package/dist/pages/trendings/index.d.ts +1 -1
- package/dist/pages/trendings/reducers/trendings.reducer.d.ts +27 -1
- package/dist/routes/MESFMainRouter.d.ts +1 -1
- package/dist/services/index.d.ts +1 -1
- package/package.json +2 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { CursorData, TagList } from
|
|
3
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CursorData, TagList } from "./Trending";
|
|
3
|
+
import "./ContextMenu.css";
|
|
4
4
|
interface TableComponentProps {
|
|
5
5
|
tagList: TagList;
|
|
6
6
|
setTagList: React.Dispatch<React.SetStateAction<TagList>>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import "chartjs-adapter-moment/dist/chartjs-adapter-moment.esm.js";
|
|
2
|
+
import React from "react";
|
|
3
3
|
interface TrendingProps {
|
|
4
4
|
title: string;
|
|
5
|
-
start: Date;
|
|
6
|
-
end: Date;
|
|
7
5
|
tags: Tag[];
|
|
8
6
|
}
|
|
9
7
|
interface Sample {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export declare const useTrendingContext: () => {
|
|
3
|
+
state: {
|
|
4
|
+
timeScopeStart: Date;
|
|
5
|
+
timeScopeEnd: Date;
|
|
6
|
+
scope: import("../models/scopes.model").scopeType;
|
|
7
|
+
};
|
|
8
|
+
actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
9
|
+
setTotalScope(state: import("immer/dist/internal").WritableDraft<{
|
|
10
|
+
timeScopeStart: Date;
|
|
11
|
+
timeScopeEnd: Date;
|
|
12
|
+
scope: import("../models/scopes.model").scopeType;
|
|
13
|
+
}>, { payload, type, }: {
|
|
14
|
+
payload: {
|
|
15
|
+
scope: import("../models/scopes.model").scopeType;
|
|
16
|
+
start?: Date | undefined;
|
|
17
|
+
end?: Date | undefined;
|
|
18
|
+
} | {
|
|
19
|
+
scope?: import("../models/scopes.model").scopeType | undefined;
|
|
20
|
+
start: Date;
|
|
21
|
+
end?: Date | undefined;
|
|
22
|
+
} | {
|
|
23
|
+
scope?: import("../models/scopes.model").scopeType | undefined;
|
|
24
|
+
start?: Date | undefined;
|
|
25
|
+
end: Date;
|
|
26
|
+
};
|
|
27
|
+
type: string;
|
|
28
|
+
}): void;
|
|
29
|
+
}, "__">;
|
|
30
|
+
};
|
|
31
|
+
export declare const TrendingProvider: ({ children }: {
|
|
32
|
+
children: ReactNode;
|
|
33
|
+
}) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type scopeType = "10 min" | "1 hour" | "4 hours" | "12 hours" | "1 day" | "10 days" | "custom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useTrendingStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"datetimePicker" | "select" | "labelOptions">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const tagColors: string[];
|
|
@@ -1 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
import { scopeType } from "../components/chart/models/scopes.model";
|
|
2
|
+
export declare const TrendingsReducer: import("@reduxjs/toolkit").Slice<{
|
|
3
|
+
timeScopeStart: Date;
|
|
4
|
+
timeScopeEnd: Date;
|
|
5
|
+
scope: scopeType;
|
|
6
|
+
}, {
|
|
7
|
+
setTotalScope(state: import("immer/dist/internal").WritableDraft<{
|
|
8
|
+
timeScopeStart: Date;
|
|
9
|
+
timeScopeEnd: Date;
|
|
10
|
+
scope: scopeType;
|
|
11
|
+
}>, { payload, type, }: {
|
|
12
|
+
payload: {
|
|
13
|
+
scope: scopeType;
|
|
14
|
+
start?: Date;
|
|
15
|
+
end?: Date;
|
|
16
|
+
} | {
|
|
17
|
+
scope?: scopeType;
|
|
18
|
+
start: Date;
|
|
19
|
+
end?: Date;
|
|
20
|
+
} | {
|
|
21
|
+
scope?: scopeType;
|
|
22
|
+
start?: Date;
|
|
23
|
+
end: Date;
|
|
24
|
+
};
|
|
25
|
+
type: string;
|
|
26
|
+
}): void;
|
|
27
|
+
}, "__">;
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./ApiService";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexteel/mesf-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"author": "Dexteel Team",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"@babel/preset-react": "^7.16.7",
|
|
20
20
|
"@babel/preset-typescript": "^7.16.7",
|
|
21
21
|
"@babel/runtime": "^7.17.2",
|
|
22
|
+
"@biomejs/biome": "1.4.1",
|
|
22
23
|
"@material-ui/core": "^4.12.3",
|
|
23
24
|
"@material-ui/data-grid": "^4.0.0-alpha.37",
|
|
24
25
|
"@material-ui/icons": "^4.11.2",
|