@dexteel/mesf-core 7.13.2 → 7.14.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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +20 -0
- package/dist/configuration/pages/job/repositories/JobsRepository.d.ts +1 -1
- package/dist/configuration/pages/log/LogsPage.d.ts +0 -8
- package/dist/configuration/pages/log/models/Tag.d.ts +1 -0
- package/dist/configuration/pages/log/repositories/LogsRepository.d.ts +1 -1
- package/dist/configuration/pages/log/repositories/TagsRepository.d.ts +2 -2
- package/dist/configuration/pages/profiles/repositories/ProfilesRepository.d.ts +5 -3
- package/dist/configuration/pages/realtime/repositories/config-repository.d.ts +1 -1
- package/dist/configuration/pages/shifCrew/repositories/ShiftsCrewsRepository.d.ts +1 -1
- package/dist/configuration/pages/users/repositories/UsersRepository.d.ts +4 -4
- package/dist/controls/asset-filter/repositories/AssetRepository.d.ts +1 -1
- package/dist/controls/shift-navigator/component/shift-navigator.control.d.ts +2 -1
- package/dist/controls/shift-selector/repositories/ShiftRepository.d.ts +3 -1
- package/dist/index.esm.js +150 -132
- package/dist/index.esm.js.map +1 -1
- package/dist/pages/logbook/entry/repository/LogbookRepository.d.ts +4 -2
- package/dist/pages/logbook/report/repository/LogbookRepository.d.ts +2 -2
- package/dist/pages/section-logbook/entry/repository/LogbookRepository.d.ts +6 -5
- package/dist/pages/section-logbook/report/repository/LogbookRepository.d.ts +2 -3
- package/dist/pages/section-logbook/shared/repository/SectionRepository.d.ts +2 -3
- package/dist/pages/trendings-v2/components/chart/repository/TrendingRepositoryV2.d.ts +7 -3
- package/dist/repositorie/MESF-frontend-Repositorie.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [7.14.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.13.3...@dexteel/mesf-core-v7.14.0) (2026-02-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **mesf-core-frontend:** Add AbortSignal to all the queryFn. ([595a744](https://github.com/dexteel/mesf-core-frontend/commit/595a744e74e4a54b7a8c5a29eda31e49cf5ebc84))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **Logs Page:** Remove unused searchLogs useQuery. Fix queryKey of getLogTags and getLogTagValues. ([37650d9](https://github.com/dexteel/mesf-core-frontend/commit/37650d9f266ef6b56929f9518f0e792339f9afbc))
|
|
14
|
+
|
|
15
|
+
## [7.13.3](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.13.2...@dexteel/mesf-core-v7.13.3) (2026-02-13)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **Shift Navigator Control:** Add Grid2Props type to props. ([e9af1af](https://github.com/dexteel/mesf-core-frontend/commit/e9af1af61023156dc6c96166b6ab4e8f03ca676e))
|
|
21
|
+
* **Shift Navigator Control:** Add Grid2Props type to props. ([3c3f151](https://github.com/dexteel/mesf-core-frontend/commit/3c3f151b4430b4cbe4e0a576d2d1abf20f120039))
|
|
22
|
+
|
|
3
23
|
## [7.13.2](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.13.1...@dexteel/mesf-core-v7.13.2) (2026-02-13)
|
|
4
24
|
|
|
5
25
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Job } from "../models/Job";
|
|
2
|
-
export declare const getJobs: () => Promise<Job[]>;
|
|
2
|
+
export declare const getJobs: (signal?: AbortSignal) => Promise<Job[]>;
|
|
3
3
|
export declare const upsertJob: (job: Job) => Promise<number>;
|
|
4
4
|
export declare const setJobEnable: ({ enabled, jobId, }: {
|
|
5
5
|
enabled: boolean | null;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Log } from "./models/Log";
|
|
3
2
|
type Props = {};
|
|
4
|
-
type useLogsProps = {
|
|
5
|
-
startDate: Date;
|
|
6
|
-
endDate: Date | null;
|
|
7
|
-
logTypeCode: number | string | null;
|
|
8
|
-
autoRefresh: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const searchLogs: ({ startDate, endDate, logTypeCode, autoRefresh, }: useLogsProps) => import("@tanstack/react-query").UseQueryResult<Log[], Error>;
|
|
11
3
|
export declare const Logs: (prop: Props) => React.JSX.Element;
|
|
12
4
|
export {};
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
logTypeCode: number | string | null;
|
|
7
7
|
tagFilters?: TagFilterType[];
|
|
8
8
|
};
|
|
9
|
-
export declare const getLogs: (
|
|
9
|
+
export declare const getLogs: (params: Props, signal?: AbortSignal) => Promise<Log[]>;
|
|
10
10
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Tag, TagFilterContext, TagValue } from "../models/Tag";
|
|
2
|
-
export declare const getLogTags: (
|
|
3
|
-
export declare const getLogTagValues: (
|
|
2
|
+
export declare const getLogTags: (params?: TagFilterContext, signal?: AbortSignal) => Promise<Tag[]>;
|
|
3
|
+
export declare const getLogTagValues: (params?: TagFilterContext, signal?: AbortSignal) => Promise<TagValue[]>;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { Action } from "../models/Action";
|
|
2
2
|
import { Profile } from "../models/Profile";
|
|
3
|
-
export declare const getProfiles: () => Promise<Profile[]>;
|
|
3
|
+
export declare const getProfiles: (signal?: AbortSignal) => Promise<Profile[]>;
|
|
4
4
|
export declare const upsertProfile: ({ ProfileId, ProfileName, }: {
|
|
5
5
|
ProfileId: number;
|
|
6
6
|
ProfileName: string;
|
|
7
7
|
}) => Promise<void>;
|
|
8
|
-
export declare const getActions: () => Promise<Action[]>;
|
|
9
|
-
export declare const getActionsByProfileId: (
|
|
8
|
+
export declare const getActions: (signal?: AbortSignal) => Promise<Action[]>;
|
|
9
|
+
export declare const getActionsByProfileId: (params: {
|
|
10
|
+
profileId: number;
|
|
11
|
+
}, signal?: AbortSignal) => Promise<Action[]>;
|
|
10
12
|
export declare const upsertProfileActions: ({ profileId, actions, }: {
|
|
11
13
|
profileId: number;
|
|
12
14
|
actions: Action[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Action, QueryCacheResponse } from "../config";
|
|
2
|
-
export declare const getQueryCacheInvalidations: () => Promise<QueryCacheResponse>;
|
|
2
|
+
export declare const getQueryCacheInvalidations: (signal?: AbortSignal) => Promise<QueryCacheResponse>;
|
|
3
3
|
export declare const upsertQueryCacheInvalidations: ({ actionId, targets, }: {
|
|
4
4
|
actionId: number;
|
|
5
5
|
targets: Action[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ShiftParameters } from "../models/ShiftParameters";
|
|
2
|
-
export declare const getShiftParameters: () => Promise<ShiftParameters[]>;
|
|
2
|
+
export declare const getShiftParameters: (signal?: AbortSignal) => Promise<ShiftParameters[]>;
|
|
3
3
|
export declare const upsertShiftParameters: ({ PatternStart, ShiftCodes, Crews, CrewRotation, Comments }: ShiftParameters, isUpdate?: boolean) => Promise<void>;
|
|
4
4
|
export declare const deleteShiftParameters: (PatternStart: Date) => Promise<void>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { User } from "../models/User";
|
|
2
|
-
export declare const getUsers: () => Promise<User[]>;
|
|
3
|
-
export declare const getDataUser: (
|
|
2
|
+
export declare const getUsers: (signal?: AbortSignal) => Promise<User[]>;
|
|
3
|
+
export declare const getDataUser: (params: {
|
|
4
4
|
userId: number | null;
|
|
5
|
-
}) => Promise<User[]>;
|
|
5
|
+
}, signal?: AbortSignal) => Promise<User[]>;
|
|
6
6
|
export declare const deleteUser: (userId: number) => Promise<void>;
|
|
7
7
|
export declare const setPassword: (userId: number, password: string) => Promise<{
|
|
8
8
|
ok: boolean;
|
|
@@ -14,7 +14,7 @@ export declare const setPassword: (userId: number, password: string) => Promise<
|
|
|
14
14
|
data?: undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export declare const upsertUser: (user: User) => Promise<number>;
|
|
17
|
-
export declare const getAuthTypes: () => Promise<AuthType[]>;
|
|
17
|
+
export declare const getAuthTypes: (signal?: AbortSignal) => Promise<AuthType[]>;
|
|
18
18
|
export declare const setProfilesToUser: ({ UserId, profileIds, }: {
|
|
19
19
|
UserId: number;
|
|
20
20
|
profileIds: number[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Asset } from "../../../models/Asset";
|
|
2
|
-
export declare const getAssets: () => Promise<Asset[]>;
|
|
2
|
+
export declare const getAssets: (signal?: AbortSignal) => Promise<Asset[]>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Grid2Props } from "@mui/material";
|
|
1
2
|
import React from "react";
|
|
2
3
|
export type ShiftNavigatorDirection = "Previous" | "Next" | "Last";
|
|
3
4
|
export declare const ShiftDayNavigatorControl: ({ useRouter, onShiftChange, preventInit, withPaper, margin, ...props }: {
|
|
@@ -6,4 +7,4 @@ export declare const ShiftDayNavigatorControl: ({ useRouter, onShiftChange, prev
|
|
|
6
7
|
preventInit?: boolean;
|
|
7
8
|
withPaper?: boolean;
|
|
8
9
|
margin?: string;
|
|
9
|
-
}) => React.JSX.Element;
|
|
10
|
+
} & Grid2Props) => React.JSX.Element;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ShiftInfo } from "../../shift-navigator";
|
|
2
2
|
import { ShiftData } from "../../shift-navigator-v2";
|
|
3
|
-
export declare const getShifts: (
|
|
3
|
+
export declare const getShifts: (params: {
|
|
4
|
+
shiftId: number | null;
|
|
5
|
+
}, signal?: AbortSignal) => Promise<ShiftInfo[]>;
|
|
4
6
|
export declare const getShiftsAroundCurrent: ({ currentShiftId, shiftsRange, }: {
|
|
5
7
|
currentShiftId?: number;
|
|
6
8
|
shiftsRange?: number;
|