@fundamental-ngx/platform 0.43.6 → 0.43.8
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/form/combobox/combobox/combobox.component.mjs +1 -1
- package/esm2020/form/multi-combobox/commons/base-multi-combobox.mjs +8 -2
- package/esm2020/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +1 -1
- package/esm2020/form/multi-input/multi-input.component.mjs +3 -3
- package/esm2020/list/list.component.mjs +11 -11
- package/esm2020/message-popover/components/message-view/message-view.component.mjs +2 -2
- package/esm2020/search-field/search-field.component.mjs +5 -6
- package/esm2020/settings-generator/controls/theme-selector-list/theme-selector-list.component.mjs +2 -2
- package/esm2020/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-layout.component.mjs +1 -1
- 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-group-row/table-group-row.component.mjs +7 -4
- package/esm2020/table/components/table-header-row/table-header-row.component.mjs +28 -13
- package/esm2020/table/components/table-p13-dialog/columns/columns.component.mjs +1 -1
- package/esm2020/table/components/table-p13-dialog/filtering/filtering.model.mjs +2 -2
- package/esm2020/table/components/table-popping-row/table-popping-row.component.mjs +6 -3
- package/esm2020/table/components/table-row/table-row.component.mjs +34 -9
- package/esm2020/table/components/table-toolbar/table-toolbar.component.mjs +3 -3
- package/esm2020/table/components/table-view-settings-dialog/filtering/filter-multi-select.component.mjs +1 -1
- package/esm2020/table/components/table-view-settings-dialog/filtering/filter-single-select.component.mjs +1 -1
- package/esm2020/table/components/table-view-settings-dialog/filtering/filters-list-step.component.mjs +1 -1
- package/esm2020/table/components/table-view-settings-dialog/grouping/grouping.component.mjs +1 -1
- package/esm2020/table/components/table-view-settings-dialog/sorting/sorting.component.mjs +1 -1
- package/esm2020/table/table.component.mjs +44 -9
- package/esm2020/table/table.module.mjs +8 -5
- package/esm2020/table-helpers/directives/table-draggable.directive.mjs +8 -2
- package/esm2020/table-helpers/services/table-column-resize.service.mjs +2 -2
- package/esm2020/table-helpers/table-column.mjs +1 -1
- package/esm2020/table-helpers/table.mjs +2 -1
- 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/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/esm2020/variant-management/variant-management.component.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-form.mjs +11 -5
- package/fesm2015/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-list.mjs +3 -3
- package/fesm2015/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-message-popover.mjs +1 -1
- package/fesm2015/fundamental-ngx-platform-message-popover.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-search-field.mjs +4 -5
- package/fesm2015/fundamental-ngx-platform-search-field.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-settings-generator.mjs +2 -2
- package/fesm2015/fundamental-ngx-platform-settings-generator.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 +8 -1
- package/fesm2015/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-table.mjs +127 -41
- 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 +2 -2
- package/fesm2015/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2015/fundamental-ngx-platform-variant-management.mjs +2 -2
- package/fesm2015/fundamental-ngx-platform-variant-management.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-form.mjs +11 -5
- package/fesm2020/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-list.mjs +3 -3
- package/fesm2020/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-message-popover.mjs +1 -1
- package/fesm2020/fundamental-ngx-platform-message-popover.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-search-field.mjs +4 -5
- package/fesm2020/fundamental-ngx-platform-search-field.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-settings-generator.mjs +2 -2
- package/fesm2020/fundamental-ngx-platform-settings-generator.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 +8 -1
- package/fesm2020/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-table.mjs +125 -41
- 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 +2 -2
- package/fesm2020/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2020/fundamental-ngx-platform-variant-management.mjs +2 -2
- package/fesm2020/fundamental-ngx-platform-variant-management.mjs.map +1 -1
- package/fundamental-ngx-platform-v0.43.8.tgz +0 -0
- package/list/list.component.d.ts +3 -3
- 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 +10 -3
- package/table/components/table-row/table-row.component.d.ts +10 -2
- package/table/components/table-toolbar/table-toolbar.component.d.ts +2 -2
- package/table/table.component.d.ts +22 -2
- package/table/table.module.d.ts +1 -1
- package/table-helpers/services/table-column-resize.service.d.ts +1 -1
- package/table-helpers/table.d.ts +21 -19
- package/fundamental-ngx-platform-v0.43.6.tgz +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { SearchInput, SuggestionItem } from '@fundamental-ngx/platform/search-field';
|
|
3
4
|
import { Table, TableService } from '@fundamental-ngx/platform/table-helpers';
|
|
5
|
+
import { TableToolbarInterface } from './table-toolbar';
|
|
4
6
|
import { TableToolbarActionsComponent } from './table-toolbar-actions.component';
|
|
5
7
|
import { TableToolbarLeftActionsComponent } from './table-toolbar-left-actions.component';
|
|
6
|
-
import { TableToolbarInterface } from './table-toolbar';
|
|
7
|
-
import { SearchInput, SuggestionItem } from '@fundamental-ngx/platform/search-field';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export type EditMode = 'none' | 'inline';
|
|
10
10
|
/**
|
|
@@ -169,6 +169,10 @@ export declare class TableComponent<T = any> extends Table<T> implements AfterVi
|
|
|
169
169
|
* Default is false.
|
|
170
170
|
*/
|
|
171
171
|
forceCheckedAllState: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* aria-labelledby attribute value for the table.
|
|
174
|
+
*/
|
|
175
|
+
ariaLabelledBy: string;
|
|
172
176
|
/** @hidden */
|
|
173
177
|
private _shouldCheckNewRows;
|
|
174
178
|
/** Event emitted when current preset configuration has been changed. */
|
|
@@ -218,6 +222,8 @@ export declare class TableComponent<T = any> extends Table<T> implements AfterVi
|
|
|
218
222
|
/** @hidden */
|
|
219
223
|
private readonly _tableBody;
|
|
220
224
|
/** @hidden */
|
|
225
|
+
private readonly _dndDirective;
|
|
226
|
+
/** @hidden */
|
|
221
227
|
readonly columns: QueryList<TableColumn>;
|
|
222
228
|
/** @hidden */
|
|
223
229
|
readonly customEditableCells: QueryList<EditableTableCell>;
|
|
@@ -249,6 +255,8 @@ export declare class TableComponent<T = any> extends Table<T> implements AfterVi
|
|
|
249
255
|
get _tableWidthPx(): number;
|
|
250
256
|
/** @hidden */
|
|
251
257
|
get loadingState(): boolean;
|
|
258
|
+
/** @hidden */
|
|
259
|
+
get _ariaLabelledBy(): string | null;
|
|
252
260
|
/**
|
|
253
261
|
* @hidden
|
|
254
262
|
* Representation of combined table rows.
|
|
@@ -301,7 +309,9 @@ export declare class TableComponent<T = any> extends Table<T> implements AfterVi
|
|
|
301
309
|
*/
|
|
302
310
|
_tableRowsInViewPortPlaceholder: number[];
|
|
303
311
|
/** @hidden */
|
|
304
|
-
|
|
312
|
+
_dndTableRowsPlaceholder: TableRow[];
|
|
313
|
+
/** @hidden */
|
|
314
|
+
_isSelectionColumnShown: boolean;
|
|
305
315
|
/** @hidden */
|
|
306
316
|
readonly _toolbarContext: ToolbarContext;
|
|
307
317
|
/** @hidden */
|
|
@@ -380,6 +390,12 @@ export declare class TableComponent<T = any> extends Table<T> implements AfterVi
|
|
|
380
390
|
private readonly _defaultTrackBy;
|
|
381
391
|
/** @hidden */
|
|
382
392
|
constructor(_ngZone: NgZone, _cdr: ChangeDetectorRef, _tableService: TableService, _tableScrollDispatcher: TableScrollDispatcherService, _tableColumnResizeService: TableColumnResizeService, _elRef: ElementRef, _rtlService: RtlService, contentDensityObserver: ContentDensityObserver, injector: Injector);
|
|
393
|
+
/**
|
|
394
|
+
* Whether the selection column should be shown,
|
|
395
|
+
* If there are no visible rows or visible columns
|
|
396
|
+
* or selection mode is none, then selection column should not be shown.
|
|
397
|
+
**/
|
|
398
|
+
isSelectionColumnShown(): boolean;
|
|
383
399
|
/** Returns array of rows that are currently in viewport. */
|
|
384
400
|
getRowsInViewport(): number[];
|
|
385
401
|
/**
|
|
@@ -485,6 +501,10 @@ export declare class TableComponent<T = any> extends Table<T> implements AfterVi
|
|
|
485
501
|
setPreset(data: PlatformTableManagedPreset): void;
|
|
486
502
|
/** Returns current preset configuration. */
|
|
487
503
|
getCurrentPreset(): PlatformTableManagedPreset;
|
|
504
|
+
/**
|
|
505
|
+
* Manually triggers list item event listeners for drag&drop list directive.
|
|
506
|
+
*/
|
|
507
|
+
refreshDndList(): void;
|
|
488
508
|
/**
|
|
489
509
|
* Programmatically toggles `expand` state of the row with defined index.
|
|
490
510
|
* @param rowIndexes row indexes including nested rows.
|
|
@@ -616,6 +636,6 @@ export declare class TableComponent<T = any> extends Table<T> implements AfterVi
|
|
|
616
636
|
/** @hidden */
|
|
617
637
|
private _checkCellMock;
|
|
618
638
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, [null, null, null, null, null, null, { optional: true; }, null, null]>;
|
|
619
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "fdp-table", never, { "name": "name"; "id": "id"; "enableDragResize": "enableDragResize"; "fixed": "fixed"; "freezeColumnsTo": "freezeColumnsTo"; "freezeEndColumnsTo": "freezeEndColumnsTo"; "pageScrolling": "pageScrolling"; "pageSize": "pageSize"; "pageScrollingThreshold": "pageScrollingThreshold"; "bodyHeight": "bodyHeight"; "emptyTableMessage": "emptyTableMessage"; "noVisibleColumnsMessage": "noVisibleColumnsMessage"; "noHorizontalBorders": "noHorizontalBorders"; "noVerticalBorders": "noVerticalBorders"; "noBorders": "noBorders"; "noBodyBorders": "noBodyBorders"; "noOuterBorders": "noOuterBorders"; "noBorderX": "noBorderX"; "noBorderY": "noBorderY"; "relationKey": "relationKey"; "expandedStateKey": "expandedStateKey"; "hasChildrenKey": "hasChildrenKey"; "rowNavigatable": "rowNavigatable"; "highlightNavigatedRow": "highlightNavigatedRow"; "rowsActivable": "rowsActivable"; "selectedKey": "selectedKey"; "selectableKey": "selectableKey"; "trackBy": "trackBy"; "rowComparator": "rowComparator"; "rowsClass": "rowsClass"; "editableRowSkeleton": "editableRowSkeleton"; "expandOnInit": "expandOnInit"; "rowHeight": "rowHeight"; "loadPagesBefore": "loadPagesBefore"; "selectionMode": "selectionMode"; "enableTristateMode": "enableTristateMode"; "semanticHighlighting": "semanticHighlighting"; "forceCheckedAllState": "forceCheckedAllState"; "loading": "loading"; }, { "presetChanged": "presetChanged"; "rowSelectionChange": "rowSelectionChange"; "sortChange": "sortChange"; "filterChange": "filterChange"; "groupChange": "groupChange"; "columnsChange": "columnsChange"; "pageChange": "pageChange"; "columnFreeze": "columnFreeze"; "rowToggleOpenState": "rowToggleOpenState"; "rowActivate": "rowActivate"; "rowNavigate": "rowNavigate"; "emptyRowAdded": "emptyRowAdded"; "save": "save"; "cancel": "cancel"; "tableScrolled": "tableScrolled"; "tableRowsSet": "tableRowsSet"; "allRowsExpanded": "allRowsExpanded"; "allRowsCollapsed": "allRowsCollapsed"; }, ["tableToolbar", "columns", "customEditableCells"], ["fdp-table-no-data-wrapper"], false, [{ directive: typeof i1.TableDataSourceDirective; inputs: { "dataSource": "dataSource"; "childDataSource": "childDataSource"; }; outputs: { "childDataSourceChanged": "childDataSourceChanged"; "onDataRequested": "onDataRequested"; "onDataReceived": "onDataReceived"; "dataSourceChanged": "dataSourceChanged"; "dataChanged": "dataChanged"; "isLoading": "isLoading"; }; }, { directive: typeof i1.TableHeaderResizerDirective; inputs: {}; outputs: {}; }]>;
|
|
639
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "fdp-table", never, { "name": "name"; "id": "id"; "enableDragResize": "enableDragResize"; "fixed": "fixed"; "freezeColumnsTo": "freezeColumnsTo"; "freezeEndColumnsTo": "freezeEndColumnsTo"; "pageScrolling": "pageScrolling"; "pageSize": "pageSize"; "pageScrollingThreshold": "pageScrollingThreshold"; "bodyHeight": "bodyHeight"; "emptyTableMessage": "emptyTableMessage"; "noVisibleColumnsMessage": "noVisibleColumnsMessage"; "noHorizontalBorders": "noHorizontalBorders"; "noVerticalBorders": "noVerticalBorders"; "noBorders": "noBorders"; "noBodyBorders": "noBodyBorders"; "noOuterBorders": "noOuterBorders"; "noBorderX": "noBorderX"; "noBorderY": "noBorderY"; "relationKey": "relationKey"; "expandedStateKey": "expandedStateKey"; "hasChildrenKey": "hasChildrenKey"; "rowNavigatable": "rowNavigatable"; "highlightNavigatedRow": "highlightNavigatedRow"; "rowsActivable": "rowsActivable"; "selectedKey": "selectedKey"; "selectableKey": "selectableKey"; "trackBy": "trackBy"; "rowComparator": "rowComparator"; "rowsClass": "rowsClass"; "editableRowSkeleton": "editableRowSkeleton"; "expandOnInit": "expandOnInit"; "rowHeight": "rowHeight"; "loadPagesBefore": "loadPagesBefore"; "selectionMode": "selectionMode"; "enableTristateMode": "enableTristateMode"; "semanticHighlighting": "semanticHighlighting"; "forceCheckedAllState": "forceCheckedAllState"; "ariaLabelledBy": "ariaLabelledBy"; "loading": "loading"; }, { "presetChanged": "presetChanged"; "rowSelectionChange": "rowSelectionChange"; "sortChange": "sortChange"; "filterChange": "filterChange"; "groupChange": "groupChange"; "columnsChange": "columnsChange"; "pageChange": "pageChange"; "columnFreeze": "columnFreeze"; "rowToggleOpenState": "rowToggleOpenState"; "rowActivate": "rowActivate"; "rowNavigate": "rowNavigate"; "emptyRowAdded": "emptyRowAdded"; "save": "save"; "cancel": "cancel"; "tableScrolled": "tableScrolled"; "tableRowsSet": "tableRowsSet"; "allRowsExpanded": "allRowsExpanded"; "allRowsCollapsed": "allRowsCollapsed"; }, ["tableToolbar", "columns", "customEditableCells"], ["fdp-table-no-data-wrapper"], false, [{ directive: typeof i1.TableDataSourceDirective; inputs: { "dataSource": "dataSource"; "childDataSource": "childDataSource"; }; outputs: { "childDataSourceChanged": "childDataSourceChanged"; "onDataRequested": "onDataRequested"; "onDataReceived": "onDataReceived"; "dataSourceChanged": "dataSourceChanged"; "dataChanged": "dataChanged"; "isLoading": "isLoading"; }; }, { directive: typeof i1.TableHeaderResizerDirective; inputs: {}; outputs: {}; }]>;
|
|
620
640
|
}
|
|
621
641
|
export {};
|
package/table/table.module.d.ts
CHANGED
|
@@ -65,6 +65,6 @@ import * as i63 from "@fundamental-ngx/platform/list";
|
|
|
65
65
|
import * as i64 from "@fundamental-ngx/platform/table-helpers";
|
|
66
66
|
export declare class PlatformTableModule {
|
|
67
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformTableModule, never>;
|
|
68
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PlatformTableModule, [typeof i1.TableComponent, typeof i2.TableColumnComponent, typeof i3.TableToolbarComponent, typeof i4.TableToolbarActionsComponent, typeof i5.TableViewSettingsDialogComponent, typeof i6.TableViewSettingsFilterComponent, typeof i7.SortingComponent, typeof i8.GroupingComponent, typeof i9.FiltersComponent, typeof i10.FiltersListStepComponent, typeof i11.FilterStepComponent, typeof i12.FilterSingleSelectComponent, typeof i13.FilterMultiSelectComponent, typeof i14.FilterCustomComponent, typeof i15.ResetButtonComponent, typeof i16.TableP13DialogComponent, typeof i17.TableP13SortComponent, typeof i18.TableP13FilterComponent, typeof i19.TableP13GroupComponent, typeof i20.TableP13ColumnsComponent, typeof i21.P13SortingDialogComponent, typeof i22.P13GroupingDialogComponent, typeof i23.P13FilteringDialogComponent, typeof i24.FilterRuleComponent, typeof i25.P13ColumnsDialogComponent, typeof i26.PlatformTableColumnResizerComponent, typeof i27.NoDataWrapperComponent, typeof i21.GetAvailableSortColumnsPipe, typeof i28.TableEditableCellComponent, typeof i29.TableToolbarLeftActionsComponent, typeof i30.TableHeaderCellContentComponent, typeof i31.TableCellHeaderPopoverComponent, typeof i32.TableRowComponent, typeof i33.TableGroupRowComponent, typeof i34.TablePoppingRowComponent, typeof i35.TableHeaderRowComponent], [typeof i36.CommonModule, typeof i37.FormsModule, typeof i38.TableModule, typeof i39.ToolbarModule, typeof i40.FormModule, typeof i41.CheckboxModule, typeof i42.RadioModule, typeof i43.InputGroupModule, typeof i44.PopoverModule, typeof i45.ListModule, typeof i46.PlatformButtonModule, typeof i47.PipeModule, typeof i48.ButtonModule, typeof i49.PlatformInputModule, typeof i50.DialogModule, typeof i51.PlatformSearchFieldModule, typeof i52.IconModule, typeof i53.I18nModule, typeof i54.SelectModule, typeof i55.LayoutGridModule, typeof i56.PanelModule, typeof i57.DatePickerModule, typeof i58.BusyIndicatorModule, typeof i47.DragAndDropModule, typeof i59.ScrollbarModule, typeof i49.PlatformDatePickerModule, typeof i49.PlatformSwitchModule, typeof i60.PlatformContentDensityDeprecationsModule, typeof i61.ContentDensityModule, typeof i62.SkeletonModule, typeof i47.RepeatModule, typeof i47.DisabledBehaviorModule, typeof i63.PlatformListModule, typeof i47.ClickedBehaviorModule, typeof i64.TableHelpersModule, typeof i47.IntersectionSpyDirective], [typeof i1.TableComponent, typeof i2.TableColumnComponent, typeof i3.TableToolbarComponent, typeof i4.TableToolbarActionsComponent, typeof i5.TableViewSettingsDialogComponent, typeof i6.TableViewSettingsFilterComponent, typeof i7.SortingComponent, typeof i8.GroupingComponent, typeof i9.FiltersComponent, typeof i10.FiltersListStepComponent, typeof i11.FilterStepComponent, typeof i12.FilterSingleSelectComponent, typeof i13.FilterMultiSelectComponent, typeof i14.FilterCustomComponent, typeof i15.ResetButtonComponent, typeof i16.TableP13DialogComponent, typeof i17.TableP13SortComponent, typeof i18.TableP13FilterComponent, typeof i19.TableP13GroupComponent, typeof i20.TableP13ColumnsComponent, typeof i21.P13SortingDialogComponent, typeof i22.P13GroupingDialogComponent, typeof i23.P13FilteringDialogComponent, typeof i24.FilterRuleComponent, typeof i25.P13ColumnsDialogComponent, typeof i26.PlatformTableColumnResizerComponent, typeof i27.NoDataWrapperComponent, typeof i21.GetAvailableSortColumnsPipe, typeof i28.TableEditableCellComponent, typeof i29.TableToolbarLeftActionsComponent, typeof i30.TableHeaderCellContentComponent, typeof i31.TableCellHeaderPopoverComponent, typeof i32.TableRowComponent, typeof i33.TableGroupRowComponent, typeof i34.TablePoppingRowComponent, typeof i35.TableHeaderRowComponent, typeof i64.TableHelpersModule]>;
|
|
68
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PlatformTableModule, [typeof i1.TableComponent, typeof i2.TableColumnComponent, typeof i3.TableToolbarComponent, typeof i4.TableToolbarActionsComponent, typeof i5.TableViewSettingsDialogComponent, typeof i6.TableViewSettingsFilterComponent, typeof i7.SortingComponent, typeof i8.GroupingComponent, typeof i9.FiltersComponent, typeof i10.FiltersListStepComponent, typeof i11.FilterStepComponent, typeof i12.FilterSingleSelectComponent, typeof i13.FilterMultiSelectComponent, typeof i14.FilterCustomComponent, typeof i15.ResetButtonComponent, typeof i16.TableP13DialogComponent, typeof i17.TableP13SortComponent, typeof i18.TableP13FilterComponent, typeof i19.TableP13GroupComponent, typeof i20.TableP13ColumnsComponent, typeof i21.P13SortingDialogComponent, typeof i22.P13GroupingDialogComponent, typeof i23.P13FilteringDialogComponent, typeof i24.FilterRuleComponent, typeof i25.P13ColumnsDialogComponent, typeof i26.PlatformTableColumnResizerComponent, typeof i27.NoDataWrapperComponent, typeof i21.GetAvailableSortColumnsPipe, typeof i28.TableEditableCellComponent, typeof i29.TableToolbarLeftActionsComponent, typeof i30.TableHeaderCellContentComponent, typeof i31.TableCellHeaderPopoverComponent, typeof i32.TableRowComponent, typeof i33.TableGroupRowComponent, typeof i34.TablePoppingRowComponent, typeof i35.TableHeaderRowComponent, typeof i35.IsColumnHasHeaderMenuPipe], [typeof i36.CommonModule, typeof i37.FormsModule, typeof i38.TableModule, typeof i39.ToolbarModule, typeof i40.FormModule, typeof i41.CheckboxModule, typeof i42.RadioModule, typeof i43.InputGroupModule, typeof i44.PopoverModule, typeof i45.ListModule, typeof i46.PlatformButtonModule, typeof i47.PipeModule, typeof i48.ButtonModule, typeof i49.PlatformInputModule, typeof i50.DialogModule, typeof i51.PlatformSearchFieldModule, typeof i52.IconModule, typeof i53.I18nModule, typeof i54.SelectModule, typeof i55.LayoutGridModule, typeof i56.PanelModule, typeof i57.DatePickerModule, typeof i58.BusyIndicatorModule, typeof i47.DragAndDropModule, typeof i59.ScrollbarModule, typeof i49.PlatformDatePickerModule, typeof i49.PlatformSwitchModule, typeof i60.PlatformContentDensityDeprecationsModule, typeof i61.ContentDensityModule, typeof i62.SkeletonModule, typeof i47.RepeatModule, typeof i47.DisabledBehaviorModule, typeof i63.PlatformListModule, typeof i47.ClickedBehaviorModule, typeof i64.TableHelpersModule, typeof i47.IntersectionSpyDirective], [typeof i1.TableComponent, typeof i2.TableColumnComponent, typeof i3.TableToolbarComponent, typeof i4.TableToolbarActionsComponent, typeof i5.TableViewSettingsDialogComponent, typeof i6.TableViewSettingsFilterComponent, typeof i7.SortingComponent, typeof i8.GroupingComponent, typeof i9.FiltersComponent, typeof i10.FiltersListStepComponent, typeof i11.FilterStepComponent, typeof i12.FilterSingleSelectComponent, typeof i13.FilterMultiSelectComponent, typeof i14.FilterCustomComponent, typeof i15.ResetButtonComponent, typeof i16.TableP13DialogComponent, typeof i17.TableP13SortComponent, typeof i18.TableP13FilterComponent, typeof i19.TableP13GroupComponent, typeof i20.TableP13ColumnsComponent, typeof i21.P13SortingDialogComponent, typeof i22.P13GroupingDialogComponent, typeof i23.P13FilteringDialogComponent, typeof i24.FilterRuleComponent, typeof i25.P13ColumnsDialogComponent, typeof i26.PlatformTableColumnResizerComponent, typeof i27.NoDataWrapperComponent, typeof i21.GetAvailableSortColumnsPipe, typeof i28.TableEditableCellComponent, typeof i29.TableToolbarLeftActionsComponent, typeof i30.TableHeaderCellContentComponent, typeof i31.TableCellHeaderPopoverComponent, typeof i32.TableRowComponent, typeof i33.TableGroupRowComponent, typeof i34.TablePoppingRowComponent, typeof i35.TableHeaderRowComponent, typeof i35.IsColumnHasHeaderMenuPipe, typeof i64.TableHelpersModule]>;
|
|
69
69
|
static ɵinj: i0.ɵɵInjectorDeclaration<PlatformTableModule>;
|
|
70
70
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { RtlService } from '@fundamental-ngx/cdk/utils';
|
|
4
|
-
import { TableScrollDispatcherService } from './table-scroll-dispatcher.service';
|
|
5
4
|
import { Table } from '../table';
|
|
5
|
+
import { TableScrollDispatcherService } from './table-scroll-dispatcher.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const TABLE_RESIZER_BORDER_WIDTH = 3;
|
|
8
8
|
/**
|
package/table-helpers/table.d.ts
CHANGED
|
@@ -2,15 +2,15 @@ import { ElementRef, EventEmitter, Injector } from '@angular/core';
|
|
|
2
2
|
import { SearchInput } from '@fundamental-ngx/platform/search-field';
|
|
3
3
|
import { PresetManagedComponent } from '@fundamental-ngx/platform/shared';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
6
|
+
import { TableDataSource } from './domain';
|
|
7
7
|
import { CollectionFilter } from './interfaces/collection-filter.interface';
|
|
8
8
|
import { CollectionGroup } from './interfaces/collection-group.interface';
|
|
9
|
+
import { CollectionSort } from './interfaces/collection-sort.interface';
|
|
10
|
+
import { TableState } from './interfaces/table-state.interface';
|
|
11
|
+
import { PlatformTableManagedPreset, SaveRowsEvent, TableInitialState, TableRow } from './models';
|
|
9
12
|
import { TableScrollable } from './services/table-scroll-dispatcher.service';
|
|
10
13
|
import { TableColumn } from './table-column';
|
|
11
|
-
import { TableDataSource } from './domain';
|
|
12
|
-
import { PlatformTableManagedPreset, SaveRowsEvent, TableInitialState, TableRow } from './models';
|
|
13
|
-
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
14
14
|
export declare abstract class Table<T = any> implements PresetManagedComponent<PlatformTableManagedPreset> {
|
|
15
15
|
abstract readonly name: string;
|
|
16
16
|
abstract readonly id: string;
|
|
@@ -35,22 +35,9 @@ export declare abstract class Table<T = any> implements PresetManagedComponent<P
|
|
|
35
35
|
abstract readonly injector: Injector;
|
|
36
36
|
abstract readonly tableContainer: ElementRef;
|
|
37
37
|
abstract readonly tableScrollable: TableScrollable;
|
|
38
|
-
/** Toolbar Sort Settings button click event */
|
|
39
|
-
readonly openTableSortSettings: EventEmitter<void>;
|
|
40
|
-
/** Toolbar Filter Settings button click event */
|
|
41
|
-
readonly openTableFilterSettings: EventEmitter<void>;
|
|
42
|
-
/** Toolbar Group Settings button click event */
|
|
43
|
-
readonly openTableGroupSettings: EventEmitter<void>;
|
|
44
|
-
/** Toolbar Column Settings button click event */
|
|
45
|
-
readonly openTableColumnSettings: EventEmitter<void>;
|
|
46
|
-
/** Event fired when empty row added. */
|
|
47
|
-
readonly emptyRowAdded: EventEmitter<void>;
|
|
48
|
-
/** Event fired when save button pressed. */
|
|
49
|
-
readonly save: EventEmitter<SaveRowsEvent<T>>;
|
|
50
|
-
/** Event fired when cancel button pressed. */
|
|
51
|
-
readonly cancel: EventEmitter<void>;
|
|
52
38
|
abstract _tableRowsVisible: TableRow<T>[];
|
|
53
39
|
abstract _tableRows: TableRow<T>[];
|
|
40
|
+
abstract _tableRowsInViewPortPlaceholder: number[];
|
|
54
41
|
/** Get table state */
|
|
55
42
|
abstract getTableState(): TableState;
|
|
56
43
|
/** Set table state */
|
|
@@ -119,4 +106,19 @@ export declare abstract class Table<T = any> implements PresetManagedComponent<P
|
|
|
119
106
|
abstract setRowsInViewport(startIndex: number, length: number): void;
|
|
120
107
|
abstract toggleExpandableTableRow(row: TableRow<T>, forceFetch?: boolean): any;
|
|
121
108
|
abstract onTableRowsChanged(): void;
|
|
109
|
+
abstract refreshDndList(): void;
|
|
110
|
+
/** Toolbar Sort Settings button click event */
|
|
111
|
+
readonly openTableSortSettings: EventEmitter<void>;
|
|
112
|
+
/** Toolbar Filter Settings button click event */
|
|
113
|
+
readonly openTableFilterSettings: EventEmitter<void>;
|
|
114
|
+
/** Toolbar Group Settings button click event */
|
|
115
|
+
readonly openTableGroupSettings: EventEmitter<void>;
|
|
116
|
+
/** Toolbar Column Settings button click event */
|
|
117
|
+
readonly openTableColumnSettings: EventEmitter<void>;
|
|
118
|
+
/** Event fired when empty row added. */
|
|
119
|
+
readonly emptyRowAdded: EventEmitter<void>;
|
|
120
|
+
/** Event fired when save button pressed. */
|
|
121
|
+
readonly save: EventEmitter<SaveRowsEvent<T>>;
|
|
122
|
+
/** Event fired when cancel button pressed. */
|
|
123
|
+
readonly cancel: EventEmitter<void>;
|
|
122
124
|
}
|
|
Binary file
|