aq-fe-framework 0.1.308 → 0.1.309
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.
@@ -7366,10 +7366,12 @@ function RenderNavLinks({
|
|
7366
7366
|
}) {
|
7367
7367
|
const basicAppShellStore = useS_BasicAppShell();
|
7368
7368
|
const pathName = usePathname2();
|
7369
|
-
|
7369
|
+
const index = pathName.split("/", 2).join("/").length;
|
7370
|
+
const extractPathName = pathName.slice(index).replace("/", "");
|
7371
|
+
return /* @__PURE__ */ jsx51(Fragment13, { children: items.map((item, index2) => /* @__PURE__ */ jsx51(
|
7370
7372
|
NavLink,
|
7371
7373
|
{
|
7372
|
-
active:
|
7374
|
+
active: extractPathName === item.link,
|
7373
7375
|
component: Link3,
|
7374
7376
|
opened: basicAppShellStore.state.groupMenuOpenId.includes(item.label),
|
7375
7377
|
href: `/${pathName.split("/")[1]}/${item.link}` || "#",
|
@@ -7387,7 +7389,7 @@ function RenderNavLinks({
|
|
7387
7389
|
},
|
7388
7390
|
children: item.links && /* @__PURE__ */ jsx51(RenderNavLinks, { items: item.links })
|
7389
7391
|
},
|
7390
|
-
|
7392
|
+
index2
|
7391
7393
|
)) });
|
7392
7394
|
}
|
7393
7395
|
function childrenMenuToListEnumUsingPageIdAndName(children) {
|
@@ -6,9 +6,6 @@ import {
|
|
6
6
|
utils_converter_enumToSelectOptions,
|
7
7
|
utils_file_fileToAQDocumentType
|
8
8
|
} from "../chunk-NRFQDAYS.mjs";
|
9
|
-
import {
|
10
|
-
const_object_documentTypes
|
11
|
-
} from "../chunk-GFEMKKFH.mjs";
|
12
9
|
import {
|
13
10
|
F_authenticate_Logout,
|
14
11
|
MyActionIconDelete,
|
@@ -33,18 +30,21 @@ import {
|
|
33
30
|
useS_BasicAppShell,
|
34
31
|
useS_authenticate,
|
35
32
|
utils_layout_getItemsWithoutLinks
|
36
|
-
} from "../chunk-
|
33
|
+
} from "../chunk-XUB2YHGX.mjs";
|
37
34
|
import "../chunk-5U2JSHSJ.mjs";
|
35
|
+
import {
|
36
|
+
const_object_documentTypes
|
37
|
+
} from "../chunk-GFEMKKFH.mjs";
|
38
38
|
import {
|
39
39
|
const_object_colors
|
40
40
|
} from "../chunk-NWBLJ3W3.mjs";
|
41
|
-
import {
|
42
|
-
enum_emailConfigModule
|
43
|
-
} from "../chunk-VH4ZAD6M.mjs";
|
44
41
|
import {
|
45
42
|
MyFlexColumn,
|
46
43
|
MyFlexRow
|
47
44
|
} from "../chunk-DRLKXVYU.mjs";
|
45
|
+
import {
|
46
|
+
enum_emailConfigModule
|
47
|
+
} from "../chunk-VH4ZAD6M.mjs";
|
48
48
|
import "../chunk-K6S7R6LU.mjs";
|
49
49
|
import {
|
50
50
|
baseAxios_default,
|