@ng-matero/extensions 17.1.2 → 17.1.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, true, 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", true>;
|
|
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", true>;
|
|
14
14
|
}
|
package/grid/grid.d.ts
CHANGED
|
@@ -212,11 +212,12 @@ export declare class MtxGrid implements OnChanges, AfterViewInit, OnDestroy {
|
|
|
212
212
|
constructor(_utils: MtxGridUtils, _changeDetectorRef: ChangeDetectorRef, _defaultOptions?: MtxGridDefaultOptions | undefined);
|
|
213
213
|
detectChanges(): void;
|
|
214
214
|
_getColData(data: any[], colDef: MtxGridColumn): any[];
|
|
215
|
+
_isColumnHide(item: MtxGridColumn): boolean;
|
|
215
216
|
ngOnChanges(changes: SimpleChanges): void;
|
|
216
217
|
ngAfterViewInit(): void;
|
|
217
218
|
ngOnDestroy(): void;
|
|
218
219
|
_countPinnedPosition(): void;
|
|
219
|
-
_getIndex(index: number, dataIndex: number): number;
|
|
220
|
+
_getIndex(index: number | undefined, dataIndex: number): number;
|
|
220
221
|
_onSortChange(sort: Sort): void;
|
|
221
222
|
_onRowDataChange(record: KeyValueChangeRecord<string, any>): void;
|
|
222
223
|
/** Expansion change event */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-matero/extensions",
|
|
3
|
-
"version": "17.1.
|
|
3
|
+
"version": "17.1.3",
|
|
4
4
|
"description": "Angular Material Extensions",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -78,12 +78,6 @@
|
|
|
78
78
|
"esm": "./esm2022/checkbox-group/mtxCheckboxGroup.mjs",
|
|
79
79
|
"default": "./fesm2022/mtxCheckboxGroup.mjs"
|
|
80
80
|
},
|
|
81
|
-
"./colorpicker": {
|
|
82
|
-
"types": "./colorpicker/index.d.ts",
|
|
83
|
-
"esm2022": "./esm2022/colorpicker/mtxColorpicker.mjs",
|
|
84
|
-
"esm": "./esm2022/colorpicker/mtxColorpicker.mjs",
|
|
85
|
-
"default": "./fesm2022/mtxColorpicker.mjs"
|
|
86
|
-
},
|
|
87
81
|
"./core": {
|
|
88
82
|
"types": "./core/index.d.ts",
|
|
89
83
|
"esm2022": "./esm2022/core/mtxCore.mjs",
|
|
@@ -96,6 +90,12 @@
|
|
|
96
90
|
"esm": "./esm2022/column-resize/mtxColumnResize.mjs",
|
|
97
91
|
"default": "./fesm2022/mtxColumnResize.mjs"
|
|
98
92
|
},
|
|
93
|
+
"./colorpicker": {
|
|
94
|
+
"types": "./colorpicker/index.d.ts",
|
|
95
|
+
"esm2022": "./esm2022/colorpicker/mtxColorpicker.mjs",
|
|
96
|
+
"esm": "./esm2022/colorpicker/mtxColorpicker.mjs",
|
|
97
|
+
"default": "./fesm2022/mtxColorpicker.mjs"
|
|
98
|
+
},
|
|
99
99
|
"./datetimepicker": {
|
|
100
100
|
"types": "./datetimepicker/index.d.ts",
|
|
101
101
|
"esm2022": "./esm2022/datetimepicker/mtxDatetimepicker.mjs",
|