sevago-library 1.3.11 → 1.3.13
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/CHANGELOG.md +12 -0
- package/dist/index.cjs.js +20 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +20 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/src/common/const/apps.const.d.ts +14 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -561,6 +561,20 @@ const APP_OBJ = {
|
|
|
561
561
|
group: AppGroup.MANUFACTURING,
|
|
562
562
|
color: APP_GROUP_COLOR[AppGroup.MANUFACTURING]
|
|
563
563
|
},
|
|
564
|
+
WAREHOUSE_FINISHED_GOODS: {
|
|
565
|
+
path: {
|
|
566
|
+
local: "http://localhost:12017/finished-goods",
|
|
567
|
+
develop: "https://dev.admin.warehouse-material.sevago.local/finished-goods",
|
|
568
|
+
staging: "https://sta.admin.warehouse-material.sevago.local/finished-goods",
|
|
569
|
+
production: "https://admin.warehouse-material.sevago.local/finished-goods",
|
|
570
|
+
production_vps: ""
|
|
571
|
+
},
|
|
572
|
+
icon: ICONS.iconWarehouseMaterialCcdc,
|
|
573
|
+
content: "Kho thành phẩm",
|
|
574
|
+
title: "Sevago Finished Goods",
|
|
575
|
+
group: AppGroup.MANUFACTURING,
|
|
576
|
+
color: APP_GROUP_COLOR[AppGroup.MANUFACTURING]
|
|
577
|
+
},
|
|
564
578
|
MANUFACTURING_PLAN: {
|
|
565
579
|
path: {
|
|
566
580
|
local: "http://localhost:12019",
|
|
@@ -78271,9 +78285,12 @@ const SystemMonitorSidebarPart = ({
|
|
|
78271
78285
|
isLongSubDomain = false
|
|
78272
78286
|
}) => {
|
|
78273
78287
|
const [open2, setOpen] = useState(false);
|
|
78274
|
-
const app =
|
|
78275
|
-
|
|
78276
|
-
|
|
78288
|
+
const app = Object.values(APP_OBJ).find(
|
|
78289
|
+
(appInfo) => Object.values(appInfo.path).some((path) => {
|
|
78290
|
+
const normalizedPath = path == null ? void 0 : path.trim();
|
|
78291
|
+
return normalizedPath && window.location.href.startsWith(normalizedPath);
|
|
78292
|
+
})
|
|
78293
|
+
) ?? APP_OBJ.MASTER_DATA;
|
|
78277
78294
|
return /* @__PURE__ */ jsxs(StackRowAlignCenter, { children: [
|
|
78278
78295
|
/* @__PURE__ */ jsx(ImageElement, { url: ICONS.iconApps, onClick: () => setOpen(true), sizeType: "SQUARE" }),
|
|
78279
78296
|
/* @__PURE__ */ jsx(
|