aq-fe-framework 0.1.111 → 0.1.113
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.
@@ -7457,22 +7457,8 @@ function HeaderMegaMenu({ children, menus }) {
|
|
7457
7457
|
}
|
7458
7458
|
|
7459
7459
|
// src/components/Layouts/PageContent/MyPageContent.tsx
|
7460
|
-
import {
|
7460
|
+
import { Container as Container3, Indicator, Title } from "@mantine/core";
|
7461
7461
|
import { jsx as jsx55, jsxs as jsxs30 } from "react/jsx-runtime";
|
7462
|
-
var getStatusColor = (status) => {
|
7463
|
-
switch (status) {
|
7464
|
-
case "Prototype":
|
7465
|
-
return "blue";
|
7466
|
-
case "Beta":
|
7467
|
-
return "orange";
|
7468
|
-
default:
|
7469
|
-
return "gray";
|
7470
|
-
}
|
7471
|
-
};
|
7472
|
-
var PageTitle = ({ title: title3, status }) => {
|
7473
|
-
const color = getStatusColor(status);
|
7474
|
-
return /* @__PURE__ */ jsx55(Indicator, { label: status, size: 16, inline: true, color, disabled: !status, pt: 6, children: /* @__PURE__ */ jsx55(Title, { order: 4, children: title3 }) });
|
7475
|
-
};
|
7476
7462
|
function MyPageContent({
|
7477
7463
|
leftTopBar,
|
7478
7464
|
title: title3,
|
@@ -7484,18 +7470,7 @@ function MyPageContent({
|
|
7484
7470
|
const basicAppShellStore = useS_BasicAppShell();
|
7485
7471
|
const finalTitle = title3 || basicAppShellStore.state.title;
|
7486
7472
|
return /* @__PURE__ */ jsxs30(Container3, { p: 0, fluid: true, children: [
|
7487
|
-
|
7488
|
-
/* @__PURE__ */ jsxs30(Group13, { children: [
|
7489
|
-
canBack && /* @__PURE__ */ jsx55(MyButtonRouterBack, {}),
|
7490
|
-
/* @__PURE__ */ jsx55(PageTitle, { title: "?", status }),
|
7491
|
-
leftTopBar
|
7492
|
-
] }),
|
7493
|
-
/* @__PURE__ */ jsxs30(Group13, { children: [
|
7494
|
-
rightTopBar,
|
7495
|
-
/* @__PURE__ */ jsx55(Code, { color: "var(--mantine-color-blue-light)", children: basicAppShellStore.state.menuCode })
|
7496
|
-
] })
|
7497
|
-
] }),
|
7498
|
-
/* @__PURE__ */ jsx55(Divider4, { my: "xs" }),
|
7473
|
+
"\u01B0qdjqwndkqnwdnqwdj",
|
7499
7474
|
children
|
7500
7475
|
] });
|
7501
7476
|
}
|
@@ -7516,7 +7491,7 @@ function MyTab(_a) {
|
|
7516
7491
|
}
|
7517
7492
|
|
7518
7493
|
// src/components/RESTAPIComponents/DataTableSelect/MyDataTableSelect.tsx
|
7519
|
-
import { ActionIcon as ActionIcon11, Button as Button15, Fieldset as Fieldset5, Group as
|
7494
|
+
import { ActionIcon as ActionIcon11, Button as Button15, Fieldset as Fieldset5, Group as Group13, Modal as Modal11 } from "@mantine/core";
|
7520
7495
|
import { useDisclosure as useDisclosure11 } from "@mantine/hooks";
|
7521
7496
|
import { IconX as IconX2 } from "@tabler/icons-react";
|
7522
7497
|
import { jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
|
@@ -7529,7 +7504,7 @@ function MyDataTableSelect(_a) {
|
|
7529
7504
|
MyDataTable,
|
7530
7505
|
__spreadValues({
|
7531
7506
|
renderTopToolbarCustomActions: ({ table }) => {
|
7532
|
-
return /* @__PURE__ */ jsxs32(
|
7507
|
+
return /* @__PURE__ */ jsxs32(Group13, { children: [
|
7533
7508
|
renderTopToolbarCustomActions && renderTopToolbarCustomActions({ table }),
|
7534
7509
|
/* @__PURE__ */ jsx57(Button15, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
|
7535
7510
|
] });
|
@@ -9329,7 +9304,7 @@ function F_core40207({ GuidelineTypeId }) {
|
|
9329
9304
|
}
|
9330
9305
|
|
9331
9306
|
// src/modules-features/admin/core/core47643/F_core47643_Read.tsx
|
9332
|
-
import { Group as
|
9307
|
+
import { Group as Group14 } from "@mantine/core";
|
9333
9308
|
import { useQuery as useQuery12 } from "@tanstack/react-query";
|
9334
9309
|
import { useMemo as useMemo10 } from "react";
|
9335
9310
|
|
@@ -9389,7 +9364,7 @@ function F_core47643_Read() {
|
|
9389
9364
|
{
|
9390
9365
|
data: query.data,
|
9391
9366
|
columns,
|
9392
|
-
renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx94(
|
9367
|
+
renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx94(Group14, { children: /* @__PURE__ */ jsx94(F_core47643_Form, {}) }),
|
9393
9368
|
renderRowActions: ({ row }) => /* @__PURE__ */ jsxs57(MyCenterFull, { children: [
|
9394
9369
|
/* @__PURE__ */ jsx94(F_core47643_Form, { values: row.original }),
|
9395
9370
|
/* @__PURE__ */ jsx94(F_core47643_Delete, { values: row.original })
|
@@ -9770,14 +9745,14 @@ function F_core64229() {
|
|
9770
9745
|
}
|
9771
9746
|
|
9772
9747
|
// src/modules-features/admin/core/core71678/F_core71678_Read.tsx
|
9773
|
-
import { Button as Button17, Group as
|
9748
|
+
import { Button as Button17, Group as Group16 } from "@mantine/core";
|
9774
9749
|
import { IconShield } from "@tabler/icons-react";
|
9775
9750
|
import { useQuery as useQuery15 } from "@tanstack/react-query";
|
9776
9751
|
import { useRouter as useRouter3 } from "next/navigation";
|
9777
9752
|
import { useMemo as useMemo13, useState as useState13 } from "react";
|
9778
9753
|
|
9779
9754
|
// src/modules-features/admin/core/core71678/F_core71678_ChangePermission.tsx
|
9780
|
-
import { Button as Button16, Fieldset as Fieldset6, Group as
|
9755
|
+
import { Button as Button16, Fieldset as Fieldset6, Group as Group15, Table as Table4 } from "@mantine/core";
|
9781
9756
|
import { useDisclosure as useDisclosure12 } from "@mantine/hooks";
|
9782
9757
|
import { useMutation as useMutation7, useQuery as useQuery14, useQueryClient as useQueryClient5 } from "@tanstack/react-query";
|
9783
9758
|
import { useEffect as useEffect12, useMemo as useMemo12, useState as useState12 } from "react";
|
@@ -9877,7 +9852,7 @@ function F_core71678_ChangePermission({ user }) {
|
|
9877
9852
|
data: query.data
|
9878
9853
|
}
|
9879
9854
|
) }),
|
9880
|
-
/* @__PURE__ */ jsx103(
|
9855
|
+
/* @__PURE__ */ jsx103(Group15, { justify: "flex-end", mt: 24, children: /* @__PURE__ */ jsx103(Button16, { onClick: handleSave, children: "L\u01B0u" }) })
|
9881
9856
|
] });
|
9882
9857
|
}
|
9883
9858
|
|
@@ -10011,7 +9986,7 @@ function F_core71678_Read() {
|
|
10011
9986
|
columns,
|
10012
9987
|
data: AllUserQuery.data,
|
10013
9988
|
renderTopToolbarCustomActions: () => {
|
10014
|
-
return /* @__PURE__ */ jsxs64(
|
9989
|
+
return /* @__PURE__ */ jsxs64(Group16, { children: [
|
10015
9990
|
/* @__PURE__ */ jsx107(F_core71678_Create, {}),
|
10016
9991
|
/* @__PURE__ */ jsx107(
|
10017
9992
|
Button17,
|
@@ -10601,52 +10576,52 @@ function F_core83092({ menuData: menuData2 }) {
|
|
10601
10576
|
|
10602
10577
|
// src/modules-features/admin/core/MainDashboard/BarChart_CourseStatus.tsx
|
10603
10578
|
import { BarChart } from "@mantine/charts";
|
10604
|
-
import { Group as
|
10579
|
+
import { Group as Group17, Paper as Paper13, Text as Text15, useMantineColorScheme as useMantineColorScheme2 } from "@mantine/core";
|
10605
10580
|
import { Fragment as Fragment13, jsx as jsx118, jsxs as jsxs70 } from "react/jsx-runtime";
|
10606
10581
|
|
10607
10582
|
// src/modules-features/admin/core/MainDashboard/BarChart_ExamStatus.tsx
|
10608
10583
|
import { BarChart as BarChart2 } from "@mantine/charts";
|
10609
|
-
import { Group as
|
10584
|
+
import { Group as Group18, Paper as Paper14, Text as Text16, useMantineColorScheme as useMantineColorScheme3 } from "@mantine/core";
|
10610
10585
|
import { Fragment as Fragment14, jsx as jsx119, jsxs as jsxs71 } from "react/jsx-runtime";
|
10611
10586
|
|
10612
10587
|
// src/modules-features/admin/core/MainDashboard/BarChart_RevenueByAcademicYear.tsx
|
10613
10588
|
import { BarChart as BarChart3 } from "@mantine/charts";
|
10614
|
-
import { Group as
|
10589
|
+
import { Group as Group19, Paper as Paper15, Text as Text17, useMantineColorScheme as useMantineColorScheme4 } from "@mantine/core";
|
10615
10590
|
import { Fragment as Fragment15, jsx as jsx120, jsxs as jsxs72 } from "react/jsx-runtime";
|
10616
10591
|
|
10617
10592
|
// src/modules-features/admin/core/MainDashboard/BarChart_StudentStatusIn30Days.tsx
|
10618
10593
|
import { BarChart as BarChart4 } from "@mantine/charts";
|
10619
|
-
import { Group as
|
10594
|
+
import { Group as Group20, Paper as Paper16, Text as Text18, useMantineColorScheme as useMantineColorScheme5 } from "@mantine/core";
|
10620
10595
|
import { Fragment as Fragment16, jsx as jsx121, jsxs as jsxs73 } from "react/jsx-runtime";
|
10621
10596
|
|
10622
10597
|
// src/modules-features/admin/core/MainDashboard/HBarChart_CourseDropOutPercentage.tsx
|
10623
10598
|
import { BarChart as BarChart5 } from "@mantine/charts";
|
10624
|
-
import { Group as
|
10599
|
+
import { Group as Group21, Paper as Paper17, Text as Text19, useMantineColorScheme as useMantineColorScheme6 } from "@mantine/core";
|
10625
10600
|
import { jsx as jsx122, jsxs as jsxs74 } from "react/jsx-runtime";
|
10626
10601
|
|
10627
10602
|
// src/modules-features/admin/core/MainDashboard/HBarChart_CourseProgressPercentage.tsx
|
10628
10603
|
import { BarChart as BarChart6 } from "@mantine/charts";
|
10629
|
-
import { Group as
|
10604
|
+
import { Group as Group22, Paper as Paper18, Text as Text20, useMantineColorScheme as useMantineColorScheme7 } from "@mantine/core";
|
10630
10605
|
import { jsx as jsx123, jsxs as jsxs75 } from "react/jsx-runtime";
|
10631
10606
|
|
10632
10607
|
// src/modules-features/admin/core/MainDashboard/LineChart_RevenueIn12Months.tsx
|
10633
10608
|
import { LineChart } from "@mantine/charts";
|
10634
|
-
import { Group as
|
10609
|
+
import { Group as Group23, Paper as Paper19, Text as Text21 } from "@mantine/core";
|
10635
10610
|
import { Fragment as Fragment17, jsx as jsx124, jsxs as jsxs76 } from "react/jsx-runtime";
|
10636
10611
|
|
10637
10612
|
// src/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByDiscountIn3Months.tsx
|
10638
10613
|
import { LineChart as LineChart2 } from "@mantine/charts";
|
10639
|
-
import { Group as
|
10614
|
+
import { Group as Group24, Paper as Paper20, Text as Text22 } from "@mantine/core";
|
10640
10615
|
import { Fragment as Fragment18, jsx as jsx125, jsxs as jsxs77 } from "react/jsx-runtime";
|
10641
10616
|
|
10642
10617
|
// src/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByVoucherIn3Months.tsx
|
10643
10618
|
import { LineChart as LineChart3 } from "@mantine/charts";
|
10644
|
-
import { Group as
|
10619
|
+
import { Group as Group25, Paper as Paper21, Text as Text23 } from "@mantine/core";
|
10645
10620
|
import { Fragment as Fragment19, jsx as jsx126, jsxs as jsxs78 } from "react/jsx-runtime";
|
10646
10621
|
|
10647
10622
|
// src/modules-features/admin/core/MainDashboard/LineChart_TotalStudentIn12Months.tsx
|
10648
10623
|
import { LineChart as LineChart4 } from "@mantine/charts";
|
10649
|
-
import { Group as
|
10624
|
+
import { Group as Group26, Paper as Paper22, Text as Text24 } from "@mantine/core";
|
10650
10625
|
import { Fragment as Fragment20, jsx as jsx127, jsxs as jsxs79 } from "react/jsx-runtime";
|
10651
10626
|
|
10652
10627
|
// src/modules-features/admin/core/MainDashboard/ViewDiscountStat.tsx
|
@@ -11228,7 +11203,7 @@ import {
|
|
11228
11203
|
Center as Center6,
|
11229
11204
|
Checkbox as Checkbox5,
|
11230
11205
|
Flex as Flex7,
|
11231
|
-
Group as
|
11206
|
+
Group as Group27,
|
11232
11207
|
Paper as Paper23,
|
11233
11208
|
PasswordInput as PasswordInput2,
|
11234
11209
|
Text as Text27,
|
@@ -11329,7 +11304,7 @@ function F_authenticate_Login({
|
|
11329
11304
|
withAsterisk: true
|
11330
11305
|
})
|
11331
11306
|
),
|
11332
|
-
/* @__PURE__ */ jsxs82(
|
11307
|
+
/* @__PURE__ */ jsxs82(Group27, { justify: "space-between", children: [
|
11333
11308
|
/* @__PURE__ */ jsx132(Checkbox5, { label: "L\u01B0u \u0111\u0103ng nh\u1EADp" }),
|
11334
11309
|
/* @__PURE__ */ jsx132(Anchor2, { component: Link5, href: "quen-mat-khau", size: "sm", children: "Qu\xEAn m\u1EADt kh\u1EA9u?" })
|
11335
11310
|
] }),
|
@@ -64,7 +64,7 @@ import {
|
|
64
64
|
useS_BasicAppShell,
|
65
65
|
useS_ButtonImport,
|
66
66
|
utils_layout_getItemsWithoutLinks
|
67
|
-
} from "../chunk-
|
67
|
+
} from "../chunk-2TW6D5FQ.mjs";
|
68
68
|
import "../chunk-QAWKASVG.mjs";
|
69
69
|
import "../chunk-Y3YGC5IH.mjs";
|
70
70
|
import "../chunk-CJDXLINF.mjs";
|