@magic-xpa/angular 4.1000.0-dev4100.294 → 4.1000.0-dev4100.295
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/services/task.magics.service.mjs +5 -1
- package/esm2020/src/ui/task-base.magic.component.mjs +6 -1
- package/fesm2015/magic-xpa-angular.mjs +9 -0
- package/fesm2015/magic-xpa-angular.mjs.map +1 -1
- package/fesm2020/magic-xpa-angular.mjs +9 -0
- package/fesm2020/magic-xpa-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/src/services/task.magics.service.d.ts +1 -0
- package/src/ui/task-base.magic.component.d.ts +1 -0
@@ -1479,6 +1479,7 @@ class TaskMagicService {
|
|
1479
1479
|
this.OnSelectedRowChanged = new EventEmitter();
|
1480
1480
|
this.customPropertiesSubject = new Subject();
|
1481
1481
|
this.recordsCountChangeSubject = new Subject();
|
1482
|
+
this.mgLoadSubject = new Subject();
|
1482
1483
|
this.oldPageSize = 0;
|
1483
1484
|
this.Records.setGuiTopIndex(0);
|
1484
1485
|
this.mgInputDateFormat = null;
|
@@ -1813,6 +1814,9 @@ class TaskMagicService {
|
|
1813
1814
|
case CommandType.SET_FOCUS:
|
1814
1815
|
this.refreshDom.next(command);
|
1815
1816
|
break;
|
1817
|
+
case CommandType.SET_WC_IDLE:
|
1818
|
+
this.mgLoadSubject.next();
|
1819
|
+
break;
|
1816
1820
|
}
|
1817
1821
|
}
|
1818
1822
|
customValidator(rowid, id) {
|
@@ -2640,6 +2644,9 @@ class TaskBaseMagicComponent {
|
|
2640
2644
|
this.task.recordsCountChangeSubject.pipe().subscribe(value => {
|
2641
2645
|
this.RecordsCountChanged(value);
|
2642
2646
|
});
|
2647
|
+
this.task.mgLoadSubject.pipe().subscribe(value => {
|
2648
|
+
this.mgOnLoad();
|
2649
|
+
});
|
2643
2650
|
}
|
2644
2651
|
createFormControlsAccessor(formGroup) { }
|
2645
2652
|
setInputDateFormat() { }
|
@@ -2647,6 +2654,8 @@ class TaskBaseMagicComponent {
|
|
2647
2654
|
}
|
2648
2655
|
RecordsCountChanged(recordsCount) {
|
2649
2656
|
}
|
2657
|
+
mgOnLoad() {
|
2658
|
+
}
|
2650
2659
|
ngAfterViewInit() {
|
2651
2660
|
this.mgSub.init();
|
2652
2661
|
}
|