@coolon/angular-ui-powerups 11.0.0-alpha.6 → 11.0.0-alpha.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/assets/table.scss +13 -6
- package/bundles/coolon-angular-ui-powerups.umd.js +35 -7
- 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/commands/command/command.component.js +5 -1
- package/esm2015/lib/components/commands/command/command.component.js.map +1 -1
- package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -1
- package/esm2015/lib/components/components.module.js +0 -3
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/table/column-model.js +2 -1
- 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-cell-renderer/table-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/table/table-cell-renderer/table-cell-renderer.component.metadata.json +1 -1
- package/esm2015/lib/components/table/table.component.js +30 -3
- 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 +36 -8
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/commands/command/command.component.d.ts +2 -1
- package/lib/components/table/column-model.d.ts +1 -0
- package/lib/components/table/table.component.d.ts +20 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { Command, ListModelChain, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
2
|
+
import { BooleanValueModelChain, Command, ListModelChain, ValueModel, ValueModelChain } from '@coolon/pectin';
|
|
3
3
|
import { CommandFace } from '../command-face';
|
|
4
4
|
import { PopupAwareComponent } from '../group/popup-aware.component';
|
|
5
5
|
import { PopupContainer } from '../group/popup-container';
|
|
@@ -17,6 +17,7 @@ export declare class CommandComponent extends PopupAwareComponent implements OnI
|
|
|
17
17
|
readonly buttonStyle: ValueModelChain<string>;
|
|
18
18
|
readonly colorModel: ValueModelChain<'primary' | 'accent' | 'warn' | undefined>;
|
|
19
19
|
private activeFace;
|
|
20
|
+
readonly iconOnly: BooleanValueModelChain;
|
|
20
21
|
constructor(element: ElementRef, parent?: PopupContainer);
|
|
21
22
|
isActive(face: CommandFace): boolean;
|
|
22
23
|
ngOnInit(): void;
|
|
@@ -32,6 +32,7 @@ export declare class ColumnModel<Row> {
|
|
|
32
32
|
private _selectRowOnClick;
|
|
33
33
|
private _flex;
|
|
34
34
|
private _visibleModel;
|
|
35
|
+
readonly dasherisedColumnId: string;
|
|
35
36
|
constructor(columnId: string, textPropertiesProvider: ColumnModel.TextPropertiesProvider);
|
|
36
37
|
protected installHeaderRenderer(): void;
|
|
37
38
|
getHeaderText(): string;
|
|
@@ -31,15 +31,32 @@ import { ColumnModel } from './column-model';
|
|
|
31
31
|
*
|
|
32
32
|
* Styling
|
|
33
33
|
* @example
|
|
34
|
+
* // global settings
|
|
35
|
+
* :root {
|
|
36
|
+
* --aup-table-column-gap: 10px; // defaults to 24px
|
|
37
|
+
* --aup-table-row-hover-background-color, rgba(0, 0, 0, 0.05)
|
|
38
|
+
* --aup-table-row-selected-background-color: rebeccapurple; // defaults to transparent
|
|
39
|
+
* --aup-table-first-column-padding-left: 18px // defaults to --column-gap
|
|
40
|
+
* --aup-table-last-column-padding-right: 18px // defaults to --column-gap
|
|
41
|
+
* }
|
|
42
|
+
*
|
|
43
|
+
* // per table settings.
|
|
34
44
|
* aup-table {
|
|
35
45
|
* --column-gap: 10px; // defaults to 24px
|
|
36
46
|
* --row-hover-background-color, rgba(0, 0, 0, 0.05)
|
|
37
47
|
* --row-selected-background-color: rebeccapurple; // defaults to transparent
|
|
48
|
+
* --first-column-padding-left: 18px // defaults to --column-gap
|
|
49
|
+
* --last-column-padding-right: 18px // defaults to --column-gap
|
|
50
|
+
*
|
|
51
|
+
* aup-table-header-cell-renderer,
|
|
38
52
|
* aup-table-cell-renderer {
|
|
39
|
-
*
|
|
53
|
+
* &.aup-col-my-dasherised-column-id {
|
|
54
|
+
* // do stuff
|
|
55
|
+
* }
|
|
56
|
+
* &.first-visible-column {
|
|
40
57
|
* // do stuff
|
|
41
58
|
* }
|
|
42
|
-
*
|
|
59
|
+
* &.last-visible-column {
|
|
43
60
|
* // do stuff
|
|
44
61
|
* }
|
|
45
62
|
* }
|
|
@@ -69,4 +86,5 @@ export declare class TableComponent<Row> extends ResizeAwareComponent implements
|
|
|
69
86
|
notifyCellClicked(columnModel: ColumnModel<Row>, row: Row): void;
|
|
70
87
|
isFirstVisibleColumn(columnId: string): boolean;
|
|
71
88
|
isLastVisibleColumn(columnId: string): boolean;
|
|
89
|
+
getColumnClasses(columnId: string): string[];
|
|
72
90
|
}
|