@smartbit4all/ng-client 3.1.11 → 3.1.12
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/smart-grid/components/table-layout-definer/table-layout-definer.component.mjs +1 -8
- package/fesm2015/smartbit4all-ng-client.mjs +2 -9
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +0 -7
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.1.12.tgz +0 -0
- package/smartbit4all-ng-client-3.1.11.tgz +0 -0
|
@@ -10483,16 +10483,11 @@ class TableLayoutDefinerComponent {
|
|
|
10483
10483
|
this.disableSave = false;
|
|
10484
10484
|
this.alwaysShowColumns = [];
|
|
10485
10485
|
this.addDisabled = false;
|
|
10486
|
-
// this.view = Object.assign(data.customComponentInputs.config.view);
|
|
10487
10486
|
this.view = JSON.parse(JSON.stringify(data.customComponentInputs.config.view));
|
|
10488
10487
|
this.mapOrderedColumnsToObject();
|
|
10489
10488
|
this.constructForms();
|
|
10490
10489
|
this.getAlwaysShowColumns();
|
|
10491
10490
|
this.addDisabled = !(this.forms.length < this.view.descriptor.columns.length);
|
|
10492
|
-
dialogRef
|
|
10493
|
-
.beforeClosed()
|
|
10494
|
-
.pipe(takeUntil(this._destroy$))
|
|
10495
|
-
.subscribe(() => { });
|
|
10496
10491
|
}
|
|
10497
10492
|
ngOnDestroy() {
|
|
10498
10493
|
this._destroy$.next();
|
|
@@ -10541,8 +10536,6 @@ class TableLayoutDefinerComponent {
|
|
|
10541
10536
|
}, 1000);
|
|
10542
10537
|
}
|
|
10543
10538
|
addColumn() {
|
|
10544
|
-
console.log('Mezők száma', this.forms?.length);
|
|
10545
|
-
console.log('Oszolop meták száma', this.view?.descriptor?.columns.length);
|
|
10546
10539
|
if (this.forms.length < this.view.descriptor.columns.length) {
|
|
10547
10540
|
this.view?.orderedColumnNames.push('');
|
|
10548
10541
|
this.orderedColumnsAsObject[this.view.orderedColumnNames.length - 1] = '';
|