@erpsquad/common 1.8.103 → 1.8.105
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/_virtual/index/index.esm11.js +2 -4
- package/dist/_virtual/index/index.esm11.js.map +1 -1
- package/dist/_virtual/index/index.esm2.js +4 -2
- package/dist/_virtual/index/index.esm2.js.map +1 -1
- package/dist/_virtual/index/index11.js +1 -1
- package/dist/_virtual/index/index2.js +1 -1
- package/dist/api-client/api.inventory/api/index.esm.js +95 -30
- package/dist/api-client/api.inventory/api/index.esm.js.map +1 -1
- package/dist/api-client/api.inventory/api/index.js +1 -1
- package/dist/api-client/api.inventory/api/index.js.map +1 -1
- package/dist/api-client/api.inventory/api-types.d.ts +930 -425
- package/dist/api-client/api.inventory/api.d.ts +14 -10
- package/dist/api-client/api.rbac/api/index.esm2.js +218 -0
- package/dist/api-client/api.rbac/api/index.esm2.js.map +1 -1
- package/dist/api-client/api.rbac/api/index2.js +1 -1
- package/dist/api-client/api.rbac/api/index2.js.map +1 -1
- package/dist/components/filter/components/delete-group/index.esm.js +1 -0
- package/dist/components/filter/components/delete-group/index.esm.js.map +1 -1
- package/dist/components/filter/components/delete-group/index.js +1 -1
- package/dist/components/filter/components/delete-group/index.js.map +1 -1
- package/dist/components/form-control/form-parser/form-section/index.esm.js +5 -4
- package/dist/components/form-control/form-parser/form-section/index.esm.js.map +1 -1
- package/dist/components/form-control/form-parser/form-section/index.js +22 -22
- package/dist/components/form-control/form-parser/form-section/index.js.map +1 -1
- package/dist/components/listing/listing/index.esm.js +3 -2
- package/dist/components/listing/listing/index.esm.js.map +1 -1
- package/dist/components/listing/listing/index.js +5 -5
- package/dist/components/listing/listing/index.js.map +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js.map +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js.map +1 -1
- package/dist/hooks/apiHelper/index.esm.js.map +1 -1
- package/dist/hooks/apiHelper/index.js.map +1 -1
- package/dist/hooks/index.esm.js +4 -4
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useApi/index.esm.js +1 -0
- package/dist/hooks/useApi/index.esm.js.map +1 -1
- package/dist/hooks/useApi/index.js.map +1 -1
- package/dist/hooks/useDataFetcher/index.esm.js +2 -3
- package/dist/hooks/useDataFetcher/index.esm.js.map +1 -1
- package/dist/hooks/useDataFetcher/index.js +1 -1
- package/dist/hooks/useDataFetcher/index.js.map +1 -1
- package/dist/hooks/useDataFetcher.d.ts +2 -2
- package/dist/index.esm.js +69 -69
- package/dist/index.js +1 -1
- package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.esm.js +1 -1
- package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js +1 -1
- package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js.map +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js.map +1 -1
- package/dist/src/api-client/api.inventory/api.d.ts +14 -10
- package/dist/src/hooks/useDataFetcher.d.ts +2 -2
- package/dist/src/utils/api.d.ts +18 -8
- package/dist/style.css +63 -63
- package/dist/utils/api/index.esm.js +45 -22
- package/dist/utils/api/index.esm.js.map +1 -1
- package/dist/utils/api/index.js +1 -1
- package/dist/utils/api/index.js.map +1 -1
- package/dist/utils/api.d.ts +18 -8
- package/dist/utils/common-utility/index.esm.js +13 -7
- package/dist/utils/common-utility/index.esm.js.map +1 -1
- package/dist/utils/common-utility/index.js +5 -5
- package/dist/utils/common-utility/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __exports as createSvgIcon } from "../../../../../_virtual/createSvgIcon/index.esm.js";
|
|
2
|
-
import require$$0 from "../../../../../_virtual/index/index.
|
|
2
|
+
import require$$0 from "../../../../../_virtual/index/index.esm2.js";
|
|
3
3
|
var hasRequiredCreateSvgIcon;
|
|
4
4
|
function requireCreateSvgIcon() {
|
|
5
5
|
if (hasRequiredCreateSvgIcon) return createSvgIcon;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../../_virtual/createSvgIcon/index.js"),t=require("../../../../../_virtual/index/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../../_virtual/createSvgIcon/index.js"),t=require("../../../../../_virtual/index/index2.js");exports.__require=function(){return e||(e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=t.default}(r.__exports)),r.__exports};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/icons-material/utils/createSvgIcon.js"],"sourcesContent":["\"use strict\";\n'use client';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utils.createSvgIcon;\n }\n});\nvar _utils = require(\"@mui/material/utils\");"],"names":["Object","defineProperty","exports","value","enumerable","get","_utils","createSvgIcon","require$$0"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/icons-material/utils/createSvgIcon.js"],"sourcesContent":["\"use strict\";\n'use client';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utils.createSvgIcon;\n }\n});\nvar _utils = require(\"@mui/material/utils\");"],"names":["Object","defineProperty","exports","value","enumerable","get","_utils","createSvgIcon","require$$0"],"mappings":"mPAGAA,OAAOC,eAAcC,EAAU,aAAc,CAC3CC,OAAO,IAETH,OAAOC,eAAeC,EAAS,UAAW,CACxCE,YAAY,EACZC,IAAK,WACH,OAAOC,EAAOC,aAClB,IAEA,IAAID,EAASE,EAAAA","x_google_ignoreList":[0]}
|
|
@@ -52,13 +52,15 @@ export declare const getV1BinId: Api['getV1BinId'];
|
|
|
52
52
|
export declare const putV1BinId: Api['putV1BinId'];
|
|
53
53
|
export declare const deleteV1BinId: Api['deleteV1BinId'];
|
|
54
54
|
export declare const getV1BinGenerateExcel: Api['getV1BinGenerateExcel'];
|
|
55
|
-
export declare const
|
|
55
|
+
export declare const postV1UomTemplates: Api['postV1UomTemplates'];
|
|
56
|
+
export declare const getV1UomTemplates: Api['getV1UomTemplates'];
|
|
56
57
|
export declare const getV1Uom: Api['getV1Uom'];
|
|
57
|
-
export declare const
|
|
58
|
-
export declare const
|
|
59
|
-
export declare const
|
|
60
|
-
export declare const
|
|
58
|
+
export declare const getV1UomTemplatesId: Api['getV1UomTemplatesId'];
|
|
59
|
+
export declare const putV1UomTemplatesId: Api['putV1UomTemplatesId'];
|
|
60
|
+
export declare const deleteV1UomTemplatesId: Api['deleteV1UomTemplatesId'];
|
|
61
|
+
export declare const deleteV1UomUnitsId: Api['deleteV1UomUnitsId'];
|
|
61
62
|
export declare const getV1UomGenerateExcel: Api['getV1UomGenerateExcel'];
|
|
63
|
+
export declare const getV1UomUnitsIdCheckConversionFactor: Api['getV1UomUnitsIdCheckConversionFactor'];
|
|
62
64
|
export declare const postV1CategoryItems: Api['postV1CategoryItems'];
|
|
63
65
|
export declare const getV1CategoryItems: Api['getV1CategoryItems'];
|
|
64
66
|
export declare const getV1CategoryItemsId: Api['getV1CategoryItemsId'];
|
|
@@ -192,13 +194,15 @@ export default function build(url: string, options?: BuildOptions): {
|
|
|
192
194
|
putV1BinId: any;
|
|
193
195
|
deleteV1BinId: any;
|
|
194
196
|
getV1BinGenerateExcel: any;
|
|
195
|
-
|
|
197
|
+
postV1UomTemplates: any;
|
|
198
|
+
getV1UomTemplates: any;
|
|
196
199
|
getV1Uom: any;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
getV1UomTemplatesId: any;
|
|
201
|
+
putV1UomTemplatesId: any;
|
|
202
|
+
deleteV1UomTemplatesId: any;
|
|
203
|
+
deleteV1UomUnitsId: any;
|
|
201
204
|
getV1UomGenerateExcel: any;
|
|
205
|
+
getV1UomUnitsIdCheckConversionFactor: any;
|
|
202
206
|
postV1CategoryItems: any;
|
|
203
207
|
getV1CategoryItems: any;
|
|
204
208
|
getV1CategoryItemsId: any;
|
|
@@ -18,8 +18,8 @@ interface ActivePage {
|
|
|
18
18
|
accessorKey: string;
|
|
19
19
|
}[];
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
declare const useGenericDataFetcher: (cols?: ActivePage, pagination: {
|
|
22
22
|
skip: number;
|
|
23
23
|
limit: number;
|
|
24
24
|
}, fetchAction: (filters: FilterParams) => void, customeFilter?: any, customDeps?: any[], showCreatedBy?: boolean, customFields?: any) => () => void;
|
|
25
|
-
export default
|
|
25
|
+
export default useGenericDataFetcher;
|
package/dist/src/utils/api.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const getOptions: (apiFunc: (params: any) => Promise<any>, filter
|
|
|
8
8
|
export declare const apiConfigurations: {
|
|
9
9
|
company: {
|
|
10
10
|
name: string;
|
|
11
|
-
apiFunc: (req?: import('
|
|
11
|
+
apiFunc: (req?: import('api-client/api.rbac/api-types').GetV1CompanyRequest) => Promise<import('api-client/api.rbac/api-types').GetV1CompanyResponses>;
|
|
12
12
|
dataKey: string;
|
|
13
13
|
labelKey: string;
|
|
14
14
|
defaultColumn: string[];
|
|
@@ -98,7 +98,7 @@ export declare const apiConfigurations: {
|
|
|
98
98
|
};
|
|
99
99
|
salesperson: {
|
|
100
100
|
name: string;
|
|
101
|
-
apiFunc: (req?: import('
|
|
101
|
+
apiFunc: (req?: import('api-client/api.rbac/api-types').GetV1UserRequest) => Promise<import('api-client/api.rbac/api-types').GetV1UserResponses>;
|
|
102
102
|
dataKey: string;
|
|
103
103
|
defaultColumn: string[];
|
|
104
104
|
defaultFilter: {
|
|
@@ -118,7 +118,7 @@ export declare const apiConfigurations: {
|
|
|
118
118
|
};
|
|
119
119
|
department: {
|
|
120
120
|
name: string;
|
|
121
|
-
apiFunc: (req?: import('
|
|
121
|
+
apiFunc: (req?: import('api-client/api.rbac/api-types').GetV1UserDepartmentRequest) => Promise<import('api-client/api.rbac/api-types').GetV1UserDepartmentResponses>;
|
|
122
122
|
dataKey: string;
|
|
123
123
|
labelKey: string;
|
|
124
124
|
defaultColumn: string[];
|
|
@@ -152,7 +152,7 @@ export declare const apiConfigurations: {
|
|
|
152
152
|
labelKey: string;
|
|
153
153
|
defaultColumn: string[];
|
|
154
154
|
defaultFilter: {
|
|
155
|
-
"
|
|
155
|
+
"template_id.ne": any;
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
158
|
discountedItems: {
|
|
@@ -315,7 +315,7 @@ export declare const apiConfigurations: {
|
|
|
315
315
|
defaultColumn: string[];
|
|
316
316
|
defaultFilter: {
|
|
317
317
|
"is_active.eq": number;
|
|
318
|
-
"status.ne": string;
|
|
318
|
+
"&status.ne": string;
|
|
319
319
|
};
|
|
320
320
|
};
|
|
321
321
|
vehicleNumbers: {
|
|
@@ -388,7 +388,7 @@ export declare const apiConfigurations: {
|
|
|
388
388
|
};
|
|
389
389
|
countries: {
|
|
390
390
|
name: string;
|
|
391
|
-
apiFunc: (req?: import('
|
|
391
|
+
apiFunc: (req?: import('api-client/api.rbac/api-types').GetV1LocationsCountriesRequest) => Promise<import('api-client/api.rbac/api-types').GetV1LocationsCountriesResponses>;
|
|
392
392
|
dataKey: string;
|
|
393
393
|
labelKey: string;
|
|
394
394
|
defaultColumn: string[];
|
|
@@ -408,7 +408,7 @@ export declare const apiConfigurations: {
|
|
|
408
408
|
};
|
|
409
409
|
states: {
|
|
410
410
|
name: string;
|
|
411
|
-
apiFunc: (req?: import('
|
|
411
|
+
apiFunc: (req?: import('api-client/api.rbac/api-types').GetV1LocationsStatesRequest) => Promise<import('api-client/api.rbac/api-types').GetV1LocationsStatesResponses>;
|
|
412
412
|
dataKey: string;
|
|
413
413
|
labelKey: string;
|
|
414
414
|
defaultColumn: string[];
|
|
@@ -637,7 +637,7 @@ export declare const apiConfigurations: {
|
|
|
637
637
|
};
|
|
638
638
|
roles: {
|
|
639
639
|
name: string;
|
|
640
|
-
apiFunc: (req?: import('
|
|
640
|
+
apiFunc: (req?: import('api-client/api.rbac/api-types').GetV1RoleRequest) => Promise<import('api-client/api.rbac/api-types').GetV1RoleResponses>;
|
|
641
641
|
dataKey: string;
|
|
642
642
|
labelKey: string;
|
|
643
643
|
defaultColumn: string[];
|
|
@@ -649,6 +649,16 @@ export declare const apiConfigurations: {
|
|
|
649
649
|
labelKey: string;
|
|
650
650
|
defaultColumn: string[];
|
|
651
651
|
};
|
|
652
|
+
uom_templates: {
|
|
653
|
+
name: string;
|
|
654
|
+
apiFunc: (req?: import('../api-client/api.inventory/api-types').GetV1UomTemplatesRequest) => Promise<import('../api-client/api.inventory/api-types').GetV1UomTemplatesResponses>;
|
|
655
|
+
dataKey: string;
|
|
656
|
+
labelKey: string;
|
|
657
|
+
defaultColumn: string[];
|
|
658
|
+
defaultFilter: {
|
|
659
|
+
"is_active.eq": number;
|
|
660
|
+
};
|
|
661
|
+
};
|
|
652
662
|
workflow_reference: {
|
|
653
663
|
name: string;
|
|
654
664
|
apiFunc: (req?: import('api-client/api.workflow-automation/api-types').GetV1WorkflowReferencesRequest) => Promise<import('api-client/api.workflow-automation/api-types').GetV1WorkflowReferencesResponses>;
|