@coolon/angular-ui-powerups 3.7.5 → 3.8.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/CHANGELOG.md +7 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +25 -6
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/table-model.js +23 -2
- package/esm2015/lib/components/table/table-model.js.map +1 -1
- package/esm2015/lib/components/table/table-model.metadata.json +1 -1
- package/esm2015/lib/components/table/table.component.js +3 -5
- package/esm2015/lib/components/table/table.component.js.map +1 -1
- package/esm2015/lib/components/table/table.component.metadata.json +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +25 -6
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/table/table-model.d.ts +6 -1
- package/lib/components/table/table.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
2
|
-
import { BooleanValueModelChain, CanIdentify, DirtyTrackingForm, ListModel, ListModelChain, SelectionModel, Types, UnaryCommand, ValueModelChain } from '@coolon/pectin';
|
|
2
|
+
import { BooleanValueModelChain, CanIdentify, DirtyTrackingForm, Disposable, ListModel, ListModelChain, SelectionModel, Types, UnaryCommand, ValueModelChain } from '@coolon/pectin';
|
|
3
3
|
import { CellRenderer } from './cell-renderer';
|
|
4
4
|
import { CellRendererOptions, ColumnModel, CustomTemplateColumnModel, CustomValueColumnModel, EditorControlColumnModel, ListPropertyColumnModel, OnComponentInit, PropertyColumnModel, SelectionColumnModel } from './column-model';
|
|
5
5
|
import { ColumnTextProperties } from './column-text-properties';
|
|
@@ -91,6 +91,7 @@ export declare class TableModel<Row> {
|
|
|
91
91
|
readonly firstEditableColumn: ValueModelChain<ColumnModel<Row>>;
|
|
92
92
|
private selectionColumnModel;
|
|
93
93
|
private hasColumnsWithRowSelectionExplicitlyEnabled;
|
|
94
|
+
private readonly rowClickListeners;
|
|
94
95
|
static fromList<Row>(sourceOfTruth: ListModel<Row>, builder?: (tableModel: TableModel<Row>) => void): TableModel<Row>;
|
|
95
96
|
private _createForm;
|
|
96
97
|
protected constructor(sourceOfTruth: ListModel<Row>);
|
|
@@ -123,5 +124,9 @@ export declare class TableModel<Row> {
|
|
|
123
124
|
isRowSelectionEnabledFor(column: ColumnModel<Row>): boolean | undefined;
|
|
124
125
|
isRowSelectionEnabledByDefault(): boolean;
|
|
125
126
|
isRowSelectionEnabled(): boolean;
|
|
127
|
+
isHoverEnabled(): boolean;
|
|
128
|
+
isCursorEnabled(column: ColumnModel<Row>): boolean;
|
|
126
129
|
selectRow(row: Row): void;
|
|
130
|
+
onRowClicked(callback: (row: Row) => void): Disposable;
|
|
131
|
+
_notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
|
|
127
132
|
}
|
|
@@ -39,5 +39,5 @@ export declare class TableComponent<Row> extends DisposableComponent implements
|
|
|
39
39
|
ngOnInit(): void;
|
|
40
40
|
isEditing(row: Row): boolean;
|
|
41
41
|
registerColumnTemplate(columnId: string, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, fillCell: boolean, padChild: boolean): void;
|
|
42
|
-
|
|
42
|
+
notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
|
|
43
43
|
}
|