aq-fe-framework 0.1.185 → 0.1.187
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/dist/{BasicAppShell-DRQbwDjA.d.mts → BasicAppShell-BwcDlG28.d.mts} +2 -1
- package/dist/{chunk-V4JDSZEY.mjs → chunk-OO7HLWU7.mjs} +2 -2
- package/dist/{chunk-KWCUUD5Z.mjs → chunk-R64376EI.mjs} +1 -0
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/modules-features/index.d.mts +1 -1
- package/dist/modules-features/index.mjs +2 -2
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
@@ -14,8 +14,9 @@ interface BasicAppShellProps {
|
|
14
14
|
children: ReactNode;
|
15
15
|
menu: I_BasicAppShell_LinkItem[];
|
16
16
|
extraTopRight?: ReactNode;
|
17
|
+
title?: string;
|
17
18
|
}
|
18
|
-
declare function BasicAppShell({ children, menu, extraTopRight }: BasicAppShellProps): react_jsx_runtime.JSX.Element;
|
19
|
+
declare function BasicAppShell({ children, menu, extraTopRight, title }: BasicAppShellProps): react_jsx_runtime.JSX.Element;
|
19
20
|
declare const groupToTwoLevels: (menu: I_BasicAppShell_LinkItem[]) => I_BasicAppShell_LinkItem[];
|
20
21
|
declare function utils_layout_getItemsWithoutLinks(menu: I_BasicAppShell_LinkItem[]): I_BasicAppShell_LinkItem[];
|
21
22
|
|
@@ -7066,7 +7066,7 @@ function BasicAppShell_transformMenuToEnum(prefixProjectName, menu) {
|
|
7066
7066
|
return acc;
|
7067
7067
|
}, {});
|
7068
7068
|
}
|
7069
|
-
function BasicAppShell({ children, menu, extraTopRight }) {
|
7069
|
+
function BasicAppShell({ children, menu, extraTopRight, title }) {
|
7070
7070
|
var _a, _b;
|
7071
7071
|
const basicAppShellStore = useS_BasicAppShell();
|
7072
7072
|
const media = useMediaQuery("(min-width: 72em)");
|
@@ -7143,7 +7143,7 @@ function BasicAppShell({ children, menu, extraTopRight }) {
|
|
7143
7143
|
children: basicAppShellStore.state.opened ? /* @__PURE__ */ jsx51(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx51(IconLayoutSidebarLeftCollapse, {})
|
7144
7144
|
}
|
7145
7145
|
),
|
7146
|
-
/* @__PURE__ */ jsx51(Text13, { c: "green", fw: "bold", size: "sm", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` }),
|
7146
|
+
/* @__PURE__ */ jsx51(Text13, { c: "green", fw: "bold", size: "sm", children: title ? title : `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` }),
|
7147
7147
|
/* @__PURE__ */ jsxs27(Group13, { children: [
|
7148
7148
|
extraTopRight,
|
7149
7149
|
/* @__PURE__ */ jsx51(MySwitchTheme, {})
|
@@ -38,6 +38,7 @@ function U0DateToDDMMYYYString(date) {
|
|
38
38
|
return `${day}/${month}/${year}`;
|
39
39
|
}
|
40
40
|
function utils_date_dateToDDMMYYYString(date) {
|
41
|
+
if (!(date instanceof Date) || isNaN(date.getTime())) return "";
|
41
42
|
const day = String(date.getDate()).padStart(2, "0");
|
42
43
|
const month = String(date.getMonth() + 1).padStart(2, "0");
|
43
44
|
const year = date.getFullYear();
|
@@ -3,8 +3,8 @@ import React$1, { ReactNode, ComponentProps } from 'react';
|
|
3
3
|
import { MantineSize, ActionIconProps, ButtonProps, useModalsStack, CheckboxProps, SelectProps, NumberFormatterProps, FieldsetProps, FileInputProps, NumberInputProps, TextareaProps, TextInputProps, ContainerProps, FlexProps, GroupProps, TypographyStylesProviderProps, TabsProps, SkeletonProps } from '@mantine/core';
|
4
4
|
import { useDisclosure, useListState } from '@mantine/hooks';
|
5
5
|
import { UseFormReturnType, useForm } from '@mantine/form';
|
6
|
-
import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-
|
7
|
-
export { a as BasicAppShell, B as BasicAppShell_transformMenuToEnum, g as groupToTwoLevels, u as utils_layout_getItemsWithoutLinks } from '../BasicAppShell-
|
6
|
+
import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-BwcDlG28.mjs';
|
7
|
+
export { a as BasicAppShell, B as BasicAppShell_transformMenuToEnum, g as groupToTwoLevels, u as utils_layout_getItemsWithoutLinks } from '../BasicAppShell-BwcDlG28.mjs';
|
8
8
|
import { I as IUtils_Excel_ColumnConfig, a as IAQFileDetail } from '../utils_file-DAglO3jY.mjs';
|
9
9
|
import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
|
10
10
|
import { ConfigOptions } from 'export-to-csv';
|
@@ -66,7 +66,7 @@ import {
|
|
66
66
|
useS_BasicAppShell,
|
67
67
|
useS_ButtonImport,
|
68
68
|
utils_layout_getItemsWithoutLinks
|
69
|
-
} from "../chunk-
|
69
|
+
} from "../chunk-OO7HLWU7.mjs";
|
70
70
|
import "../chunk-Z6OQG54Q.mjs";
|
71
71
|
import "../chunk-Y3YGC5IH.mjs";
|
72
72
|
import "../chunk-5U2JSHSJ.mjs";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
2
|
import { SelectProps } from '@mantine/core';
|
3
|
-
import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-
|
3
|
+
import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-BwcDlG28.mjs';
|
4
4
|
import { a as IBaseEntity, I as IAQModule } from '../IAQModule-XZYlbivW.mjs';
|
5
5
|
import { ReactNode } from 'react';
|
6
6
|
|
@@ -25,7 +25,7 @@ import {
|
|
25
25
|
useS_BasicAppShell,
|
26
26
|
useS_authenticate,
|
27
27
|
utils_layout_getItemsWithoutLinks
|
28
|
-
} from "../chunk-
|
28
|
+
} from "../chunk-OO7HLWU7.mjs";
|
29
29
|
import {
|
30
30
|
baseAxios_default,
|
31
31
|
useQ_AQ_GetAQModule
|
@@ -38,7 +38,7 @@ import {
|
|
38
38
|
U0MyValidateEmail,
|
39
39
|
utils_converter_enumToSelectOptions,
|
40
40
|
utils_file_fileToAQDocumentType
|
41
|
-
} from "../chunk-
|
41
|
+
} from "../chunk-R64376EI.mjs";
|
42
42
|
import "../chunk-5U2JSHSJ.mjs";
|
43
43
|
import {
|
44
44
|
utils_notification_show
|
package/dist/utils/index.mjs
CHANGED
@@ -15,7 +15,7 @@ import {
|
|
15
15
|
utils_file_fileToAQDocumentType,
|
16
16
|
utils_time_convertTimeStringToSeconds,
|
17
17
|
utils_time_getCurrentTimeString
|
18
|
-
} from "../chunk-
|
18
|
+
} from "../chunk-R64376EI.mjs";
|
19
19
|
import {
|
20
20
|
utils_pdf_download
|
21
21
|
} from "../chunk-5U2JSHSJ.mjs";
|