@colijnit/corecomponents_v12 258.1.7 → 258.1.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/bundles/colijnit-corecomponents_v12.umd.js +32 -13
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/grid-toolbar/grid-toolbar.component.js +2 -2
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +187 -146
- package/esm2015/lib/components/simple-grid/simple-grid.module.js +4 -2
- package/fesm2015/colijnit-corecomponents_v12.js +189 -147
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/simple-grid/simple-grid.component.d.ts +4 -0
- package/lib/components/simple-grid/style/_layout.scss +26 -0
- package/package.json +1 -1
|
@@ -36,6 +36,7 @@ export declare class SimpleGridComponent extends BaseSimpleGridComponent {
|
|
|
36
36
|
sortColumnValue: string;
|
|
37
37
|
sortDirection: 'asc' | 'desc';
|
|
38
38
|
readonly Icons: typeof CoreComponentsIcon;
|
|
39
|
+
hoveredRowIndex: number;
|
|
39
40
|
private _doubleClicked;
|
|
40
41
|
private _newRow;
|
|
41
42
|
constructor(icons: IconCacheService, _changeDetection: ChangeDetectorRef, _formMaster: FormMasterService, excelExportService: ExcelExportService);
|
|
@@ -76,4 +77,7 @@ export declare class SimpleGridComponent extends BaseSimpleGridComponent {
|
|
|
76
77
|
setCurrentPage(page: number): void;
|
|
77
78
|
private _detectChanges;
|
|
78
79
|
private _resetEdit;
|
|
80
|
+
get isNewRow(): boolean;
|
|
81
|
+
protected readonly IconCacheService: typeof IconCacheService;
|
|
82
|
+
protected readonly CoreComponentsIcon: typeof CoreComponentsIcon;
|
|
79
83
|
}
|
|
@@ -221,6 +221,10 @@
|
|
|
221
221
|
opacity: 0.3;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
.simple-grid-row:hover {
|
|
225
|
+
pointer-events: auto;
|
|
226
|
+
}
|
|
227
|
+
|
|
224
228
|
.cdk-drag-animating {
|
|
225
229
|
transition: transform 200ms cubic-bezier(0, 0, 0.2, 1);
|
|
226
230
|
}
|
|
@@ -276,3 +280,25 @@
|
|
|
276
280
|
}
|
|
277
281
|
}
|
|
278
282
|
|
|
283
|
+
.icons-container {
|
|
284
|
+
display: flex;
|
|
285
|
+
justify-content: center;
|
|
286
|
+
align-items: center;
|
|
287
|
+
height: 100%;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.icon-item {
|
|
291
|
+
&:hover {
|
|
292
|
+
cursor: pointer;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
&.icon-edit {
|
|
296
|
+
width: 20px;
|
|
297
|
+
height: 20px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&.icon-delete {
|
|
301
|
+
width: 34px;
|
|
302
|
+
height: 34px;
|
|
303
|
+
}
|
|
304
|
+
}
|