@ng-matero/extensions 16.3.2 → 16.3.3
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/esm2022/grid/column-menu.mjs +10 -4
- package/esm2022/grid/grid-pipes.mjs +2 -2
- package/esm2022/grid/grid.mjs +10 -9
- package/fesm2022/mtxGrid.mjs +19 -12
- package/fesm2022/mtxGrid.mjs.map +1 -1
- package/grid/column-menu.d.ts +1 -2
- package/grid/grid-pipes.d.ts +1 -1
- package/grid/grid.d.ts +2 -1
- package/package.json +7 -7
package/grid/column-menu.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
2
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
-
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
4
3
|
import { ThemePalette } from '@angular/material/core';
|
|
5
4
|
import { MatMenu, MatMenuTrigger } from '@angular/material/menu';
|
|
6
5
|
import { MtxGridButtonType, MtxGridColumn, MtxGridColumnPinOption, MtxGridColumnPinValue } from './interfaces';
|
|
@@ -31,7 +30,7 @@ export declare class MtxGridColumnMenu {
|
|
|
31
30
|
set pinOptions(value: MtxGridColumnPinOption[]);
|
|
32
31
|
private _pinOptions;
|
|
33
32
|
_handleDroped(e: CdkDragDrop<string[]>): void;
|
|
34
|
-
_handleChecked(
|
|
33
|
+
_handleChecked(col: MtxGridColumn): void;
|
|
35
34
|
_handlePinSelect(col: MtxGridColumn, val: MtxGridColumnPinValue): void;
|
|
36
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxGridColumnMenu, never>;
|
|
37
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<MtxGridColumnMenu, "mtx-grid-column-menu", ["mtxGridColumnMenu"], { "columns": { "alias": "columns"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selectableChecked": { "alias": "selectableChecked"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "pinnable": { "alias": "pinnable"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "buttonColor": { "alias": "buttonColor"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerText": { "alias": "footerText"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "pinOptions": { "alias": "pinOptions"; "required": false; }; }, { "columnChange": "columnChange"; }, never, never, false, never>;
|
package/grid/grid-pipes.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class MtxGridColClassPipe implements PipeTransform {
|
|
|
8
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<MtxGridColClassPipe, "colClass", false>;
|
|
9
9
|
}
|
|
10
10
|
export declare class MtxGridRowClassPipe implements PipeTransform {
|
|
11
|
-
transform(rowData: Record<string, any>, index: number, dataIndex: number, rowClassFormatter?: MtxGridRowClassFormatter): string;
|
|
11
|
+
transform(rowData: Record<string, any>, index: number | undefined, dataIndex: number, rowClassFormatter?: MtxGridRowClassFormatter): string;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxGridRowClassPipe, never>;
|
|
13
13
|
static ɵpipe: i0.ɵɵPipeDeclaration<MtxGridRowClassPipe, "rowClass", false>;
|
|
14
14
|
}
|
package/grid/grid.d.ts
CHANGED
|
@@ -195,11 +195,12 @@ export declare class MtxGrid implements OnChanges, AfterViewInit, OnDestroy {
|
|
|
195
195
|
constructor(_utils: MtxGridUtils, _changeDetectorRef: ChangeDetectorRef, _defaultOptions?: MtxGridDefaultOptions | undefined);
|
|
196
196
|
detectChanges(): void;
|
|
197
197
|
_getColData(data: any[], colDef: MtxGridColumn): any[];
|
|
198
|
+
_isColumnHide(item: MtxGridColumn): boolean;
|
|
198
199
|
ngOnChanges(changes: SimpleChanges): void;
|
|
199
200
|
ngAfterViewInit(): void;
|
|
200
201
|
ngOnDestroy(): void;
|
|
201
202
|
_countPinnedPosition(): void;
|
|
202
|
-
_getIndex(index: number, dataIndex: number): number;
|
|
203
|
+
_getIndex(index: number | undefined, dataIndex: number): number;
|
|
203
204
|
_onSortChange(sort: Sort): void;
|
|
204
205
|
_onRowDataChange(record: KeyValueChangeRecord<string, any>): void;
|
|
205
206
|
/** Expansion change event */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-matero/extensions",
|
|
3
|
-
"version": "16.3.
|
|
3
|
+
"version": "16.3.3",
|
|
4
4
|
"description": "Angular Material Extensions",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -90,18 +90,18 @@
|
|
|
90
90
|
"esm": "./esm2022/colorpicker/mtxColorpicker.mjs",
|
|
91
91
|
"default": "./fesm2022/mtxColorpicker.mjs"
|
|
92
92
|
},
|
|
93
|
-
"./column-resize": {
|
|
94
|
-
"types": "./column-resize/index.d.ts",
|
|
95
|
-
"esm2022": "./esm2022/column-resize/mtxColumnResize.mjs",
|
|
96
|
-
"esm": "./esm2022/column-resize/mtxColumnResize.mjs",
|
|
97
|
-
"default": "./fesm2022/mtxColumnResize.mjs"
|
|
98
|
-
},
|
|
99
93
|
"./core": {
|
|
100
94
|
"types": "./core/index.d.ts",
|
|
101
95
|
"esm2022": "./esm2022/core/mtxCore.mjs",
|
|
102
96
|
"esm": "./esm2022/core/mtxCore.mjs",
|
|
103
97
|
"default": "./fesm2022/mtxCore.mjs"
|
|
104
98
|
},
|
|
99
|
+
"./column-resize": {
|
|
100
|
+
"types": "./column-resize/index.d.ts",
|
|
101
|
+
"esm2022": "./esm2022/column-resize/mtxColumnResize.mjs",
|
|
102
|
+
"esm": "./esm2022/column-resize/mtxColumnResize.mjs",
|
|
103
|
+
"default": "./fesm2022/mtxColumnResize.mjs"
|
|
104
|
+
},
|
|
105
105
|
"./datetimepicker": {
|
|
106
106
|
"types": "./datetimepicker/index.d.ts",
|
|
107
107
|
"esm2022": "./esm2022/datetimepicker/mtxDatetimepicker.mjs",
|