@coolon/angular-ui-powerups 13.5.3 → 13.6.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/lib/angular-ui-powerups.module.mjs +8 -4
- package/esm2020/lib/components/components.module.mjs +6 -3
- package/esm2020/lib/components/exports.mjs +2 -1
- package/esm2020/lib/components/tables/abstract-table-model.mjs +10 -5
- package/esm2020/lib/components/tables/abstract-table.component.mjs +14 -60
- package/esm2020/lib/components/tables/paginator/paginator.component.mjs +2 -2
- package/esm2020/lib/components/tables/renderer/table-body/table-body.component.mjs +112 -0
- package/esm2020/lib/components/tables/table/table-model.mjs +20 -1
- package/esm2020/lib/components/tables/table/table.component.mjs +29 -16
- package/esm2020/lib/components/tables/tree-table/tree-table-component.mjs +9 -12
- package/fesm2015/coolon-angular-ui-powerups.mjs +424 -326
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +464 -366
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/angular-ui-powerups.module.d.ts +4 -3
- package/lib/components/components.module.d.ts +23 -22
- package/lib/components/exports.d.ts +1 -0
- package/lib/components/tables/abstract-table-model.d.ts +5 -3
- package/lib/components/tables/abstract-table.component.d.ts +7 -13
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +35 -0
- package/lib/components/tables/table/table-model.d.ts +6 -1
- package/lib/components/tables/table/table.component.d.ts +7 -5
- package/lib/components/tables/tree-table/tree-table-component.d.ts +2 -2
- package/package.json +2 -2
|
@@ -10,10 +10,11 @@ import * as i8 from "./directives/directives.module";
|
|
|
10
10
|
import * as i9 from "./components/components.module";
|
|
11
11
|
import * as i10 from "./place/place.module";
|
|
12
12
|
import * as i11 from "./interaction/interaction.module";
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "./
|
|
13
|
+
import * as i12 from "@angular/cdk/observers";
|
|
14
|
+
import * as i13 from "./components/noop/noop.component";
|
|
15
|
+
import * as i14 from "./directives/highlight.pipe";
|
|
15
16
|
export declare class AngularUiPowerupsModule {
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AngularUiPowerupsModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularUiPowerupsModule, never, [typeof i1.CommonModule, typeof i2.BrowserAnimationsModule, typeof i3.FormsModule, typeof i4.MatInputModule, typeof i5.MatFormFieldModule, typeof i6.MatSelectModule, typeof i7.MatTabsModule, typeof i8.DirectivesModule, typeof i9.ComponentsModule, typeof i10.PlaceModule, typeof i11.InteractionModule], [typeof i11.InteractionModule, typeof i10.PlaceModule, typeof i8.DirectivesModule, typeof i9.ComponentsModule, typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AngularUiPowerupsModule, never, [typeof i1.CommonModule, typeof i2.BrowserAnimationsModule, typeof i3.FormsModule, typeof i4.MatInputModule, typeof i5.MatFormFieldModule, typeof i6.MatSelectModule, typeof i7.MatTabsModule, typeof i8.DirectivesModule, typeof i9.ComponentsModule, typeof i10.PlaceModule, typeof i11.InteractionModule, typeof i12.ObserversModule], [typeof i11.InteractionModule, typeof i10.PlaceModule, typeof i8.DirectivesModule, typeof i9.ComponentsModule, typeof i13.NoopComponent, typeof i14.HighlightPipe]>;
|
|
18
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<AngularUiPowerupsModule>;
|
|
19
20
|
}
|
|
@@ -51,30 +51,31 @@ import * as i48 from "./cards/card-stack/card-stack.component";
|
|
|
51
51
|
import * as i49 from "./labelled-value/labelled-value.component";
|
|
52
52
|
import * as i50 from "./loading-container/loading-container.component";
|
|
53
53
|
import * as i51 from "./text/markdown/markdown.component";
|
|
54
|
-
import * as i52 from "
|
|
55
|
-
import * as i53 from "@angular/
|
|
56
|
-
import * as i54 from "@angular/
|
|
57
|
-
import * as i55 from "@angular/
|
|
58
|
-
import * as i56 from "@angular/material/
|
|
59
|
-
import * as i57 from "@angular/material/
|
|
60
|
-
import * as i58 from "@angular/material/
|
|
61
|
-
import * as i59 from "
|
|
62
|
-
import * as i60 from "
|
|
63
|
-
import * as i61 from "@angular/material/
|
|
64
|
-
import * as i62 from "@angular/material/
|
|
65
|
-
import * as i63 from "@angular/material/
|
|
66
|
-
import * as i64 from "@angular/
|
|
67
|
-
import * as i65 from "@angular/cdk/
|
|
68
|
-
import * as i66 from "@
|
|
69
|
-
import * as i67 from "@angular
|
|
70
|
-
import * as i68 from "@angular/material/
|
|
71
|
-
import * as i69 from "@angular/material/
|
|
72
|
-
import * as i70 from "@angular/material/
|
|
73
|
-
import * as i71 from "@angular/material/
|
|
74
|
-
import * as i72 from "@angular/material/progress-
|
|
54
|
+
import * as i52 from "./tables/renderer/table-body/table-body.component";
|
|
55
|
+
import * as i53 from "@angular/common";
|
|
56
|
+
import * as i54 from "@angular/platform-browser/animations";
|
|
57
|
+
import * as i55 from "@angular/forms";
|
|
58
|
+
import * as i56 from "@angular/material/input";
|
|
59
|
+
import * as i57 from "@angular/material/form-field";
|
|
60
|
+
import * as i58 from "@angular/material/select";
|
|
61
|
+
import * as i59 from "@angular/material/tabs";
|
|
62
|
+
import * as i60 from "../directives/directives.module";
|
|
63
|
+
import * as i61 from "@angular/material/icon";
|
|
64
|
+
import * as i62 from "@angular/material/button";
|
|
65
|
+
import * as i63 from "@angular/material/checkbox";
|
|
66
|
+
import * as i64 from "@angular/material/table";
|
|
67
|
+
import * as i65 from "@angular/cdk/portal";
|
|
68
|
+
import * as i66 from "@angular/cdk/scrolling";
|
|
69
|
+
import * as i67 from "@fortawesome/angular-fontawesome";
|
|
70
|
+
import * as i68 from "@angular/material/tooltip";
|
|
71
|
+
import * as i69 from "@angular/material/autocomplete";
|
|
72
|
+
import * as i70 from "@angular/material/menu";
|
|
73
|
+
import * as i71 from "@angular/material/divider";
|
|
74
|
+
import * as i72 from "@angular/material/progress-spinner";
|
|
75
|
+
import * as i73 from "@angular/material/progress-bar";
|
|
75
76
|
export declare class ComponentsModule {
|
|
76
77
|
constructor(faIconLibrary: FaIconLibrary);
|
|
77
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentsModule, never>;
|
|
78
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.AbstractInputComponent, typeof i2.AbstractValueInputComponent, typeof i3.AbstractListInputComponent, typeof i4.NumberInputComponent, typeof i5.StringInputComponent, typeof i6.TextInputComponent, typeof i7.PasswordInputComponent, typeof i8.SelectInputComponent, typeof i9.MultipleSelectInputComponent, typeof i10.AutocompleteInputComponent, typeof i11.CheckboxInputComponent, typeof i12.ScrollContainerComponent, typeof i13.NoopComponent, typeof i14.SwitchCaseComponent, typeof i14.SwitchCaseWhenDirective, typeof i14.SwitchCaseDefaultDirective, typeof i15.FocusContainerComponent, typeof i16.VerticalFocusContainerComponent, typeof i17.FocusableComponent, typeof i18.CardContainerComponent, typeof i19.TableComponent, typeof i20.EditRowControls, typeof i21.ColumnTemplateDirective, typeof i22.DefaultCellRendererComponent, typeof i23.TableCellComponent, typeof i24.SelectionCellComponent, typeof i25.SelectionHeaderCellComponent, typeof i26.DefaultHeaderCellRendererComponent, typeof i27.TableHeaderCellComponent, typeof i28.IconComponent, typeof i29.SectionHeaderComponent, typeof i30.TableRowMenuComponent, typeof i31.ToolBarComponent, typeof i32.CommandComponent, typeof i33.PopupMenuComponent, typeof i34.CommandFaceComponent, typeof i35.MoreMenuComponent, typeof i36.SeparatorComponent, typeof i37.FlexComponent, typeof i38.AbstractPopupMenuComponent, typeof i39.PopupMenuRendererComponent, typeof i40.TreeTableComponent, typeof i41.TreeInheritanceIconComponent, typeof i42.TreeLabelCellRendererComponent, typeof i43.BusyOverlayComponent, typeof i44.EmptyStateComponent, typeof i45.PaginatorComponent, typeof i46.AbstractTableComponent, typeof i47.AbstractCardContainerComponent, typeof i48.CardStackComponent, typeof i49.LabelledValueComponent, typeof i50.LoadingContainerComponent, typeof i51.MarkdownComponent], [typeof
|
|
79
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentsModule, [typeof i1.AbstractInputComponent, typeof i2.AbstractValueInputComponent, typeof i3.AbstractListInputComponent, typeof i4.NumberInputComponent, typeof i5.StringInputComponent, typeof i6.TextInputComponent, typeof i7.PasswordInputComponent, typeof i8.SelectInputComponent, typeof i9.MultipleSelectInputComponent, typeof i10.AutocompleteInputComponent, typeof i11.CheckboxInputComponent, typeof i12.ScrollContainerComponent, typeof i13.NoopComponent, typeof i14.SwitchCaseComponent, typeof i14.SwitchCaseWhenDirective, typeof i14.SwitchCaseDefaultDirective, typeof i15.FocusContainerComponent, typeof i16.VerticalFocusContainerComponent, typeof i17.FocusableComponent, typeof i18.CardContainerComponent, typeof i19.TableComponent, typeof i20.EditRowControls, typeof i21.ColumnTemplateDirective, typeof i22.DefaultCellRendererComponent, typeof i23.TableCellComponent, typeof i24.SelectionCellComponent, typeof i25.SelectionHeaderCellComponent, typeof i26.DefaultHeaderCellRendererComponent, typeof i27.TableHeaderCellComponent, typeof i28.IconComponent, typeof i29.SectionHeaderComponent, typeof i30.TableRowMenuComponent, typeof i31.ToolBarComponent, typeof i32.CommandComponent, typeof i33.PopupMenuComponent, typeof i34.CommandFaceComponent, typeof i35.MoreMenuComponent, typeof i36.SeparatorComponent, typeof i37.FlexComponent, typeof i38.AbstractPopupMenuComponent, typeof i39.PopupMenuRendererComponent, typeof i40.TreeTableComponent, typeof i41.TreeInheritanceIconComponent, typeof i42.TreeLabelCellRendererComponent, typeof i43.BusyOverlayComponent, typeof i44.EmptyStateComponent, typeof i45.PaginatorComponent, typeof i46.AbstractTableComponent, typeof i47.AbstractCardContainerComponent, typeof i48.CardStackComponent, typeof i49.LabelledValueComponent, typeof i50.LoadingContainerComponent, typeof i51.MarkdownComponent, typeof i52.TableBodyComponent], [typeof i53.CommonModule, typeof i54.BrowserAnimationsModule, typeof i55.FormsModule, typeof i56.MatInputModule, typeof i57.MatFormFieldModule, typeof i58.MatSelectModule, typeof i59.MatTabsModule, typeof i60.DirectivesModule, typeof i61.MatIconModule, typeof i62.MatButtonModule, typeof i63.MatCheckboxModule, typeof i64.MatTableModule, typeof i65.PortalModule, typeof i66.CdkScrollableModule, typeof i67.FontAwesomeModule, typeof i68.MatTooltipModule, typeof i69.MatAutocompleteModule, typeof i70.MatMenuModule, typeof i71.MatDividerModule, typeof i72.MatProgressSpinnerModule, typeof i73.MatProgressBarModule], [typeof i4.NumberInputComponent, typeof i5.StringInputComponent, typeof i6.TextInputComponent, typeof i7.PasswordInputComponent, typeof i11.CheckboxInputComponent, typeof i8.SelectInputComponent, typeof i9.MultipleSelectInputComponent, typeof i10.AutocompleteInputComponent, typeof i12.ScrollContainerComponent, typeof i13.NoopComponent, typeof i14.SwitchCaseComponent, typeof i14.SwitchCaseWhenDirective, typeof i14.SwitchCaseDefaultDirective, typeof i15.FocusContainerComponent, typeof i16.VerticalFocusContainerComponent, typeof i17.FocusableComponent, typeof i18.CardContainerComponent, typeof i19.TableComponent, typeof i20.EditRowControls, typeof i21.ColumnTemplateDirective, typeof i28.IconComponent, typeof i29.SectionHeaderComponent, typeof i30.TableRowMenuComponent, typeof i31.ToolBarComponent, typeof i32.CommandComponent, typeof i33.PopupMenuComponent, typeof i34.CommandFaceComponent, typeof i35.MoreMenuComponent, typeof i36.SeparatorComponent, typeof i37.FlexComponent, typeof i40.TreeTableComponent, typeof i43.BusyOverlayComponent, typeof i44.EmptyStateComponent, typeof i45.PaginatorComponent, typeof i48.CardStackComponent, typeof i49.LabelledValueComponent, typeof i50.LoadingContainerComponent, typeof i51.MarkdownComponent]>;
|
|
79
80
|
static ɵinj: i0.ɵɵInjectorDeclaration<ComponentsModule>;
|
|
80
81
|
}
|
|
@@ -67,6 +67,7 @@ export * from "./tables/renderer/default-cell-renderer/default-cell-renderer.com
|
|
|
67
67
|
export * from "./tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component";
|
|
68
68
|
export * from "./tables/renderer/select-header-cell/selection-header-cell.component";
|
|
69
69
|
export * from "./tables/renderer/selection-cell/selection-cell.component";
|
|
70
|
+
export * from "./tables/renderer/table-body/table-body.component";
|
|
70
71
|
export * from "./tables/renderer/table-cell/table-cell.component";
|
|
71
72
|
export * from "./tables/renderer/table-header-cell/table-header-cell.component";
|
|
72
73
|
export * from "./tables/search/column-text-search-formatter";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentType } from "@angular/cdk/overlay";
|
|
2
2
|
import { Injector } from "@angular/core";
|
|
3
|
-
import { BooleanValueModelChain, Command, DirtyTrackingForm, Disposable, GarbageCollector, ListModel,
|
|
3
|
+
import { BooleanValueModelChain, Command, DelegatingListModel, DirtyTrackingForm, Disposable, GarbageCollector, ListModel, SelectionModel, Types, ValueModel, ValueModelChain } from "@coolon/pectin";
|
|
4
4
|
import { CustomTemplateColumnModel } from "./column/custom-template-column-model";
|
|
5
5
|
import { CustomValueColumnModel } from "./column/custom-value-column-model";
|
|
6
6
|
import { EditorControlColumnModel } from "./column/editor-controls-column-model";
|
|
@@ -12,8 +12,8 @@ import { CellRenderer } from "./renderer/cell-renderer";
|
|
|
12
12
|
import { CellRendererOptions, ColumnModel, OnComponentInit } from "./column/column-model";
|
|
13
13
|
import { ColumnTextProperties } from "./column/column-text-properties";
|
|
14
14
|
export declare class AbstractTableModel<Row> extends GarbageCollector {
|
|
15
|
-
private readonly
|
|
16
|
-
readonly
|
|
15
|
+
private readonly _rawDataSource;
|
|
16
|
+
readonly _visibleRows$: DelegatingListModel<Row>;
|
|
17
17
|
private readonly _columnList;
|
|
18
18
|
private _editorSessions;
|
|
19
19
|
private readonly _rowsBeingEdited$;
|
|
@@ -31,10 +31,12 @@ export declare class AbstractTableModel<Row> extends GarbageCollector {
|
|
|
31
31
|
private readonly _searchText$;
|
|
32
32
|
private _createForm;
|
|
33
33
|
private _textSearchPredicate$;
|
|
34
|
+
private _filteredRows$;
|
|
34
35
|
constructor();
|
|
35
36
|
findMatchingColumns(row: Row, regex: RegExp): ColumnModel<Row>[];
|
|
36
37
|
hasMatchingColumn(row: Row, regex: RegExp): boolean;
|
|
37
38
|
initialise(injector: Injector): void;
|
|
39
|
+
get visibleRows$(): ListModel<Row>;
|
|
38
40
|
protected setDataSource(sourceOfTruth: ListModel<Row>): void;
|
|
39
41
|
setTextSearch(searchText$: ValueModel<string>, throttleDelayMilliseconds?: number): void;
|
|
40
42
|
identityOf(row: Row): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Injector, OnInit, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
2
|
import { ListModelChain, ValueModel } from '@coolon/pectin';
|
|
3
|
-
import {
|
|
3
|
+
import { DisposableComponent } from "../disposable-component";
|
|
4
4
|
import { AbstractTableModel } from './abstract-table-model';
|
|
5
5
|
import { ColumnModel } from './column/column-model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -63,9 +63,9 @@ import * as i0 from "@angular/core";
|
|
|
63
63
|
* }
|
|
64
64
|
* }
|
|
65
65
|
*/
|
|
66
|
-
export declare class AbstractTableComponent<Row> extends
|
|
66
|
+
export declare class AbstractTableComponent<Row> extends DisposableComponent implements OnInit {
|
|
67
67
|
private readonly injector;
|
|
68
|
-
|
|
68
|
+
showHeader$: ValueModel<boolean>;
|
|
69
69
|
showHeader: boolean;
|
|
70
70
|
/**
|
|
71
71
|
* Set to true to enable scrolling. Once enabled the table will have 0 implicit height. You will either
|
|
@@ -80,16 +80,10 @@ export declare class AbstractTableComponent<Row> extends ResizeAwareComponent im
|
|
|
80
80
|
private readonly headerHeight;
|
|
81
81
|
private readonly rowHeight;
|
|
82
82
|
baseCssClass: string;
|
|
83
|
-
constructor(
|
|
84
|
-
get hideHeader(): boolean;
|
|
85
|
-
getModel(): AbstractTableModel<Row>;
|
|
83
|
+
constructor(injector: Injector);
|
|
86
84
|
ngOnInit(): void;
|
|
87
|
-
|
|
85
|
+
protected getModel(): AbstractTableModel<Row>;
|
|
88
86
|
registerColumnTemplate(columnId: string, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
|
|
89
|
-
notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
|
|
90
|
-
isFirstVisibleColumn(columnId: string): boolean;
|
|
91
|
-
isLastVisibleColumn(columnId: string): boolean;
|
|
92
|
-
getColumnClasses(columnId: string): string[];
|
|
93
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTableComponent<any>, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTableComponent<any>, "aup-abstract-table", never, { "
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbstractTableComponent<any>, "aup-abstract-table", never, { "showHeader$": "showHeader$"; "showHeader": "showHeader"; "enableScrolling": "enableScrolling"; }, {}, never, never>;
|
|
95
89
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, NgZone, OnInit } from "@angular/core";
|
|
2
|
+
import { ListModelChain, ValueModel } from "@coolon/pectin";
|
|
3
|
+
import { ResizeAwareComponent } from "../../../resize-aware.component";
|
|
4
|
+
import { AbstractTableModel } from "../../abstract-table-model";
|
|
5
|
+
import { ColumnModel } from "../../column/column-model";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TableBodyComponent<Row> extends ResizeAwareComponent implements OnInit {
|
|
8
|
+
tableModel: AbstractTableModel<Row>;
|
|
9
|
+
showHeader$: ValueModel<boolean>;
|
|
10
|
+
showHeader: boolean;
|
|
11
|
+
readonly visibleRowCount: EventEmitter<number>;
|
|
12
|
+
/**
|
|
13
|
+
* Set to true to enable scrolling. Once enabled the table will have 0 implicit height. You will either
|
|
14
|
+
* need to set it explicitly e.g. height: 400px; or by using flex or grid layout to make it fill it's
|
|
15
|
+
* containment area.
|
|
16
|
+
*/
|
|
17
|
+
enableScrolling: boolean;
|
|
18
|
+
columns: ListModelChain<ColumnModel<Row>>;
|
|
19
|
+
columnIds: ListModelChain<string>;
|
|
20
|
+
private columnsById;
|
|
21
|
+
readonly _visibleRowCount: ValueModel<number>;
|
|
22
|
+
private readonly headerHeight;
|
|
23
|
+
private readonly rowHeight;
|
|
24
|
+
baseCssClass: string;
|
|
25
|
+
constructor(elementRef: ElementRef, ngZone: NgZone);
|
|
26
|
+
get hideHeader(): boolean;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
isEditing(row: Row): boolean;
|
|
29
|
+
notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
|
|
30
|
+
isFirstVisibleColumn(columnId: string): boolean;
|
|
31
|
+
isLastVisibleColumn(columnId: string): boolean;
|
|
32
|
+
getColumnClasses(columnId: string): string[];
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "aup-table-body", never, { "tableModel": "tableModel"; "showHeader$": "showHeader$"; "showHeader": "showHeader"; "enableScrolling": "enableScrolling"; }, { "visibleRowCount": "visibleRowCount"; }, never, never>;
|
|
35
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ListModel, SelectionModel, ValueModel } from "@coolon/pectin";
|
|
1
|
+
import { ListModel, PageController, SelectionModel, ValueModel } from "@coolon/pectin";
|
|
2
2
|
import { AbstractTableModel } from "../abstract-table-model";
|
|
3
3
|
import { SelectionColumnModel } from "../column/selection-column-model";
|
|
4
4
|
/**
|
|
@@ -81,6 +81,11 @@ import { SelectionColumnModel } from "../column/selection-column-model";
|
|
|
81
81
|
* });
|
|
82
82
|
*/
|
|
83
83
|
export declare class TableModel<Row> extends AbstractTableModel<Row> {
|
|
84
|
+
private _pageController;
|
|
85
|
+
private _pageSize;
|
|
84
86
|
constructor(sourceOfTruth: ListModel<Row>, builder?: (table: TableModel<Row>) => void);
|
|
87
|
+
get pageController(): PageController;
|
|
88
|
+
enablePaging(): void;
|
|
85
89
|
addSelectionColumn(selectionModel?: SelectionModel<Row>, showSelectionColumn?: ValueModel<boolean> | boolean): SelectionColumnModel<Row>;
|
|
90
|
+
updatePageSize(count: number): void;
|
|
86
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ElementRef, Injector, NgZone } from "@angular/core";
|
|
2
1
|
import { AbstractTableModel } from '../abstract-table-model';
|
|
3
2
|
import { AbstractTableComponent } from '../abstract-table.component';
|
|
3
|
+
import { TableModel } from "./table-model";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Create your model:
|
|
@@ -63,9 +63,11 @@ import * as i0 from "@angular/core";
|
|
|
63
63
|
* }
|
|
64
64
|
*/
|
|
65
65
|
export declare class TableComponent<Row> extends AbstractTableComponent<Row> {
|
|
66
|
-
tableModel:
|
|
67
|
-
|
|
68
|
-
getModel(): AbstractTableModel<Row>;
|
|
66
|
+
tableModel: TableModel<Row>;
|
|
67
|
+
private _footerContentAdded;
|
|
68
|
+
protected getModel(): AbstractTableModel<Row>;
|
|
69
|
+
footerContentChanged($event: any): void;
|
|
70
|
+
updatePageSize(count: number): void;
|
|
69
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": "tableModel"; }, {}, never,
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "aup-table", never, { "tableModel": "tableModel"; }, {}, never, ["[footer]"]>;
|
|
71
73
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Injector } from "@angular/core";
|
|
2
2
|
import { TreeNode } from '@coolon/typescript-utilities';
|
|
3
3
|
import { AbstractTableModel } from '../abstract-table-model';
|
|
4
4
|
import { AbstractTableComponent } from '../abstract-table.component';
|
|
@@ -66,7 +66,7 @@ import * as i0 from "@angular/core";
|
|
|
66
66
|
*/
|
|
67
67
|
export declare class TreeTableComponent<T extends TreeNode<T>> extends AbstractTableComponent<T> {
|
|
68
68
|
treeTableModel: TreeTableModel<T>;
|
|
69
|
-
constructor(
|
|
69
|
+
constructor(injector: Injector);
|
|
70
70
|
getModel(): AbstractTableModel<T>;
|
|
71
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeTableComponent<any>, never>;
|
|
72
72
|
static ɵcmp: i0.ɵɵComponentDeclaration<TreeTableComponent<any>, "aup-tree-table", never, { "treeTableModel": "treeTableModel"; }, {}, never, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolon/angular-ui-powerups",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.6.0",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^13.2.3",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@angular/forms": "^13.2.3",
|
|
10
10
|
"@angular/material": "^13.2.3",
|
|
11
11
|
"@angular/router": "^13.2.3",
|
|
12
|
-
"@coolon/pectin": "^3.16.
|
|
12
|
+
"@coolon/pectin": "^3.16.9",
|
|
13
13
|
"@coolon/typescript-utilities": "^2.4.1",
|
|
14
14
|
"@fortawesome/angular-fontawesome": "^0.10.1",
|
|
15
15
|
"@fortawesome/fontawesome-free": "^6.0.0",
|