@flexem/fc-gui 3.0.0-alpha.50 → 3.0.0-alpha.52

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 CHANGED
@@ -201,7 +201,12 @@
201
201
  #### Features
202
202
  1. 解决manager设置了数值运算写值失败的问题
203
203
 
204
- ## 3.0.0-alpha.50(2022-10-25)
204
+ ## 3.0.0-alpha.51(2022-10-25)
205
205
  ### Web端
206
206
  #### Features
207
- 1. 解决一个偶发问题,在云组态的元件中设置了增益时,可能出现写完值后会先显示增益后的值并提示超过长度,再关掉弹窗的问题
207
+ 1. 解决一个偶发问题,在云组态的元件中设置了增益时,可能出现写完值后会先显示增益后的值并提示超过长度,再关掉弹窗的问题
208
+
209
+ ## 3.0.0-alpha.52(2022-10-31)
210
+ ### Web端
211
+ #### Features
212
+ 1. FLEXCLOUD-2331: android切换时间后,不显示时间筛选组件,ios切换筛选时间大于24小时,时间格式为增加年月日
@@ -27024,12 +27024,13 @@ class historical_curve_element_HistoricalCurveElement extends conditional_displa
27024
27024
  .text((d) => d);
27025
27025
  const focusWrap = this.rootElement.selectAll('.nv-focusWrap');
27026
27026
  if (focusWrap.size()) {
27027
- const h = focusWrap.attr('transform')
27028
- .slice(0, -1)
27029
- .split(',')[1];
27030
- this.rootElement
27031
- .selectAll('.nv-focusWrap')
27032
- .attr('transform', `translate(0,${Number(h) + 15})`);
27027
+ let h = focusWrap.attr('transform');
27028
+ if (h && h.length && h.indexOf(',') !== -1) {
27029
+ h = h.slice(0, -1).split(',')[1];
27030
+ this.rootElement
27031
+ .selectAll('.nv-focusWrap')
27032
+ .attr('transform', `translate(0,${Number(h) + 15})`);
27033
+ }
27033
27034
  }
27034
27035
  const resizeObserver = new window.MutationObserver(() => {
27035
27036
  this.rootElement
@@ -27561,7 +27562,7 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
27561
27562
  this.writeValue = writeValue;
27562
27563
  this.showValue = result.showValue;
27563
27564
  if (+this.displayText !== +this.showValue) {
27564
- if (this.numericalOperation) {
27565
+ if (this.numericalOperation || result.enableNumericalOperation) {
27565
27566
  this.writeValueMmodalRef.hide();
27566
27567
  }
27567
27568
  else {
@@ -41214,7 +41215,7 @@ let WriteValueModalComponent = class WriteValueModalComponent {
41214
41215
  value = this.formatWriteValue();
41215
41216
  }
41216
41217
  }
41217
- this.onClosed({ value, showValue });
41218
+ this.onClosed({ value, showValue, enableNumericalOperation: this.enableNumericalOperation });
41218
41219
  }
41219
41220
  close() {
41220
41221
  this.bsModalRef.hide();