@dexteel/mesf-core 6.1.2 → 7.0.1

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.
Files changed (41) hide show
  1. package/.github/workflows/publish-to-npm.yaml +1 -0
  2. package/.github/workflows/release-please-v4.yml +61 -0
  3. package/.github/workflows/release-please-v5.yml +63 -0
  4. package/.github/workflows/release-please-v7.yml +18 -0
  5. package/.release-please-manifest.json +1 -1
  6. package/CHANGELOG.md +15 -2
  7. package/dist/MESFMain.d.ts +2 -2
  8. package/dist/components/modals/modal.mesf.d.ts +4 -11
  9. package/dist/components/navigation/TimeAndUserMenu.d.ts +1 -5
  10. package/dist/components/shared/buttons/button-with-loading.d.ts +1 -1
  11. package/dist/controls/alert.d.ts +1 -1
  12. package/dist/controls/contextMenu/index.d.ts +0 -1
  13. package/dist/controls/error-label.d.ts +4 -0
  14. package/dist/controls/filters/dialogFilter.d.ts +1 -1
  15. package/dist/controls/index.d.ts +0 -1
  16. package/dist/controls/panels.d.ts +1 -1
  17. package/dist/css/themeMESF.d.ts +1 -1
  18. package/dist/globalContext.d.ts +3 -3
  19. package/dist/index.d.ts +3 -0
  20. package/dist/index.esm.js +3590 -3936
  21. package/dist/index.esm.js.map +1 -1
  22. package/dist/pages/trendings/TrendingsPage.d.ts +16 -3
  23. package/dist/pages/trendings/components/chart/TableComponent.d.ts +0 -12
  24. package/dist/pages/trendings/components/chart/Trending.d.ts +2 -1
  25. package/dist/pages/trendings/components/chart/components/modals/loadView/LoadViewModal.d.ts +1 -2
  26. package/dist/pages/trendings/components/chart/customOptionsComponent.d.ts +2 -0
  27. package/dist/pages/trendings/components/chart/repository/TrendingRepository.d.ts +41 -11
  28. package/dist/pages/trendings/components/chart/sections/header.d.ts +3 -1
  29. package/dist/pages/trendings/components/chart/sections/trending-chart.d.ts +1 -1
  30. package/package.json +21 -30
  31. package/release-please-config.json +10 -2
  32. package/dist/configuration/pages/log/styles/tableStyles.d.ts +0 -1
  33. package/dist/configuration/pages/settings/styles/useStyles.d.ts +0 -1
  34. package/dist/controls/charts/genericChart.d.ts +0 -10
  35. package/dist/controls/contextMenu/styles/ContextMenuStyles.d.ts +0 -1
  36. package/dist/pages/logbook/entry/components/entry-viewer/styles/useEntryViewerStyles.d.ts +0 -1
  37. package/dist/pages/logbook/report/components/entry-viewer/styles/useEntryViewerStyles.d.ts +0 -1
  38. package/dist/pages/trendings/components/chart/styles/TagColorsStyles.d.ts +0 -1
  39. package/dist/pages/trendings/components/chart/styles/TagsTableStyles.d.ts +0 -1
  40. package/dist/pages/trendings/components/chart/styles/TasgTreeModalStyles.d.ts +0 -1
  41. package/dist/pages/trendings/components/chart/styles/TrendingStyles.d.ts +0 -1
@@ -6,6 +6,7 @@ on:
6
6
  - master
7
7
  - next
8
8
  - next-ng
9
+ - v7
9
10
  jobs:
10
11
  publish:
11
12
  if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release-please')
