@flexem/fc-gui 3.0.0-alpha.18 → 3.0.0-alpha.181
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 +419 -1
- package/assets/img/black_first_page.png +0 -0
- package/assets/img/black_last_page.png +0 -0
- package/assets/img/black_next_page.png +0 -0
- package/assets/img/black_previous_page.png +0 -0
- package/assets/img/exclamation-outline-circle.png +0 -0
- package/bundles/@flexem/fc-gui.umd.js +37413 -32291
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +5 -5
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/communication/variable/variable-communicator.d.ts +5 -0
- package/communication/variable/variable-state-enum.d.ts +1 -0
- package/communication/variable/variable-state-enum.js +1 -0
- package/communication/variable/variable-state-enum.metadata.json +1 -1
- package/communication/variable/variable-value.d.ts +4 -1
- package/communication/variable/variable-value.js +4 -1
- package/communication/variable/variable-value.metadata.json +1 -1
- package/config/alarm/alarm.store.d.ts +6 -0
- package/config/alarm/alarm.store.js +0 -0
- package/config/alarm/alarm.store.metadata.json +1 -0
- package/config/alarm/get-alarms-args.d.ts +12 -0
- package/config/alarm/get-alarms-args.js +13 -0
- package/config/alarm/get-alarms-args.metadata.json +1 -0
- package/config/alarm/index.d.ts +2 -0
- package/config/alarm/index.js +1 -0
- package/config/alarm/index.metadata.json +1 -0
- package/config/config-store.d.ts +2 -0
- package/config/gui-feature-config.d.ts +3 -0
- package/config/gui-feature-config.js +3 -0
- package/config/gui-feature-config.metadata.json +1 -0
- package/config/index.d.ts +2 -0
- package/config/index.js +2 -0
- package/config/index.metadata.json +1 -1
- package/config/variable/variable-store.d.ts +1 -0
- package/elements/air-quality/air-quality-element.js +3 -4
- package/elements/alarm/alarm-element.d.ts +89 -0
- package/elements/alarm/alarm-element.js +739 -0
- package/elements/alarm/alarm-element.metadata.json +1 -0
- package/elements/bar-graph-element.d.ts +10 -2
- package/elements/bar-graph-element.js +135 -5
- package/elements/bar-graph-element.metadata.json +1 -1
- package/elements/base/readable-element.d.ts +6 -1
- package/elements/base/readable-element.js +69 -2
- package/elements/base/readable-element.metadata.json +1 -1
- package/elements/base/state-control-element.d.ts +13 -1
- package/elements/base/state-control-element.js +42 -8
- package/elements/base/state-control-element.metadata.json +1 -1
- package/elements/character-display/character-display-element.d.ts +9 -0
- package/elements/character-display/character-display-element.js +18 -2
- package/elements/character-display/character-display-element.metadata.json +1 -1
- package/elements/datetime-display/datetime-display-element.d.ts +1 -0
- package/elements/datetime-display/datetime-display-element.js +10 -2
- package/elements/datetime-display/datetime-display-element.metadata.json +1 -1
- package/elements/datetime-display/time-zone-select-json.d.ts +8 -0
- package/elements/datetime-display/time-zone-select-json.js +558 -0
- package/elements/historical-curve/historical-curve.element.d.ts +45 -3
- package/elements/historical-curve/historical-curve.element.js +722 -45
- package/elements/historical-curve/historical-curve.element.metadata.json +1 -1
- package/elements/main-element.d.ts +1 -0
- package/elements/main-element.js +71 -9
- package/elements/main-element.metadata.json +1 -1
- package/elements/meter-element.d.ts +7 -1
- package/elements/meter-element.js +76 -7
- package/elements/meter-element.metadata.json +1 -1
- package/elements/numerical-display/numerical-display-element.d.ts +31 -3
- package/elements/numerical-display/numerical-display-element.js +160 -12
- package/elements/numerical-display/numerical-display-element.metadata.json +1 -1
- package/elements/per-view-variable-communicator.d.ts +4 -0
- package/elements/per-view-variable-communicator.js +21 -1
- package/elements/per-view-variable-communicator.metadata.json +1 -1
- package/elements/ring-graph/ring-graph-element.d.ts +13 -1
- package/elements/ring-graph/ring-graph-element.js +164 -3
- package/elements/ring-graph/ring-graph-element.metadata.json +1 -1
- package/elements/scroll-alarm/scroll-alarm-element.d.ts +79 -0
- package/elements/scroll-alarm/scroll-alarm-element.js +845 -0
- package/elements/scroll-alarm/scroll-alarm-element.metadata.json +1 -0
- package/elements/shared/graph/graph-state-element.d.ts +1 -0
- package/elements/shared/graph/graph-state-element.js +30 -1
- package/elements/shared/graph/graph-state-element.metadata.json +1 -1
- package/elements/shared/text/text-element.d.ts +14 -0
- package/elements/shared/text/text-element.js +42 -4
- package/elements/shared/text/text-element.metadata.json +1 -1
- package/elements/shared/text/text-state-element.d.ts +39 -2
- package/elements/shared/text/text-state-element.js +242 -67
- package/elements/shared/text/text-state-element.metadata.json +1 -1
- package/elements/static-elements/hyperlink-element.d.ts +28 -2
- package/elements/static-elements/hyperlink-element.js +153 -4
- package/elements/static-elements/hyperlink-element.metadata.json +1 -1
- package/elements/static-elements/text-element.d.ts +28 -2
- package/elements/static-elements/text-element.js +162 -12
- package/elements/static-elements/text-element.metadata.json +1 -1
- package/elements/switch-indicator-light/bit-indicator-light-operator.d.ts +1 -0
- package/elements/switch-indicator-light/bit-indicator-light-operator.js +10 -3
- package/elements/switch-indicator-light/bit-indicator-light-operator.metadata.json +1 -1
- package/elements/switch-indicator-light/switch-indicator-light-element.d.ts +20 -2
- package/elements/switch-indicator-light/switch-indicator-light-element.js +85 -12
- package/elements/switch-indicator-light/switch-indicator-light-element.metadata.json +1 -1
- package/elements/switch-indicator-light/word-indicator-light-operator.d.ts +1 -0
- package/elements/switch-indicator-light/word-indicator-light-operator.js +10 -3
- package/elements/switch-indicator-light/word-indicator-light-operator.metadata.json +1 -1
- package/elements/video/video-element.d.ts +10 -0
- package/elements/video/video-element.js +139 -21
- package/elements/video/video-element.metadata.json +1 -1
- package/elements/view-operation/view-operation.element.d.ts +28 -2
- package/elements/view-operation/view-operation.element.js +165 -5
- package/elements/view-operation/view-operation.element.metadata.json +1 -1
- package/elements/weather/weater-element.js +0 -1
- package/gui/gui-context.d.ts +25 -2
- package/gui/gui-host.d.ts +1 -1
- package/gui/gui-view.d.ts +19 -2
- package/gui/gui-view.js +147 -12
- package/gui/gui-view.metadata.json +1 -1
- package/gui/gui.component.d.ts +3 -0
- package/gui/gui.component.js +15 -2
- package/gui/gui.component.metadata.json +1 -1
- package/localization/localization.service.d.ts +11 -0
- package/localization/localization.service.js +16 -5
- package/localization/localization.service.metadata.json +1 -1
- package/localization/localization.service.zh_CN.js +12 -1
- package/localization/localization.service.zh_CN.metadata.json +1 -1
- package/modal/write-character/write-character-modal.component.d.ts +3 -2
- package/modal/write-character/write-character-modal.component.html +4 -4
- package/modal/write-character/write-character-modal.component.js +7 -5
- package/modal/write-character/write-character-modal.component.less +15 -0
- package/modal/write-character/write-character-modal.component.metadata.json +1 -1
- package/modal/write-value/write-value-modal-args.d.ts +5 -1
- package/modal/write-value/write-value-modal-args.js +3 -1
- package/modal/write-value/write-value-modal-args.metadata.json +1 -1
- package/modal/write-value/write-value-modal.component.d.ts +15 -8
- package/modal/write-value/write-value-modal.component.html +10 -5
- package/modal/write-value/write-value-modal.component.js +99 -21
- package/modal/write-value/write-value-modal.component.less +16 -1
- package/modal/write-value/write-value-modal.component.metadata.json +1 -1
- package/model/alarm/alarm.model.d.ts +14 -0
- package/model/alarm/alarm.model.js +0 -0
- package/model/alarm/alarm.model.metadata.json +1 -0
- package/model/bar-graph/bar-graph.d.ts +4 -0
- package/model/base/font-setting-model.d.ts +22 -1
- package/model/base/font-setting-model.metadata.json +1 -1
- package/model/base/readable-model.d.ts +4 -0
- package/model/character-display/character-display.d.ts +1 -0
- package/model/datetime-display/datetime-display.d.ts +1 -0
- package/model/historical-curve/historical-curve-axis-settings.d.ts +11 -0
- package/model/historical-curve/historical-curve-axis-settings.js +5 -0
- package/model/historical-curve/historical-curve-axis-settings.metadata.json +1 -1
- package/model/historical-curve/historical-curve-chanel.model.d.ts +8 -0
- package/model/historical-curve/historical-curve.display-settings.d.ts +1 -0
- package/model/meter/meter.d.ts +4 -0
- package/model/numerical-display/numerical-display.d.ts +1 -0
- package/model/numerical-display/numerical-operation.d.ts +10 -2
- package/model/ring-graph/ring-graph.model.d.ts +8 -0
- package/model/scroll-alarm/scroll-alarm.model.d.ts +21 -0
- package/model/scroll-alarm/scroll-alarm.model.js +0 -0
- package/model/scroll-alarm/scroll-alarm.model.metadata.json +1 -0
- package/model/settings/popup/view-popup-location-type.d.ts +2 -1
- package/model/settings/popup/view-popup-location-type.js +1 -0
- package/model/settings/popup/view-popup-location-type.metadata.json +1 -1
- package/model/shared/state/state.d.ts +1 -0
- package/model/shared/state/state.js +1 -0
- package/model/shared/state/state.metadata.json +1 -1
- package/model/shared/text/font.d.ts +1 -1
- package/model/shared/text/text.d.ts +3 -0
- package/model/switch-indicator-light/switch-indicator-light.d.ts +3 -0
- package/model/view-operation/view-operation-element.model.d.ts +7 -1
- package/package.json +1 -1
- package/public_api.js +1 -0
- package/remote/communication/variable/remote-variable-communicator.d.ts +30 -0
- package/remote/communication/variable/remote-variable-communicator.js +193 -3
- package/remote/communication/variable/remote-variable-communicator.metadata.json +1 -1
- package/remote/communication/variable/remote-variable-protocol.d.ts +8 -0
- package/service/index.d.ts +4 -0
- package/service/index.js +1 -0
- package/service/index.metadata.json +1 -1
- package/service/language.service.d.ts +37 -0
- package/service/language.service.js +0 -0
- package/service/language.service.metadata.json +1 -0
- package/service/released-variable/index.d.ts +1 -0
- package/service/released-variable/index.js +0 -0
- package/service/released-variable/index.metadata.json +1 -0
- package/service/released-variable/released-variable.service.d.ts +4 -0
- package/service/released-variable/released-variable.service.js +0 -0
- package/service/released-variable/released-variable.service.metadata.json +1 -0
- package/service/system-text-library.service.d.ts +77 -0
- package/service/system-text-library.service.js +29 -0
- package/service/system-text-library.service.metadata.json +1 -0
- package/service/text-library.service.d.ts +49 -0
- package/service/text-library.service.js +0 -0
- package/service/text-library.service.metadata.json +1 -0
- package/shared/gui-consts.d.ts +2 -0
- package/shared/gui-consts.js +3 -1
- package/shared/gui-consts.metadata.json +1 -1
- package/utils/data-type/fbox-data-type.service.js +40 -0
- package/utils/numerical-operation.service.js +28 -4
- package/view/popup-view.service.d.ts +1 -1
|
@@ -10,24 +10,25 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
11
11
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12
12
|
};
|
|
13
|
-
import { Component, Inject, Output } from '@angular/core';
|
|
14
|
-
import { Subject } from 'rxjs';
|
|
13
|
+
import { Component, Inject, Injector, Output } from '@angular/core';
|
|
15
14
|
import { LOCALIZATION } from '../../localization';
|
|
16
15
|
import { DataTypeService } from '../../utils/data-type/data-type.service';
|
|
17
16
|
import { FractionDigitService } from '../../utils/fraction-digit.service';
|
|
18
17
|
import { NumericalOperationService } from '../../utils/numerical-operation.service';
|
|
19
18
|
import { isNil } from 'lodash';
|
|
19
|
+
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
20
|
+
import { DisplayMode, GlobalSettings } from '../../settings';
|
|
20
21
|
let WriteValueModalComponent = class WriteValueModalComponent {
|
|
21
|
-
constructor(localization, dataTypeService, fractionDigitService, numericalOperationService) {
|
|
22
|
+
constructor(localization, dataTypeService, fractionDigitService, numericalOperationService, bsModalRef, injector) {
|
|
22
23
|
this.localization = localization;
|
|
23
24
|
this.dataTypeService = dataTypeService;
|
|
24
25
|
this.fractionDigitService = fractionDigitService;
|
|
25
26
|
this.numericalOperationService = numericalOperationService;
|
|
26
|
-
this.
|
|
27
|
+
this.bsModalRef = bsModalRef;
|
|
28
|
+
this.displayVariableName = '';
|
|
27
29
|
this.writeValueRangeText = '';
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return this._onClosed;
|
|
30
|
+
this.isSubmitting = false;
|
|
31
|
+
this.isMobileMode = DisplayMode.Mobile === injector.get(GlobalSettings).displayMode;
|
|
31
32
|
}
|
|
32
33
|
get invalidErrorText() {
|
|
33
34
|
return this.localization.loadFailed;
|
|
@@ -37,7 +38,20 @@ let WriteValueModalComponent = class WriteValueModalComponent {
|
|
|
37
38
|
this.validate();
|
|
38
39
|
}
|
|
39
40
|
initData(option) {
|
|
41
|
+
var _a, _b, _c, _d, _e;
|
|
40
42
|
this.variableName = option.variableName;
|
|
43
|
+
this.displayVariableName = this.variableName;
|
|
44
|
+
if (this.variableName === '当前语种ID') {
|
|
45
|
+
const language = ((_c = (_b = (_a = window.abp) === null || _a === void 0 ? void 0 : _a.localization) === null || _b === void 0 ? void 0 : _b.currentLanguage) === null || _c === void 0 ? void 0 : _c.name) || ((_e = (_d = this.localization.localizationService) === null || _d === void 0 ? void 0 : _d.translate) === null || _e === void 0 ? void 0 : _e.currentLang);
|
|
46
|
+
const isTraditionalChinese = language === 'zh-Hant' || language === 'zh-TW' || language === 'zh-tw';
|
|
47
|
+
const isChinese = language === 'zh-Hans' || language === 'zh';
|
|
48
|
+
if (isTraditionalChinese) {
|
|
49
|
+
this.displayVariableName = '當前語種ID';
|
|
50
|
+
}
|
|
51
|
+
else if (!isChinese) {
|
|
52
|
+
this.displayVariableName = 'Current Language ID';
|
|
53
|
+
}
|
|
54
|
+
}
|
|
41
55
|
this.dataType = option.dataType;
|
|
42
56
|
this.fBoxDataType = option.fBoxDataType;
|
|
43
57
|
this.integerDigits = option.integerDigits ? option.integerDigits : 0;
|
|
@@ -58,17 +72,20 @@ let WriteValueModalComponent = class WriteValueModalComponent {
|
|
|
58
72
|
this.writeValueRangeText = this.getWriteValueRangeText();
|
|
59
73
|
}
|
|
60
74
|
setValueRangeAccordToDataParsed(option) {
|
|
75
|
+
// 上下限已在 numerical-display-element.ts 中解析为数值,直接使用
|
|
76
|
+
const resolvedUpperLimit = Number(this.numericalOperation.numericalUpperLimit);
|
|
77
|
+
const resolvedLowerLimit = Number(this.numericalOperation.numericalLowerLimit);
|
|
61
78
|
if (this.dataTypeService.isFloat(option.version, this.dataType) || this.enableNumericalOperation) {
|
|
62
79
|
this.maxValueLimit = this.dataTypeService.getMaxValue(option.version, this.dataType, this.fBoxDataType);
|
|
63
80
|
this.minValueLimit = this.dataTypeService.getMinValue(option.version, this.dataType, this.fBoxDataType);
|
|
64
|
-
this.numericalLowerLimit =
|
|
65
|
-
this.numericalUpperLimit =
|
|
81
|
+
this.numericalLowerLimit = resolvedLowerLimit;
|
|
82
|
+
this.numericalUpperLimit = resolvedUpperLimit;
|
|
66
83
|
}
|
|
67
84
|
else {
|
|
68
85
|
this.maxValueLimit = +this.fractionDigitService.movePoint(this.dataTypeService.getMaxValue(option.version, this.dataType, this.fBoxDataType), -this.fractionDigits);
|
|
69
86
|
this.minValueLimit = +this.fractionDigitService.movePoint(this.dataTypeService.getMinValue(option.version, this.dataType, this.fBoxDataType), -this.fractionDigits);
|
|
70
|
-
this.numericalLowerLimit = +this.fractionDigitService.movePoint(
|
|
71
|
-
this.numericalUpperLimit = +this.fractionDigitService.movePoint(
|
|
87
|
+
this.numericalLowerLimit = +this.fractionDigitService.movePoint(resolvedLowerLimit, -this.fractionDigits);
|
|
88
|
+
this.numericalUpperLimit = +this.fractionDigitService.movePoint(resolvedUpperLimit, -this.fractionDigits);
|
|
72
89
|
}
|
|
73
90
|
const minValue = this.numericalOperationService.getWriteMinValue(this.minValueLimit, this.numericalOperation);
|
|
74
91
|
const maxValue = this.numericalOperationService.getWriteMaxValue(this.maxValueLimit, this.numericalOperation);
|
|
@@ -101,21 +118,80 @@ let WriteValueModalComponent = class WriteValueModalComponent {
|
|
|
101
118
|
return minValue + '~' + maxValue;
|
|
102
119
|
}
|
|
103
120
|
save() {
|
|
121
|
+
this.isSubmitting = true;
|
|
122
|
+
let value = this.value;
|
|
123
|
+
const showValue = this.value;
|
|
104
124
|
if (this.args.enableDataParsed) {
|
|
105
125
|
if (this.enableNumericalOperation) {
|
|
106
|
-
|
|
126
|
+
value = this.numericalOperationService.getWriteValue(this.args.version, this.value, this.numericalOperation, this.dataType, this.fractionDigits);
|
|
107
127
|
}
|
|
108
128
|
else {
|
|
109
|
-
|
|
129
|
+
value = this.formatWriteValue();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
// 处理系统变量"当前语种ID"
|
|
133
|
+
if (this.variableName === '当前语种ID') {
|
|
134
|
+
this.handleCurrentLanguageIdSave(value);
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
if (!this.args.releasedVariableService) {
|
|
138
|
+
this.onClosed({
|
|
139
|
+
value: value,
|
|
140
|
+
showValue: showValue,
|
|
141
|
+
enableNumericalOperation: false,
|
|
142
|
+
isNumericalOperation: this.isNumericalOperation,
|
|
143
|
+
variableRwType: 6
|
|
144
|
+
});
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
this.args.releasedVariableService.getVariableWithValueTransform(this.variableName).subscribe(result => {
|
|
148
|
+
const valueTransform = JSON.parse(result.valueTransform);
|
|
149
|
+
if ((valueTransform === null || valueTransform === void 0 ? void 0 : valueTransform.Type) !== 0) {
|
|
150
|
+
this.isNumericalOperation = true;
|
|
110
151
|
}
|
|
152
|
+
this.onClosed({
|
|
153
|
+
value: value,
|
|
154
|
+
showValue: showValue,
|
|
155
|
+
enableNumericalOperation: this.enableNumericalOperation,
|
|
156
|
+
isNumericalOperation: this.isNumericalOperation,
|
|
157
|
+
variableRwType: result.variableRwType
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* 处理"当前语种ID"系统变量的保存
|
|
163
|
+
*/
|
|
164
|
+
handleCurrentLanguageIdSave(value) {
|
|
165
|
+
if (!this.args.guiContext || !this.args.guiContext.updateCurrentLanguageId) {
|
|
166
|
+
this.showValidationErrorInfo(this.localization.loadFailed);
|
|
167
|
+
this.isSubmitting = false;
|
|
168
|
+
return;
|
|
111
169
|
}
|
|
112
|
-
|
|
170
|
+
// 转换为数字类型
|
|
171
|
+
const languageId = value === '' || value == null ? null : Number(value);
|
|
172
|
+
// 调用 GuiContext 的语种切换方法
|
|
173
|
+
this.args.guiContext.updateCurrentLanguageId(languageId).then(() => {
|
|
174
|
+
// 语种切换成功,调用 onClosed 回调,让数字显示元件也能更新
|
|
175
|
+
this.onClosed({
|
|
176
|
+
value: value,
|
|
177
|
+
showValue: value,
|
|
178
|
+
enableNumericalOperation: false,
|
|
179
|
+
isNumericalOperation: false,
|
|
180
|
+
variableRwType: 6
|
|
181
|
+
});
|
|
182
|
+
}).catch(() => {
|
|
183
|
+
this.showValidationErrorInfo(this.localization.loadFailed);
|
|
184
|
+
this.isSubmitting = false;
|
|
185
|
+
});
|
|
113
186
|
}
|
|
114
|
-
close(
|
|
115
|
-
this.
|
|
116
|
-
this._onClosed.complete();
|
|
187
|
+
close() {
|
|
188
|
+
this.bsModalRef.hide();
|
|
117
189
|
}
|
|
118
|
-
validate() {
|
|
190
|
+
validate(event = null) {
|
|
191
|
+
if (event && event.keyCode === 13 && !this.validationError) {
|
|
192
|
+
this.save();
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
119
195
|
// 校验数值必填
|
|
120
196
|
if (null == this.value || '' === this.value.trim()) {
|
|
121
197
|
return this.showValidationErrorInfo(this.localization.numericalValueRequired);
|
|
@@ -193,12 +269,14 @@ __decorate([
|
|
|
193
269
|
WriteValueModalComponent = __decorate([
|
|
194
270
|
Component({
|
|
195
271
|
selector: 'writeValueModal',
|
|
196
|
-
template: "<form #writeValueForm=\"ngForm\" novalidate (ngSubmit)=\"save()\" bs-modal-drag> <div class=\"modal-header\"> <h4 class=\"modal-title\"> <span>{{localization.setting}}</span> <span>{{
|
|
197
|
-
styles: [".modal-header { padding: 10px; border-color: transparent; } .modal-body { position: relative; padding: 0px 5px !important; padding-top: 10px !important; } .modal-title { display: unset; margin-left: -6px; font-size: 16px !important; } .form-control { margin: 0 5%; float: none; width: 90%; } .modal-footer { padding: 10px
|
|
272
|
+
template: "<form #writeValueForm=\"ngForm\" novalidate (ngSubmit)=\"save()\" bs-modal-drag> <div class=\"modal-header\"> <h4 class=\"modal-title\"> <span>{{localization.setting}}</span> <span>{{displayVariableName}}</span> </h4> <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"close()\"> <span aria-hidden=\"true\">×</span> </button> </div> <div class=\"modal-body\"> <span class=\"write-value-range\">{{localization.writeValueRange}}:</span> <span> {{writeValueRangeText}} <span *ngIf=\"valueType\">({{valueType}})</span> </span> <input type=\"text\" name=\"valueInput\" autoFocus [class.form-control-write]=\"!isMobileMode\" class=\"form-control write-value\" [(ngModel)]=\"value\" (keyup)=\"validate($event)\" autocomplete=\"off\"> <span class=\"help-block text-danger\" [hidden]=\"!validationError\">{{validationErrorText}}</span> </div> <div class=\"modal-footer\" [class.modal-footer-write]=\"!isMobileMode\"> <button type=\"submit\" [class.btn-primary-write]=\"!isMobileMode\" class=\"btn md-skip btn-primary btn-block\" [disabled]=\"validationError || isSubmitting\"> <ng-container *ngIf=\"!isSubmitting\">{{localization.submit}}</ng-container> <ng-container *ngIf=\"isSubmitting\">{{localization.submitting}}</ng-container> </button> </div> </form> ",
|
|
273
|
+
styles: [".modal-header { padding: 10px; border-color: transparent; } .modal-body { position: relative; padding: 0px 5px !important; padding-top: 10px !important; } .modal-title { display: unset; margin-left: -6px; font-size: 16px !important; } .form-control { margin: 0 5%; float: none; width: 90%; } .form-control-write { margin: 0 20px; width: 585px; } .modal-footer { padding: 10px 5px 20px 5px !important; text-align: right; border-color: transparent; } .modal-footer-write { margin-right: 4px; padding: 10px 5px 20px 5px !important; } .text-danger { display: block; color: #ed6b75; font-size: 14px; margin: 5px 0px 0px 15px; } .btn-primary { background-color: #3B97FC; border-color: #3B97FC; padding: 5px 30px; width: 90%; margin: 0 5%; height: 32px; } .btn-primary-write { width: 585px; margin: 0 15px 0 0; } .write-value-range { color: #7f939e; font-size: 14px; margin-left: 15px; } .write-value { padding-left: 8px; margin-left: 16px; height: 32px; } "]
|
|
198
274
|
}),
|
|
199
275
|
__param(0, Inject(LOCALIZATION)),
|
|
200
276
|
__metadata("design:paramtypes", [Object, DataTypeService,
|
|
201
277
|
FractionDigitService,
|
|
202
|
-
NumericalOperationService
|
|
278
|
+
NumericalOperationService,
|
|
279
|
+
BsModalRef,
|
|
280
|
+
Injector])
|
|
203
281
|
], WriteValueModalComponent);
|
|
204
282
|
export { WriteValueModalComponent };
|
|
@@ -21,12 +21,22 @@
|
|
|
21
21
|
width: 90%;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
.form-control-write {
|
|
25
|
+
margin: 0 20px;
|
|
26
|
+
width: 585px;
|
|
27
|
+
}
|
|
28
|
+
|
|
24
29
|
.modal-footer {
|
|
25
|
-
padding: 10px
|
|
30
|
+
padding: 10px 5px 20px 5px !important;
|
|
26
31
|
text-align: right;
|
|
27
32
|
border-color: transparent;
|
|
28
33
|
}
|
|
29
34
|
|
|
35
|
+
.modal-footer-write {
|
|
36
|
+
margin-right: 4px;
|
|
37
|
+
padding: 10px 5px 20px 5px !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
30
40
|
.text-danger {
|
|
31
41
|
display: block;
|
|
32
42
|
color: #ed6b75;
|
|
@@ -43,6 +53,11 @@
|
|
|
43
53
|
height: 32px;
|
|
44
54
|
}
|
|
45
55
|
|
|
56
|
+
.btn-primary-write {
|
|
57
|
+
width: 585px;
|
|
58
|
+
margin: 0 15px 0 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
46
61
|
.write-value-range {
|
|
47
62
|
color: #7f939e;
|
|
48
63
|
font-size: 14px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"WriteValueModalComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"WriteValueModalComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"writeValueModal","template":"<form #writeValueForm=\"ngForm\" novalidate (ngSubmit)=\"save()\" bs-modal-drag> <div class=\"modal-header\"> <h4 class=\"modal-title\"> <span>{{localization.setting}}</span> <span>{{displayVariableName}}</span> </h4> <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"close()\"> <span aria-hidden=\"true\">×</span> </button> </div> <div class=\"modal-body\"> <span class=\"write-value-range\">{{localization.writeValueRange}}:</span> <span> {{writeValueRangeText}} <span *ngIf=\"valueType\">({{valueType}})</span> </span> <input type=\"text\" name=\"valueInput\" autoFocus [class.form-control-write]=\"!isMobileMode\" class=\"form-control write-value\" [(ngModel)]=\"value\" (keyup)=\"validate($event)\" autocomplete=\"off\"> <span class=\"help-block text-danger\" [hidden]=\"!validationError\">{{validationErrorText}}</span> </div> <div class=\"modal-footer\" [class.modal-footer-write]=\"!isMobileMode\"> <button type=\"submit\" [class.btn-primary-write]=\"!isMobileMode\" class=\"btn md-skip btn-primary btn-block\" [disabled]=\"validationError || isSubmitting\"> <ng-container *ngIf=\"!isSubmitting\">{{localization.submit}}</ng-container> <ng-container *ngIf=\"isSubmitting\">{{localization.submitting}}</ng-container> </button> </div> </form> ","styles":[".modal-header { padding: 10px; border-color: transparent; } .modal-body { position: relative; padding: 0px 5px !important; padding-top: 10px !important; } .modal-title { display: unset; margin-left: -6px; font-size: 16px !important; } .form-control { margin: 0 5%; float: none; width: 90%; } .form-control-write { margin: 0 20px; width: 585px; } .modal-footer { padding: 10px 5px 20px 5px !important; text-align: right; border-color: transparent; } .modal-footer-write { margin-right: 4px; padding: 10px 5px 20px 5px !important; } .text-danger { display: block; color: #ed6b75; font-size: 14px; margin: 5px 0px 0px 15px; } .btn-primary { background-color: #3B97FC; border-color: #3B97FC; padding: 5px 30px; width: 90%; margin: 0 5%; height: 32px; } .btn-primary-write { width: 585px; margin: 0 15px 0 0; } .write-value-range { color: #7f939e; font-size: 14px; margin-left: 15px; } .write-value { padding-left: 8px; margin-left: 16px; height: 32px; } "]}]}],"members":{"invalidErrorText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":48,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":54,"character":9},"arguments":[{"__symbolic":"reference","module":"../../localization","name":"LOCALIZATION","line":54,"character":16}]}],null,null,null,null,null],"parameters":[{"__symbolic":"reference","module":"../../localization","name":"Localization","line":54,"character":51},{"__symbolic":"reference","module":"../../utils/data-type/data-type.service","name":"DataTypeService","line":55,"character":42},{"__symbolic":"reference","module":"../../utils/fraction-digit.service","name":"FractionDigitService","line":56,"character":47},{"__symbolic":"reference","module":"../../utils/numerical-operation.service","name":"NumericalOperationService","line":57,"character":52},{"__symbolic":"reference","module":"ngx-bootstrap/modal","name":"BsModalRef","line":58,"character":37},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":59,"character":18}]}],"ngOnInit":[{"__symbolic":"method"}],"initData":[{"__symbolic":"method"}],"setValueRangeAccordToDataParsed":[{"__symbolic":"method"}],"getWriteValueRangeText":[{"__symbolic":"method"}],"save":[{"__symbolic":"method"}],"handleCurrentLanguageIdSave":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}],"showValidationErrorInfo":[{"__symbolic":"method"}],"hideValidationErrorInfo":[{"__symbolic":"method"}],"getFractionDigits":[{"__symbolic":"method"}],"formatWriteValue":[{"__symbolic":"method"}]}}}}]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConditionalDisplayModel } from '../base/conditional-display-model';
|
|
2
|
+
import { Point, Size } from '../shared';
|
|
3
|
+
export interface AlarmModel extends ConditionalDisplayModel {
|
|
4
|
+
readonly version: number;
|
|
5
|
+
readonly size: Size;
|
|
6
|
+
readonly initSize?: Size;
|
|
7
|
+
readonly location: Point;
|
|
8
|
+
readonly generalSetting?: any;
|
|
9
|
+
readonly filterSetting?: any;
|
|
10
|
+
readonly widths: number[];
|
|
11
|
+
readonly heights: number[];
|
|
12
|
+
readonly columLabels: string[];
|
|
13
|
+
readonly levelText: string[];
|
|
14
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"AlarmModel":{"__symbolic":"interface"}}}]
|
|
@@ -19,4 +19,8 @@ export interface BarGraph extends ReadableModel {
|
|
|
19
19
|
readonly upperLimitColor?: string;
|
|
20
20
|
readonly lowerLimitColor?: string;
|
|
21
21
|
readonly percentageFont?: FontStyleData;
|
|
22
|
+
readonly masterDivisionNumber: number;
|
|
23
|
+
readonly subDivisionNumber: number;
|
|
24
|
+
readonly integerDigits: number;
|
|
25
|
+
readonly fractionDigits: number;
|
|
22
26
|
}
|
|
@@ -1,8 +1,29 @@
|
|
|
1
|
+
export interface TextLibrarySetting {
|
|
2
|
+
readonly labelType: 'text' | 'textLibrary';
|
|
3
|
+
readonly selectedTextLibraryItem?: string | number;
|
|
4
|
+
readonly selectedTextItem?: string | number;
|
|
5
|
+
}
|
|
6
|
+
export interface TextCultures {
|
|
7
|
+
readonly cultures: {
|
|
8
|
+
[languageCode: string]: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export interface FontStyleCultures {
|
|
12
|
+
readonly [languageCode: string]: {
|
|
13
|
+
readonly fontSize: string;
|
|
14
|
+
readonly fontStyle: string;
|
|
15
|
+
readonly fontColor: string;
|
|
16
|
+
readonly isUnderline: boolean;
|
|
17
|
+
readonly textAlign: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
1
20
|
export interface FontSettingModel {
|
|
2
|
-
readonly text: string;
|
|
21
|
+
readonly text: string | TextCultures;
|
|
3
22
|
readonly stroke: string;
|
|
4
23
|
readonly font: string;
|
|
5
24
|
readonly fontSize: string;
|
|
6
25
|
readonly isUnderline: boolean;
|
|
7
26
|
readonly textAlign: string;
|
|
27
|
+
readonly textLibrary?: TextLibrarySetting;
|
|
28
|
+
readonly fontStyleCultures?: FontStyleCultures;
|
|
8
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"FontSettingModel":{"__symbolic":"interface"}}}]
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"TextLibrarySetting":{"__symbolic":"interface"},"TextCultures":{"__symbolic":"interface"},"FontStyleCultures":{"__symbolic":"interface"},"FontSettingModel":{"__symbolic":"interface"}}}]
|
|
@@ -7,4 +7,8 @@ export interface ReadableModel extends ConditionalEnableModel {
|
|
|
7
7
|
readonly version?: number;
|
|
8
8
|
readonly variableName?: string;
|
|
9
9
|
readonly readVariable?: VariableDefinition;
|
|
10
|
+
readonly minVariable?: any;
|
|
11
|
+
readonly maxVariable?: any;
|
|
12
|
+
readonly minValueType?: any;
|
|
13
|
+
readonly maxValueType?: any;
|
|
10
14
|
}
|
|
@@ -12,6 +12,7 @@ export interface CharacterDisplay extends ReadableModel, SecurityModel {
|
|
|
12
12
|
readonly graphSetting: GraphSetting;
|
|
13
13
|
readonly charCount: number;
|
|
14
14
|
readonly size: Size;
|
|
15
|
+
readonly initSize?: Size;
|
|
15
16
|
readonly useGraph: boolean;
|
|
16
17
|
readonly accessPermission: any;
|
|
17
18
|
readonly showVariableText?: boolean;
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { Font } from '../shared/text/font';
|
|
2
2
|
export interface HistoricalCurveAxisSettings {
|
|
3
|
+
readonly yAxisRangeType: AxisRangeType;
|
|
4
|
+
readonly yAxisMax?: number;
|
|
5
|
+
readonly yAxisMin?: number;
|
|
3
6
|
readonly axisColor: string;
|
|
4
7
|
readonly showAxisLabel: boolean;
|
|
5
8
|
readonly axisLabelFont: Font;
|
|
9
|
+
readonly showTick?: boolean;
|
|
10
|
+
readonly xAxisTickColor?: string;
|
|
11
|
+
readonly yAxisTickColor?: string;
|
|
12
|
+
readonly filterBackgroudColor?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare enum AxisRangeType {
|
|
15
|
+
Auto = 0,
|
|
16
|
+
Custom = 1
|
|
6
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"HistoricalCurveAxisSettings":{"__symbolic":"interface"}}}]
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"HistoricalCurveAxisSettings":{"__symbolic":"interface"},"AxisRangeType":{"Auto":0,"Custom":1}}}]
|
|
@@ -4,6 +4,7 @@ import { HistoricalCurveAxisSettings } from './historical-curve-axis-settings';
|
|
|
4
4
|
import { CurveType } from './curve-type';
|
|
5
5
|
export interface HistoricalCurveDisplaySettings {
|
|
6
6
|
readonly size: Size;
|
|
7
|
+
readonly initSize?: Size;
|
|
7
8
|
readonly location: Point;
|
|
8
9
|
/**
|
|
9
10
|
* 刷新周期(秒)
|
package/model/meter/meter.d.ts
CHANGED
|
@@ -10,4 +10,8 @@ export interface Meter extends ReadableModel {
|
|
|
10
10
|
readonly radius: number;
|
|
11
11
|
readonly min: number;
|
|
12
12
|
readonly max: number;
|
|
13
|
+
readonly masterDivisionNumber: number;
|
|
14
|
+
readonly subDivisionNumber: number;
|
|
15
|
+
readonly integerDigits: number;
|
|
16
|
+
readonly fractionDigits: number;
|
|
13
17
|
}
|
|
@@ -4,6 +4,7 @@ import { NumericalOperationSettings } from './numerical-operation-settings';
|
|
|
4
4
|
import { DisplayDataType } from '../shared/data-type/display-data-type';
|
|
5
5
|
export interface NumericalDisplay extends ReadableModel, SecurityModel {
|
|
6
6
|
readonly size: Size;
|
|
7
|
+
readonly initSize?: Size;
|
|
7
8
|
readonly useGraph: boolean;
|
|
8
9
|
readonly stroke: string;
|
|
9
10
|
readonly font: string;
|
|
@@ -2,8 +2,16 @@ import { NumericalOperationType } from '../../utils/numerical-operation-type';
|
|
|
2
2
|
import { ProportionalConversion } from './proportional-conversion';
|
|
3
3
|
import { Zoom } from './zoom';
|
|
4
4
|
export interface NumericalOperation {
|
|
5
|
-
numericalUpperLimit: number
|
|
6
|
-
|
|
5
|
+
numericalUpperLimit: number | {
|
|
6
|
+
type: number;
|
|
7
|
+
variableName: string;
|
|
8
|
+
variableVersion?: number;
|
|
9
|
+
};
|
|
10
|
+
numericalLowerLimit: number | {
|
|
11
|
+
type: number;
|
|
12
|
+
variableName: string;
|
|
13
|
+
variableVersion?: number;
|
|
14
|
+
};
|
|
7
15
|
enableNumericalOperation: boolean;
|
|
8
16
|
type: NumericalOperationType;
|
|
9
17
|
proportionalConversion: ProportionalConversion;
|
|
@@ -22,4 +22,12 @@ export interface RingGraphModel extends ConditionalDisplayModel {
|
|
|
22
22
|
readonly alarmRange?: AlarmRangeModel;
|
|
23
23
|
readonly showPercentage: boolean;
|
|
24
24
|
readonly percentageFont?: Font;
|
|
25
|
+
readonly minVariable?: any;
|
|
26
|
+
readonly maxVariable?: any;
|
|
27
|
+
readonly minValueType?: any;
|
|
28
|
+
readonly maxValueType?: any;
|
|
29
|
+
readonly masterDivisionNumber: number;
|
|
30
|
+
readonly subDivisionNumber: number;
|
|
31
|
+
readonly integerDigits: number;
|
|
32
|
+
readonly fractionDigits: number;
|
|
25
33
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ConditionalDynamicDisplayModel } from '../base/conditional-dynamic-display-model';
|
|
2
|
+
import { Point, Size } from '../shared';
|
|
3
|
+
import { DynamicDisplayModel } from '../shared/dynamic-display/dynamic-display-model';
|
|
4
|
+
export interface ScrollAlarmModel extends ConditionalDynamicDisplayModel {
|
|
5
|
+
readonly version: number;
|
|
6
|
+
readonly size: Size;
|
|
7
|
+
readonly location: Point;
|
|
8
|
+
readonly generalSetting?: any;
|
|
9
|
+
readonly filterSetting?: any;
|
|
10
|
+
readonly widths: number[];
|
|
11
|
+
readonly heights: number[];
|
|
12
|
+
readonly columLabels: string[];
|
|
13
|
+
readonly levelText: string[];
|
|
14
|
+
readonly scrollSetting?: {
|
|
15
|
+
readonly scrollInterval?: number;
|
|
16
|
+
readonly scrollDirection?: 'vertical' | 'horizontal';
|
|
17
|
+
readonly pauseOnHover?: boolean;
|
|
18
|
+
readonly autoPlay?: boolean;
|
|
19
|
+
};
|
|
20
|
+
readonly dynamicSetting?: DynamicDisplayModel;
|
|
21
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"ScrollAlarmModel":{"__symbolic":"interface"}}}]
|
|
@@ -2,4 +2,5 @@ export var ViewPopupLocationType;
|
|
|
2
2
|
(function (ViewPopupLocationType) {
|
|
3
3
|
ViewPopupLocationType[ViewPopupLocationType["Center"] = 0] = "Center";
|
|
4
4
|
ViewPopupLocationType[ViewPopupLocationType["Custom"] = 1] = "Custom";
|
|
5
|
+
ViewPopupLocationType[ViewPopupLocationType["NearButton"] = 2] = "NearButton";
|
|
5
6
|
})(ViewPopupLocationType || (ViewPopupLocationType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"ViewPopupLocationType":{"Center":0,"Custom":1}}}]
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"ViewPopupLocationType":{"Center":0,"Custom":1,"NearButton":2}}}]
|
|
@@ -5,5 +5,6 @@ export var State;
|
|
|
5
5
|
State[State["Unbind"] = 2] = "Unbind";
|
|
6
6
|
State[State["Abnormal"] = 3] = "Abnormal";
|
|
7
7
|
State[State["Loading"] = 4] = "Loading";
|
|
8
|
+
State[State["InvalidMonitor"] = 5] = "InvalidMonitor";
|
|
8
9
|
State[State["Disable"] = 9] = "Disable";
|
|
9
10
|
})(State || (State = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"State":{"Normal":0,"Offline":1,"Unbind":2,"Abnormal":3,"Loading":4,"Disable":9}}}]
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"State":{"Normal":0,"Offline":1,"Unbind":2,"Abnormal":3,"Loading":4,"InvalidMonitor":5,"Disable":9}}}]
|
|
@@ -5,6 +5,7 @@ import { ConditionalEnableModel } from '../base/conditional-enable-model';
|
|
|
5
5
|
import { ConditionItemModel, GraphSetting, Point, Size } from '../shared';
|
|
6
6
|
import { DynamicDisplayModel } from '../shared/dynamic-display/dynamic-display-model';
|
|
7
7
|
import { SecurityModel } from '../base/security-model';
|
|
8
|
+
import { TextLibrarySetting } from '../base/font-setting-model';
|
|
8
9
|
export interface SwitchIndicatorLight extends ConditionalEnableModel, SecurityModel {
|
|
9
10
|
/**
|
|
10
11
|
* @type {(number)}
|
|
@@ -24,10 +25,12 @@ export interface SwitchIndicatorLight extends ConditionalEnableModel, SecurityMo
|
|
|
24
25
|
readonly graphSetting?: GraphSetting;
|
|
25
26
|
readonly location: Point;
|
|
26
27
|
readonly size: Size;
|
|
28
|
+
readonly initSize?: Size;
|
|
27
29
|
readonly isAwaysDisplay?: boolean;
|
|
28
30
|
readonly conditionItems?: ConditionItemModel[];
|
|
29
31
|
readonly dynamicSetting?: DynamicDisplayModel;
|
|
30
32
|
readonly isAwaysEnable?: boolean;
|
|
31
33
|
readonly enableItems?: ConditionItemModel[];
|
|
32
34
|
readonly fixedPositionType?: number;
|
|
35
|
+
readonly textLibrary?: TextLibrarySetting;
|
|
33
36
|
}
|
|
@@ -2,12 +2,14 @@ import { Size, Text, GraphSetting } from '../shared';
|
|
|
2
2
|
import { ConditionalEnableModel } from '../base/conditional-enable-model';
|
|
3
3
|
import { SecurityModel } from '../base';
|
|
4
4
|
import { ViewOperationType } from './view-operation-type';
|
|
5
|
+
import { TextLibrarySetting } from '../base/font-setting-model';
|
|
5
6
|
export interface ViewOperationElementModel extends ConditionalEnableModel, SecurityModel {
|
|
6
7
|
/**
|
|
7
8
|
* 版本 2 : 动态行为调整
|
|
8
9
|
* 版本 3 :使能控制调整
|
|
9
10
|
* 版本 4 :新增操作记录
|
|
10
|
-
* 版本 5
|
|
11
|
+
* 版本 5 :新增页面操作类型,之前类型都为"切换页面"
|
|
12
|
+
* 版本 6 :新增文本库支持
|
|
11
13
|
*/
|
|
12
14
|
readonly version?: number;
|
|
13
15
|
readonly viewIndex?: number;
|
|
@@ -16,4 +18,8 @@ export interface ViewOperationElementModel extends ConditionalEnableModel, Secur
|
|
|
16
18
|
readonly useGraph: boolean;
|
|
17
19
|
readonly graphSetting: GraphSetting;
|
|
18
20
|
readonly operationType: ViewOperationType;
|
|
21
|
+
/**
|
|
22
|
+
* 文本库配置(版本6新增)
|
|
23
|
+
*/
|
|
24
|
+
readonly textLibrary?: TextLibrarySetting;
|
|
19
25
|
}
|
package/package.json
CHANGED