complexqa_frontend_core 2.0.1 → 2.1.0

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": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -42,7 +42,7 @@ export class typeAutotestResult extends familyTestAutomation
42
42
 
43
43
  create_scheme = [];
44
44
 
45
- /** @type {Record<string, string[]>} */
45
+ /** @type {Record<string, string[]>} */
46
46
  available_enum_values = {
47
47
  autotest_result_status: [ 'PENDING', 'PASSED', 'FAILED', 'SKIPPED', 'ERROR' ],
48
48
  };
@@ -50,11 +50,11 @@ export class typeAutotestResult extends familyTestAutomation
50
50
  enum_value_translate_matrix = typeAutotestResult_i18n.enum_value_translate_matrix;
51
51
  attribute_name_translate_matrix = typeAutotestResult_i18n.attribute_name_translate_matrix;
52
52
 
53
- /** @type {Record<string, string>} */
53
+ /** @type {Record<string, string>} */
54
54
  status_color = {
55
55
  PENDING: '#C4B040',
56
56
  PASSED : '#009688',
57
- FAILED : '#E53935',
57
+ FAILED : '#E66565',
58
58
  SKIPPED: '#90A4AE',
59
59
  ERROR : '#6A1B9A',
60
60
  };
@@ -77,7 +77,7 @@ export class typeAutotestRun extends familyTestAutomation
77
77
  'consecutive_error_stop',
78
78
  ];
79
79
 
80
- /** @type {Record<string, string[]>} */
80
+ /** @type {Record<string, string[]>} */
81
81
  available_enum_values = {
82
82
  autotest_run_status: [ 'PENDING', 'IN_PROGRESS', 'COMPLETED', 'CLOSED', 'CANCELLED' ],
83
83
  };
@@ -85,10 +85,10 @@ export class typeAutotestRun extends familyTestAutomation
85
85
  enum_value_translate_matrix = typeAutotestRun_i18n.enum_value_translate_matrix;
86
86
  attribute_name_translate_matrix = typeAutotestRun_i18n.attribute_name_translate_matrix;
87
87
 
