complexqa_frontend_core 1.6.3 → 1.6.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.6.3",
3
+ "version": "1.6.5",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -36,6 +36,8 @@ export class Api
36
36
  service;
37
37
 
38
38
  host_api = false;
39
+ frontend_host = false;
40
+ general_domain = false;
39
41
 
40
42
 
41
43
  /**
@@ -68,6 +70,16 @@ export class Api
68
70
  this.stage = init_options.stage;
69
71
  }
70
72
 
73
+ if (init_options.frontend_host)
74
+ {
75
+ this.frontend_host = init_options.frontend_host;
76
+ }
77
+
78
+ if (init_options.general_domain)
79
+ {
80
+ this.general_domain = init_options.general_domain;
81
+ }
82
+
71
83
  if (init_options.dev_stage_config)
72
84
  {
73
85
  // @todo validate
@@ -66,6 +66,13 @@ export class UserService extends abstractService
66
66
  static csrf_token = false;
67
67
 
68
68
 
69
+ /**
70
+ *
71
+ * @type {string}
72
+ */
73
+ static start_page = '/web/en/project/listing';
74
+
75
+
69
76
  /**
70
77
  *
71
78
  *
@@ -294,4 +301,14 @@ export class UserService extends abstractService
294
301
  {
295
302
  UserService.current_language = current_language;
296
303
  }
304
+
305
+ /**
306
+ *
307
+ * @version v.1.1 (22/02/2026)
308
+ * @param {string} start_page
309
+ */
310
+ static set_start_page(start_page)
311
+ {
312
+ UserService.start_page = start_page;
313
+ }
297
314
  }
@@ -187,11 +187,14 @@ export class familyGeneralElement
187
187
 
188
188
  /**
189
189
  *
190
- * @version v.0.1 (26/05/2024)
190
+ * @version v.0.2 (22/02/2026)
191
+ *
191
192
  * @param {string} attribute_name
193
+ * @param {string} lang
194
+ *
192
195
  * @return {string}
193
196
  */
194
- get_attribute_name_translate(attribute_name)
197
+ get_attribute_name_translate(attribute_name, lang)
195
198
  {
196
199
  return attribute_name;
197
200
  }