@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.
- package/bundles/colijnit-corecomponents_v12.umd.js +43 -41
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +48 -43
- package/esm2015/lib/core/enum/core-components-icon.enum.js +3 -1
- package/esm2015/lib/core/model/core-components-icon-svg.js +3 -1
- package/fesm2015/colijnit-corecomponents_v12.js +51 -42
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/simple-grid/simple-grid.component.d.ts +2 -0
- package/lib/components/simple-grid/style/_layout.scss +31 -0
- package/lib/core/enum/core-components-icon.enum.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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",
|