complexqa_frontend_core 1.0.10 → 1.0.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complexqa_frontend_core",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -9,7 +9,6 @@
9
9
  "files": [
10
10
  "publish/"
11
11
  ],
12
-
13
12
  "scripts": {
14
13
  "test": "echo \"Error: no test specified\" && exit 1"
15
14
  },
@@ -27,6 +26,7 @@
27
26
  "@babel/plugin-proposal-class-properties": "^7.18.6",
28
27
  "@babel/plugin-proposal-optional-chaining": "^7.21.0",
29
28
  "@babel/plugin-transform-modules-commonjs": "^7.24.7",
29
+ "@babel/plugin-transform-runtime": "^7.27.4",
30
30
  "@babel/preset-env": "^7.24.7",
31
31
  "axios": "^1.7.2",
32
32
  "gulp": "^5.0.0",
@@ -40,11 +40,13 @@
40
40
  "gulp-uncomment": "^0.3.0",
41
41
  "i18next": "^23.11.5",
42
42
  "query-string": "^9.0.0",
43
+ "uglify-js": "^3.19.3",
43
44
  "underscore": "^1.13.6"
44
45
  },
45
46
  "devDependencies": {
46
47
  "babel": "^6.23.0",
47
48
  "babel-plugin-module-resolver-standalone": "^0.0.2",
49
+ "gulp-uglify": "^3.0.2",
48
50
  "requirejs-babel": "^0.0.9"
49
51
  }
50
52
  }
@@ -1,6 +1,6 @@
1
1
  import { clone_object, echo, is_array } from "../utils/utils";
2
2
  import axios from "axios";
3
- import * as qs from "query-string/base";
3
+ import * as qs from "query-string";
4
4
  import { ApiException } from "../exceptions/ApiException";
5
5
 
6
6
  /**
package/publish/index.js CHANGED
@@ -1,12 +1,13 @@
1
1
  import { serviceTranslate } from "./services/serviceTranslate";
2
2
 
3
+
3
4
  export { typeFilter } from './types/family_service/typeFilter.js';
4
5
  export { typeFOR } from './types/family_service/typeFOR.js';
5
6
  export { typeProject } from './types/family_elements/typeProject.js';
6
7
  export { typeTestCase } from './types/family_elements/typeTestCase.js';
7
8
  export { typeTestCaseStep } from './types/family_elements/typeTestCaseStep.js';
8
-
9
- export { Api } from './api'
9
+ export { UserService } from './services/UserService.js'
10
+ export { Api } from "./api";
10
11
 
11
12
 
12
13
  /**
@@ -77,7 +77,7 @@ export class familyGeneralElement
77
77
  get_available_enum_values(attribute)
78
78
  {
79
79
  let response = false;
80
- if (this.structure_scheme?.[ attribute ])
80
+ if (!this.structure_scheme?.[ attribute ])
81
81
  {
82
82
  // выбрасывать исключения?
83
83
  return false;