aq-fe-framework 0.1.569 → 0.1.571
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-544VC4BO.mjs → chunk-IHBXELA5.mjs} +1 -1
- package/dist/{chunk-XASZOF7S.mjs → chunk-RDMOBCWH.mjs} +12 -2
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/core/index.d.mts +1 -1
- package/dist/core/index.mjs +3 -3
- package/dist/coreService/index.mjs +2 -2
- package/dist/modules-features/index.mjs +104 -104
- package/dist/{types-R8qp2Kru.d.mts → types-BwUJ1iPV.d.mts} +1 -1
- package/package.json +1 -1
- package/dist/{chunk-AWWU2WEF.mjs → chunk-HETWN2YJ.mjs} +3 -3
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
MyFieldset,
|
|
4
4
|
MyFlexColumn,
|
|
5
5
|
MyFlexRow
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HETWN2YJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
const_object_colors
|
|
9
9
|
} from "./chunk-OMJJAHOC.mjs";
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
IconEdit,
|
|
31
31
|
IconFileExport,
|
|
32
32
|
IconFileImport,
|
|
33
|
+
IconPencil,
|
|
33
34
|
IconPlus,
|
|
34
35
|
IconPrinter,
|
|
35
36
|
IconTrash,
|
|
@@ -84,6 +85,10 @@ var getActionConfig = (colorScheme) => ({
|
|
|
84
85
|
tempDelete: {
|
|
85
86
|
color: "red",
|
|
86
87
|
children: /* @__PURE__ */ jsx(IconX, {})
|
|
88
|
+
},
|
|
89
|
+
tempUpdate: {
|
|
90
|
+
color: "yellow",
|
|
91
|
+
children: /* @__PURE__ */ jsx(IconPencil, {})
|
|
87
92
|
}
|
|
88
93
|
});
|
|
89
94
|
function MyActionIcon(_a) {
|
|
@@ -110,6 +115,7 @@ import {
|
|
|
110
115
|
IconDeviceFloppy as IconDeviceFloppy2,
|
|
111
116
|
IconDownload,
|
|
112
117
|
IconEdit as IconEdit2,
|
|
118
|
+
IconPencil as IconPencil2,
|
|
113
119
|
IconPlus as IconPlus2,
|
|
114
120
|
IconPrinter as IconPrinter2,
|
|
115
121
|
IconSearch,
|
|
@@ -179,7 +185,11 @@ var getActionConfig2 = (colorScheme) => ({
|
|
|
179
185
|
leftSection: /* @__PURE__ */ jsx2(IconSearch, {}),
|
|
180
186
|
children: "T\xECm"
|
|
181
187
|
},
|
|
182
|
-
tempDelete: {}
|
|
188
|
+
tempDelete: {},
|
|
189
|
+
tempUpdate: {
|
|
190
|
+
color: "yellow",
|
|
191
|
+
leftSection: /* @__PURE__ */ jsx2(IconPencil2, {})
|
|
192
|
+
}
|
|
183
193
|
});
|
|
184
194
|
function MyButton(_a) {
|
|
185
195
|
var _b = _a, { children, actionType } = _b, rest = __objRest(_b, ["children", "actionType"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ReactNode, ComponentProps } from 'react';
|
|
3
|
-
import { t as type_action, a as type_mantineSize } from '../types-
|
|
3
|
+
import { t as type_action, a as type_mantineSize } from '../types-BwUJ1iPV.mjs';
|
|
4
4
|
import { ActionIconProps, ButtonProps, useModalsStack, CheckboxProps, SelectProps, NumberFormatterProps, FieldsetProps, FileInputProps, NumberInputProps, TextareaProps, MantineSize, InputWrapperProps, TextInputProps, ContainerProps, FlexProps, GroupProps, TypographyStylesProviderProps, TabsProps, SkeletonProps } from '@mantine/core';
|
|
5
5
|
import { AxiosResponse } from 'axios';
|
|
6
6
|
import { M as MyApiResponse } from '../createBaseApi-75GHCO22.mjs';
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
useS_BasicAppShell,
|
|
68
68
|
useS_ButtonImport,
|
|
69
69
|
utils_layout_getItemsWithoutLinks
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-HETWN2YJ.mjs";
|
|
71
71
|
import "../chunk-U62R2QKJ.mjs";
|
|
72
72
|
import "../chunk-5U2JSHSJ.mjs";
|
|
73
73
|
import "../chunk-OMJJAHOC.mjs";
|
package/dist/core/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { t as type_action } from '../types-
|
|
2
|
+
import { t as type_action } from '../types-BwUJ1iPV.mjs';
|
|
3
3
|
import { ActionIconProps, ButtonProps, ModalProps, ScrollAreaAutosizeProps, TextProps, PaperProps, GroupProps, ThemeIconProps, InputWrapperProps, SelectProps, TextInputProps, FlexProps } from '@mantine/core';
|
|
4
4
|
import { ReactNode, ButtonHTMLAttributes } from 'react';
|
|
5
5
|
import { UseFormReturnType } from '@mantine/form';
|
package/dist/core/index.mjs
CHANGED
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
MyStatsCard,
|
|
21
21
|
MyTextInput,
|
|
22
22
|
MyWeeklySessionSchedulerPicker
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-RDMOBCWH.mjs";
|
|
24
24
|
import "../chunk-GFEMKKFH.mjs";
|
|
25
25
|
import {
|
|
26
26
|
MyModalDelete
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-IHBXELA5.mjs";
|
|
28
|
+
import "../chunk-HETWN2YJ.mjs";
|
|
29
29
|
import "../chunk-U62R2QKJ.mjs";
|
|
30
30
|
import "../chunk-5U2JSHSJ.mjs";
|
|
31
31
|
import "../chunk-OMJJAHOC.mjs";
|
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
U0DateToDDMMYYYString
|
|
13
13
|
} from "../chunk-EWDS5IOF.mjs";
|
|
14
14
|
import {
|
|
15
|
-
MyButton,
|
|
15
|
+
MyButton as MyButton2,
|
|
16
16
|
MyDataTableSelectOne,
|
|
17
|
-
MyTextInput
|
|
18
|
-
} from "../chunk-
|
|
17
|
+
MyTextInput as MyTextInput2
|
|
18
|
+
} from "../chunk-RDMOBCWH.mjs";
|
|
19
19
|
import {
|
|
20
20
|
const_object_documentTypes
|
|
21
21
|
} from "../chunk-GFEMKKFH.mjs";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-IHBXELA5.mjs";
|
|
23
23
|
import {
|
|
24
24
|
F_authenticate_Logout,
|
|
25
25
|
MyActionIconDelete,
|
|
26
26
|
MyActionIconUpdate,
|
|
27
27
|
MyBoxesBackground,
|
|
28
|
-
MyButton
|
|
28
|
+
MyButton,
|
|
29
29
|
MyButtonCreate,
|
|
30
30
|
MyButtonModal,
|
|
31
31
|
MyButtonViewPDF,
|
|
@@ -41,11 +41,11 @@ import {
|
|
|
41
41
|
MyPageContent,
|
|
42
42
|
MySelect,
|
|
43
43
|
MyTab,
|
|
44
|
-
MyTextInput
|
|
44
|
+
MyTextInput,
|
|
45
45
|
groupToTwoLevels,
|
|
46
46
|
useS_authenticate,
|
|
47
47
|
utils_layout_getItemsWithoutLinks
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-HETWN2YJ.mjs";
|
|
49
49
|
import {
|
|
50
50
|
createGenericStore
|
|
51
51
|
} from "../chunk-U62R2QKJ.mjs";
|
|
@@ -210,7 +210,7 @@ function Permission_SaveMenuPermission({
|
|
|
210
210
|
}
|
|
211
211
|
});
|
|
212
212
|
return /* @__PURE__ */ jsx3(
|
|
213
|
-
|
|
213
|
+
MyButton2,
|
|
214
214
|
{
|
|
215
215
|
onClick: () => {
|
|
216
216
|
mutation.mutate((values == null ? void 0 : values.filter((item) => item.id != "0").map((item) => ({
|
|
@@ -831,7 +831,7 @@ function F_accessControl_Save() {
|
|
|
831
831
|
}
|
|
832
832
|
disable[1](false);
|
|
833
833
|
}, [store.state.rolePermissions]);
|
|
834
|
-
return /* @__PURE__ */ jsx9(
|
|
834
|
+
return /* @__PURE__ */ jsx9(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
// src/modules-features/admin/core/accessControl/old/F_accessControl.tsx
|
|
@@ -1285,7 +1285,7 @@ function F_accessControlLevel_Save() {
|
|
|
1285
1285
|
}
|
|
1286
1286
|
disable[1](false);
|
|
1287
1287
|
}, [store.state.rolePermissions]);
|
|
1288
|
-
return /* @__PURE__ */ jsx16(
|
|
1288
|
+
return /* @__PURE__ */ jsx16(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
|
|
1289
1289
|
}
|
|
1290
1290
|
|
|
1291
1291
|
// src/modules-features/admin/core/accessControlLevel/old/F_accessControlLevel.tsx
|
|
@@ -1492,11 +1492,11 @@ function F_accountManagement_Create() {
|
|
|
1492
1492
|
}));
|
|
1493
1493
|
}
|
|
1494
1494
|
return /* @__PURE__ */ jsxs9(MyButtonCreate, { form, onSubmit: handleSubmit, objectName: "ng\u01B0\u1EDDi d\xF9ng", children: [
|
|
1495
|
-
/* @__PURE__ */ jsx19(
|
|
1495
|
+
/* @__PURE__ */ jsx19(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
|
|
1496
1496
|
/* @__PURE__ */ jsx19(PasswordInput, __spreadValues({ label: "M\u1EADt kh\u1EA9u" }, form.getInputProps("password"))),
|
|
1497
|
-
/* @__PURE__ */ jsx19(
|
|
1498
|
-
/* @__PURE__ */ jsx19(
|
|
1499
|
-
/* @__PURE__ */ jsx19(
|
|
1497
|
+
/* @__PURE__ */ jsx19(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
|
|
1498
|
+
/* @__PURE__ */ jsx19(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
|
|
1499
|
+
/* @__PURE__ */ jsx19(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber"))),
|
|
1500
1500
|
skillCenter_getAll_query.data && store.state.isRequireSkillCenter == true && /* @__PURE__ */ jsx19(
|
|
1501
1501
|
MultiSelect,
|
|
1502
1502
|
{
|
|
@@ -1575,10 +1575,10 @@ function F_accountManagement_Update({ user }) {
|
|
|
1575
1575
|
})
|
|
1576
1576
|
);
|
|
1577
1577
|
}, children: /* @__PURE__ */ jsxs10(MyFlexColumn, { children: [
|
|
1578
|
-
/* @__PURE__ */ jsx21(
|
|
1579
|
-
/* @__PURE__ */ jsx21(
|
|
1580
|
-
/* @__PURE__ */ jsx21(
|
|
1581
|
-
/* @__PURE__ */ jsx21(
|
|
1578
|
+
/* @__PURE__ */ jsx21(MyTextInput, __spreadValues({ disabled: true, label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
|
|
1579
|
+
/* @__PURE__ */ jsx21(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
|
|
1580
|
+
/* @__PURE__ */ jsx21(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
|
|
1581
|
+
/* @__PURE__ */ jsx21(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber"))),
|
|
1582
1582
|
skillCenter_getAll_query.data && store.state.isRequireSkillCenter == true && /* @__PURE__ */ jsx21(
|
|
1583
1583
|
MultiSelect2,
|
|
1584
1584
|
{
|
|
@@ -1837,7 +1837,7 @@ function F_core12196_Update({
|
|
|
1837
1837
|
},
|
|
1838
1838
|
children: [
|
|
1839
1839
|
/* @__PURE__ */ jsx26(
|
|
1840
|
-
|
|
1840
|
+
MyTextInput,
|
|
1841
1841
|
__spreadValues({
|
|
1842
1842
|
withAsterisk: true,
|
|
1843
1843
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -1851,7 +1851,7 @@ function F_core12196_Update({
|
|
|
1851
1851
|
}, form.getInputProps("promulgateDate"))
|
|
1852
1852
|
),
|
|
1853
1853
|
/* @__PURE__ */ jsx26(
|
|
1854
|
-
|
|
1854
|
+
MyTextInput,
|
|
1855
1855
|
__spreadValues({
|
|
1856
1856
|
withAsterisk: true,
|
|
1857
1857
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2020,7 +2020,7 @@ function F_core12196_Create({ FormTypeId }) {
|
|
|
2020
2020
|
},
|
|
2021
2021
|
children: [
|
|
2022
2022
|
/* @__PURE__ */ jsx28(
|
|
2023
|
-
|
|
2023
|
+
MyTextInput,
|
|
2024
2024
|
__spreadValues({
|
|
2025
2025
|
withAsterisk: true,
|
|
2026
2026
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -2034,7 +2034,7 @@ function F_core12196_Create({ FormTypeId }) {
|
|
|
2034
2034
|
}, form.getInputProps("promulgateDate"))
|
|
2035
2035
|
),
|
|
2036
2036
|
/* @__PURE__ */ jsx28(
|
|
2037
|
-
|
|
2037
|
+
MyTextInput,
|
|
2038
2038
|
__spreadValues({
|
|
2039
2039
|
withAsterisk: true,
|
|
2040
2040
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2122,20 +2122,20 @@ function F_core16209_Create({
|
|
|
2122
2122
|
}, form.getInputProps("meetingDate"))
|
|
2123
2123
|
),
|
|
2124
2124
|
/* @__PURE__ */ jsx30(
|
|
2125
|
-
|
|
2125
|
+
MyTextInput,
|
|
2126
2126
|
__spreadValues({
|
|
2127
2127
|
withAsterisk: true,
|
|
2128
2128
|
label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
|
|
2129
2129
|
}, form.getInputProps("departmentName"))
|
|
2130
2130
|
),
|
|
2131
2131
|
/* @__PURE__ */ jsx30(
|
|
2132
|
-
|
|
2132
|
+
MyTextInput,
|
|
2133
2133
|
__spreadValues({
|
|
2134
2134
|
withAsterisk: true,
|
|
2135
2135
|
label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
|
|
2136
2136
|
}, form.getInputProps("description"))
|
|
2137
2137
|
),
|
|
2138
|
-
/* @__PURE__ */ jsx30(
|
|
2138
|
+
/* @__PURE__ */ jsx30(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
|
|
2139
2139
|
/* @__PURE__ */ jsx30(
|
|
2140
2140
|
MyDateInput,
|
|
2141
2141
|
__spreadValues({
|
|
@@ -2223,20 +2223,20 @@ function F_core16209_Update({ values }) {
|
|
|
2223
2223
|
}, form.getInputProps("meetingDate"))
|
|
2224
2224
|
),
|
|
2225
2225
|
/* @__PURE__ */ jsx32(
|
|
2226
|
-
|
|
2226
|
+
MyTextInput,
|
|
2227
2227
|
__spreadValues({
|
|
2228
2228
|
withAsterisk: true,
|
|
2229
2229
|
label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
|
|
2230
2230
|
}, form.getInputProps("departmentName"))
|
|
2231
2231
|
),
|
|
2232
2232
|
/* @__PURE__ */ jsx32(
|
|
2233
|
-
|
|
2233
|
+
MyTextInput,
|
|
2234
2234
|
__spreadValues({
|
|
2235
2235
|
withAsterisk: true,
|
|
2236
2236
|
label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
|
|
2237
2237
|
}, form.getInputProps("description"))
|
|
2238
2238
|
),
|
|
2239
|
-
/* @__PURE__ */ jsx32(
|
|
2239
|
+
/* @__PURE__ */ jsx32(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
|
|
2240
2240
|
/* @__PURE__ */ jsx32(
|
|
2241
2241
|
MyDateInput,
|
|
2242
2242
|
__spreadValues({
|
|
@@ -2352,8 +2352,8 @@ function F_core18256_Create({ documentType }) {
|
|
|
2352
2352
|
}
|
|
2353
2353
|
});
|
|
2354
2354
|
return /* @__PURE__ */ jsxs19(MyButtonCreate, { objectName: "Lo\u1EA1i v\u0103n b\u1EA3n", form, onSubmit: (values) => baseAxios_default.post("/DocumentAttribute/Create", values), children: [
|
|
2355
|
-
/* @__PURE__ */ jsx34(
|
|
2356
|
-
/* @__PURE__ */ jsx34(
|
|
2355
|
+
/* @__PURE__ */ jsx34(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
|
|
2356
|
+
/* @__PURE__ */ jsx34(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
|
|
2357
2357
|
] });
|
|
2358
2358
|
}
|
|
2359
2359
|
|
|
@@ -2377,8 +2377,8 @@ function F_core18256_Update({ values }) {
|
|
|
2377
2377
|
initialValues: values
|
|
2378
2378
|
});
|
|
2379
2379
|
return /* @__PURE__ */ jsxs20(MyActionIconUpdate, { form, onSubmit: async (values2) => await baseAxios_default.post("/DocumentAttribute/Update", values2), children: [
|
|
2380
|
-
/* @__PURE__ */ jsx36(
|
|
2381
|
-
/* @__PURE__ */ jsx36(
|
|
2380
|
+
/* @__PURE__ */ jsx36(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
|
|
2381
|
+
/* @__PURE__ */ jsx36(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
|
|
2382
2382
|
] });
|
|
2383
2383
|
}
|
|
2384
2384
|
|
|
@@ -2472,7 +2472,7 @@ function F_core26965_Create({
|
|
|
2472
2472
|
},
|
|
2473
2473
|
children: [
|
|
2474
2474
|
/* @__PURE__ */ jsx39(
|
|
2475
|
-
|
|
2475
|
+
MyTextInput,
|
|
2476
2476
|
__spreadValues({
|
|
2477
2477
|
withAsterisk: true,
|
|
2478
2478
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -2486,7 +2486,7 @@ function F_core26965_Create({
|
|
|
2486
2486
|
}, form.getInputProps("promulgateDate"))
|
|
2487
2487
|
),
|
|
2488
2488
|
/* @__PURE__ */ jsx39(
|
|
2489
|
-
|
|
2489
|
+
MyTextInput,
|
|
2490
2490
|
__spreadValues({
|
|
2491
2491
|
withAsterisk: true,
|
|
2492
2492
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2574,7 +2574,7 @@ function F_core26965_Update({
|
|
|
2574
2574
|
},
|
|
2575
2575
|
children: [
|
|
2576
2576
|
/* @__PURE__ */ jsx41(
|
|
2577
|
-
|
|
2577
|
+
MyTextInput,
|
|
2578
2578
|
__spreadValues({
|
|
2579
2579
|
withAsterisk: true,
|
|
2580
2580
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -2588,7 +2588,7 @@ function F_core26965_Update({
|
|
|
2588
2588
|
}, form.getInputProps("promulgateDate"))
|
|
2589
2589
|
),
|
|
2590
2590
|
/* @__PURE__ */ jsx41(
|
|
2591
|
-
|
|
2591
|
+
MyTextInput,
|
|
2592
2592
|
__spreadValues({
|
|
2593
2593
|
withAsterisk: true,
|
|
2594
2594
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2769,7 +2769,7 @@ function F_core27311_Create({
|
|
|
2769
2769
|
},
|
|
2770
2770
|
children: [
|
|
2771
2771
|
/* @__PURE__ */ jsx44(
|
|
2772
|
-
|
|
2772
|
+
MyTextInput,
|
|
2773
2773
|
__spreadValues({
|
|
2774
2774
|
withAsterisk: true,
|
|
2775
2775
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -2783,7 +2783,7 @@ function F_core27311_Create({
|
|
|
2783
2783
|
}, form.getInputProps("promulgateDate"))
|
|
2784
2784
|
),
|
|
2785
2785
|
/* @__PURE__ */ jsx44(
|
|
2786
|
-
|
|
2786
|
+
MyTextInput,
|
|
2787
2787
|
__spreadValues({
|
|
2788
2788
|
withAsterisk: true,
|
|
2789
2789
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2871,7 +2871,7 @@ function F_core27311_Update({
|
|
|
2871
2871
|
},
|
|
2872
2872
|
children: [
|
|
2873
2873
|
/* @__PURE__ */ jsx46(
|
|
2874
|
-
|
|
2874
|
+
MyTextInput,
|
|
2875
2875
|
__spreadValues({
|
|
2876
2876
|
withAsterisk: true,
|
|
2877
2877
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -2885,7 +2885,7 @@ function F_core27311_Update({
|
|
|
2885
2885
|
}, form.getInputProps("promulgateDate"))
|
|
2886
2886
|
),
|
|
2887
2887
|
/* @__PURE__ */ jsx46(
|
|
2888
|
-
|
|
2888
|
+
MyTextInput,
|
|
2889
2889
|
__spreadValues({
|
|
2890
2890
|
withAsterisk: true,
|
|
2891
2891
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -3046,17 +3046,17 @@ import { jsx as jsx49, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
|
3046
3046
|
function F_core35923() {
|
|
3047
3047
|
return /* @__PURE__ */ jsxs31(MyFieldset, { title: "C\u1EADp nh\u1EADt th\xF4ng tin \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n", children: [
|
|
3048
3048
|
/* @__PURE__ */ jsxs31(Grid5, { children: [
|
|
3049
|
-
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 5 }, children: /* @__PURE__ */ jsx49(
|
|
3050
|
-
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx49(
|
|
3051
|
-
/* @__PURE__ */ jsx49(Grid5.Col, { span: 12, children: /* @__PURE__ */ jsx49(
|
|
3052
|
-
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(
|
|
3053
|
-
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(
|
|
3054
|
-
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(
|
|
3055
|
-
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(
|
|
3049
|
+
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 5 }, children: /* @__PURE__ */ jsx49(MyTextInput, { label: "M\xE3 module", disabled: true }) }),
|
|
3050
|
+
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx49(MyTextInput, { label: "T\xEAn module" }) }),
|
|
3051
|
+
/* @__PURE__ */ jsx49(Grid5.Col, { span: 12, children: /* @__PURE__ */ jsx49(MyTextInput, { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" }) }),
|
|
3052
|
+
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(MyTextInput, { label: "Email" }) }),
|
|
3053
|
+
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(MyTextInput, { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }) }),
|
|
3054
|
+
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(MyTextInput, { label: "Ng\xE0y \u0111\u0103ng k\xFD" }) }),
|
|
3055
|
+
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(MyTextInput, { label: "Ng\xE0y h\u1EBFt h\u1EA1n" }) }),
|
|
3056
3056
|
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(MyFileInput, { label: "Favicon (16px x 16px)" }) }),
|
|
3057
3057
|
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(MyFileInput, { label: "Logo (330px x 115px)" }) })
|
|
3058
3058
|
] }),
|
|
3059
|
-
/* @__PURE__ */ jsx49(MyFlexEnd, { children: /* @__PURE__ */ jsx49(
|
|
3059
|
+
/* @__PURE__ */ jsx49(MyFlexEnd, { children: /* @__PURE__ */ jsx49(MyButton, { crudType: "save" }) })
|
|
3060
3060
|
] });
|
|
3061
3061
|
}
|
|
3062
3062
|
|
|
@@ -3091,14 +3091,14 @@ function F_core40207_Create({ GuidelineTypeId }) {
|
|
|
3091
3091
|
},
|
|
3092
3092
|
children: [
|
|
3093
3093
|
/* @__PURE__ */ jsx50(
|
|
3094
|
-
|
|
3094
|
+
MyTextInput,
|
|
3095
3095
|
__spreadValues({
|
|
3096
3096
|
withAsterisk: true,
|
|
3097
3097
|
label: "M\xE3 t\xE0i li\u1EC7u"
|
|
3098
3098
|
}, form.getInputProps("code"))
|
|
3099
3099
|
),
|
|
3100
3100
|
/* @__PURE__ */ jsx50(
|
|
3101
|
-
|
|
3101
|
+
MyTextInput,
|
|
3102
3102
|
__spreadValues({
|
|
3103
3103
|
withAsterisk: true,
|
|
3104
3104
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -3163,14 +3163,14 @@ function F_core40207_Update({ values }) {
|
|
|
3163
3163
|
},
|
|
3164
3164
|
children: [
|
|
3165
3165
|
/* @__PURE__ */ jsx52(
|
|
3166
|
-
|
|
3166
|
+
MyTextInput,
|
|
3167
3167
|
__spreadValues({
|
|
3168
3168
|
withAsterisk: true,
|
|
3169
3169
|
label: "M\xE3 t\xE0i li\u1EC7u"
|
|
3170
3170
|
}, form.getInputProps("code"))
|
|
3171
3171
|
),
|
|
3172
3172
|
/* @__PURE__ */ jsx52(
|
|
3173
|
-
|
|
3173
|
+
MyTextInput,
|
|
3174
3174
|
__spreadValues({
|
|
3175
3175
|
withAsterisk: true,
|
|
3176
3176
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -3280,14 +3280,14 @@ function F_core47643_Form({ values }) {
|
|
|
3280
3280
|
if (values) return /* @__PURE__ */ jsxs35(MyActionIconUpdate, { form, onSubmit: async () => {
|
|
3281
3281
|
return await baseAxios_default.post("/Role/Update", form.getValues());
|
|
3282
3282
|
}, children: [
|
|
3283
|
-
/* @__PURE__ */ jsx56(
|
|
3284
|
-
/* @__PURE__ */ jsx56(
|
|
3283
|
+
/* @__PURE__ */ jsx56(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
|
|
3284
|
+
/* @__PURE__ */ jsx56(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
|
|
3285
3285
|
] });
|
|
3286
3286
|
return /* @__PURE__ */ jsxs35(MyButtonCreate, { form, onSubmit: async () => {
|
|
3287
3287
|
return await baseAxios_default.post("/Role/Create", form.getValues());
|
|
3288
3288
|
}, children: [
|
|
3289
|
-
/* @__PURE__ */ jsx56(
|
|
3290
|
-
/* @__PURE__ */ jsx56(
|
|
3289
|
+
/* @__PURE__ */ jsx56(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
|
|
3290
|
+
/* @__PURE__ */ jsx56(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
|
|
3291
3291
|
] });
|
|
3292
3292
|
}
|
|
3293
3293
|
|
|
@@ -3416,7 +3416,7 @@ function FormInput({ form, emailModule }) {
|
|
|
3416
3416
|
})
|
|
3417
3417
|
),
|
|
3418
3418
|
/* @__PURE__ */ jsx60(
|
|
3419
|
-
|
|
3419
|
+
MyTextInput,
|
|
3420
3420
|
__spreadValues({
|
|
3421
3421
|
label: "Host mail server"
|
|
3422
3422
|
}, form.getInputProps("hostMailServer"))
|
|
@@ -3443,7 +3443,7 @@ function FormInput({ form, emailModule }) {
|
|
|
3443
3443
|
}
|
|
3444
3444
|
),
|
|
3445
3445
|
/* @__PURE__ */ jsx60(
|
|
3446
|
-
|
|
3446
|
+
MyTextInput,
|
|
3447
3447
|
__spreadValues({
|
|
3448
3448
|
label: "Username"
|
|
3449
3449
|
}, form.getInputProps("userName"))
|
|
@@ -3556,7 +3556,7 @@ function F_core76318_Create({ SecurityTypeId }) {
|
|
|
3556
3556
|
},
|
|
3557
3557
|
children: [
|
|
3558
3558
|
/* @__PURE__ */ jsx63(
|
|
3559
|
-
|
|
3559
|
+
MyTextInput,
|
|
3560
3560
|
__spreadValues({
|
|
3561
3561
|
withAsterisk: true,
|
|
3562
3562
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -3570,7 +3570,7 @@ function F_core76318_Create({ SecurityTypeId }) {
|
|
|
3570
3570
|
}, form.getInputProps("promulgateDate"))
|
|
3571
3571
|
),
|
|
3572
3572
|
/* @__PURE__ */ jsx63(
|
|
3573
|
-
|
|
3573
|
+
MyTextInput,
|
|
3574
3574
|
__spreadValues({
|
|
3575
3575
|
withAsterisk: true,
|
|
3576
3576
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -3768,8 +3768,8 @@ function F_documentCategories_Create({ documentType }) {
|
|
|
3768
3768
|
}
|
|
3769
3769
|
});
|
|
3770
3770
|
return /* @__PURE__ */ jsxs42(MyButtonCreate, { objectName: "Lo\u1EA1i v\u0103n b\u1EA3n", form, onSubmit: (values) => service_documentAttribute.create(values), children: [
|
|
3771
|
-
/* @__PURE__ */ jsx68(
|
|
3772
|
-
/* @__PURE__ */ jsx68(
|
|
3771
|
+
/* @__PURE__ */ jsx68(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
|
|
3772
|
+
/* @__PURE__ */ jsx68(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
|
|
3773
3773
|
] });
|
|
3774
3774
|
}
|
|
3775
3775
|
|
|
@@ -3792,8 +3792,8 @@ function F_documentCategories_Update({ values }) {
|
|
|
3792
3792
|
initialValues: values
|
|
3793
3793
|
});
|
|
3794
3794
|
return /* @__PURE__ */ jsxs43(MyActionIconUpdate, { form, onSubmit: async (values2) => service_documentAttribute.update(values2), children: [
|
|
3795
|
-
/* @__PURE__ */ jsx70(
|
|
3796
|
-
/* @__PURE__ */ jsx70(
|
|
3795
|
+
/* @__PURE__ */ jsx70(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
|
|
3796
|
+
/* @__PURE__ */ jsx70(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
|
|
3797
3797
|
] });
|
|
3798
3798
|
}
|
|
3799
3799
|
|
|
@@ -3928,7 +3928,7 @@ function F_formTemplateDocs_Create({ FormTypeId }) {
|
|
|
3928
3928
|
},
|
|
3929
3929
|
children: [
|
|
3930
3930
|
/* @__PURE__ */ jsx74(
|
|
3931
|
-
|
|
3931
|
+
MyTextInput,
|
|
3932
3932
|
__spreadValues({
|
|
3933
3933
|
withAsterisk: true,
|
|
3934
3934
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -3942,7 +3942,7 @@ function F_formTemplateDocs_Create({ FormTypeId }) {
|
|
|
3942
3942
|
}, form.getInputProps("promulgateDate"))
|
|
3943
3943
|
),
|
|
3944
3944
|
/* @__PURE__ */ jsx74(
|
|
3945
|
-
|
|
3945
|
+
MyTextInput,
|
|
3946
3946
|
__spreadValues({
|
|
3947
3947
|
withAsterisk: true,
|
|
3948
3948
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -4030,7 +4030,7 @@ function F_formTemplateDocs_Update({
|
|
|
4030
4030
|
},
|
|
4031
4031
|
children: [
|
|
4032
4032
|
/* @__PURE__ */ jsx76(
|
|
4033
|
-
|
|
4033
|
+
MyTextInput,
|
|
4034
4034
|
__spreadValues({
|
|
4035
4035
|
withAsterisk: true,
|
|
4036
4036
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -4044,7 +4044,7 @@ function F_formTemplateDocs_Update({
|
|
|
4044
4044
|
}, form.getInputProps("promulgateDate"))
|
|
4045
4045
|
),
|
|
4046
4046
|
/* @__PURE__ */ jsx76(
|
|
4047
|
-
|
|
4047
|
+
MyTextInput,
|
|
4048
4048
|
__spreadValues({
|
|
4049
4049
|
withAsterisk: true,
|
|
4050
4050
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -4253,7 +4253,7 @@ function FormInput2({ form, emailModule }) {
|
|
|
4253
4253
|
})
|
|
4254
4254
|
),
|
|
4255
4255
|
/* @__PURE__ */ jsx79(
|
|
4256
|
-
|
|
4256
|
+
MyTextInput,
|
|
4257
4257
|
__spreadValues({
|
|
4258
4258
|
label: "Host mail server"
|
|
4259
4259
|
}, form.getInputProps("hostMailServer"))
|
|
@@ -4280,7 +4280,7 @@ function FormInput2({ form, emailModule }) {
|
|
|
4280
4280
|
}
|
|
4281
4281
|
),
|
|
4282
4282
|
/* @__PURE__ */ jsx79(
|
|
4283
|
-
|
|
4283
|
+
MyTextInput,
|
|
4284
4284
|
__spreadValues({
|
|
4285
4285
|
label: "Username"
|
|
4286
4286
|
}, form.getInputProps("userName"))
|
|
@@ -4443,7 +4443,7 @@ function F_moduleConfig_Save({
|
|
|
4443
4443
|
});
|
|
4444
4444
|
}
|
|
4445
4445
|
return /* @__PURE__ */ jsx83(
|
|
4446
|
-
|
|
4446
|
+
MyButton,
|
|
4447
4447
|
{
|
|
4448
4448
|
disabled: !form.isDirty(),
|
|
4449
4449
|
crudType: "save",
|
|
@@ -4508,11 +4508,11 @@ function F_moduleConfig_Form() {
|
|
|
4508
4508
|
}, []);
|
|
4509
4509
|
return /* @__PURE__ */ jsxs52(Paper8, { p: "md", children: [
|
|
4510
4510
|
/* @__PURE__ */ jsxs52(Grid6, { children: [
|
|
4511
|
-
/* @__PURE__ */ jsx84(Grid6.Col, { span: 5, children: /* @__PURE__ */ jsx84(
|
|
4512
|
-
/* @__PURE__ */ jsx84(Grid6.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx84(
|
|
4513
|
-
/* @__PURE__ */ jsx84(Grid6.Col, { span: 12, children: /* @__PURE__ */ jsx84(
|
|
4514
|
-
/* @__PURE__ */ jsx84(Grid6.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(
|
|
4515
|
-
/* @__PURE__ */ jsx84(Grid6.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(
|
|
4511
|
+
/* @__PURE__ */ jsx84(Grid6.Col, { span: 5, children: /* @__PURE__ */ jsx84(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("code")), { label: "M\xE3 module", disabled: true })) }),
|
|
4512
|
+
/* @__PURE__ */ jsx84(Grid6.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx84(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("name")), { label: "T\xEAn module" })) }),
|
|
4513
|
+
/* @__PURE__ */ jsx84(Grid6.Col, { span: 12, children: /* @__PURE__ */ jsx84(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("officelName")), { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" })) }),
|
|
4514
|
+
/* @__PURE__ */ jsx84(Grid6.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("email")), { label: "Email" })) }),
|
|
4515
|
+
/* @__PURE__ */ jsx84(Grid6.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(MyTextInput, __spreadProps(__spreadValues({ isPhoneNumber: true }, form.getInputProps("phoneNumber")), { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" })) }),
|
|
4516
4516
|
/* @__PURE__ */ jsx84(Grid6.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(
|
|
4517
4517
|
MyDateInput,
|
|
4518
4518
|
{
|
|
@@ -4631,7 +4631,7 @@ function F_organizationPolicyDocs_Create({
|
|
|
4631
4631
|
},
|
|
4632
4632
|
children: [
|
|
4633
4633
|
/* @__PURE__ */ jsx86(
|
|
4634
|
-
|
|
4634
|
+
MyTextInput,
|
|
4635
4635
|
__spreadValues({
|
|
4636
4636
|
withAsterisk: true,
|
|
4637
4637
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -4645,7 +4645,7 @@ function F_organizationPolicyDocs_Create({
|
|
|
4645
4645
|
}, form.getInputProps("promulgateDate"))
|
|
4646
4646
|
),
|
|
4647
4647
|
/* @__PURE__ */ jsx86(
|
|
4648
|
-
|
|
4648
|
+
MyTextInput,
|
|
4649
4649
|
__spreadValues({
|
|
4650
4650
|
withAsterisk: true,
|
|
4651
4651
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -4733,7 +4733,7 @@ function F_organizationPolicyDocs_Update({
|
|
|
4733
4733
|
},
|
|
4734
4734
|
children: [
|
|
4735
4735
|
/* @__PURE__ */ jsx88(
|
|
4736
|
-
|
|
4736
|
+
MyTextInput,
|
|
4737
4737
|
__spreadValues({
|
|
4738
4738
|
withAsterisk: true,
|
|
4739
4739
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -4747,7 +4747,7 @@ function F_organizationPolicyDocs_Update({
|
|
|
4747
4747
|
}, form.getInputProps("promulgateDate"))
|
|
4748
4748
|
),
|
|
4749
4749
|
/* @__PURE__ */ jsx88(
|
|
4750
|
-
|
|
4750
|
+
MyTextInput,
|
|
4751
4751
|
__spreadValues({
|
|
4752
4752
|
withAsterisk: true,
|
|
4753
4753
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -4899,13 +4899,13 @@ import { useMemo as useMemo20 } from "react";
|
|
|
4899
4899
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_DeleteDescription.tsx
|
|
4900
4900
|
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
4901
4901
|
function F_pageContentConfig_DeleteDescription() {
|
|
4902
|
-
return /* @__PURE__ */ jsx91(
|
|
4902
|
+
return /* @__PURE__ */ jsx91(MyButton2, { actionType: "delete" });
|
|
4903
4903
|
}
|
|
4904
4904
|
|
|
4905
4905
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Export.tsx
|
|
4906
4906
|
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
4907
4907
|
function F_pageContentConfig_Export() {
|
|
4908
|
-
return /* @__PURE__ */ jsx92(
|
|
4908
|
+
return /* @__PURE__ */ jsx92(MyButton2, { actionType: "export" });
|
|
4909
4909
|
}
|
|
4910
4910
|
|
|
4911
4911
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Save.tsx
|
|
@@ -4917,7 +4917,7 @@ function F_pageContentConfig_Save({ menuValues }) {
|
|
|
4917
4917
|
return service_pageContent.updateList([{ id: 1 }]);
|
|
4918
4918
|
}
|
|
4919
4919
|
});
|
|
4920
|
-
return /* @__PURE__ */ jsx93(
|
|
4920
|
+
return /* @__PURE__ */ jsx93(MyButton2, { actionType: "save", onClick: () => updatePageConfigMutation.mutate({}) });
|
|
4921
4921
|
}
|
|
4922
4922
|
|
|
4923
4923
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
|
|
@@ -4942,7 +4942,7 @@ function F_pageContentConfig_ReadMenu({ menudataPrototype }) {
|
|
|
4942
4942
|
accessorKey: "description",
|
|
4943
4943
|
size: device.isPc ? 400 : 0,
|
|
4944
4944
|
Cell: () => {
|
|
4945
|
-
return /* @__PURE__ */ jsx94(
|
|
4945
|
+
return /* @__PURE__ */ jsx94(MyTextInput2, { placeholder: "Nh\u1EADp m\xF4 t\u1EA3 menu" });
|
|
4946
4946
|
}
|
|
4947
4947
|
}
|
|
4948
4948
|
], []);
|
|
@@ -4997,14 +4997,14 @@ function F_roleCatalog_Form({ values }) {
|
|
|
4997
4997
|
if (values) return /* @__PURE__ */ jsxs58(MyActionIconUpdate, { form, onSubmit: async () => {
|
|
4998
4998
|
return await baseAxios_default.post("/Role/Update", form.getValues());
|
|
4999
4999
|
}, children: [
|
|
5000
|
-
/* @__PURE__ */ jsx97(
|
|
5001
|
-
/* @__PURE__ */ jsx97(
|
|
5000
|
+
/* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
|
|
5001
|
+
/* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
|
|
5002
5002
|
] });
|
|
5003
5003
|
return /* @__PURE__ */ jsxs58(MyButtonCreate, { form, onSubmit: async () => {
|
|
5004
5004
|
return await baseAxios_default.post("/Role/Create", form.getValues());
|
|
5005
5005
|
}, children: [
|
|
5006
|
-
/* @__PURE__ */ jsx97(
|
|
5007
|
-
/* @__PURE__ */ jsx97(
|
|
5006
|
+
/* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
|
|
5007
|
+
/* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
|
|
5008
5008
|
] });
|
|
5009
5009
|
}
|
|
5010
5010
|
|
|
@@ -5120,7 +5120,7 @@ function F_securityPolicyDocs_Create({ SecurityTypeId }) {
|
|
|
5120
5120
|
},
|
|
5121
5121
|
children: [
|
|
5122
5122
|
/* @__PURE__ */ jsx100(
|
|
5123
|
-
|
|
5123
|
+
MyTextInput,
|
|
5124
5124
|
__spreadValues({
|
|
5125
5125
|
withAsterisk: true,
|
|
5126
5126
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -5134,7 +5134,7 @@ function F_securityPolicyDocs_Create({ SecurityTypeId }) {
|
|
|
5134
5134
|
}, form.getInputProps("promulgateDate"))
|
|
5135
5135
|
),
|
|
5136
5136
|
/* @__PURE__ */ jsx100(
|
|
5137
|
-
|
|
5137
|
+
MyTextInput,
|
|
5138
5138
|
__spreadValues({
|
|
5139
5139
|
withAsterisk: true,
|
|
5140
5140
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -5337,20 +5337,20 @@ function F_systemUpdateDocs_Create({
|
|
|
5337
5337
|
}, form.getInputProps("meetingDate"))
|
|
5338
5338
|
),
|
|
5339
5339
|
/* @__PURE__ */ jsx105(
|
|
5340
|
-
|
|
5340
|
+
MyTextInput,
|
|
5341
5341
|
__spreadValues({
|
|
5342
5342
|
withAsterisk: true,
|
|
5343
5343
|
label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
|
|
5344
5344
|
}, form.getInputProps("departmentName"))
|
|
5345
5345
|
),
|
|
5346
5346
|
/* @__PURE__ */ jsx105(
|
|
5347
|
-
|
|
5347
|
+
MyTextInput,
|
|
5348
5348
|
__spreadValues({
|
|
5349
5349
|
withAsterisk: true,
|
|
5350
5350
|
label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
|
|
5351
5351
|
}, form.getInputProps("description"))
|
|
5352
5352
|
),
|
|
5353
|
-
/* @__PURE__ */ jsx105(
|
|
5353
|
+
/* @__PURE__ */ jsx105(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
|
|
5354
5354
|
/* @__PURE__ */ jsx105(
|
|
5355
5355
|
MyDateInput,
|
|
5356
5356
|
__spreadValues({
|
|
@@ -5439,20 +5439,20 @@ function F_systemUpdateDocs_Update({ values }) {
|
|
|
5439
5439
|
}, form.getInputProps("meetingDate"))
|
|
5440
5440
|
),
|
|
5441
5441
|
/* @__PURE__ */ jsx107(
|
|
5442
|
-
|
|
5442
|
+
MyTextInput,
|
|
5443
5443
|
__spreadValues({
|
|
5444
5444
|
withAsterisk: true,
|
|
5445
5445
|
label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
|
|
5446
5446
|
}, form.getInputProps("departmentName"))
|
|
5447
5447
|
),
|
|
5448
5448
|
/* @__PURE__ */ jsx107(
|
|
5449
|
-
|
|
5449
|
+
MyTextInput,
|
|
5450
5450
|
__spreadValues({
|
|
5451
5451
|
withAsterisk: true,
|
|
5452
5452
|
label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
|
|
5453
5453
|
}, form.getInputProps("description"))
|
|
5454
5454
|
),
|
|
5455
|
-
/* @__PURE__ */ jsx107(
|
|
5455
|
+
/* @__PURE__ */ jsx107(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
|
|
5456
5456
|
/* @__PURE__ */ jsx107(
|
|
5457
5457
|
MyDateInput,
|
|
5458
5458
|
__spreadValues({
|
|
@@ -5569,14 +5569,14 @@ function F_userGuideDocs_Create({ GuidelineTypeId }) {
|
|
|
5569
5569
|
},
|
|
5570
5570
|
children: [
|
|
5571
5571
|
/* @__PURE__ */ jsx109(
|
|
5572
|
-
|
|
5572
|
+
MyTextInput,
|
|
5573
5573
|
__spreadValues({
|
|
5574
5574
|
withAsterisk: true,
|
|
5575
5575
|
label: "M\xE3 t\xE0i li\u1EC7u"
|
|
5576
5576
|
}, form.getInputProps("code"))
|
|
5577
5577
|
),
|
|
5578
5578
|
/* @__PURE__ */ jsx109(
|
|
5579
|
-
|
|
5579
|
+
MyTextInput,
|
|
5580
5580
|
__spreadValues({
|
|
5581
5581
|
withAsterisk: true,
|
|
5582
5582
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -5642,14 +5642,14 @@ function F_userGuideDocs_Update({ values }) {
|
|
|
5642
5642
|
},
|
|
5643
5643
|
children: [
|
|
5644
5644
|
/* @__PURE__ */ jsx111(
|
|
5645
|
-
|
|
5645
|
+
MyTextInput,
|
|
5646
5646
|
__spreadValues({
|
|
5647
5647
|
withAsterisk: true,
|
|
5648
5648
|
label: "M\xE3 t\xE0i li\u1EC7u"
|
|
5649
5649
|
}, form.getInputProps("code"))
|
|
5650
5650
|
),
|
|
5651
5651
|
/* @__PURE__ */ jsx111(
|
|
5652
|
-
|
|
5652
|
+
MyTextInput,
|
|
5653
5653
|
__spreadValues({
|
|
5654
5654
|
withAsterisk: true,
|
|
5655
5655
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -5757,7 +5757,7 @@ function F_workflowProcessDocs_Create({
|
|
|
5757
5757
|
},
|
|
5758
5758
|
children: [
|
|
5759
5759
|
/* @__PURE__ */ jsx114(
|
|
5760
|
-
|
|
5760
|
+
MyTextInput,
|
|
5761
5761
|
__spreadValues({
|
|
5762
5762
|
withAsterisk: true,
|
|
5763
5763
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -5771,7 +5771,7 @@ function F_workflowProcessDocs_Create({
|
|
|
5771
5771
|
}, form.getInputProps("promulgateDate"))
|
|
5772
5772
|
),
|
|
5773
5773
|
/* @__PURE__ */ jsx114(
|
|
5774
|
-
|
|
5774
|
+
MyTextInput,
|
|
5775
5775
|
__spreadValues({
|
|
5776
5776
|
withAsterisk: true,
|
|
5777
5777
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -5859,7 +5859,7 @@ function F_workflowProcessDocs_Update({
|
|
|
5859
5859
|
},
|
|
5860
5860
|
children: [
|
|
5861
5861
|
/* @__PURE__ */ jsx116(
|
|
5862
|
-
|
|
5862
|
+
MyTextInput,
|
|
5863
5863
|
__spreadValues({
|
|
5864
5864
|
withAsterisk: true,
|
|
5865
5865
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -5873,7 +5873,7 @@ function F_workflowProcessDocs_Update({
|
|
|
5873
5873
|
}, form.getInputProps("promulgateDate"))
|
|
5874
5874
|
),
|
|
5875
5875
|
/* @__PURE__ */ jsx116(
|
|
5876
|
-
|
|
5876
|
+
MyTextInput,
|
|
5877
5877
|
__spreadValues({
|
|
5878
5878
|
withAsterisk: true,
|
|
5879
5879
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MantineSize } from '@mantine/core';
|
|
2
2
|
|
|
3
3
|
type type_mantineSize = number | MantineSize | (string & {}) | undefined;
|
|
4
|
-
type type_action = "default" | "create" | "update" | "delete" | "save" | "createMultiple" | "check" | "import" | "print" | "cancel" | "export" | "select" | "find" | "tempDelete";
|
|
4
|
+
type type_action = "default" | "create" | "update" | "delete" | "save" | "createMultiple" | "check" | "import" | "print" | "cancel" | "export" | "select" | "find" | "tempDelete" | "tempUpdate";
|
|
5
5
|
|
|
6
6
|
export type { type_mantineSize as a, type_action as t };
|
package/package.json
CHANGED
|
@@ -7910,15 +7910,13 @@ function MySkeletonTable({ h: h4 = 500 }) {
|
|
|
7910
7910
|
}
|
|
7911
7911
|
|
|
7912
7912
|
export {
|
|
7913
|
-
MyFlexColumn,
|
|
7914
|
-
MyDataTable,
|
|
7915
|
-
MyFlexRow,
|
|
7916
7913
|
MyBoxesCore,
|
|
7917
7914
|
Boxes,
|
|
7918
7915
|
MyCardioLoader,
|
|
7919
7916
|
MyBoxesBackground,
|
|
7920
7917
|
MyActionIcon,
|
|
7921
7918
|
MyTextInput,
|
|
7919
|
+
MyFlexColumn,
|
|
7922
7920
|
MyActionIconCheck,
|
|
7923
7921
|
MyButton,
|
|
7924
7922
|
MyActionIconModal,
|
|
@@ -7939,6 +7937,7 @@ export {
|
|
|
7939
7937
|
MyFlexEnd,
|
|
7940
7938
|
useS_ButtonImport,
|
|
7941
7939
|
SelectFieldModal,
|
|
7940
|
+
MyDataTable,
|
|
7942
7941
|
SelectFileModal,
|
|
7943
7942
|
MyButtonImport,
|
|
7944
7943
|
AQSelectTableByOpenModal,
|
|
@@ -7950,6 +7949,7 @@ export {
|
|
|
7950
7949
|
MyCalendar,
|
|
7951
7950
|
MyCenterFull,
|
|
7952
7951
|
MyCheckbox,
|
|
7952
|
+
MyFlexRow,
|
|
7953
7953
|
AQCard,
|
|
7954
7954
|
MyCardInformation,
|
|
7955
7955
|
MyIconText,
|