@erpsquad/common 1.10.48 → 1.10.49
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-8mElUzct.esm.js → ERPUIProvider-Cl_IkhGu.esm.js} +3 -3
- package/dist/chunks/{ERPUIProvider-8mElUzct.esm.js.map → ERPUIProvider-Cl_IkhGu.esm.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-DUddcKKd.js → ERPUIProvider-Ct7W7gdB.js} +3 -3
- package/dist/chunks/{ERPUIProvider-DUddcKKd.js.map → ERPUIProvider-Ct7W7gdB.js.map} +1 -1
- package/dist/chunks/{android-12-switch-DZIVs27n.esm.js → android-12-switch-DmaKDjy9.esm.js} +7 -7
- package/dist/chunks/{android-12-switch-DZIVs27n.esm.js.map → android-12-switch-DmaKDjy9.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-BGI79wfm.js → android-12-switch-tTXttXiR.js} +7 -7
- package/dist/chunks/{android-12-switch-BGI79wfm.js.map → android-12-switch-tTXttXiR.js.map} +1 -1
- package/dist/chunks/{default-data-C-SQMwzL.js → default-data-Bo4DtFav.js} +4 -4
- package/dist/chunks/{default-data-C-SQMwzL.js.map → default-data-Bo4DtFav.js.map} +1 -1
- package/dist/chunks/{default-data-CwonfBNr.esm.js → default-data-hAAa_ozi.esm.js} +4 -4
- package/dist/chunks/{default-data-CwonfBNr.esm.js.map → default-data-hAAa_ozi.esm.js.map} +1 -1
- package/dist/chunks/{page-context-EoVDp9wP.js → page-context-B4zx0GZ5.js} +31 -20
- package/dist/chunks/page-context-B4zx0GZ5.js.map +1 -0
- package/dist/chunks/{page-context-Clevzuyw.esm.js → page-context-_PTfsRfz.esm.js} +31 -20
- package/dist/chunks/page-context-_PTfsRfz.esm.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-DJQKkyw5.esm.js → uom-field-wrapper-GedeGXeU.esm.js} +5 -5
- package/dist/chunks/{uom-field-wrapper-DJQKkyw5.esm.js.map → uom-field-wrapper-GedeGXeU.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-B4lf_fHb.js → uom-field-wrapper-OljClTZe.js} +5 -5
- package/dist/chunks/{uom-field-wrapper-B4lf_fHb.js.map → uom-field-wrapper-OljClTZe.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-B52DoZdU.esm.js → useAccountSetting-B9iSkd0R.esm.js} +2 -2
- package/dist/chunks/{useAccountSetting-B52DoZdU.esm.js.map → useAccountSetting-B9iSkd0R.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-DKYF0ha6.js → useAccountSetting-DLSuTSbZ.js} +2 -2
- package/dist/chunks/{useAccountSetting-DKYF0ha6.js.map → useAccountSetting-DLSuTSbZ.js.map} +1 -1
- package/dist/chunks/{useAdditionalDiscountAutoCalc-BXvF0pCQ.js → useAdditionalDiscountAutoCalc-BM8q5jHy.js} +2 -2
- package/dist/chunks/{useAdditionalDiscountAutoCalc-BXvF0pCQ.js.map → useAdditionalDiscountAutoCalc-BM8q5jHy.js.map} +1 -1
- package/dist/chunks/{useAdditionalDiscountAutoCalc-Br4A8SBr.esm.js → useAdditionalDiscountAutoCalc-CMSSqS9h.esm.js} +2 -2
- package/dist/chunks/{useAdditionalDiscountAutoCalc-Br4A8SBr.esm.js.map → useAdditionalDiscountAutoCalc-CMSSqS9h.esm.js.map} +1 -1
- package/dist/components/index.esm.js +4 -4
- package/dist/components/index.js +4 -4
- 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 +7 -7
- package/dist/index.js +7 -7
- package/dist/views/index.esm.js +3 -3
- package/dist/views/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunks/page-context-Clevzuyw.esm.js.map +0 -1
- package/dist/chunks/page-context-EoVDp9wP.js.map +0 -1
|
@@ -18,7 +18,7 @@ const dayjs = require("dayjs");
|
|
|
18
18
|
const common = require("./common-mZRiR8Bu.js");
|
|
19
19
|
const _ = require("lodash");
|
|
20
20
|
const iconsMaterial = require("@mui/icons-material");
|
|
21
|
-
const useAccountSetting = require("./useAccountSetting-
|
|
21
|
+
const useAccountSetting = require("./useAccountSetting-DLSuTSbZ.js");
|
|
22
22
|
const actionBar = require("./action-bar-DMv6sqDP.js");
|
|
23
23
|
const reactQuerybuilder = require("react-querybuilder");
|
|
24
24
|
const material$1 = require("@react-querybuilder/material");
|
|
@@ -31,7 +31,7 @@ const routePageMap = require("./route-page-map-Bvi3kBFC.js");
|
|
|
31
31
|
const reactRouterDom = require("react-router-dom");
|
|
32
32
|
const hooks = require("./hooks-DsdahmnZ.js");
|
|
33
33
|
const reactDropzone = require("react-dropzone");
|
|
34
|
-
const pageContext = require("./page-context-
|
|
34
|
+
const pageContext = require("./page-context-B4zx0GZ5.js");
|
|
35
35
|
const tick = require("./tick-wgixJNsN.js");
|
|
36
36
|
const reactRedux = require("react-redux");
|
|
37
37
|
const reducer = require("./reducer-o59TdR-2.js");
|
|
@@ -30506,7 +30506,6 @@ const DynamicDependentField = (props) => {
|
|
|
30506
30506
|
);
|
|
30507
30507
|
};
|
|
30508
30508
|
const DynamicDependentFieldContent = ({ control, watch, setValue, getFieldState: _getFieldState, formState: _formState, ...props }) => {
|
|
30509
|
-
console.log("🚀 ~ DynamicDependentFieldContent ~ props:", props);
|
|
30510
30509
|
const {
|
|
30511
30510
|
name,
|
|
30512
30511
|
filterFields = "company_id",
|
|
@@ -30515,7 +30514,6 @@ const DynamicDependentFieldContent = ({ control, watch, setValue, getFieldState:
|
|
|
30515
30514
|
enable_footer = true,
|
|
30516
30515
|
apiType
|
|
30517
30516
|
} = props;
|
|
30518
|
-
console.log("🚀 ~ DynamicDependentFieldContent ~ apiType:", apiType);
|
|
30519
30517
|
const entries = React$1.useMemo(
|
|
30520
30518
|
() => normaliseFilterFields(filterFields, filterKey),
|
|
30521
30519
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -39750,15 +39748,17 @@ const ActionBar = React$1.memo((props) => {
|
|
|
39750
39748
|
open: Boolean(rowAnchorEl),
|
|
39751
39749
|
onClose: handleActionsClose,
|
|
39752
39750
|
children: rowActionMenu == null ? void 0 : rowActionMenu.map((option) => {
|
|
39751
|
+
const effectiveModuleName = pageName || pageResourceName;
|
|
39753
39752
|
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
|
|
39754
39753
|
material.MenuItem,
|
|
39755
39754
|
{
|
|
39756
39755
|
onClick: () => {
|
|
39757
|
-
|
|
39756
|
+
if (!effectiveModuleName) return;
|
|
39757
|
+
option.handleAction(effectiveModuleName);
|
|
39758
39758
|
setRowAnchorEl(null);
|
|
39759
39759
|
},
|
|
39760
39760
|
sx: { alignItems: "center", gap: 0.5 },
|
|
39761
|
-
disabled: typeof option.disabled === "function" ? option.disabled() : Boolean(option.disabled),
|
|
39761
|
+
disabled: !effectiveModuleName || (typeof option.disabled === "function" ? option.disabled() : Boolean(option.disabled)),
|
|
39762
39762
|
children: [
|
|
39763
39763
|
option == null ? void 0 : option.icon,
|
|
39764
39764
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(useAuth.Typography, { type: "s4", color: "inherit", children: option.label })
|
|
@@ -41802,4 +41802,4 @@ exports.createPermissionConfig = createPermissionConfig;
|
|
|
41802
41802
|
exports.dynamicSelectAdd = dynamicSelectAdd;
|
|
41803
41803
|
exports.useThemeProps = useThemeProps;
|
|
41804
41804
|
exports.userRoles = userRoles;
|
|
41805
|
-
//# sourceMappingURL=android-12-switch-
|
|
41805
|
+
//# sourceMappingURL=android-12-switch-tTXttXiR.js.map
|