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