ontimize-web-ngx 15.3.4 → 15.3.5
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/lib/components/table/o-table.component.mjs +13 -7
- package/fesm2015/ontimize-web-ngx.mjs +12 -6
- package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
- package/fesm2020/ontimize-web-ngx.mjs +12 -6
- package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
- package/lib/components/table/o-table.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -32534,7 +32534,10 @@ class OTableComponent extends AbstractOServiceComponent {
|
|
|
32534
32534
|
this.permissions = this.permissionsService.getTablePermissions(this.oattr, this.actRoute);
|
|
32535
32535
|
}
|
|
32536
32536
|
registerClickListener() {
|
|
32537
|
-
this.
|
|
32537
|
+
if (this.clickSubjectSubscription) {
|
|
32538
|
+
this.clickSubjectSubscription.unsubscribe();
|
|
32539
|
+
}
|
|
32540
|
+
this.clickSubjectSubscription = this.clickSubject
|
|
32538
32541
|
.pipe(debounceTime(this.clickDelay))
|
|
32539
32542
|
.subscribe(({ row, column, cellRef, rowIndex, event }) => {
|
|
32540
32543
|
if (this.oenabled && !this.readOnly && column.editor
|
|
@@ -32548,7 +32551,10 @@ class OTableComponent extends AbstractOServiceComponent {
|
|
|
32548
32551
|
});
|
|
32549
32552
|
}
|
|
32550
32553
|
registerDblClickListener() {
|
|
32551
|
-
this.
|
|
32554
|
+
if (this.dbClickSubjectSubscription) {
|
|
32555
|
+
this.dbClickSubjectSubscription.unsubscribe();
|
|
32556
|
+
}
|
|
32557
|
+
this.dbClickSubjectSubscription = this.dblclickSubject
|
|
32552
32558
|
.pipe(debounceTime(this.clickDelay))
|
|
32553
32559
|
.subscribe(({ row, column, cellRef, rowIndex, event }) => {
|
|
32554
32560
|
if (this.readOnly) {
|
|
@@ -32682,11 +32688,11 @@ class OTableComponent extends AbstractOServiceComponent {
|
|
|
32682
32688
|
if (this.scrollStrategy) {
|
|
32683
32689
|
this.scrollStrategy.destroy();
|
|
32684
32690
|
}
|
|
32685
|
-
if (this.
|
|
32686
|
-
this.
|
|
32691
|
+
if (this.clickSubjectSubscription) {
|
|
32692
|
+
this.clickSubjectSubscription.unsubscribe();
|
|
32687
32693
|
}
|
|
32688
|
-
if (this.
|
|
32689
|
-
this.
|
|
32694
|
+
if (this.dbClickSubjectSubscription) {
|
|
32695
|
+
this.dbClickSubjectSubscription.unsubscribe();
|
|
32690
32696
|
}
|
|
32691
32697
|
Object.keys(this.asyncLoadSubscriptions).forEach(idx => {
|
|
32692
32698
|
if (this.asyncLoadSubscriptions[idx]) {
|