@dexteel/mesf-core 4.26.4 → 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 +33 -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/controls/filters/filters.d.ts +4 -5
- package/dist/index.esm.js +705 -620
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
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
|
+
|
|
20
|
+
# Changelog
|
|
21
|
+
|
|
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)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **SelectorControl:** Improve styles for selector control using only mui v4 ([59f0091](https://github.com/dexteel/mesf-core-frontend/commit/59f0091af05faba0f58a594ee361f673fd26aa0d))
|
|
28
|
+
* **SelectorsssControl:** Improve styles for selector control using only mui v4 ([cd09ecc](https://github.com/dexteel/mesf-core-frontend/commit/cd09ecc117c678d839f508eefbba90b6e1cb7120))
|
|
29
|
+
|
|
30
|
+
## [4.26.4] - 2025-03-19
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
1
34
|
# Changelog
|
|
2
35
|
|
|
3
36
|
## [4.26.4](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.26.3...@dexteel/mesf-core-v4.26.4) (2025-03-19)
|
|
@@ -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>;
|
|
@@ -25,15 +25,14 @@ export declare class SimpleTextAreaControl extends Component<any> {
|
|
|
25
25
|
}
|
|
26
26
|
interface SimpleSelectorControlProps {
|
|
27
27
|
title?: string;
|
|
28
|
-
dataSource?: any;
|
|
28
|
+
dataSource?: any[];
|
|
29
29
|
selectedValue?: any;
|
|
30
|
-
onChange?: any;
|
|
30
|
+
onChange?: (value: any) => void;
|
|
31
31
|
showColor?: boolean;
|
|
32
|
-
|
|
33
|
-
styleList?: any;
|
|
32
|
+
styleList?: React.CSSProperties;
|
|
34
33
|
hasChoose?: boolean;
|
|
35
34
|
}
|
|
36
|
-
export declare function SimpleSelectorControl({ title, dataSource, selectedValue, onChange, showColor,
|
|
35
|
+
export declare function SimpleSelectorControl({ title, dataSource, selectedValue, onChange, showColor, styleList, hasChoose, }: SimpleSelectorControlProps): React.JSX.Element;
|
|
37
36
|
export declare const MultipleSelectorControl: (props: any) => React.JSX.Element;
|
|
38
37
|
export declare const CheckBoxControl: (props: any) => React.JSX.Element;
|
|
39
38
|
export declare const UploadFileControl: (props: any) => React.JSX.Element;
|