aq-fe-framework 0.1.140 → 0.1.142
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-CGIz9MsN.d.mts → BasicAppShell-DRQbwDjA.d.mts} +4 -2
- package/dist/{chunk-6OPAZECG.mjs → chunk-A2YHFDYY.mjs} +3 -28
- 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 +1 -1
- package/package.json +1 -1
@@ -10,10 +10,12 @@ interface I_BasicAppShell_LinkItem {
|
|
10
10
|
links?: I_BasicAppShell_LinkItem[];
|
11
11
|
}
|
12
12
|
declare function BasicAppShell_transformMenuToEnum(prefixProjectName: string, menu: I_BasicAppShell_LinkItem[]): Record<string, number>;
|
13
|
-
|
13
|
+
interface BasicAppShellProps {
|
14
14
|
children: ReactNode;
|
15
15
|
menu: I_BasicAppShell_LinkItem[];
|
16
|
-
|
16
|
+
extraTopRight?: ReactNode;
|
17
|
+
}
|
18
|
+
declare function BasicAppShell({ children, menu, extraTopRight }: BasicAppShellProps): react_jsx_runtime.JSX.Element;
|
17
19
|
declare const groupToTwoLevels: (menu: I_BasicAppShell_LinkItem[]) => I_BasicAppShell_LinkItem[];
|
18
20
|
declare function utils_layout_getItemsWithoutLinks(menu: I_BasicAppShell_LinkItem[]): I_BasicAppShell_LinkItem[];
|
19
21
|
|
@@ -6940,7 +6940,6 @@ import {
|
|
6940
6940
|
Image as Image3,
|
6941
6941
|
NavLink,
|
6942
6942
|
ScrollArea as ScrollArea3,
|
6943
|
-
Select as Select3,
|
6944
6943
|
Text as Text13,
|
6945
6944
|
TextInput as TextInput2,
|
6946
6945
|
Tooltip as Tooltip5
|
@@ -7070,7 +7069,7 @@ function BasicAppShell_transformMenuToEnum(prefixProjectName, menu) {
|
|
7070
7069
|
return acc;
|
7071
7070
|
}, {});
|
7072
7071
|
}
|
7073
|
-
function BasicAppShell({ children, menu }) {
|
7072
|
+
function BasicAppShell({ children, menu, extraTopRight }) {
|
7074
7073
|
var _a, _b;
|
7075
7074
|
const basicAppShellStore = useS_BasicAppShell();
|
7076
7075
|
const media = useMediaQuery("(min-width: 72em)");
|
@@ -7132,19 +7131,7 @@ function BasicAppShell({ children, menu }) {
|
|
7132
7131
|
}
|
7133
7132
|
),
|
7134
7133
|
/* @__PURE__ */ jsxs28(Group13, { children: [
|
7135
|
-
|
7136
|
-
/* @__PURE__ */ jsx51(
|
7137
|
-
Select3,
|
7138
|
-
{
|
7139
|
-
w: selectMedia ? 245 : 150,
|
7140
|
-
placeholder: "Ch\u1ECDn c\xF4ng th\u1EE9c s\u1EAFp x\u1EBFp",
|
7141
|
-
defaultValue: 1 == null ? void 0 : 1 .toString(),
|
7142
|
-
data: [
|
7143
|
-
{ value: "1", label: "N\u0103m h\u1ECDc 2024 - 2025 H\u1ECDc k\u1EF3 1" },
|
7144
|
-
{ value: "2", label: "N\u0103m h\u1ECDc 2024 - 2025 H\u1ECDc k\u1EF3 1" }
|
7145
|
-
]
|
7146
|
-
}
|
7147
|
-
),
|
7134
|
+
extraTopRight,
|
7148
7135
|
/* @__PURE__ */ jsx51(MySwitchTheme, {})
|
7149
7136
|
] })
|
7150
7137
|
] }) : (
|
@@ -7162,19 +7149,7 @@ function BasicAppShell({ children, menu }) {
|
|
7162
7149
|
),
|
7163
7150
|
/* @__PURE__ */ jsx51(Text13, { c: "green", fw: "bold", size: "sm", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` }),
|
7164
7151
|
/* @__PURE__ */ jsxs28(Group13, { children: [
|
7165
|
-
|
7166
|
-
Select3,
|
7167
|
-
{
|
7168
|
-
w: 100,
|
7169
|
-
size: "xs",
|
7170
|
-
placeholder: "H\u1ECDc k\u1EF3",
|
7171
|
-
defaultValue: 1 == null ? void 0 : 1 .toString(),
|
7172
|
-
data: [
|
7173
|
-
{ value: "1", label: "20241" },
|
7174
|
-
{ value: "2", label: "20242" }
|
7175
|
-
]
|
7176
|
-
}
|
7177
|
-
),
|
7152
|
+
extraTopRight,
|
7178
7153
|
/* @__PURE__ */ jsx51(MySwitchTheme, {})
|
7179
7154
|
] })
|
7180
7155
|
] })
|
@@ -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-DRQbwDjA.mjs';
|
7
|
+
export { a as BasicAppShell, B as BasicAppShell_transformMenuToEnum, g as groupToTwoLevels, u as utils_layout_getItemsWithoutLinks } from '../BasicAppShell-DRQbwDjA.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-A2YHFDYY.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-DRQbwDjA.mjs';
|
4
4
|
import { a as IBaseEntity, I as IAQModule } from '../IAQModule-XZYlbivW.mjs';
|
5
5
|
import { ReactNode } from 'react';
|
6
6
|
|