@fundamental-ngx/platform 0.43.33 → 0.43.35
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/list/free-content-list-item/free-content-list-item.component.mjs +5 -5
- package/esm2020/list/list.component.mjs +1 -5
- package/esm2020/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.mjs +1 -1
- package/esm2020/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +13 -3
- package/esm2020/table/components/table-header-row/table-header-row.component.mjs +3 -3
- package/esm2020/table/components/table-p13-dialog/table-p13-dialog.component.mjs +5 -3
- package/esm2020/table/components/table-row/table-row.component.mjs +18 -8
- package/esm2020/table/components/table-toolbar/table-toolbar.component.mjs +3 -3
- package/esm2020/table/table.component.mjs +40 -9
- package/esm2020/table-helpers/directives/index.mjs +2 -1
- package/esm2020/table-helpers/directives/table-visible-cell.directive.mjs +110 -0
- package/esm2020/table-helpers/index.mjs +2 -1
- package/esm2020/table-helpers/models/index.mjs +2 -1
- package/esm2020/table-helpers/models/table-cell-activate-event.model.mjs +12 -0
- package/esm2020/table-helpers/services/table-advanced-viewport-root.service.mjs +26 -0
- package/esm2020/table-helpers/services/table-row.service.mjs +9 -1
- package/esm2020/table-helpers/table-helpers.module.mjs +8 -5
- package/esm2020/upload-collection/dialogs/move-to/move-to.component.mjs +1 -1
- package/esm2020/upload-collection/upload-collection/upload-collection.component.mjs +1 -1
- package/esm2020/value-help-dialog/components/select-tab/select-tab.component.mjs +3 -3
- package/esm2020/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +3 -3
- package/esm2020/variant-management/components/manage-variants-dialog/manage-variants-dialog.component.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-list.mjs +4 -8
- package/fesm2015/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-smart-filter-bar.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-table-helpers.mjs +156 -5
- package/fesm2015/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-table.mjs +73 -21
- package/fesm2015/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-upload-collection.mjs +2 -2
- package/fesm2015/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs +4 -4
- 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-list.mjs +4 -8
- package/fesm2020/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-smart-filter-bar.mjs +1 -1
- package/fesm2020/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-table-helpers.mjs +156 -5
- package/fesm2020/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-table.mjs +72 -21
- package/fesm2020/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-upload-collection.mjs +2 -2
- package/fesm2020/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs +4 -4
- 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/fundamental-ngx-platform-v0.43.35.tgz +0 -0
- package/list/free-content-list-item/free-content-list-item.component.d.ts +1 -1
- package/package.json +4 -4
- package/schematics/ng-add/index.js +1 -1
- package/table/components/table-cell-header-popover/table-cell-header-popover.component.d.ts +5 -0
- package/table/components/table-row/table-row.component.d.ts +8 -1
- package/table/table.component.d.ts +22 -5
- package/table-helpers/directives/index.d.ts +1 -0
- package/table-helpers/directives/table-visible-cell.directive.d.ts +32 -0
- package/table-helpers/index.d.ts +1 -0
- package/table-helpers/models/index.d.ts +1 -0
- package/table-helpers/models/table-cell-activate-event.model.d.ts +10 -0
- package/table-helpers/services/table-advanced-viewport-root.service.d.ts +14 -0
- package/table-helpers/services/table-row.service.d.ts +7 -0
- package/table-helpers/table-helpers.module.d.ts +2 -1
- package/fundamental-ngx-platform-v0.43.33.tgz +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ElementRef, Renderer2, OnInit, TemplateRef, ViewContainerRef, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FdpRenderVisibleCellDirective implements OnInit, OnDestroy {
|
|
4
|
+
private el;
|
|
5
|
+
private renderer;
|
|
6
|
+
private viewContainer;
|
|
7
|
+
private cdr;
|
|
8
|
+
/** @hidden */
|
|
9
|
+
tableViewport: TemplateRef<any>;
|
|
10
|
+
/** @hidden */
|
|
11
|
+
viewportFallback: TemplateRef<any>;
|
|
12
|
+
/** @hidden */
|
|
13
|
+
private _destroy$;
|
|
14
|
+
/** @hidden */
|
|
15
|
+
private currentViewRef;
|
|
16
|
+
/** @hidden */
|
|
17
|
+
private readonly _viewportRootService;
|
|
18
|
+
/** @hidden */
|
|
19
|
+
private currentTemplate;
|
|
20
|
+
/** @hidden */
|
|
21
|
+
constructor(el: ElementRef, renderer: Renderer2, viewContainer: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
22
|
+
/** @hidden */
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
/** @hidden */
|
|
25
|
+
checkViewport(): void;
|
|
26
|
+
/** @hidden */
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
/** @hidden */
|
|
29
|
+
private updateView;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FdpRenderVisibleCellDirective, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FdpRenderVisibleCellDirective, "[fdpOnlyRenderVisibleCell]", never, { "tableViewport": "tableViewport"; "viewportFallback": "viewportFallback"; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
package/table-helpers/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './services/table-row.service';
|
|
|
20
20
|
export * from './services/table-column-resize.service';
|
|
21
21
|
export * from './services/table-responsive.service';
|
|
22
22
|
export * from './services/table-scroll-dispatcher.service';
|
|
23
|
+
export * from './services/table-advanced-viewport-root.service';
|
|
23
24
|
export * from './pipes';
|
|
24
25
|
export * from './helpers';
|
|
25
26
|
export * from './utils';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ViewportRootService {
|
|
4
|
+
/** hidden */
|
|
5
|
+
private rootNode;
|
|
6
|
+
/** hidden */
|
|
7
|
+
rootElement$: Subject<HTMLElement>;
|
|
8
|
+
/** hidden */
|
|
9
|
+
setRootNode(node: HTMLElement): void;
|
|
10
|
+
/** hidden */
|
|
11
|
+
getRootNode(): HTMLElement | null;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewportRootService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ViewportRootService>;
|
|
14
|
+
}
|
|
@@ -3,6 +3,7 @@ import { Subject } from 'rxjs';
|
|
|
3
3
|
import { CollectionGroup } from '../interfaces';
|
|
4
4
|
import { TableRow } from '../models';
|
|
5
5
|
import { EditableTableCell } from '../table-cell.class';
|
|
6
|
+
import { TableCellActivateEvent } from '../models/table-cell-activate-event.model';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export type ToggleRowModel = {
|
|
8
9
|
type: 'toggleRow';
|
|
@@ -29,6 +30,10 @@ export declare class TableRowService<T = any> {
|
|
|
29
30
|
/** @hidden */
|
|
30
31
|
private readonly _cellFocusedSubject;
|
|
31
32
|
/** @hidden */
|
|
33
|
+
private readonly _cellActivateSubject;
|
|
34
|
+
/** Stream that emits when the table cell being focused. */
|
|
35
|
+
readonly cellActivate$: import("rxjs").Observable<TableCellActivateEvent<any>>;
|
|
36
|
+
/** @hidden */
|
|
32
37
|
private readonly _toggleAllSelectableRowsSubject;
|
|
33
38
|
/** Stream that emits when toggling all selectable rows is needed. */
|
|
34
39
|
readonly toggleAllSelectableRows$: import("rxjs").Observable<boolean>;
|
|
@@ -56,6 +61,8 @@ export declare class TableRowService<T = any> {
|
|
|
56
61
|
scrollToOverlappedCell(): void;
|
|
57
62
|
/** `cellClicked$` stream trigger. */
|
|
58
63
|
cellClicked(evt: CellClickedModel): void;
|
|
64
|
+
/** @hidden */
|
|
65
|
+
cellActivate(columnIndex: number, row: TableRow): void;
|
|
59
66
|
/** `cellFocused$` stream trigger. */
|
|
60
67
|
cellFocused(evt: FocusableItemPosition): void;
|
|
61
68
|
/** `toggleAllSelectableRows$` stream trigger. */
|
|
@@ -16,8 +16,9 @@ import * as i14 from "./pipes/cell-styles.pipe";
|
|
|
16
16
|
import * as i15 from "./pipes/column-resizable-side.pipe";
|
|
17
17
|
import * as i16 from "./pipes/row-classes.pipe";
|
|
18
18
|
import * as i17 from "./pipes/column-sorting-direction.pipe";
|
|
19
|
+
import * as i18 from "./directives/table-visible-cell.directive";
|
|
19
20
|
export declare class TableHelpersModule {
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHelpersModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableHelpersModule, never, [typeof i1.TableInitialStateDirective, typeof i2.TableDraggableDirective, typeof i3.TableVirtualScrollDirective, typeof i4.PlatformTableColumnResponsiveDirective, typeof i5.FdpTableCell, typeof i6.TableCellHeaderPopoverDirective, typeof i7.PlatformTableCellResizableDirective, typeof i8.TableDataSourceDirective, typeof i2.TableDraggableDirective, typeof i9.FdpTableHeader, typeof i10.TableHeaderResizerDirective, typeof i1.TableInitialStateDirective, typeof i11.TableScrollableDirective, typeof i5.FdpCellDef, typeof i5.FdpEditableCellDef, typeof i5.FdpEditableCellFormDirective, typeof i12.FdpViewSettingsFilterCustomDef, typeof i3.TableVirtualScrollDirective, typeof i9.FdpHeaderCellDef, typeof i13.SelectionCellStylesPipe, typeof i14.TableCellStylesPipe, typeof i15.ColumnResizableSidePipe, typeof i16.RowClassesPipe, typeof i17.TableColumnSortingDirectionPipe], [typeof i1.TableInitialStateDirective, typeof i2.TableDraggableDirective, typeof i3.TableVirtualScrollDirective, typeof i4.PlatformTableColumnResponsiveDirective, typeof i5.FdpTableCell, typeof i6.TableCellHeaderPopoverDirective, typeof i7.PlatformTableCellResizableDirective, typeof i8.TableDataSourceDirective, typeof i2.TableDraggableDirective, typeof i9.FdpTableHeader, typeof i10.TableHeaderResizerDirective, typeof i1.TableInitialStateDirective, typeof i11.TableScrollableDirective, typeof i5.FdpCellDef, typeof i5.FdpEditableCellDef, typeof i5.FdpEditableCellFormDirective, typeof i12.FdpViewSettingsFilterCustomDef, typeof i3.TableVirtualScrollDirective, typeof i9.FdpHeaderCellDef, typeof i13.SelectionCellStylesPipe, typeof i14.TableCellStylesPipe, typeof i15.ColumnResizableSidePipe, typeof i16.RowClassesPipe, typeof i17.TableColumnSortingDirectionPipe]>;
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableHelpersModule, never, [typeof i1.TableInitialStateDirective, typeof i2.TableDraggableDirective, typeof i3.TableVirtualScrollDirective, typeof i4.PlatformTableColumnResponsiveDirective, typeof i5.FdpTableCell, typeof i6.TableCellHeaderPopoverDirective, typeof i7.PlatformTableCellResizableDirective, typeof i8.TableDataSourceDirective, typeof i2.TableDraggableDirective, typeof i9.FdpTableHeader, typeof i10.TableHeaderResizerDirective, typeof i1.TableInitialStateDirective, typeof i11.TableScrollableDirective, typeof i5.FdpCellDef, typeof i5.FdpEditableCellDef, typeof i5.FdpEditableCellFormDirective, typeof i12.FdpViewSettingsFilterCustomDef, typeof i3.TableVirtualScrollDirective, typeof i9.FdpHeaderCellDef, typeof i13.SelectionCellStylesPipe, typeof i14.TableCellStylesPipe, typeof i15.ColumnResizableSidePipe, typeof i16.RowClassesPipe, typeof i17.TableColumnSortingDirectionPipe, typeof i18.FdpRenderVisibleCellDirective], [typeof i1.TableInitialStateDirective, typeof i2.TableDraggableDirective, typeof i3.TableVirtualScrollDirective, typeof i4.PlatformTableColumnResponsiveDirective, typeof i5.FdpTableCell, typeof i6.TableCellHeaderPopoverDirective, typeof i7.PlatformTableCellResizableDirective, typeof i8.TableDataSourceDirective, typeof i2.TableDraggableDirective, typeof i9.FdpTableHeader, typeof i10.TableHeaderResizerDirective, typeof i1.TableInitialStateDirective, typeof i11.TableScrollableDirective, typeof i5.FdpCellDef, typeof i5.FdpEditableCellDef, typeof i5.FdpEditableCellFormDirective, typeof i12.FdpViewSettingsFilterCustomDef, typeof i3.TableVirtualScrollDirective, typeof i9.FdpHeaderCellDef, typeof i13.SelectionCellStylesPipe, typeof i14.TableCellStylesPipe, typeof i15.ColumnResizableSidePipe, typeof i16.RowClassesPipe, typeof i17.TableColumnSortingDirectionPipe, typeof i18.FdpRenderVisibleCellDirective]>;
|
|
22
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableHelpersModule>;
|
|
23
24
|
}
|
|
Binary file
|