@flexem/fc-gui 3.0.0-alpha.81 → 3.0.0-alpha.83
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 +11 -1
- package/bundles/@flexem/fc-gui.umd.js +55 -1
- 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/historical-curve/historical-curve.element.js +14 -0
- package/elements/numerical-display/numerical-display-element.js +1 -1
- package/model/historical-curve/historical-curve-axis-settings.d.ts +3 -0
- package/package.json +1 -1
- package/utils/data-type/fbox-data-type.service.js +40 -0
package/CHANGELOG.md
CHANGED
|
@@ -360,4 +360,14 @@
|
|
|
360
360
|
## 3.0.0-alpha.81(2023-04-25)
|
|
361
361
|
### Web端
|
|
362
362
|
#### Bug Fix
|
|
363
|
-
1. FLEXCLOUD-2583 模拟时点击刷新按钮告警表删闪跳
|
|
363
|
+
1. FLEXCLOUD-2583 模拟时点击刷新按钮告警表删闪跳
|
|
364
|
+
|
|
365
|
+
## 3.0.0-alpha.82(2023-04-26)
|
|
366
|
+
### Web端
|
|
367
|
+
#### Bug Fix
|
|
368
|
+
1. FLEXCLOUD-2473 【web端】组态设计:历史曲线组件网格显示设置
|
|
369
|
+
|
|
370
|
+
## 3.0.0-alpha.83(2023-05-05)
|
|
371
|
+
### Web端
|
|
372
|
+
#### Bug Fix
|
|
373
|
+
1. FLEXCLOUD-2329 组件应兼容64位数据类型
|
|
@@ -36573,6 +36573,20 @@ class historical_curve_element_HistoricalCurveElement extends conditional_displa
|
|
|
36573
36573
|
this.rootElement.selectAll('.nv-axisMaxMin').select('text').style('font-size', fontSize);
|
|
36574
36574
|
}
|
|
36575
36575
|
}
|
|
36576
|
+
let strokeWidth = 0;
|
|
36577
|
+
if (this.model.displaySetting.axisSetting.showTick !== false) {
|
|
36578
|
+
strokeWidth = 1;
|
|
36579
|
+
}
|
|
36580
|
+
this.rootElement
|
|
36581
|
+
.selectAll('.nv-x')
|
|
36582
|
+
.selectAll('.tick')
|
|
36583
|
+
.selectAll('line')
|
|
36584
|
+
.attr('style', `stroke:${this.model.displaySetting.axisSetting.xAxisTickColor || 'rgb(127, 147, 159)'};stroke-width:${strokeWidth};`);
|
|
36585
|
+
this.rootElement
|
|
36586
|
+
.selectAll('.nv-y')
|
|
36587
|
+
.selectAll('.tick')
|
|
36588
|
+
.selectAll('line')
|
|
36589
|
+
.attr('style', `stroke:${this.model.displaySetting.axisSetting.yAxisTickColor || 'rgb(127, 147, 159)'};stroke-width:${strokeWidth};`);
|
|
36576
36590
|
if (fontSize && this.currentTimePeriod === 3 || this.currentTimePeriod === 4 || this.currentTimePeriod === 5) {
|
|
36577
36591
|
const self = this;
|
|
36578
36592
|
this.rootElement
|
|
@@ -37153,7 +37167,7 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
|
|
|
37153
37167
|
}
|
|
37154
37168
|
else {
|
|
37155
37169
|
this.restorationTimer = setTimeout(() => {
|
|
37156
|
-
if (
|
|
37170
|
+
if (this.displayText.toUpperCase() !== this.showValue.toUpperCase()) {
|
|
37157
37171
|
this.writeValueMmodalRef.content.isSubmitting = false;
|
|
37158
37172
|
this.writeValueMmodalRef.content.showValidationErrorInfo(this.localization.writeValueTimeout);
|
|
37159
37173
|
}
|
|
@@ -62444,6 +62458,16 @@ let FBoxDataTypeService = class FBoxDataTypeService {
|
|
|
62444
62458
|
return 8;
|
|
62445
62459
|
case 15: // Binary32
|
|
62446
62460
|
return 32;
|
|
62461
|
+
case 21: // UInt64
|
|
62462
|
+
return 16;
|
|
62463
|
+
case 22: // Int64
|
|
62464
|
+
return 16;
|
|
62465
|
+
case 23: // Bcd64
|
|
62466
|
+
return 16;
|
|
62467
|
+
case 24: // Hex64
|
|
62468
|
+
return 8;
|
|
62469
|
+
case 25: // Binary64
|
|
62470
|
+
return 32;
|
|
62447
62471
|
default:
|
|
62448
62472
|
return 0;
|
|
62449
62473
|
}
|
|
@@ -62500,6 +62524,12 @@ let FBoxDataTypeService = class FBoxDataTypeService {
|
|
|
62500
62524
|
case 13: // Bcd32
|
|
62501
62525
|
case 14: // Hex32
|
|
62502
62526
|
case 15: // Binary32
|
|
62527
|
+
case 21: // UInt64
|
|
62528
|
+
case 23: // Bcd64
|
|
62529
|
+
case 14: // Hex32
|
|
62530
|
+
case 15: // Binary32
|
|
62531
|
+
case 24: // Hex64
|
|
62532
|
+
case 25: // Binary64
|
|
62503
62533
|
minValue = 0;
|
|
62504
62534
|
break;
|
|
62505
62535
|
case 2: // Int16
|
|
@@ -62511,6 +62541,13 @@ let FBoxDataTypeService = class FBoxDataTypeService {
|
|
|
62511
62541
|
case 16: // Single
|
|
62512
62542
|
minValue = -1000000000;
|
|
62513
62543
|
break;
|
|
62544
|
+
case 22: // Int64
|
|
62545
|
+
// minValue = -9223372036854775808;
|
|
62546
|
+
minValue = Number.MIN_SAFE_INTEGER;
|
|
62547
|
+
break;
|
|
62548
|
+
case 26: // Double
|
|
62549
|
+
minValue = Number.MIN_VALUE;
|
|
62550
|
+
break;
|
|
62514
62551
|
}
|
|
62515
62552
|
if (integerDigits) {
|
|
62516
62553
|
let digitsLength = integerDigits;
|
|
@@ -62562,6 +62599,23 @@ let FBoxDataTypeService = class FBoxDataTypeService {
|
|
|
62562
62599
|
case 16: // Single
|
|
62563
62600
|
maxValue = 1000000000;
|
|
62564
62601
|
break;
|
|
62602
|
+
case 21: // UInt64
|
|
62603
|
+
case 24: // Hex64
|
|
62604
|
+
case 25: // Binary64
|
|
62605
|
+
// maxValue = 18446744073709551615;
|
|
62606
|
+
maxValue = Number.MAX_SAFE_INTEGER;
|
|
62607
|
+
break;
|
|
62608
|
+
case 22: // Int64
|
|
62609
|
+
// maxValue = 9223372036854775807;
|
|
62610
|
+
maxValue = Number.MAX_SAFE_INTEGER;
|
|
62611
|
+
break;
|
|
62612
|
+
case 23: // Bcd64
|
|
62613
|
+
// maxValue = 9999999999999999;
|
|
62614
|
+
maxValue = Number.MAX_SAFE_INTEGER;
|
|
62615
|
+
break;
|
|
62616
|
+
case 26: // Double
|
|
62617
|
+
maxValue = Number.MAX_VALUE;
|
|
62618
|
+
break;
|
|
62565
62619
|
}
|
|
62566
62620
|
if (integerDigits) {
|
|
62567
62621
|
let digitsLength = integerDigits;
|