aq-fe-framework 0.1.860 → 0.1.862
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.
|
@@ -9161,7 +9161,7 @@ import {
|
|
|
9161
9161
|
IconLibraryMinus
|
|
9162
9162
|
} from "@tabler/icons-react";
|
|
9163
9163
|
import { usePathname as usePathname3 } from "next/navigation.js";
|
|
9164
|
-
import { useEffect as
|
|
9164
|
+
import { useEffect as useEffect40, useMemo as useMemo41, useState as useState30 } from "react";
|
|
9165
9165
|
|
|
9166
9166
|
// src/components/Layouts/BasicAppShell/RenderNavLinks.tsx
|
|
9167
9167
|
import { Badge as Badge4, NavLink } from "@mantine/core";
|
|
@@ -14218,7 +14218,7 @@ function F_formTemplateDocs_Create({ FormTypeId }) {
|
|
|
14218
14218
|
|
|
14219
14219
|
// src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs_Read.tsx
|
|
14220
14220
|
import { Accordion as Accordion4, Alert as Alert5, Blockquote as Blockquote4, Skeleton as Skeleton5 } from "@mantine/core";
|
|
14221
|
-
import { useMemo as useMemo26 } from "react";
|
|
14221
|
+
import { useEffect as useEffect28, useMemo as useMemo26, useState as useState22 } from "react";
|
|
14222
14222
|
import { IconBug as IconBug5 } from "@tabler/icons-react";
|
|
14223
14223
|
|
|
14224
14224
|
// src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs_Delete.tsx
|
|
@@ -14322,11 +14322,21 @@ function F_formTemplateDocs_Update({
|
|
|
14322
14322
|
// src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs_Read.tsx
|
|
14323
14323
|
import { jsx as jsx178, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
14324
14324
|
function F_formTemplateDocs_Read({ FormTypeId }) {
|
|
14325
|
-
var _a, _b
|
|
14325
|
+
var _a, _b;
|
|
14326
|
+
const [openItems, setOpenItems] = useState22([]);
|
|
14326
14327
|
const documentAttributeQuery = useMyReactQuery({
|
|
14327
14328
|
queryKey: ["F_formTemplateDocs_Read" + FormTypeId],
|
|
14328
14329
|
axiosFn: () => service_documentAttribute.GetByType(FormTypeId)
|
|
14329
14330
|
});
|
|
14331
|
+
useEffect28(() => {
|
|
14332
|
+
var _a2;
|
|
14333
|
+
if (documentAttributeQuery.data && documentAttributeQuery.data.length > 0) {
|
|
14334
|
+
const firstItemId = (_a2 = documentAttributeQuery.data[0].id) == null ? void 0 : _a2.toString();
|
|
14335
|
+
if (firstItemId && !openItems.includes(firstItemId)) {
|
|
14336
|
+
setOpenItems([firstItemId]);
|
|
14337
|
+
}
|
|
14338
|
+
}
|
|
14339
|
+
}, [documentAttributeQuery.data]);
|
|
14330
14340
|
if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0)
|
|
14331
14341
|
return /* @__PURE__ */ jsx178(Blockquote4, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
|
|
14332
14342
|
if (documentAttributeQuery.isError)
|
|
@@ -14341,18 +14351,14 @@ function F_formTemplateDocs_Read({ FormTypeId }) {
|
|
|
14341
14351
|
backgroundColor: const_object_colors.mantineBackgroundTertiary
|
|
14342
14352
|
}
|
|
14343
14353
|
},
|
|
14344
|
-
|
|
14345
|
-
|
|
14346
|
-
var _a2;
|
|
14347
|
-
return (_a2 = item.id) == null ? void 0 : _a2.toString();
|
|
14348
|
-
}
|
|
14349
|
-
),
|
|
14354
|
+
value: openItems,
|
|
14355
|
+
onChange: setOpenItems,
|
|
14350
14356
|
multiple: true,
|
|
14351
|
-
children: (
|
|
14357
|
+
children: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item, idx) => /* @__PURE__ */ jsx178(
|
|
14352
14358
|
SubRead4,
|
|
14353
14359
|
{
|
|
14354
14360
|
name: item.name,
|
|
14355
|
-
|
|
14361
|
+
id: item.id,
|
|
14356
14362
|
FormTypeId
|
|
14357
14363
|
},
|
|
14358
14364
|
idx
|
|
@@ -14362,12 +14368,12 @@ function F_formTemplateDocs_Read({ FormTypeId }) {
|
|
|
14362
14368
|
}
|
|
14363
14369
|
function SubRead4({
|
|
14364
14370
|
name,
|
|
14365
|
-
|
|
14371
|
+
id,
|
|
14366
14372
|
FormTypeId
|
|
14367
14373
|
}) {
|
|
14368
14374
|
const documentQuery = useMyReactQuery({
|
|
14369
|
-
queryKey: ["SF2_3Read" +
|
|
14370
|
-
axiosFn: () => service_document.GetByDocumentAttribute(
|
|
14375
|
+
queryKey: ["SF2_3Read" + id],
|
|
14376
|
+
axiosFn: () => service_document.GetByDocumentAttribute(id)
|
|
14371
14377
|
});
|
|
14372
14378
|
const columns = useMemo26(
|
|
14373
14379
|
() => [
|
|
@@ -14394,7 +14400,7 @@ function SubRead4({
|
|
|
14394
14400
|
);
|
|
14395
14401
|
if (documentQuery.isLoading) return "Loading...";
|
|
14396
14402
|
if (documentQuery.isError) return "Error!";
|
|
14397
|
-
return /* @__PURE__ */ jsxs98(Accordion4.Item, { value:
|
|
14403
|
+
return /* @__PURE__ */ jsx178(Skeleton5, { mt: 10, visible: documentQuery.isLoading, children: /* @__PURE__ */ jsxs98(Accordion4.Item, { value: id.toString(), children: [
|
|
14398
14404
|
/* @__PURE__ */ jsx178(Accordion4.Control, { children: name }),
|
|
14399
14405
|
/* @__PURE__ */ jsx178(Accordion4.Panel, { children: /* @__PURE__ */ jsx178(
|
|
14400
14406
|
MyDataTable,
|
|
@@ -14421,7 +14427,7 @@ function SubRead4({
|
|
|
14421
14427
|
] })
|
|
14422
14428
|
}
|
|
14423
14429
|
) })
|
|
14424
|
-
] });
|
|
14430
|
+
] }, id.toString()) });
|
|
14425
14431
|
}
|
|
14426
14432
|
|
|
14427
14433
|
// src/modules-features/admin/core/formTemplateDocs/F_formTemplateDocs.tsx
|
|
@@ -14850,12 +14856,12 @@ var mockData2 = [
|
|
|
14850
14856
|
];
|
|
14851
14857
|
|
|
14852
14858
|
// src/modules-features/admin/core/moduleConfig/F_moduleConfig.tsx
|
|
14853
|
-
import { useEffect as
|
|
14859
|
+
import { useEffect as useEffect30 } from "react";
|
|
14854
14860
|
|
|
14855
14861
|
// src/modules-features/admin/core/moduleConfig/F_moduleConfig_Form.tsx
|
|
14856
14862
|
import { Center as Center9, Grid as Grid8, Image as Image3, Paper as Paper14 } from "@mantine/core";
|
|
14857
14863
|
import { useForm as useForm31 } from "@mantine/form";
|
|
14858
|
-
import { useEffect as
|
|
14864
|
+
import { useEffect as useEffect29 } from "react";
|
|
14859
14865
|
|
|
14860
14866
|
// src/modules-features/admin/core/moduleConfig/F_moduleConfig_Save.tsx
|
|
14861
14867
|
import { useMutation as useMutation3 } from "@tanstack/react-query";
|
|
@@ -14926,7 +14932,7 @@ function F_moduleConfig_Form() {
|
|
|
14926
14932
|
logoFileDetail: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
|
|
14927
14933
|
}
|
|
14928
14934
|
});
|
|
14929
|
-
|
|
14935
|
+
useEffect29(() => {
|
|
14930
14936
|
var _a2, _b2;
|
|
14931
14937
|
if (!query.data) return;
|
|
14932
14938
|
const values = {
|
|
@@ -14947,7 +14953,7 @@ function F_moduleConfig_Form() {
|
|
|
14947
14953
|
form.setInitialValues(values);
|
|
14948
14954
|
form.setValues(values);
|
|
14949
14955
|
}, [query.data]);
|
|
14950
|
-
|
|
14956
|
+
useEffect29(() => {
|
|
14951
14957
|
if (process.env.NEXT_PUBLIC_APP_PROTOTYPE == "1") {
|
|
14952
14958
|
const values = {
|
|
14953
14959
|
code: "moduleCode",
|
|
@@ -15054,7 +15060,7 @@ function F_moduleConfig_Form() {
|
|
|
15054
15060
|
import { jsx as jsx189 } from "react/jsx-runtime";
|
|
15055
15061
|
function F_moduleConfig({ AQModuleId }) {
|
|
15056
15062
|
const store = useS_moduleConfig();
|
|
15057
|
-
|
|
15063
|
+
useEffect30(() => {
|
|
15058
15064
|
store.setProperty("AQModuleId", AQModuleId);
|
|
15059
15065
|
}, []);
|
|
15060
15066
|
return /* @__PURE__ */ jsx189(F_moduleConfig_Form, {});
|
|
@@ -15142,7 +15148,7 @@ function F_organizationPolicyDocs_Create({
|
|
|
15142
15148
|
// src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs_Read.tsx
|
|
15143
15149
|
import { Accordion as Accordion5, Alert as Alert6, Blockquote as Blockquote5, Skeleton as Skeleton6 } from "@mantine/core";
|
|
15144
15150
|
import { IconBug as IconBug6 } from "@tabler/icons-react";
|
|
15145
|
-
import { useMemo as useMemo30 } from "react";
|
|
15151
|
+
import { useEffect as useEffect31, useMemo as useMemo30, useState as useState23 } from "react";
|
|
15146
15152
|
|
|
15147
15153
|
// src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs_Delete.tsx
|
|
15148
15154
|
import { jsx as jsx191 } from "react/jsx-runtime";
|
|
@@ -15247,11 +15253,21 @@ import { jsx as jsx193, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
|
15247
15253
|
function F_organizationPolicyDocs_Read({
|
|
15248
15254
|
RegulationsTypeId
|
|
15249
15255
|
}) {
|
|
15250
|
-
var _a, _b
|
|
15256
|
+
var _a, _b;
|
|
15257
|
+
const [openItems, setOpenItems] = useState23([]);
|
|
15251
15258
|
const documentAttributeQuery = useMyReactQuery({
|
|
15252
15259
|
queryKey: ["F_organizationPolicyDocs_Read", RegulationsTypeId],
|
|
15253
15260
|
axiosFn: () => service_documentAttribute.GetByType(RegulationsTypeId)
|
|
15254
15261
|
});
|
|
15262
|
+
useEffect31(() => {
|
|
15263
|
+
var _a2;
|
|
15264
|
+
if (documentAttributeQuery.data && documentAttributeQuery.data.length > 0) {
|
|
15265
|
+
const firstItemId = (_a2 = documentAttributeQuery.data[0].id) == null ? void 0 : _a2.toString();
|
|
15266
|
+
if (firstItemId && !openItems.includes(firstItemId)) {
|
|
15267
|
+
setOpenItems([firstItemId]);
|
|
15268
|
+
}
|
|
15269
|
+
}
|
|
15270
|
+
}, [documentAttributeQuery.data]);
|
|
15255
15271
|
if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0)
|
|
15256
15272
|
return /* @__PURE__ */ jsx193(Blockquote5, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
|
|
15257
15273
|
if (documentAttributeQuery.isError)
|
|
@@ -15266,33 +15282,29 @@ function F_organizationPolicyDocs_Read({
|
|
|
15266
15282
|
backgroundColor: const_object_colors.mantineBackgroundTertiary
|
|
15267
15283
|
}
|
|
15268
15284
|
},
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
var _a2;
|
|
15272
|
-
return (_a2 = item.id) == null ? void 0 : _a2.toString();
|
|
15273
|
-
}
|
|
15274
|
-
),
|
|
15285
|
+
value: openItems,
|
|
15286
|
+
onChange: setOpenItems,
|
|
15275
15287
|
multiple: true,
|
|
15276
|
-
children: (
|
|
15288
|
+
children: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item, idx) => /* @__PURE__ */ jsx193(
|
|
15277
15289
|
SubRead5,
|
|
15278
15290
|
{
|
|
15279
|
-
name: item.name,
|
|
15280
|
-
|
|
15291
|
+
name: item.name || "",
|
|
15292
|
+
id: item.id,
|
|
15281
15293
|
RegulationsTypeId
|
|
15282
15294
|
},
|
|
15283
|
-
idx
|
|
15295
|
+
item.id || idx
|
|
15284
15296
|
))
|
|
15285
15297
|
}
|
|
15286
15298
|
) }) });
|
|
15287
15299
|
}
|
|
15288
15300
|
function SubRead5({
|
|
15289
15301
|
name,
|
|
15290
|
-
|
|
15302
|
+
id,
|
|
15291
15303
|
RegulationsTypeId
|
|
15292
15304
|
}) {
|
|
15293
15305
|
const documentQuery = useMyReactQuery({
|
|
15294
|
-
queryKey: ["SF2_3Read" +
|
|
15295
|
-
axiosFn: () => service_document.GetByDocumentAttribute(
|
|
15306
|
+
queryKey: ["SF2_3Read" + id],
|
|
15307
|
+
axiosFn: () => service_document.GetByDocumentAttribute(id)
|
|
15296
15308
|
});
|
|
15297
15309
|
const columns = useMemo30(
|
|
15298
15310
|
() => [
|
|
@@ -15317,7 +15329,7 @@ function SubRead5({
|
|
|
15317
15329
|
],
|
|
15318
15330
|
[]
|
|
15319
15331
|
);
|
|
15320
|
-
return /* @__PURE__ */ jsxs107(Accordion5.Item, { value:
|
|
15332
|
+
return /* @__PURE__ */ jsx193(Skeleton6, { mt: 10, visible: documentQuery.isLoading, children: /* @__PURE__ */ jsxs107(Accordion5.Item, { value: id.toString(), children: [
|
|
15321
15333
|
/* @__PURE__ */ jsx193(Accordion5.Control, { children: name }),
|
|
15322
15334
|
/* @__PURE__ */ jsx193(Accordion5.Panel, { children: /* @__PURE__ */ jsx193(
|
|
15323
15335
|
MyDataTable,
|
|
@@ -15344,7 +15356,7 @@ function SubRead5({
|
|
|
15344
15356
|
] })
|
|
15345
15357
|
}
|
|
15346
15358
|
) })
|
|
15347
|
-
] });
|
|
15359
|
+
] }, id.toString()) });
|
|
15348
15360
|
}
|
|
15349
15361
|
|
|
15350
15362
|
// src/modules-features/admin/core/organizationPolicyDocs/F_organizationPolicyDocs.tsx
|
|
@@ -15500,7 +15512,7 @@ function Feat_PageContentTable({ menuData }) {
|
|
|
15500
15512
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
|
|
15501
15513
|
import { Group as Group32 } from "@mantine/core";
|
|
15502
15514
|
import { notifications } from "@mantine/notifications";
|
|
15503
|
-
import { useMemo as useMemo33, useState as
|
|
15515
|
+
import { useMemo as useMemo33, useState as useState24 } from "react";
|
|
15504
15516
|
|
|
15505
15517
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Export.tsx
|
|
15506
15518
|
import { jsx as jsx197 } from "react/jsx-runtime";
|
|
@@ -15527,7 +15539,7 @@ function F_pageContentConfig_ReadMenu({ menuData }) {
|
|
|
15527
15539
|
queryKey: ["pageContents"],
|
|
15528
15540
|
axiosFn: () => service_page.getAll()
|
|
15529
15541
|
});
|
|
15530
|
-
const [editedDescriptions, setEditedDescriptions] =
|
|
15542
|
+
const [editedDescriptions, setEditedDescriptions] = useState24({});
|
|
15531
15543
|
const handleDescriptionChange = (id, value) => {
|
|
15532
15544
|
setEditedDescriptions((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
15533
15545
|
[id]: value
|
|
@@ -15869,7 +15881,7 @@ function Adapter_RoleTable2(_a) {
|
|
|
15869
15881
|
|
|
15870
15882
|
// src/modules/Role/adapter/Adapter_RoleForm.tsx
|
|
15871
15883
|
import { useForm as useForm35 } from "@mantine/form";
|
|
15872
|
-
import { useEffect as
|
|
15884
|
+
import { useEffect as useEffect32 } from "react";
|
|
15873
15885
|
|
|
15874
15886
|
// src/modules/Role/usecase/UseCase_RoleForm.tsx
|
|
15875
15887
|
import { Stack as Stack9 } from "@mantine/core";
|
|
@@ -15920,7 +15932,7 @@ function Adapter_RoleForm({
|
|
|
15920
15932
|
},
|
|
15921
15933
|
mutationType: values ? "update" : "create"
|
|
15922
15934
|
});
|
|
15923
|
-
|
|
15935
|
+
useEffect32(() => {
|
|
15924
15936
|
if (!values) return;
|
|
15925
15937
|
form.initialize(values);
|
|
15926
15938
|
}, [values]);
|
|
@@ -15939,7 +15951,7 @@ function Adapter_RoleForm({
|
|
|
15939
15951
|
import { Group as Group34, TextInput as TextInput9 } from "@mantine/core";
|
|
15940
15952
|
import { useDebouncedValue as useDebouncedValue3 } from "@mantine/hooks";
|
|
15941
15953
|
import { IconSearch as IconSearch5 } from "@tabler/icons-react";
|
|
15942
|
-
import { useEffect as
|
|
15954
|
+
import { useEffect as useEffect33, useState as useState25 } from "react";
|
|
15943
15955
|
|
|
15944
15956
|
// src/modules/User/usecase/Usecase_UserTable.tsx
|
|
15945
15957
|
import { useMemo as useMemo36 } from "react";
|
|
@@ -15999,10 +16011,10 @@ import { jsx as jsx212, jsxs as jsxs114 } from "react/jsx-runtime";
|
|
|
15999
16011
|
function Adapter_UserTable(_a) {
|
|
16000
16012
|
var rest = __objRest(_a, []);
|
|
16001
16013
|
var _a2;
|
|
16002
|
-
const paginationState =
|
|
16003
|
-
const [searchInput, setSearchInput] =
|
|
16014
|
+
const paginationState = useState25({ pageIndex: 0, pageSize: 50 });
|
|
16015
|
+
const [searchInput, setSearchInput] = useState25("");
|
|
16004
16016
|
const [debouncedSearch] = useDebouncedValue3(searchInput, 500);
|
|
16005
|
-
const [globalFilter, setGlobalFilter] =
|
|
16017
|
+
const [globalFilter, setGlobalFilter] = useState25("");
|
|
16006
16018
|
const adminAccountQuery = useMyReactQuery({
|
|
16007
16019
|
queryKey: ["users", paginationState[0], globalFilter],
|
|
16008
16020
|
axiosFn: () => {
|
|
@@ -16015,7 +16027,7 @@ function Adapter_UserTable(_a) {
|
|
|
16015
16027
|
});
|
|
16016
16028
|
}
|
|
16017
16029
|
});
|
|
16018
|
-
|
|
16030
|
+
useEffect33(() => {
|
|
16019
16031
|
setGlobalFilter(debouncedSearch);
|
|
16020
16032
|
paginationState[1]({ pageIndex: 0, pageSize: paginationState[0].pageSize });
|
|
16021
16033
|
}, [debouncedSearch]);
|
|
@@ -16054,7 +16066,7 @@ function Adapter_UserTable(_a) {
|
|
|
16054
16066
|
import { useDisclosure as useDisclosure16 } from "@mantine/hooks";
|
|
16055
16067
|
import { notifications as notifications2 } from "@mantine/notifications";
|
|
16056
16068
|
import { useQueryClient as useQueryClient4 } from "@tanstack/react-query";
|
|
16057
|
-
import { useEffect as
|
|
16069
|
+
import { useEffect as useEffect34, useState as useState26 } from "react";
|
|
16058
16070
|
import { jsx as jsx213 } from "react/jsx-runtime";
|
|
16059
16071
|
function Adapter_UserAddToRole({
|
|
16060
16072
|
roleId,
|
|
@@ -16062,8 +16074,8 @@ function Adapter_UserAddToRole({
|
|
|
16062
16074
|
}) {
|
|
16063
16075
|
const queryClient = useQueryClient4();
|
|
16064
16076
|
const disc = useDisclosure16();
|
|
16065
|
-
const userSelectedId =
|
|
16066
|
-
const [defaultSelectedIds, setDefaultSelectedIds] =
|
|
16077
|
+
const userSelectedId = useState26({});
|
|
16078
|
+
const [defaultSelectedIds, setDefaultSelectedIds] = useState26([]);
|
|
16067
16079
|
const selectedIds = Object.keys(userSelectedId[0]).map(Number);
|
|
16068
16080
|
const toAdd = selectedIds.filter((id) => !defaultSelectedIds.includes(id));
|
|
16069
16081
|
const toRemove = defaultSelectedIds.filter((id) => !selectedIds.includes(id));
|
|
@@ -16095,7 +16107,7 @@ function Adapter_UserAddToRole({
|
|
|
16095
16107
|
},
|
|
16096
16108
|
enableDefaultSuccess: false
|
|
16097
16109
|
});
|
|
16098
|
-
|
|
16110
|
+
useEffect34(() => {
|
|
16099
16111
|
if (userIds == null ? void 0 : userIds.length) {
|
|
16100
16112
|
const selected = userIds.reduce((acc, id) => {
|
|
16101
16113
|
acc[id] = true;
|
|
@@ -16150,7 +16162,7 @@ function Adapter_UserDeleteFromRole({
|
|
|
16150
16162
|
}
|
|
16151
16163
|
|
|
16152
16164
|
// src/modules/User/adapter/Adapter_UserTableByRole.tsx
|
|
16153
|
-
import { useEffect as
|
|
16165
|
+
import { useEffect as useEffect35 } from "react";
|
|
16154
16166
|
import { jsx as jsx215 } from "react/jsx-runtime";
|
|
16155
16167
|
function Adapter_UserTableByRole(_a) {
|
|
16156
16168
|
var _b = _a, { byRoleId } = _b, rest = __objRest(_b, ["byRoleId"]);
|
|
@@ -16161,7 +16173,7 @@ function Adapter_UserTableByRole(_a) {
|
|
|
16161
16173
|
return service_role.getUserByRole({ roleId: byRoleId });
|
|
16162
16174
|
}
|
|
16163
16175
|
});
|
|
16164
|
-
|
|
16176
|
+
useEffect35(() => {
|
|
16165
16177
|
if (adminAccountQuery.data && rest.onUserLoad) {
|
|
16166
16178
|
const users = adminAccountQuery.data.map(mapper_user.mapToDomain);
|
|
16167
16179
|
rest.onUserLoad(users);
|
|
@@ -16181,12 +16193,12 @@ function Adapter_UserTableByRole(_a) {
|
|
|
16181
16193
|
// src/modules-features/admin/core/roleManagement/features/Feat_CreateUpdateRole.tsx
|
|
16182
16194
|
import { Tabs as Tabs3 } from "@mantine/core";
|
|
16183
16195
|
import { useDisclosure as useDisclosure17 } from "@mantine/hooks";
|
|
16184
|
-
import { useState as
|
|
16196
|
+
import { useState as useState27 } from "react";
|
|
16185
16197
|
import { jsx as jsx216, jsxs as jsxs115 } from "react/jsx-runtime";
|
|
16186
16198
|
function Feat_CreateUpdateRole({ values }) {
|
|
16187
16199
|
const isUpdate = values != void 0;
|
|
16188
16200
|
const disc = useDisclosure17();
|
|
16189
|
-
const userIds =
|
|
16201
|
+
const userIds = useState27([]);
|
|
16190
16202
|
return /* @__PURE__ */ jsx216(
|
|
16191
16203
|
MyButtonModal,
|
|
16192
16204
|
{
|
|
@@ -16972,7 +16984,7 @@ function F_workflowProcessDocs_Create({
|
|
|
16972
16984
|
// src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Read.tsx
|
|
16973
16985
|
import { Accordion as Accordion6, Alert as Alert7, Blockquote as Blockquote6, Skeleton as Skeleton7 } from "@mantine/core";
|
|
16974
16986
|
import { IconBug as IconBug7 } from "@tabler/icons-react";
|
|
16975
|
-
import { useMemo as useMemo40 } from "react";
|
|
16987
|
+
import { useEffect as useEffect36, useMemo as useMemo40, useState as useState28 } from "react";
|
|
16976
16988
|
|
|
16977
16989
|
// src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs_Delete.tsx
|
|
16978
16990
|
import { jsx as jsx233 } from "react/jsx-runtime";
|
|
@@ -17077,11 +17089,21 @@ import { jsx as jsx235, jsxs as jsxs128 } from "react/jsx-runtime";
|
|
|
17077
17089
|
function F_workflowProcessDocs_Read({
|
|
17078
17090
|
WorkflowTypeId
|
|
17079
17091
|
}) {
|
|
17080
|
-
var _a, _b
|
|
17092
|
+
var _a, _b;
|
|
17093
|
+
const [openItems, setOpenItems] = useState28([]);
|
|
17081
17094
|
const documentAttributeQuery = useMyReactQuery({
|
|
17082
17095
|
queryKey: ["F_workflowProcessDocs_Read" + WorkflowTypeId],
|
|
17083
17096
|
axiosFn: () => service_documentAttribute.GetByType(WorkflowTypeId)
|
|
17084
17097
|
});
|
|
17098
|
+
useEffect36(() => {
|
|
17099
|
+
var _a2;
|
|
17100
|
+
if (documentAttributeQuery.data && documentAttributeQuery.data.length > 0) {
|
|
17101
|
+
const firstItemId = (_a2 = documentAttributeQuery.data[0].id) == null ? void 0 : _a2.toString();
|
|
17102
|
+
if (firstItemId && !openItems.includes(firstItemId)) {
|
|
17103
|
+
setOpenItems([firstItemId]);
|
|
17104
|
+
}
|
|
17105
|
+
}
|
|
17106
|
+
}, [documentAttributeQuery.data]);
|
|
17085
17107
|
if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0)
|
|
17086
17108
|
return /* @__PURE__ */ jsx235(Blockquote6, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
|
|
17087
17109
|
if (documentAttributeQuery.isError)
|
|
@@ -17096,18 +17118,14 @@ function F_workflowProcessDocs_Read({
|
|
|
17096
17118
|
backgroundColor: const_object_colors.mantineBackgroundTertiary
|
|
17097
17119
|
}
|
|
17098
17120
|
},
|
|
17099
|
-
|
|
17100
|
-
|
|
17101
|
-
var _a2;
|
|
17102
|
-
return (_a2 = item.id) == null ? void 0 : _a2.toString();
|
|
17103
|
-
}
|
|
17104
|
-
),
|
|
17121
|
+
value: openItems,
|
|
17122
|
+
onChange: setOpenItems,
|
|
17105
17123
|
multiple: true,
|
|
17106
|
-
children: (
|
|
17124
|
+
children: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item, idx) => /* @__PURE__ */ jsx235(
|
|
17107
17125
|
SubRead6,
|
|
17108
17126
|
{
|
|
17109
17127
|
name: item.name,
|
|
17110
|
-
|
|
17128
|
+
id: item.id,
|
|
17111
17129
|
WorkflowTypeId
|
|
17112
17130
|
},
|
|
17113
17131
|
idx
|
|
@@ -17117,12 +17135,12 @@ function F_workflowProcessDocs_Read({
|
|
|
17117
17135
|
}
|
|
17118
17136
|
function SubRead6({
|
|
17119
17137
|
name,
|
|
17120
|
-
|
|
17138
|
+
id,
|
|
17121
17139
|
WorkflowTypeId
|
|
17122
17140
|
}) {
|
|
17123
17141
|
const documentQuery = useMyReactQuery({
|
|
17124
|
-
queryKey: ["F_workflowProcessDocs_Read" +
|
|
17125
|
-
axiosFn: () => service_document.GetByDocumentAttribute(
|
|
17142
|
+
queryKey: ["F_workflowProcessDocs_Read" + id],
|
|
17143
|
+
axiosFn: () => service_document.GetByDocumentAttribute(id)
|
|
17126
17144
|
});
|
|
17127
17145
|
const columns = useMemo40(
|
|
17128
17146
|
() => [
|
|
@@ -17147,7 +17165,7 @@ function SubRead6({
|
|
|
17147
17165
|
],
|
|
17148
17166
|
[]
|
|
17149
17167
|
);
|
|
17150
|
-
return /* @__PURE__ */ jsxs128(Accordion6.Item, { value:
|
|
17168
|
+
return /* @__PURE__ */ jsx235(Skeleton7, { mt: 10, visible: documentQuery.isLoading, children: /* @__PURE__ */ jsxs128(Accordion6.Item, { value: id.toString(), children: [
|
|
17151
17169
|
/* @__PURE__ */ jsx235(Accordion6.Control, { children: name }),
|
|
17152
17170
|
/* @__PURE__ */ jsx235(Accordion6.Panel, { children: /* @__PURE__ */ jsx235(
|
|
17153
17171
|
MyDataTable,
|
|
@@ -17174,7 +17192,7 @@ function SubRead6({
|
|
|
17174
17192
|
] })
|
|
17175
17193
|
}
|
|
17176
17194
|
) })
|
|
17177
|
-
] });
|
|
17195
|
+
] }, id.toString()) });
|
|
17178
17196
|
}
|
|
17179
17197
|
|
|
17180
17198
|
// src/modules-features/admin/core/workflowProcessDocs/F_workflowProcessDocs.tsx
|
|
@@ -17209,7 +17227,7 @@ import { notifications as notifications3 } from "@mantine/notifications";
|
|
|
17209
17227
|
import { useMutation as useMutation4 } from "@tanstack/react-query";
|
|
17210
17228
|
import Link4 from "next/link.js";
|
|
17211
17229
|
import { useRouter as useRouter4 } from "next/navigation.js";
|
|
17212
|
-
import { useEffect as
|
|
17230
|
+
import { useEffect as useEffect37 } from "react";
|
|
17213
17231
|
|
|
17214
17232
|
// src/modules-features/authenticate/useStore_Authenticate.ts
|
|
17215
17233
|
var useStore5 = createGenericStore({
|
|
@@ -17250,7 +17268,7 @@ function Feat_Authenticate_Login({
|
|
|
17250
17268
|
password: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
|
|
17251
17269
|
}
|
|
17252
17270
|
});
|
|
17253
|
-
|
|
17271
|
+
useEffect37(() => {
|
|
17254
17272
|
var _a;
|
|
17255
17273
|
form.setValues({
|
|
17256
17274
|
username: ((_a = authenticateStore.state) == null ? void 0 : _a.username) || "",
|
|
@@ -17392,7 +17410,7 @@ function Feat_Authenticate_Logout({ redirectURL = "/auth/login" }) {
|
|
|
17392
17410
|
|
|
17393
17411
|
// src/modules-features/authenticate/Feat_Authenticate_SSOHandler.tsx
|
|
17394
17412
|
import { useSearchParams } from "next/navigation.js";
|
|
17395
|
-
import { useEffect as
|
|
17413
|
+
import { useEffect as useEffect38, useState as useState29 } from "react";
|
|
17396
17414
|
|
|
17397
17415
|
// src/modules-features/authenticate/useAuthenticateManager.ts
|
|
17398
17416
|
function useAuthenticateManager() {
|
|
@@ -17426,10 +17444,10 @@ function Feat_Authenticate_SSOHandler({
|
|
|
17426
17444
|
key: "baseURL"
|
|
17427
17445
|
});
|
|
17428
17446
|
const searchParams = useSearchParams();
|
|
17429
|
-
const [messError, setMessError] =
|
|
17447
|
+
const [messError, setMessError] = useState29("");
|
|
17430
17448
|
const studentCode = searchParams.get("code");
|
|
17431
17449
|
const token = searchParams.get("token");
|
|
17432
|
-
|
|
17450
|
+
useEffect38(() => {
|
|
17433
17451
|
localStorage.clear();
|
|
17434
17452
|
if (config4.isLoading == true) return;
|
|
17435
17453
|
if (studentCode && token) {
|
|
@@ -17475,12 +17493,12 @@ function Feat_Authenticate_SSOHandler({
|
|
|
17475
17493
|
|
|
17476
17494
|
// src/modules-features/authenticate/F_authenticate_SplashPage.tsx
|
|
17477
17495
|
import { useRouter as useRouter6 } from "next/navigation.js";
|
|
17478
|
-
import { useEffect as
|
|
17496
|
+
import { useEffect as useEffect39 } from "react";
|
|
17479
17497
|
import { jsx as jsx240 } from "react/jsx-runtime";
|
|
17480
17498
|
function F_authenticate_SplashPage() {
|
|
17481
17499
|
const router = useRouter6();
|
|
17482
17500
|
const authenticateStore = useStore_Authenticate();
|
|
17483
|
-
|
|
17501
|
+
useEffect39(() => {
|
|
17484
17502
|
if (authenticateStore.state.token == "") {
|
|
17485
17503
|
router.push("/authenticate/login");
|
|
17486
17504
|
return;
|
|
@@ -17814,9 +17832,9 @@ function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect, i
|
|
|
17814
17832
|
const permissionStore = useStore_Permission();
|
|
17815
17833
|
const appShellStore = useStore_BasicAppShell();
|
|
17816
17834
|
const { data: moduleData } = useQ_AQ_GetAQModule();
|
|
17817
|
-
const [faviconUrl, setFaviconUrl] =
|
|
17818
|
-
const [isLoadingPermission, setIsLoadingPermission] =
|
|
17819
|
-
const [isAccessible, setIsAccessible] =
|
|
17835
|
+
const [faviconUrl, setFaviconUrl] = useState30("");
|
|
17836
|
+
const [isLoadingPermission, setIsLoadingPermission] = useState30(true);
|
|
17837
|
+
const [isAccessible, setIsAccessible] = useState30(false);
|
|
17820
17838
|
const readablePageIds = useMemo41(
|
|
17821
17839
|
() => getReadablePageIdSet(permissionStore.state.permission || []),
|
|
17822
17840
|
[permissionStore.state.permission]
|
|
@@ -17841,7 +17859,7 @@ function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect, i
|
|
|
17841
17859
|
return result;
|
|
17842
17860
|
}, [filteredMenu]);
|
|
17843
17861
|
useFavicon(faviconUrl);
|
|
17844
|
-
|
|
17862
|
+
useEffect40(() => {
|
|
17845
17863
|
if (!moduleData) return;
|
|
17846
17864
|
const { code, name, faviconFileDetail, logoFileDetail } = moduleData;
|
|
17847
17865
|
appShellStore.setProperty("moduleCode", code);
|
|
@@ -17854,12 +17872,12 @@ function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect, i
|
|
|
17854
17872
|
return () => URL.revokeObjectURL(url);
|
|
17855
17873
|
}
|
|
17856
17874
|
}, [moduleData]);
|
|
17857
|
-
|
|
17875
|
+
useEffect40(() => {
|
|
17858
17876
|
if (moduleData == null ? void 0 : moduleData.name) {
|
|
17859
17877
|
document.title = moduleData.name;
|
|
17860
17878
|
}
|
|
17861
17879
|
}, [moduleData == null ? void 0 : moduleData.name]);
|
|
17862
|
-
|
|
17880
|
+
useEffect40(() => {
|
|
17863
17881
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
17864
17882
|
const currentItem = allChildItems.find((item) => pathname.includes(item.link));
|
|
17865
17883
|
const currentPermission = (_a = permissionStore.state.permission) == null ? void 0 : _a.find((item) => item.pageId == (currentItem == null ? void 0 : currentItem.pageId));
|
|
@@ -18128,7 +18146,7 @@ import { Badge as Badge6, Breadcrumbs, Center as Center12, Container as Containe
|
|
|
18128
18146
|
import { useClipboard, useDisclosure as useDisclosure20 } from "@mantine/hooks";
|
|
18129
18147
|
import { notifications as notifications4 } from "@mantine/notifications";
|
|
18130
18148
|
import { IconBrandParsinta } from "@tabler/icons-react";
|
|
18131
|
-
import { useEffect as
|
|
18149
|
+
import { useEffect as useEffect41 } from "react";
|
|
18132
18150
|
|
|
18133
18151
|
// src/components/Layouts/PageContent/utils.ts
|
|
18134
18152
|
function getFinalLinkVieo(url) {
|
|
@@ -18203,7 +18221,7 @@ function MyPageContent({
|
|
|
18203
18221
|
});
|
|
18204
18222
|
const videoDisc = useDisclosure20();
|
|
18205
18223
|
const finalTitle = title || basicAppShellStore.state.title;
|
|
18206
|
-
|
|
18224
|
+
useEffect41(() => {
|
|
18207
18225
|
basicAppShellStore.setProperty("fileGuildDetail", void 0);
|
|
18208
18226
|
if (!query.data) return;
|
|
18209
18227
|
basicAppShellStore.setProperty("fileGuildDetail", query.data);
|
|
@@ -18385,7 +18403,7 @@ function MySelectAPIGet(_a) {
|
|
|
18385
18403
|
// src/components/ScheduleX/MyScheduleX.tsx
|
|
18386
18404
|
import { useNextCalendarApp as useNextCalendarApp2, ScheduleXCalendar as ScheduleXCalendar2 } from "@schedule-x/react";
|
|
18387
18405
|
import { createEventsServicePlugin as createEventsServicePlugin2 } from "@schedule-x/events-service";
|
|
18388
|
-
import { useState as
|
|
18406
|
+
import { useState as useState31 } from "react";
|
|
18389
18407
|
import { createEventModalPlugin as createEventModalPlugin2 } from "@schedule-x/event-modal";
|
|
18390
18408
|
import { jsx as jsx251 } from "react/jsx-runtime";
|
|
18391
18409
|
function MyScheduleX({
|
|
@@ -18396,8 +18414,8 @@ function MyScheduleX({
|
|
|
18396
18414
|
startDayBoundaries = "05:00",
|
|
18397
18415
|
endDayBoundaries = "21:00"
|
|
18398
18416
|
}) {
|
|
18399
|
-
const eventsService =
|
|
18400
|
-
const eventModalPlugin =
|
|
18417
|
+
const eventsService = useState31(() => createEventsServicePlugin2())[0];
|
|
18418
|
+
const eventModalPlugin = useState31(() => createEventModalPlugin2())[0];
|
|
18401
18419
|
const calendar = useNextCalendarApp2({
|
|
18402
18420
|
locale: "vi-VN",
|
|
18403
18421
|
dayBoundaries: {
|
|
@@ -18444,7 +18462,7 @@ import {
|
|
|
18444
18462
|
} from "@mantine/core";
|
|
18445
18463
|
import { notifications as notifications5 } from "@mantine/notifications";
|
|
18446
18464
|
import { IconCircleFilled } from "@tabler/icons-react";
|
|
18447
|
-
import { useEffect as
|
|
18465
|
+
import { useEffect as useEffect42, useMemo as useMemo42, useState as useState32 } from "react";
|
|
18448
18466
|
import * as XLSX4 from "xlsx";
|
|
18449
18467
|
import { jsx as jsx253, jsxs as jsxs140 } from "react/jsx-runtime";
|
|
18450
18468
|
function FileImportConfigModal(_a) {
|
|
@@ -18457,12 +18475,12 @@ function FileImportConfigModal(_a) {
|
|
|
18457
18475
|
"onContinute",
|
|
18458
18476
|
"onExportStructure"
|
|
18459
18477
|
]);
|
|
18460
|
-
const [file, setFile] =
|
|
18461
|
-
const [rawData, setRawData] =
|
|
18462
|
-
const [parsedValueOnly, setParsedValueOnly] =
|
|
18463
|
-
const [titleIndex, setTitleIndex] =
|
|
18464
|
-
const [dataStartIndex, setDataStartIndex] =
|
|
18465
|
-
const fileInputError =
|
|
18478
|
+
const [file, setFile] = useState32(null);
|
|
18479
|
+
const [rawData, setRawData] = useState32([]);
|
|
18480
|
+
const [parsedValueOnly, setParsedValueOnly] = useState32([]);
|
|
18481
|
+
const [titleIndex, setTitleIndex] = useState32("2");
|
|
18482
|
+
const [dataStartIndex, setDataStartIndex] = useState32("3");
|
|
18483
|
+
const fileInputError = useState32("");
|
|
18466
18484
|
const parseExcel = async (file2) => {
|
|
18467
18485
|
const data2 = await file2.arrayBuffer();
|
|
18468
18486
|
const workbook = XLSX4.read(data2);
|
|
@@ -18480,7 +18498,7 @@ function FileImportConfigModal(_a) {
|
|
|
18480
18498
|
setDataStartIndex("3");
|
|
18481
18499
|
if (file2) parseExcel(file2);
|
|
18482
18500
|
};
|
|
18483
|
-
|
|
18501
|
+
useEffect42(() => {
|
|
18484
18502
|
const headerRowIndex = titleIndex ? parseInt(titleIndex) - 1 : null;
|
|
18485
18503
|
const dataRowIndex = dataStartIndex ? parseInt(dataStartIndex) - 1 : null;
|
|
18486
18504
|
if (!rawData || headerRowIndex === null || dataRowIndex === null || dataRowIndex >= rawData.length || headerRowIndex >= rawData.length) {
|
|
@@ -18516,7 +18534,7 @@ function FileImportConfigModal(_a) {
|
|
|
18516
18534
|
return obj;
|
|
18517
18535
|
});
|
|
18518
18536
|
}, [rawData]);
|
|
18519
|
-
|
|
18537
|
+
useEffect42(() => {
|
|
18520
18538
|
if (titleIndex && dataStartIndex && parseInt(dataStartIndex) <= parseInt(titleIndex)) {
|
|
18521
18539
|
setDataStartIndex((parseInt(titleIndex) + 1).toString());
|
|
18522
18540
|
}
|
|
@@ -18618,7 +18636,7 @@ function FileImportConfigModal(_a) {
|
|
|
18618
18636
|
|
|
18619
18637
|
// src/core/overlays/MyModalStackImport/MyModalStackImport.tsx
|
|
18620
18638
|
import { Modal as Modal18 } from "@mantine/core";
|
|
18621
|
-
import { useState as
|
|
18639
|
+
import { useState as useState33 } from "react";
|
|
18622
18640
|
import { jsx as jsx254, jsxs as jsxs141 } from "react/jsx-runtime";
|
|
18623
18641
|
function MyModalImport({
|
|
18624
18642
|
fieldDefinition = [],
|
|
@@ -18627,9 +18645,9 @@ function MyModalImport({
|
|
|
18627
18645
|
isLoading,
|
|
18628
18646
|
onExportStructure
|
|
18629
18647
|
}) {
|
|
18630
|
-
const value =
|
|
18631
|
-
const valueMapping =
|
|
18632
|
-
const [detailRows, setDetailRows] =
|
|
18648
|
+
const value = useState33([]);
|
|
18649
|
+
const valueMapping = useState33([]);
|
|
18650
|
+
const [detailRows, setDetailRows] = useState33([]);
|
|
18633
18651
|
return /* @__PURE__ */ jsxs141(Modal18.Stack, { children: [
|
|
18634
18652
|
/* @__PURE__ */ jsx254(
|
|
18635
18653
|
FileImportConfigModal,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
useHeaderMegaMenuStore,
|
|
71
71
|
useS_ButtonImport,
|
|
72
72
|
useStore_BasicAppShell
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-O6A7NWUM.mjs";
|
|
74
74
|
import "../chunk-3P5GXZPO.mjs";
|
|
75
75
|
import "../chunk-P2NAQKV5.mjs";
|
|
76
76
|
import "../chunk-WV4VHLZV.mjs";
|
|
@@ -80,8 +80,8 @@ import "../chunk-QSWIVDXC.mjs";
|
|
|
80
80
|
import "../chunk-J64W5V6F.mjs";
|
|
81
81
|
import "../chunk-K6S7R6LU.mjs";
|
|
82
82
|
import "../chunk-7L37V75O.mjs";
|
|
83
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
84
83
|
import "../chunk-WZ6PXGGC.mjs";
|
|
84
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
85
85
|
import "../chunk-JD6AELXS.mjs";
|
|
86
86
|
export {
|
|
87
87
|
AQButtonCreateByImportFile,
|
package/dist/core/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
MyStatsCard,
|
|
30
30
|
MyTextInput2 as MyTextInput,
|
|
31
31
|
MyWeeklySessionSchedulerPicker
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-O6A7NWUM.mjs";
|
|
33
33
|
import "../chunk-3P5GXZPO.mjs";
|
|
34
34
|
import "../chunk-P2NAQKV5.mjs";
|
|
35
35
|
import "../chunk-WV4VHLZV.mjs";
|
|
@@ -39,8 +39,8 @@ import "../chunk-QSWIVDXC.mjs";
|
|
|
39
39
|
import "../chunk-J64W5V6F.mjs";
|
|
40
40
|
import "../chunk-K6S7R6LU.mjs";
|
|
41
41
|
import "../chunk-7L37V75O.mjs";
|
|
42
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
43
42
|
import "../chunk-WZ6PXGGC.mjs";
|
|
43
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
44
44
|
import "../chunk-JD6AELXS.mjs";
|
|
45
45
|
export {
|
|
46
46
|
CustomAutocomplete,
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
MailTemplateDeleteButton,
|
|
114
114
|
useS_moduleConfig,
|
|
115
115
|
useStore_Authenticate
|
|
116
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-O6A7NWUM.mjs";
|
|
117
117
|
import "../chunk-3P5GXZPO.mjs";
|
|
118
118
|
import "../chunk-P2NAQKV5.mjs";
|
|
119
119
|
import "../chunk-WV4VHLZV.mjs";
|
|
@@ -123,8 +123,8 @@ import "../chunk-QSWIVDXC.mjs";
|
|
|
123
123
|
import "../chunk-J64W5V6F.mjs";
|
|
124
124
|
import "../chunk-K6S7R6LU.mjs";
|
|
125
125
|
import "../chunk-7L37V75O.mjs";
|
|
126
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
127
126
|
import "../chunk-WZ6PXGGC.mjs";
|
|
127
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
128
128
|
import "../chunk-JD6AELXS.mjs";
|
|
129
129
|
export {
|
|
130
130
|
AcademicYearsCreate,
|
package/dist/shared/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-RGUQWALX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
MySelect
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-O6A7NWUM.mjs";
|
|
8
8
|
import "../chunk-3P5GXZPO.mjs";
|
|
9
9
|
import "../chunk-P2NAQKV5.mjs";
|
|
10
10
|
import {
|
|
@@ -16,8 +16,8 @@ import "../chunk-QSWIVDXC.mjs";
|
|
|
16
16
|
import "../chunk-J64W5V6F.mjs";
|
|
17
17
|
import "../chunk-K6S7R6LU.mjs";
|
|
18
18
|
import "../chunk-7L37V75O.mjs";
|
|
19
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
20
19
|
import "../chunk-WZ6PXGGC.mjs";
|
|
20
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
21
21
|
import {
|
|
22
22
|
__objRest,
|
|
23
23
|
__spreadValues
|
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"types": "./dist/types/index.d.mts"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
"version": "0.1.
|
|
57
|
+
"version": "0.1.862",
|
|
58
58
|
"private": false,
|
|
59
59
|
"files": [
|
|
60
60
|
"dist"
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@schedule-x/react": "^2.28.0",
|
|
95
95
|
"@schedule-x/theme-default": "^2.28.0",
|
|
96
96
|
"@tabler/icons-react": "^3.26.0",
|
|
97
|
-
"@tanstack/react-query": "^5.
|
|
97
|
+
"@tanstack/react-query": "^5.85.9",
|
|
98
98
|
"@tanstack/react-query-devtools": "^5.69.0",
|
|
99
99
|
"@tiptap/extension-highlight": "^2.9.1",
|
|
100
100
|
"@tiptap/extension-image": "^2.9.1",
|