@magic-xpa/gui 4.1000.0-dev4100.3 → 4.1000.0-dev4100.300
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/esm2020/src/Commands.mjs +3 -3
- package/esm2020/src/Events.mjs +3 -3
- package/esm2020/src/GuiEnums.mjs +2 -1
- package/esm2020/src/management/data/DcValues.mjs +4 -4
- package/esm2020/src/management/data/FieldDef.mjs +7 -7
- package/esm2020/src/management/data/NUM_TYPE.mjs +7 -7
- package/esm2020/src/management/data/RecordUtils.mjs +4 -4
- package/esm2020/src/management/exp/ExpressionInterface.mjs +2 -1
- package/esm2020/src/management/gui/DisplayConvertor.mjs +33 -10
- package/esm2020/src/management/gui/Helps.mjs +16 -16
- package/esm2020/src/management/gui/MgControlBase.mjs +13 -26
- package/esm2020/src/management/gui/MgFormBase.mjs +2 -2
- package/esm2020/src/management/gui/Property.mjs +4 -4
- package/esm2020/src/management/gui/ValidationDetails.mjs +10 -10
- package/esm2020/src/management/tasks/GuiTaskBase.mjs +16 -16
- package/fesm2015/magic-xpa-gui.mjs +112 -104
- package/fesm2015/magic-xpa-gui.mjs.map +1 -1
- package/fesm2020/magic-xpa-gui.mjs +111 -99
- package/fesm2020/magic-xpa-gui.mjs.map +1 -1
- package/package.json +4 -4
- package/src/GuiEnums.d.ts +2 -1
- package/src/management/exp/ExpressionInterface.d.ts +1 -0
- package/src/management/gui/MgControlBase.d.ts +0 -1
- package/magic-xpa-gui.d.ts +0 -2
|
@@ -26,8 +26,6 @@ class GuiMgForm extends ControlBase {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
class Events {
|
|
29
|
-
constructor() {
|
|
30
|
-
}
|
|
31
29
|
static OnFocus(ctrl, line, isProduceClick, onMultiMark) {
|
|
32
30
|
Debug.Assert(Events.FocusEvent !== null);
|
|
33
31
|
Events.FocusEvent(ctrl, line, isProduceClick, onMultiMark);
|
|
@@ -376,6 +374,8 @@ class Events {
|
|
|
376
374
|
Events.CopyDataEvent(guiMgForm, copyData);
|
|
377
375
|
}
|
|
378
376
|
}
|
|
377
|
+
constructor() {
|
|
378
|
+
}
|
|
379
379
|
}
|
|
380
380
|
Events.NonParkableLastParkedCtrlEvent = null;
|
|
381
381
|
Events.IsBatchRunningInMainContextEvent = null;
|
|
@@ -1018,6 +1018,7 @@ var CommandType;
|
|
|
1018
1018
|
CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 154] = "PROP_SET_BINDING_LEVEL";
|
|
1019
1019
|
CommandType[CommandType["SHOW_SPINNER"] = 155] = "SHOW_SPINNER";
|
|
1020
1020
|
CommandType[CommandType["SHOW_HTML_ERROR"] = 156] = "SHOW_HTML_ERROR";
|
|
1021
|
+
CommandType[CommandType["SET_WC_IDLE"] = 157] = "SET_WC_IDLE";
|
|
1021
1022
|
})(CommandType || (CommandType = {}));
|
|
1022
1023
|
var HtmlProperties;
|
|
1023
1024
|
(function (HtmlProperties) {
|
|
@@ -1154,8 +1155,6 @@ class GuiCommand {
|
|
|
1154
1155
|
}
|
|
1155
1156
|
|
|
1156
1157
|
class Commands {
|
|
1157
|
-
constructor() {
|
|
1158
|
-
}
|
|
1159
1158
|
static SetResolveCallback(resolveCallback) {
|
|
1160
1159
|
this.resolveCallback = resolveCallback;
|
|
1161
1160
|
}
|
|
@@ -1320,6 +1319,8 @@ class Commands {
|
|
|
1320
1319
|
static invoke() {
|
|
1321
1320
|
GuiCommandQueue.getInstance().invoke();
|
|
1322
1321
|
}
|
|
1322
|
+
constructor() {
|
|
1323
|
+
}
|
|
1323
1324
|
}
|
|
1324
1325
|
Commands.resolveCallback = null;
|
|
1325
1326
|
|
|
@@ -3277,6 +3278,12 @@ class ValidationDetailsBase {
|
|
|
3277
3278
|
}
|
|
3278
3279
|
|
|
3279
3280
|
class NUM_TYPE {
|
|
3281
|
+
set Data(value) {
|
|
3282
|
+
this._data = value;
|
|
3283
|
+
}
|
|
3284
|
+
get Data() {
|
|
3285
|
+
return this._data;
|
|
3286
|
+
}
|
|
3280
3287
|
constructor(recordHexStrOrByteValOrDecStrOrNumFrom, offsetOrPic, lengthOrCompIdx) {
|
|
3281
3288
|
this.COMMACHAR = ',';
|
|
3282
3289
|
this.DECIMALCHAR = '.';
|
|
@@ -3304,12 +3311,6 @@ class NUM_TYPE {
|
|
|
3304
3311
|
}
|
|
3305
3312
|
this.constructor_5(recordHexStrOrByteValOrDecStrOrNumFrom);
|
|
3306
3313
|
}
|
|
3307
|
-
set Data(value) {
|
|
3308
|
-
this._data = value;
|
|
3309
|
-
}
|
|
3310
|
-
get Data() {
|
|
3311
|
-
return this._data;
|
|
3312
|
-
}
|
|
3313
3314
|
constructor_0() {
|
|
3314
3315
|
this.initConst();
|
|
3315
3316
|
this.NUM_ZERO();
|
|
@@ -5323,17 +5324,17 @@ HebrewDate.DOW_LEN = 5;
|
|
|
5323
5324
|
HebrewDate._localDows = new Array(8);
|
|
5324
5325
|
|
|
5325
5326
|
class DisplayConvertor {
|
|
5326
|
-
constructor() {
|
|
5327
|
-
this._environment = null;
|
|
5328
|
-
this.DATECHAR = 0;
|
|
5329
|
-
this._environment = GuiEnvironment.Environment;
|
|
5330
|
-
}
|
|
5331
5327
|
static get Instance() {
|
|
5332
5328
|
if (DisplayConvertor._instance === null) {
|
|
5333
5329
|
DisplayConvertor._instance = new DisplayConvertor();
|
|
5334
5330
|
}
|
|
5335
5331
|
return DisplayConvertor._instance;
|
|
5336
5332
|
}
|
|
5333
|
+
constructor() {
|
|
5334
|
+
this._environment = null;
|
|
5335
|
+
this.DATECHAR = 0;
|
|
5336
|
+
this._environment = GuiEnvironment.Environment;
|
|
5337
|
+
}
|
|
5337
5338
|
getNewDateBreakParams() {
|
|
5338
5339
|
return new DateBreakParams();
|
|
5339
5340
|
}
|
|
@@ -6097,10 +6098,33 @@ class DisplayConvertor {
|
|
|
6097
6098
|
let time = new NUM_TYPE(dataStr).NUM_2_ULONG();
|
|
6098
6099
|
let breakParams = new TimeBreakParams();
|
|
6099
6100
|
DisplayConvertor.time_break(breakParams, time);
|
|
6100
|
-
let nativeDt = new Date();
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6101
|
+
let nativeDt = new Date(0);
|
|
6102
|
+
let maskStr = pic.getMask();
|
|
6103
|
+
let outVal = NString.ToCharArray(maskStr);
|
|
6104
|
+
let len = pic.getMaskSize();
|
|
6105
|
+
let outIdx = 0;
|
|
6106
|
+
while (len > 0) {
|
|
6107
|
+
switch (outVal[outIdx].charCodeAt(0)) {
|
|
6108
|
+
case (PICInterface.PIC_HH):
|
|
6109
|
+
nativeDt.setHours(breakParams.hour);
|
|
6110
|
+
outIdx += 2;
|
|
6111
|
+
len -= 2;
|
|
6112
|
+
break;
|
|
6113
|
+
case (PICInterface.PIC_MMT):
|
|
6114
|
+
nativeDt.setMinutes(breakParams.minute);
|
|
6115
|
+
outIdx += 2;
|
|
6116
|
+
len -= 2;
|
|
6117
|
+
break;
|
|
6118
|
+
case (PICInterface.PIC_SS):
|
|
6119
|
+
nativeDt.setSeconds(breakParams.second);
|
|
6120
|
+
outIdx += 2;
|
|
6121
|
+
len -= 2;
|
|
6122
|
+
break;
|
|
6123
|
+
default:
|
|
6124
|
+
outIdx++;
|
|
6125
|
+
len--;
|
|
6126
|
+
}
|
|
6127
|
+
}
|
|
6104
6128
|
return nativeDt;
|
|
6105
6129
|
}
|
|
6106
6130
|
time_2_a_pic(AsciiStr, AsciiL, time, pic, time_pic_Z_edt, milliSeconds) {
|
|
@@ -7088,7 +7112,7 @@ class RecordUtils {
|
|
|
7088
7112
|
case StorageAttribute.TIME:
|
|
7089
7113
|
itemVal = !toBase64
|
|
7090
7114
|
? itemVal.substr(0, significantNumSize)
|
|
7091
|
-
: Base64.encode(this.byteStreamToString(itemVal.substr(0, significantNumSize))
|
|
7115
|
+
: Base64.encode(this.byteStreamToString(itemVal.substr(0, significantNumSize)));
|
|
7092
7116
|
break;
|
|
7093
7117
|
case StorageAttribute.ALPHA:
|
|
7094
7118
|
case StorageAttribute.UNICODE:
|
|
@@ -7171,7 +7195,7 @@ class RecordUtils {
|
|
|
7171
7195
|
itemVal = itemVal.substr(pos, (fldValLen) - (pos));
|
|
7172
7196
|
itemVal = !toBase64
|
|
7173
7197
|
? StrUtil.stringToHexaDump(itemVal, 4)
|
|
7174
|
-
: Base64.encode(itemVal
|
|
7198
|
+
: Base64.encode(itemVal);
|
|
7175
7199
|
pos = fldValLen;
|
|
7176
7200
|
}
|
|
7177
7201
|
else {
|
|
@@ -7180,7 +7204,7 @@ class RecordUtils {
|
|
|
7180
7204
|
if (!toBase64)
|
|
7181
7205
|
tmpBuf.Append(StrUtil.stringToHexaDump(itemVal.substr(pos, 0x7FFF), 4));
|
|
7182
7206
|
else
|
|
7183
|
-
tmpBuf.Append(Base64.encode(itemVal.substr(pos, 0x7FFF)
|
|
7207
|
+
tmpBuf.Append(Base64.encode(itemVal.substr(pos, 0x7FFF)));
|
|
7184
7208
|
tmpBuf.Append("0000");
|
|
7185
7209
|
pos += 0x7FFF;
|
|
7186
7210
|
}
|
|
@@ -8015,6 +8039,12 @@ class CellElement {
|
|
|
8015
8039
|
}
|
|
8016
8040
|
|
|
8017
8041
|
class FieldDef {
|
|
8042
|
+
set DbModifiable(value) {
|
|
8043
|
+
this._dbModifiable = value;
|
|
8044
|
+
}
|
|
8045
|
+
get DbModifiable() {
|
|
8046
|
+
return this._dbModifiable;
|
|
8047
|
+
}
|
|
8018
8048
|
constructor(id) {
|
|
8019
8049
|
this.DefaultValue = null;
|
|
8020
8050
|
this.NullAllowed = false;
|
|
@@ -8038,12 +8068,6 @@ class FieldDef {
|
|
|
8038
8068
|
this._id = id;
|
|
8039
8069
|
this.VarDisplayName = NString.Empty;
|
|
8040
8070
|
}
|
|
8041
|
-
set DbModifiable(value) {
|
|
8042
|
-
this._dbModifiable = value;
|
|
8043
|
-
}
|
|
8044
|
-
get DbModifiable() {
|
|
8045
|
-
return this._dbModifiable;
|
|
8046
|
-
}
|
|
8047
8071
|
get PartOfDataview() {
|
|
8048
8072
|
return this._partOfDataview;
|
|
8049
8073
|
}
|
|
@@ -8777,6 +8801,9 @@ class CustomValidator {
|
|
|
8777
8801
|
getErrMessage() { return this._errorMessage; }
|
|
8778
8802
|
}
|
|
8779
8803
|
class Property {
|
|
8804
|
+
get TaskDefinitionId() {
|
|
8805
|
+
return this._taskDefinitionId;
|
|
8806
|
+
}
|
|
8780
8807
|
constructor(cId, cParentObj, parType, val) {
|
|
8781
8808
|
this._id = Int32.MinValue;
|
|
8782
8809
|
this._dataType = StorageAttribute.NONE;
|
|
@@ -8801,9 +8828,6 @@ class Property {
|
|
|
8801
8828
|
else
|
|
8802
8829
|
this.constructor_2(cId, cParentObj, parType, val);
|
|
8803
8830
|
}
|
|
8804
|
-
get TaskDefinitionId() {
|
|
8805
|
-
return this._taskDefinitionId;
|
|
8806
|
-
}
|
|
8807
8831
|
constructor_0() {
|
|
8808
8832
|
this._prevValues = new List();
|
|
8809
8833
|
}
|
|
@@ -11094,6 +11118,15 @@ class FieldValidator {
|
|
|
11094
11118
|
}
|
|
11095
11119
|
|
|
11096
11120
|
class ValidationDetails extends ValidationDetailsBase {
|
|
11121
|
+
get ErrorMessage() {
|
|
11122
|
+
return this.errMessage;
|
|
11123
|
+
}
|
|
11124
|
+
set ErrorMessage(msg) {
|
|
11125
|
+
this.errMessage = msg;
|
|
11126
|
+
}
|
|
11127
|
+
get ValidationFailed() {
|
|
11128
|
+
return this._validationFailed;
|
|
11129
|
+
}
|
|
11097
11130
|
constructor(oldvalueOrRangeStrOrVd, val, range, pic, control) {
|
|
11098
11131
|
super();
|
|
11099
11132
|
this._control = null;
|
|
@@ -11114,15 +11147,6 @@ class ValidationDetails extends ValidationDetailsBase {
|
|
|
11114
11147
|
else if (arguments.length === 1 && (oldvalueOrRangeStrOrVd === null || oldvalueOrRangeStrOrVd instanceof ValidationDetails))
|
|
11115
11148
|
this.constructor_2(oldvalueOrRangeStrOrVd);
|
|
11116
11149
|
}
|
|
11117
|
-
get ErrorMessage() {
|
|
11118
|
-
return this.errMessage;
|
|
11119
|
-
}
|
|
11120
|
-
set ErrorMessage(msg) {
|
|
11121
|
-
this.errMessage = msg;
|
|
11122
|
-
}
|
|
11123
|
-
get ValidationFailed() {
|
|
11124
|
-
return this._validationFailed;
|
|
11125
|
-
}
|
|
11126
11150
|
constructor_0(oldvalue, val, range, pic, control) {
|
|
11127
11151
|
this._picData = pic;
|
|
11128
11152
|
this._oldvalue = oldvalue;
|
|
@@ -11339,6 +11363,9 @@ class ValidationDetails extends ValidationDetailsBase {
|
|
|
11339
11363
|
const EMPTY_DCREF = -2;
|
|
11340
11364
|
const NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
|
|
11341
11365
|
class DcValues {
|
|
11366
|
+
get HasReferences() {
|
|
11367
|
+
return this._refCount > 0;
|
|
11368
|
+
}
|
|
11342
11369
|
constructor(empty) {
|
|
11343
11370
|
this._id = 0;
|
|
11344
11371
|
this._type = StorageAttribute.NONE;
|
|
@@ -11353,9 +11380,6 @@ class DcValues {
|
|
|
11353
11380
|
}
|
|
11354
11381
|
this._isNumericType = false;
|
|
11355
11382
|
}
|
|
11356
|
-
get HasReferences() {
|
|
11357
|
-
return this._refCount > 0;
|
|
11358
|
-
}
|
|
11359
11383
|
GetAttr() {
|
|
11360
11384
|
return this._type;
|
|
11361
11385
|
}
|
|
@@ -11616,6 +11640,16 @@ class FocusManager {
|
|
|
11616
11640
|
}
|
|
11617
11641
|
|
|
11618
11642
|
class MgControlBase extends GuiControlPropertyAdapter {
|
|
11643
|
+
set Form(value) {
|
|
11644
|
+
this._form = value;
|
|
11645
|
+
this.GuiMgForm = value;
|
|
11646
|
+
}
|
|
11647
|
+
get Form() {
|
|
11648
|
+
return this._form;
|
|
11649
|
+
}
|
|
11650
|
+
get ControlIsn() {
|
|
11651
|
+
return this._controlIsn;
|
|
11652
|
+
}
|
|
11619
11653
|
constructor(type, parentMgForm, parentControl) {
|
|
11620
11654
|
super();
|
|
11621
11655
|
this._ditIdx = 0;
|
|
@@ -11668,16 +11702,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
|
|
|
11668
11702
|
}
|
|
11669
11703
|
this.constructor_1(type, parentMgForm, parentControl);
|
|
11670
11704
|
}
|
|
11671
|
-
set Form(value) {
|
|
11672
|
-
this._form = value;
|
|
11673
|
-
this.GuiMgForm = value;
|
|
11674
|
-
}
|
|
11675
|
-
get Form() {
|
|
11676
|
-
return this._form;
|
|
11677
|
-
}
|
|
11678
|
-
get ControlIsn() {
|
|
11679
|
-
return this._controlIsn;
|
|
11680
|
-
}
|
|
11681
11705
|
constructor_0() {
|
|
11682
11706
|
this._linkedControls = new List();
|
|
11683
11707
|
this.DataType = StorageAttribute.NONE;
|
|
@@ -13152,7 +13176,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
|
|
|
13152
13176
|
valueChanged = yield this.refreshAndSetItemListByDataSource(line, valueChanged);
|
|
13153
13177
|
if (!valueChanged)
|
|
13154
13178
|
return;
|
|
13155
|
-
this.setRadioChecked(this.Value);
|
|
13179
|
+
this.setRadioChecked(+this.Value);
|
|
13156
13180
|
break;
|
|
13157
13181
|
default:
|
|
13158
13182
|
Events.WriteExceptionToLog(NString.Format("in Control.RefreshDisplayValue() unknown type: {0}", this.Type));
|
|
@@ -13255,38 +13279,21 @@ class MgControlBase extends GuiControlPropertyAdapter {
|
|
|
13255
13279
|
}
|
|
13256
13280
|
});
|
|
13257
13281
|
}
|
|
13258
|
-
refreshAndSetItemsListForRadioButton(line, execComputeChoice) {
|
|
13259
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13260
|
-
let displayList = yield this.refreshDispRange(execComputeChoice);
|
|
13261
|
-
let options = displayList.map((displayValue, counter) => {
|
|
13262
|
-
let index = counter.toString();
|
|
13263
|
-
return { index, displayValue };
|
|
13264
|
-
});
|
|
13265
|
-
Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
|
|
13266
|
-
});
|
|
13267
|
-
}
|
|
13268
13282
|
refreshAndSetItemsList(line, execComputeChoice) {
|
|
13269
13283
|
const _super = Object.create(null, {
|
|
13270
|
-
|
|
13271
|
-
isTabControl: { get: () => super.isTabControl },
|
|
13272
|
-
isRadio: { get: () => super.isRadio }
|
|
13284
|
+
isChoiceControl: { get: () => super.isChoiceControl }
|
|
13273
13285
|
});
|
|
13274
13286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13275
13287
|
if (execComputeChoice) {
|
|
13276
13288
|
this.clearRange(line);
|
|
13277
13289
|
}
|
|
13278
13290
|
let optionsStrings = yield this.refreshDispRange(execComputeChoice);
|
|
13279
|
-
if (_super.
|
|
13291
|
+
if (_super.isChoiceControl.call(this) || this.HasAutocomplete()) {
|
|
13280
13292
|
let options = optionsStrings.map((displayValue, index) => {
|
|
13281
13293
|
return { index, displayValue };
|
|
13282
13294
|
});
|
|
13283
13295
|
Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
|
|
13284
13296
|
}
|
|
13285
|
-
else {
|
|
13286
|
-
if (_super.isRadio.call(this)) {
|
|
13287
|
-
yield this.refreshAndSetItemsListForRadioButton(line, execComputeChoice);
|
|
13288
|
-
}
|
|
13289
|
-
}
|
|
13290
13297
|
});
|
|
13291
13298
|
}
|
|
13292
13299
|
refreshDispRange(execComputeChoice) {
|
|
@@ -14025,7 +14032,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
|
|
|
14025
14032
|
}
|
|
14026
14033
|
}
|
|
14027
14034
|
else {
|
|
14028
|
-
items.AddRange(yield mgControl.
|
|
14035
|
+
items.AddRange(yield mgControl.GetDisplayRange());
|
|
14029
14036
|
}
|
|
14030
14037
|
return MgFormBase.ConvertArrayListToString(items, false);
|
|
14031
14038
|
}
|
|
@@ -15217,6 +15224,7 @@ ExpressionInterface.EXP_OP_CLIENT_DB_DISCONNECT = 636;
|
|
|
15217
15224
|
ExpressionInterface.EXP_OP_DATAVIEW_TO_DATASOURCE = 637;
|
|
15218
15225
|
ExpressionInterface.EXP_OP_CLIENT_DB_DEL = 638;
|
|
15219
15226
|
ExpressionInterface.EXP_OP_VARDISPLAYNAME = 647;
|
|
15227
|
+
ExpressionInterface.EXP_OP_CONTROL_ITEMS_REFRESH = 649;
|
|
15220
15228
|
ExpressionInterface.EXP_OP_VARCONTROLID = 650;
|
|
15221
15229
|
ExpressionInterface.EXP_OP_CONTROLITEMSLIST = 651;
|
|
15222
15230
|
ExpressionInterface.EXP_OP_CONTROLDISPLAYLIST = 652;
|
|
@@ -15534,6 +15542,9 @@ class ExpVal {
|
|
|
15534
15542
|
class MagicHelp {
|
|
15535
15543
|
}
|
|
15536
15544
|
class InternalHelp extends MagicHelp {
|
|
15545
|
+
GetHelpType() {
|
|
15546
|
+
return HelpType.Internal;
|
|
15547
|
+
}
|
|
15537
15548
|
constructor() {
|
|
15538
15549
|
super();
|
|
15539
15550
|
this.val = null;
|
|
@@ -15550,47 +15561,44 @@ class InternalHelp extends MagicHelp {
|
|
|
15550
15561
|
this.TitleBar = 0;
|
|
15551
15562
|
this.FontTableIndex = 0;
|
|
15552
15563
|
}
|
|
15553
|
-
GetHelpType() {
|
|
15554
|
-
return HelpType.Internal;
|
|
15555
|
-
}
|
|
15556
15564
|
}
|
|
15557
15565
|
class PromptpHelp extends MagicHelp {
|
|
15566
|
+
GetHelpType() {
|
|
15567
|
+
return HelpType.Prompt;
|
|
15568
|
+
}
|
|
15558
15569
|
constructor() {
|
|
15559
15570
|
super();
|
|
15560
15571
|
this.PromptHelpText = null;
|
|
15561
15572
|
}
|
|
15562
|
-
GetHelpType() {
|
|
15563
|
-
return HelpType.Prompt;
|
|
15564
|
-
}
|
|
15565
15573
|
}
|
|
15566
15574
|
class ToolTipHelp extends MagicHelp {
|
|
15575
|
+
GetHelpType() {
|
|
15576
|
+
return HelpType.Tooltip;
|
|
15577
|
+
}
|
|
15567
15578
|
constructor() {
|
|
15568
15579
|
super();
|
|
15569
15580
|
this.tooltipHelpText = null;
|
|
15570
15581
|
}
|
|
15571
|
-
GetHelpType() {
|
|
15572
|
-
return HelpType.Tooltip;
|
|
15573
|
-
}
|
|
15574
15582
|
}
|
|
15575
15583
|
class URLHelp extends MagicHelp {
|
|
15584
|
+
GetHelpType() {
|
|
15585
|
+
return HelpType.URL;
|
|
15586
|
+
}
|
|
15576
15587
|
constructor() {
|
|
15577
15588
|
super();
|
|
15578
15589
|
this.urlHelpText = null;
|
|
15579
15590
|
}
|
|
15580
|
-
GetHelpType() {
|
|
15581
|
-
return HelpType.URL;
|
|
15582
|
-
}
|
|
15583
15591
|
}
|
|
15584
15592
|
class WindowsHelp extends MagicHelp {
|
|
15593
|
+
GetHelpType() {
|
|
15594
|
+
return HelpType.Windows;
|
|
15595
|
+
}
|
|
15585
15596
|
constructor() {
|
|
15586
15597
|
super();
|
|
15587
15598
|
this.FilePath = null;
|
|
15588
15599
|
this.HelpCommand = 0;
|
|
15589
15600
|
this.HelpKey = null;
|
|
15590
15601
|
}
|
|
15591
|
-
GetHelpType() {
|
|
15592
|
-
return HelpType.Windows;
|
|
15593
|
-
}
|
|
15594
15602
|
}
|
|
15595
15603
|
class Helps {
|
|
15596
15604
|
constructor() {
|
|
@@ -15770,6 +15778,21 @@ class GuiDataCollection {
|
|
|
15770
15778
|
GuiDataCollection.MGDataTable = null;
|
|
15771
15779
|
|
|
15772
15780
|
class GuiTaskBase {
|
|
15781
|
+
Init() {
|
|
15782
|
+
this.DataView.Init();
|
|
15783
|
+
}
|
|
15784
|
+
get RouterPath() {
|
|
15785
|
+
return this.routerPath;
|
|
15786
|
+
}
|
|
15787
|
+
get RouterParams() {
|
|
15788
|
+
return this.routeParams;
|
|
15789
|
+
}
|
|
15790
|
+
get InDefaultRouterOutlet() {
|
|
15791
|
+
return this.inDefaultRouterOutlet;
|
|
15792
|
+
}
|
|
15793
|
+
get IsBlockingBatch() {
|
|
15794
|
+
return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
|
|
15795
|
+
}
|
|
15773
15796
|
constructor() {
|
|
15774
15797
|
this._flowMonitor = null;
|
|
15775
15798
|
this._keyboardMappingState = 0xFFFF0000;
|
|
@@ -15814,21 +15837,6 @@ class GuiTaskBase {
|
|
|
15814
15837
|
this._nullArithmetic = Constants.NULL_ARITH_USE_DEF;
|
|
15815
15838
|
this._propTab = new PropTable(this);
|
|
15816
15839
|
}
|
|
15817
|
-
Init() {
|
|
15818
|
-
this.DataView.Init();
|
|
15819
|
-
}
|
|
15820
|
-
get RouterPath() {
|
|
15821
|
-
return this.routerPath;
|
|
15822
|
-
}
|
|
15823
|
-
get RouterParams() {
|
|
15824
|
-
return this.routeParams;
|
|
15825
|
-
}
|
|
15826
|
-
get InDefaultRouterOutlet() {
|
|
15827
|
-
return this.inDefaultRouterOutlet;
|
|
15828
|
-
}
|
|
15829
|
-
get IsBlockingBatch() {
|
|
15830
|
-
return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
|
|
15831
|
-
}
|
|
15832
15840
|
getTaskTag() {
|
|
15833
15841
|
return this._taskTag;
|
|
15834
15842
|
}
|