aq-fe-framework 0.1.140 → 0.1.141
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-EMJGXIBV.mjs} +2 -14
- 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
|
|
@@ -7070,7 +7070,7 @@ function BasicAppShell_transformMenuToEnum(prefixProjectName, menu) {
|
|
7070
7070
|
return acc;
|
7071
7071
|
}, {});
|
7072
7072
|
}
|
7073
|
-
function BasicAppShell({ children, menu }) {
|
7073
|
+
function BasicAppShell({ children, menu, extraTopRight }) {
|
7074
7074
|
var _a, _b;
|
7075
7075
|
const basicAppShellStore = useS_BasicAppShell();
|
7076
7076
|
const media = useMediaQuery("(min-width: 72em)");
|
@@ -7162,19 +7162,7 @@ function BasicAppShell({ children, menu }) {
|
|
7162
7162
|
),
|
7163
7163
|
/* @__PURE__ */ jsx51(Text13, { c: "green", fw: "bold", size: "sm", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` }),
|
7164
7164
|
/* @__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
|
-
),
|
7165
|
+
extraTopRight,
|
7178
7166
|
/* @__PURE__ */ jsx51(MySwitchTheme, {})
|
7179
7167
|
] })
|
7180
7168
|
] })
|
@@ -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-EMJGXIBV.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
|
|