aq-fe-framework 0.1.996 → 0.1.997
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/{MyDataTable-BFv77sMX.d.mts → MyDataTable-gxL6qCfE.d.mts} +2 -1
- package/dist/{chunk-PFFYHQYM.mjs → chunk-6A7OAW6X.mjs} +207 -13
- package/dist/components/index.d.mts +3 -2
- package/dist/components/index.mjs +2 -2
- package/dist/const/index.mjs +1 -1
- package/dist/core/index.d.mts +3 -2
- package/dist/core/index.mjs +2 -2
- package/dist/modules-features/index.d.mts +3 -1
- package/dist/modules-features/index.mjs +4 -2
- package/dist/shared/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/{chunk-OHAOJE5F.mjs → chunk-C74M5VPE.mjs} +1 -1
|
@@ -3,6 +3,7 @@ import { ActionIconProps, TooltipProps, ButtonProps, ModalProps } from '@mantine
|
|
|
3
3
|
import { useDisclosure } from '@mantine/hooks';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
import { t as type_action } from './type_action-hMF6_2Mr.mjs';
|
|
6
|
+
import { DeepKeys } from '@tanstack/react-table';
|
|
6
7
|
import { MRT_RowData, MRT_TableOptions, MRT_ColumnDef } from 'mantine-react-table';
|
|
7
8
|
|
|
8
9
|
interface MyActionIconProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
|
|
@@ -53,7 +54,7 @@ interface MyDataTableProps<TData extends MRT_RowData> extends MRT_TableOptions<T
|
|
|
53
54
|
pagination?: PaginationState;
|
|
54
55
|
idSelectionOne?: string;
|
|
55
56
|
setIdSelectionOne?: (value: string) => void;
|
|
56
|
-
visibleFields?: (
|
|
57
|
+
visibleFields?: (({} & string) | DeepKeys<TData>)[];
|
|
57
58
|
}
|
|
58
59
|
declare function MyDataTable<TData extends MRT_RowData>({ rowActionSize, columns, data, setSelectedRow, isError, isLoading, pagination, idSelectionOne, setIdSelectionOne, renderTopToolbarCustomActions, visibleFields, ...rest }: MyDataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
59
60
|
|
|
@@ -21,7 +21,8 @@ import {
|
|
|
21
21
|
utils_date,
|
|
22
22
|
utils_excel,
|
|
23
23
|
utils_file,
|
|
24
|
-
utils_mantineReactTable
|
|
24
|
+
utils_mantineReactTable,
|
|
25
|
+
utils_text
|
|
25
26
|
} from "./chunk-7ZI7IOEP.mjs";
|
|
26
27
|
import {
|
|
27
28
|
createGenericStore
|
|
@@ -29,8 +30,9 @@ import {
|
|
|
29
30
|
import {
|
|
30
31
|
const_object_colors,
|
|
31
32
|
const_object_documentTypes
|
|
32
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-C74M5VPE.mjs";
|
|
33
34
|
import {
|
|
35
|
+
enumLabel_gender,
|
|
34
36
|
enum_daysOfWeek
|
|
35
37
|
} from "./chunk-WJYGAYCW.mjs";
|
|
36
38
|
import {
|
|
@@ -38,6 +40,7 @@ import {
|
|
|
38
40
|
createBaseApi,
|
|
39
41
|
useConfig,
|
|
40
42
|
useEditableRows,
|
|
43
|
+
useExportData,
|
|
41
44
|
useMyDevice,
|
|
42
45
|
useMyReactMutation,
|
|
43
46
|
useMyReactQuery,
|
|
@@ -10525,7 +10528,7 @@ function AQButtonExportData(_a) {
|
|
|
10525
10528
|
var _b = _a, {
|
|
10526
10529
|
objectName,
|
|
10527
10530
|
data,
|
|
10528
|
-
exportConfig:
|
|
10531
|
+
exportConfig: exportConfig4
|
|
10529
10532
|
} = _b, rest = __objRest(_b, [
|
|
10530
10533
|
"objectName",
|
|
10531
10534
|
"data",
|
|
@@ -10534,17 +10537,17 @@ function AQButtonExportData(_a) {
|
|
|
10534
10537
|
const handleExport = () => {
|
|
10535
10538
|
const processedData = data.map((row) => {
|
|
10536
10539
|
const newRow = {};
|
|
10537
|
-
|
|
10540
|
+
exportConfig4.fields.forEach(({ fieldName, formatFunction }) => {
|
|
10538
10541
|
newRow[fieldName] = formatFunction ? formatFunction(row[fieldName], row) : row[fieldName];
|
|
10539
10542
|
});
|
|
10540
10543
|
return newRow;
|
|
10541
10544
|
});
|
|
10542
10545
|
const headers = {};
|
|
10543
|
-
|
|
10546
|
+
exportConfig4.fields.forEach(({ fieldName, header }) => {
|
|
10544
10547
|
headers[fieldName] = header;
|
|
10545
10548
|
});
|
|
10546
10549
|
const worksheet = utils4.json_to_sheet(processedData);
|
|
10547
|
-
const headerRow =
|
|
10550
|
+
const headerRow = exportConfig4.fields.map(({ fieldName }) => headers[fieldName]);
|
|
10548
10551
|
utils4.sheet_add_aoa(worksheet, [headerRow], { origin: "A1" });
|
|
10549
10552
|
const workbook = utils4.book_new();
|
|
10550
10553
|
utils4.book_append_sheet(workbook, worksheet, "Exported Data");
|
|
@@ -10569,7 +10572,7 @@ function AQButtonExportData(_a) {
|
|
|
10569
10572
|
// src/modules-features/admin/core/academicYears/AcademicYearExport.tsx
|
|
10570
10573
|
import { jsx as jsx102 } from "react/jsx-runtime";
|
|
10571
10574
|
function AcademicYearExport({ data, table }) {
|
|
10572
|
-
const
|
|
10575
|
+
const exportConfig4 = {
|
|
10573
10576
|
fields: [
|
|
10574
10577
|
{
|
|
10575
10578
|
fieldName: "code",
|
|
@@ -10622,7 +10625,7 @@ function AcademicYearExport({ data, table }) {
|
|
|
10622
10625
|
administrativeYearEnd: item.original.administrativeYearEnd ? utils_date.toDDMMYYYY(item.original.administrativeYearEnd) : void 0
|
|
10623
10626
|
});
|
|
10624
10627
|
}),
|
|
10625
|
-
exportConfig:
|
|
10628
|
+
exportConfig: exportConfig4
|
|
10626
10629
|
}
|
|
10627
10630
|
);
|
|
10628
10631
|
}
|
|
@@ -14734,7 +14737,7 @@ function DepartmentTable({
|
|
|
14734
14737
|
isLoading,
|
|
14735
14738
|
isError,
|
|
14736
14739
|
columns,
|
|
14737
|
-
exportConfig:
|
|
14740
|
+
exportConfig: exportConfig4,
|
|
14738
14741
|
unitData,
|
|
14739
14742
|
renderRowActions,
|
|
14740
14743
|
renderTopToolbarCustomActions
|
|
@@ -14800,7 +14803,7 @@ function DepartmentFeature() {
|
|
|
14800
14803
|
accessorFn: (row) => row.modifiedWhen ? utils_date_dateToDDMMYYYString(new Date(row.modifiedWhen)) : ""
|
|
14801
14804
|
}
|
|
14802
14805
|
], []);
|
|
14803
|
-
const
|
|
14806
|
+
const exportConfig4 = {
|
|
14804
14807
|
fields: [
|
|
14805
14808
|
{ fieldName: "id", header: "STT" },
|
|
14806
14809
|
{ fieldName: "unitCode", header: "M\xE3 \u0111\u01A1n v\u1ECB" },
|
|
@@ -14816,7 +14819,7 @@ function DepartmentFeature() {
|
|
|
14816
14819
|
isError: query.isError,
|
|
14817
14820
|
isLoading: query.isLoading,
|
|
14818
14821
|
unitData: query.data || [],
|
|
14819
|
-
exportConfig:
|
|
14822
|
+
exportConfig: exportConfig4,
|
|
14820
14823
|
renderTopToolbarCustomActions: ({ table }) => /* @__PURE__ */ jsxs98(Group36, { children: [
|
|
14821
14824
|
/* @__PURE__ */ jsx177(DepartmentCreateOrUpdateFeature, { mode: "create" }),
|
|
14822
14825
|
/* @__PURE__ */ jsx177(DepartmentExport, { data: table.getSelectedRowModel().flatRows.map((item) => item.original) }),
|
|
@@ -15368,7 +15371,7 @@ function EmailTemplateDeleteListButton({ values }) {
|
|
|
15368
15371
|
// src/modules-features/admin/core/EmailTemplate/EmailTemplateExport.tsx
|
|
15369
15372
|
import { jsx as jsx188 } from "react/jsx-runtime";
|
|
15370
15373
|
function EmailTemplateExport({ data, emailTemplateEnum }) {
|
|
15371
|
-
const
|
|
15374
|
+
const exportConfig4 = {
|
|
15372
15375
|
fields: [
|
|
15373
15376
|
{
|
|
15374
15377
|
header: "Ti\xEAu \u0111\u1EC1 th\xF4ng b\xE1o",
|
|
@@ -15389,7 +15392,7 @@ function EmailTemplateExport({ data, emailTemplateEnum }) {
|
|
|
15389
15392
|
{
|
|
15390
15393
|
objectName: "Mau_mail_thong_bao",
|
|
15391
15394
|
data: data || [],
|
|
15392
|
-
exportConfig:
|
|
15395
|
+
exportConfig: exportConfig4
|
|
15393
15396
|
}
|
|
15394
15397
|
);
|
|
15395
15398
|
}
|
|
@@ -15775,12 +15778,93 @@ function F_formTemplateDocs({
|
|
|
15775
15778
|
|
|
15776
15779
|
// src/modules-features/admin/core/lecturerList/LecturerListDelete.tsx
|
|
15777
15780
|
import { jsx as jsx195 } from "react/jsx-runtime";
|
|
15781
|
+
function LecturerListDelete({ id, code }) {
|
|
15782
|
+
return /* @__PURE__ */ jsx195(MyActionIconDelete, { contextData: code, onSubmit: () => service_account.delete(id) });
|
|
15783
|
+
}
|
|
15778
15784
|
|
|
15779
15785
|
// src/modules-features/admin/core/lecturerList/LecturerListDeleteList.tsx
|
|
15780
15786
|
import { jsx as jsx196 } from "react/jsx-runtime";
|
|
15787
|
+
function LecturerListDeleteList({ table }) {
|
|
15788
|
+
const selectedRow = table.getSelectedRowModel().rows.map((item) => item.original);
|
|
15789
|
+
return /* @__PURE__ */ jsx196(
|
|
15790
|
+
MyButtonDeleteList,
|
|
15791
|
+
{
|
|
15792
|
+
count: selectedRow.length,
|
|
15793
|
+
onSubmit: () => {
|
|
15794
|
+
return service_account.deleteListIds(selectedRow.map((item) => item.id));
|
|
15795
|
+
},
|
|
15796
|
+
onSuccess: () => {
|
|
15797
|
+
table.resetRowSelection();
|
|
15798
|
+
}
|
|
15799
|
+
}
|
|
15800
|
+
);
|
|
15801
|
+
}
|
|
15781
15802
|
|
|
15782
15803
|
// src/modules-features/admin/core/lecturerList/LecturerListExport.tsx
|
|
15783
15804
|
import { jsx as jsx197 } from "react/jsx-runtime";
|
|
15805
|
+
var exportConfig3 = {
|
|
15806
|
+
fields: [
|
|
15807
|
+
{
|
|
15808
|
+
fieldName: "code",
|
|
15809
|
+
header: "M\xE3 vi\xEAn ch\u1EE9c"
|
|
15810
|
+
},
|
|
15811
|
+
{
|
|
15812
|
+
fieldName: "firstName",
|
|
15813
|
+
header: "H\u1ECD l\xF3t",
|
|
15814
|
+
formatFunction: (value, row) => {
|
|
15815
|
+
return utils_text.splitFullName(row.fullName || "").firstName;
|
|
15816
|
+
}
|
|
15817
|
+
},
|
|
15818
|
+
{
|
|
15819
|
+
fieldName: "lastName",
|
|
15820
|
+
header: "T\xEAn",
|
|
15821
|
+
formatFunction: (value, row) => {
|
|
15822
|
+
return utils_text.splitFullName(row.fullName || "").lastName;
|
|
15823
|
+
}
|
|
15824
|
+
},
|
|
15825
|
+
{
|
|
15826
|
+
fieldName: "gender",
|
|
15827
|
+
header: "Gi\u1EDBi t\xEDnh",
|
|
15828
|
+
formatFunction: (value, row) => {
|
|
15829
|
+
return enumLabel_gender[row.gender];
|
|
15830
|
+
}
|
|
15831
|
+
},
|
|
15832
|
+
{
|
|
15833
|
+
fieldName: "dateOfBirth",
|
|
15834
|
+
header: "Ng\xE0y sinh",
|
|
15835
|
+
formatFunction: (value, row) => {
|
|
15836
|
+
return utils_date.toDDMMYYYY(row.dateOfBirth || "");
|
|
15837
|
+
}
|
|
15838
|
+
},
|
|
15839
|
+
{
|
|
15840
|
+
fieldName: "phoneNumber",
|
|
15841
|
+
header: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i"
|
|
15842
|
+
},
|
|
15843
|
+
{
|
|
15844
|
+
fieldName: "email",
|
|
15845
|
+
header: "Email"
|
|
15846
|
+
},
|
|
15847
|
+
{
|
|
15848
|
+
fieldName: "workingUnitName",
|
|
15849
|
+
header: "\u0110\u01A1n v\u1ECB",
|
|
15850
|
+
formatFunction: (value, row) => {
|
|
15851
|
+
var _a;
|
|
15852
|
+
return (_a = row.workingUnit) == null ? void 0 : _a.name;
|
|
15853
|
+
}
|
|
15854
|
+
},
|
|
15855
|
+
{
|
|
15856
|
+
fieldName: "isExternal",
|
|
15857
|
+
header: "Ngo\xE0i tr\u01B0\u1EDDng",
|
|
15858
|
+
formatFunction: (value, row) => {
|
|
15859
|
+
return row.isExternal ? "Ngo\xE0i tr\u01B0\u1EDDng" : "Trong tr\u01B0\u1EDDng";
|
|
15860
|
+
}
|
|
15861
|
+
}
|
|
15862
|
+
]
|
|
15863
|
+
};
|
|
15864
|
+
function LecturerListExport({ table }) {
|
|
15865
|
+
const { data } = useExportData(table);
|
|
15866
|
+
return /* @__PURE__ */ jsx197(AQButtonExportData, { objectName: "Danh s\xE1ch vi\xEAn ch\u1EE9c", data, exportConfig: exportConfig3 });
|
|
15867
|
+
}
|
|
15784
15868
|
|
|
15785
15869
|
// src/modules-features/admin/core/lecturerList/LecturerListSyncFromEdusoft.tsx
|
|
15786
15870
|
import { Button as Button24, Modal as Modal20, Stack as Stack12 } from "@mantine/core";
|
|
@@ -15788,10 +15872,119 @@ import { useDisclosure as useDisclosure21 } from "@mantine/hooks";
|
|
|
15788
15872
|
import { IconRefresh as IconRefresh4 } from "@tabler/icons-react";
|
|
15789
15873
|
import { useState as useState28 } from "react";
|
|
15790
15874
|
import { Fragment as Fragment26, jsx as jsx198, jsxs as jsxs110 } from "react/jsx-runtime";
|
|
15875
|
+
function LecturerListSyncFromEdusoft() {
|
|
15876
|
+
const disc = useDisclosure21();
|
|
15877
|
+
const notificationState = useState28("");
|
|
15878
|
+
const mutation = useMyReactMutation({
|
|
15879
|
+
axiosFn: () => service_account.syncAQDataLecturer(),
|
|
15880
|
+
options: {
|
|
15881
|
+
onSuccess: (data) => {
|
|
15882
|
+
notificationState[1](data);
|
|
15883
|
+
disc[1].open();
|
|
15884
|
+
}
|
|
15885
|
+
}
|
|
15886
|
+
});
|
|
15887
|
+
return /* @__PURE__ */ jsxs110(Fragment26, { children: [
|
|
15888
|
+
/* @__PURE__ */ jsx198(Button24, { loading: mutation.isPending, color: "green", leftSection: /* @__PURE__ */ jsx198(IconRefresh4, {}), onClick: () => mutation.mutate(), children: "\u0110\u1ED3ng b\u1ED9 t\u1EEB EduSoft.NET" }),
|
|
15889
|
+
/* @__PURE__ */ jsx198(Modal20, { onClose: disc[1].close, opened: disc[0], title: "Th\xF4ng b\xE1o \u0111\u1ED3ng b\u1ED9", children: /* @__PURE__ */ jsxs110(Stack12, { children: [
|
|
15890
|
+
notificationState[0],
|
|
15891
|
+
/* @__PURE__ */ jsx198(
|
|
15892
|
+
Button24,
|
|
15893
|
+
{
|
|
15894
|
+
onClick: () => {
|
|
15895
|
+
disc[1].close();
|
|
15896
|
+
},
|
|
15897
|
+
children: "\u0110\u1ED3ng \xFD"
|
|
15898
|
+
}
|
|
15899
|
+
)
|
|
15900
|
+
] }) })
|
|
15901
|
+
] });
|
|
15902
|
+
}
|
|
15791
15903
|
|
|
15792
15904
|
// src/modules-features/admin/core/lecturerList/LecturerListTable.tsx
|
|
15793
15905
|
import { Group as Group39 } from "@mantine/core";
|
|
15794
15906
|
import { jsx as jsx199, jsxs as jsxs111 } from "react/jsx-runtime";
|
|
15907
|
+
function LecturerListTable() {
|
|
15908
|
+
const lecturerQuery = useMyReactQuery({
|
|
15909
|
+
queryKey: ["lecturers"],
|
|
15910
|
+
axiosFn: () => service_account.getEdusoftNetAccount()
|
|
15911
|
+
});
|
|
15912
|
+
const columns = [
|
|
15913
|
+
{
|
|
15914
|
+
header: "M\xE3 vi\xEAn ch\u1EE9c",
|
|
15915
|
+
accessorKey: "code"
|
|
15916
|
+
},
|
|
15917
|
+
{
|
|
15918
|
+
header: "H\u1ECD t\xEAn",
|
|
15919
|
+
accessorKey: "fullName"
|
|
15920
|
+
},
|
|
15921
|
+
{
|
|
15922
|
+
header: "T\xEAn",
|
|
15923
|
+
accessorKey: "firstName",
|
|
15924
|
+
accessorFn: (row) => utils_text.splitFullName(row.fullName || "").firstName
|
|
15925
|
+
},
|
|
15926
|
+
{
|
|
15927
|
+
header: "H\u1ECD l\xF3t",
|
|
15928
|
+
accessorKey: "lastName",
|
|
15929
|
+
accessorFn: (row) => utils_text.splitFullName(row.fullName || "").lastName
|
|
15930
|
+
},
|
|
15931
|
+
{
|
|
15932
|
+
header: "Ng\xE0y sinh",
|
|
15933
|
+
accessorKey: "dateOfBirth",
|
|
15934
|
+
accessorFn: (row) => utils_date.toDDMMYYYY(row.dateOfBirth)
|
|
15935
|
+
},
|
|
15936
|
+
{
|
|
15937
|
+
header: "Gi\u1EDBi t\xEDnh",
|
|
15938
|
+
accessorKey: "gender",
|
|
15939
|
+
accessorFn: (row) => enumLabel_gender[row.gender]
|
|
15940
|
+
},
|
|
15941
|
+
{
|
|
15942
|
+
header: "\u0110\u01A1n v\u1ECB",
|
|
15943
|
+
accessorKey: "workingUnitName",
|
|
15944
|
+
accessorFn: (row) => {
|
|
15945
|
+
var _a;
|
|
15946
|
+
return (_a = row.workingUnit) == null ? void 0 : _a.name;
|
|
15947
|
+
}
|
|
15948
|
+
},
|
|
15949
|
+
{
|
|
15950
|
+
header: "Ch\u1EE9c v\u1EE5",
|
|
15951
|
+
accessorKey: "jobTitle"
|
|
15952
|
+
},
|
|
15953
|
+
{
|
|
15954
|
+
header: "Email",
|
|
15955
|
+
accessorKey: "email"
|
|
15956
|
+
},
|
|
15957
|
+
{
|
|
15958
|
+
header: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i",
|
|
15959
|
+
accessorKey: "phoneNumber"
|
|
15960
|
+
},
|
|
15961
|
+
{
|
|
15962
|
+
header: "Tr\xECnh \u0111\u1ED9",
|
|
15963
|
+
accessorKey: "educationLevel"
|
|
15964
|
+
},
|
|
15965
|
+
{
|
|
15966
|
+
header: "Vi\xEAn ch\u1EE9c ngo\xE0i tr\u01B0\u1EDDng",
|
|
15967
|
+
accessorKey: "isExternal",
|
|
15968
|
+
accessorFn: (row) => /* @__PURE__ */ jsx199(CustomThemeIconSquareCheck, { checked: row.isExternal })
|
|
15969
|
+
}
|
|
15970
|
+
];
|
|
15971
|
+
return /* @__PURE__ */ jsx199(
|
|
15972
|
+
MyDataTable,
|
|
15973
|
+
{
|
|
15974
|
+
enableRowSelection: true,
|
|
15975
|
+
renderTopToolbarCustomActions: ({ table }) => /* @__PURE__ */ jsxs111(Group39, { children: [
|
|
15976
|
+
/* @__PURE__ */ jsx199(LecturerListExport, { table }),
|
|
15977
|
+
/* @__PURE__ */ jsx199(LecturerListDeleteList, { table }),
|
|
15978
|
+
/* @__PURE__ */ jsx199(LecturerListSyncFromEdusoft, {})
|
|
15979
|
+
] }),
|
|
15980
|
+
columns,
|
|
15981
|
+
data: lecturerQuery.data || [],
|
|
15982
|
+
isLoading: lecturerQuery.isLoading,
|
|
15983
|
+
isError: lecturerQuery.isError,
|
|
15984
|
+
renderRowActions: ({ row }) => /* @__PURE__ */ jsx199(LecturerListDelete, { code: row.original.code || "", id: row.original.id })
|
|
15985
|
+
}
|
|
15986
|
+
);
|
|
15987
|
+
}
|
|
15795
15988
|
|
|
15796
15989
|
// src/api/services/service_emailConfig.ts
|
|
15797
15990
|
var CONTROLLER12 = "/EmailConfig";
|
|
@@ -18773,6 +18966,7 @@ export {
|
|
|
18773
18966
|
F_formTemplateDocs_Read,
|
|
18774
18967
|
F_formTemplateDocs,
|
|
18775
18968
|
CustomThemeIconSquareCheck,
|
|
18969
|
+
LecturerListTable,
|
|
18776
18970
|
F_mailConfig_CreateUpdate,
|
|
18777
18971
|
F_mailConfig_Delete,
|
|
18778
18972
|
F_mailConfig_Read,
|
|
@@ -8,8 +8,8 @@ import { type_mantineSize } from '../types/index.mjs';
|
|
|
8
8
|
import { useDisclosure, useListState } from '@mantine/hooks';
|
|
9
9
|
import { UseFormReturnType, useForm } from '@mantine/form';
|
|
10
10
|
import { I as I_BasicAppShell_LinkItem, B as BasicAppShellProps } from '../types-km2g-xx5.mjs';
|
|
11
|
-
import { f as MyButtonModal$1 } from '../MyDataTable-
|
|
12
|
-
export { h as MyDataTable, g as MyDataTableInternalProps, c as MyDataTableProps, P as PaginationState } from '../MyDataTable-
|
|
11
|
+
import { f as MyButtonModal$1 } from '../MyDataTable-gxL6qCfE.mjs';
|
|
12
|
+
export { h as MyDataTable, g as MyDataTableInternalProps, c as MyDataTableProps, P as PaginationState } from '../MyDataTable-gxL6qCfE.mjs';
|
|
13
13
|
import { I as IExcelColumnConfig } from '../utils_excel-CuudSzBR.mjs';
|
|
14
14
|
import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
|
|
15
15
|
import { DateInputProps } from '@mantine/dates';
|
|
@@ -22,6 +22,7 @@ import { CalendarEventExternal } from '@schedule-x/calendar';
|
|
|
22
22
|
import '@tanstack/react-query';
|
|
23
23
|
import '../type_mutation-CCtnyeP3.mjs';
|
|
24
24
|
import '../IBaseEntity-Am9Cgybw.mjs';
|
|
25
|
+
import '@tanstack/react-table';
|
|
25
26
|
import 'exceljs';
|
|
26
27
|
|
|
27
28
|
declare const MyBoxesCore: ({ className, ...rest }: {
|
|
@@ -69,13 +69,13 @@ import {
|
|
|
69
69
|
useHeaderMegaMenuStore,
|
|
70
70
|
useS_ButtonImport,
|
|
71
71
|
useStore_BasicAppShell
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-6A7OAW6X.mjs";
|
|
73
73
|
import "../chunk-PKP6EDBO.mjs";
|
|
74
74
|
import "../chunk-KGBXMHKR.mjs";
|
|
75
75
|
import "../chunk-7ZI7IOEP.mjs";
|
|
76
76
|
import "../chunk-LEFFCELO.mjs";
|
|
77
77
|
import "../chunk-BTITP4TN.mjs";
|
|
78
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-C74M5VPE.mjs";
|
|
79
79
|
import "../chunk-WJYGAYCW.mjs";
|
|
80
80
|
import "../chunk-G33SBZHB.mjs";
|
|
81
81
|
import "../chunk-WZ6PXGGC.mjs";
|
package/dist/const/index.mjs
CHANGED
package/dist/core/index.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { ButtonProps, ModalProps, ScrollAreaAutosizeProps, TooltipProps, TextProps, PaperProps, GroupProps, ThemeIconProps, BadgeProps, AutocompleteProps, NumberInputProps, TextInputProps, FileInputProps, InputWrapperProps, FlexProps } from '@mantine/core';
|
|
3
3
|
import { UseFormReturnType } from '@mantine/form';
|
|
4
4
|
import { ReactNode, ComponentProps } from 'react';
|
|
5
|
-
import { M as MyButtonModalProps, a as MyActionIconProps, b as MyButtonProps, c as MyDataTableProps } from '../MyDataTable-
|
|
6
|
-
export { d as MyActionIcon, e as MyButton, f as MyButtonModal } from '../MyDataTable-
|
|
5
|
+
import { M as MyButtonModalProps, a as MyActionIconProps, b as MyButtonProps, c as MyDataTableProps } from '../MyDataTable-gxL6qCfE.mjs';
|
|
6
|
+
export { d as MyActionIcon, e as MyButton, f as MyButtonModal } from '../MyDataTable-gxL6qCfE.mjs';
|
|
7
7
|
import { UseReactToPrintOptions } from 'react-to-print';
|
|
8
8
|
import { I as IAQFileDetail } from '../utils_file-JlhzjLGS.mjs';
|
|
9
9
|
import { useDisclosure } from '@mantine/hooks';
|
|
@@ -18,6 +18,7 @@ import { M as MySelectProps } from '../MySelect-CEgpggSF.mjs';
|
|
|
18
18
|
export { a as MySelect } from '../MySelect-CEgpggSF.mjs';
|
|
19
19
|
import { I as IBaseEntity } from '../IBaseEntity-Am9Cgybw.mjs';
|
|
20
20
|
import '../type_action-hMF6_2Mr.mjs';
|
|
21
|
+
import '@tanstack/react-table';
|
|
21
22
|
import '../type_mutation-CCtnyeP3.mjs';
|
|
22
23
|
|
|
23
24
|
declare function CustomSwitchTheme(): react_jsx_runtime.JSX.Element | null;
|
package/dist/core/index.mjs
CHANGED
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
MyStatsCard,
|
|
32
32
|
MyTextInput2 as MyTextInput,
|
|
33
33
|
MyWeeklySessionSchedulerPicker
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-6A7OAW6X.mjs";
|
|
35
35
|
import "../chunk-PKP6EDBO.mjs";
|
|
36
36
|
import "../chunk-KGBXMHKR.mjs";
|
|
37
37
|
import "../chunk-7ZI7IOEP.mjs";
|
|
38
38
|
import "../chunk-LEFFCELO.mjs";
|
|
39
39
|
import "../chunk-BTITP4TN.mjs";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-C74M5VPE.mjs";
|
|
41
41
|
import "../chunk-WJYGAYCW.mjs";
|
|
42
42
|
import "../chunk-G33SBZHB.mjs";
|
|
43
43
|
import "../chunk-WZ6PXGGC.mjs";
|
|
@@ -545,6 +545,8 @@ declare function F_formTemplateDocs_Update({ values, FormTypeId, }: {
|
|
|
545
545
|
FormTypeId: number;
|
|
546
546
|
}): react_jsx_runtime.JSX.Element;
|
|
547
547
|
|
|
548
|
+
declare function LecturerListTable(): react_jsx_runtime.JSX.Element;
|
|
549
|
+
|
|
548
550
|
interface I$8 extends IEmailConfig {
|
|
549
551
|
password?: string;
|
|
550
552
|
}
|
|
@@ -927,4 +929,4 @@ interface Feat_TokenExpiredProps {
|
|
|
927
929
|
}
|
|
928
930
|
declare function Feat_TokenExpired({ loginRedirect }: Feat_TokenExpiredProps): react_jsx_runtime.JSX.Element;
|
|
929
931
|
|
|
930
|
-
export { AcademicYearsCreate, AcademicYearsDelete, AcademicYearsDeleteList, AcademicYearsRead, AcademicYearsUpdate, AccountManagement_DeleteUser, AccountManagement_ReadUser, CodeFormulaRead, DepartmentFeature, ENUM_BUSINESS_TYPE, ENUM_OBJECT_TYPE, ENUM_REPEAT_CYCLE, EmailTemplateCreateUpdateButton, EmailTemplateTable, F_accountManagement, F_authenticate_SplashPage, F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core35923, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_documentCategories, F_documentCategories_Create, F_documentCategories_Delete, F_documentCategories_Read, F_documentCategories_Select, F_documentCategories_Update, F_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, F_mailConfig_CreateUpdate, F_mailConfig_Delete, F_mailConfig_Read, F_moduleConfig, F_organizationPolicyDocs, F_organizationPolicyDocs_Create, F_organizationPolicyDocs_Delete, F_organizationPolicyDocs_Update, F_pageContentConfig, F_securityPolicyDocs, F_securityPolicyDocs_Create, F_securityPolicyDocs_Delete, F_securityPolicyDocs_Update, F_systemUpdateDocs, F_systemUpdateDocs_Create, F_systemUpdateDocs_Delete, F_systemUpdateDocs_Update, F_userGuideDocs, F_userGuideDocs_Create, F_userGuideDocs_Delete, F_userGuideDocs_Read, F_userGuideDocs_Update, F_workflowProcessDocs, F_workflowProcessDocs_Create, F_workflowProcessDocs_Delete, F_workflowProcessDocs_Read, F_workflowProcessDocs_Update, Feat_Authenticate_Login, Feat_Authenticate_Logout, Feat_Authenticate_SSOHandler, Feat_PageContentTable, Feat_RoleManagement, Feat_TokenExpired, Feat_accessControl, Feat_accessControlLevel, type I_moduleConfig_AQModule, MailTemplateDeleteButton, type emailTemplateEnum, useS_moduleConfig, useStore_Authenticate };
|
|
932
|
+
export { AcademicYearsCreate, AcademicYearsDelete, AcademicYearsDeleteList, AcademicYearsRead, AcademicYearsUpdate, AccountManagement_DeleteUser, AccountManagement_ReadUser, CodeFormulaRead, DepartmentFeature, ENUM_BUSINESS_TYPE, ENUM_OBJECT_TYPE, ENUM_REPEAT_CYCLE, EmailTemplateCreateUpdateButton, EmailTemplateTable, F_accountManagement, F_authenticate_SplashPage, F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core35923, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_documentCategories, F_documentCategories_Create, F_documentCategories_Delete, F_documentCategories_Read, F_documentCategories_Select, F_documentCategories_Update, F_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, F_mailConfig_CreateUpdate, F_mailConfig_Delete, F_mailConfig_Read, F_moduleConfig, F_organizationPolicyDocs, F_organizationPolicyDocs_Create, F_organizationPolicyDocs_Delete, F_organizationPolicyDocs_Update, F_pageContentConfig, F_securityPolicyDocs, F_securityPolicyDocs_Create, F_securityPolicyDocs_Delete, F_securityPolicyDocs_Update, F_systemUpdateDocs, F_systemUpdateDocs_Create, F_systemUpdateDocs_Delete, F_systemUpdateDocs_Update, F_userGuideDocs, F_userGuideDocs_Create, F_userGuideDocs_Delete, F_userGuideDocs_Read, F_userGuideDocs_Update, F_workflowProcessDocs, F_workflowProcessDocs_Create, F_workflowProcessDocs_Delete, F_workflowProcessDocs_Read, F_workflowProcessDocs_Update, Feat_Authenticate_Login, Feat_Authenticate_Logout, Feat_Authenticate_SSOHandler, Feat_PageContentTable, Feat_RoleManagement, Feat_TokenExpired, Feat_accessControl, Feat_accessControlLevel, type I_moduleConfig_AQModule, LecturerListTable, MailTemplateDeleteButton, type emailTemplateEnum, useS_moduleConfig, useStore_Authenticate };
|
|
@@ -99,16 +99,17 @@ import {
|
|
|
99
99
|
Feat_TokenExpired,
|
|
100
100
|
Feat_accessControl,
|
|
101
101
|
Feat_accessControlLevel,
|
|
102
|
+
LecturerListTable,
|
|
102
103
|
MailTemplateDeleteButton,
|
|
103
104
|
useS_moduleConfig,
|
|
104
105
|
useStore_Authenticate
|
|
105
|
-
} from "../chunk-
|
|
106
|
+
} from "../chunk-6A7OAW6X.mjs";
|
|
106
107
|
import "../chunk-PKP6EDBO.mjs";
|
|
107
108
|
import "../chunk-KGBXMHKR.mjs";
|
|
108
109
|
import "../chunk-7ZI7IOEP.mjs";
|
|
109
110
|
import "../chunk-LEFFCELO.mjs";
|
|
110
111
|
import "../chunk-BTITP4TN.mjs";
|
|
111
|
-
import "../chunk-
|
|
112
|
+
import "../chunk-C74M5VPE.mjs";
|
|
112
113
|
import "../chunk-WJYGAYCW.mjs";
|
|
113
114
|
import "../chunk-G33SBZHB.mjs";
|
|
114
115
|
import "../chunk-WZ6PXGGC.mjs";
|
|
@@ -214,6 +215,7 @@ export {
|
|
|
214
215
|
Feat_TokenExpired,
|
|
215
216
|
Feat_accessControl,
|
|
216
217
|
Feat_accessControlLevel,
|
|
218
|
+
LecturerListTable,
|
|
217
219
|
MailTemplateDeleteButton,
|
|
218
220
|
useS_moduleConfig,
|
|
219
221
|
useStore_Authenticate
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import "../chunk-NMY3UEY5.mjs";
|
|
1
2
|
import {
|
|
2
3
|
MySelect2 as MySelect
|
|
3
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-6A7OAW6X.mjs";
|
|
4
5
|
import "../chunk-PKP6EDBO.mjs";
|
|
5
6
|
import "../chunk-KGBXMHKR.mjs";
|
|
6
7
|
import {
|
|
@@ -8,8 +9,7 @@ import {
|
|
|
8
9
|
} from "../chunk-7ZI7IOEP.mjs";
|
|
9
10
|
import "../chunk-LEFFCELO.mjs";
|
|
10
11
|
import "../chunk-BTITP4TN.mjs";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-NMY3UEY5.mjs";
|
|
12
|
+
import "../chunk-C74M5VPE.mjs";
|
|
13
13
|
import {
|
|
14
14
|
enumLabel_gender,
|
|
15
15
|
enum_gender
|
package/package.json
CHANGED