@theseam/ui-common 0.4.28-beta.0 → 0.4.28-beta.1
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/datatable/datatable/datatable.component.d.ts +2 -1
- package/datatable/models/datatable-config.d.ts +7 -0
- package/esm2020/datatable/datatable/datatable.component.mjs +12 -3
- package/esm2020/datatable/models/datatable-config.mjs +1 -1
- package/fesm2015/theseam-ui-common-datatable.mjs +12 -2
- package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-datatable.mjs +11 -2
- package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2252,9 +2252,15 @@ class DatatableComponent {
|
|
|
2252
2252
|
*/
|
|
2253
2253
|
get actionItemColumnPosition() { return this._actionItemColumnPosition; }
|
|
2254
2254
|
set actionItemColumnPosition(value) {
|
|
2255
|
-
if (value && isActionItemColumnPosition(value)) {
|
|
2255
|
+
if (notNullOrUndefined(value) && isActionItemColumnPosition(value)) {
|
|
2256
2256
|
this._actionItemColumnPosition = value;
|
|
2257
2257
|
}
|
|
2258
|
+
else if (notNullOrUndefined(this._config?.actionItemColumnPosition) && isActionItemColumnPosition(this._config?.actionItemColumnPosition)) {
|
|
2259
|
+
this._actionItemColumnPosition = this._config?.actionItemColumnPosition;
|
|
2260
|
+
}
|
|
2261
|
+
else {
|
|
2262
|
+
this._actionItemColumnPosition = this._actionItemColumnPositionDefault;
|
|
2263
|
+
}
|
|
2258
2264
|
this._columnsManager.setActionItemColumnPosition(this._actionItemColumnPosition);
|
|
2259
2265
|
}
|
|
2260
2266
|
get columnFilterIcon() {
|
|
@@ -2427,7 +2433,7 @@ class DatatableComponent {
|
|
|
2427
2433
|
this._footerHeightDefault = 40;
|
|
2428
2434
|
this.scrollbarV = true;
|
|
2429
2435
|
this.scrollbarH = true;
|
|
2430
|
-
this.
|
|
2436
|
+
this._actionItemColumnPositionDefault = 'frozenRight';
|
|
2431
2437
|
this._columnFilterIconDefault = faFilter;
|
|
2432
2438
|
this._columnFilterUpdateMethodDefault = 'valueChanges';
|
|
2433
2439
|
this._columnFilterUpdateDebounceDefault = 400;
|
|
@@ -2564,6 +2570,9 @@ class DatatableComponent {
|
|
|
2564
2570
|
if (isNullOrUndefined(this.columnFilterUpdateDebounce)) {
|
|
2565
2571
|
this.columnFilterUpdateDebounce = undefined;
|
|
2566
2572
|
}
|
|
2573
|
+
if (isNullOrUndefined(this.actionItemColumnPosition)) {
|
|
2574
|
+
this.actionItemColumnPosition = undefined;
|
|
2575
|
+
}
|
|
2567
2576
|
}
|
|
2568
2577
|
ngOnDestroy() {
|
|
2569
2578
|
this._rowDetailToggleSubscription.unsubscribe();
|