aq-fe-framework 0.1.187 → 0.1.189
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.
@@ -7123,7 +7123,7 @@ function BasicAppShell({ children, menu, extraTopRight, title }) {
|
|
7123
7123
|
left: "50%",
|
7124
7124
|
transform: "translateX(-50%)"
|
7125
7125
|
},
|
7126
|
-
children: /* @__PURE__ */ jsx51(Text13, { c: "green", fw: "bold", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` })
|
7126
|
+
children: /* @__PURE__ */ jsx51(Text13, { c: "green", fw: "bold", size: "sm", children: title ? title : `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` })
|
7127
7127
|
}
|
7128
7128
|
),
|
7129
7129
|
/* @__PURE__ */ jsxs27(Group13, { children: [
|
@@ -66,7 +66,7 @@ import {
|
|
66
66
|
useS_BasicAppShell,
|
67
67
|
useS_ButtonImport,
|
68
68
|
utils_layout_getItemsWithoutLinks
|
69
|
-
} from "../chunk-
|
69
|
+
} from "../chunk-TQQLLV3Q.mjs";
|
70
70
|
import "../chunk-Z6OQG54Q.mjs";
|
71
71
|
import "../chunk-Y3YGC5IH.mjs";
|
72
72
|
import "../chunk-5U2JSHSJ.mjs";
|
@@ -367,11 +367,20 @@ interface IEmailConfig extends IBaseEntity {
|
|
367
367
|
interface I$6 extends IEmailConfig {
|
368
368
|
password?: string;
|
369
369
|
}
|
370
|
-
declare function F_core64229_Form({ values }: {
|
370
|
+
declare function F_core64229_Form({ values, emailModule }: {
|
371
371
|
values?: I$6;
|
372
|
+
emailModule: (string | {
|
373
|
+
value: string;
|
374
|
+
label: string;
|
375
|
+
})[];
|
372
376
|
}): react_jsx_runtime.JSX.Element;
|
373
377
|
|
374
|
-
declare function F_core64229_Read(
|
378
|
+
declare function F_core64229_Read({ emailModule }: {
|
379
|
+
emailModule: (string | {
|
380
|
+
value: string;
|
381
|
+
label: string;
|
382
|
+
})[];
|
383
|
+
}): react_jsx_runtime.JSX.Element | "Đang tải";
|
375
384
|
|
376
385
|
declare function F_core71678(): react_jsx_runtime.JSX.Element;
|
377
386
|
|
@@ -25,7 +25,7 @@ import {
|
|
25
25
|
useS_BasicAppShell,
|
26
26
|
useS_authenticate,
|
27
27
|
utils_layout_getItemsWithoutLinks
|
28
|
-
} from "../chunk-
|
28
|
+
} from "../chunk-TQQLLV3Q.mjs";
|
29
29
|
import {
|
30
30
|
baseAxios_default,
|
31
31
|
useQ_AQ_GetAQModule
|
@@ -2209,8 +2209,8 @@ function F_core60524_Form() {
|
|
2209
2209
|
Image,
|
2210
2210
|
{
|
2211
2211
|
fit: "contain",
|
2212
|
-
src: `data:image/${(_a =
|
2213
|
-
${(_b =
|
2212
|
+
src: `data:image/${(_a = form.getValues().faviconFileDetail) == null ? void 0 : _a.fileExtension};base64,
|
2213
|
+
${(_b = form.getValues().faviconFileDetail) == null ? void 0 : _b.fileBase64String}`,
|
2214
2214
|
h: "115px",
|
2215
2215
|
fallbackSrc: "https://placehold.co/600x400?text=Placeholder",
|
2216
2216
|
alt: "Main logo",
|
@@ -2235,8 +2235,8 @@ function F_core60524_Form() {
|
|
2235
2235
|
Image,
|
2236
2236
|
{
|
2237
2237
|
fit: "contain",
|
2238
|
-
src: `data:image/${(_c =
|
2239
|
-
${(_d =
|
2238
|
+
src: `data:image/${(_c = form.getValues().logoFileDetail) == null ? void 0 : _c.fileExtension};base64,
|
2239
|
+
${(_d = form.getValues().logoFileDetail) == null ? void 0 : _d.fileBase64String}`,
|
2240
2240
|
h: "115px",
|
2241
2241
|
fallbackSrc: "https://placehold.co/600x400?text=Placeholder",
|
2242
2242
|
alt: "Main logo",
|
@@ -2276,11 +2276,11 @@ import { useMemo as useMemo9 } from "react";
|
|
2276
2276
|
import { PasswordInput } from "@mantine/core";
|
2277
2277
|
import { useForm as useForm15 } from "@mantine/form";
|
2278
2278
|
import { jsx as jsx43, jsxs as jsxs29 } from "react/jsx-runtime";
|
2279
|
-
function F_core64229_Form({ values }) {
|
2279
|
+
function F_core64229_Form({ values, emailModule }) {
|
2280
2280
|
const form = useForm15({
|
2281
2281
|
mode: "uncontrolled",
|
2282
2282
|
initialValues: values ? values : {
|
2283
|
-
emailModule:
|
2283
|
+
emailModule: Number(emailModule[0])
|
2284
2284
|
}
|
2285
2285
|
});
|
2286
2286
|
function handleSubmit() {
|
@@ -2306,7 +2306,7 @@ function F_core64229_Form({ values }) {
|
|
2306
2306
|
{
|
2307
2307
|
form,
|
2308
2308
|
onSubmit: handleSubmit,
|
2309
|
-
children: /* @__PURE__ */ jsx43(FormInput, { form })
|
2309
|
+
children: /* @__PURE__ */ jsx43(FormInput, { form, emailModule })
|
2310
2310
|
}
|
2311
2311
|
);
|
2312
2312
|
return /* @__PURE__ */ jsx43(
|
@@ -2314,18 +2314,18 @@ function F_core64229_Form({ values }) {
|
|
2314
2314
|
{
|
2315
2315
|
form,
|
2316
2316
|
onSubmit: handleSubmit,
|
2317
|
-
children: /* @__PURE__ */ jsx43(FormInput, { form })
|
2317
|
+
children: /* @__PURE__ */ jsx43(FormInput, { form, emailModule })
|
2318
2318
|
}
|
2319
2319
|
);
|
2320
2320
|
}
|
2321
|
-
function FormInput({ form }) {
|
2321
|
+
function FormInput({ form, emailModule }) {
|
2322
2322
|
var _a, _b;
|
2323
2323
|
return /* @__PURE__ */ jsxs29(MyFlexColumn, { children: [
|
2324
2324
|
/* @__PURE__ */ jsx43(
|
2325
2325
|
MySelect,
|
2326
2326
|
__spreadProps(__spreadValues({
|
2327
2327
|
label: "Ph\xE2n h\u1EC7",
|
2328
|
-
data:
|
2328
|
+
data: emailModule
|
2329
2329
|
}, form.getInputProps("emailModule")), {
|
2330
2330
|
value: (_a = form.getValues().emailModule) == null ? void 0 : _a.toString()
|
2331
2331
|
})
|
@@ -2391,7 +2391,7 @@ function F_core64229_Delete({ values }) {
|
|
2391
2391
|
|
2392
2392
|
// src/modules-features/admin/core/core64229/F_core64229_Read.tsx
|
2393
2393
|
import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
|
2394
|
-
function F_core64229_Read() {
|
2394
|
+
function F_core64229_Read({ emailModule }) {
|
2395
2395
|
const query = useQuery11({
|
2396
2396
|
queryKey: ["F_core64229_Read"],
|
2397
2397
|
queryFn: async () => {
|
@@ -2440,9 +2440,9 @@ function F_core64229_Read() {
|
|
2440
2440
|
{
|
2441
2441
|
columns,
|
2442
2442
|
data: query.data,
|
2443
|
-
renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx45(F_core64229_Form, {}),
|
2443
|
+
renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx45(F_core64229_Form, { emailModule }),
|
2444
2444
|
renderRowActions: ({ row }) => /* @__PURE__ */ jsxs30(MyCenterFull, { children: [
|
2445
|
-
/* @__PURE__ */ jsx45(F_core64229_Form, { values: row.original }),
|
2445
|
+
/* @__PURE__ */ jsx45(F_core64229_Form, { values: row.original, emailModule }),
|
2446
2446
|
/* @__PURE__ */ jsx45(F_core64229_Delete, { values: row.original })
|
2447
2447
|
] })
|
2448
2448
|
}
|
@@ -2452,7 +2452,7 @@ function F_core64229_Read() {
|
|
2452
2452
|
// src/modules-features/admin/core/core64229/F_core64229.tsx
|
2453
2453
|
import { jsx as jsx46 } from "react/jsx-runtime";
|
2454
2454
|
function F_core64229() {
|
2455
|
-
return /* @__PURE__ */ jsx46(F_core64229_Read, {});
|
2455
|
+
return /* @__PURE__ */ jsx46(F_core64229_Read, { emailModule: utils_converter_enumToSelectOptions(ENUM_EMAILCONFIG_MODULE) });
|
2456
2456
|
}
|
2457
2457
|
|
2458
2458
|
// src/modules-features/admin/core/core71678/F_core71678_Read.tsx
|