complexqa_frontend_core 1.18.3 → 1.18.5

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.18.3",
3
+ "version": "1.18.5",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -19,7 +19,7 @@ function build_execution_context_listing_columns(locale)
19
19
  return [
20
20
  createPrimaryKeyColumn(model, locale, { is_editable: false }),
21
21
  createColumn(model, locale, 'context_title', { width: '420', is_editable: true, is_required: false }),
22
- ...FK_FIELDS.map((field) => createColumn(model, locale, field, { width: '200', is_editable: false })),
22
+ ...FK_FIELDS.map((field) => createColumn(model, locale, field, { width: '200', is_editable: true })),
23
23
  createColumn(model, locale, 'protocol', { width: '120', is_editable: true }),
24
24
  createColumn(model, locale, 'host', { width: '200', is_editable: true }),
25
25
  createColumn(model, locale, 'build_version', { width: '160', is_editable: true }),
@@ -46,7 +46,14 @@ function build_execution_context_details_columns(locale)
46
46
  'updated_at',
47
47
  ];
48
48
 
49
- const editableFields = new Set([ 'context_title', 'protocol', 'host', 'base_url', 'build_version' ]);
49
+ const editableFields = new Set([
50
+ 'context_title',
51
+ ...FK_FIELDS,
52
+ 'protocol',
53
+ 'host',
54
+ 'base_url',
55
+ 'build_version',
56
+ ]);
50
57
 
51
58
  return fields.map((field, index) => createColumn(model, locale, field, {
52
59
  sort_order : String(index + 1),
@@ -203,7 +203,7 @@ export class familyGeneralElement
203
203
 
204
204
 
205
205
  /**
206
- * Метаданные reference из целевого типа (api, primary_key, search, scope_filters).
206
+ * Метаданные reference из целевого типа (api, primary_key, search).
207
207
  *
208
208
  * @param {string} attribute
209
209
  * @returns {object|false}
@@ -41,12 +41,9 @@ export class familyContext extends familyGeneralElement
41
41
  operator : 'LIKE',
42
42
  };
43
43
 
44
- static reference_scope_filters = [ 'project_id' ];
45
-
46
44
  reference_api_namespace = familyContext.reference_api_namespace;
47
45
  reference_label_key = familyContext.reference_label_key;
48
46
  reference_search = familyContext.reference_search;
49
- reference_scope_filters = familyContext.reference_scope_filters;
50
47
 
51
48
  available_enum_values = familyContext.get_base_available_enum_values();
52
49
 
@@ -114,7 +111,6 @@ export class familyContext extends familyGeneralElement
114
111
  primary_key : this.primary_key,
115
112
  label_key : this.reference_label_key,
116
113
  search : { ...this.reference_search },
117
- scope_filters : [ ...this.reference_scope_filters ],
118
114
  };
119
115
  }
120
116