@coolon/angular-ui-powerups 2.0.0-alpha.6 → 2.0.0-alpha.7
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 +9 -9
- 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/esm2015/lib/components/table/column-model.js +4 -4
- package/esm2015/lib/components/table/column-model.js.map +1 -1
- package/esm2015/lib/components/table/column-model.metadata.json +1 -1
- package/esm2015/lib/components/table/table-model.js +5 -5
- package/esm2015/lib/components/table/table-model.js.map +1 -1
- package/esm2015/lib/components/table/table-model.metadata.json +1 -1
- package/esm5/lib/components/table/column-model.js +4 -4
- package/esm5/lib/components/table/column-model.js.map +1 -1
- package/esm5/lib/components/table/table-model.js +5 -5
- package/esm5/lib/components/table/table-model.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +9 -9
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +9 -9
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/table/column-model.d.ts +2 -2
- package/lib/components/table/table-model.d.ts +6 -2
- package/package.json +1 -1
|
@@ -53,7 +53,7 @@ export interface CellEditorOptions<V, C> {
|
|
|
53
53
|
export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<Row>> extends ColumnModel<Row> {
|
|
54
54
|
readonly property: P;
|
|
55
55
|
private _format;
|
|
56
|
-
constructor(property: P, defaults: ColumnModel.Defaults);
|
|
56
|
+
constructor(id: string, property: P, defaults: ColumnModel.Defaults);
|
|
57
57
|
cellRenderer<E extends {
|
|
58
58
|
value: Row[P];
|
|
59
59
|
}>(componentType: ComponentType<E>, onComponentInit?: (component: E) => void): this;
|
|
@@ -65,7 +65,7 @@ export declare class PropertyColumnModel<Row, P extends Types.ValuePropertiesOf<
|
|
|
65
65
|
export declare class ListPropertyColumnModel<Row, P extends Types.ArrayPropertiesOf<Row>> extends ColumnModel<Row> {
|
|
66
66
|
readonly property: P;
|
|
67
67
|
private _format;
|
|
68
|
-
constructor(property: P, defaults: ColumnModel.Defaults);
|
|
68
|
+
constructor(id: string, property: P, defaults: ColumnModel.Defaults);
|
|
69
69
|
cellRenderer(componentType: ComponentType<{
|
|
70
70
|
value: Types.ArrayElementType<Row, P>[];
|
|
71
71
|
}>): this;
|
|
@@ -95,8 +95,12 @@ export declare class TableModel<Row> {
|
|
|
95
95
|
get rowsBeingEdited(): ListModel<Row>;
|
|
96
96
|
getTrackByFunction(): (index: number, item: Row) => any;
|
|
97
97
|
get columns(): ListModel<ColumnModel<Row>>;
|
|
98
|
-
pluck<P extends Types.ValuePropertiesOf<Row>>(property: P
|
|
99
|
-
|
|
98
|
+
pluck<P extends Types.ValuePropertiesOf<Row>>(property: P, options?: {
|
|
99
|
+
columnId: string;
|
|
100
|
+
}): PropertyColumnModel<Row, P>;
|
|
101
|
+
pluckList<P extends Types.ArrayPropertiesOf<Row>>(property: P, options?: {
|
|
102
|
+
columnId: string;
|
|
103
|
+
}): ListPropertyColumnModel<Row, P>;
|
|
100
104
|
addSelectionColumn(selectionModel: SelectionModel<Row>): SelectionColumnModel<Row>;
|
|
101
105
|
addEditControls(saveCommand: UnaryCommand<DirtyTrackingForm<Row>, boolean>): EditorControlColumnModel<Row>;
|
|
102
106
|
addCustomColumn<V>(columnId: string, dataAccessor: (row: Row) => V): CustomValueColumnModel<Row, V>;
|