@magic-xpa/engine 4.900.0-dev490.47 → 4.900.0-dev490.48
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/CurrentClientVersion.mjs +2 -2
- package/esm2020/src/tasks/RemoteTaskService.mjs +3 -3
- package/esm2020/src/tasks/Task.mjs +4 -4
- package/fesm2015/magic-xpa-engine.mjs +13 -9
- package/fesm2015/magic-xpa-engine.mjs.map +1 -1
- package/fesm2020/magic-xpa-engine.mjs +6 -6
- package/fesm2020/magic-xpa-engine.mjs.map +1 -1
- package/package.json +4 -4
- package/src/tasks/RemoteTaskService.d.ts +1 -1
- package/src/tasks/Task.d.ts +1 -1
|
@@ -20443,8 +20443,8 @@ class RemoteTaskService extends TaskServiceBase {
|
|
|
20443
20443
|
OwnerTransactionTask = task.DataviewManager.RemoteDataviewManager.Transaction.OwnerTask;
|
|
20444
20444
|
return OwnerTransactionTask;
|
|
20445
20445
|
}
|
|
20446
|
-
static PreparePropMainDisplay(task) {
|
|
20447
|
-
task.ComputeMainDisplay();
|
|
20446
|
+
static async PreparePropMainDisplay(task) {
|
|
20447
|
+
await task.ComputeMainDisplay();
|
|
20448
20448
|
return task.FormIsLegal() ? ReturnResult.SuccessfulResult : new ReturnResult(MsgInterface.BRKTAB_STR_ERR_FORM);
|
|
20449
20449
|
}
|
|
20450
20450
|
}
|
|
@@ -24655,16 +24655,16 @@ class Task extends TaskBase {
|
|
|
24655
24655
|
}
|
|
24656
24656
|
}
|
|
24657
24657
|
}
|
|
24658
|
-
ComputeMainDisplay() {
|
|
24658
|
+
async ComputeMainDisplay() {
|
|
24659
24659
|
let propMainDisplay = this.getProp(PropInterface.PROP_TYPE_MAIN_DISPLAY);
|
|
24660
|
-
let mainDisplayIndex = propMainDisplay.
|
|
24660
|
+
let mainDisplayIndex = await propMainDisplay.getValueInt();
|
|
24661
24661
|
mainDisplayIndex = this.GetRealMainDisplayIndexOnCurrentTask(mainDisplayIndex);
|
|
24662
24662
|
this._forms.InitFormFromXmlString(mainDisplayIndex);
|
|
24663
24663
|
this.EnsureValidForm();
|
|
24664
24664
|
}
|
|
24665
24665
|
async PrepareTaskForm() {
|
|
24666
24666
|
await TaskServiceBase.PreparePropOpenTaskWindow(this);
|
|
24667
|
-
return RemoteTaskService.PreparePropMainDisplay(this);
|
|
24667
|
+
return await RemoteTaskService.PreparePropMainDisplay(this);
|
|
24668
24668
|
}
|
|
24669
24669
|
FormIsLegal() {
|
|
24670
24670
|
let isFormIsLegal = super.isMainProg();
|
|
@@ -29525,7 +29525,7 @@ class CommandsTable {
|
|
|
29525
29525
|
}
|
|
29526
29526
|
}
|
|
29527
29527
|
|
|
29528
|
-
let CurrentClientVersion = '4.900.0-dev490.
|
|
29528
|
+
let CurrentClientVersion = '4.900.0-dev490.48';
|
|
29529
29529
|
|
|
29530
29530
|
class ClientManager {
|
|
29531
29531
|
constructor() {
|