aq-fe-framework 0.1.469 → 0.1.471
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.
@@ -7257,13 +7257,16 @@ function RenderNavLinks({
|
|
7257
7257
|
const pathName = usePathname2();
|
7258
7258
|
const index = pathName.split("/", 2).join("/").length;
|
7259
7259
|
const extractPathName = pathName.slice(index).replace("/", "");
|
7260
|
+
const segments = pathName.split("/").filter(Boolean);
|
7261
|
+
segments.pop();
|
7262
|
+
const basePath = "/" + segments.join("/");
|
7260
7263
|
return /* @__PURE__ */ jsx51(Fragment13, { children: items.map((item, index2) => /* @__PURE__ */ jsx51(
|
7261
7264
|
NavLink,
|
7262
7265
|
{
|
7263
7266
|
active: extractPathName === item.link,
|
7264
7267
|
component: Link3,
|
7265
7268
|
opened: basicAppShellStore.state.groupMenuOpenId.includes(item.label),
|
7266
|
-
href:
|
7269
|
+
href: `${basePath}/${item.link}` || "#",
|
7267
7270
|
label: /* @__PURE__ */ jsxs28(MyFlexRow, { justify: "space-between", children: [
|
7268
7271
|
item.label,
|
7269
7272
|
" ",
|
@@ -65,7 +65,7 @@ import {
|
|
65
65
|
useS_BasicAppShell,
|
66
66
|
useS_ButtonImport,
|
67
67
|
utils_layout_getItemsWithoutLinks
|
68
|
-
} from "../chunk-
|
68
|
+
} from "../chunk-R43BUIMD.mjs";
|
69
69
|
import "../chunk-U62R2QKJ.mjs";
|
70
70
|
import "../chunk-5U2JSHSJ.mjs";
|
71
71
|
import "../chunk-OMJJAHOC.mjs";
|
package/dist/core/index.mjs
CHANGED
@@ -16,9 +16,9 @@ import {
|
|
16
16
|
MyStatsCard,
|
17
17
|
MyTextInput,
|
18
18
|
MyWeeklySessionSchedulerPicker
|
19
|
-
} from "../chunk-
|
19
|
+
} from "../chunk-ET4SHUV5.mjs";
|
20
20
|
import "../chunk-GFEMKKFH.mjs";
|
21
|
-
import "../chunk-
|
21
|
+
import "../chunk-R43BUIMD.mjs";
|
22
22
|
import "../chunk-U62R2QKJ.mjs";
|
23
23
|
import "../chunk-5U2JSHSJ.mjs";
|
24
24
|
import "../chunk-OMJJAHOC.mjs";
|
@@ -15,7 +15,7 @@ import {
|
|
15
15
|
MyButton,
|
16
16
|
MyDataTableSelectOne,
|
17
17
|
MyTextInput as MyTextInput2
|
18
|
-
} from "../chunk-
|
18
|
+
} from "../chunk-ET4SHUV5.mjs";
|
19
19
|
import {
|
20
20
|
const_object_documentTypes
|
21
21
|
} from "../chunk-GFEMKKFH.mjs";
|
@@ -44,7 +44,7 @@ import {
|
|
44
44
|
groupToTwoLevels,
|
45
45
|
useS_authenticate,
|
46
46
|
utils_layout_getItemsWithoutLinks
|
47
|
-
} from "../chunk-
|
47
|
+
} from "../chunk-R43BUIMD.mjs";
|
48
48
|
import {
|
49
49
|
createGenericStore
|
50
50
|
} from "../chunk-U62R2QKJ.mjs";
|