aq-fe-framework 0.1.214 → 0.1.216
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-BwcDlG28.d.mts → BasicAppShell-CGKvZ5wV.d.mts} +1 -0
- package/dist/{chunk-4LGIOYGW.mjs → chunk-EF6GAQ2S.mjs} +385 -340
- package/dist/components/index.d.mts +8 -6
- package/dist/components/index.mjs +2 -4
- package/dist/modules-features/index.d.mts +1 -1
- package/dist/modules-features/index.mjs +61 -7
- package/package.json +1 -1
@@ -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-CGKvZ5wV.mjs';
|
7
|
+
export { a as BasicAppShell, B as BasicAppShell_transformMenuToEnum, g as groupToTwoLevels, u as utils_layout_getItemsWithoutLinks } from '../BasicAppShell-CGKvZ5wV.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';
|
@@ -88,7 +88,6 @@ declare function MySwitchTheme(): react_jsx_runtime.JSX.Element | null;
|
|
88
88
|
declare function MyAppSpotlight({ menu }: {
|
89
89
|
menu: I_BasicAppShell_LinkItem[];
|
90
90
|
}): react_jsx_runtime.JSX.Element;
|
91
|
-
declare function SpotlightTrigger(): react_jsx_runtime.JSX.Element;
|
92
91
|
|
93
92
|
declare function MyAnchorViewPDF({ label, pdfLink }: {
|
94
93
|
label: string;
|
@@ -230,7 +229,7 @@ interface AQButtonPrintTableProps<TData extends MRT_RowData = any> extends React
|
|
230
229
|
}
|
231
230
|
declare function MyButtonPrintTablePDF<TData extends MRT_RowData = any>({ printConfig, data, ...rest }: AQButtonPrintTableProps<TData>): react_jsx_runtime.JSX.Element;
|
232
231
|
|
233
|
-
interface IMyButtonRouterBack extends
|
232
|
+
interface IMyButtonRouterBack extends ActionIconProps {
|
234
233
|
url?: string;
|
235
234
|
label?: string;
|
236
235
|
}
|
@@ -383,8 +382,11 @@ interface I$2 {
|
|
383
382
|
faviconFileDetail?: IAQFileDetail;
|
384
383
|
opened: boolean;
|
385
384
|
title: string;
|
385
|
+
note?: string;
|
386
386
|
groupMenuOpenId: string[];
|
387
387
|
menuCode?: string;
|
388
|
+
status?: string;
|
389
|
+
breadcrumb?: string[];
|
388
390
|
}
|
389
391
|
declare function useS_BasicAppShell(): {
|
390
392
|
toggle: () => void;
|
@@ -452,7 +454,7 @@ interface IPageContent {
|
|
452
454
|
leftTopBar?: ReactNode;
|
453
455
|
status?: "Prototype" | "Beta";
|
454
456
|
}
|
455
|
-
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar,
|
457
|
+
declare function MyPageContent({ leftTopBar, title, canBack, rightTopBar, children, }: IPageContent): react_jsx_runtime.JSX.Element;
|
456
458
|
|
457
459
|
interface ITab {
|
458
460
|
label: string;
|
@@ -507,4 +509,4 @@ interface IMySkeletonTable extends SkeletonProps {
|
|
507
509
|
}
|
508
510
|
declare function MySkeletonTable({ h }: IMySkeletonTable): react_jsx_runtime.JSX.Element;
|
509
511
|
|
510
|
-
export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, FaviconSetter, HeaderMegaMenu, type IAQCardProps, type IMyTextEditor, I_BasicAppShell_LinkItem, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardInformation, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyIconText, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps,
|
512
|
+
export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, FaviconSetter, HeaderMegaMenu, type IAQCardProps, type IMyTextEditor, I_BasicAppShell_LinkItem, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardInformation, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyIconText, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps, useHeaderMegaMenuStore, useS_BasicAppShell, useS_ButtonImport };
|
@@ -60,17 +60,16 @@ import {
|
|
60
60
|
MyTextInput,
|
61
61
|
SelectFieldModal,
|
62
62
|
SelectFileModal,
|
63
|
-
SpotlightTrigger,
|
64
63
|
groupToTwoLevels,
|
65
64
|
useHeaderMegaMenuStore,
|
66
65
|
useS_BasicAppShell,
|
67
66
|
useS_ButtonImport,
|
68
67
|
utils_layout_getItemsWithoutLinks
|
69
|
-
} from "../chunk-
|
68
|
+
} from "../chunk-EF6GAQ2S.mjs";
|
70
69
|
import "../chunk-ZFQT5ML6.mjs";
|
71
|
-
import "../chunk-Y3YGC5IH.mjs";
|
72
70
|
import "../chunk-5U2JSHSJ.mjs";
|
73
71
|
import "../chunk-7ZCOFATU.mjs";
|
72
|
+
import "../chunk-Y3YGC5IH.mjs";
|
74
73
|
import "../chunk-FWCSY2DS.mjs";
|
75
74
|
export {
|
76
75
|
AQButtonCreateByImportFile,
|
@@ -134,7 +133,6 @@ export {
|
|
134
133
|
MyTextInput,
|
135
134
|
SelectFieldModal,
|
136
135
|
SelectFileModal,
|
137
|
-
SpotlightTrigger,
|
138
136
|
groupToTwoLevels,
|
139
137
|
useHeaderMegaMenuStore,
|
140
138
|
useS_BasicAppShell,
|
@@ -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-CGKvZ5wV.mjs';
|
4
4
|
import { a as IBaseEntity, I as IAQModule } from '../IAQModule-XZYlbivW.mjs';
|
5
5
|
import { ReactNode } from 'react';
|
6
6
|
|
@@ -25,15 +25,12 @@ import {
|
|
25
25
|
useS_BasicAppShell,
|
26
26
|
useS_authenticate,
|
27
27
|
utils_layout_getItemsWithoutLinks
|
28
|
-
} from "../chunk-
|
28
|
+
} from "../chunk-EF6GAQ2S.mjs";
|
29
29
|
import {
|
30
30
|
baseAxios_default,
|
31
31
|
useQ_AQ_GetAQModule,
|
32
32
|
useQ_SkillCenter_GetAll
|
33
33
|
} from "../chunk-ZFQT5ML6.mjs";
|
34
|
-
import {
|
35
|
-
createGenericStore
|
36
|
-
} from "../chunk-Y3YGC5IH.mjs";
|
37
34
|
import {
|
38
35
|
U0DateToDDMMYYYString,
|
39
36
|
U0MyValidateEmail,
|
@@ -45,6 +42,9 @@ import "../chunk-5U2JSHSJ.mjs";
|
|
45
42
|
import {
|
46
43
|
utils_notification_show
|
47
44
|
} from "../chunk-7ZCOFATU.mjs";
|
45
|
+
import {
|
46
|
+
createGenericStore
|
47
|
+
} from "../chunk-Y3YGC5IH.mjs";
|
48
48
|
import {
|
49
49
|
__objRest,
|
50
50
|
__spreadProps,
|
@@ -1530,9 +1530,63 @@ var menuData = [
|
|
1530
1530
|
{
|
1531
1531
|
label: "Qu\u1EA3n l\xED h\u1EC7 th\u1ED1ng",
|
1532
1532
|
links: [
|
1533
|
-
{ pageId: 1, name: "Account management", label: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n", link: "core71678" },
|
1534
|
-
{ pageId: 2, name: "Access control level", label: "Ph\xE2n quy\u1EC1n c\u1EA5p \u0111\u01A1n v\u1ECB", link: "core38677" },
|
1535
|
-
{ pageId: 3, name: "Access control", label: "Ph\xE2n quy\u1EC1n s\u1EED d\u1EE5ng", link: "core83092" },
|
1533
|
+
{ pageId: 1, name: "Account management", label: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n", link: "core71678", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng", status: "Prototype" },
|
1534
|
+
{ pageId: 2, name: "Access control level", label: "Ph\xE2n quy\u1EC1n c\u1EA5p \u0111\u01A1n v\u1ECB", link: "core38677", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1535
|
+
{ pageId: 3, name: "Access control", label: "Ph\xE2n quy\u1EC1n s\u1EED d\u1EE5ng", link: "core83092", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1536
|
+
{ pageId: 4, name: "Security regulations", label: "Quy \u0111\u1ECBnh an to\xE0n/ b\u1EA3o m\u1EADt th\xF4ng tin", link: "core76318", status: "Default" },
|
1537
|
+
{ pageId: 5, name: "System updates", label: "Th\xF4ng tin x\xE2y d\u1EF1ng, c\u1EA3i ti\u1EBFn, b\u1EA3o tr\xEC h\u1EC7 th\u1ED1ng", link: "core16209", status: "Default" },
|
1538
|
+
{ pageId: 6, name: "User guide", label: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn s\u1EED d\u1EE5ng", link: "core40207", status: "Default" }
|
1539
|
+
]
|
1540
|
+
},
|
1541
|
+
{
|
1542
|
+
label: "V\u0103n b\u1EA3n - Quy \u0111\u1ECBnh",
|
1543
|
+
links: [
|
1544
|
+
{ pageId: 7, name: "Organizational regulations", label: "V\u0103n b\u1EA3n - Quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", link: "core26965", status: "Default" },
|
1545
|
+
{ pageId: 8, name: "Workflow process", label: "Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c", link: "core27311", status: "Default" },
|
1546
|
+
{ pageId: 9, name: "Form templates", label: "T\xE0i li\u1EC7u bi\u1EC3u m\u1EABu", link: "core12196", status: "Default" }
|
1547
|
+
]
|
1548
|
+
},
|
1549
|
+
{
|
1550
|
+
label: "Danh m\u1EE5c h\u1EC7 th\u1ED1ng ",
|
1551
|
+
links: [
|
1552
|
+
{ pageId: 0, name: "Document categories", label: "Danh m\u1EE5c lo\u1EA1i v\u0103n b\u1EA3n", link: "core18256" },
|
1553
|
+
{ pageId: 0, name: "", label: "Danh m\u1EE5c c\u1EA5u h\xECnh mail", link: "core64229", status: "Default" },
|
1554
|
+
{ pageId: 0, name: "", label: "C\u1EA5u h\xECnh th\xF4ng tin ch\u1EE7 qu\u1EA3n", link: "core60524", status: "Default" }
|
1555
|
+
]
|
1556
|
+
},
|
1557
|
+
{
|
1558
|
+
label: "Qu\u1EA3n l\xED h\u1EC7 th\u1ED1ng",
|
1559
|
+
links: [
|
1560
|
+
{ pageId: 1, name: "Account management", label: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n", link: "core71678", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng", status: "Prototype" },
|
1561
|
+
{ pageId: 2, name: "Access control level", label: "Ph\xE2n quy\u1EC1n c\u1EA5p \u0111\u01A1n v\u1ECB", link: "core38677", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1562
|
+
{ pageId: 3, name: "Access control", label: "Ph\xE2n quy\u1EC1n s\u1EED d\u1EE5ng", link: "core83092", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1563
|
+
{ pageId: 4, name: "Security regulations", label: "Quy \u0111\u1ECBnh an to\xE0n/ b\u1EA3o m\u1EADt th\xF4ng tin", link: "core76318", status: "Default" },
|
1564
|
+
{ pageId: 5, name: "System updates", label: "Th\xF4ng tin x\xE2y d\u1EF1ng, c\u1EA3i ti\u1EBFn, b\u1EA3o tr\xEC h\u1EC7 th\u1ED1ng", link: "core16209", status: "Default" },
|
1565
|
+
{ pageId: 6, name: "User guide", label: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn s\u1EED d\u1EE5ng", link: "core40207", status: "Default" }
|
1566
|
+
]
|
1567
|
+
},
|
1568
|
+
{
|
1569
|
+
label: "V\u0103n b\u1EA3n - Quy \u0111\u1ECBnh",
|
1570
|
+
links: [
|
1571
|
+
{ pageId: 7, name: "Organizational regulations", label: "V\u0103n b\u1EA3n - Quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", link: "core26965", status: "Default" },
|
1572
|
+
{ pageId: 8, name: "Workflow process", label: "Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c", link: "core27311", status: "Default" },
|
1573
|
+
{ pageId: 9, name: "Form templates", label: "T\xE0i li\u1EC7u bi\u1EC3u m\u1EABu", link: "core12196", status: "Default" }
|
1574
|
+
]
|
1575
|
+
},
|
1576
|
+
{
|
1577
|
+
label: "Danh m\u1EE5c h\u1EC7 th\u1ED1ng ",
|
1578
|
+
links: [
|
1579
|
+
{ pageId: 0, name: "Document categories", label: "Danh m\u1EE5c lo\u1EA1i v\u0103n b\u1EA3n", link: "core18256" },
|
1580
|
+
{ pageId: 0, name: "", label: "Danh m\u1EE5c c\u1EA5u h\xECnh mail", link: "core64229", status: "Default" },
|
1581
|
+
{ pageId: 0, name: "", label: "C\u1EA5u h\xECnh th\xF4ng tin ch\u1EE7 qu\u1EA3n", link: "core60524", status: "Default" }
|
1582
|
+
]
|
1583
|
+
},
|
1584
|
+
{
|
1585
|
+
label: "Qu\u1EA3n l\xED h\u1EC7 th\u1ED1ng",
|
1586
|
+
links: [
|
1587
|
+
{ pageId: 1, name: "Account management", label: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n", link: "core71678", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng", status: "Prototype" },
|
1588
|
+
{ pageId: 2, name: "Access control level", label: "Ph\xE2n quy\u1EC1n c\u1EA5p \u0111\u01A1n v\u1ECB", link: "core38677", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1589
|
+
{ pageId: 3, name: "Access control", label: "Ph\xE2n quy\u1EC1n s\u1EED d\u1EE5ng", link: "core83092", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1536
1590
|
{ pageId: 4, name: "Security regulations", label: "Quy \u0111\u1ECBnh an to\xE0n/ b\u1EA3o m\u1EADt th\xF4ng tin", link: "core76318", status: "Default" },
|
1537
1591
|
{ pageId: 5, name: "System updates", label: "Th\xF4ng tin x\xE2y d\u1EF1ng, c\u1EA3i ti\u1EBFn, b\u1EA3o tr\xEC h\u1EC7 th\u1ED1ng", link: "core16209", status: "Default" },
|
1538
1592
|
{ pageId: 6, name: "User guide", label: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn s\u1EED d\u1EE5ng", link: "core40207", status: "Default" }
|