@@ -0,0 +1,61 @@
1
+ name: Release Please
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+ jobs:
9
+ release-please:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: googleapis/release-please-action@v4
13
+ id: release
14
+ with:
15
+ command: manifest
16
+ token: ${{ secrets.GITHUB_TOKEN }}
17
+
18
+ - uses: actions/checkout@v4
19
+ if: ${{ steps.release.outputs.release_created }}
20
+
21
+ - name: Setup Node.js
22
+ if: ${{ steps.release.outputs.release_created }}
23
+ uses: actions/setup-node@v4
24
+ with:
25
+ node-version: 'lts/hydrogen' # Adjust this to your Node.js version
26
+
27
+ - name: Update Node.js package versions
28
+ if: ${{ steps.release.outputs.release_created }}
29
+ run: |
30
+ version="${{ steps.release.outputs.version }}"
31
+ find . -name "package.json" -type f -print0 | while IFS= read -r -d '' file; do
32
+ jq ".version = \"${version}\"" "$file" > temp.json && mv temp.json "$file"
33
+ done
34
+
35
+ - name: Update CHANGELOG.md
36
+ if: ${{ steps.release.outputs.release_created }}
37
+ run: |
38
+ version="${{ steps.release.outputs.version }}"
39
+ date=$(date +"%Y-%m-%d")
40
+ echo -e "# Changelog\n\n## [${version}] - ${date}\n\n${{ steps.release.outputs.changelog }}\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
41
+
42
+ - name: Commit changes
43
+ if: ${{ steps.release.outputs.release_created }}
44
+ run: |
45
+ git config --local user.email "action@github.com"
46
+ git config --local user.name "GitHub Action"
47
+ git add .
48
+ git commit -m "chore: update versions and CHANGELOG for ${{ steps.release.outputs.version }}" || echo "No changes to commit"
49
+ git push
50
+
51
+ - name: Create Release
52
+ if: ${{ steps.release.outputs.release_created }}
53
+ uses: actions/create-release@v1
54
+ env:
55
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56
+ with:
57
+ tag_name: ${{ steps.release.outputs.tag_name }}
58
+ release_name: Release ${{ steps.release.outputs.version }}
59
+ body: ${{ steps.release.outputs.changelog }}
60
+ draft: false
61
+ prerelease: false
@@ -0,0 +1,63 @@
1
+ name: Release Please (v5 - next)
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - next
7
+
8
+ jobs:
9
+ release-please:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: googleapis/release-please-action@v4
13
+ id: release
14
+ with:
15
+ command: manifest
16
+ token: ${{ secrets.GITHUB_TOKEN }}
17
+ target-branch: 'next'
18
+ default-branch: 'next'
19
+
20
+ - uses: actions/checkout@v4
21
+ if: ${{ steps.release.outputs.release_created }}
22
+
23
+ - name: Setup Node.js
24
+ if: ${{ steps.release.outputs.release_created }}
25
+ uses: actions/setup-node@v4
26
+ with:
27
+ node-version: 'lts/hydrogen' # Adjust this to your Node.js version
28
+
29
+ - name: Update Node.js package versions
30
+ if: ${{ steps.release.outputs.release_created }}
31
+ run: |
32
+ version="${{ steps.release.outputs.version }}"
33
+ find . -name "package.json" -type f -print0 | while IFS= read -r -d '' file; do
34
+ jq ".version = \"${version}\"" "$file" > temp.json && mv temp.json "$file"
35
+ done
36
+
37
+ - name: Update CHANGELOG.md
38
+ if: ${{ steps.release.outputs.release_created }}
39
+ run: |
40
+ version="${{ steps.release.outputs.version }}"
41
+ date=$(date +"%Y-%m-%d")
42
+ echo -e "# Changelog\n\n## [${version}] - ${date}\n\n${{ steps.release.outputs.changelog }}\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
43
+
44
+ - name: Commit changes
45
+ if: ${{ steps.release.outputs.release_created }}
46
+ run: |
47
+ git config --local user.email "action@github.com"
48
+ git config --local user.name "GitHub Action"
49
+ git add .
50
+ git commit -m "chore: update versions and CHANGELOG for ${{ steps.release.outputs.version }}" || echo "No changes to commit"
51
+ git push
52
+
53
+ - name: Create Release
54
+ if: ${{ steps.release.outputs.release_created }}
55
+ uses: actions/create-release@v1
56
+ env:
57
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58
+ with:
59
+ tag_name: ${{ steps.release.outputs.tag_name }}
60
+ release_name: Release ${{ steps.release.outputs.version }}
61
+ body: ${{ steps.release.outputs.changelog }}
62
+ draft: false
63
+ prerelease: false
@@ -0,0 +1,18 @@
1
+ name: Release Please (v7)
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - v7
7
+
8
+ jobs:
9
+ release-please:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: googleapis/release-please-action@v4
13
+ id: release
14
+ with:
15
+ command: manifest
16
+ token: ${{ secrets.GITHUB_TOKEN }}
17
+ target-branch: 'v7'
18
+ default-branch: 'v7'
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "6.1.2"
2
+ ".": "7.0.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,11 +1,24 @@
1
1
  # Changelog
