aq-fe-framework 0.1.85 → 0.1.87

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.
@@ -0,0 +1,20 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+
4
+ interface I_BasicAppShell_LinkItem {
5
+ pageId?: number;
6
+ name?: string;
7
+ label: string;
8
+ status?: "Default" | "Prototype" | "New" | "Menu" | "Change";
9
+ link?: string;
10
+ links?: I_BasicAppShell_LinkItem[];
11
+ }
12
+ declare function BasicAppShell_transformMenuToEnum(prefixProjectName: string, menu: I_BasicAppShell_LinkItem[]): Record<string, number>;
13
+ declare function BasicAppShell({ children, menu }: {
14
+ children: ReactNode;
15
+ menu: I_BasicAppShell_LinkItem[];
16
+ }): react_jsx_runtime.JSX.Element;
17
+ declare const groupToTwoLevels: (menu: I_BasicAppShell_LinkItem[]) => I_BasicAppShell_LinkItem[];
18
+ declare function utils_layout_getItemsWithoutLinks(menu: I_BasicAppShell_LinkItem[]): I_BasicAppShell_LinkItem[];
19
+
20
+ export { BasicAppShell_transformMenuToEnum as B, type I_BasicAppShell_LinkItem as I, BasicAppShell as a, groupToTwoLevels as g, utils_layout_getItemsWithoutLinks as u };
@@ -7512,6 +7512,15 @@ function F_core12196_Create({ FormTypeId }) {
7512
7512
  // src/modules-features/admin/core/core12196/F_core12196.tsx
7513
7513
  import { Paper as Paper7, Space as Space5 } from "@mantine/core";
7514
7514
  import { jsx as jsx62, jsxs as jsxs34 } from "react/jsx-runtime";
7515
+ function F_core12196({
7516
+ FormTypeId
7517
+ }) {
7518
+ return /* @__PURE__ */ jsxs34(Paper7, { p: "md", children: [
7519
+ /* @__PURE__ */ jsx62(MyFlexEnd, { children: /* @__PURE__ */ jsx62(F_core12196_Create, { FormTypeId }) }),
7520
+ /* @__PURE__ */ jsx62(Space5, {}),
7521
+ /* @__PURE__ */ jsx62(F_core12196_Read, { FormTypeId })
7522
+ ] });
7523
+ }
7515
7524
 
7516
7525
  // src/modules-features/admin/core/core16209/F_core16209.tsx
7517
7526
  import { useQuery as useQuery5 } from "@tanstack/react-query";
@@ -8027,6 +8036,22 @@ function F_core27311({
8027
8036
  // src/modules-features/admin/core/core35923/F_core35923.tsx
8028
8037
  import { Grid } from "@mantine/core";
8029
8038
  import { jsx as jsx82, jsxs as jsxs50 } from "react/jsx-runtime";
8039
+ function F_core35923() {
8040
+ return /* @__PURE__ */ jsxs50(MyFieldset, { title: "C\u1EADp nh\u1EADt th\xF4ng tin \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n", children: [
8041
+ /* @__PURE__ */ jsxs50(Grid, { children: [
8042
+ /* @__PURE__ */ jsx82(Grid.Col, { span: { base: 12, md: 5 }, children: /* @__PURE__ */ jsx82(MyTextInput, { label: "M\xE3 module", disabled: true }) }),
8043
+ /* @__PURE__ */ jsx82(Grid.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx82(MyTextInput, { label: "T\xEAn module" }) }),
8044
+ /* @__PURE__ */ jsx82(Grid.Col, { span: 12, children: /* @__PURE__ */ jsx82(MyTextInput, { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" }) }),
8045
+ /* @__PURE__ */ jsx82(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx82(MyTextInput, { label: "Email" }) }),
8046
+ /* @__PURE__ */ jsx82(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx82(MyTextInput, { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }) }),
8047
+ /* @__PURE__ */ jsx82(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx82(MyTextInput, { label: "Ng\xE0y \u0111\u0103ng k\xFD" }) }),
8048
+ /* @__PURE__ */ jsx82(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx82(MyTextInput, { label: "Ng\xE0y h\u1EBFt h\u1EA1n" }) }),
8049
+ /* @__PURE__ */ jsx82(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx82(MyFileInput, { label: "Favicon (16px x 16px)" }) }),
8050
+ /* @__PURE__ */ jsx82(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx82(MyFileInput, { label: "Logo (330px x 115px)" }) })
8051
+ ] }),
8052
+ /* @__PURE__ */ jsx82(MyFlexEnd, { children: /* @__PURE__ */ jsx82(MyButton, { crudType: "save" }) })
8053
+ ] });
8054
+ }
8030
8055
 
