@magic-xpa/gui 4.1000.0-dev4100.32 → 4.1000.0-dev4100.321
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 +3 -1
- package/esm2020/src/management/data/DcValues.mjs +4 -4
- package/esm2020/src/management/data/FieldDef.mjs +7 -7
- package/esm2020/src/management/data/GuiDataViewBase.mjs +1 -1
- package/esm2020/src/management/data/NUM_TYPE.mjs +7 -7
- package/esm2020/src/management/data/RecordUtils.mjs +4 -4
- 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 +3 -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 +113 -104
- package/fesm2015/magic-xpa-gui.mjs.map +1 -1
- package/fesm2020/magic-xpa-gui.mjs +112 -99
- package/fesm2020/magic-xpa-gui.mjs.map +1 -1
- package/package.json +4 -4
- package/src/GuiEnums.d.ts +3 -1
- package/src/management/data/GuiDataViewBase.d.ts +1 -0
- package/src/management/gui/MgControlBase.d.ts +0 -1
- package/magic-xpa-gui.d.ts +0 -2
|
@@ -25,8 +25,6 @@ class GuiMgForm extends ControlBase {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
class Events {
|
|
28
|
-
constructor() {
|
|
29
|
-
}
|
|
30
28
|
static OnFocus(ctrl, line, isProduceClick, onMultiMark) {
|
|
31
29
|
Debug.Assert(Events.FocusEvent !== null);
|
|
32
30
|
Events.FocusEvent(ctrl, line, isProduceClick, onMultiMark);
|
|
@@ -375,6 +373,8 @@ class Events {
|
|
|
375
373
|
Events.CopyDataEvent(guiMgForm, copyData);
|
|
376
374
|
}
|
|
377
375
|
}
|
|
376
|
+
constructor() {
|
|
377
|
+
}
|
|
378
378
|
}
|
|
379
379
|
Events.NonParkableLastParkedCtrlEvent = null;
|
|
380
380
|
Events.IsBatchRunningInMainContextEvent = null;
|
|
@@ -1017,6 +1017,8 @@ var CommandType;
|
|
|
1017
1017
|
CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 154] = "PROP_SET_BINDING_LEVEL";
|
|
1018
1018
|
CommandType[CommandType["SHOW_SPINNER"] = 155] = "SHOW_SPINNER";
|
|
1019
1019
|
CommandType[CommandType["SHOW_HTML_ERROR"] = 156] = "SHOW_HTML_ERROR";
|
|
1020
|
+
CommandType[CommandType["SET_WC_IDLE"] = 157] = "SET_WC_IDLE";
|
|
1021
|
+
CommandType[CommandType["SET_CHUNK_SIZE"] = 158] = "SET_CHUNK_SIZE";
|
|
1020
1022
|
})(CommandType || (CommandType = {}));
|
|
1021
1023
|
var HtmlProperties;
|
|
1022
1024
|
(function (HtmlProperties) {
|
|
@@ -1153,8 +1155,6 @@ class GuiCommand {
|
|
|
1153
1155
|
}
|
|
1154
1156
|
|
|
1155
1157
|
class Commands {
|
|
1156
|
-
constructor() {
|
|
1157
|
-
}
|
|
1158
1158
|
static SetResolveCallback(resolveCallback) {
|
|
1159
1159
|
this.resolveCallback = resolveCallback;
|
|
1160
1160
|
}
|
|
@@ -1317,6 +1317,8 @@ class Commands {
|
|
|
1317
1317
|
static invoke() {
|
|
1318
1318
|
GuiCommandQueue.getInstance().invoke();
|
|
1319
1319
|
}
|
|
1320
|
+
constructor() {
|
|
1321
|
+
}
|
|
1320
1322
|
}
|
|
1321
1323
|
Commands.resolveCallback = null;
|
|
1322
1324
|
|
|
@@ -3270,6 +3272,12 @@ class ValidationDetailsBase {
|
|
|
3270
3272
|
}
|
|
3271
3273
|
|
|
3272
3274
|
class NUM_TYPE {
|
|
3275
|
+
set Data(value) {
|
|
3276
|
+
this._data = value;
|
|
3277
|
+
}
|
|
3278
|
+
get Data() {
|
|
3279
|
+
return this._data;
|
|
3280
|
+
}
|
|
3273
3281
|
constructor(recordHexStrOrByteValOrDecStrOrNumFrom, offsetOrPic, lengthOrCompIdx) {
|
|
3274
3282
|
this.COMMACHAR = ',';
|
|
3275
3283
|
this.DECIMALCHAR = '.';
|
|
@@ -3297,12 +3305,6 @@ class NUM_TYPE {
|
|
|
3297
3305
|
}
|
|
3298
3306
|
this.constructor_5(recordHexStrOrByteValOrDecStrOrNumFrom);
|
|
3299
3307
|
}
|
|
3300
|
-
set Data(value) {
|
|
3301
|
-
this._data = value;
|
|
3302
|
-
}
|
|
3303
|
-
get Data() {
|
|
3304
|
-
return this._data;
|
|
3305
|
-
}
|
|
3306
3308
|
constructor_0() {
|
|
3307
3309
|
this.initConst();
|
|
3308
3310
|
this.NUM_ZERO();
|
|
@@ -5316,17 +5318,17 @@ HebrewDate.DOW_LEN = 5;
|
|
|
5316
5318
|
HebrewDate._localDows = new Array(8);
|
|
5317
5319
|
|
|
5318
5320
|
class DisplayConvertor {
|
|
5319
|
-
constructor() {
|
|
5320
|
-
this._environment = null;
|
|
5321
|
-
this.DATECHAR = 0;
|
|
5322
|
-
this._environment = GuiEnvironment.Environment;
|
|
5323
|
-
}
|
|
5324
5321
|
static get Instance() {
|
|
5325
5322
|
if (DisplayConvertor._instance === null) {
|
|
5326
5323
|
DisplayConvertor._instance = new DisplayConvertor();
|
|
5327
5324
|
}
|
|
5328
5325
|
return DisplayConvertor._instance;
|
|
5329
5326
|
}
|
|
5327
|
+
constructor() {
|
|
5328
|
+
this._environment = null;
|
|
5329
|
+
this.DATECHAR = 0;
|
|
5330
|
+
this._environment = GuiEnvironment.Environment;
|
|
5331
|
+
}
|
|
5330
5332
|
getNewDateBreakParams() {
|
|
5331
5333
|
return new DateBreakParams();
|
|
5332
5334
|
}
|
|
@@ -6090,10 +6092,33 @@ class DisplayConvertor {
|
|
|
6090
6092
|
let time = new NUM_TYPE(dataStr).NUM_2_ULONG();
|
|
6091
6093
|
let breakParams = new TimeBreakParams();
|
|
6092
6094
|
DisplayConvertor.time_break(breakParams, time);
|
|
6093
|
-
let nativeDt = new Date();
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6095
|
+
let nativeDt = new Date(0);
|
|
6096
|
+
let maskStr = pic.getMask();
|
|
6097
|
+
let outVal = NString.ToCharArray(maskStr);
|
|
6098
|
+
let len = pic.getMaskSize();
|
|
6099
|
+
let outIdx = 0;
|
|
6100
|
+
while (len > 0) {
|
|
6101
|
+
switch (outVal[outIdx].charCodeAt(0)) {
|
|
6102
|
+
case (PICInterface.PIC_HH):
|
|
6103
|
+
nativeDt.setHours(breakParams.hour);
|
|
6104
|
+
outIdx += 2;
|
|
6105
|
+
len -= 2;
|
|
6106
|
+
break;
|
|
6107
|
+
case (PICInterface.PIC_MMT):
|
|
6108
|
+
nativeDt.setMinutes(breakParams.minute);
|
|
6109
|
+
outIdx += 2;
|
|
6110
|
+
len -= 2;
|
|
6111
|
+
break;
|
|
6112
|
+
case (PICInterface.PIC_SS):
|
|
6113
|
+
nativeDt.setSeconds(breakParams.second);
|
|
6114
|
+
outIdx += 2;
|
|
6115
|
+
len -= 2;
|
|
6116
|
+
break;
|
|
6117
|
+
default:
|
|
6118
|
+
outIdx++;
|
|
6119
|
+
len--;
|
|
6120
|
+
}
|
|
6121
|
+
}
|
|
6097
6122
|
return nativeDt;
|
|
6098
6123
|
}
|
|
6099
6124
|
time_2_a_pic(AsciiStr, AsciiL, time, pic, time_pic_Z_edt, milliSeconds) {
|
|
@@ -7081,7 +7106,7 @@ class RecordUtils {
|
|
|
7081
7106
|
case StorageAttribute.TIME:
|
|
7082
7107
|
itemVal = !toBase64
|
|
7083
7108
|
? itemVal.substr(0, significantNumSize)
|
|
7084
|
-
: Base64.encode(this.byteStreamToString(itemVal.substr(0, significantNumSize))
|
|
7109
|
+
: Base64.encode(this.byteStreamToString(itemVal.substr(0, significantNumSize)));
|
|
7085
7110
|
break;
|
|
7086
7111
|
case StorageAttribute.ALPHA:
|
|
7087
7112
|
case StorageAttribute.UNICODE:
|
|
@@ -7164,7 +7189,7 @@ class RecordUtils {
|
|
|
7164
7189
|
itemVal = itemVal.substr(pos, (fldValLen) - (pos));
|
|
7165
7190
|
itemVal = !toBase64
|
|
7166
7191
|
? StrUtil.stringToHexaDump(itemVal, 4)
|
|
7167
|
-
: Base64.encode(itemVal
|
|
7192
|
+
: Base64.encode(itemVal);
|
|
7168
7193
|
pos = fldValLen;
|
|
7169
7194
|
}
|
|
7170
7195
|
else {
|
|
@@ -7173,7 +7198,7 @@ class RecordUtils {
|
|
|
7173
7198
|
if (!toBase64)
|
|
7174
7199
|
tmpBuf.Append(StrUtil.stringToHexaDump(itemVal.substr(pos, 0x7FFF), 4));
|
|
7175
7200
|
else
|
|
7176
|
-
tmpBuf.Append(Base64.encode(itemVal.substr(pos, 0x7FFF)
|
|
7201
|
+
tmpBuf.Append(Base64.encode(itemVal.substr(pos, 0x7FFF)));
|
|
7177
7202
|
tmpBuf.Append("0000");
|
|
7178
7203
|
pos += 0x7FFF;
|
|
7179
7204
|
}
|
|
@@ -8008,6 +8033,12 @@ class CellElement {
|
|
|
8008
8033
|
}
|
|
8009
8034
|
|
|
8010
8035
|
class FieldDef {
|
|
8036
|
+
set DbModifiable(value) {
|
|
8037
|
+
this._dbModifiable = value;
|
|
8038
|
+
}
|
|
8039
|
+
get DbModifiable() {
|
|
8040
|
+
return this._dbModifiable;
|
|
8041
|
+
}
|
|
8011
8042
|
constructor(id) {
|
|
8012
8043
|
this.DefaultValue = null;
|
|
8013
8044
|
this.NullAllowed = false;
|
|
@@ -8031,12 +8062,6 @@ class FieldDef {
|
|
|
8031
8062
|
this._id = id;
|
|
8032
8063
|
this.VarDisplayName = NString.Empty;
|
|
8033
8064
|
}
|
|
8034
|
-
set DbModifiable(value) {
|
|
8035
|
-
this._dbModifiable = value;
|
|
8036
|
-
}
|
|
8037
|
-
get DbModifiable() {
|
|
8038
|
-
return this._dbModifiable;
|
|
8039
|
-
}
|
|
8040
8065
|
get PartOfDataview() {
|
|
8041
8066
|
return this._partOfDataview;
|
|
8042
8067
|
}
|
|
@@ -8756,6 +8781,9 @@ class CustomValidator {
|
|
|
8756
8781
|
getErrMessage() { return this._errorMessage; }
|
|
8757
8782
|
}
|
|
8758
8783
|
class Property {
|
|
8784
|
+
get TaskDefinitionId() {
|
|
8785
|
+
return this._taskDefinitionId;
|
|
8786
|
+
}
|
|
8759
8787
|
constructor(cId, cParentObj, parType, val) {
|
|
8760
8788
|
this._id = Int32.MinValue;
|
|
8761
8789
|
this._dataType = StorageAttribute.NONE;
|
|
@@ -8780,9 +8808,6 @@ class Property {
|
|
|
8780
8808
|
else
|
|
8781
8809
|
this.constructor_2(cId, cParentObj, parType, val);
|
|
8782
8810
|
}
|
|
8783
|
-
get TaskDefinitionId() {
|
|
8784
|
-
return this._taskDefinitionId;
|
|
8785
|
-
}
|
|
8786
8811
|
constructor_0() {
|
|
8787
8812
|
this._prevValues = new List();
|
|
8788
8813
|
}
|
|
@@ -11041,6 +11066,15 @@ class FieldValidator {
|
|
|
11041
11066
|
}
|
|
11042
11067
|
|
|
11043
11068
|
class ValidationDetails extends ValidationDetailsBase {
|
|
11069
|
+
get ErrorMessage() {
|
|
11070
|
+
return this.errMessage;
|
|
11071
|
+
}
|
|
11072
|
+
set ErrorMessage(msg) {
|
|
11073
|
+
this.errMessage = msg;
|
|
11074
|
+
}
|
|
11075
|
+
get ValidationFailed() {
|
|
11076
|
+
return this._validationFailed;
|
|
11077
|
+
}
|
|
11044
11078
|
constructor(oldvalueOrRangeStrOrVd, val, range, pic, control) {
|
|
11045
11079
|
super();
|
|
11046
11080
|
this._control = null;
|
|
@@ -11061,15 +11095,6 @@ class ValidationDetails extends ValidationDetailsBase {
|
|
|
11061
11095
|
else if (arguments.length === 1 && (oldvalueOrRangeStrOrVd === null || oldvalueOrRangeStrOrVd instanceof ValidationDetails))
|
|
11062
11096
|
this.constructor_2(oldvalueOrRangeStrOrVd);
|
|
11063
11097
|
}
|
|
11064
|
-
get ErrorMessage() {
|
|
11065
|
-
return this.errMessage;
|
|
11066
|
-
}
|
|
11067
|
-
set ErrorMessage(msg) {
|
|
11068
|
-
this.errMessage = msg;
|
|
11069
|
-
}
|
|
11070
|
-
get ValidationFailed() {
|
|
11071
|
-
return this._validationFailed;
|
|
11072
|
-
}
|
|
11073
11098
|
constructor_0(oldvalue, val, range, pic, control) {
|
|
11074
11099
|
this._picData = pic;
|
|
11075
11100
|
this._oldvalue = oldvalue;
|
|
@@ -11286,6 +11311,9 @@ class ValidationDetails extends ValidationDetailsBase {
|
|
|
11286
11311
|
const EMPTY_DCREF = -2;
|
|
11287
11312
|
const NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
|
|
11288
11313
|
class DcValues {
|
|
11314
|
+
get HasReferences() {
|
|
11315
|
+
return this._refCount > 0;
|
|
11316
|
+
}
|
|
11289
11317
|
constructor(empty) {
|
|
11290
11318
|
this._id = 0;
|
|
11291
11319
|
this._type = StorageAttribute.NONE;
|
|
@@ -11300,9 +11328,6 @@ class DcValues {
|
|
|
11300
11328
|
}
|
|
11301
11329
|
this._isNumericType = false;
|
|
11302
11330
|
}
|
|
11303
|
-
get HasReferences() {
|
|
11304
|
-
return this._refCount > 0;
|
|
11305
|
-
}
|
|
11306
11331
|
GetAttr() {
|
|
11307
11332
|
return this._type;
|
|
11308
11333
|
}
|
|
@@ -11557,6 +11582,16 @@ class FocusManager {
|
|
|
11557
11582
|
}
|
|
11558
11583
|
|
|
11559
11584
|
class MgControlBase extends GuiControlPropertyAdapter {
|
|
11585
|
+
set Form(value) {
|
|
11586
|
+
this._form = value;
|
|
11587
|
+
this.GuiMgForm = value;
|
|
11588
|
+
}
|
|
11589
|
+
get Form() {
|
|
11590
|
+
return this._form;
|
|
11591
|
+
}
|
|
11592
|
+
get ControlIsn() {
|
|
11593
|
+
return this._controlIsn;
|
|
11594
|
+
}
|
|
11560
11595
|
constructor(type, parentMgForm, parentControl) {
|
|
11561
11596
|
super();
|
|
11562
11597
|
this._ditIdx = 0;
|
|
@@ -11609,16 +11644,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
|
|
|
11609
11644
|
}
|
|
11610
11645
|
this.constructor_1(type, parentMgForm, parentControl);
|
|
11611
11646
|
}
|
|
11612
|
-
set Form(value) {
|
|
11613
|
-
this._form = value;
|
|
11614
|
-
this.GuiMgForm = value;
|
|
11615
|
-
}
|
|
11616
|
-
get Form() {
|
|
11617
|
-
return this._form;
|
|
11618
|
-
}
|
|
11619
|
-
get ControlIsn() {
|
|
11620
|
-
return this._controlIsn;
|
|
11621
|
-
}
|
|
11622
11647
|
constructor_0() {
|
|
11623
11648
|
this._linkedControls = new List();
|
|
11624
11649
|
this.DataType = StorageAttribute.NONE;
|
|
@@ -13030,7 +13055,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
|
|
|
13030
13055
|
valueChanged = await this.refreshAndSetItemListByDataSource(line, valueChanged);
|
|
13031
13056
|
if (!valueChanged)
|
|
13032
13057
|
return;
|
|
13033
|
-
this.setRadioChecked(this.Value);
|
|
13058
|
+
this.setRadioChecked(+this.Value);
|
|
13034
13059
|
break;
|
|
13035
13060
|
default:
|
|
13036
13061
|
Events.WriteExceptionToLog(NString.Format("in Control.RefreshDisplayValue() unknown type: {0}", this.Type));
|
|
@@ -13121,30 +13146,17 @@ class MgControlBase extends GuiControlPropertyAdapter {
|
|
|
13121
13146
|
await this.SetAndRefreshDisplayValue(currentLinkValue, this.IsNull);
|
|
13122
13147
|
}
|
|
13123
13148
|
}
|
|
13124
|
-
async refreshAndSetItemsListForRadioButton(line, execComputeChoice) {
|
|
13125
|
-
let displayList = await this.refreshDispRange(execComputeChoice);
|
|
13126
|
-
let options = displayList.map((displayValue, counter) => {
|
|
13127
|
-
let index = counter.toString();
|
|
13128
|
-
return { index, displayValue };
|
|
13129
|
-
});
|
|
13130
|
-
Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
|
|
13131
|
-
}
|
|
13132
13149
|
async refreshAndSetItemsList(line, execComputeChoice) {
|
|
13133
13150
|
if (execComputeChoice) {
|
|
13134
13151
|
this.clearRange(line);
|
|
13135
13152
|
}
|
|
13136
13153
|
let optionsStrings = await this.refreshDispRange(execComputeChoice);
|
|
13137
|
-
if (super.
|
|
13154
|
+
if (super.isChoiceControl() || this.HasAutocomplete()) {
|
|
13138
13155
|
let options = optionsStrings.map((displayValue, index) => {
|
|
13139
13156
|
return { index, displayValue };
|
|
13140
13157
|
});
|
|
13141
13158
|
Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
|
|
13142
13159
|
}
|
|
13143
|
-
else {
|
|
13144
|
-
if (super.isRadio()) {
|
|
13145
|
-
await this.refreshAndSetItemsListForRadioButton(line, execComputeChoice);
|
|
13146
|
-
}
|
|
13147
|
-
}
|
|
13148
13160
|
}
|
|
13149
13161
|
async refreshDispRange(execComputeChoice) {
|
|
13150
13162
|
let selectCmd = new Array(0);
|
|
@@ -13856,7 +13868,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
|
|
|
13856
13868
|
}
|
|
13857
13869
|
}
|
|
13858
13870
|
else {
|
|
13859
|
-
items.AddRange(await mgControl.
|
|
13871
|
+
items.AddRange(await mgControl.GetDisplayRange());
|
|
13860
13872
|
}
|
|
13861
13873
|
return MgFormBase.ConvertArrayListToString(items, false);
|
|
13862
13874
|
}
|
|
@@ -14206,6 +14218,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
|
|
|
14206
14218
|
InitTableControl_1(dvSize, tableItemsCount) {
|
|
14207
14219
|
if (this._tableMgControl != null) {
|
|
14208
14220
|
Commands.addWithNumber(CommandType.SET_TABLE_ITEMS_COUNT, this._tableMgControl, tableItemsCount);
|
|
14221
|
+
Commands.addWithNumber(CommandType.SET_CHUNK_SIZE, this._tableMgControl, (this._task.DataView).getChunkSize());
|
|
14209
14222
|
this._tableItemsCount = tableItemsCount;
|
|
14210
14223
|
this.Rows.SetSize(dvSize);
|
|
14211
14224
|
this._prevGuiTopIndex = -2;
|
|
@@ -15359,6 +15372,9 @@ class ExpVal {
|
|
|
15359
15372
|
class MagicHelp {
|
|
15360
15373
|
}
|
|
15361
15374
|
class InternalHelp extends MagicHelp {
|
|
15375
|
+
GetHelpType() {
|
|
15376
|
+
return HelpType.Internal;
|
|
15377
|
+
}
|
|
15362
15378
|
constructor() {
|
|
15363
15379
|
super();
|
|
15364
15380
|
this.val = null;
|
|
@@ -15375,47 +15391,44 @@ class InternalHelp extends MagicHelp {
|
|
|
15375
15391
|
this.TitleBar = 0;
|
|
15376
15392
|
this.FontTableIndex = 0;
|
|
15377
15393
|
}
|
|
15378
|
-
GetHelpType() {
|
|
15379
|
-
return HelpType.Internal;
|
|
15380
|
-
}
|
|
15381
15394
|
}
|
|
15382
15395
|
class PromptpHelp extends MagicHelp {
|
|
15396
|
+
GetHelpType() {
|
|
15397
|
+
return HelpType.Prompt;
|
|
15398
|
+
}
|
|
15383
15399
|
constructor() {
|
|
15384
15400
|
super();
|
|
15385
15401
|
this.PromptHelpText = null;
|
|
15386
15402
|
}
|
|
15387
|
-
GetHelpType() {
|
|
15388
|
-
return HelpType.Prompt;
|
|
15389
|
-
}
|
|
15390
15403
|
}
|
|
15391
15404
|
class ToolTipHelp extends MagicHelp {
|
|
15405
|
+
GetHelpType() {
|
|
15406
|
+
return HelpType.Tooltip;
|
|
15407
|
+
}
|
|
15392
15408
|
constructor() {
|
|
15393
15409
|
super();
|
|
15394
15410
|
this.tooltipHelpText = null;
|
|
15395
15411
|
}
|
|
15396
|
-
GetHelpType() {
|
|
15397
|
-
return HelpType.Tooltip;
|
|
15398
|
-
}
|
|
15399
15412
|
}
|
|
15400
15413
|
class URLHelp extends MagicHelp {
|
|
15414
|
+
GetHelpType() {
|
|
15415
|
+
return HelpType.URL;
|
|
15416
|
+
}
|
|
15401
15417
|
constructor() {
|
|
15402
15418
|
super();
|
|
15403
15419
|
this.urlHelpText = null;
|
|
15404
15420
|
}
|
|
15405
|
-
GetHelpType() {
|
|
15406
|
-
return HelpType.URL;
|
|
15407
|
-
}
|
|
15408
15421
|
}
|
|
15409
15422
|
class WindowsHelp extends MagicHelp {
|
|
15423
|
+
GetHelpType() {
|
|
15424
|
+
return HelpType.Windows;
|
|
15425
|
+
}
|
|
15410
15426
|
constructor() {
|
|
15411
15427
|
super();
|
|
15412
15428
|
this.FilePath = null;
|
|
15413
15429
|
this.HelpCommand = 0;
|
|
15414
15430
|
this.HelpKey = null;
|
|
15415
15431
|
}
|
|
15416
|
-
GetHelpType() {
|
|
15417
|
-
return HelpType.Windows;
|
|
15418
|
-
}
|
|
15419
15432
|
}
|
|
15420
15433
|
class Helps {
|
|
15421
15434
|
constructor() {
|
|
@@ -15595,6 +15608,21 @@ class GuiDataCollection {
|
|
|
15595
15608
|
GuiDataCollection.MGDataTable = null;
|
|
15596
15609
|
|
|
15597
15610
|
class GuiTaskBase {
|
|
15611
|
+
Init() {
|
|
15612
|
+
this.DataView.Init();
|
|
15613
|
+
}
|
|
15614
|
+
get RouterPath() {
|
|
15615
|
+
return this.routerPath;
|
|
15616
|
+
}
|
|
15617
|
+
get RouterParams() {
|
|
15618
|
+
return this.routeParams;
|
|
15619
|
+
}
|
|
15620
|
+
get InDefaultRouterOutlet() {
|
|
15621
|
+
return this.inDefaultRouterOutlet;
|
|
15622
|
+
}
|
|
15623
|
+
get IsBlockingBatch() {
|
|
15624
|
+
return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
|
|
15625
|
+
}
|
|
15598
15626
|
constructor() {
|
|
15599
15627
|
this._flowMonitor = null;
|
|
15600
15628
|
this._keyboardMappingState = 0xFFFF0000;
|
|
@@ -15639,21 +15667,6 @@ class GuiTaskBase {
|
|
|
15639
15667
|
this._nullArithmetic = Constants.NULL_ARITH_USE_DEF;
|
|
15640
15668
|
this._propTab = new PropTable(this);
|
|
15641
15669
|
}
|
|
15642
|
-
Init() {
|
|
15643
|
-
this.DataView.Init();
|
|
15644
|
-
}
|
|
15645
|
-
get RouterPath() {
|
|
15646
|
-
return this.routerPath;
|
|
15647
|
-
}
|
|
15648
|
-
get RouterParams() {
|
|
15649
|
-
return this.routeParams;
|
|
15650
|
-
}
|
|
15651
|
-
get InDefaultRouterOutlet() {
|
|
15652
|
-
return this.inDefaultRouterOutlet;
|
|
15653
|
-
}
|
|
15654
|
-
get IsBlockingBatch() {
|
|
15655
|
-
return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
|
|
15656
|
-
}
|
|
15657
15670
|
getTaskTag() {
|
|
15658
15671
|
return this._taskTag;
|
|
15659
15672
|
}
|