aq-fe-framework 0.1.92 → 0.1.93
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.
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createGenericStore
|
|
3
|
-
} from "./chunk-Y3YGC5IH.mjs";
|
|
4
1
|
import {
|
|
5
2
|
U0DateToDDMMYYYString,
|
|
6
3
|
U0MyValidateEmail,
|
|
@@ -9,6 +6,9 @@ import {
|
|
|
9
6
|
utils_notification_show,
|
|
10
7
|
utils_pdf_download
|
|
11
8
|
} from "./chunk-EEQENBXZ.mjs";
|
|
9
|
+
import {
|
|
10
|
+
createGenericStore
|
|
11
|
+
} from "./chunk-Y3YGC5IH.mjs";
|
|
12
12
|
import {
|
|
13
13
|
__objRest,
|
|
14
14
|
__spreadProps,
|
|
@@ -7682,7 +7682,7 @@ import { useMemo as useMemo4 } from "react";
|
|
|
7682
7682
|
import { FileInput as FileInput4 } from "@mantine/core";
|
|
7683
7683
|
import { useForm as useForm3 } from "@mantine/form";
|
|
7684
7684
|
import { jsx as jsx63, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
7685
|
-
function F_core16209_Create() {
|
|
7685
|
+
function F_core16209_Create({ RefinementTypeId }) {
|
|
7686
7686
|
const form = useForm3({
|
|
7687
7687
|
mode: "uncontrolled",
|
|
7688
7688
|
validate: {
|
|
@@ -7700,7 +7700,7 @@ function F_core16209_Create() {
|
|
|
7700
7700
|
form,
|
|
7701
7701
|
onSubmit: async (values) => {
|
|
7702
7702
|
return await baseAxios_default.post("/Document/create", __spreadProps(__spreadValues({}, values), {
|
|
7703
|
-
DocumentType:
|
|
7703
|
+
DocumentType: RefinementTypeId,
|
|
7704
7704
|
//1.4 Thông tin xây dựng, cải tiến, bảo trì hệ thống
|
|
7705
7705
|
fileDetail: await utils_file_fileToAQDocumentType(values.file)
|
|
7706
7706
|
}));
|
|
@@ -7843,7 +7843,7 @@ function F_core16209({ RefinementTypeId }) {
|
|
|
7843
7843
|
{
|
|
7844
7844
|
columns,
|
|
7845
7845
|
data: query.data,
|
|
7846
|
-
renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx66(F_core16209_Create, {}),
|
|
7846
|
+
renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx66(F_core16209_Create, { RefinementTypeId }),
|
|
7847
7847
|
renderRowActions: ({ row }) => {
|
|
7848
7848
|
return /* @__PURE__ */ jsxs37(MyCenterFull, { children: [
|
|
7849
7849
|
/* @__PURE__ */ jsx66(F_core16209_Update, { values: row.original }),
|
|
@@ -9019,7 +9019,7 @@ import { useMemo as useMemo9 } from "react";
|
|
|
9019
9019
|
import { FileInput as FileInput6 } from "@mantine/core";
|
|
9020
9020
|
import { useForm as useForm11 } from "@mantine/form";
|
|
9021
9021
|
import { jsx as jsx87, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
9022
|
-
function F_core40207_Create() {
|
|
9022
|
+
function F_core40207_Create({ GuidelineTypeId }) {
|
|
9023
9023
|
const form = useForm11({
|
|
9024
9024
|
mode: "uncontrolled",
|
|
9025
9025
|
validate: {
|
|
@@ -9035,7 +9035,7 @@ function F_core40207_Create() {
|
|
|
9035
9035
|
form,
|
|
9036
9036
|
onSubmit: async (values) => {
|
|
9037
9037
|
return await baseAxios_default.post("/Document/create", __spreadProps(__spreadValues({}, values), {
|
|
9038
|
-
DocumentType:
|
|
9038
|
+
DocumentType: GuidelineTypeId,
|
|
9039
9039
|
//1.4 Thông tin xây dựng, cải tiến, bảo trì hệ thống
|
|
9040
9040
|
fileDetail: await utils_file_fileToAQDocumentType(values.file)
|
|
9041
9041
|
}));
|
|
@@ -9765,7 +9765,7 @@ import { useMemo as useMemo14 } from "react";
|
|
|
9765
9765
|
import { FileInput as FileInput8 } from "@mantine/core";
|
|
9766
9766
|
import { useForm as useForm17 } from "@mantine/form";
|
|
9767
9767
|
import { jsx as jsx106, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
9768
|
-
function F_core76318_Create() {
|
|
9768
|
+
function F_core76318_Create({ SecurityTypeId }) {
|
|
9769
9769
|
const form = useForm17({
|
|
9770
9770
|
mode: "uncontrolled",
|
|
9771
9771
|
validate: {
|
|
@@ -9782,7 +9782,7 @@ function F_core76318_Create() {
|
|
|
9782
9782
|
form,
|
|
9783
9783
|
onSubmit: async (values) => {
|
|
9784
9784
|
return await baseAxios_default.post("/Document/create", __spreadProps(__spreadValues({}, values), {
|
|
9785
|
-
DocumentType:
|
|
9785
|
+
DocumentType: SecurityTypeId,
|
|
9786
9786
|
//1.4 Thông tin xây dựng, cải tiến, bảo trì hệ thống
|
|
9787
9787
|
fileDetail: await utils_file_fileToAQDocumentType(values.file)
|
|
9788
9788
|
}));
|
|
@@ -9945,7 +9945,7 @@ function F_core76318_Read({ SecurityTypeId }) {
|
|
|
9945
9945
|
{
|
|
9946
9946
|
columns,
|
|
9947
9947
|
data: query.data,
|
|
9948
|
-
renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx109(F_core76318_Create, {}),
|
|
9948
|
+
renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx109(F_core76318_Create, { SecurityTypeId }),
|
|
9949
9949
|
renderRowActions: ({ row }) => {
|
|
9950
9950
|
var _a;
|
|
9951
9951
|
return /* @__PURE__ */ jsxs66(MyCenterFull, { children: [
|
|
@@ -63,9 +63,9 @@ import {
|
|
|
63
63
|
useS_BasicAppShell,
|
|
64
64
|
useS_ButtonImport,
|
|
65
65
|
utils_layout_getItemsWithoutLinks
|
|
66
|
-
} from "../chunk-
|
|
67
|
-
import "../chunk-Y3YGC5IH.mjs";
|
|
66
|
+
} from "../chunk-4AZPPCLV.mjs";
|
|
68
67
|
import "../chunk-EEQENBXZ.mjs";
|
|
68
|
+
import "../chunk-Y3YGC5IH.mjs";
|
|
69
69
|
import "../chunk-FWCSY2DS.mjs";
|
|
70
70
|
export {
|
|
71
71
|
AQButtonCreateByImportFile,
|
|
@@ -61,7 +61,9 @@ declare function F_core16209({ RefinementTypeId }: {
|
|
|
61
61
|
RefinementTypeId: number;
|
|
62
62
|
}): react_jsx_runtime.JSX.Element | "Loading..." | "có lỗi xảy ra!";
|
|
63
63
|
|
|
64
|
-
declare function F_core16209_Create(
|
|
64
|
+
declare function F_core16209_Create({ RefinementTypeId }: {
|
|
65
|
+
RefinementTypeId: number;
|
|
66
|
+
}): react_jsx_runtime.JSX.Element;
|
|
65
67
|
|
|
66
68
|
declare function F_core16209_Delete({ id, contextData, }: {
|
|
67
69
|
id: number;
|
|
@@ -271,7 +273,9 @@ declare function F_core40207({ GuidelineTypeId }: {
|
|
|
271
273
|
GuidelineTypeId: number;
|
|
272
274
|
}): react_jsx_runtime.JSX.Element;
|
|
273
275
|
|
|
274
|
-
declare function F_core40207_Create(
|
|
276
|
+
declare function F_core40207_Create({ GuidelineTypeId }: {
|
|
277
|
+
GuidelineTypeId: number;
|
|
278
|
+
}): react_jsx_runtime.JSX.Element;
|
|
275
279
|
|
|
276
280
|
declare function F_core40207_Delete({ id, contextData, }: {
|
|
277
281
|
id: number;
|
|
@@ -398,7 +402,9 @@ declare function F_core76318({ SecurityTypeId }: {
|
|
|
398
402
|
SecurityTypeId: number;
|
|
399
403
|
}): react_jsx_runtime.JSX.Element;
|
|
400
404
|
|
|
401
|
-
declare function F_core76318_Create(
|
|
405
|
+
declare function F_core76318_Create({ SecurityTypeId }: {
|
|
406
|
+
SecurityTypeId: number;
|
|
407
|
+
}): react_jsx_runtime.JSX.Element;
|
|
402
408
|
|
|
403
409
|
declare function F_core76318_Delete({ id, contextData, }: {
|
|
404
410
|
id: number;
|
|
@@ -63,9 +63,9 @@ import {
|
|
|
63
63
|
useS_authenticate,
|
|
64
64
|
useS_core83092,
|
|
65
65
|
utils_core83092_mergePage
|
|
66
|
-
} from "../chunk-
|
|
67
|
-
import "../chunk-Y3YGC5IH.mjs";
|
|
66
|
+
} from "../chunk-4AZPPCLV.mjs";
|
|
68
67
|
import "../chunk-EEQENBXZ.mjs";
|
|
68
|
+
import "../chunk-Y3YGC5IH.mjs";
|
|
69
69
|
import "../chunk-FWCSY2DS.mjs";
|
|
70
70
|
export {
|
|
71
71
|
F_authenticate_Login,
|