@ng-matero/extensions 15.1.0 → 15.1.1
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/datetimepicker/_datetimepicker-theme.scss +5 -1
- package/datetimepicker/calendar.scss +9 -2
- package/datetimepicker/datetimepicker-content.scss +2 -2
- package/datetimepicker/time.scss +2 -2
- package/esm2020/datetimepicker/calendar.mjs +3 -3
- package/esm2020/datetimepicker/datetimepicker.mjs +2 -2
- package/esm2020/datetimepicker/time.mjs +3 -3
- package/esm2020/grid/cell.mjs +8 -4
- package/esm2020/grid/grid-pipes.mjs +2 -2
- package/esm2020/grid/grid.mjs +7 -3
- package/fesm2015/mtxDatetimepicker.mjs +6 -6
- package/fesm2015/mtxDatetimepicker.mjs.map +1 -1
- package/fesm2015/mtxGrid.mjs +14 -6
- package/fesm2015/mtxGrid.mjs.map +1 -1
- package/fesm2020/mtxDatetimepicker.mjs +6 -6
- package/fesm2020/mtxDatetimepicker.mjs.map +1 -1
- package/fesm2020/mtxGrid.mjs +14 -6
- package/fesm2020/mtxGrid.mjs.map +1 -1
- package/grid/_grid-theme.scss +5 -5
- package/grid/cell.d.ts +3 -2
- package/grid/grid-pipes.d.ts +2 -2
- package/grid/grid.d.ts +4 -1
- package/loader/_loader-theme.scss +1 -1
- package/package.json +1 -1
- package/split/_split-theme.scss +1 -1
package/grid/_grid-theme.scss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
$foreground: map.get($config, foreground);
|
|
11
11
|
|
|
12
12
|
.mtx-grid {
|
|
13
|
-
border: 1px solid
|
|
13
|
+
border: 1px solid theming.get-color-from-palette($foreground, secondary-text, .2);
|
|
14
14
|
|
|
15
15
|
.mat-table-sticky-left,
|
|
16
16
|
.mat-table-sticky-right {
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.mat-mdc-paginator {
|
|
56
|
-
border-top: 1px solid
|
|
56
|
+
border-top: 1px solid theming.get-color-from-palette($foreground, secondary-text, .2);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.mtx-grid-toolbar {
|
|
61
|
-
border-bottom: 1px solid
|
|
61
|
+
border-bottom: 1px solid theming.get-color-from-palette($foreground, secondary-text, .2);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.mtx-grid-sidebar {
|
|
65
|
-
border-color:
|
|
65
|
+
border-color: theming.get-color-from-palette($foreground, secondary-text, .2);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.mtx-grid-statusbar {
|
|
69
|
-
border-top: 1px solid
|
|
69
|
+
border-top: 1px solid theming.get-color-from-palette($foreground, secondary-text, .2);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.mtx-grid-column-menu-item {
|
package/grid/cell.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, DoCheck, KeyValueDiffers, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, DoCheck, EventEmitter, KeyValueDiffers, OnInit } from '@angular/core';
|
|
2
2
|
import { MtxDialog } from '@ng-matero/extensions/dialog';
|
|
3
3
|
import { MtxGridUtils } from './grid-utils';
|
|
4
4
|
import { MtxGridColumn, MtxGridColumnButton } from './interfaces';
|
|
@@ -18,6 +18,7 @@ export declare class MtxGridCell implements OnInit, DoCheck {
|
|
|
18
18
|
summary: boolean;
|
|
19
19
|
/** Placeholder for the empty value (`null`, `''`, `[]`) */
|
|
20
20
|
placeholder: string;
|
|
21
|
+
rowDataChange: EventEmitter<any>;
|
|
21
22
|
private rowDataDiffer?;
|
|
22
23
|
get _value(): string;
|
|
23
24
|
constructor(_dialog: MtxDialog, _utils: MtxGridUtils, _differs: KeyValueDiffers, _changeDetectorRef: ChangeDetectorRef);
|
|
@@ -31,5 +32,5 @@ export declare class MtxGridCell implements OnInit, DoCheck {
|
|
|
31
32
|
/** Preview enlarged image */
|
|
32
33
|
_onImagePreview(urlStr: string): void;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxGridCell, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MtxGridCell, "mtx-grid-cell", ["mtxGridCell"], { "rowData": "rowData"; "colDef": "colDef"; "data": "data"; "summary": "summary"; "placeholder": "placeholder"; }, {}, never, never, false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MtxGridCell, "mtx-grid-cell", ["mtxGridCell"], { "rowData": "rowData"; "colDef": "colDef"; "data": "data"; "summary": "summary"; "placeholder": "placeholder"; }, { "rowDataChange": "rowDataChange"; }, never, never, false, never>;
|
|
35
36
|
}
|
package/grid/grid-pipes.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
1
|
+
import { KeyValueChangeRecord, PipeTransform } from '@angular/core';
|
|
2
2
|
import { MtxGridUtils } from './grid-utils';
|
|
3
3
|
import { MtxGridColumn, MtxGridColumnButton, MtxGridRowClassFormatter } from './interfaces';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class MtxGridColClassPipe implements PipeTransform {
|
|
6
|
-
transform(colDef: MtxGridColumn, rowData?: Record<string, any>): string;
|
|
6
|
+
transform(colDef: MtxGridColumn, rowData?: Record<string, any>, rowChangeRecord?: KeyValueChangeRecord<string, any>): string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxGridColClassPipe, never>;
|
|
8
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<MtxGridColClassPipe, "colClass", false>;
|
|
9
9
|
}
|
package/grid/grid.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, TemplateRef, TrackByFunction, OnDestroy, AfterViewInit, ChangeDetectorRef, ElementRef, SimpleChanges, QueryList } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, TemplateRef, TrackByFunction, OnDestroy, AfterViewInit, ChangeDetectorRef, ElementRef, SimpleChanges, QueryList, KeyValueChangeRecord } from '@angular/core';
|
|
2
2
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
3
|
import { MatFooterRowDef, MatHeaderRowDef, MatRowDef, MatTable, MatTableDataSource } from '@angular/material/table';
|
|
4
4
|
import { MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
@@ -183,6 +183,8 @@ export declare class MtxGrid implements OnChanges, AfterViewInit, OnDestroy {
|
|
|
183
183
|
showStatusbar: boolean;
|
|
184
184
|
/** The template for the status bar. */
|
|
185
185
|
statusbarTemplate: TemplateRef<any>;
|
|
186
|
+
/** The changed record of row data. */
|
|
187
|
+
rowChangeRecord?: KeyValueChangeRecord<string, any>;
|
|
186
188
|
constructor(_utils: MtxGridUtils, _changeDetectorRef: ChangeDetectorRef);
|
|
187
189
|
detectChanges(): void;
|
|
188
190
|
_getColData(data: any[], colDef: MtxGridColumn): any[];
|
|
@@ -192,6 +194,7 @@ export declare class MtxGrid implements OnChanges, AfterViewInit, OnDestroy {
|
|
|
192
194
|
_countPinnedPosition(): void;
|
|
193
195
|
_getIndex(index: number, dataIndex: number): number;
|
|
194
196
|
_onSortChange(sort: Sort): void;
|
|
197
|
+
_onRowDataChange(record: KeyValueChangeRecord<string, any>): void;
|
|
195
198
|
/** Expansion change event */
|
|
196
199
|
_onExpansionChange(expansionRef: MtxGridExpansionToggle, rowData: Record<string, any>, column: MtxGridColumn, index: number): void;
|
|
197
200
|
/** Cell select event */
|
package/package.json
CHANGED
package/split/_split-theme.scss
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
.mtx-split {
|
|
9
9
|
> .mtx-split-gutter {
|
|
10
|
-
background-color:
|
|
10
|
+
background-color: theming.get-color-from-palette($foreground, divider, .12);
|
|
11
11
|
|
|
12
12
|
&:hover {
|
|
13
13
|
background-color: theming.get-color-from-palette(map.get($config, primary), text);
|