@flexem/fc-gui 3.0.0-alpha.30 → 3.0.0-alpha.31
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/CHANGELOG.md +5 -0
- package/bundles/@flexem/fc-gui.umd.js +13 -4
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +4 -4
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/ring-graph/ring-graph-element.js +13 -4
- package/elements/ring-graph/ring-graph-element.metadata.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -28008,6 +28008,9 @@ class ring_graph_element_RingGraphElement extends readable_element_ReadableEleme
|
|
|
28008
28008
|
if (!this.model.variableId) {
|
|
28009
28009
|
return '';
|
|
28010
28010
|
}
|
|
28011
|
+
if (!this.model.variableId.variableName || !this.model.variableId.variableName.name) {
|
|
28012
|
+
return undefined;
|
|
28013
|
+
}
|
|
28011
28014
|
const variable = new variable_definition["a" /* VariableDefinition */](this.model.variableId.variableName.name, this.model.variableId.variableName.groupName, this.model.variableId.dataSourceCode, this.model.variableId.variableName.variableVersion);
|
|
28012
28015
|
return variable_util["a" /* VariableUtil */].getConvertedVariableName(this.variableStore, variable);
|
|
28013
28016
|
}
|
|
@@ -28015,14 +28018,20 @@ class ring_graph_element_RingGraphElement extends readable_element_ReadableEleme
|
|
|
28015
28018
|
if (!this.model.minValueType) {
|
|
28016
28019
|
return undefined;
|
|
28017
28020
|
}
|
|
28018
|
-
|
|
28021
|
+
if (!this.model.minVariable || !this.model.minVariable.name) {
|
|
28022
|
+
return undefined;
|
|
28023
|
+
}
|
|
28024
|
+
const variable = new variable_definition["a" /* VariableDefinition */](this.model.minVariable.name, this.model.minVariable.groupName, this.model.minVariable.dataSourceCode, this.model.minVariable.variableVersion);
|
|
28019
28025
|
return variable_util["a" /* VariableUtil */].getConvertedVariableName(this.variableStore, variable);
|
|
28020
28026
|
}
|
|
28021
28027
|
get maxVariableName() {
|
|
28022
28028
|
if (!this.model.maxValueType) {
|
|
28023
28029
|
return undefined;
|
|
28024
28030
|
}
|
|
28025
|
-
|
|
28031
|
+
if (!this.model.maxVariable || !this.model.maxVariable.name) {
|
|
28032
|
+
return undefined;
|
|
28033
|
+
}
|
|
28034
|
+
const variable = new variable_definition["a" /* VariableDefinition */](this.model.maxVariable.name, this.model.maxVariable.groupName, this.model.maxVariable.dataSourceCode, this.model.maxVariable.variableVersion);
|
|
28026
28035
|
return variable_util["a" /* VariableUtil */].getConvertedVariableName(this.variableStore, variable);
|
|
28027
28036
|
}
|
|
28028
28037
|
initFrameNode() {
|
|
@@ -28049,11 +28058,11 @@ class ring_graph_element_RingGraphElement extends readable_element_ReadableEleme
|
|
|
28049
28058
|
this.isNeedUpdateScale = false;
|
|
28050
28059
|
this.valueObj.value = value;
|
|
28051
28060
|
}
|
|
28052
|
-
if (((_b = this.model.minVariable) === null || _b === void 0 ? void 0 : _b.
|
|
28061
|
+
if (((_b = this.model.minVariable) === null || _b === void 0 ? void 0 : _b.name) === variableName) {
|
|
28053
28062
|
this.isNeedUpdateScale = true;
|
|
28054
28063
|
this.valueObj.min = value;
|
|
28055
28064
|
}
|
|
28056
|
-
if (((_c = this.model.maxVariable) === null || _c === void 0 ? void 0 : _c.
|
|
28065
|
+
if (((_c = this.model.maxVariable) === null || _c === void 0 ? void 0 : _c.name) === variableName) {
|
|
28057
28066
|
this.isNeedUpdateScale = true;
|
|
28058
28067
|
this.valueObj.max = value;
|
|
28059
28068
|
}
|