awing-library 2.1.2-dev.571 → 2.1.2-dev.572

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.
@@ -9,7 +9,7 @@ var __webpack_modules__ = {
9
9
  "AWING/DataInput": function(module) {
10
10
  module.exports = __WEBPACK_EXTERNAL_MODULE__DataInput_index_js_c7933a4f__;
11
11
  },
12
- "../helper": function(module) {
12
+ "AWING/helper": function(module) {
13
13
  module.exports = __WEBPACK_EXTERNAL_MODULE__helper_js_663c9e82__;
14
14
  }
15
15
  };
@@ -92,9 +92,9 @@ jest.mock('@mui/material', ()=>({
92
92
  })
93
93
  }));
94
94
  const mockInputFactory = __webpack_require__("AWING/DataInput")["default"];
95
- const mockCalculateValue = __webpack_require__("../helper").calculateValue;
96
- const mockConvertFormulaToBinaryTree = __webpack_require__("../helper").convertFormulaToBinaryTree;
97
- const mockReplaceFieldsValue = __webpack_require__("../helper").replaceFieldsValue;
95
+ const mockCalculateValue = __webpack_require__("AWING/helper").calculateValue;
96
+ const mockConvertFormulaToBinaryTree = __webpack_require__("AWING/helper").convertFormulaToBinaryTree;
97
+ const mockReplaceFieldsValue = __webpack_require__("AWING/helper").replaceFieldsValue;
98
98
  describe('DataForm Component', ()=>{
99
99
  const mockFields = [
100
100
  {
@@ -14,7 +14,7 @@ const getListPermissionsByTabValue = (directory, workflowStateTab, objectTypeCod
14
14
  const { permissionViews: userPermissionViews } = getPermissionsByAuthenType(directoryTemp, !!(workflow?.id && workflow?.workflowStates?.length), Constants.AUTHEN_TYPE.USER, objectTypeCodeTab, workflowStateTab);
15
15
  const { permissionViews: groupPermissionViews } = getPermissionsByAuthenType(directoryTemp, !!(workflow?.id && workflow?.workflowStates?.length), Constants.AUTHEN_TYPE.GROUP, objectTypeCodeTab, workflowStateTab);
16
16
  const { permissionViews: rolePermissionViews } = getPermissionsByAuthenType(directoryTemp, !!(workflow?.id && workflow?.workflowStates?.length), Constants.AUTHEN_TYPE.ROLE, objectTypeCodeTab, workflowStateTab);
17
- return concat(userPermissionViews, groupPermissionViews, rolePermissionViews);
17
+ return concat(groupPermissionViews, rolePermissionViews, userPermissionViews);
18
18
  };
19
19
  const addMoreMatrixChilds = (matrixPermissions, workflowStates)=>{
20
20
  const result = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.2-dev.571",
3
+ "version": "2.1.2-dev.572",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {