@colijnit/corecomponents_v12 258.1.5 → 258.1.6

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.
@@ -17,6 +17,7 @@ export declare class SimpleGridComponent extends BaseSimpleGridComponent {
17
17
  showGridSettings: boolean;
18
18
  rowsPerPage: number;
19
19
  rowDisabledFn: Function;
20
+ showColumnSort: boolean;
20
21
  /**
21
22
  * Promise function, if provided should return boolean
22
23
  */
@@ -53,6 +54,7 @@ export declare class SimpleGridComponent extends BaseSimpleGridComponent {
53
54
  toggleSettingsMenu(): void;
54
55
  toggleColumnMenu(col: any): void;
55
56
  hideColumn(col: any): void;
57
+ sortColumn(col: any, columnValue: string): void;
56
58
  private _sortData;
57
59
  showAllColumns(): void;
58
60
  exportToExcel(): void;
@@ -114,6 +114,37 @@
114
114
  &.with-menu {
115
115
  cursor: pointer;
116
116
  }
117
+ &.with-sort {
118
+ cursor: pointer;
119
+ }
120
+ }
121
+ .sort-column {
122
+ position: absolute;
123
+ right: 0;
124
+ top: 50%;
125
+ cursor: pointer;
126
+ transform: translateY(-50%);
127
+ background: rgba(255, 255, 255, 0.8);
128
+ opacity: 0;
129
+ visibility: hidden;
130
+ overflow: hidden;
131
+ transition: opacity .3s ease-in-out;
132
+ .co-button {
133
+ width: 20px;
134
+ height: 20px;
135
+ background: transparent;
136
+ }
137
+ }
138
+ .simple-grid-column-header {
139
+ position: relative;
140
+ &:hover {
141
+ .sort-column {
142
+ opacity: 1;
143
+ visibility: visible;
144
+ overflow: visible;
145
+ transition: opacity .3s ease-in-out;
146
+ }
147
+ }
117
148
  }
118
149
  .simple-grid-column-sizer {
119
150
  cursor: col-resize;
@@ -19,6 +19,7 @@ export declare enum CoreComponentsIcon {
19
19
  ArrowScrollRight = "arrow_scroll_right",
20
20
  ArrowScrollUp = "arrow_scroll_up",
21
21
  ArrowUp = "arrow_up",
22
+ ArrowUpArrowDown = "arrow_up_arrow_down",
22
23
  Article = "article",
23
24
  ArticleWithFold = "article_with_fold",
24
25
  AsteriskSmall = "asterisk_small",
@@ -116,6 +117,7 @@ export declare enum CoreComponentsIcon {
116
117
  GlobalSearch = "global_search",
117
118
  Globe = "globe",
118
119
  GreaterThan = "greater_than",
120
+ GripDotsVerticalSolid = "grip_dots_vertical_solid",
119
121
  Groupby = "groupby",
120
122
  Hamburger = "hamburger",
121
123
  HandPointer = "hand_pointer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "258.1.5",
3
+ "version": "258.1.6",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {