datastake-daf 0.6.734 → 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 +13 -9
- package/dist/hooks/index.js +19 -4658
- package/dist/layouts/index.js +13 -9
- package/dist/style/datastake/mapbox-gl.css +330 -0
- package/package.json +1 -1
- package/src/@daf/core/components/Sidenav/Menu.jsx +271 -267
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,
|
|
@@ -45357,6 +45361,12 @@ function SidenavMenu(_ref) {
|
|
|
45357
45361
|
className: "title-span",
|
|
45358
45362
|
children: t("core")
|
|
45359
45363
|
}), renderMenu(coreItems)]
|
|
45364
|
+
}) : null, operationsItems.length ? /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
45365
|
+
className: "sidemenu-cont",
|
|
45366
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("span", {
|
|
45367
|
+
className: "title-span",
|
|
45368
|
+
children: t("operations")
|
|
45369
|
+
}), renderMenu(operationsItems)]
|
|
45360
45370
|
}) : null, activityItems.length ? /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
45361
45371
|
className: "sidemenu-cont",
|
|
45362
45372
|
children: [/*#__PURE__*/jsxRuntime.jsx("span", {
|
|
@@ -45411,12 +45421,6 @@ function SidenavMenu(_ref) {
|
|
|
45411
45421
|
className: "title-span",
|
|
45412
45422
|
children: t("specifications")
|
|
45413
45423
|
}), renderMenu(specificationsItems)]
|
|
45414
|
-
}) : null, operationsItems.length ? /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
45415
|
-
className: "sidemenu-cont",
|
|
45416
|
-
children: [/*#__PURE__*/jsxRuntime.jsx("span", {
|
|
45417
|
-
className: "title-span",
|
|
45418
|
-
children: t("operations")
|
|
45419
|
-
}), renderMenu(operationsItems)]
|
|
45420
45424
|
}) : null, projectDataItems.length ? /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
45421
45425
|
className: "sidemenu-cont",
|
|
45422
45426
|
children: [/*#__PURE__*/jsxRuntime.jsx("span", {
|