datastake-daf 0.6.735 → 0.6.736
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/components/index.js
CHANGED
|
@@ -45122,10 +45122,14 @@ function SidenavMenu(_ref) {
|
|
|
45122
45122
|
});
|
|
45123
45123
|
});
|
|
45124
45124
|
if (ind >= 0) {
|
|
45125
|
-
|
|
45125
|
+
const item = moduleItems[ind];
|
|
45126
|
+
const key = item.key || "item-".concat(ind);
|
|
45127
|
+
setOpenKeys(p => [...p, key]);
|
|
45126
45128
|
}
|
|
45127
45129
|
if (labelInd >= 0) {
|
|
45128
|
-
|
|
45130
|
+
const item = moduleItems[labelInd];
|
|
45131
|
+
const key = item.key || "item-".concat(labelInd);
|
|
45132
|
+
setOpenKeys(p => [...p, key, label]);
|
|
45129
45133
|
}
|
|
45130
45134
|
}
|
|
45131
45135
|
}, [selectedKeys]);
|
|
@@ -45258,7 +45262,7 @@ function SidenavMenu(_ref) {
|
|
|
45258
45262
|
},
|
|
45259
45263
|
label: t(item.name)
|
|
45260
45264
|
} : {
|
|
45261
|
-
key: "item-".concat(i),
|
|
45265
|
+
key: item.key || "item-".concat(i),
|
|
45262
45266
|
icon: /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {
|
|
45263
45267
|
width: 15,
|
|
45264
45268
|
height: 15,
|
package/dist/layouts/index.js
CHANGED
|
@@ -4618,10 +4618,14 @@ function SidenavMenu({
|
|
|
4618
4618
|
});
|
|
4619
4619
|
});
|
|
4620
4620
|
if (ind >= 0) {
|
|
4621
|
-
|
|
4621
|
+
const item = moduleItems[ind];
|
|
4622
|
+
const key = item.key || `item-${ind}`;
|
|
4623
|
+
setOpenKeys(p => [...p, key]);
|
|
4622
4624
|
}
|
|
4623
4625
|
if (labelInd >= 0) {
|
|
4624
|
-
|
|
4626
|
+
const item = moduleItems[labelInd];
|
|
4627
|
+
const key = item.key || `item-${labelInd}`;
|
|
4628
|
+
setOpenKeys(p => [...p, key, label]);
|
|
4625
4629
|
}
|
|
4626
4630
|
}
|
|
4627
4631
|
}, [selectedKeys]);
|
|
@@ -4753,7 +4757,7 @@ function SidenavMenu({
|
|
|
4753
4757
|
},
|
|
4754
4758
|
label: t(item.name)
|
|
4755
4759
|
} : {
|
|
4756
|
-
key: `item-${i}`,
|
|
4760
|
+
key: item.key || `item-${i}`,
|
|
4757
4761
|
icon: /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {
|
|
4758
4762
|
width: 15,
|
|
4759
4763
|
height: 15,
|
package/package.json
CHANGED
|
@@ -223,11 +223,15 @@ export default function SidenavMenu({
|
|
|
223
223
|
});
|
|
224
224
|
|
|
225
225
|
if (ind >= 0) {
|
|
226
|
-
|
|
226
|
+
const item = moduleItems[ind];
|
|
227
|
+
const key = item.key || `item-${ind}`;
|
|
228
|
+
setOpenKeys((p) => [...p, key]);
|
|
227
229
|
}
|
|
228
230
|
|
|
229
231
|
if (labelInd >= 0) {
|
|
230
|
-
|
|
232
|
+
const item = moduleItems[labelInd];
|
|
233
|
+
const key = item.key || `item-${labelInd}`;
|
|
234
|
+
setOpenKeys((p) => [...p, key, label]);
|
|
231
235
|
}
|
|
232
236
|
}
|
|
233
237
|
}, [selectedKeys]);
|
|
@@ -384,7 +388,7 @@ export default function SidenavMenu({
|
|
|
384
388
|
label: t(item.name),
|
|
385
389
|
}
|
|
386
390
|
: {
|
|
387
|
-
key: `item-${i}`,
|
|
391
|
+
key: item.key || `item-${i}`,
|
|
388
392
|
icon: <CustomIcon width={15} height={15} name={item.icon} />,
|
|
389
393
|
disabled: item.isDisabled,
|
|
390
394
|
className: formatClassname([
|