@acorex/data-grid 16.0.15 → 16.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/index.mjs +3 -2
- package/esm2022/lib/data-grid/columns/column-groups.component.mjs +33 -0
- package/esm2022/lib/data-grid/columns/column.component.mjs +8 -2
- package/esm2022/lib/data-grid/datagrid.module.mjs +25 -25
- package/fesm2022/acorex-data-grid.mjs +49 -9
- package/fesm2022/acorex-data-grid.mjs.map +1 -1
- package/index.d.ts +2 -1
- package/lib/data-grid/columns/column-groups.component.d.ts +9 -0
- package/lib/data-grid/columns/column.component.d.ts +2 -1
- package/lib/data-grid/datagrid.module.d.ts +7 -6
- package/package.json +1 -1
package/esm2022/index.mjs
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
export * from './lib/data-grid/columns/check-column.component';
|
2
|
+
export * from './lib/data-grid/columns/column-groups.component';
|
2
3
|
export * from './lib/data-grid/columns/column.component';
|
3
4
|
export * from './lib/data-grid/columns/command-column.component';
|
4
5
|
export * from './lib/data-grid/columns/date-column.component';
|
@@ -10,9 +11,9 @@ export * from './lib/data-grid/datagrid.events';
|
|
10
11
|
export * from './lib/data-grid/datagrid.module';
|
11
12
|
export * from './lib/data-grid/filters/filter.component';
|
12
13
|
export * from './lib/data-grid/templates/cell-template.component';
|
13
|
-
export * from './lib/data-grid/templates/row-template.component';
|
14
14
|
export * from './lib/data-grid/templates/detail-template.component';
|
15
|
+
export * from './lib/data-grid/templates/row-template.component';
|
15
16
|
export * from './lib/data-lov/data-lov-popup/data-lov-popup.component';
|
16
17
|
export * from './lib/data-lov/data-lov.component';
|
17
18
|
export * from './lib/data-lov/data-lov.module';
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2RhdGEtZ3JpZC9zcmMvaW5kZXgudHMiXSwibmFt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ionStrategy, Component, ContentChildren, QueryList, } from '@angular/core';
|
2
|
+
import { AXGridDataColumn } from './column.component';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export class AXColumnGroupComponent extends AXGridDataColumn {
|
5
|
+
columns;
|
6
|
+
render() {
|
7
|
+
const col = super.render();
|
8
|
+
col.children = [];
|
9
|
+
this.columns.forEach((elm) => {
|
10
|
+
col.children.push(elm.render());
|
11
|
+
});
|
12
|
+
return col;
|
13
|
+
}
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXColumnGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
15
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXColumnGroupComponent, selector: "ax-column-group", providers: [
|
16
|
+
{ provide: AXGridDataColumn, useExisting: AXColumnGroupComponent },
|
17
|
+
], queries: [{ propertyName: "columns", predicate: AXGridDataColumn }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
18
|
+
}
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXColumnGroupComponent, decorators: [{
|
20
|
+
type: Component,
|
21
|
+
args: [{
|
22
|
+
selector: 'ax-column-group',
|
23
|
+
template: '<ng-content></ng-content>',
|
24
|
+
providers: [
|
25
|
+
{ provide: AXGridDataColumn, useExisting: AXColumnGroupComponent },
|
26
|
+
],
|
27
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
28
|
+
}]
|
29
|
+
}], propDecorators: { columns: [{
|
30
|
+
type: ContentChildren,
|
31
|
+
args: [AXGridDataColumn]
|
32
|
+
}] } });
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLWdyb3Vwcy5jb21wb25lbnQuanMiLCJzb3VyY2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KGVsbSkgPT4ge1xuICAgICAgY29sLmNoaWxkcmVuLnB1c2goZWxtLnJlbmRlcigpKTtcbiAgICB9KTtcbiAgICByZXR1cm4gY29sO1xuICB9XG59XG4iXX0=
|
@@ -26,6 +26,7 @@ export class AXGridDataColumn {
|
|
26
26
|
resizable = true;
|
27
27
|
menuColumnDisable = false;
|
28
28
|
menuItemDisable = false;
|
29
|
+
columnGroupShow;
|
29
30
|
wrapText = false;
|
30
31
|
constructor() { }
|
31
32
|
render() {
|
@@ -110,6 +111,9 @@ export class AXGridDataColumn {
|
|
110
111
|
col.cellRendererFramework = this.cellTemplate.renderer;
|
111
112
|
col.cellRendererParams = this.cellTemplate.params;
|
112
113
|
}
|
114
|
+
if (this.columnGroupShow) {
|
115
|
+
col.columnGroupShow = this.columnGroupShow;
|
116
|
+
}
|
113
117
|
if (this.checkbox) {
|
114
118
|
col.checkboxSelection = (params) => {
|
115
119
|
return true;
|
@@ -119,7 +123,7 @@ export class AXGridDataColumn {
|
|
119
123
|
return col;
|
120
124
|
}
|
121
125
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridDataColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
122
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AXGridDataColumn, inputs: { width: "width", maxWidth: "maxWidth", minWidth: "minWidth", pinned: "pinned", allowSorting: "allowSorting", allowFiltering: "allowFiltering", cellClass: "cellClass", sort: "sort", field: "field", caption: "caption", cellRendererParams: "cellRendererParams", checkbox: "checkbox", headerCheckbox: "headerCheckbox", groupIndex: "groupIndex", treeIndex: "treeIndex", enableRowGroup: "enableRowGroup", hide: "hide", floatingFilter: "floatingFilter", disableMenu: "disableMenu", resizable: "resizable", menuColumnDisable: "menuColumnDisable", menuItemDisable: "menuItemDisable", wrapText: "wrapText" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: AXDataGridCellTemplateComponent, descendants: true }], ngImport: i0 });
|
126
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AXGridDataColumn, inputs: { width: "width", maxWidth: "maxWidth", minWidth: "minWidth", pinned: "pinned", allowSorting: "allowSorting", allowFiltering: "allowFiltering", cellClass: "cellClass", sort: "sort", field: "field", caption: "caption", cellRendererParams: "cellRendererParams", checkbox: "checkbox", headerCheckbox: "headerCheckbox", groupIndex: "groupIndex", treeIndex: "treeIndex", enableRowGroup: "enableRowGroup", hide: "hide", floatingFilter: "floatingFilter", disableMenu: "disableMenu", resizable: "resizable", menuColumnDisable: "menuColumnDisable", menuItemDisable: "menuItemDisable", columnGroupShow: "columnGroupShow", wrapText: "wrapText" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: AXDataGridCellTemplateComponent, descendants: true }], ngImport: i0 });
|
123
127
|
}
|
124
128
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridDataColumn, decorators: [{
|
125
129
|
type: Directive
|
@@ -170,7 +174,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
170
174
|
type: Input
|
171
175
|
}], menuItemDisable: [{
|
172
176
|
type: Input
|
177
|
+
}], columnGroupShow: [{
|
178
|
+
type: Input
|
173
179
|
}], wrapText: [{
|
174
180
|
type: Input
|
175
181
|
}] } });
|
176
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sdW1uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGF0YS1ncmlkL3NyYy9saWIvZGF0YS1ncmlkL2NvbHVtbnMvY29sdW1uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxF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cyA9IHRoaXMuY2VsbENsYXNzO1xuICAgICAgfVxuICAgIH1cbiAgICAvL1xuICAgIGlmICh0aGlzLmNlbGxUZW1wbGF0ZSAhPSBudWxsKSB7XG4gICAgICBjb2wuY2VsbFJlbmRlcmVyRnJhbWV3b3JrID0gdGhpcy5jZWxsVGVtcGxhdGUucmVuZGVyZXI7XG4gICAgICBjb2wuY2VsbFJlbmRlcmVyUGFyYW1zID0gdGhpcy5jZWxsVGVtcGxhdGUucGFyYW1zO1xuICAgIH1cblxuICAgIGlmICh0aGlzLmNvbHVtbkdyb3VwU2hvdykge1xuICAgICAgY29sLmNvbHVtbkdyb3VwU2hvdyA9IHRoaXMuY29sdW1uR3JvdXBTaG93O1xuICAgIH1cblxuICAgIGlmICh0aGlzLmNoZWNrYm94KSB7XG4gICAgICBjb2wuY2hlY2tib3hTZWxlY3Rpb24gPSAocGFyYW1zKSA9PiB7XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgfTtcbiAgICAgIC8vICBjb2wuaGVhZGVyQ2hlY2tib3hTZWxlY3Rpb24gPSB0aGlzLmhlYWRlckNoZWNrYm94O1xuICAgIH1cbiAgICByZXR1cm4gY29sO1xuICB9XG59XG4iXX0=
|
@@ -1,26 +1,22 @@
|
|
1
|
-
import {
|
1
|
+
import { AXButtonModule, AXCheckBoxModule, AXDataSourceModule, AXDatePickerModule, AXSelectBoxModule, AXTextBoxModule, } from '@acorex/components';
|
2
|
+
import { AXCoreModule } from '@acorex/core';
|
2
3
|
import { CommonModule } from '@angular/common';
|
3
|
-
import {
|
4
|
+
import { NgModule } from '@angular/core';
|
4
5
|
import { FormsModule } from '@angular/forms';
|
5
6
|
import { AgGridModule } from 'ag-grid-angular';
|
6
|
-
import { AXDataSourceModule } from '@acorex/components';
|
7
|
-
import { AXGridTextColumn, TextFilterRenderer } from './columns/text-column.component';
|
8
|
-
import { AXGridCheckColumn, BooleanRenderer, BooleanFilterRenderer } from './columns/check-column.component';
|
9
|
-
import { AXCoreModule } from '@acorex/core';
|
10
|
-
import { AXGridSelectionColumn } from './columns/selection-column.component';
|
11
|
-
import { CommandRenderer, AXGridCommandColumn } from './columns/command-column.component';
|
12
|
-
import { AXDataGridFilterComponent } from './filters/filter.component';
|
13
|
-
import { AXGridDateColumn, AXDatePickerFilterComponent } from './columns/date-column.component';
|
14
|
-
import { AXDataGridRowTemplateComponent, AXDataGridRowTemplateRenderer } from './templates/row-template.component';
|
15
|
-
import { AXDataGridCellTemplateComponent, AXDataGridCellTemplateRenderer } from './templates/cell-template.component';
|
16
|
-
import { AXDataGridDetailTemplateComponent, AXDataGridDetailTemplateRenderer } from './templates/detail-template.component';
|
17
|
-
import { AXTextBoxModule } from '@acorex/components';
|
18
|
-
import { AXCheckBoxModule } from '@acorex/components';
|
19
|
-
import { AXSelectBoxModule } from '@acorex/components';
|
20
|
-
import { AXButtonModule } from '@acorex/components';
|
21
|
-
import { AXDatePickerModule } from '@acorex/components';
|
22
7
|
import 'ag-grid-enterprise';
|
8
|
+
import { AXGridCheckColumn, BooleanFilterRenderer, BooleanRenderer, } from './columns/check-column.component';
|
9
|
+
import { AXColumnGroupComponent } from './columns/column-groups.component';
|
10
|
+
import { AXGridCommandColumn, CommandRenderer, } from './columns/command-column.component';
|
11
|
+
import { AXDatePickerFilterComponent, AXGridDateColumn, } from './columns/date-column.component';
|
23
12
|
import { AXGridRowNumberColumn } from './columns/row-number-column.component';
|
13
|
+
import { AXGridSelectionColumn } from './columns/selection-column.component';
|
14
|
+
import { AXGridTextColumn, TextFilterRenderer, } from './columns/text-column.component';
|
15
|
+
import { AXDataGridComponent } from './datagrid.component';
|
16
|
+
import { AXDataGridFilterComponent } from './filters/filter.component';
|
17
|
+
import { AXDataGridCellTemplateComponent, AXDataGridCellTemplateRenderer, } from './templates/cell-template.component';
|
18
|
+
import { AXDataGridDetailTemplateComponent, AXDataGridDetailTemplateRenderer, } from './templates/detail-template.component';
|
19
|
+
import { AXDataGridRowTemplateComponent, AXDataGridRowTemplateRenderer, } from './templates/row-template.component';
|
24
20
|
import * as i0 from "@angular/core";
|
25
21
|
export class AXDataGridModule {
|
26
22
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
@@ -42,7 +38,8 @@ export class AXDataGridModule {
|
|
42
38
|
AXDataGridCellTemplateComponent,
|
43
39
|
AXDataGridCellTemplateRenderer,
|
44
40
|
AXDatePickerFilterComponent,
|
45
|
-
CommandRenderer
|
41
|
+
CommandRenderer,
|
42
|
+
AXColumnGroupComponent], imports: [CommonModule,
|
46
43
|
AXCoreModule,
|
47
44
|
FormsModule,
|
48
45
|
//AgGridModule,
|
@@ -52,7 +49,8 @@ export class AXDataGridModule {
|
|
52
49
|
AXDataSourceModule,
|
53
50
|
AXButtonModule,
|
54
51
|
AXDatePickerModule,
|
55
|
-
AgGridModule], exports: [
|
52
|
+
AgGridModule], exports: [AXColumnGroupComponent,
|
53
|
+
AXDataGridComponent,
|
56
54
|
AXDataGridFilterComponent,
|
57
55
|
AXDataGridRowTemplateComponent,
|
58
56
|
AXDataGridDetailTemplateComponent,
|
@@ -103,7 +101,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
103
101
|
AXDataGridCellTemplateComponent,
|
104
102
|
AXDataGridCellTemplateRenderer,
|
105
103
|
AXDatePickerFilterComponent,
|
106
|
-
CommandRenderer
|
104
|
+
CommandRenderer,
|
105
|
+
AXColumnGroupComponent,
|
107
106
|
],
|
108
107
|
imports: [
|
109
108
|
CommonModule,
|
@@ -116,9 +115,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
116
115
|
AXDataSourceModule,
|
117
116
|
AXButtonModule,
|
118
117
|
AXDatePickerModule,
|
119
|
-
AgGridModule
|
118
|
+
AgGridModule,
|
120
119
|
],
|
121
120
|
exports: [
|
121
|
+
AXColumnGroupComponent,
|
122
122
|
AXDataGridComponent,
|
123
123
|
AXDataGridFilterComponent,
|
124
124
|
AXDataGridRowTemplateComponent,
|
@@ -135,9 +135,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
135
135
|
AXGridCommandColumn,
|
136
136
|
BooleanRenderer,
|
137
137
|
BooleanFilterRenderer,
|
138
|
-
CommandRenderer
|
138
|
+
CommandRenderer,
|
139
139
|
],
|
140
|
-
providers: []
|
140
|
+
providers: [],
|
141
141
|
}]
|
142
142
|
}] });
|
143
|
-
//# sourceMappingURL=data:application/json;base64,
|
143
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kYXRhLWdyaWQvc3JjL2xpYi9kYXRhLWdyaWQvZGF0YWdyaWQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxjQUFjLEVBQ2QsZ0JBQWdCLEVBQ2hCLGtCQUFrQixFQUNsQixrQkFBa0IsRUFDbEIsaUJBQWlCLEVBQ2pCLGVBQWUsR0FDaEIsTUFBTSxvQkFBb0IsQ0FBQztBQUM1QixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzVDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxvQkFBb0IsQ0F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biAgICBBZ0dyaWRNb2R1bGUsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBBWENvbHVtbkdyb3VwQ29tcG9uZW50LFxuICAgIEFYRGF0YUdyaWRDb21wb25lbnQsXG4gICAgQVhEYXRhR3JpZEZpbHRlckNvbXBvbmVudCxcbiAgICBBWERhdGFHcmlkUm93VGVtcGxhdGVDb21wb25lbnQsXG4gICAgQVhEYXRhR3JpZERldGFpbFRlbXBsYXRlQ29tcG9uZW50LFxuICAgIEFYRGF0YUdyaWRSb3dUZW1wbGF0ZVJlbmRlcmVyLFxuICAgIEFYRGF0YUdyaWREZXRhaWxUZW1wbGF0ZVJlbmRlcmVyLFxuICAgIEFYRGF0YUdyaWRDZWxsVGVtcGxhdGVDb21wb25lbnQsXG4gICAgQVhEYXRhR3JpZENlbGxUZW1wbGF0ZVJlbmRlcmVyLFxuICAgIEFYR3JpZFRleHRDb2x1bW4sXG4gICAgQVhHcmlkUm93TnVtYmVyQ29sdW1uLFxuICAgIEFYR3JpZENoZWNrQ29sdW1uLFxuICAgIEFYR3JpZERhdGVDb2x1bW4sXG4gICAgQVhHcmlkU2VsZWN0aW9uQ29sdW1uLFxuICAgIEFYR3JpZENvbW1hbmRDb2x1bW4sXG4gICAgQm9vbGVhblJlbmRlcmVyLFxuICAgIEJvb2xlYW5GaWx0ZXJSZW5kZXJlcixcbiAgICBDb21tYW5kUmVuZGVyZXIsXG4gIF0sXG4gIHByb3ZpZGVyczogW10sXG59KVxuZXhwb3J0IGNsYXNzIEFYRGF0YUdyaWRNb2R1bGUge31cbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { TemplateRef, Component, ContentChild, Directive, Input, ViewEncapsulation, ChangeDetectionStrategy, ViewContainerRef, ViewChild, EventEmitter, Output, ElementRef,
|
2
|
+
import { TemplateRef, Component, ContentChild, Directive, Input, ViewEncapsulation, ChangeDetectionStrategy, ViewContainerRef, ViewChild, ContentChildren, EventEmitter, Output, ElementRef, NgModule } from '@angular/core';
|
3
3
|
import { AXConfig, AXDateTime, AXTranslator, AXCoreModule } from '@acorex/core';
|
4
4
|
import * as i1 from '@angular/common';
|
5
5
|
import { CommonModule } from '@angular/common';
|
@@ -89,6 +89,7 @@ class AXGridDataColumn {
|
|
89
89
|
resizable = true;
|
90
90
|
menuColumnDisable = false;
|
91
91
|
menuItemDisable = false;
|
92
|
+
columnGroupShow;
|
92
93
|
wrapText = false;
|
93
94
|
constructor() { }
|
94
95
|
render() {
|
@@ -173,6 +174,9 @@ class AXGridDataColumn {
|
|
173
174
|
col.cellRendererFramework = this.cellTemplate.renderer;
|
174
175
|
col.cellRendererParams = this.cellTemplate.params;
|
175
176
|
}
|
177
|
+
if (this.columnGroupShow) {
|
178
|
+
col.columnGroupShow = this.columnGroupShow;
|
179
|
+
}
|
176
180
|
if (this.checkbox) {
|
177
181
|
col.checkboxSelection = (params) => {
|
178
182
|
return true;
|
@@ -182,7 +186,7 @@ class AXGridDataColumn {
|
|
182
186
|
return col;
|
183
187
|
}
|
184
188
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridDataColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
185
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AXGridDataColumn, inputs: { width: "width", maxWidth: "maxWidth", minWidth: "minWidth", pinned: "pinned", allowSorting: "allowSorting", allowFiltering: "allowFiltering", cellClass: "cellClass", sort: "sort", field: "field", caption: "caption", cellRendererParams: "cellRendererParams", checkbox: "checkbox", headerCheckbox: "headerCheckbox", groupIndex: "groupIndex", treeIndex: "treeIndex", enableRowGroup: "enableRowGroup", hide: "hide", floatingFilter: "floatingFilter", disableMenu: "disableMenu", resizable: "resizable", menuColumnDisable: "menuColumnDisable", menuItemDisable: "menuItemDisable", wrapText: "wrapText" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: AXDataGridCellTemplateComponent, descendants: true }], ngImport: i0 });
|
189
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AXGridDataColumn, inputs: { width: "width", maxWidth: "maxWidth", minWidth: "minWidth", pinned: "pinned", allowSorting: "allowSorting", allowFiltering: "allowFiltering", cellClass: "cellClass", sort: "sort", field: "field", caption: "caption", cellRendererParams: "cellRendererParams", checkbox: "checkbox", headerCheckbox: "headerCheckbox", groupIndex: "groupIndex", treeIndex: "treeIndex", enableRowGroup: "enableRowGroup", hide: "hide", floatingFilter: "floatingFilter", disableMenu: "disableMenu", resizable: "resizable", menuColumnDisable: "menuColumnDisable", menuItemDisable: "menuItemDisable", columnGroupShow: "columnGroupShow", wrapText: "wrapText" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: AXDataGridCellTemplateComponent, descendants: true }], ngImport: i0 });
|
186
190
|
}
|
187
191
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridDataColumn, decorators: [{
|
188
192
|
type: Directive
|
@@ -233,6 +237,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
233
237
|
type: Input
|
234
238
|
}], menuItemDisable: [{
|
235
239
|
type: Input
|
240
|
+
}], columnGroupShow: [{
|
241
|
+
type: Input
|
236
242
|
}], wrapText: [{
|
237
243
|
type: Input
|
238
244
|
}] } });
|
@@ -378,6 +384,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
378
384
|
args: ['input', { static: true, read: ViewContainerRef }]
|
379
385
|
}] } });
|
380
386
|
|
387
|
+
class AXColumnGroupComponent extends AXGridDataColumn {
|
388
|
+
columns;
|
389
|
+
render() {
|
390
|
+
const col = super.render();
|
391
|
+
col.children = [];
|
392
|
+
this.columns.forEach((elm) => {
|
393
|
+
col.children.push(elm.render());
|
394
|
+
});
|
395
|
+
return col;
|
396
|
+
}
|
397
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXColumnGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
398
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXColumnGroupComponent, selector: "ax-column-group", providers: [
|
399
|
+
{ provide: AXGridDataColumn, useExisting: AXColumnGroupComponent },
|
400
|
+
], queries: [{ propertyName: "columns", predicate: AXGridDataColumn }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
401
|
+
}
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXColumnGroupComponent, decorators: [{
|
403
|
+
type: Component,
|
404
|
+
args: [{
|
405
|
+
selector: 'ax-column-group',
|
406
|
+
template: '<ng-content></ng-content>',
|
407
|
+
providers: [
|
408
|
+
{ provide: AXGridDataColumn, useExisting: AXColumnGroupComponent },
|
409
|
+
],
|
410
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
411
|
+
}]
|
412
|
+
}], propDecorators: { columns: [{
|
413
|
+
type: ContentChildren,
|
414
|
+
args: [AXGridDataColumn]
|
415
|
+
}] } });
|
416
|
+
|
381
417
|
class AXGridCommandColumn extends AXGridDataColumn {
|
382
418
|
items = [];
|
383
419
|
onItemClick = new EventEmitter();
|
@@ -1670,7 +1706,8 @@ class AXDataGridModule {
|
|
1670
1706
|
AXDataGridCellTemplateComponent,
|
1671
1707
|
AXDataGridCellTemplateRenderer,
|
1672
1708
|
AXDatePickerFilterComponent,
|
1673
|
-
CommandRenderer
|
1709
|
+
CommandRenderer,
|
1710
|
+
AXColumnGroupComponent], imports: [CommonModule,
|
1674
1711
|
AXCoreModule,
|
1675
1712
|
FormsModule,
|
1676
1713
|
//AgGridModule,
|
@@ -1680,7 +1717,8 @@ class AXDataGridModule {
|
|
1680
1717
|
AXDataSourceModule,
|
1681
1718
|
AXButtonModule,
|
1682
1719
|
AXDatePickerModule,
|
1683
|
-
AgGridModule], exports: [
|
1720
|
+
AgGridModule], exports: [AXColumnGroupComponent,
|
1721
|
+
AXDataGridComponent,
|
1684
1722
|
AXDataGridFilterComponent,
|
1685
1723
|
AXDataGridRowTemplateComponent,
|
1686
1724
|
AXDataGridDetailTemplateComponent,
|
@@ -1731,7 +1769,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
1731
1769
|
AXDataGridCellTemplateComponent,
|
1732
1770
|
AXDataGridCellTemplateRenderer,
|
1733
1771
|
AXDatePickerFilterComponent,
|
1734
|
-
CommandRenderer
|
1772
|
+
CommandRenderer,
|
1773
|
+
AXColumnGroupComponent,
|
1735
1774
|
],
|
1736
1775
|
imports: [
|
1737
1776
|
CommonModule,
|
@@ -1744,9 +1783,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
1744
1783
|
AXDataSourceModule,
|
1745
1784
|
AXButtonModule,
|
1746
1785
|
AXDatePickerModule,
|
1747
|
-
AgGridModule
|
1786
|
+
AgGridModule,
|
1748
1787
|
],
|
1749
1788
|
exports: [
|
1789
|
+
AXColumnGroupComponent,
|
1750
1790
|
AXDataGridComponent,
|
1751
1791
|
AXDataGridFilterComponent,
|
1752
1792
|
AXDataGridRowTemplateComponent,
|
@@ -1763,9 +1803,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
1763
1803
|
AXGridCommandColumn,
|
1764
1804
|
BooleanRenderer,
|
1765
1805
|
BooleanFilterRenderer,
|
1766
|
-
CommandRenderer
|
1806
|
+
CommandRenderer,
|
1767
1807
|
],
|
1768
|
-
providers: []
|
1808
|
+
providers: [],
|
1769
1809
|
}]
|
1770
1810
|
}] });
|
1771
1811
|
|
@@ -2105,5 +2145,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
2105
2145
|
* Generated bundle index. Do not edit.
|
2106
2146
|
*/
|
2107
2147
|
|
2108
|
-
export { AXDaagridRowClickEvent, AXDataGridCellEvent, AXDataGridCellTemplateComponent, AXDataGridCellTemplateRenderer, AXDataGridColumnsChangeEvent, AXDataGridComponent, AXDataGridDetailTemplateComponent, AXDataGridDetailTemplateRenderer, AXDataGridFilterComponent, AXDataGridModule, AXDataGridRowSelectionChangeEvent, AXDataGridRowTemplateComponent, AXDataGridRowTemplateRenderer, AXDataGridSelectionChangeEvent, AXDataLovPopupComponent, AXDatePickerFilterComponent, AXGridCheckColumn, AXGridCommandColumn, AXGridDataColumn, AXGridDateColumn, AXGridRowNumberColumn, AXGridSelectionColumn, AXGridTextColumn, AXLOVComponent, AXLOVModule, BooleanFilterRenderer, BooleanRenderer, CommandRenderer, TextFilterRenderer };
|
2148
|
+
export { AXColumnGroupComponent, AXDaagridRowClickEvent, AXDataGridCellEvent, AXDataGridCellTemplateComponent, AXDataGridCellTemplateRenderer, AXDataGridColumnsChangeEvent, AXDataGridComponent, AXDataGridDetailTemplateComponent, AXDataGridDetailTemplateRenderer, AXDataGridFilterComponent, AXDataGridModule, AXDataGridRowSelectionChangeEvent, AXDataGridRowTemplateComponent, AXDataGridRowTemplateRenderer, AXDataGridSelectionChangeEvent, AXDataLovPopupComponent, AXDatePickerFilterComponent, AXGridCheckColumn, AXGridCommandColumn, AXGridDataColumn, AXGridDateColumn, AXGridRowNumberColumn, AXGridSelectionColumn, AXGridTextColumn, AXLOVComponent, AXLOVModule, BooleanFilterRenderer, BooleanRenderer, CommandRenderer, TextFilterRenderer };
|
2109
2149
|
//# sourceMappingURL=acorex-data-grid.mjs.map
|