@dexteel/mesf-core 7.8.1 → 7.10.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.
Files changed (54) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +14 -0
  3. package/dist/controls/section-selector/SectionMultiSelect.d.ts +11 -0
  4. package/dist/controls/section-selector/SectionSelector.d.ts +11 -0
  5. package/dist/controls/section-selector/hooks/index.d.ts +2 -0
  6. package/dist/controls/section-selector/hooks/useSections.d.ts +7 -0
  7. package/dist/controls/section-selector/hooks/useTopSections.d.ts +6 -0
  8. package/dist/controls/section-selector/index.d.ts +5 -0
  9. package/dist/controls/section-selector/models/Section.d.ts +22 -0
  10. package/dist/controls/section-selector/repositories/SectionRepository.d.ts +16 -0
  11. package/dist/index.d.ts +1 -0
  12. package/dist/index.esm.js +3129 -347
  13. package/dist/index.esm.js.map +1 -1
  14. package/dist/pages/section-logbook/entry/LogbookPage.d.ts +3 -0
  15. package/dist/pages/section-logbook/entry/components/Logbook.d.ts +2 -0
  16. package/dist/pages/section-logbook/entry/components/attachments/AttachmentModal.d.ts +12 -0
  17. package/dist/pages/section-logbook/entry/components/attachments/AttachmentPlugin.d.ts +15 -0
  18. package/dist/pages/section-logbook/entry/components/attachments/DeleteAttachmentConfirmationDialog.d.ts +9 -0
  19. package/dist/pages/section-logbook/entry/components/dialog/DeleteEntryDialog.d.ts +9 -0
  20. package/dist/pages/section-logbook/entry/components/entry-viewer/ContentInput.d.ts +16 -0
  21. package/dist/pages/section-logbook/entry/components/entry-viewer/EntryViewer.d.ts +17 -0
  22. package/dist/pages/section-logbook/entry/components/filters/filters.d.ts +10 -0
  23. package/dist/pages/section-logbook/entry/hooks/useEntries.d.ts +8 -0
  24. package/dist/pages/section-logbook/entry/hooks/useEntrySubmission.d.ts +34 -0
  25. package/dist/pages/section-logbook/entry/hooks/useLogbookEntryOptionsFunctions.d.ts +12 -0
  26. package/dist/pages/section-logbook/entry/hooks/useTableData.d.ts +10 -0
  27. package/dist/pages/section-logbook/entry/index.d.ts +2 -0
  28. package/dist/pages/section-logbook/entry/models/Entry.d.ts +22 -0
  29. package/dist/pages/section-logbook/entry/models/EntryAttachment.d.ts +20 -0
  30. package/dist/pages/section-logbook/entry/repository/LogbookRepository.d.ts +34 -0
  31. package/dist/pages/section-logbook/index.d.ts +22 -0
  32. package/dist/pages/section-logbook/report/LogbookPage.d.ts +3 -0
  33. package/dist/pages/section-logbook/report/components/Logbook.d.ts +2 -0
  34. package/dist/pages/section-logbook/report/components/entry-viewer/EntryViewer.d.ts +13 -0
  35. package/dist/pages/section-logbook/report/components/filters/filters.d.ts +14 -0
  36. package/dist/pages/section-logbook/report/hooks/useEntriesReport.d.ts +10 -0
  37. package/dist/pages/section-logbook/report/hooks/useTableData.d.ts +8 -0
  38. package/dist/pages/section-logbook/report/index.d.ts +2 -0
  39. package/dist/pages/section-logbook/report/repository/LogbookRepository.d.ts +8 -0
  40. package/dist/pages/section-logbook/shared/LogbookSectionPage.d.ts +2 -0
  41. package/dist/pages/section-logbook/shared/components/LogbookSection.d.ts +2 -0
  42. package/dist/pages/section-logbook/shared/components/entry-viewer/SectionEntryViewer.d.ts +14 -0
  43. package/dist/pages/section-logbook/shared/components/entry-viewer/index.d.ts +1 -0
  44. package/dist/pages/section-logbook/shared/components/filters/SectionFilters.d.ts +15 -0
  45. package/dist/pages/section-logbook/shared/components/filters/index.d.ts +1 -0
  46. package/dist/pages/section-logbook/shared/hooks/index.d.ts +2 -0
  47. package/dist/pages/section-logbook/shared/hooks/useSectionEntries.d.ts +7 -0
  48. package/dist/pages/section-logbook/shared/hooks/useTableData.d.ts +11 -0
  49. package/dist/pages/section-logbook/shared/index.d.ts +6 -0
  50. package/dist/pages/section-logbook/shared/models/SectionEntry.d.ts +16 -0
  51. package/dist/pages/section-logbook/shared/repository/SectionRepository.d.ts +25 -0
  52. package/dist/pages/section-logbook/useGridDefinitions.d.ts +9 -0
  53. package/dist/reducers/LogbookSettingsReducer.d.ts +11 -0
  54. package/package.json +2 -2
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "7.8.1"
2
+ ".": "7.10.0"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [7.10.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.9.0...@dexteel/mesf-core-v7.10.0) (2025-12-29)
4
+
5
+
6
+ ### Features
7
+
8
+ * **logbook:** add resizable panels with localStorage persistence ([6e4be73](https://github.com/dexteel/mesf-core-frontend/commit/6e4be73de1e819ea77685cb428c84eec262fcb5c))
9
+
10
+ ## [7.9.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.8.1...@dexteel/mesf-core-v7.9.0) (2025-12-26)
11
+
12
+
13
+ ### Features
14
+
15
+ * **logbook:** add section-logbook module with section filtering and top sections chips ([#578](https://github.com/dexteel/mesf-core-frontend/issues/578)) ([a5f7929](https://github.com/dexteel/mesf-core-frontend/commit/a5f792930062cdb0ab468e9fc23bca6c7f3c7344))
16
+
3
17
  ## [7.8.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.8.0...@dexteel/mesf-core-v7.8.1) (2025-12-22)
4
18
 
5
19
 
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import type { Section } from "./models/Section";
3
+ type Props = {
4
+ value: Section[];
5
+ onChange: (sections: Section[]) => void;
6
+ topSectionsCount?: number;
7
+ disabled?: boolean;
8
+ label?: string;
9
+ };
10
+ export declare const SectionMultiSelect: ({ value, onChange, topSectionsCount, disabled, label, }: Props) => React.JSX.Element;
11
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import type { Section } from "./models/Section";
3
+ type Props = {
4
+ value: Section | null;
5
+ onChange: (section: Section | null) => void;
6
+ topSectionsCount?: number;
7
+ disabled?: boolean;
8
+ label?: string;
9
+ };
10
+ export declare const SectionSelector: ({ value, onChange, topSectionsCount, disabled, label, }: Props) => React.JSX.Element;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ export { useTopSections } from "./useTopSections";
2
+ export { useSections } from "./useSections";
@@ -0,0 +1,7 @@
1
+ import type { Section } from "../models/Section";
2
+ type UseSectionsProps = {
3
+ searchText?: string | null;
4
+ enabled?: boolean;
5
+ };
6
+ export declare const useSections: ({ searchText, enabled, }?: UseSectionsProps) => import("@tanstack/react-query").UseQueryResult<Section[], Error>;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ import type { TopSection } from "../models/Section";
2
+ type UseTopSectionsProps = {
3
+ top?: number;
4
+ };
5
+ export declare const useTopSections: ({ top }?: UseTopSectionsProps) => import("@tanstack/react-query").UseQueryResult<TopSection[], Error>;
6
+ export {};
@@ -0,0 +1,5 @@
1
+ export { SectionSelector } from "./SectionSelector";
2
+ export { SectionMultiSelect } from "./SectionMultiSelect";
3
+ export type { Section, SectionFamily, TopSection } from "./models/Section";
4
+ export { getSections, getSectionFamilies, getTopUsedSections, } from "./repositories/SectionRepository";
5
+ export { useTopSections, useSections } from "./hooks";
@@ -0,0 +1,22 @@
1
+ export interface SectionFamily {
2
+ SectionFamilyId: number;
3
+ SectionFamilyName: string;
4
+ Description: string | null;
5
+ SortOrder: number | null;
6
+ IsActive: boolean;
7
+ SectionCount?: number;
8
+ }
9
+ export interface Section {
10
+ SectionId: number;
11
+ SectionName: string;
12
+ SectionFamilyId: number;
13
+ SectionFamilyName: string;
14
+ Description: string | null;
15
+ SortOrder: number | null;
16
+ IsActive: boolean;
17
+ EntryCount?: number;
18
+ }
19
+ export interface TopSection extends Section {
20
+ UsageCount: number;
21
+ LastUsedTimestamp: Date | null;
22
+ }
@@ -0,0 +1,16 @@
1
+ import type { Section, SectionFamily, TopSection } from "../models/Section";
2
+ export declare const getSectionFamilies: ({ schema, signal, }: {
3
+ schema?: string;
4
+ signal?: AbortSignal;
5
+ }) => Promise<SectionFamily[]>;
6
+ export declare const getSections: ({ schema, sectionFamilyId, searchText, signal, }: {
7
+ schema?: string;
8
+ sectionFamilyId?: number | null;
9
+ searchText?: string | null;
10
+ signal?: AbortSignal;
11
+ }) => Promise<Section[]>;
12
+ export declare const getTopUsedSections: ({ schema, top, signal, }: {
13
+ schema?: string;
14
+ top?: number;
15
+ signal?: AbortSignal;
16
+ }) => Promise<TopSection[]>;
package/dist/index.d.ts CHANGED
@@ -25,6 +25,7 @@ export { HelmetDexteel } from "./helmet/HelmetDexteel";
25
25
  export * from "./hooks/useMesfRealtime";
26
26
  export * from "./MESFMain";
27
27
  export { logbookNavbar, logbookRoutesMESF } from "./pages/logbook";
28
+ export { sectionLogbookNavbar, sectionLogbookRoutesMESF, } from "./pages/section-logbook";
28
29
  export { MESFLogbookEntry } from "./pages/logbook/entry/index";
29
30
  export { routeLogbookEntry } from "./pages/logbook/entry/LogbookPage";
30
31
  export type { Entry } from "./pages/logbook/entry/models/Entry";