complexqa_frontend_core 1.6.3 → 1.6.4
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
package/publish/api/index.js
CHANGED
|
@@ -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
|
|
@@ -187,11 +187,14 @@ export class familyGeneralElement
|
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
*
|
|
190
|
-
* @version v.0.
|
|
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
|
}
|