@dexteel/mesf-core 4.26.5 → 4.27.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 +19 -0
- package/dist/configuration/pages/job/components/JobsTable/JobsDetails.d.ts +12 -0
- package/dist/configuration/pages/job/components/JobsTable/TableJobs.d.ts +2 -0
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsOptionsFunctions.d.ts +3 -2
- package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsTableData.d.ts +4 -14
- package/dist/configuration/pages/job/components/ResetJob.d.ts +2 -4
- package/dist/configuration/pages/job/components/onEnableJob.d.ts +2 -2
- package/dist/configuration/pages/job/models/Job.d.ts +3 -3
- package/dist/configuration/pages/job/repositories/JobsRepository.d.ts +13 -3
- package/dist/controls/filters/dialogFilter.d.ts +1 -0
- package/dist/index.esm.js +691 -607
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [4.27.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.26.5...@dexteel/mesf-core-v4.27.0) (2025-03-31)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **DialogFilter:** Add IsSelectable to TreeNode | Add treeLabelUnselectable classname ([5f82ea3](https://github.com/dexteel/mesf-core-frontend/commit/5f82ea3147f25a6dd1b7ed836bf84afa9422f2bd))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **Jobs Settings:** refactor tables and actions ([a379ff5](https://github.com/dexteel/mesf-core-frontend/commit/a379ff5e8928e0fda6df9dcad37341ab2421ffd6))
|
|
14
|
+
* **tree-picker-control-v2:** Fix padding and size of clearButton ([eb18866](https://github.com/dexteel/mesf-core-frontend/commit/eb18866ca5ed93e6406677bbf35078a1cfe4d2b6))
|
|
15
|
+
|
|
16
|
+
## [4.26.5] - 2025-03-20
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
1
20
|
# Changelog
|
|
2
21
|
|
|
3
22
|
## [4.26.5](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.26.4...@dexteel/mesf-core-v4.26.5) (2025-03-20)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Job } from "../../models/Job";
|
|
3
|
+
type Props = {
|
|
4
|
+
job: Job | null;
|
|
5
|
+
modal: "create" | "update" | "reset" | "enable" | "";
|
|
6
|
+
onHide: ({ close, entityId }: {
|
|
7
|
+
close: boolean;
|
|
8
|
+
entityId?: number;
|
|
9
|
+
}) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const JobDetails: ({ job, modal, onHide }: Props) => React.JSX.Element;
|
|
12
|
+
export {};
|
package/dist/configuration/pages/job/components/JobsTable/customHooks/useJobsOptionsFunctions.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { MenuOptionType } from "../../../../../../controls";
|
|
2
2
|
import { Job } from "../../../models/Job";
|
|
3
3
|
type Props = {
|
|
4
|
+
setShowModal: (modal: "create" | "update" | "reset" | "enable" | "") => void;
|
|
5
|
+
setJobSelected: (job: Job) => void;
|
|
4
6
|
getJobsFromAPI: Function;
|
|
5
|
-
setRowSelected: Function;
|
|
6
7
|
};
|
|
7
|
-
export declare const useJobsOptionsFunctions: ({
|
|
8
|
+
export declare const useJobsOptionsFunctions: ({ setShowModal, setJobSelected, getJobsFromAPI, }: Props) => {
|
|
8
9
|
getMenuOptions: (data: Job) => MenuOptionType[];
|
|
9
10
|
};
|
|
10
11
|
export {};
|
|
@@ -1,22 +1,12 @@
|
|
|
1
1
|
import { ColDef } from "ag-grid-community";
|
|
2
2
|
import { Job } from "../../../models/Job";
|
|
3
3
|
type Props = {
|
|
4
|
-
|
|
4
|
+
setShowModal: (modal: "create" | "update" | "reset" | "enable" | "") => void;
|
|
5
|
+
setJobSelected: (job: Job) => void;
|
|
5
6
|
showContextMenu: Function;
|
|
6
7
|
};
|
|
7
|
-
export declare const useJobsTableData: ({
|
|
8
|
-
rows:
|
|
9
|
-
id: number;
|
|
10
|
-
sProcedure: string;
|
|
11
|
-
Running: boolean;
|
|
12
|
-
LastStarted: Date | null;
|
|
13
|
-
LastCounter: Date;
|
|
14
|
-
Enabled: boolean;
|
|
15
|
-
RestartAfterFailure: boolean;
|
|
16
|
-
PeriodTime: number | null;
|
|
17
|
-
StartTime: Date;
|
|
18
|
-
NextExecutionTime: Date;
|
|
19
|
-
}[];
|
|
8
|
+
export declare const useJobsTableData: ({ setShowModal, setJobSelected, showContextMenu, }: Props) => {
|
|
9
|
+
rows: Job[];
|
|
20
10
|
columnDefs: ColDef<any, any>[];
|
|
21
11
|
};
|
|
22
12
|
export {};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Job } from "../models/Job";
|
|
3
3
|
type Props = {
|
|
4
|
-
|
|
4
|
+
jobSelected: Job | null;
|
|
5
5
|
show: boolean;
|
|
6
6
|
onHide: (shouldUpdate: boolean) => void;
|
|
7
|
-
setSnackbarLoading: Function;
|
|
8
|
-
setSnackbarSuccessfulMessage: Function;
|
|
9
7
|
};
|
|
10
|
-
export declare const ResetJob: ({
|
|
8
|
+
export declare const ResetJob: ({ jobSelected, show, onHide }: Props) => React.JSX.Element;
|
|
11
9
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Job } from "../models/Job";
|
|
3
3
|
type Props = {
|
|
4
|
-
|
|
4
|
+
jobSelected: Job | null;
|
|
5
5
|
show: boolean;
|
|
6
6
|
onHide: (shouldUpdate: boolean) => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const OnEnableJob: ({
|
|
8
|
+
export declare const OnEnableJob: ({ jobSelected, show, onHide }: Props) => React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -8,9 +8,9 @@ export interface Job {
|
|
|
8
8
|
LastCounter: Date;
|
|
9
9
|
RestartAfterFailure: boolean;
|
|
10
10
|
PeriodTime: number | null;
|
|
11
|
-
StartTime: Date;
|
|
12
|
-
NextExecutionTime: Date;
|
|
13
|
-
LastExecutionTime: Date;
|
|
11
|
+
StartTime: Date | null;
|
|
12
|
+
NextExecutionTime: Date | null;
|
|
13
|
+
LastExecutionTime: Date | null;
|
|
14
14
|
LastExecutionResult: string;
|
|
15
15
|
CurrentStatus: string;
|
|
16
16
|
Enabled: boolean;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
1
|
+
import { Job } from "../models/Job";
|
|
2
|
+
export declare const GetJobsStatus: () => Promise<{
|
|
3
|
+
ok: boolean;
|
|
4
|
+
data: any;
|
|
5
|
+
message?: undefined;
|
|
6
|
+
} | {
|
|
7
|
+
ok: boolean;
|
|
8
|
+
message: string;
|
|
9
|
+
data?: undefined;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const upsertJob: (job: Job) => Promise<import("../../../../services/ApiService").ResponseMESF>;
|
|
12
|
+
export declare const SetJobEnable: (enabled: boolean | null, jobId: number | null) => Promise<import("../../../../services/ApiService").ResponseMESF>;
|
|
13
|
+
export declare const RestartJob: (jobId: number | null) => Promise<import("../../../../services/ApiService").ResponseMESF>;
|