88
- /** @type {Record<string, string>} */
88
+ /** @type {Record<string, string>} */
89
89
  status_color = {
90
90
  PENDING : '#C4B040',
91
- IN_PROGRESS: '#FD9A4F',
91
+ IN_PROGRESS: '#546E7A',
92
92
  COMPLETED : '#009688',
93
93
  CLOSED : '#E0E0E0',
94
94
  CANCELLED : '#9E9E9E',
@@ -1,7 +1,7 @@
1
1
  import { familyGeneralElement } from "../core/0_familyGeneralElement.js";
2
2
  import { echo, is_object } from "../../utils/utils.js";
3
3
  import { typeTeamDomain_i18n } from "../element_translate/typeTeamDomain.i18n.js";
4
- import _ from 'underscore';
4
+ import _ from 'underscore';
5
5
 
6
6
 
7
7
  /**
@@ -60,7 +60,7 @@ export class typeTeamDomain extends familyGeneralElement
60
60
  'verification_method',
61
61
  ];
62
62
 
63
- /** @type {Record<string, string[]>} */
63
+ /** @type {Record<string, string[]>} */
64
64
  available_enum_values = {
65
65
  verification_method: [ 'FILE', 'DNS_TXT' ],
66
66
  domain_status : [ 'PENDING', 'VERIFIED', 'FAILED', 'REVOKED' ],
@@ -69,9 +69,9 @@ export class typeTeamDomain extends familyGeneralElement
69
69
  enum_value_translate_matrix = typeTeamDomain_i18n.enum_value_translate_matrix;
70
70
  attribute_name_translate_matrix = typeTeamDomain_i18n.attribute_name_translate_matrix;
71
71
 
72
- /** @type {Record<string, string>} */
72
+ /** @type {Record<string, string>} */
73
73
  status_color = {
74
- PENDING : '#4D92FA',
74
+ PENDING : '#C4B040',
75
75
  VERIFIED: '#009688',
76
76
  FAILED : '#E66565',
77
77
  REVOKED : '#9E9E9E',
@@ -1,7 +1,7 @@
1
1
  import { echo, is_object } from "../../utils/utils.js";
2
2
  import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
3
3
  import { typeTestCase_i18n } from "../element_translate/typeTestCase.i18n.js";
4
- import _ from 'underscore';
4
+ import _ from 'underscore';
5
5
 
6
6
 
7
7
  /**
@@ -58,7 +58,7 @@ export class typeTestCase extends familyTestDocumentation
58
58
  'project_id'
59
59
  ];
60
60
 
61
- /** @type {Record<string, string[]>} */
61
+ /** @type {Record<string, string[]>} */
62
62
  available_enum_values = {
63
63
  test_case_complexity: [ 'LOW', 'NORMAL', 'HIGH' ],
64
64
  test_case_importance: [ 'LOW', 'NORMAL', 'HIGH' ],
@@ -67,10 +67,10 @@ export class typeTestCase extends familyTestDocumentation
67
67
 
68
68
  enum_value_translate_matrix = typeTestCase_i18n.enum_value_translate_matrix;
69
69
 
70
- /** @type {Record<string, string>} */
70
+ /** @type {Record<string, string>} */
71
71
  status_color = {
72
72
  PENDING : '#C4B040',
73
- IN_PROGRESS: '#FD9A4F',
73
+ IN_PROGRESS: '#546E7A',
74
74
  COMPLETED : '#009688',
75
75
  CLOSED : '#E0E0E0',
76
76
  };
@@ -1,7 +1,7 @@
1
1
  import { echo, is_object } from "../../utils/utils.js";
2
2
  import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
3
3
  import { typeTestRun_i18n } from "../element_translate/typeTestRun.i18n.js";
4
- import _ from 'underscore';
4
+ import _ from 'underscore';
5
5
 
6
6
  /**
7
7
  * Коллекция тестов для работы, она же parent для typeTestRunResult
@@ -52,7 +52,7 @@ export class typeTestRun extends familyTestDocumentation
52
52
  'test_case_ids'
53
53
  ];
54
54
 
55
- /** @type {Record<string, string[]>} */
55
+ /** @type {Record<string, string[]>} */
56
56
  available_enum_values = {
57
57
  test_run_status: [ 'PENDING', 'IN_PROGRESS', 'COMPLETED', 'CLOSED' ],
58
58
  };
@@ -62,10 +62,10 @@ export class typeTestRun extends familyTestDocumentation
62
62
 
63
63
  attribute_name_translate_matrix = typeTestRun_i18n.attribute_name_translate_matrix;
64
64
 
65
- /** @type {Record<string, string>} */
65
+ /** @type {Record<string, string>} */
66
66
  status_color = {
67
67
  PENDING : '#C4B040',
68
- IN_PROGRESS: '#FD9A4F',
68
+ IN_PROGRESS: '#546E7A',
69
69
  COMPLETED : '#009688',
70
70
  CLOSED : '#E0E0E0',
71
71
  };
@@ -1,7 +1,7 @@
1
1
  import { is_object } from "../../utils/utils.js";
2
2
  import { familyTestDocumentation } from "../core/1_familyTestDocumentation.js";
3
3
  import { typeTestRunResult_i18n } from "../element_translate/typeTestRunResult.i18n.js";
4
- import _ from 'underscore';
4
+ import _ from 'underscore';
5
5
 
6
6
  /**
7
7
  * 1 результат по каждому тест кейсу
@@ -46,7 +46,7 @@ export class typeTestRunResult extends familyTestDocumentation
46
46
  completed_at: 'timestamp | optional',
47
47
  };
48
48
 
49
- /** @type {Record<string, string[]>} */
49
+ /** @type {Record<string, string[]>} */
50
50
  available_enum_values = {
51
51
  test_result_status: [ 'PENDING', 'PASSED', 'FAILED', 'SKIPPED', 'BLOCKED', 'RETEST' ]
52
52
  };
@@ -54,13 +54,13 @@ export class typeTestRunResult extends familyTestDocumentation
54
54
 
55
55
  attribute_name_translate_matrix = typeTestRunResult_i18n.attribute_name_translate_matrix;
56
56
 
57
- /** @type {Record<string, string>} */
57
+ /** @type {Record<string, string>} */
58
58
  status_color = {
59
59
  PENDING: '#C4B040',
60
60
  PASSED : '#009688',
61
61
  FAILED : '#E66565',
62
- SKIPPED: '#FD9A4F',
63
- BLOCKED: '#E0E0E0',
62
+ SKIPPED: '#90A4AE',
63
+ BLOCKED: '#FD9A4F',
64
64
  RETEST : '#4D92FA',
65
65
  };
66
66
 
@@ -7,7 +7,7 @@ import { typeUtilExecutionScreenshotMultiScreenshot } from "./typeUtilExecutionS
7
7
  import { typeUtilExecutionScreenshotMultiCaptureError } from "./typeUtilExecutionScreenshotMultiCaptureError.js";
8
8
  import { typeFile } from "../family_files/typeFile.js";
9
9
  import { create_type_file_from_wire } from "../family_files/typeFileFactory.js";
10
- import _ from 'underscore';
10
+ import _ from 'underscore';
11
11
 
12
12
 
13
13
  /**
@@ -68,7 +68,7 @@ export class typeUtilExecution extends familyUtil
68
68
  captures_failed : 'integer | optional',
69
69
  };
70
70
 
71
- /** @type {Record<string, string[]>} */
71
+ /** @type {Record<string, string[]>} */
72
72
  available_enum_values = {
73
73
  execution_status: familyUtil.get_execution_status_values(),
74
74
  };
@@ -77,11 +77,11 @@ export class typeUtilExecution extends familyUtil
77
77
 
78
78
  attribute_name_translate_matrix = typeUtilExecution_i18n.attribute_name_translate_matrix;
79
79
 
80
- /** @type {Record<string, string>} */
80
+ /** @type {Record<string, string>} */
81
81
  status_color = {
82
- pending : '#4D92FA',
83
- submit_failed: '#E66565',
84
- queued : '#009688',
82
+ pending : '#C4B040',
83
+ submit_failed: '#6A1B9A',
84
+ queued : '#4D92FA',
85
85
  completed : '#009688',
86
86
  failed : '#E66565',
87
87
  };
@@ -101,9 +101,9 @@ export class typeUtilExecutionScreenshotMulti extends familyUtil
101
101
 
102
102
  /** @type {Record<string, string>} */
103
103
  status_color = {
104
- pending : '#4D92FA',
105
- submit_failed: '#E66565',
106
- queued : '#009688',
104
+ pending : '#C4B040',
105
+ submit_failed: '#6A1B9A',
106
+ queued : '#4D92FA',
107
107
  completed : '#009688',
108
108
  failed : '#E66565',
109
109
  };
@@ -4,7 +4,7 @@ import { typeUtilExecutionUrlInspect_i18n } from "../element_translate/typeUtilE
4
4
  import { typeUtilExecutionUrlInspectCheck } from "./typeUtilExecutionUrlInspectCheck.js";
5
5
  import { familyUtil_i18n } from "../element_translate/_familyUtil.i18n.js";
6
6
  import { create_type_file_from_wire } from "../family_files/typeFileFactory.js";
7
- import _ from 'underscore';
7
+ import _ from 'underscore';
8
8
 
9
9
 
10
10
  /**
@@ -61,7 +61,7 @@ export class typeUtilExecutionUrlInspect extends familyUtil
61
61
  'page_path',
62
62
  ];
63
63
 
64
- /** @type {Record<string, string[]>} */
64
+ /** @type {Record<string, string[]>} */
65
65
  available_enum_values = {
66
66
  execution_status: familyUtil.get_execution_status_values(),
67
67
  suite_status : [ 'CREATED', 'QUEUED', 'RUNNING', 'COMPLETED', 'PARTIAL', 'FAILED', 'SUBMIT_FAILED' ],
@@ -74,15 +74,15 @@ export class typeUtilExecutionUrlInspect extends familyUtil
74
74
 
75
75
  attribute_name_translate_matrix = typeUtilExecutionUrlInspect_i18n.attribute_name_translate_matrix;
76
76
 
77
- /** @type {Record<string, string>} */
77
+ /** @type {Record<string, string>} */
78
78
  status_color = {
79
- CREATED : '#4D92FA',
80
- QUEUED : '#009688',
81
- RUNNING : '#4D92FA',
79
+ CREATED : '#C4B040',
80
+ QUEUED : '#4D92FA',
81
+ RUNNING : '#546E7A',
82
82
  COMPLETED : '#009688',
83
- PARTIAL : '#F0A202',
83
+ PARTIAL : '#FD9A4F',
84
84
  FAILED : '#E66565',
85
- SUBMIT_FAILED: '#E66565',
85
+ SUBMIT_FAILED: '#6A1B9A',
86
86
  };
87
87
 
88
88
  clone_element = false;
@@ -1,7 +1,7 @@
1
1
  import { familyUtil } from "./familyUtil.js";
2
2
  import { is_object } from "../../utils/utils.js";
3
3
  import { typeUtilExecutionUrlInspectCheck_i18n } from "../element_translate/typeUtilExecutionUrlInspectCheck.i18n.js";
4
- import _ from 'underscore';
4
+ import _ from 'underscore';
5
5
 
6
6
 
7
7
  /**
@@ -35,7 +35,7 @@ export class typeUtilExecutionUrlInspectCheck extends familyUtil
35
35
  detail_message : 'string | optional',
36
36
  };
37
37
 
38
- /** @type {Record<string, string[]>} */
38
+ /** @type {Record<string, string[]>} */
39
39
  available_enum_values = {
40
40
  check_kind : [ 'DNS', 'TCP_80', 'TCP_443', 'TLS', 'HTTP', 'HTTPS', 'SECURITY_HEADERS', 'BROWSER' ],
41
41
  check_status: [ 'PENDING', 'QUEUED', 'RUNNING', 'COMPLETED', 'SKIPPED', 'ERROR' ],
@@ -63,14 +63,14 @@ export class typeUtilExecutionUrlInspectCheck extends familyUtil
63
63
  enum_value_translate_matrix = typeUtilExecutionUrlInspectCheck_i18n.enum_value_translate_matrix;
64
64
  attribute_name_translate_matrix = typeUtilExecutionUrlInspectCheck_i18n.attribute_name_translate_matrix;
65
65
 
66
- /** @type {Record<string, string>} */
66
+ /** @type {Record<string, string>} */
67
67
  status_color = {
68
- PENDING : '#4D92FA',
69
- QUEUED : '#009688',
70
- RUNNING : '#4D92FA',
68
+ PENDING : '#C4B040',
69
+ QUEUED : '#4D92FA',
70
+ RUNNING : '#546E7A',
71
71
  COMPLETED: '#009688',
72
- SKIPPED : '#9E9E9E',
73
- ERROR : '#E66565',
72
+ SKIPPED : '#90A4AE',
73
+ ERROR : '#6A1B9A',
74
74
  };
75
75
 
76
76
  clone_element = false;