aq-fe-framework 0.1.210 → 0.1.212
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/{chunk-FYRUEWQG.mjs → chunk-2LGOG4XR.mjs} +1 -1
- package/dist/{chunk-L6OEG5SB.mjs → chunk-PLY2UGE2.mjs} +3 -4
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/index.d.mts +4 -2
- package/dist/hooks/index.mjs +1 -1
- package/dist/modules-features/index.mjs +56 -56
- package/package.json +1 -1
@@ -2,7 +2,7 @@ import {
|
|
2
2
|
__spreadValues
|
3
3
|
} from "./chunk-FWCSY2DS.mjs";
|
4
4
|
|
5
|
-
// src/api/baseAxios.ts
|
5
|
+
// src/api/config/baseAxios.ts
|
6
6
|
import axios from "axios";
|
7
7
|
var baseAxios = axios.create({
|
8
8
|
baseURL: process.env.NEXT_PUBLIC_API
|
@@ -48,13 +48,12 @@ var useLoadConfig = () => {
|
|
48
48
|
// src/hooks/custom-hooks/createBaseApi.ts
|
49
49
|
function createBaseApi(baseUrl, axiosInstance) {
|
50
50
|
return {
|
51
|
-
getAll: () => {
|
52
|
-
return axiosInstance.get(`${baseUrl}/GetAll`);
|
51
|
+
getAll: ({ params = "" }) => {
|
52
|
+
return axiosInstance.get(`${baseUrl}/GetAll` + params);
|
53
53
|
},
|
54
54
|
create: (data) => {
|
55
55
|
return axiosInstance.post(`${baseUrl}/create`, data);
|
56
56
|
},
|
57
|
-
//Update
|
58
57
|
update: (data) => {
|
59
58
|
return axiosInstance.post(`${baseUrl}/update`, data);
|
60
59
|
},
|
@@ -66,8 +66,8 @@ import {
|
|
66
66
|
useS_BasicAppShell,
|
67
67
|
useS_ButtonImport,
|
68
68
|
utils_layout_getItemsWithoutLinks
|
69
|
-
} from "../chunk-
|
70
|
-
import "../chunk-
|
69
|
+
} from "../chunk-2LGOG4XR.mjs";
|
70
|
+
import "../chunk-PLY2UGE2.mjs";
|
71
71
|
import "../chunk-Y3YGC5IH.mjs";
|
72
72
|
import "../chunk-5U2JSHSJ.mjs";
|
73
73
|
import "../chunk-7ZCOFATU.mjs";
|
package/dist/hooks/index.d.mts
CHANGED
@@ -12,10 +12,12 @@ interface MyApiResponse<IRes> {
|
|
12
12
|
data: IRes;
|
13
13
|
}
|
14
14
|
declare function createBaseApi<T>(baseUrl: string, axiosInstance: AxiosInstance): {
|
15
|
-
getAll: (
|
15
|
+
getAll: ({ params }: {
|
16
|
+
params?: string;
|
17
|
+
}) => Promise<axios.AxiosResponse<MyApiResponse<T[]>, any>>;
|
16
18
|
create: (data: Partial<T>) => Promise<axios.AxiosResponse<MyApiResponse<T>, any>>;
|
17
19
|
update: (data: Partial<T>) => Promise<axios.AxiosResponse<MyApiResponse<T>, any>>;
|
18
|
-
createOrUpdate: (data: Partial<T>) => Promise<axios.AxiosResponse<MyApiResponse<T>, any>>;
|
20
|
+
createOrUpdate: (data: Partial<T[]>) => Promise<axios.AxiosResponse<MyApiResponse<T[]>, any>>;
|
19
21
|
delete: (id: number) => Promise<axios.AxiosResponse<any, any>>;
|
20
22
|
};
|
21
23
|
|
package/dist/hooks/index.mjs
CHANGED
@@ -25,12 +25,12 @@ import {
|
|
25
25
|
useS_BasicAppShell,
|
26
26
|
useS_authenticate,
|
27
27
|
utils_layout_getItemsWithoutLinks
|
28
|
-
} from "../chunk-
|
28
|
+
} from "../chunk-2LGOG4XR.mjs";
|
29
29
|
import {
|
30
30
|
baseAxios_default,
|
31
31
|
useQ_AQ_GetAQModule,
|
32
32
|
useQ_SkillCenter_GetAll
|
33
|
-
} from "../chunk-
|
33
|
+
} from "../chunk-PLY2UGE2.mjs";
|
34
34
|
import {
|
35
35
|
createGenericStore
|
36
36
|
} from "../chunk-Y3YGC5IH.mjs";
|
@@ -379,14 +379,14 @@ function F_core12196_Create({ FormTypeId }) {
|
|
379
379
|
}
|
380
380
|
|
381
381
|
// src/modules-features/admin/core/core12196/F_core12196.tsx
|
382
|
-
import { Paper
|
382
|
+
import { Paper, Space } from "@mantine/core";
|
383
383
|
import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
|
384
384
|
function F_core12196({
|
385
385
|
FormTypeId
|
386
386
|
}) {
|
387
|
-
return /* @__PURE__ */ jsxs4(
|
387
|
+
return /* @__PURE__ */ jsxs4(Paper, { p: "md", children: [
|
388
388
|
/* @__PURE__ */ jsx6(MyFlexEnd, { children: /* @__PURE__ */ jsx6(F_core12196_Create, { FormTypeId }) }),
|
389
|
-
/* @__PURE__ */ jsx6(
|
389
|
+
/* @__PURE__ */ jsx6(Space, {}),
|
390
390
|
/* @__PURE__ */ jsx6(F_core12196_Read, { FormTypeId })
|
391
391
|
] });
|
392
392
|
}
|
@@ -1038,12 +1038,12 @@ function SubRead2({
|
|
1038
1038
|
}
|
1039
1039
|
|
1040
1040
|
// src/modules-features/admin/core/core26965/F_core26965.tsx
|
1041
|
-
import { Paper as
|
1041
|
+
import { Paper as Paper2, Space as Space2 } from "@mantine/core";
|
1042
1042
|
import { jsx as jsx20, jsxs as jsxs15 } from "react/jsx-runtime";
|
1043
1043
|
function F_core26965({ RegulationsTypeId }) {
|
1044
|
-
return /* @__PURE__ */ jsxs15(
|
1044
|
+
return /* @__PURE__ */ jsxs15(Paper2, { p: "md", children: [
|
1045
1045
|
/* @__PURE__ */ jsx20(MyFlexEnd, { children: /* @__PURE__ */ jsx20(F_core26965_Create, { RegulationsTypeId }) }),
|
1046
|
-
/* @__PURE__ */ jsx20(
|
1046
|
+
/* @__PURE__ */ jsx20(Space2, {}),
|
1047
1047
|
/* @__PURE__ */ jsx20(F_core26965_Read, { RegulationsTypeId })
|
1048
1048
|
] });
|
1049
1049
|
}
|
@@ -1335,14 +1335,14 @@ function SubRead3({
|
|
1335
1335
|
}
|
1336
1336
|
|
1337
1337
|
// src/modules-features/admin/core/core27311/F_core27311.tsx
|
1338
|
-
import { Paper as
|
1338
|
+
import { Paper as Paper3, Space as Space3 } from "@mantine/core";
|
1339
1339
|
import { jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
|
1340
1340
|
function F_core27311({
|
1341
1341
|
WorkflowTypeId
|
1342
1342
|
}) {
|
1343
|
-
return /* @__PURE__ */ jsxs19(
|
1343
|
+
return /* @__PURE__ */ jsxs19(Paper3, { p: "md", children: [
|
1344
1344
|
/* @__PURE__ */ jsx25(MyFlexEnd, { children: /* @__PURE__ */ jsx25(F_core27311_Create, { WorkflowTypeId }) }),
|
1345
|
-
/* @__PURE__ */ jsx25(
|
1345
|
+
/* @__PURE__ */ jsx25(Space3, {}),
|
1346
1346
|
/* @__PURE__ */ jsx25(F_core27311_Read, { WorkflowTypeId })
|
1347
1347
|
] });
|
1348
1348
|
}
|
@@ -1368,7 +1368,7 @@ function F_core35923() {
|
|
1368
1368
|
}
|
1369
1369
|
|
1370
1370
|
// src/modules-features/admin/core/core38677/F_core38677.tsx
|
1371
|
-
import { Grid as Grid2, Paper as
|
1371
|
+
import { Grid as Grid2, Paper as Paper4, ScrollArea as ScrollArea2 } from "@mantine/core";
|
1372
1372
|
|
1373
1373
|
// src/modules-features/admin/core/core38677/F_core38677_ReadUser.tsx
|
1374
1374
|
import { Container } from "@mantine/core";
|
@@ -1787,7 +1787,7 @@ function F_core38677({ menuData: menuData2 }) {
|
|
1787
1787
|
return /* @__PURE__ */ jsxs22(Grid2, { grow: true, children: [
|
1788
1788
|
/* @__PURE__ */ jsx30(Grid2.Col, { span: 4, children: /* @__PURE__ */ jsx30(F_core38677_ReadUser, {}) }),
|
1789
1789
|
/* @__PURE__ */ jsx30(Grid2.Col, { span: 8, children: /* @__PURE__ */ jsxs22(MyFlexColumn, { h: "80vh", flex: 1, children: [
|
1790
|
-
/* @__PURE__ */ jsx30(ScrollArea2.Autosize, { h: "100%", children: /* @__PURE__ */ jsx30(
|
1790
|
+
/* @__PURE__ */ jsx30(ScrollArea2.Autosize, { h: "100%", children: /* @__PURE__ */ jsx30(Paper4, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx30(F_core38677_ViewMenuPermissions, { menuData: menuData2 }) }) }),
|
1791
1791
|
/* @__PURE__ */ jsx30(F_core38677_Save, {})
|
1792
1792
|
] }) })
|
1793
1793
|
] });
|
@@ -2074,7 +2074,7 @@ function F_core47643() {
|
|
2074
2074
|
import { useEffect as useEffect5 } from "react";
|
2075
2075
|
|
2076
2076
|
// src/modules-features/admin/core/core60524/F_core60524_Form.tsx
|
2077
|
-
import { Center, Grid as Grid3, Image, Paper as
|
2077
|
+
import { Center, Grid as Grid3, Image, Paper as Paper5 } from "@mantine/core";
|
2078
2078
|
import { useForm as useForm14 } from "@mantine/form";
|
2079
2079
|
import { useEffect as useEffect4 } from "react";
|
2080
2080
|
|
@@ -2169,7 +2169,7 @@ function F_core60524_Form() {
|
|
2169
2169
|
form.setInitialValues(values);
|
2170
2170
|
form.setValues(values);
|
2171
2171
|
}, [query.data]);
|
2172
|
-
return /* @__PURE__ */ jsxs28(
|
2172
|
+
return /* @__PURE__ */ jsxs28(Paper5, { p: "md", children: [
|
2173
2173
|
/* @__PURE__ */ jsxs28(Grid3, { children: [
|
2174
2174
|
/* @__PURE__ */ jsx41(Grid3.Col, { span: 5, children: /* @__PURE__ */ jsx41(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("code")), { label: "M\xE3 module", disabled: true })) }),
|
2175
2175
|
/* @__PURE__ */ jsx41(Grid3.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx41(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("name")), { label: "T\xEAn module" })) }),
|
@@ -2207,7 +2207,7 @@ function F_core60524_Form() {
|
|
2207
2207
|
}
|
2208
2208
|
}
|
2209
2209
|
),
|
2210
|
-
/* @__PURE__ */ jsx41(
|
2210
|
+
/* @__PURE__ */ jsx41(Paper5, { w: "100%", children: /* @__PURE__ */ jsx41(Center, { children: /* @__PURE__ */ jsx41(
|
2211
2211
|
Image,
|
2212
2212
|
{
|
2213
2213
|
fit: "contain",
|
@@ -2233,7 +2233,7 @@ function F_core60524_Form() {
|
|
2233
2233
|
}
|
2234
2234
|
}
|
2235
2235
|
),
|
2236
|
-
/* @__PURE__ */ jsx41(
|
2236
|
+
/* @__PURE__ */ jsx41(Paper5, { children: /* @__PURE__ */ jsx41(Center, { children: /* @__PURE__ */ jsx41(
|
2237
2237
|
Image,
|
2238
2238
|
{
|
2239
2239
|
fit: "contain",
|
@@ -2274,10 +2274,26 @@ var ENUM_EMAILCONFIG_MODULE = /* @__PURE__ */ ((ENUM_EMAILCONFIG_MODULE2) => {
|
|
2274
2274
|
import { useQuery as useQuery11 } from "@tanstack/react-query";
|
2275
2275
|
import { useMemo as useMemo9 } from "react";
|
2276
2276
|
|
2277
|
+
// src/modules-features/admin/core/core64229/F_core64229_Delete.tsx
|
2278
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
2279
|
+
function F_core64229_Delete({ values }) {
|
2280
|
+
return /* @__PURE__ */ jsx43(
|
2281
|
+
MyActionIconDelete,
|
2282
|
+
{
|
2283
|
+
contextData: values == null ? void 0 : values.code,
|
2284
|
+
onSubmit: () => {
|
2285
|
+
return baseAxios_default.post("/EmailConfig/Delete", {
|
2286
|
+
id: values == null ? void 0 : values.id
|
2287
|
+
});
|
2288
|
+
}
|
2289
|
+
}
|
2290
|
+
);
|
2291
|
+
}
|
2292
|
+
|
2277
2293
|
// src/modules-features/admin/core/core64229/F_core64229_Form.tsx
|
2278
2294
|
import { PasswordInput } from "@mantine/core";
|
2279
2295
|
import { useForm as useForm15 } from "@mantine/form";
|
2280
|
-
import { jsx as
|
2296
|
+
import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
|
2281
2297
|
function F_core64229_Form({ values, emailModule }) {
|
2282
2298
|
const form = useForm15({
|
2283
2299
|
mode: "uncontrolled",
|
@@ -2303,27 +2319,27 @@ function F_core64229_Form({ values, emailModule }) {
|
|
2303
2319
|
"password": formValues.password
|
2304
2320
|
});
|
2305
2321
|
}
|
2306
|
-
if (values) return /* @__PURE__ */
|
2322
|
+
if (values) return /* @__PURE__ */ jsx44(
|
2307
2323
|
MyActionIconUpdate,
|
2308
2324
|
{
|
2309
2325
|
form,
|
2310
2326
|
onSubmit: handleSubmit,
|
2311
|
-
children: /* @__PURE__ */
|
2327
|
+
children: /* @__PURE__ */ jsx44(FormInput, { form, emailModule })
|
2312
2328
|
}
|
2313
2329
|
);
|
2314
|
-
return /* @__PURE__ */
|
2330
|
+
return /* @__PURE__ */ jsx44(
|
2315
2331
|
MyButtonCreate,
|
2316
2332
|
{
|
2317
2333
|
form,
|
2318
2334
|
onSubmit: handleSubmit,
|
2319
|
-
children: /* @__PURE__ */
|
2335
|
+
children: /* @__PURE__ */ jsx44(FormInput, { form, emailModule })
|
2320
2336
|
}
|
2321
2337
|
);
|
2322
2338
|
}
|
2323
2339
|
function FormInput({ form, emailModule }) {
|
2324
2340
|
var _a, _b;
|
2325
2341
|
return /* @__PURE__ */ jsxs29(MyFlexColumn, { children: [
|
2326
|
-
/* @__PURE__ */
|
2342
|
+
/* @__PURE__ */ jsx44(
|
2327
2343
|
MySelect,
|
2328
2344
|
__spreadProps(__spreadValues({
|
2329
2345
|
label: "Ph\xE2n h\u1EC7",
|
@@ -2332,25 +2348,25 @@ function FormInput({ form, emailModule }) {
|
|
2332
2348
|
value: (_a = form.getValues().emailModule) == null ? void 0 : _a.toString()
|
2333
2349
|
})
|
2334
2350
|
),
|
2335
|
-
/* @__PURE__ */
|
2351
|
+
/* @__PURE__ */ jsx44(
|
2336
2352
|
MyTextInput,
|
2337
2353
|
__spreadValues({
|
2338
2354
|
label: "Host mail server"
|
2339
2355
|
}, form.getInputProps("hostMailServer"))
|
2340
2356
|
),
|
2341
|
-
/* @__PURE__ */
|
2357
|
+
/* @__PURE__ */ jsx44(
|
2342
2358
|
MyNumberInput,
|
2343
2359
|
__spreadValues({
|
2344
2360
|
label: "Outgoing port"
|
2345
2361
|
}, form.getInputProps("outgoingPort"))
|
2346
2362
|
),
|
2347
|
-
/* @__PURE__ */
|
2363
|
+
/* @__PURE__ */ jsx44(
|
2348
2364
|
MyNumberInput,
|
2349
2365
|
__spreadValues({
|
2350
2366
|
label: "Incoming port"
|
2351
2367
|
}, form.getInputProps("incomingPort"))
|
2352
2368
|
),
|
2353
|
-
/* @__PURE__ */
|
2369
|
+
/* @__PURE__ */ jsx44(
|
2354
2370
|
MySelect,
|
2355
2371
|
{
|
2356
2372
|
label: "SSL",
|
@@ -2359,13 +2375,13 @@ function FormInput({ form, emailModule }) {
|
|
2359
2375
|
onChange: (e) => form.setFieldValue("sll", e == "true" ? true : false)
|
2360
2376
|
}
|
2361
2377
|
),
|
2362
|
-
/* @__PURE__ */
|
2378
|
+
/* @__PURE__ */ jsx44(
|
2363
2379
|
MyTextInput,
|
2364
2380
|
__spreadValues({
|
2365
2381
|
label: "Username"
|
2366
2382
|
}, form.getInputProps("userName"))
|
2367
2383
|
),
|
2368
|
-
/* @__PURE__ */
|
2384
|
+
/* @__PURE__ */ jsx44(
|
2369
2385
|
PasswordInput,
|
2370
2386
|
__spreadValues({
|
2371
2387
|
label: "Password",
|
@@ -2375,22 +2391,6 @@ function FormInput({ form, emailModule }) {
|
|
2375
2391
|
] });
|
2376
2392
|
}
|
2377
2393
|
|
2378
|
-
// src/modules-features/admin/core/core64229/F_core64229_Delete.tsx
|
2379
|
-
import { jsx as jsx44 } from "react/jsx-runtime";
|
2380
|
-
function F_core64229_Delete({ values }) {
|
2381
|
-
return /* @__PURE__ */ jsx44(
|
2382
|
-
MyActionIconDelete,
|
2383
|
-
{
|
2384
|
-
contextData: values == null ? void 0 : values.code,
|
2385
|
-
onSubmit: () => {
|
2386
|
-
return baseAxios_default.post("/EmailConfig/Delete", {
|
2387
|
-
id: values == null ? void 0 : values.id
|
2388
|
-
});
|
2389
|
-
}
|
2390
|
-
}
|
2391
|
-
);
|
2392
|
-
}
|
2393
|
-
|
2394
2394
|
// src/modules-features/admin/core/core64229/F_core64229_Read.tsx
|
2395
2395
|
import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
|
2396
2396
|
function F_core64229_Read({ emailModule }) {
|
@@ -2923,7 +2923,7 @@ function F_core76318_Delete({
|
|
2923
2923
|
}
|
2924
2924
|
|
2925
2925
|
// src/modules-features/admin/core/core76318/F_core76318_Update.tsx
|
2926
|
-
import { FileInput as FileInput6, TextInput
|
2926
|
+
import { FileInput as FileInput6, TextInput } from "@mantine/core";
|
2927
2927
|
import { useForm as useForm19 } from "@mantine/form";
|
2928
2928
|
import { jsx as jsx55, jsxs as jsxs36 } from "react/jsx-runtime";
|
2929
2929
|
function F_core76318_Update({ values }) {
|
@@ -2955,7 +2955,7 @@ function F_core76318_Update({ values }) {
|
|
2955
2955
|
},
|
2956
2956
|
children: [
|
2957
2957
|
/* @__PURE__ */ jsx55(
|
2958
|
-
|
2958
|
+
TextInput,
|
2959
2959
|
__spreadValues({
|
2960
2960
|
withAsterisk: true,
|
2961
2961
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
@@ -2969,7 +2969,7 @@ function F_core76318_Update({ values }) {
|
|
2969
2969
|
}, form.getInputProps("promulgateDate"))
|
2970
2970
|
),
|
2971
2971
|
/* @__PURE__ */ jsx55(
|
2972
|
-
|
2972
|
+
TextInput,
|
2973
2973
|
__spreadValues({
|
2974
2974
|
withAsterisk: true,
|
2975
2975
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
@@ -3055,7 +3055,7 @@ function F_core76318({ SecurityTypeId }) {
|
|
3055
3055
|
}
|
3056
3056
|
|
3057
3057
|
// src/modules-features/admin/core/core83092/F_core83092.tsx
|
3058
|
-
import { Grid as Grid4, Paper as
|
3058
|
+
import { Grid as Grid4, Paper as Paper6, ScrollArea as ScrollArea4 } from "@mantine/core";
|
3059
3059
|
|
3060
3060
|
// src/modules-features/admin/core/core83092/F_core83092_ReadUser.tsx
|
3061
3061
|
import { Container as Container2 } from "@mantine/core";
|
@@ -3166,7 +3166,7 @@ function F_core83092_Save() {
|
|
3166
3166
|
import { Checkbox as Checkbox2, Flex as Flex2, ScrollArea as ScrollArea3, Table as Table3, Text as Text2 } from "@mantine/core";
|
3167
3167
|
import { IconEdit as IconEdit2, IconEyeUp as IconEyeUp2, IconFileExport as IconFileExport2, IconPlus as IconPlus2, IconPrinter as IconPrinter2, IconTrash as IconTrash2 } from "@tabler/icons-react";
|
3168
3168
|
import { useQuery as useQuery16 } from "@tanstack/react-query";
|
3169
|
-
import
|
3169
|
+
import React2, { useEffect as useEffect10, useState as useState8 } from "react";
|
3170
3170
|
import { jsx as jsx60, jsxs as jsxs38 } from "react/jsx-runtime";
|
3171
3171
|
var title2 = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
|
3172
3172
|
function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
|
@@ -3263,7 +3263,7 @@ function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
|
|
3263
3263
|
/* @__PURE__ */ jsx60(Table3.Td, { children: /* @__PURE__ */ jsx60(MyCenterFull, { children: /* @__PURE__ */ jsx60(Checkbox2, {}) }) }),
|
3264
3264
|
/* @__PURE__ */ jsx60(Table3.Td, { children: /* @__PURE__ */ jsx60(MyCenterFull, { children: /* @__PURE__ */ jsx60(Checkbox2, {}) }) })
|
3265
3265
|
] }, idx);
|
3266
|
-
return /* @__PURE__ */ jsxs38(
|
3266
|
+
return /* @__PURE__ */ jsxs38(React2.Fragment, { children: [
|
3267
3267
|
/* @__PURE__ */ jsx60(Table3.Tr, { children: /* @__PURE__ */ jsx60(
|
3268
3268
|
Table3.Td,
|
3269
3269
|
{
|
@@ -3393,7 +3393,7 @@ function F_core83092({ menuData: menuData2 }) {
|
|
3393
3393
|
return /* @__PURE__ */ jsxs39(Grid4, { grow: true, children: [
|
3394
3394
|
/* @__PURE__ */ jsx61(Grid4.Col, { span: 4, children: /* @__PURE__ */ jsx61(F_core83092_ReadUser, {}) }),
|
3395
3395
|
/* @__PURE__ */ jsx61(Grid4.Col, { span: 8, children: /* @__PURE__ */ jsxs39(MyFlexColumn, { h: "80vh", flex: 1, children: [
|
3396
|
-
/* @__PURE__ */ jsx61(ScrollArea4.Autosize, { h: "100%", children: /* @__PURE__ */ jsx61(
|
3396
|
+
/* @__PURE__ */ jsx61(ScrollArea4.Autosize, { h: "100%", children: /* @__PURE__ */ jsx61(Paper6, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx61(F_core83092_ViewMenuPermissions, { menuData: menuData2 }) }) }),
|
3397
3397
|
/* @__PURE__ */ jsx61(F_core83092_Save, {})
|
3398
3398
|
] }) })
|
3399
3399
|
] });
|
@@ -3425,10 +3425,10 @@ import {
|
|
3425
3425
|
Checkbox as Checkbox3,
|
3426
3426
|
Flex as Flex3,
|
3427
3427
|
Group as Group4,
|
3428
|
-
Paper as
|
3428
|
+
Paper as Paper7,
|
3429
3429
|
PasswordInput as PasswordInput2,
|
3430
3430
|
Text as Text3,
|
3431
|
-
TextInput as
|
3431
|
+
TextInput as TextInput2,
|
3432
3432
|
Title
|
3433
3433
|
} from "@mantine/core";
|
3434
3434
|
import { useForm as useForm20 } from "@mantine/form";
|
@@ -3500,7 +3500,7 @@ function F_authenticate_Login({
|
|
3500
3500
|
{
|
3501
3501
|
src: backgroundImage,
|
3502
3502
|
h: "100vh",
|
3503
|
-
children: /* @__PURE__ */ jsx63(Center2, { h: "100vh", children: /* @__PURE__ */ jsxs40(
|
3503
|
+
children: /* @__PURE__ */ jsx63(Center2, { h: "100vh", children: /* @__PURE__ */ jsxs40(Paper7, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
|
3504
3504
|
/* @__PURE__ */ jsxs40(Flex3, { direction: "column", mb: "md", children: [
|
3505
3505
|
/* @__PURE__ */ jsx63(Title, { ta: "center", className: css_default.title, children: "\u0110\u0103ng nh\u1EADp!" }),
|
3506
3506
|
/* @__PURE__ */ jsxs40(Text3, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
|
@@ -3510,7 +3510,7 @@ function F_authenticate_Login({
|
|
3510
3510
|
] }),
|
3511
3511
|
/* @__PURE__ */ jsx63("form", { onSubmit: form.onSubmit(async (values) => handleSubmit(values.username, values.password)), children: /* @__PURE__ */ jsxs40(MyFlexColumn, { children: [
|
3512
3512
|
/* @__PURE__ */ jsx63(
|
3513
|
-
|
3513
|
+
TextInput2,
|
3514
3514
|
__spreadProps(__spreadValues({}, form.getInputProps("username")), {
|
3515
3515
|
label: "T\xE0i kho\u1EA3n",
|
3516
3516
|
placeholder: "Nh\u1EADp t\xE0i kho\u1EA3n c\u1EE7a b\u1EA1n",
|