@dexteel/mesf-core 4.20.5 → 4.20.6
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 +13 -0
- package/dist/components/modals/modal.mesf.d.ts +3 -2
- package/dist/configuration/pages/asset/theme.d.ts +1 -1
- package/dist/configuration/pages/log/styles/tableStyles.d.ts +1 -1
- package/dist/configuration/pages/settings/SettingsPage.d.ts +2 -0
- package/dist/configuration/pages/settings/components/TableSettings.d.ts +9 -0
- package/dist/configuration/pages/settings/components/customHooks/useSettingsOptionsFunctions.d.ts +12 -0
- package/dist/configuration/pages/settings/components/customHooks/useTableSettings.d.ts +11 -0
- package/dist/configuration/pages/settings/components/upsertDelete/CreateSetting.d.ts +7 -0
- package/dist/configuration/pages/settings/components/upsertDelete/DeleteSetting.d.ts +7 -0
- package/dist/configuration/pages/settings/components/upsertDelete/EditSetting.d.ts +7 -0
- package/dist/configuration/pages/settings/context/SettingsContext.d.ts +26 -0
- package/dist/configuration/pages/settings/index.d.ts +3 -0
- package/dist/configuration/pages/settings/models/FormInitialValues.d.ts +2 -0
- package/dist/configuration/pages/settings/models/Setting.d.ts +6 -0
- package/dist/configuration/pages/settings/reducers/SettingReducer.d.ts +20 -0
- package/dist/configuration/pages/settings/repositories/settingRepository.d.ts +3 -0
- package/dist/configuration/pages/settings/styles/useStyles.d.ts +1 -0
- package/dist/context/axiosInstance.d.ts +2 -1
- package/dist/controls/contextMenu/styles/ContextMenuStyles.d.ts +1 -1
- package/dist/controls/panels.d.ts +1 -1
- package/dist/index.esm.js +903 -159
- package/dist/index.esm.js.map +1 -1
- package/dist/pages/trendings/components/chart/styles/TagColorsStyles.d.ts +1 -1
- package/dist/pages/trendings/components/chart/styles/TagsTableStyles.d.ts +1 -1
- package/dist/pages/trendings/components/chart/styles/TasgTreeModalStyles.d.ts +1 -1
- package/dist/pages/trendings/components/chart/styles/TrendingStyles.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [4.20.6](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.20.5...@dexteel/mesf-core-v4.20.6) (2024-12-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **Header - Settings:** change Gear Icon from FontAwesome to Mui Icons ([5176f87](https://github.com/dexteel/mesf-core-frontend/commit/5176f87955006adf6f64473f71e5b6919c5aa4c3))
|
|
9
|
+
|
|
10
|
+
## [4.20.5] - 2024-11-26
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
1
14
|
# Changelog
|
|
2
15
|
|
|
3
16
|
## [4.20.5](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v4.20.4...@dexteel/mesf-core-v4.20.5) (2024-11-26)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StyleRules, type Theme } from "@material-ui/core";
|
|
2
|
+
import { type WithStyles } from "@material-ui/core/styles";
|
|
2
3
|
import React, { ReactNode } from "react";
|
|
3
|
-
declare const styles: (theme: Theme) =>
|
|
4
|
+
declare const styles: (theme: Theme) => StyleRules;
|
|
4
5
|
export interface DialogTitleProps extends WithStyles<typeof styles> {
|
|
5
6
|
id: string;
|
|
6
7
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const theme: (props?: any) => import("@material-ui/styles").ClassNameMap<"components">;
|
|
1
|
+
export declare const theme: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"components">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"root" | "card" | "filters" | "form">;
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"root" | "card" | "filters" | "form">;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Setting } from "../models/Setting";
|
|
3
|
+
interface Props {
|
|
4
|
+
rows: Setting[];
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
getSettingsFromAPI: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const TableSettings: ({ getSettingsFromAPI, isLoading, rows, }: Props) => React.JSX.Element;
|
|
9
|
+
export {};
|
package/dist/configuration/pages/settings/components/customHooks/useSettingsOptionsFunctions.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MenuOptionType } from "../../../../../controls";
|
|
2
|
+
import { Setting } from "../../models/Setting";
|
|
3
|
+
type Props = {
|
|
4
|
+
setSettingId: Function;
|
|
5
|
+
setShowDeleteModal: Function;
|
|
6
|
+
setShowCreateModal: Function;
|
|
7
|
+
setShowEditModal: Function;
|
|
8
|
+
};
|
|
9
|
+
export declare const useSettingsOptionsFunctions: ({ setSettingId, setShowDeleteModal, setShowCreateModal, setShowEditModal, }: Props) => {
|
|
10
|
+
getMenuOptions: (data: Setting) => MenuOptionType[];
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ColDef } from "ag-grid-community";
|
|
2
|
+
type Props = {
|
|
3
|
+
setOpenModalEditSetting: Function;
|
|
4
|
+
setOpenModalDeleteSetting: Function;
|
|
5
|
+
showContextMenu: Function;
|
|
6
|
+
};
|
|
7
|
+
export declare const useTableData: ({ setOpenModalEditSetting, setOpenModalDeleteSetting, showContextMenu, }: Props) => {
|
|
8
|
+
columnDefs: ColDef<any>[];
|
|
9
|
+
defaultColDef: ColDef<any>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as React, type ReactNode } from "react";
|
|
2
|
+
export declare const useSettingsContext: () => {
|
|
3
|
+
state: {
|
|
4
|
+
settings: import("../models/Setting").Setting[];
|
|
5
|
+
settingSelected: import("../models/Setting").Setting | null;
|
|
6
|
+
};
|
|
7
|
+
actions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
8
|
+
setSettings(state: import("immer/dist/internal").WritableDraft<{
|
|
9
|
+
settings: import("../models/Setting").Setting[];
|
|
10
|
+
settingSelected: import("../models/Setting").Setting | null;
|
|
11
|
+
}>, { payload }: {
|
|
12
|
+
payload: any;
|
|
13
|
+
type: string;
|
|
14
|
+
}): void;
|
|
15
|
+
setSettingSelected(state: import("immer/dist/internal").WritableDraft<{
|
|
16
|
+
settings: import("../models/Setting").Setting[];
|
|
17
|
+
settingSelected: import("../models/Setting").Setting | null;
|
|
18
|
+
}>, { payload }: {
|
|
19
|
+
payload: any;
|
|
20
|
+
type: string;
|
|
21
|
+
}): void;
|
|
22
|
+
}, "__">;
|
|
23
|
+
};
|
|
24
|
+
export declare const SettingsProvider: ({ children }: {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
}) => React.JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Setting } from "../models/Setting";
|
|
2
|
+
export declare const SettingsReducer: import("@reduxjs/toolkit").Slice<{
|
|
3
|
+
settings: Setting[];
|
|
4
|
+
settingSelected: Setting | null;
|
|
5
|
+
}, {
|
|
6
|
+
setSettings(state: import("immer/dist/internal").WritableDraft<{
|
|
7
|
+
settings: Setting[];
|
|
8
|
+
settingSelected: Setting | null;
|
|
9
|
+
}>, { payload }: {
|
|
10
|
+
payload: any;
|
|
11
|
+
type: string;
|
|
12
|
+
}): void;
|
|
13
|
+
setSettingSelected(state: import("immer/dist/internal").WritableDraft<{
|
|
14
|
+
settings: Setting[];
|
|
15
|
+
settingSelected: Setting | null;
|
|
16
|
+
}>, { payload }: {
|
|
17
|
+
payload: any;
|
|
18
|
+
type: string;
|
|
19
|
+
}): void;
|
|
20
|
+
}, "__">;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Setting } from "../models/Setting";
|
|
2
|
+
export declare const upsertSettings: ({ SettingId, Description, SettingName, Value, }: Setting) => Promise<import("../../../../services/ApiService").ResponseMESF>;
|
|
3
|
+
export declare const deleteSetting: (SettingId: number) => Promise<import("../../../../services/ApiService").ResponseMESF>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"root" | "textfield" | "relative" | "btnModal">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"contextMenu">;
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"contextMenu">;
|
|
@@ -24,7 +24,7 @@ type MasterDetailPanelProps = {
|
|
|
24
24
|
showDelete: boolean;
|
|
25
25
|
};
|
|
26
26
|
declare class MasterDetailPanel extends Component<MasterDetailPanelProps> {
|
|
27
|
-
useStyles(): (props?: any) => import("@material-ui/styles").ClassNameMap<"root">;
|
|
27
|
+
useStyles(): (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"root">;
|
|
28
28
|
render(): React.JSX.Element;
|
|
29
29
|
}
|
|
30
30
|
type ExtraButton = {
|