@fundamental-ngx/platform 0.43.0-rc.9 → 0.43.0
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/dynamic-page/dynamic-page.component.mjs +1 -1
- package/esm2020/form/combobox/combobox/combobox.component.mjs +1 -1
- package/esm2020/form/form-generator/controls/dynamic-form-generator-multi-input/dynamic-form-generator-multi-input.component.mjs +2 -2
- package/esm2020/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +1 -1
- package/esm2020/form/multi-input/multi-input.component.mjs +7 -4
- package/esm2020/form/step-input/number/number-step-input.component.mjs +1 -1
- package/esm2020/settings-generator/settings-generator-content/settings-generator-content.component.mjs +1 -1
- package/esm2020/smart-filter-bar/components/smart-filter-bar-condition-field/smart-filter-bar-condition-field.component.mjs +4 -3
- package/esm2020/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.mjs +1 -1
- package/esm2020/smart-filter-bar/smart-filter-bar.component.mjs +3 -3
- package/esm2020/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +3 -3
- package/esm2020/table/components/table-header-row/table-header-row.component.mjs +8 -4
- package/esm2020/table/components/table-p13-dialog/sorting/sorting.component.mjs +3 -3
- package/esm2020/table/components/table-row/table-row.component.mjs +4 -3
- package/esm2020/table/table.component.mjs +29 -11
- package/esm2020/table-helpers/constants/index.mjs +3 -2
- package/esm2020/table-helpers/directives/table-scrollable.directive.mjs +9 -1
- package/esm2020/table-helpers/directives/table-virtual-scroll.directive.mjs +6 -2
- package/esm2020/table-helpers/interfaces/table-state.interface.mjs +1 -1
- package/esm2020/table-helpers/services/table-scroll-dispatcher.service.mjs +1 -1
- package/esm2020/table-helpers/services/table.service.mjs +3 -2
- package/esm2020/upload-collection/upload-collection/upload-collection.component.mjs +1 -1
- package/esm2020/value-help-dialog/components/define-tab/define-tab.component.mjs +1 -1
- package/esm2020/variant-management/components/manage-variants-dialog/manage-variants-dialog.component.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-dynamic-page.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-dynamic-page.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-form.mjs +9 -7
- package/fesm2015/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-settings-generator.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-smart-filter-bar.mjs +5 -5
- package/fesm2015/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-table-helpers.mjs +14 -3
- package/fesm2015/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-table.mjs +41 -19
- package/fesm2015/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-upload-collection.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-variant-management.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-variant-management.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-dynamic-page.mjs +1 -1
- package/fesm2020/fundamental-ngx-platform-dynamic-page.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-form.mjs +10 -7
- package/fesm2020/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-settings-generator.mjs +1 -1
- package/fesm2020/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-smart-filter-bar.mjs +5 -5
- package/fesm2020/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-table-helpers.mjs +17 -3
- package/fesm2020/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-table.mjs +41 -19
- package/fesm2020/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-upload-collection.mjs +1 -1
- package/fesm2020/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs +1 -1
- package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-variant-management.mjs +1 -1
- package/fesm2020/fundamental-ngx-platform-variant-management.mjs.map +1 -1
- package/form/multi-input/multi-input.component.d.ts +3 -1
- package/fundamental-ngx-platform-v0.43.0.tgz +0 -0
- package/package.json +4 -4
- package/schematics/ng-add/index.js +1 -1
- package/table/components/table-header-row/table-header-row.component.d.ts +3 -1
- package/table/table.component.d.ts +7 -1
- package/table-helpers/directives/table-scrollable.directive.d.ts +2 -0
- package/table-helpers/interfaces/table-state.interface.d.ts +1 -0
- package/table-helpers/services/table-scroll-dispatcher.service.d.ts +2 -0
- package/fundamental-ngx-platform-v0.43.0-rc.9.tgz +0 -0
|
@@ -38,7 +38,8 @@ const DEFAULT_TABLE_STATE = {
|
|
|
38
38
|
columnKeys: [],
|
|
39
39
|
freezeToColumn: null,
|
|
40
40
|
freezeToEndColumn: null,
|
|
41
|
-
searchInput: DEFAULT_TABLE_SEARCH_INPUT
|
|
41
|
+
searchInput: DEFAULT_TABLE_SEARCH_INPUT,
|
|
42
|
+
scrollTopPosition: 0
|
|
42
43
|
};
|
|
43
44
|
const DEFAULT_HIGHLIGHTING_KEY = 'semantic';
|
|
44
45
|
const EDITABLE_ROW_SEMANTIC_STATE = 'information';
|
|
@@ -1112,7 +1113,8 @@ class TableService {
|
|
|
1112
1113
|
page: {
|
|
1113
1114
|
pageSize: 0,
|
|
1114
1115
|
currentPage: 1
|
|
1115
|
-
}
|
|
1116
|
+
},
|
|
1117
|
+
scrollTopPosition: 0
|
|
1116
1118
|
};
|
|
1117
1119
|
}
|
|
1118
1120
|
/**
|
|
@@ -2343,8 +2345,9 @@ class TableVirtualScrollDirective extends TableVirtualScroll {
|
|
|
2343
2345
|
this._tableScrollDispatcher
|
|
2344
2346
|
.verticallyScrolled()
|
|
2345
2347
|
.pipe(filter$1(() => this.virtualScroll && !!this.bodyHeight), takeUntil(this._destroy$))
|
|
2346
|
-
.subscribe(() => {
|
|
2348
|
+
.subscribe((scrollable) => {
|
|
2347
2349
|
this.calculateVirtualScrollRows();
|
|
2350
|
+
this._table.setTableState(Object.assign(Object.assign({}, this._table.getTableState()), { scrollTopPosition: scrollable.getScrollTop() }));
|
|
2348
2351
|
});
|
|
2349
2352
|
}
|
|
2350
2353
|
}
|
|
@@ -3510,6 +3513,14 @@ class TableScrollableDirective {
|
|
|
3510
3513
|
}
|
|
3511
3514
|
}
|
|
3512
3515
|
}
|
|
3516
|
+
/** Set Scroll Position during component initialization. */
|
|
3517
|
+
initializeScrollTop(scrollTop) {
|
|
3518
|
+
this.ngZone.runOutsideAngular(() => {
|
|
3519
|
+
setTimeout(() => {
|
|
3520
|
+
this.setScrollTop(scrollTop, false);
|
|
3521
|
+
});
|
|
3522
|
+
});
|
|
3523
|
+
}
|
|
3513
3524
|
}
|
|
3514
3525
|
TableScrollableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableScrollableDirective, deps: [{ token: i0.ElementRef }, { token: TableScrollDispatcherService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3515
3526
|
TableScrollableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TableScrollableDirective, isStandalone: true, selector: "[fdpTableScrollable]", providers: [
|