@dexteel/mesf-core 7.8.0 → 7.9.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 +15 -0
- package/dist/controls/section-selector/SectionMultiSelect.d.ts +11 -0
- package/dist/controls/section-selector/SectionSelector.d.ts +11 -0
- package/dist/controls/section-selector/hooks/index.d.ts +2 -0
- package/dist/controls/section-selector/hooks/useSections.d.ts +7 -0
- package/dist/controls/section-selector/hooks/useTopSections.d.ts +6 -0
- package/dist/controls/section-selector/index.d.ts +5 -0
- package/dist/controls/section-selector/models/Section.d.ts +22 -0
- package/dist/controls/section-selector/repositories/SectionRepository.d.ts +16 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +2884 -288
- package/dist/index.esm.js.map +1 -1
- package/dist/pages/section-logbook/entry/LogbookPage.d.ts +3 -0
- package/dist/pages/section-logbook/entry/components/Logbook.d.ts +2 -0
- package/dist/pages/section-logbook/entry/components/attachments/AttachmentModal.d.ts +12 -0
- package/dist/pages/section-logbook/entry/components/attachments/AttachmentPlugin.d.ts +15 -0
- package/dist/pages/section-logbook/entry/components/attachments/DeleteAttachmentConfirmationDialog.d.ts +9 -0
- package/dist/pages/section-logbook/entry/components/dialog/DeleteEntryDialog.d.ts +9 -0
- package/dist/pages/section-logbook/entry/components/entry-viewer/ContentInput.d.ts +16 -0
- package/dist/pages/section-logbook/entry/components/entry-viewer/EntryViewer.d.ts +17 -0
- package/dist/pages/section-logbook/entry/components/filters/filters.d.ts +10 -0
- package/dist/pages/section-logbook/entry/hooks/useEntries.d.ts +8 -0
- package/dist/pages/section-logbook/entry/hooks/useEntrySubmission.d.ts +34 -0
- package/dist/pages/section-logbook/entry/hooks/useLogbookEntryOptionsFunctions.d.ts +12 -0
- package/dist/pages/section-logbook/entry/hooks/useTableData.d.ts +10 -0
- package/dist/pages/section-logbook/entry/index.d.ts +2 -0
- package/dist/pages/section-logbook/entry/models/Entry.d.ts +22 -0
- package/dist/pages/section-logbook/entry/models/EntryAttachment.d.ts +20 -0
- package/dist/pages/section-logbook/entry/repository/LogbookRepository.d.ts +34 -0
- package/dist/pages/section-logbook/index.d.ts +22 -0
- package/dist/pages/section-logbook/report/LogbookPage.d.ts +3 -0
- package/dist/pages/section-logbook/report/components/Logbook.d.ts +2 -0
- package/dist/pages/section-logbook/report/components/entry-viewer/EntryViewer.d.ts +13 -0
- package/dist/pages/section-logbook/report/components/filters/filters.d.ts +14 -0
- package/dist/pages/section-logbook/report/hooks/useEntriesReport.d.ts +10 -0
- package/dist/pages/section-logbook/report/hooks/useTableData.d.ts +8 -0
- package/dist/pages/section-logbook/report/index.d.ts +2 -0
- package/dist/pages/section-logbook/report/repository/LogbookRepository.d.ts +8 -0
- package/dist/pages/section-logbook/shared/LogbookSectionPage.d.ts +2 -0
- package/dist/pages/section-logbook/shared/components/LogbookSection.d.ts +2 -0
- package/dist/pages/section-logbook/shared/components/entry-viewer/SectionEntryViewer.d.ts +14 -0
- package/dist/pages/section-logbook/shared/components/entry-viewer/index.d.ts +1 -0
- package/dist/pages/section-logbook/shared/components/filters/SectionFilters.d.ts +15 -0
- package/dist/pages/section-logbook/shared/components/filters/index.d.ts +1 -0
- package/dist/pages/section-logbook/shared/hooks/index.d.ts +2 -0
- package/dist/pages/section-logbook/shared/hooks/useSectionEntries.d.ts +7 -0
- package/dist/pages/section-logbook/shared/hooks/useTableData.d.ts +11 -0
- package/dist/pages/section-logbook/shared/index.d.ts +6 -0
- package/dist/pages/section-logbook/shared/models/SectionEntry.d.ts +16 -0
- package/dist/pages/section-logbook/shared/repository/SectionRepository.d.ts +25 -0
- package/dist/pages/section-logbook/useGridDefinitions.d.ts +9 -0
- package/dist/reducers/LogbookSettingsReducer.d.ts +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **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))
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **Create User:** enhance user creation process with password and profile management ([9400641](https://github.com/dexteel/mesf-core-frontend/commit/94006418d13d944364cacf410a94b385f48b6140))
|
|
16
|
+
* **Edit User:** streamline user update process and improve profile ID handling ([f1397e5](https://github.com/dexteel/mesf-core-frontend/commit/f1397e58496fa8e9f4d10bd4a4d84db2af3c08e8))
|
|
17
|
+
|
|
3
18
|
## [7.8.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.7.0...@dexteel/mesf-core-v7.8.0) (2025-12-22)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -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,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,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";
|