aq-fe-framework 0.1.356 → 0.1.358
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.
|
@@ -241,6 +241,12 @@ function utils_reactQuery_updateListItemInQuery({
|
|
|
241
241
|
}));
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
+
// src/utils/utils_text.ts
|
|
245
|
+
function utils_text_getNormalizedTextFromHtml(html) {
|
|
246
|
+
const noHtml = (html != null ? html : "").replace(/<[^>]+>/g, "");
|
|
247
|
+
return noHtml.trim().toLowerCase();
|
|
248
|
+
}
|
|
249
|
+
|
|
244
250
|
// src/utils/utils_time.ts
|
|
245
251
|
var utils_time_convertTimeStringToSeconds = (time) => {
|
|
246
252
|
const [hours, minutes, seconds] = time.split(":").map(Number);
|
|
@@ -294,6 +300,7 @@ export {
|
|
|
294
300
|
utils_excel_exportExcel,
|
|
295
301
|
utils_excel_download,
|
|
296
302
|
utils_reactQuery_updateListItemInQuery,
|
|
303
|
+
utils_text_getNormalizedTextFromHtml,
|
|
297
304
|
utils_time_convertTimeStringToSeconds,
|
|
298
305
|
utils_time_getCurrentTimeString,
|
|
299
306
|
utils_time_extractHourMinute
|
|
@@ -4,24 +4,19 @@ import {
|
|
|
4
4
|
utils_config_getBaseUrl,
|
|
5
5
|
utils_converter_enumToSelectOptions,
|
|
6
6
|
utils_file_fileToAQDocumentType
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-VJUY7DLP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
baseColumns
|
|
10
10
|
} from "../chunk-2SBUKAGS.mjs";
|
|
11
11
|
import {
|
|
12
12
|
U0DateToDDMMYYYString
|
|
13
13
|
} from "../chunk-I2XIN2R3.mjs";
|
|
14
|
-
import {
|
|
15
|
-
MyButton,
|
|
16
|
-
MyDataTableSelectOne,
|
|
17
|
-
MyTextInput
|
|
18
|
-
} from "../chunk-IB6XK3D2.mjs";
|
|
19
14
|
import {
|
|
20
15
|
F_authenticate_Logout,
|
|
21
16
|
MyActionIconDelete,
|
|
22
17
|
MyActionIconUpdate,
|
|
23
18
|
MyBoxesBackground,
|
|
24
|
-
MyButton
|
|
19
|
+
MyButton,
|
|
25
20
|
MyButtonCreate,
|
|
26
21
|
MyButtonModal,
|
|
27
22
|
MyButtonViewPDF,
|
|
@@ -34,7 +29,7 @@ import {
|
|
|
34
29
|
MyPageContent,
|
|
35
30
|
MySelect,
|
|
36
31
|
MyTab,
|
|
37
|
-
MyTextInput
|
|
32
|
+
MyTextInput,
|
|
38
33
|
groupToTwoLevels,
|
|
39
34
|
useS_authenticate,
|
|
40
35
|
utils_layout_getItemsWithoutLinks
|
|
@@ -43,6 +38,11 @@ import {
|
|
|
43
38
|
createGenericStore
|
|
44
39
|
} from "../chunk-Y3YGC5IH.mjs";
|
|
45
40
|
import "../chunk-5U2JSHSJ.mjs";
|
|
41
|
+
import {
|
|
42
|
+
MyButton as MyButton2,
|
|
43
|
+
MyDataTableSelectOne,
|
|
44
|
+
MyTextInput as MyTextInput2
|
|
45
|
+
} from "../chunk-IB6XK3D2.mjs";
|
|
46
46
|
import {
|
|
47
47
|
MyDataTable,
|
|
48
48
|
MyFlexColumn,
|
|
@@ -468,7 +468,7 @@ function F_accessControl_Save() {
|
|
|
468
468
|
}
|
|
469
469
|
disable[1](false);
|
|
470
470
|
}, [store.state.rolePermissions]);
|
|
471
|
-
return /* @__PURE__ */ jsx3(
|
|
471
|
+
return /* @__PURE__ */ jsx3(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
// src/modules-features/admin/core/accessControl/F_accessControl.tsx
|
|
@@ -833,7 +833,7 @@ function F_accessControlLevel_Save() {
|
|
|
833
833
|
}
|
|
834
834
|
disable[1](false);
|
|
835
835
|
}, [store.state.rolePermissions]);
|
|
836
|
-
return /* @__PURE__ */ jsx7(
|
|
836
|
+
return /* @__PURE__ */ jsx7(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
|
|
837
837
|
}
|
|
838
838
|
|
|
839
839
|
// src/modules-features/admin/core/accessControlLevel/F_accessControlLevel.tsx
|
|
@@ -1040,11 +1040,11 @@ function F_accountManagement_Create() {
|
|
|
1040
1040
|
}));
|
|
1041
1041
|
}
|
|
1042
1042
|
return /* @__PURE__ */ jsxs6(MyButtonCreate, { form, onSubmit: handleSubmit, objectName: "ng\u01B0\u1EDDi d\xF9ng", children: [
|
|
1043
|
-
/* @__PURE__ */ jsx10(
|
|
1043
|
+
/* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
|
|
1044
1044
|
/* @__PURE__ */ jsx10(PasswordInput, __spreadValues({ label: "M\u1EADt kh\u1EA9u" }, form.getInputProps("password"))),
|
|
1045
|
-
/* @__PURE__ */ jsx10(
|
|
1046
|
-
/* @__PURE__ */ jsx10(
|
|
1047
|
-
/* @__PURE__ */ jsx10(
|
|
1045
|
+
/* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
|
|
1046
|
+
/* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
|
|
1047
|
+
/* @__PURE__ */ jsx10(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber"))),
|
|
1048
1048
|
skillCenter_getAll_query.data && store.state.isRequireSkillCenter == true && /* @__PURE__ */ jsx10(
|
|
1049
1049
|
MultiSelect,
|
|
1050
1050
|
{
|
|
@@ -1123,10 +1123,10 @@ function F_accountManagement_Update({ user }) {
|
|
|
1123
1123
|
})
|
|
1124
1124
|
);
|
|
1125
1125
|
}, children: /* @__PURE__ */ jsxs7(MyFlexColumn, { children: [
|
|
1126
|
-
/* @__PURE__ */ jsx12(
|
|
1127
|
-
/* @__PURE__ */ jsx12(
|
|
1128
|
-
/* @__PURE__ */ jsx12(
|
|
1129
|
-
/* @__PURE__ */ jsx12(
|
|
1126
|
+
/* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ disabled: true, label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
|
|
1127
|
+
/* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
|
|
1128
|
+
/* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
|
|
1129
|
+
/* @__PURE__ */ jsx12(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber"))),
|
|
1130
1130
|
skillCenter_getAll_query.data && store.state.isRequireSkillCenter == true && /* @__PURE__ */ jsx12(
|
|
1131
1131
|
MultiSelect2,
|
|
1132
1132
|
{
|
|
@@ -1384,7 +1384,7 @@ function F_core12196_Update({
|
|
|
1384
1384
|
},
|
|
1385
1385
|
children: [
|
|
1386
1386
|
/* @__PURE__ */ jsx17(
|
|
1387
|
-
|
|
1387
|
+
MyTextInput,
|
|
1388
1388
|
__spreadValues({
|
|
1389
1389
|
withAsterisk: true,
|
|
1390
1390
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -1398,7 +1398,7 @@ function F_core12196_Update({
|
|
|
1398
1398
|
}, form.getInputProps("promulgateDate"))
|
|
1399
1399
|
),
|
|
1400
1400
|
/* @__PURE__ */ jsx17(
|
|
1401
|
-
|
|
1401
|
+
MyTextInput,
|
|
1402
1402
|
__spreadValues({
|
|
1403
1403
|
withAsterisk: true,
|
|
1404
1404
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -1567,7 +1567,7 @@ function F_core12196_Create({ FormTypeId }) {
|
|
|
1567
1567
|
},
|
|
1568
1568
|
children: [
|
|
1569
1569
|
/* @__PURE__ */ jsx19(
|
|
1570
|
-
|
|
1570
|
+
MyTextInput,
|
|
1571
1571
|
__spreadValues({
|
|
1572
1572
|
withAsterisk: true,
|
|
1573
1573
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -1581,7 +1581,7 @@ function F_core12196_Create({ FormTypeId }) {
|
|
|
1581
1581
|
}, form.getInputProps("promulgateDate"))
|
|
1582
1582
|
),
|
|
1583
1583
|
/* @__PURE__ */ jsx19(
|
|
1584
|
-
|
|
1584
|
+
MyTextInput,
|
|
1585
1585
|
__spreadValues({
|
|
1586
1586
|
withAsterisk: true,
|
|
1587
1587
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -1669,20 +1669,20 @@ function F_core16209_Create({
|
|
|
1669
1669
|
}, form.getInputProps("meetingDate"))
|
|
1670
1670
|
),
|
|
1671
1671
|
/* @__PURE__ */ jsx21(
|
|
1672
|
-
|
|
1672
|
+
MyTextInput,
|
|
1673
1673
|
__spreadValues({
|
|
1674
1674
|
withAsterisk: true,
|
|
1675
1675
|
label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
|
|
1676
1676
|
}, form.getInputProps("departmentName"))
|
|
1677
1677
|
),
|
|
1678
1678
|
/* @__PURE__ */ jsx21(
|
|
1679
|
-
|
|
1679
|
+
MyTextInput,
|
|
1680
1680
|
__spreadValues({
|
|
1681
1681
|
withAsterisk: true,
|
|
1682
1682
|
label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
|
|
1683
1683
|
}, form.getInputProps("description"))
|
|
1684
1684
|
),
|
|
1685
|
-
/* @__PURE__ */ jsx21(
|
|
1685
|
+
/* @__PURE__ */ jsx21(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
|
|
1686
1686
|
/* @__PURE__ */ jsx21(
|
|
1687
1687
|
MyDateInput,
|
|
1688
1688
|
__spreadValues({
|
|
@@ -1770,20 +1770,20 @@ function F_core16209_Update({ values }) {
|
|
|
1770
1770
|
}, form.getInputProps("meetingDate"))
|
|
1771
1771
|
),
|
|
1772
1772
|
/* @__PURE__ */ jsx23(
|
|
1773
|
-
|
|
1773
|
+
MyTextInput,
|
|
1774
1774
|
__spreadValues({
|
|
1775
1775
|
withAsterisk: true,
|
|
1776
1776
|
label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
|
|
1777
1777
|
}, form.getInputProps("departmentName"))
|
|
1778
1778
|
),
|
|
1779
1779
|
/* @__PURE__ */ jsx23(
|
|
1780
|
-
|
|
1780
|
+
MyTextInput,
|
|
1781
1781
|
__spreadValues({
|
|
1782
1782
|
withAsterisk: true,
|
|
1783
1783
|
label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
|
|
1784
1784
|
}, form.getInputProps("description"))
|
|
1785
1785
|
),
|
|
1786
|
-
/* @__PURE__ */ jsx23(
|
|
1786
|
+
/* @__PURE__ */ jsx23(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
|
|
1787
1787
|
/* @__PURE__ */ jsx23(
|
|
1788
1788
|
MyDateInput,
|
|
1789
1789
|
__spreadValues({
|
|
@@ -1899,8 +1899,8 @@ function F_core18256_Create({ documentType }) {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
});
|
|
1901
1901
|
return /* @__PURE__ */ jsxs16(MyButtonCreate, { objectName: "Lo\u1EA1i v\u0103n b\u1EA3n", form, onSubmit: (values) => baseAxios_default.post("/DocumentAttribute/Create", values), children: [
|
|
1902
|
-
/* @__PURE__ */ jsx25(
|
|
1903
|
-
/* @__PURE__ */ jsx25(
|
|
1902
|
+
/* @__PURE__ */ jsx25(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
|
|
1903
|
+
/* @__PURE__ */ jsx25(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
|
|
1904
1904
|
] });
|
|
1905
1905
|
}
|
|
1906
1906
|
|
|
@@ -1923,8 +1923,8 @@ function F_core18256_Update({ values }) {
|
|
|
1923
1923
|
initialValues: values
|
|
1924
1924
|
});
|
|
1925
1925
|
return /* @__PURE__ */ jsxs17(MyActionIconUpdate, { form, onSubmit: async (values2) => await baseAxios_default.post("/DocumentAttribute/Update", values2), children: [
|
|
1926
|
-
/* @__PURE__ */ jsx27(
|
|
1927
|
-
/* @__PURE__ */ jsx27(
|
|
1926
|
+
/* @__PURE__ */ jsx27(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
|
|
1927
|
+
/* @__PURE__ */ jsx27(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
|
|
1928
1928
|
] });
|
|
1929
1929
|
}
|
|
1930
1930
|
|
|
@@ -2018,7 +2018,7 @@ function F_core26965_Create({
|
|
|
2018
2018
|
},
|
|
2019
2019
|
children: [
|
|
2020
2020
|
/* @__PURE__ */ jsx30(
|
|
2021
|
-
|
|
2021
|
+
MyTextInput,
|
|
2022
2022
|
__spreadValues({
|
|
2023
2023
|
withAsterisk: true,
|
|
2024
2024
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -2032,7 +2032,7 @@ function F_core26965_Create({
|
|
|
2032
2032
|
}, form.getInputProps("promulgateDate"))
|
|
2033
2033
|
),
|
|
2034
2034
|
/* @__PURE__ */ jsx30(
|
|
2035
|
-
|
|
2035
|
+
MyTextInput,
|
|
2036
2036
|
__spreadValues({
|
|
2037
2037
|
withAsterisk: true,
|
|
2038
2038
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2120,7 +2120,7 @@ function F_core26965_Update({
|
|
|
2120
2120
|
},
|
|
2121
2121
|
children: [
|
|
2122
2122
|
/* @__PURE__ */ jsx32(
|
|
2123
|
-
|
|
2123
|
+
MyTextInput,
|
|
2124
2124
|
__spreadValues({
|
|
2125
2125
|
withAsterisk: true,
|
|
2126
2126
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -2134,7 +2134,7 @@ function F_core26965_Update({
|
|
|
2134
2134
|
}, form.getInputProps("promulgateDate"))
|
|
2135
2135
|
),
|
|
2136
2136
|
/* @__PURE__ */ jsx32(
|
|
2137
|
-
|
|
2137
|
+
MyTextInput,
|
|
2138
2138
|
__spreadValues({
|
|
2139
2139
|
withAsterisk: true,
|
|
2140
2140
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2315,7 +2315,7 @@ function F_core27311_Create({
|
|
|
2315
2315
|
},
|
|
2316
2316
|
children: [
|
|
2317
2317
|
/* @__PURE__ */ jsx35(
|
|
2318
|
-
|
|
2318
|
+
MyTextInput,
|
|
2319
2319
|
__spreadValues({
|
|
2320
2320
|
withAsterisk: true,
|
|
2321
2321
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -2329,7 +2329,7 @@ function F_core27311_Create({
|
|
|
2329
2329
|
}, form.getInputProps("promulgateDate"))
|
|
2330
2330
|
),
|
|
2331
2331
|
/* @__PURE__ */ jsx35(
|
|
2332
|
-
|
|
2332
|
+
MyTextInput,
|
|
2333
2333
|
__spreadValues({
|
|
2334
2334
|
withAsterisk: true,
|
|
2335
2335
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2417,7 +2417,7 @@ function F_core27311_Update({
|
|
|
2417
2417
|
},
|
|
2418
2418
|
children: [
|
|
2419
2419
|
/* @__PURE__ */ jsx37(
|
|
2420
|
-
|
|
2420
|
+
MyTextInput,
|
|
2421
2421
|
__spreadValues({
|
|
2422
2422
|
withAsterisk: true,
|
|
2423
2423
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -2431,7 +2431,7 @@ function F_core27311_Update({
|
|
|
2431
2431
|
}, form.getInputProps("promulgateDate"))
|
|
2432
2432
|
),
|
|
2433
2433
|
/* @__PURE__ */ jsx37(
|
|
2434
|
-
|
|
2434
|
+
MyTextInput,
|
|
2435
2435
|
__spreadValues({
|
|
2436
2436
|
withAsterisk: true,
|
|
2437
2437
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2592,17 +2592,17 @@ import { jsx as jsx40, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
|
2592
2592
|
function F_core35923() {
|
|
2593
2593
|
return /* @__PURE__ */ jsxs28(MyFieldset, { title: "C\u1EADp nh\u1EADt th\xF4ng tin \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n", children: [
|
|
2594
2594
|
/* @__PURE__ */ jsxs28(Grid3, { children: [
|
|
2595
|
-
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 5 }, children: /* @__PURE__ */ jsx40(
|
|
2596
|
-
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx40(
|
|
2597
|
-
/* @__PURE__ */ jsx40(Grid3.Col, { span: 12, children: /* @__PURE__ */ jsx40(
|
|
2598
|
-
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(
|
|
2599
|
-
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(
|
|
2600
|
-
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(
|
|
2601
|
-
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(
|
|
2595
|
+
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 5 }, children: /* @__PURE__ */ jsx40(MyTextInput, { label: "M\xE3 module", disabled: true }) }),
|
|
2596
|
+
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx40(MyTextInput, { label: "T\xEAn module" }) }),
|
|
2597
|
+
/* @__PURE__ */ jsx40(Grid3.Col, { span: 12, children: /* @__PURE__ */ jsx40(MyTextInput, { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" }) }),
|
|
2598
|
+
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(MyTextInput, { label: "Email" }) }),
|
|
2599
|
+
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(MyTextInput, { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }) }),
|
|
2600
|
+
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(MyTextInput, { label: "Ng\xE0y \u0111\u0103ng k\xFD" }) }),
|
|
2601
|
+
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(MyTextInput, { label: "Ng\xE0y h\u1EBFt h\u1EA1n" }) }),
|
|
2602
2602
|
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(MyFileInput, { label: "Favicon (16px x 16px)" }) }),
|
|
2603
2603
|
/* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(MyFileInput, { label: "Logo (330px x 115px)" }) })
|
|
2604
2604
|
] }),
|
|
2605
|
-
/* @__PURE__ */ jsx40(MyFlexEnd, { children: /* @__PURE__ */ jsx40(
|
|
2605
|
+
/* @__PURE__ */ jsx40(MyFlexEnd, { children: /* @__PURE__ */ jsx40(MyButton, { crudType: "save" }) })
|
|
2606
2606
|
] });
|
|
2607
2607
|
}
|
|
2608
2608
|
|
|
@@ -2637,14 +2637,14 @@ function F_core40207_Create({ GuidelineTypeId }) {
|
|
|
2637
2637
|
},
|
|
2638
2638
|
children: [
|
|
2639
2639
|
/* @__PURE__ */ jsx41(
|
|
2640
|
-
|
|
2640
|
+
MyTextInput,
|
|
2641
2641
|
__spreadValues({
|
|
2642
2642
|
withAsterisk: true,
|
|
2643
2643
|
label: "M\xE3 t\xE0i li\u1EC7u"
|
|
2644
2644
|
}, form.getInputProps("code"))
|
|
2645
2645
|
),
|
|
2646
2646
|
/* @__PURE__ */ jsx41(
|
|
2647
|
-
|
|
2647
|
+
MyTextInput,
|
|
2648
2648
|
__spreadValues({
|
|
2649
2649
|
withAsterisk: true,
|
|
2650
2650
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2709,14 +2709,14 @@ function F_core40207_Update({ values }) {
|
|
|
2709
2709
|
},
|
|
2710
2710
|
children: [
|
|
2711
2711
|
/* @__PURE__ */ jsx43(
|
|
2712
|
-
|
|
2712
|
+
MyTextInput,
|
|
2713
2713
|
__spreadValues({
|
|
2714
2714
|
withAsterisk: true,
|
|
2715
2715
|
label: "M\xE3 t\xE0i li\u1EC7u"
|
|
2716
2716
|
}, form.getInputProps("code"))
|
|
2717
2717
|
),
|
|
2718
2718
|
/* @__PURE__ */ jsx43(
|
|
2719
|
-
|
|
2719
|
+
MyTextInput,
|
|
2720
2720
|
__spreadValues({
|
|
2721
2721
|
withAsterisk: true,
|
|
2722
2722
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -2826,14 +2826,14 @@ function F_core47643_Form({ values }) {
|
|
|
2826
2826
|
if (values) return /* @__PURE__ */ jsxs32(MyActionIconUpdate, { form, onSubmit: async () => {
|
|
2827
2827
|
return await baseAxios_default.post("/Role/Update", form.getValues());
|
|
2828
2828
|
}, children: [
|
|
2829
|
-
/* @__PURE__ */ jsx47(
|
|
2830
|
-
/* @__PURE__ */ jsx47(
|
|
2829
|
+
/* @__PURE__ */ jsx47(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
|
|
2830
|
+
/* @__PURE__ */ jsx47(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
|
|
2831
2831
|
] });
|
|
2832
2832
|
return /* @__PURE__ */ jsxs32(MyButtonCreate, { form, onSubmit: async () => {
|
|
2833
2833
|
return await baseAxios_default.post("/Role/Create", form.getValues());
|
|
2834
2834
|
}, children: [
|
|
2835
|
-
/* @__PURE__ */ jsx47(
|
|
2836
|
-
/* @__PURE__ */ jsx47(
|
|
2835
|
+
/* @__PURE__ */ jsx47(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
|
|
2836
|
+
/* @__PURE__ */ jsx47(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
|
|
2837
2837
|
] });
|
|
2838
2838
|
}
|
|
2839
2839
|
|
|
@@ -2962,7 +2962,7 @@ function FormInput({ form, emailModule }) {
|
|
|
2962
2962
|
})
|
|
2963
2963
|
),
|
|
2964
2964
|
/* @__PURE__ */ jsx51(
|
|
2965
|
-
|
|
2965
|
+
MyTextInput,
|
|
2966
2966
|
__spreadValues({
|
|
2967
2967
|
label: "Host mail server"
|
|
2968
2968
|
}, form.getInputProps("hostMailServer"))
|
|
@@ -2989,7 +2989,7 @@ function FormInput({ form, emailModule }) {
|
|
|
2989
2989
|
}
|
|
2990
2990
|
),
|
|
2991
2991
|
/* @__PURE__ */ jsx51(
|
|
2992
|
-
|
|
2992
|
+
MyTextInput,
|
|
2993
2993
|
__spreadValues({
|
|
2994
2994
|
label: "Username"
|
|
2995
2995
|
}, form.getInputProps("userName"))
|
|
@@ -3102,7 +3102,7 @@ function F_core76318_Create({ SecurityTypeId }) {
|
|
|
3102
3102
|
},
|
|
3103
3103
|
children: [
|
|
3104
3104
|
/* @__PURE__ */ jsx54(
|
|
3105
|
-
|
|
3105
|
+
MyTextInput,
|
|
3106
3106
|
__spreadValues({
|
|
3107
3107
|
withAsterisk: true,
|
|
3108
3108
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -3116,7 +3116,7 @@ function F_core76318_Create({ SecurityTypeId }) {
|
|
|
3116
3116
|
}, form.getInputProps("promulgateDate"))
|
|
3117
3117
|
),
|
|
3118
3118
|
/* @__PURE__ */ jsx54(
|
|
3119
|
-
|
|
3119
|
+
MyTextInput,
|
|
3120
3120
|
__spreadValues({
|
|
3121
3121
|
withAsterisk: true,
|
|
3122
3122
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -3305,8 +3305,8 @@ function F_documentCategories_Create({ documentType }) {
|
|
|
3305
3305
|
}
|
|
3306
3306
|
});
|
|
3307
3307
|
return /* @__PURE__ */ jsxs39(MyButtonCreate, { objectName: "Lo\u1EA1i v\u0103n b\u1EA3n", form, onSubmit: (values) => baseAxios_default.post("/DocumentAttribute/Create", values), children: [
|
|
3308
|
-
/* @__PURE__ */ jsx59(
|
|
3309
|
-
/* @__PURE__ */ jsx59(
|
|
3308
|
+
/* @__PURE__ */ jsx59(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
|
|
3309
|
+
/* @__PURE__ */ jsx59(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
|
|
3310
3310
|
] });
|
|
3311
3311
|
}
|
|
3312
3312
|
|
|
@@ -3329,8 +3329,8 @@ function F_documentCategories_Update({ values }) {
|
|
|
3329
3329
|
initialValues: values
|
|
3330
3330
|
});
|
|
3331
3331
|
return /* @__PURE__ */ jsxs40(MyActionIconUpdate, { form, onSubmit: async (values2) => await baseAxios_default.post("/DocumentAttribute/Update", values2), children: [
|
|
3332
|
-
/* @__PURE__ */ jsx61(
|
|
3333
|
-
/* @__PURE__ */ jsx61(
|
|
3332
|
+
/* @__PURE__ */ jsx61(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
|
|
3333
|
+
/* @__PURE__ */ jsx61(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
|
|
3334
3334
|
] });
|
|
3335
3335
|
}
|
|
3336
3336
|
|
|
@@ -3457,7 +3457,7 @@ function F_formTemplateDocs_Create({ FormTypeId }) {
|
|
|
3457
3457
|
},
|
|
3458
3458
|
children: [
|
|
3459
3459
|
/* @__PURE__ */ jsx65(
|
|
3460
|
-
|
|
3460
|
+
MyTextInput,
|
|
3461
3461
|
__spreadValues({
|
|
3462
3462
|
withAsterisk: true,
|
|
3463
3463
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -3471,7 +3471,7 @@ function F_formTemplateDocs_Create({ FormTypeId }) {
|
|
|
3471
3471
|
}, form.getInputProps("promulgateDate"))
|
|
3472
3472
|
),
|
|
3473
3473
|
/* @__PURE__ */ jsx65(
|
|
3474
|
-
|
|
3474
|
+
MyTextInput,
|
|
3475
3475
|
__spreadValues({
|
|
3476
3476
|
withAsterisk: true,
|
|
3477
3477
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -3559,7 +3559,7 @@ function F_formTemplateDocs_Update({
|
|
|
3559
3559
|
},
|
|
3560
3560
|
children: [
|
|
3561
3561
|
/* @__PURE__ */ jsx67(
|
|
3562
|
-
|
|
3562
|
+
MyTextInput,
|
|
3563
3563
|
__spreadValues({
|
|
3564
3564
|
withAsterisk: true,
|
|
3565
3565
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -3573,7 +3573,7 @@ function F_formTemplateDocs_Update({
|
|
|
3573
3573
|
}, form.getInputProps("promulgateDate"))
|
|
3574
3574
|
),
|
|
3575
3575
|
/* @__PURE__ */ jsx67(
|
|
3576
|
-
|
|
3576
|
+
MyTextInput,
|
|
3577
3577
|
__spreadValues({
|
|
3578
3578
|
withAsterisk: true,
|
|
3579
3579
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -3806,7 +3806,7 @@ function FormInput2({ form, emailModule }) {
|
|
|
3806
3806
|
})
|
|
3807
3807
|
),
|
|
3808
3808
|
/* @__PURE__ */ jsx71(
|
|
3809
|
-
|
|
3809
|
+
MyTextInput,
|
|
3810
3810
|
__spreadValues({
|
|
3811
3811
|
label: "Host mail server"
|
|
3812
3812
|
}, form.getInputProps("hostMailServer"))
|
|
@@ -3833,7 +3833,7 @@ function FormInput2({ form, emailModule }) {
|
|
|
3833
3833
|
}
|
|
3834
3834
|
),
|
|
3835
3835
|
/* @__PURE__ */ jsx71(
|
|
3836
|
-
|
|
3836
|
+
MyTextInput,
|
|
3837
3837
|
__spreadValues({
|
|
3838
3838
|
label: "Username"
|
|
3839
3839
|
}, form.getInputProps("userName"))
|
|
@@ -3970,7 +3970,7 @@ function F_moduleConfig_Save({
|
|
|
3970
3970
|
});
|
|
3971
3971
|
}
|
|
3972
3972
|
return /* @__PURE__ */ jsx74(
|
|
3973
|
-
|
|
3973
|
+
MyButton,
|
|
3974
3974
|
{
|
|
3975
3975
|
disabled: !form.isDirty(),
|
|
3976
3976
|
crudType: "save",
|
|
@@ -4014,11 +4014,11 @@ function F_moduleConfig_Form() {
|
|
|
4014
4014
|
}, [query.data]);
|
|
4015
4015
|
return /* @__PURE__ */ jsxs49(Paper7, { p: "md", children: [
|
|
4016
4016
|
/* @__PURE__ */ jsxs49(Grid4, { children: [
|
|
4017
|
-
/* @__PURE__ */ jsx75(Grid4.Col, { span: 5, children: /* @__PURE__ */ jsx75(
|
|
4018
|
-
/* @__PURE__ */ jsx75(Grid4.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx75(
|
|
4019
|
-
/* @__PURE__ */ jsx75(Grid4.Col, { span: 12, children: /* @__PURE__ */ jsx75(
|
|
4020
|
-
/* @__PURE__ */ jsx75(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx75(
|
|
4021
|
-
/* @__PURE__ */ jsx75(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx75(
|
|
4017
|
+
/* @__PURE__ */ jsx75(Grid4.Col, { span: 5, children: /* @__PURE__ */ jsx75(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("code")), { label: "M\xE3 module", disabled: true })) }),
|
|
4018
|
+
/* @__PURE__ */ jsx75(Grid4.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx75(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("name")), { label: "T\xEAn module" })) }),
|
|
4019
|
+
/* @__PURE__ */ jsx75(Grid4.Col, { span: 12, children: /* @__PURE__ */ jsx75(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("officelName")), { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" })) }),
|
|
4020
|
+
/* @__PURE__ */ jsx75(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx75(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("email")), { label: "Email" })) }),
|
|
4021
|
+
/* @__PURE__ */ jsx75(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx75(MyTextInput, __spreadProps(__spreadValues({ isPhoneNumber: true }, form.getInputProps("phoneNumber")), { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" })) }),
|
|
4022
4022
|
/* @__PURE__ */ jsx75(Grid4.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx75(
|
|
4023
4023
|
MyDateInput,
|
|
4024
4024
|
{
|
|
@@ -4136,7 +4136,7 @@ function F_organizationPolicyDocs_Create({
|
|
|
4136
4136
|
},
|
|
4137
4137
|
children: [
|
|
4138
4138
|
/* @__PURE__ */ jsx77(
|
|
4139
|
-
|
|
4139
|
+
MyTextInput,
|
|
4140
4140
|
__spreadValues({
|
|
4141
4141
|
withAsterisk: true,
|
|
4142
4142
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -4150,7 +4150,7 @@ function F_organizationPolicyDocs_Create({
|
|
|
4150
4150
|
}, form.getInputProps("promulgateDate"))
|
|
4151
4151
|
),
|
|
4152
4152
|
/* @__PURE__ */ jsx77(
|
|
4153
|
-
|
|
4153
|
+
MyTextInput,
|
|
4154
4154
|
__spreadValues({
|
|
4155
4155
|
withAsterisk: true,
|
|
4156
4156
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -4238,7 +4238,7 @@ function F_organizationPolicyDocs_Update({
|
|
|
4238
4238
|
},
|
|
4239
4239
|
children: [
|
|
4240
4240
|
/* @__PURE__ */ jsx79(
|
|
4241
|
-
|
|
4241
|
+
MyTextInput,
|
|
4242
4242
|
__spreadValues({
|
|
4243
4243
|
withAsterisk: true,
|
|
4244
4244
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -4252,7 +4252,7 @@ function F_organizationPolicyDocs_Update({
|
|
|
4252
4252
|
}, form.getInputProps("promulgateDate"))
|
|
4253
4253
|
),
|
|
4254
4254
|
/* @__PURE__ */ jsx79(
|
|
4255
|
-
|
|
4255
|
+
MyTextInput,
|
|
4256
4256
|
__spreadValues({
|
|
4257
4257
|
withAsterisk: true,
|
|
4258
4258
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -4415,13 +4415,13 @@ import { useMemo as useMemo18 } from "react";
|
|
|
4415
4415
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_DeleteDescription.tsx
|
|
4416
4416
|
import { jsx as jsx82 } from "react/jsx-runtime";
|
|
4417
4417
|
function F_pageContentConfig_DeleteDescription() {
|
|
4418
|
-
return /* @__PURE__ */ jsx82(
|
|
4418
|
+
return /* @__PURE__ */ jsx82(MyButton2, { actionType: "delete" });
|
|
4419
4419
|
}
|
|
4420
4420
|
|
|
4421
4421
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Export.tsx
|
|
4422
4422
|
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
4423
4423
|
function F_pageContentConfig_Export() {
|
|
4424
|
-
return /* @__PURE__ */ jsx83(
|
|
4424
|
+
return /* @__PURE__ */ jsx83(MyButton2, { actionType: "export" });
|
|
4425
4425
|
}
|
|
4426
4426
|
|
|
4427
4427
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Save.tsx
|
|
@@ -4433,7 +4433,7 @@ function F_pageContentConfig_Save({ menuValues }) {
|
|
|
4433
4433
|
return service_pageContent.updateList([{ id: 1 }]);
|
|
4434
4434
|
}
|
|
4435
4435
|
});
|
|
4436
|
-
return /* @__PURE__ */ jsx84(
|
|
4436
|
+
return /* @__PURE__ */ jsx84(MyButton2, { actionType: "save", onClick: () => updatePageConfigMutation.mutate({}) });
|
|
4437
4437
|
}
|
|
4438
4438
|
|
|
4439
4439
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
|
|
@@ -4454,7 +4454,7 @@ function F_pageContentConfig_ReadMenu() {
|
|
|
4454
4454
|
accessorKey: "description",
|
|
4455
4455
|
size: device.isPc ? 400 : 0,
|
|
4456
4456
|
Cell: () => {
|
|
4457
|
-
return /* @__PURE__ */ jsx85(
|
|
4457
|
+
return /* @__PURE__ */ jsx85(MyTextInput2, { placeholder: "Nh\u1EADp m\xF4 t\u1EA3 menu" });
|
|
4458
4458
|
}
|
|
4459
4459
|
}
|
|
4460
4460
|
], []);
|
|
@@ -4509,14 +4509,14 @@ function F_roleCatalog_Form({ values }) {
|
|
|
4509
4509
|
if (values) return /* @__PURE__ */ jsxs55(MyActionIconUpdate, { form, onSubmit: async () => {
|
|
4510
4510
|
return await baseAxios_default.post("/Role/Update", form.getValues());
|
|
4511
4511
|
}, children: [
|
|
4512
|
-
/* @__PURE__ */ jsx88(
|
|
4513
|
-
/* @__PURE__ */ jsx88(
|
|
4512
|
+
/* @__PURE__ */ jsx88(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
|
|
4513
|
+
/* @__PURE__ */ jsx88(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
|
|
4514
4514
|
] });
|
|
4515
4515
|
return /* @__PURE__ */ jsxs55(MyButtonCreate, { form, onSubmit: async () => {
|
|
4516
4516
|
return await baseAxios_default.post("/Role/Create", form.getValues());
|
|
4517
4517
|
}, children: [
|
|
4518
|
-
/* @__PURE__ */ jsx88(
|
|
4519
|
-
/* @__PURE__ */ jsx88(
|
|
4518
|
+
/* @__PURE__ */ jsx88(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
|
|
4519
|
+
/* @__PURE__ */ jsx88(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
|
|
4520
4520
|
] });
|
|
4521
4521
|
}
|
|
4522
4522
|
|
|
@@ -4633,7 +4633,7 @@ function F_securityPolicyDocs_Create({ SecurityTypeId }) {
|
|
|
4633
4633
|
},
|
|
4634
4634
|
children: [
|
|
4635
4635
|
/* @__PURE__ */ jsx91(
|
|
4636
|
-
|
|
4636
|
+
MyTextInput,
|
|
4637
4637
|
__spreadValues({
|
|
4638
4638
|
withAsterisk: true,
|
|
4639
4639
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -4647,7 +4647,7 @@ function F_securityPolicyDocs_Create({ SecurityTypeId }) {
|
|
|
4647
4647
|
}, form.getInputProps("promulgateDate"))
|
|
4648
4648
|
),
|
|
4649
4649
|
/* @__PURE__ */ jsx91(
|
|
4650
|
-
|
|
4650
|
+
MyTextInput,
|
|
4651
4651
|
__spreadValues({
|
|
4652
4652
|
withAsterisk: true,
|
|
4653
4653
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -4856,20 +4856,20 @@ function F_systemUpdateDocs_Create({
|
|
|
4856
4856
|
}, form.getInputProps("meetingDate"))
|
|
4857
4857
|
),
|
|
4858
4858
|
/* @__PURE__ */ jsx96(
|
|
4859
|
-
|
|
4859
|
+
MyTextInput,
|
|
4860
4860
|
__spreadValues({
|
|
4861
4861
|
withAsterisk: true,
|
|
4862
4862
|
label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
|
|
4863
4863
|
}, form.getInputProps("departmentName"))
|
|
4864
4864
|
),
|
|
4865
4865
|
/* @__PURE__ */ jsx96(
|
|
4866
|
-
|
|
4866
|
+
MyTextInput,
|
|
4867
4867
|
__spreadValues({
|
|
4868
4868
|
withAsterisk: true,
|
|
4869
4869
|
label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
|
|
4870
4870
|
}, form.getInputProps("description"))
|
|
4871
4871
|
),
|
|
4872
|
-
/* @__PURE__ */ jsx96(
|
|
4872
|
+
/* @__PURE__ */ jsx96(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
|
|
4873
4873
|
/* @__PURE__ */ jsx96(
|
|
4874
4874
|
MyDateInput,
|
|
4875
4875
|
__spreadValues({
|
|
@@ -4957,20 +4957,20 @@ function F_systemUpdateDocs_Update({ values }) {
|
|
|
4957
4957
|
}, form.getInputProps("meetingDate"))
|
|
4958
4958
|
),
|
|
4959
4959
|
/* @__PURE__ */ jsx98(
|
|
4960
|
-
|
|
4960
|
+
MyTextInput,
|
|
4961
4961
|
__spreadValues({
|
|
4962
4962
|
withAsterisk: true,
|
|
4963
4963
|
label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
|
|
4964
4964
|
}, form.getInputProps("departmentName"))
|
|
4965
4965
|
),
|
|
4966
4966
|
/* @__PURE__ */ jsx98(
|
|
4967
|
-
|
|
4967
|
+
MyTextInput,
|
|
4968
4968
|
__spreadValues({
|
|
4969
4969
|
withAsterisk: true,
|
|
4970
4970
|
label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
|
|
4971
4971
|
}, form.getInputProps("description"))
|
|
4972
4972
|
),
|
|
4973
|
-
/* @__PURE__ */ jsx98(
|
|
4973
|
+
/* @__PURE__ */ jsx98(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
|
|
4974
4974
|
/* @__PURE__ */ jsx98(
|
|
4975
4975
|
MyDateInput,
|
|
4976
4976
|
__spreadValues({
|
|
@@ -5094,14 +5094,14 @@ function F_userGuideDocs_Create({ GuidelineTypeId }) {
|
|
|
5094
5094
|
},
|
|
5095
5095
|
children: [
|
|
5096
5096
|
/* @__PURE__ */ jsx100(
|
|
5097
|
-
|
|
5097
|
+
MyTextInput,
|
|
5098
5098
|
__spreadValues({
|
|
5099
5099
|
withAsterisk: true,
|
|
5100
5100
|
label: "M\xE3 t\xE0i li\u1EC7u"
|
|
5101
5101
|
}, form.getInputProps("code"))
|
|
5102
5102
|
),
|
|
5103
5103
|
/* @__PURE__ */ jsx100(
|
|
5104
|
-
|
|
5104
|
+
MyTextInput,
|
|
5105
5105
|
__spreadValues({
|
|
5106
5106
|
withAsterisk: true,
|
|
5107
5107
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -5166,14 +5166,14 @@ function F_userGuideDocs_Update({ values }) {
|
|
|
5166
5166
|
},
|
|
5167
5167
|
children: [
|
|
5168
5168
|
/* @__PURE__ */ jsx102(
|
|
5169
|
-
|
|
5169
|
+
MyTextInput,
|
|
5170
5170
|
__spreadValues({
|
|
5171
5171
|
withAsterisk: true,
|
|
5172
5172
|
label: "M\xE3 t\xE0i li\u1EC7u"
|
|
5173
5173
|
}, form.getInputProps("code"))
|
|
5174
5174
|
),
|
|
5175
5175
|
/* @__PURE__ */ jsx102(
|
|
5176
|
-
|
|
5176
|
+
MyTextInput,
|
|
5177
5177
|
__spreadValues({
|
|
5178
5178
|
withAsterisk: true,
|
|
5179
5179
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -5286,7 +5286,7 @@ function F_workflowProcessDocs_Create({
|
|
|
5286
5286
|
},
|
|
5287
5287
|
children: [
|
|
5288
5288
|
/* @__PURE__ */ jsx105(
|
|
5289
|
-
|
|
5289
|
+
MyTextInput,
|
|
5290
5290
|
__spreadValues({
|
|
5291
5291
|
withAsterisk: true,
|
|
5292
5292
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -5300,7 +5300,7 @@ function F_workflowProcessDocs_Create({
|
|
|
5300
5300
|
}, form.getInputProps("promulgateDate"))
|
|
5301
5301
|
),
|
|
5302
5302
|
/* @__PURE__ */ jsx105(
|
|
5303
|
-
|
|
5303
|
+
MyTextInput,
|
|
5304
5304
|
__spreadValues({
|
|
5305
5305
|
withAsterisk: true,
|
|
5306
5306
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
|
@@ -5388,7 +5388,7 @@ function F_workflowProcessDocs_Update({
|
|
|
5388
5388
|
},
|
|
5389
5389
|
children: [
|
|
5390
5390
|
/* @__PURE__ */ jsx107(
|
|
5391
|
-
|
|
5391
|
+
MyTextInput,
|
|
5392
5392
|
__spreadValues({
|
|
5393
5393
|
withAsterisk: true,
|
|
5394
5394
|
label: "S\u1ED1 quy \u0111\u1ECBnh"
|
|
@@ -5402,7 +5402,7 @@ function F_workflowProcessDocs_Update({
|
|
|
5402
5402
|
}, form.getInputProps("promulgateDate"))
|
|
5403
5403
|
),
|
|
5404
5404
|
/* @__PURE__ */ jsx107(
|
|
5405
|
-
|
|
5405
|
+
MyTextInput,
|
|
5406
5406
|
__spreadValues({
|
|
5407
5407
|
withAsterisk: true,
|
|
5408
5408
|
label: "T\xEAn t\xE0i li\u1EC7u"
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -49,6 +49,8 @@ declare function utils_reactQuery_updateListItemInQuery<T>({ queryClient, queryK
|
|
|
49
49
|
matchBy?: string;
|
|
50
50
|
}): void;
|
|
51
51
|
|
|
52
|
+
declare function utils_text_getNormalizedTextFromHtml(html?: string): string;
|
|
53
|
+
|
|
52
54
|
declare const utils_time_convertTimeStringToSeconds: (time: string) => number;
|
|
53
55
|
declare const utils_time_getCurrentTimeString: () => string;
|
|
54
56
|
declare function utils_time_extractHourMinute(isoString?: string): string;
|
|
@@ -57,4 +59,4 @@ declare function U0MyValidateEmpty(message?: string): (value: unknown) => React.
|
|
|
57
59
|
declare function U0MyValidateEmail(value?: string): "Email không đúng định dạng" | null;
|
|
58
60
|
declare const utils_validator_validateCode: (value?: string) => "Không được để trống" | "Chỉ được nhập chữ, số và dấu '-' (không bắt đầu bằng '-')" | null;
|
|
59
61
|
|
|
60
|
-
export { U0DateToDDMMYYYString, U0MyValidateEmail, U0MyValidateEmpty, updateEnableList, utils_converter_enumToSelectOptions, utils_converter_getKeyByValue, utils_converter_getLabelByValue, utils_currency_formatWithSuffix, utils_date_dateToDDMMYYYString, utils_date_formatToDateTimeStartEnd, utils_date_getHHmm, utils_notification_show, utils_pdf_download, utils_reactQuery_updateListItemInQuery, utils_time_convertTimeStringToSeconds, utils_time_extractHourMinute, utils_time_getCurrentTimeString, utils_validator_validateCode };
|
|
62
|
+
export { U0DateToDDMMYYYString, U0MyValidateEmail, U0MyValidateEmpty, updateEnableList, utils_converter_enumToSelectOptions, utils_converter_getKeyByValue, utils_converter_getLabelByValue, utils_currency_formatWithSuffix, utils_date_dateToDDMMYYYString, utils_date_formatToDateTimeStartEnd, utils_date_getHHmm, utils_notification_show, utils_pdf_download, utils_reactQuery_updateListItemInQuery, utils_text_getNormalizedTextFromHtml, utils_time_convertTimeStringToSeconds, utils_time_extractHourMinute, utils_time_getCurrentTimeString, utils_validator_validateCode };
|
package/dist/utils/index.mjs
CHANGED
|
@@ -12,11 +12,12 @@ import {
|
|
|
12
12
|
utils_file_docxtemplaterDownload,
|
|
13
13
|
utils_file_fileToAQDocumentType,
|
|
14
14
|
utils_reactQuery_updateListItemInQuery,
|
|
15
|
+
utils_text_getNormalizedTextFromHtml,
|
|
15
16
|
utils_time_convertTimeStringToSeconds,
|
|
16
17
|
utils_time_extractHourMinute,
|
|
17
18
|
utils_time_getCurrentTimeString,
|
|
18
19
|
utils_validator_validateCode
|
|
19
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-VJUY7DLP.mjs";
|
|
20
21
|
import {
|
|
21
22
|
U0DateToDDMMYYYString,
|
|
22
23
|
utils_date_dateToDDMMYYYString,
|
|
@@ -50,6 +51,7 @@ export {
|
|
|
50
51
|
utils_notification_show,
|
|
51
52
|
utils_pdf_download,
|
|
52
53
|
utils_reactQuery_updateListItemInQuery,
|
|
54
|
+
utils_text_getNormalizedTextFromHtml,
|
|
53
55
|
utils_time_convertTimeStringToSeconds,
|
|
54
56
|
utils_time_extractHourMinute,
|
|
55
57
|
utils_time_getCurrentTimeString,
|