8031
8056
  // src/modules-features/admin/core/core38677/F_core38677.tsx
8032
8057
  import { Grid as Grid2, Paper as Paper10, ScrollArea as ScrollArea6 } from "@mantine/core";
@@ -8192,7 +8217,6 @@ var menuData = [
8192
8217
  label: "Qu\u1EA3n l\xED h\u1EC7 th\u1ED1ng",
8193
8218
  links: [
8194
8219
  { pageId: 1, name: "Account management", label: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n", link: "core71678" },
8195
- // { label: "Danh mục quyền", link: "47643", status: "Prototype" },
8196
8220
  { pageId: 2, name: "Access control level", label: "Ph\xE2n quy\u1EC1n c\u1EA5p \u0111\u01A1n v\u1ECB", link: "core38677" },
8197
8221
  { pageId: 3, name: "Access control", label: "Ph\xE2n quy\u1EC1n s\u1EED d\u1EE5ng", link: "core83092" },
8198
8222
  { pageId: 4, name: "Security regulations", label: "Quy \u0111\u1ECBnh an to\xE0n/ b\u1EA3o m\u1EADt th\xF4ng tin", link: "core76318", status: "Default" },
@@ -8224,13 +8248,13 @@ import { useQuery as useQuery10 } from "@tanstack/react-query";
8224
8248
  import React2, { useEffect as useEffect8, useState as useState11 } from "react";
8225
8249
  import { jsx as jsx85, jsxs as jsxs51 } from "react/jsx-runtime";
8226
8250
  var title = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
8227
- function F_core38677_ViewMenuPermissions() {
8251
+ function F_core38677_ViewMenuPermissions({ menuData: menuData2 }) {
8228
8252
  var _a, _b;
8229
8253
  const store = useS_core83092();
8230
8254
  const query = useGetUserPermission();
8231
8255
  const list = useState11([]);
8232
8256
  useEffect8(() => {
8233
- list[1](groupToTwoLevels(menuData));
8257
+ list[1](groupToTwoLevels(menuData2));
8234
8258
  }, []);
8235
8259
  useEffect8(() => {
8236
8260
  if (!query.data) return;
@@ -8444,6 +8468,15 @@ function useGetUserPermission() {
8444
8468
 
8445
8469
  // src/modules-features/admin/core/core38677/F_core38677.tsx
8446
8470
  import { jsx as jsx86, jsxs as jsxs52 } from "react/jsx-runtime";
8471
+ function F_core38677({ menuData: menuData2 }) {
8472
+ return /* @__PURE__ */ jsxs52(Grid2, { grow: true, children: [
8473
+ /* @__PURE__ */ jsx86(Grid2.Col, { span: 4, children: /* @__PURE__ */ jsx86(F_core38677_ReadUser, {}) }),
8474
+ /* @__PURE__ */ jsx86(Grid2.Col, { span: 8, children: /* @__PURE__ */ jsxs52(MyFlexColumn, { h: "80vh", flex: 1, children: [
8475
+ /* @__PURE__ */ jsx86(ScrollArea6.Autosize, { h: "100%", children: /* @__PURE__ */ jsx86(Paper10, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx86(F_core38677_ViewMenuPermissions, { menuData: menuData2 }) }) }),
8476
+ /* @__PURE__ */ jsx86(F_core38677_Save, {})
8477
+ ] }) })
8478
+ ] });
8479
+ }
8447
8480
 
8448
8481
  // src/modules-features/admin/core/core40207/F_core40207_Read.tsx
8449
8482
  import { useQuery as useQuery11 } from "@tanstack/react-query";
@@ -8835,6 +8868,9 @@ function F_core64229_Read() {
8835
8868
 
8836
8869
  // src/modules-features/admin/core/core64229/F_core64229.tsx
8837
8870
  import { jsx as jsx99 } from "react/jsx-runtime";
8871
+ function F_core64229() {
8872
+ return /* @__PURE__ */ jsx99(MyPageContent, { children: /* @__PURE__ */ jsx99(F_core64229_Read, {}) });
8873
+ }
8838
8874
 
8839
8875
  // src/modules-features/admin/core/core71678/F_core71678_Read.tsx
8840
8876
  import { Button as Button17, Group as Group17 } from "@mantine/core";
@@ -9105,6 +9141,9 @@ function F_core71678_Read() {
9105
9141
 
9106
9142
  // src/modules-features/admin/core/core71678/F_core71678.tsx
9107
9143
  import { jsx as jsx105 } from "react/jsx-runtime";
9144
+ function F_core71678() {
9145
+ return /* @__PURE__ */ jsx105(F_core71678_Read, {});
9146
+ }
9108
9147
 
9109
9148
  // src/modules-features/admin/core/core76318/F_core76318_Read.tsx
9110
9149
  import { useQuery as useQuery16 } from "@tanstack/react-query";
@@ -9168,9 +9207,61 @@ function F_core76318_Update({ values }) {
9168
9207
 
9169
9208
  // src/modules-features/admin/core/core76318/F_core76318_Read.tsx
9170
9209
  import { jsx as jsx109, jsxs as jsxs66 } from "react/jsx-runtime";
9210
+ function F_core76318_Read() {
9211
+ const query = useQuery16({
9212
+ queryKey: ["F_core76318_Read"],
9213
+ queryFn: async () => {
9214
+ var _a;
9215
+ const result = await baseAxios_default.get(`/Document/GetByType?documentType=${OBJECT_DOCUMENT_TYPES.Security}`);
9216
+ return ((_a = result.data) == null ? void 0 : _a.data) || [];
9217
+ }
9218
+ });
9219
+ const columns = useMemo14(
9220
+ () => [
9221
+ {
9222
+ header: "S\u1ED1 quy \u0111\u1ECBnh",
9223
+ accessorKey: "decisionCode"
9224
+ },
9225
+ {
9226
+ header: "Ng\xE0y ban h\xE0nh",
9227
+ accessorFn: (row) => U0DateToDDMMYYYString(new Date(row.promulgateDate))
9228
+ },
9229
+ {
9230
+ header: "T\xEAn t\xE0i li\u1EC7u",
9231
+ accessorKey: "name"
9232
+ },
9233
+ {
9234
+ header: "File",
9235
+ accessorFn: (row) => {
9236
+ return /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(MyButtonViewPDF, { id: row.id }) });
9237
+ }
9238
+ }
9239
+ ],
9240
+ []
9241
+ );
9242
+ if (query.isLoading) return "Loading...";
9243
+ if (query.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
9244
+ return /* @__PURE__ */ jsx109(
9245
+ MyDataTable,
9246
+ {
9247
+ columns,
9248
+ data: query.data,
9249
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx109(F_core76318_Create, {}),
9250
+ renderRowActions: ({ row }) => {
9251
+ return /* @__PURE__ */ jsxs66(MyCenterFull, { children: [
9252
+ /* @__PURE__ */ jsx109(F_core76318_Update, { values: row.original }),
9253
+ /* @__PURE__ */ jsx109(F_core76318_Delete, { id: row.original.id })
9254
+ ] });
9255
+ }
9256
+ }
9257
+ );
9258
+ }
9171
9259
 
9172
9260
  // src/modules-features/admin/core/core76318/F_core76318.tsx
9173
9261
  import { jsx as jsx110 } from "react/jsx-runtime";
9262
+ function F_core76318() {
9263
+ return /* @__PURE__ */ jsx110(F_core76318_Read, {});
9264
+ }
9174
9265
 
9175
9266
  // src/modules-features/admin/core/core83092/F_core83092.tsx
9176
9267
  import { Grid as Grid3, Paper as Paper11, ScrollArea as ScrollArea8 } from "@mantine/core";
@@ -9287,13 +9378,13 @@ import { useQuery as useQuery18 } from "@tanstack/react-query";
9287
9378
  import React4, { useEffect as useEffect13, useState as useState16 } from "react";
9288
9379
  import { jsx as jsx113, jsxs as jsxs67 } from "react/jsx-runtime";
9289
9380
  var title2 = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
9290
- function F_core83092_ViewMenuPermissions() {
9381
+ function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
9291
9382
  var _a, _b;
9292
9383
  const store = useS_core83092();
9293
- const query = useGetUserPermission2();
9384
+ const query = useGetUserPermission2({ menuData: menuData2 });
9294
9385
  const list = useState16([]);
9295
9386
  useEffect13(() => {
9296
- list[1](groupToTwoLevels(menuData));
9387
+ list[1](groupToTwoLevels(menuData2));
9297
9388
  }, []);
9298
9389
  useEffect13(() => {
9299
9390
  if (!query.data) return;
@@ -9468,13 +9559,13 @@ function F_core83092_ViewMenuPermissions() {
9468
9559
  }) })
9469
9560
  ] }) });
9470
9561
  }
9471
- function useGetUserPermission2() {
9562
+ function useGetUserPermission2({ menuData: menuData2 }) {
9472
9563
  const store = useS_core83092();
9473
9564
  const query = useQuery18({
9474
9565
  queryKey: ["F_7p4mh9d75x_AuthorizationTable", store.state.roleId],
9475
9566
  queryFn: async () => {
9476
9567
  const result = await baseAxios_default.get("/Role/GetUserPermission?userId=" + store.state.roleId);
9477
- const menudataFinal = utils_layout_getItemsWithoutLinks(menuData);
9568
+ const menudataFinal = utils_layout_getItemsWithoutLinks(menuData2);
9478
9569
  if (result.data.data.length == 0) {
9479
9570
  const final = menudataFinal.map((item) => ({
9480
9571
  pageId: item.pageId,
@@ -9507,11 +9598,11 @@ function useGetUserPermission2() {
9507
9598
 
9508
9599
  // src/modules-features/admin/core/core83092/F_core83092.tsx
9509
9600
  import { jsx as jsx114, jsxs as jsxs68 } from "react/jsx-runtime";
9510
- function F_core83092() {
9601
+ function F_core83092({ menuData: menuData2 }) {
9511
9602
  return /* @__PURE__ */ jsxs68(Grid3, { grow: true, children: [
9512
9603
  /* @__PURE__ */ jsx114(Grid3.Col, { span: 4, children: /* @__PURE__ */ jsx114(F_core83092_ReadUser, {}) }),
9513
9604
  /* @__PURE__ */ jsx114(Grid3.Col, { span: 8, children: /* @__PURE__ */ jsxs68(MyFlexColumn, { h: "80vh", flex: 1, children: [
9514
- /* @__PURE__ */ jsx114(ScrollArea8.Autosize, { h: "100%", children: /* @__PURE__ */ jsx114(Paper11, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx114(F_core83092_ViewMenuPermissions, {}) }) }),
9605
+ /* @__PURE__ */ jsx114(ScrollArea8.Autosize, { h: "100%", children: /* @__PURE__ */ jsx114(Paper11, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx114(F_core83092_ViewMenuPermissions, { menuData: menuData2 }) }) }),
9515
9606
  /* @__PURE__ */ jsx114(F_core83092_Save, {})
9516
9607
  ] }) })
9517
9608
  ] });
@@ -10334,6 +10425,7 @@ export {
10334
10425
  F_core12196_Update,
10335
10426
  F_core12196_Read,
10336
10427
  F_core12196_Create,
10428
+ F_core12196,
10337
10429
  F_core16209_Create,
10338
10430
  F_core16209_Delete,
10339
10431
  F_core16209_Update,
@@ -10352,11 +10444,13 @@ export {
10352
10444
  F_core27311_Update,
10353
10445
  F_core27311_Read,
10354
10446
  F_core27311,
10447
+ F_core35923,
10355
10448
  useS_core83092,
10356
10449
  utils_core83092_mergePage,
10357
10450
  F_core38677_ReadUser,
10358
10451
  F_core38677_Save,
10359
10452
  F_core38677_ViewMenuPermissions,
10453
+ F_core38677,
10360
10454
  F_core40207_Create,
10361
10455
  F_core40207_Delete,
10362
10456
  F_core40207_Update,
@@ -10369,14 +10463,17 @@ export {
10369
10463
  F_core64229_Form,
10370
10464
  F_core64229_Delete,
10371
10465
  F_core64229_Read,
10466
+ F_core64229,
10372
10467
  F_core71678_ChangePermission,
10373
10468
  F_core71678_Create,
10374
10469
  F_core71678_Delete,
10375
10470
  F_core71678_Update,
10376
10471
  F_core71678_Read,
10472
+ F_core71678,
10377
10473
  F_core76318_Create,
10378
10474
  F_core76318_Delete,
10379
10475
  F_core76318_Update,
10476
+ F_core76318,
10380
10477
  F_core83092_ReadUser,
10381
10478
  F_core83092_Save,
10382
10479
  F_core83092_ViewMenuPermissions,
@@ -3,6 +3,8 @@ import react__default, { 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-CGIz9MsN.mjs';
7
+ export { a as BasicAppShell, B as BasicAppShell_transformMenuToEnum, g as groupToTwoLevels, u as utils_layout_getItemsWithoutLinks } from '../BasicAppShell-CGIz9MsN.mjs';
6
8
  import { I as IUtils_Excel_ColumnConfig } from '../utils_excel-CLb5lfmI.mjs';
7
9
  import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
8
10
  import { ConfigOptions } from 'export-to-csv';
@@ -82,24 +84,8 @@ declare function MyActionIconViewPDF({ modalSize, pdfLink, ...rest }: IActionIco
82
84
 
83
85
  declare function MySwitchTheme(): react_jsx_runtime.JSX.Element;
84
86
 
85
- interface I0LinkItem {
86
- pageId?: number;
87
- name?: string;
88
- label: string;
89
- status?: "Default" | "Prototype" | "New" | "Menu" | "Change";
90
- link?: string;
91
- links?: I0LinkItem[];
92
- }
93
- declare function BasicAppShell_transformMenuToEnum(prefixProjectName: string, menu: I0LinkItem[]): Record<string, number>;
94
- declare function BasicAppShell({ children, menu }: {
95
- children: ReactNode;
96
- menu: I0LinkItem[];
97
- }): react_jsx_runtime.JSX.Element;
98
- declare const groupToTwoLevels: (menu: I0LinkItem[]) => I0LinkItem[];
99
- declare function utils_layout_getItemsWithoutLinks(menu: I0LinkItem[]): I0LinkItem[];
100
-
101
87
  declare function MyAppSpotlight({ menu }: {
102
- menu: I0LinkItem[];
88
+ menu: I_BasicAppShell_LinkItem[];
103
89
  }): react_jsx_runtime.JSX.Element;
104
90
  declare function SpotlightTrigger(): react_jsx_runtime.JSX.Element;
105
91
 
@@ -494,4 +480,4 @@ interface IMySkeletonTable extends SkeletonProps {
494
480
  }
495
481
  declare function MySkeletonTable({ h }: IMySkeletonTable): react_jsx_runtime.JSX.Element;
496
482
 
497
- export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, BasicAppShell, BasicAppShell_transformMenuToEnum, Boxes, HeaderMegaMenu, type I0LinkItem, type IAQCardProps, type IMyTextEditor, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps, SpotlightTrigger, groupToTwoLevels, useHeaderMegaMenuStore, useS_BasicAppShell, useS_ButtonImport, utils_layout_getItemsWithoutLinks };
483
+ export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, 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, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps, SpotlightTrigger, useHeaderMegaMenuStore, useS_BasicAppShell, useS_ButtonImport };
@@ -63,7 +63,7 @@ import {
63
63
  useS_BasicAppShell,
64
64
  useS_ButtonImport,
65
65
  utils_layout_getItemsWithoutLinks
66
- } from "../chunk-XT3GL3UA.mjs";
66
+ } from "../chunk-LM433N64.mjs";
67
67
  import "../chunk-Y3YGC5IH.mjs";
68
68
  import "../chunk-EEQENBXZ.mjs";
69
69
  import "../chunk-FWCSY2DS.mjs";
@@ -1,7 +1,12 @@
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-CGIz9MsN.mjs';
3
4
  import { ReactNode } from 'react';
4
5
 
6
+ declare function F_core12196({ FormTypeId }: {
7
+ FormTypeId: number;
8
+ }): react_jsx_runtime.JSX.Element;
9
+
5
10
  declare function F_core12196_Create({ FormTypeId }: {
6
11
  FormTypeId: number;
7
12
  }): react_jsx_runtime.JSX.Element;
@@ -230,6 +235,12 @@ declare function F_core27311_Update({ values, WorkflowTypeId }: {
230
235
  WorkflowTypeId: number;
231
236
  }): react_jsx_runtime.JSX.Element;
232
237
 
238
+ declare function F_core35923(): react_jsx_runtime.JSX.Element;
239
+
240
+ declare function F_core38677({ menuData }: {
241
+ menuData: I_BasicAppShell_LinkItem[];
242
+ }): react_jsx_runtime.JSX.Element;
243
+
233
244
  interface IBaseEntity {
234
245
  id?: number;
235
246
  code?: string;
@@ -246,7 +257,9 @@ declare function F_core38677_ReadUser(): react_jsx_runtime.JSX.Element | "Loadin
246
257
 
247
258
  declare function F_core38677_Save(): react_jsx_runtime.JSX.Element;
248
259
 
249
- declare function F_core38677_ViewMenuPermissions(): react_jsx_runtime.JSX.Element | "Đang tải...";
260
+ declare function F_core38677_ViewMenuPermissions({ menuData }: {
261
+ menuData: I_BasicAppShell_LinkItem[];
262
+ }): react_jsx_runtime.JSX.Element | "Đang tải...";
250
263
 
251
264
  declare function F_core40207(): react_jsx_runtime.JSX.Element;
252
265
 
@@ -311,6 +324,8 @@ declare function F_core47643_Form({ values }: {
311
324
 
312
325
  declare function F_core47643_Read(): react_jsx_runtime.JSX.Element | "Đang tải dữ liệu..." | "Có lỗi xảy ra!";
313
326
 
327
+ declare function F_core64229(): react_jsx_runtime.JSX.Element;
328
+
314
329
  declare function F_core64229_Delete({ values }: {
315
330
  values: IBaseEntity;
316
331
  }): react_jsx_runtime.JSX.Element;
@@ -333,6 +348,8 @@ declare function F_core64229_Form({ values }: {
333
348
 
334
349
  declare function F_core64229_Read(): react_jsx_runtime.JSX.Element | "Đang tải";
335
350
 
351
+ declare function F_core71678(): react_jsx_runtime.JSX.Element;
352
+
336
353
  interface IRoles extends IBaseEntity {
337
354
  }
338
355
  interface I_core71678_Read extends IBaseEntity {
@@ -366,6 +383,8 @@ declare function F_core71678_Update({ user }: {
366
383
  user: I$4;
367
384
  }): react_jsx_runtime.JSX.Element;
368
385
 
386
+ declare function F_core76318(): react_jsx_runtime.JSX.Element;
387
+
369
388
  declare function F_core76318_Create(): react_jsx_runtime.JSX.Element;
370
389
 
371
390
  declare function F_core76318_Delete({ id }: {
@@ -408,13 +427,17 @@ declare function F_core76318_Update({ values }: {
408
427
  values: I$3;
409
428
  }): react_jsx_runtime.JSX.Element;
410
429
 
411
- declare function F_core83092(): react_jsx_runtime.JSX.Element;
430
+ declare function F_core83092({ menuData }: {
431
+ menuData: I_BasicAppShell_LinkItem[];
432
+ }): react_jsx_runtime.JSX.Element;
412
433
 
413
434
  declare function F_core83092_ReadUser(): react_jsx_runtime.JSX.Element | "Loading..." | "Có lỗi xảy ra!";
414
435
 
415
436
  declare function F_core83092_Save(): react_jsx_runtime.JSX.Element;
416
437
 
417
- declare function F_core83092_ViewMenuPermissions(): react_jsx_runtime.JSX.Element | "Đang tải...";
438
+ declare function F_core83092_ViewMenuPermissions({ menuData }: {
439
+ menuData: I_BasicAppShell_LinkItem[];
440
+ }): react_jsx_runtime.JSX.Element | "Đang tải...";
418
441
 
419
442
  interface I_core83092_RolePermission {
420
443
  pageId?: number;
@@ -475,4 +498,4 @@ interface I {
475
498
  }
476
499
  declare function F_authenticate_Login({ loginInfo, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess }: I): react_jsx_runtime.JSX.Element;
477
500
 
478
- export { F_authenticate_Login, F_authenticate_Logout, F_authenticate_SplashPage, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core38677_ReadUser, F_core38677_Save, F_core38677_ViewMenuPermissions, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core71678_ChangePermission, F_core71678_Create, F_core71678_Delete, F_core71678_Read, F_core71678_Update, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_core83092, F_core83092_ReadUser, F_core83092_Save, F_core83092_ViewMenuPermissions, type I_core38677_User, type I_core71678_Read, type I_core83092_RolePermission, PieChart_DiscountUsedPercentage, PieChart_VoucherUsedPercentage, useS_authenticate, useS_core83092, utils_core83092_mergePage };
501
+ export { F_authenticate_Login, F_authenticate_Logout, F_authenticate_SplashPage, F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core35923, F_core38677, F_core38677_ReadUser, F_core38677_Save, F_core38677_ViewMenuPermissions, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core64229, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core71678, F_core71678_ChangePermission, F_core71678_Create, F_core71678_Delete, F_core71678_Read, F_core71678_Update, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_core83092, F_core83092_ReadUser, F_core83092_Save, F_core83092_ViewMenuPermissions, type I_core38677_User, type I_core71678_Read, type I_core83092_RolePermission, PieChart_DiscountUsedPercentage, PieChart_VoucherUsedPercentage, useS_authenticate, useS_core83092, utils_core83092_mergePage };
@@ -2,6 +2,7 @@ import {
2
2
  F_authenticate_Login,
3
3
  F_authenticate_Logout,
4
4
  F_authenticate_SplashPage,
5
+ F_core12196,
5
6
  F_core12196_Create,
6
7
  F_core12196_Delete,
7
8
  F_core12196_Read,
@@ -25,6 +26,8 @@ import {
25
26
  F_core27311_Delete,
26
27
  F_core27311_Read,
27
28
  F_core27311_Update,
29
+ F_core35923,
30
+ F_core38677,
28
31
  F_core38677_ReadUser,
29
32
  F_core38677_Save,
30
33
  F_core38677_ViewMenuPermissions,
@@ -37,14 +40,17 @@ import {
37
40
  F_core47643_Delete,
38
41
  F_core47643_Form,
39
42
  F_core47643_Read,
43
+ F_core64229,
40
44
  F_core64229_Delete,
41
45
  F_core64229_Form,
42
46
  F_core64229_Read,
47
+ F_core71678,
43
48
  F_core71678_ChangePermission,
44
49
  F_core71678_Create,
45
50
  F_core71678_Delete,
46
51
  F_core71678_Read,
47
52
  F_core71678_Update,
53
+ F_core76318,
48
54
  F_core76318_Create,
49
55
  F_core76318_Delete,
50
56
  F_core76318_Update,
@@ -57,7 +63,7 @@ import {
57
63
  useS_authenticate,
58
64
  useS_core83092,
59
65
  utils_core83092_mergePage
60
- } from "../chunk-XT3GL3UA.mjs";
66
+ } from "../chunk-LM433N64.mjs";
61
67
  import "../chunk-Y3YGC5IH.mjs";
62
68
  import "../chunk-EEQENBXZ.mjs";
63
69
  import "../chunk-FWCSY2DS.mjs";
@@ -65,6 +71,7 @@ export {
65
71
  F_authenticate_Login,
66
72
  F_authenticate_Logout,
67
73
  F_authenticate_SplashPage,
74
+ F_core12196,
68
75
  F_core12196_Create,
69
76
  F_core12196_Delete,
70
77
  F_core12196_Read,
@@ -88,6 +95,8 @@ export {
88
95
  F_core27311_Delete,
89
96
  F_core27311_Read,
90
97
  F_core27311_Update,
98
+ F_core35923,
99
+ F_core38677,
91
100
  F_core38677_ReadUser,
92
101
  F_core38677_Save,
93
102
  F_core38677_ViewMenuPermissions,
@@ -100,14 +109,17 @@ export {
100
109
  F_core47643_Delete,
101
110
  F_core47643_Form,
102
111
  F_core47643_Read,
112
+ F_core64229,
103
113
  F_core64229_Delete,
104
114
  F_core64229_Form,
105
115
  F_core64229_Read,
116
+ F_core71678,
106
117
  F_core71678_ChangePermission,
107
118
  F_core71678_Create,
108
119
  F_core71678_Delete,
109
120
  F_core71678_Read,
110
121
  F_core71678_Update,
122
+ F_core76318,
111
123
  F_core76318_Create,
112
124
  F_core76318_Delete,
113
125
  F_core76318_Update,
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "types": "./dist/modules-features/index.d.mts"
19
19
  }
20
20
  },
21
- "version": "0.1.85",
21
+ "version": "0.1.87",
22
22
  "private": false,
23
23
  "files": [
24
24
  "dist"