2
2
 
3
- ## [6.1.2](https://github.com/dexteel/mesf-core-frontend/compare/mesf-core-v6.1.1...mesf-core-v6.1.2) (2025-10-21)
3
+ ## [7.0.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.0.0...@dexteel/mesf-core-v7.0.1) (2025-10-23)
4
4
 
5
5
 
6
6
  ### Bug Fixes
7
7
 
8
- * **Trendings:** revert changes. Wait for v2 ([3ffc4b1](https://github.com/dexteel/mesf-core-frontend/commit/3ffc4b190e5e1e84ae9f6de02897051c3f924667))
8
+ * fire publishing ([494a537](https://github.com/dexteel/mesf-core-frontend/commit/494a53789b12947ee9af951c441d8a1bd52c9620))
9
+
10
+ ## [7.0.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v6.1.1...@dexteel/mesf-core-v7.0.0) (2025-10-23)
11
+
12
+
13
+ ### Features
14
+
15
+ * **mesf-core-frontend:** Install MUI v5, remove old imports, fix breaking changes and others. ([a66d52a](https://github.com/dexteel/mesf-core-frontend/commit/a66d52ab94a10baebfd003d46029bf47f7bc7cc5))
16
+ * **SWV Mill:** Update to react v18 and fix all pages. ([1aaf601](https://github.com/dexteel/mesf-core-frontend/commit/1aaf60189e158b743ea4b64f53654129b183c0b1))
17
+
18
+
19
+ ### Miscellaneous Chores
20
+
21
+ * release version 7.0.0 ([fddc9e9](https://github.com/dexteel/mesf-core-frontend/commit/fddc9e9650bd10846e2e77a1988fae625cc5ecc4))
9
22
 
10
23
  ## [6.1.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v6.1.0...@dexteel/mesf-core-v6.1.1) (2025-10-15)
11
24
 
@@ -3,8 +3,8 @@ import { ConfigurationsType } from "./configurationMenu";
3
3
  import type { LogbookSettingsState } from "./reducers/LogbookSettingsReducer";
4
4
  interface Props {
5
5
  authentication: any;
6
- routes: ReactNode;
7
- navbar: ReactNode;
6
+ routes: () => ReactNode;
7
+ navbar: () => ReactNode;
8
8
  navbarTitle?: string;
9
9
  configurations: ConfigurationsType;
10
10
  showAreaSelector?: boolean;
@@ -1,12 +1,5 @@
1
- import { DialogActions as MuiDialogActions, DialogContent as MuiDialogContent, StyleRules, type Theme } from "@material-ui/core";
2
- import { type WithStyles } from "@material-ui/core/styles";
3
- import React, { ReactNode } from "react";
4
- declare const styles: (theme: Theme) => StyleRules;
5
- export interface DialogTitleProps extends WithStyles<typeof styles> {
6
- id: string;
7
- children: React.ReactNode;
8
- onClose: () => void;
9
- }
1
+ import { DialogActionsProps, DialogContentProps } from "@mui/material";
2
+ import React, { ComponentType, ReactNode } from "react";
10
3
  interface MESFModalProps {
11
4
  handleClose: (shouldUpdate?: boolean) => void;
12
5
  open: boolean;
@@ -17,7 +10,7 @@ interface MESFModalProps {
17
10
  }
18
11
  declare function Modal({ children, title, handleClose, open, id, maxWidth, }: MESFModalProps): React.JSX.Element;
19
12
  export declare const MesfModal: typeof Modal & {
20
- Content: typeof MuiDialogContent;
21
- Actions: typeof MuiDialogActions;
13
+ Content: ComponentType<DialogContentProps>;
14
+ Actions: ComponentType<DialogActionsProps>;
22
15
  };
23
16
  export default MesfModal;
@@ -1,6 +1,2 @@
1
1
  import React from "react";
2
- interface TimeAndUserMenuProps {
3
- className?: string;
4
- }
5
- export declare const TimeAndUserMenu: React.FC<TimeAndUserMenuProps>;
6
- export {};
2
+ export declare const TimeAndUserMenu: () => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from "@material-ui/core";
1
+ import { ButtonProps } from "@mui/material";
2
2
  import React, { ReactNode } from "react";
3
3
  interface Props extends ButtonProps {
4
4
  children?: ReactNode;
@@ -1,3 +1,3 @@
1
- import { type AlertProps } from "@material-ui/lab/Alert";
1
+ import { type AlertProps } from "@mui/lab/Alert";
2
2
  import React from "react";
3
3
  export declare const Alert: (props: AlertProps) => React.JSX.Element;
@@ -1,4 +1,3 @@
1
1
  export * from "./ContextMenu";
2
2
  export * from "./useContextMenuMESF";
3
- export * from "./styles/ContextMenuStyles";
4
3
  export * from "./models/MenuOptionType";
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ export declare const ErrorLabel: ({ text }: {
3
+ text: string;
4
+ }) => React.JSX.Element;
@@ -28,7 +28,7 @@ interface ModalTreeFilterControlProps {
28
28
  onSuccess?: (value: boolean) => void;
29
29
  isLoading: boolean;
30
30
  mostUsedCount: number;
31
- itemsWithParent: String[];
31
+ sWithParent: String[];
32
32
  dialogMaxWidth: "xs" | "sm" | "md" | "lg" | "xl";
33
33
  allowSearch?: boolean;
34
34
  }
@@ -1,4 +1,3 @@
1
- export * from "./charts/genericChart";
2
1
  export * from "./filters/filters";
3
2
  export * from "./filters/dialogFilter";
4
3
  export * from "./tables/GenericTable";
@@ -38,4 +38,4 @@ type FilterPanelProps = {
38
38
  };
39
39
  declare const FilterPanel: (props: FilterPanelProps) => React.JSX.Element;
40
40
  declare const LongFilterPanel: (props: FilterPanelProps) => React.JSX.Element;
41
- export { GenericPanel, FilterPanel, MasterDetailPanel, LongFilterPanel };
41
+ export { FilterPanel, GenericPanel, LongFilterPanel, MasterDetailPanel };
@@ -1,2 +1,2 @@
1
- export declare const themeMESF: import("@material-ui/core").Theme;
1
+ export declare const themeMESF: import("@mui/material").Theme;
2
2
  export declare const themeDXT: import("ag-grid-community").Theme<import("ag-grid-community").CoreParams & import("ag-grid-community").ButtonStyleParams & import("ag-grid-community").CheckboxStyleParams & import("ag-grid-community").TabStyleParams & import("ag-grid-community").InputStyleParams & import("ag-grid-community").StyleMaterialParams & {}>;
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ import React, { type ReactNode } from "react";
2
2
  import { ConfigurationsType } from "./configurationMenu";
3
- declare const RouterContext: React.Context<React.ReactNode>;
3
+ declare const RouterContext: React.Context<() => ReactNode>;
4
4
  declare const ConfigurationContext: React.Context<ConfigurationsType>;
5
- declare const NavbarContext: React.Context<React.ReactNode>;
5
+ declare const NavbarContext: React.Context<() => ReactNode>;
6
6
  export { RouterContext, ConfigurationContext, NavbarContext };
package/dist/index.d.ts CHANGED
@@ -26,6 +26,9 @@ export * from "./MESFMain";
26
26
  export { logbookNavbar, logbookRoutesMESF } from "./pages/logbook";
27
27
  export { MESFLogbookEntry } from "./pages/logbook/entry/index";
28
28
  export { routeLogbookEntry } from "./pages/logbook/entry/LogbookPage";
29
+ export type { Entry } from "./pages/logbook/entry/models/Entry";
30
+ export { ENTRY_INITIAL_VALUES } from "./pages/logbook/entry/models/Entry";
31
+ export { getEntries } from "./pages/logbook/entry/repository/LogbookRepository";
29
32
  export { MESFLogbookReport } from "./pages/logbook/report/index";
30
33
  export { routeLogbookReport } from "./pages/logbook/report/LogbookPage";
31
34
  export * from "./pages/trendings/TrendingsPage";