aq-fe-framework 0.1.307 → 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.
@@ -6945,6 +6945,7 @@ function MyFileInput(_a) {
|
|
6945
6945
|
|
6946
6946
|
// src/components/Inputs/NumberInput/MyNumberInput.tsx
|
6947
6947
|
import { NumberInput as NumberInput2 } from "@mantine/core";
|
6948
|
+
import { IconNumbers } from "@tabler/icons-react";
|
6948
6949
|
import { jsx as jsx46 } from "react/jsx-runtime";
|
6949
6950
|
function MyNumberInput(_a) {
|
6950
6951
|
var _b = _a, { minValue, label } = _b, rest = __objRest(_b, ["minValue", "label"]);
|
@@ -6953,7 +6954,8 @@ function MyNumberInput(_a) {
|
|
6953
6954
|
__spreadValues({
|
6954
6955
|
label,
|
6955
6956
|
min: minValue ? minValue : 0,
|
6956
|
-
placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : ""
|
6957
|
+
placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "",
|
6958
|
+
rightSection: /* @__PURE__ */ jsx46(IconNumbers, {})
|
6957
6959
|
}, rest)
|
6958
6960
|
);
|
6959
6961
|
}
|
@@ -7364,10 +7366,12 @@ function RenderNavLinks({
|
|
7364
7366
|
}) {
|
7365
7367
|
const basicAppShellStore = useS_BasicAppShell();
|
7366
7368
|
const pathName = usePathname2();
|
7367
|
-
|
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(
|
7368
7372
|
NavLink,
|
7369
7373
|
{
|
7370
|
-
active:
|
7374
|
+
active: extractPathName === item.link,
|
7371
7375
|
component: Link3,
|
7372
7376
|
opened: basicAppShellStore.state.groupMenuOpenId.includes(item.label),
|
7373
7377
|
href: `/${pathName.split("/")[1]}/${item.link}` || "#",
|
@@ -7385,7 +7389,7 @@ function RenderNavLinks({
|
|
7385
7389
|
},
|
7386
7390
|
children: item.links && /* @__PURE__ */ jsx51(RenderNavLinks, { items: item.links })
|
7387
7391
|
},
|
7388
|
-
|
7392
|
+
index2
|
7389
7393
|
)) });
|
7390
7394
|
}
|
7391
7395
|
function childrenMenuToListEnumUsingPageIdAndName(children) {
|
@@ -30,7 +30,7 @@ import {
|
|
30
30
|
useS_BasicAppShell,
|
31
31
|
useS_authenticate,
|
32
32
|
utils_layout_getItemsWithoutLinks
|
33
|
-
} from "../chunk-
|
33
|
+
} from "../chunk-XUB2YHGX.mjs";
|
34
34
|
import "../chunk-5U2JSHSJ.mjs";
|
35
35
|
import {
|
36
36
|
const_object_documentTypes
|
@@ -38,13 +38,13 @@ import {
|
|
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,
|