@erpsquad/common 1.10.67 → 1.10.69
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/chunks/{ERPUIProvider-qVNxuYUq.js → ERPUIProvider-BBvJqdk0.js} +4 -4
- package/dist/chunks/{ERPUIProvider-qVNxuYUq.js.map → ERPUIProvider-BBvJqdk0.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-B25RO0oy.esm.js → ERPUIProvider-BMoED-_a.esm.js} +4 -4
- package/dist/chunks/{ERPUIProvider-B25RO0oy.esm.js.map → ERPUIProvider-BMoED-_a.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-CRhzpgwy.esm.js → android-12-switch-Bpd55JY0.esm.js} +6 -6
- package/dist/chunks/{android-12-switch-CRhzpgwy.esm.js.map → android-12-switch-Bpd55JY0.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-CPchopCJ.js → android-12-switch-DLqw-2QH.js} +6 -6
- package/dist/chunks/{android-12-switch-CPchopCJ.js.map → android-12-switch-DLqw-2QH.js.map} +1 -1
- package/dist/chunks/{appbar-CLVklo7i.js → appbar-Ct66TI2O.js} +5 -3
- package/dist/chunks/appbar-Ct66TI2O.js.map +1 -0
- package/dist/chunks/{appbar-JugRLTTB.esm.js → appbar-DizfOJ12.esm.js} +5 -3
- package/dist/chunks/appbar-DizfOJ12.esm.js.map +1 -0
- package/dist/chunks/{checkbox-aq3lcSNh.esm.js → checkbox-BOvsRwQ9.esm.js} +3 -3
- package/dist/chunks/{checkbox-aq3lcSNh.esm.js.map → checkbox-BOvsRwQ9.esm.js.map} +1 -1
- package/dist/chunks/{checkbox-BtV5gEk1.js → checkbox-C1Nl_u4X.js} +3 -3
- package/dist/chunks/{checkbox-BtV5gEk1.js.map → checkbox-C1Nl_u4X.js.map} +1 -1
- package/dist/chunks/{default-data-CttLHjij.esm.js → default-data-BF8X9GTp.esm.js} +6 -6
- package/dist/chunks/{default-data-CttLHjij.esm.js.map → default-data-BF8X9GTp.esm.js.map} +1 -1
- package/dist/chunks/{default-data-BV11jE2f.js → default-data-DUrB8RDB.js} +6 -6
- package/dist/chunks/{default-data-BV11jE2f.js.map → default-data-DUrB8RDB.js.map} +1 -1
- package/dist/chunks/{fullScreen-TJdVNF4N.esm.js → fullScreen-Bwl1np_l.esm.js} +2 -2
- package/dist/chunks/{fullScreen-TJdVNF4N.esm.js.map → fullScreen-Bwl1np_l.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-DrLlR1HI.js → fullScreen-lYNHSXPF.js} +2 -2
- package/dist/chunks/{fullScreen-DrLlR1HI.js.map → fullScreen-lYNHSXPF.js.map} +1 -1
- package/dist/chunks/{modules-DmtCo0T_.esm.js → modules-Ccdj_HRQ.esm.js} +2 -2
- package/dist/chunks/{modules-DmtCo0T_.esm.js.map → modules-Ccdj_HRQ.esm.js.map} +1 -1
- package/dist/chunks/{modules--vSuX1U9.js → modules-DJhby8T2.js} +2 -2
- package/dist/chunks/{modules--vSuX1U9.js.map → modules-DJhby8T2.js.map} +1 -1
- package/dist/chunks/{page-context-Da49_1zP.esm.js → page-context-CJRecHow.esm.js} +2 -2
- package/dist/chunks/{page-context-Da49_1zP.esm.js.map → page-context-CJRecHow.esm.js.map} +1 -1
- package/dist/chunks/{page-context-DPP1VkDf.js → page-context-D4Qw3Je1.js} +2 -2
- package/dist/chunks/{page-context-DPP1VkDf.js.map → page-context-D4Qw3Je1.js.map} +1 -1
- package/dist/chunks/{route-page-map-Czwp-hfI.js → route-page-map-BCwrfXBW.js} +7 -1
- package/dist/chunks/route-page-map-BCwrfXBW.js.map +1 -0
- package/dist/chunks/{route-page-map-BRDtQTgL.esm.js → route-page-map-DFp2xIar.esm.js} +7 -1
- package/dist/chunks/route-page-map-DFp2xIar.esm.js.map +1 -0
- package/dist/chunks/{sidebar-Cc9-z3ES.esm.js → sidebar-BPe1bebj.esm.js} +2 -2
- package/dist/chunks/{sidebar-Cc9-z3ES.esm.js.map → sidebar-BPe1bebj.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-BOpyMIRe.js → sidebar-C5xpoEPn.js} +2 -2
- package/dist/chunks/{sidebar-BOpyMIRe.js.map → sidebar-C5xpoEPn.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-C6RJT1PK.js → sidebarScreen-BAc8fyfW.js} +3 -3
- package/dist/chunks/{sidebarScreen-C6RJT1PK.js.map → sidebarScreen-BAc8fyfW.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-kbpZZe_u.esm.js → sidebarScreen-ByhmE6gm.esm.js} +3 -3
- package/dist/chunks/{sidebarScreen-kbpZZe_u.esm.js.map → sidebarScreen-ByhmE6gm.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-CvW-ILPC.esm.js → uom-field-wrapper-BW79Zys6.esm.js} +9 -9
- package/dist/chunks/{uom-field-wrapper-CvW-ILPC.esm.js.map → uom-field-wrapper-BW79Zys6.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-QpAULeef.js → uom-field-wrapper-DjQgkQGz.js} +9 -9
- package/dist/chunks/{uom-field-wrapper-QpAULeef.js.map → uom-field-wrapper-DjQgkQGz.js.map} +1 -1
- package/dist/chunks/{useAddressContact-BstaYk7Q.esm.js → useAddressContact-CsixpB72.esm.js} +3 -3
- package/dist/chunks/{useAddressContact-BstaYk7Q.esm.js.map → useAddressContact-CsixpB72.esm.js.map} +1 -1
- package/dist/chunks/{useAddressContact-NganFSy-.js → useAddressContact-Dx7LAs5A.js} +3 -3
- package/dist/chunks/{useAddressContact-NganFSy-.js.map → useAddressContact-Dx7LAs5A.js.map} +1 -1
- package/dist/components/index.esm.js +7 -7
- package/dist/components/index.js +7 -7
- package/dist/constants/index.esm.js +2 -2
- package/dist/constants/index.js +2 -2
- package/dist/contexts/index.esm.js +1 -1
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/index.esm.js +3 -3
- package/dist/hooks/index.js +3 -3
- package/dist/index.esm.js +13 -13
- package/dist/index.js +13 -13
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +2 -2
- package/dist/views/index.esm.js +7 -7
- package/dist/views/index.js +6 -6
- package/package.json +1 -1
- package/dist/chunks/appbar-CLVklo7i.js.map +0 -1
- package/dist/chunks/appbar-JugRLTTB.esm.js.map +0 -1
- package/dist/chunks/route-page-map-BRDtQTgL.esm.js.map +0 -1
- package/dist/chunks/route-page-map-Czwp-hfI.js.map +0 -1
|
@@ -15,10 +15,10 @@ import { CircularProgress, styled as styled$1, Button as Button$1, Dialog, TextF
|
|
|
15
15
|
import { a as clsx, e as extendSxProp, g as generateUtilityClasses, b as composeClasses, s as styled$2, f as reactIsExports, r as rootShouldForwardProp, N as Notification } from "./notification-_WEc_EZI.esm.js";
|
|
16
16
|
import { useNavigate, useLocation, matchRoutes, Link } from "react-router-dom";
|
|
17
17
|
import { useTranslation } from "react-i18next";
|
|
18
|
-
import { m as modules } from "./modules-
|
|
18
|
+
import { m as modules } from "./modules-Ccdj_HRQ.esm.js";
|
|
19
19
|
import { i as images } from "./images-DvZ6-RV8.esm.js";
|
|
20
20
|
import { f as PathnameRental, B as gateEntriesCrudPaths, z as equipmentsCrudPaths, a2 as productionPlanPaths, H as jobCardsCrudPaths, l as buildOrderCrudPaths, h as billOfMaterialCrudPaths, aH as workOrderCrudPaths, c as PathnameInventory, e as PathnamePurchase, b as PathnameCrm, a as PathnameAccounting, P as Pathname, aJ as PathnameGenerator, aL as PathnameGenerator$1, aK as PathnameGenerator$2, aP as ROUTES, aM as PathnameGenerator$3, d as PathnameManufacturing, aN as PathnameGenerator$4, aO as PathnameGenerator$5 } from "./pathname.rental-Dvo5a732.esm.js";
|
|
21
|
-
import { p as breadcrumbSegmentLabelMap } from "./route-page-map-
|
|
21
|
+
import { p as breadcrumbSegmentLabelMap } from "./route-page-map-DFp2xIar.esm.js";
|
|
22
22
|
import { u as useTheme$1 } from "./CssBaseline-DD305XvW.esm.js";
|
|
23
23
|
import * as ReactDOM from "react-dom";
|
|
24
24
|
import ReactDOM__default from "react-dom";
|
|
@@ -936,6 +936,8 @@ const ChatBot = () => {
|
|
|
936
936
|
var _a;
|
|
937
937
|
const isAiEnabled = ((_a = getApiConfigSafe()) == null ? void 0 : _a.aiFeatureEnabled) === "true";
|
|
938
938
|
if (!isAiEnabled) return null;
|
|
939
|
+
const uData = JSON.parse(localStorage.getItem("_u_data") || "{}");
|
|
940
|
+
if (uData.role_type !== "Admin") return null;
|
|
939
941
|
const { user } = useAuth();
|
|
940
942
|
const [isOpen, setIsOpen] = useState(false);
|
|
941
943
|
const [messages, setMessages] = useState([]);
|
|
@@ -9488,4 +9490,4 @@ export {
|
|
|
9488
9490
|
default_1$5 as y,
|
|
9489
9491
|
List as z
|
|
9490
9492
|
};
|
|
9491
|
-
//# sourceMappingURL=appbar-
|
|
9493
|
+
//# sourceMappingURL=appbar-DizfOJ12.esm.js.map
|