@acorex/data-grid 6.5.71 → 6.5.73
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -2
- package/esm2022/acorex-data-grid.mjs +5 -0
- package/esm2022/index.mjs +18 -0
- package/esm2022/lib/data-grid/columns/check-column.component.mjs +109 -0
- package/esm2022/lib/data-grid/columns/column.component.mjs +168 -0
- package/esm2022/lib/data-grid/columns/command-column.component.mjs +115 -0
- package/esm2022/lib/data-grid/columns/date-column.component.mjs +115 -0
- package/esm2022/lib/data-grid/columns/row-number-column.component.mjs +38 -0
- package/esm2022/lib/data-grid/columns/selection-column.component.mjs +43 -0
- package/esm2022/lib/data-grid/columns/text-column.component.mjs +97 -0
- package/esm2022/lib/data-grid/datagrid.component.mjs +721 -0
- package/esm2022/lib/data-grid/datagrid.events.mjs +2 -0
- package/esm2022/lib/data-grid/datagrid.module.mjs +143 -0
- package/esm2022/lib/data-grid/filters/filter.component.mjs +39 -0
- package/esm2022/lib/data-grid/templates/cell-template.component.mjs +58 -0
- package/esm2022/lib/data-grid/templates/detail-template.component.mjs +51 -0
- package/esm2022/lib/data-grid/templates/row-template.component.mjs +48 -0
- package/esm2022/lib/data-lov/data-lov-popup/data-lov-popup.component.mjs +121 -0
- package/esm2022/lib/data-lov/data-lov.component.mjs +175 -0
- package/esm2022/lib/data-lov/data-lov.module.mjs +23 -0
- package/{fesm2020 → fesm2022}/acorex-data-grid.mjs +380 -319
- package/fesm2022/acorex-data-grid.mjs.map +1 -0
- package/lib/data-grid/columns/check-column.component.d.ts +4 -4
- package/lib/data-grid/columns/column.component.d.ts +1 -1
- package/lib/data-grid/columns/command-column.component.d.ts +3 -3
- package/lib/data-grid/columns/date-column.component.d.ts +2 -2
- package/lib/data-grid/columns/row-number-column.component.d.ts +1 -1
- package/lib/data-grid/columns/selection-column.component.d.ts +1 -1
- package/lib/data-grid/columns/text-column.component.d.ts +3 -3
- package/lib/data-grid/datagrid.component.d.ts +1 -1
- package/lib/data-grid/filters/filter.component.d.ts +1 -1
- package/lib/data-grid/templates/cell-template.component.d.ts +2 -2
- package/lib/data-grid/templates/detail-template.component.d.ts +2 -2
- package/lib/data-grid/templates/row-template.component.d.ts +2 -2
- package/lib/data-lov/data-lov-popup/data-lov-popup.component.d.ts +1 -1
- package/lib/data-lov/data-lov.component.d.ts +1 -1
- package/package.json +12 -21
- package/acorex-data-grid.d.ts +0 -5
- package/esm2020/acorex-data-grid.mjs +0 -5
- package/esm2020/lib/data-grid/columns/check-column.component.mjs +0 -117
- package/esm2020/lib/data-grid/columns/column.component.mjs +0 -164
- package/esm2020/lib/data-grid/columns/command-column.component.mjs +0 -117
- package/esm2020/lib/data-grid/columns/date-column.component.mjs +0 -111
- package/esm2020/lib/data-grid/columns/row-number-column.component.mjs +0 -37
- package/esm2020/lib/data-grid/columns/selection-column.component.mjs +0 -42
- package/esm2020/lib/data-grid/columns/text-column.component.mjs +0 -89
- package/esm2020/lib/data-grid/datagrid.component.mjs +0 -698
- package/esm2020/lib/data-grid/datagrid.events.mjs +0 -2
- package/esm2020/lib/data-grid/datagrid.module.mjs +0 -145
- package/esm2020/lib/data-grid/filters/filter.component.mjs +0 -39
- package/esm2020/lib/data-grid/templates/cell-template.component.mjs +0 -53
- package/esm2020/lib/data-grid/templates/detail-template.component.mjs +0 -46
- package/esm2020/lib/data-grid/templates/row-template.component.mjs +0 -43
- package/esm2020/lib/data-lov/data-lov-popup/data-lov-popup.component.mjs +0 -114
- package/esm2020/lib/data-lov/data-lov.component.mjs +0 -165
- package/esm2020/lib/data-lov/data-lov.module.mjs +0 -23
- package/esm2020/public-api.mjs +0 -18
- package/fesm2015/acorex-data-grid.mjs +0 -1915
- package/fesm2015/acorex-data-grid.mjs.map +0 -1
- package/fesm2020/acorex-data-grid.mjs.map +0 -1
- /package/{public-api.d.ts → index.d.ts} +0 -0
@@ -6,11 +6,14 @@ import { CommonModule } from '@angular/common';
|
|
6
6
|
import * as i1$1 from '@acorex/components';
|
7
7
|
import { AXDatePickerComponent, AXTextBoxComponent, AXValueEvent, AXDataEvent, AXToolbarSearchComponent, AXToolbarComponent, AXDataSourceComponent, AXTextBoxModule, AXCheckBoxModule, AXSelectBoxModule, AXDataSourceModule, AXButtonModule, AXDatePickerModule, AXBasePopupPageComponent, AXValidatableComponent, AXValidation, AXToolbarModule, AXSearchBoxModule } from '@acorex/components';
|
8
8
|
import { LicenseManager } from 'ag-grid-enterprise';
|
9
|
-
import * as
|
9
|
+
import * as i2 from 'ag-grid-angular';
|
10
10
|
import { AgGridModule } from 'ag-grid-angular';
|
11
11
|
import { FormsModule } from '@angular/forms';
|
12
12
|
|
13
13
|
class AXDataGridCellTemplateComponent {
|
14
|
+
templateRef;
|
15
|
+
renderer;
|
16
|
+
params;
|
14
17
|
constructor() {
|
15
18
|
this.renderer = AXDataGridCellTemplateRenderer;
|
16
19
|
}
|
@@ -19,11 +22,11 @@ class AXDataGridCellTemplateComponent {
|
|
19
22
|
templateRef: this.templateRef
|
20
23
|
};
|
21
24
|
}
|
22
|
-
}
|
23
|
-
|
24
|
-
AXDataGridCellTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridCellTemplateComponent, selector: "ax-cell-template", queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>
|
25
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridCellTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridCellTemplateComponent, selector: "ax-cell-template", queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>
|
25
27
|
`, isInline: true });
|
26
|
-
|
28
|
+
}
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridCellTemplateComponent, decorators: [{
|
27
30
|
type: Component,
|
28
31
|
args: [{
|
29
32
|
selector: 'ax-cell-template',
|
@@ -35,6 +38,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
35
38
|
args: [TemplateRef, { static: true }]
|
36
39
|
}] } });
|
37
40
|
class AXDataGridCellTemplateRenderer {
|
41
|
+
rowData;
|
42
|
+
templateRef;
|
38
43
|
constructor() { }
|
39
44
|
agInit(params) {
|
40
45
|
this.rowData = params.data;
|
@@ -44,13 +49,13 @@ class AXDataGridCellTemplateRenderer {
|
|
44
49
|
this.rowData = params.data;
|
45
50
|
return true;
|
46
51
|
}
|
47
|
-
}
|
48
|
-
|
49
|
-
AXDataGridCellTemplateRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridCellTemplateRenderer, selector: "ng-component", ngImport: i0, template: `
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridCellTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
53
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridCellTemplateRenderer, selector: "ng-component", ngImport: i0, template: `
|
50
54
|
<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: rowData }'>
|
51
55
|
</ng-container>
|
52
|
-
`, isInline: true,
|
53
|
-
|
56
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
57
|
+
}
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridCellTemplateRenderer, decorators: [{
|
54
59
|
type: Component,
|
55
60
|
args: [{
|
56
61
|
template: `
|
@@ -61,27 +66,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
61
66
|
}], ctorParameters: function () { return []; } });
|
62
67
|
|
63
68
|
class AXGridDataColumn {
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
this.caption = '';
|
72
|
-
this.checkbox = false;
|
73
|
-
this.headerCheckbox = false;
|
74
|
-
this.groupIndex = -1;
|
75
|
-
this.treeIndex = -1;
|
76
|
-
this.enableRowGroup = false;
|
77
|
-
this.hide = false;
|
78
|
-
this.floatingFilter = AXConfig.get('datagrid.floatingFilter') || false;
|
79
|
-
this.disableMenu = false;
|
80
|
-
this.resizable = true;
|
81
|
-
this.menuColumnDisable = false;
|
82
|
-
this.menuItemDisable = false;
|
83
|
-
}
|
69
|
+
cellTemplate;
|
70
|
+
width = 100;
|
71
|
+
maxWidth;
|
72
|
+
minWidth;
|
73
|
+
pinned = null;
|
74
|
+
allowSorting = true;
|
75
|
+
allowFiltering = AXConfig.get('datagrid.allowFiltering') || false;
|
84
76
|
;
|
77
|
+
cellClass;
|
78
|
+
sort = null;
|
79
|
+
field = '';
|
80
|
+
caption = '';
|
81
|
+
cellRendererParams;
|
82
|
+
checkbox = false;
|
83
|
+
headerCheckbox = false;
|
84
|
+
groupIndex = -1;
|
85
|
+
treeIndex = -1;
|
86
|
+
enableRowGroup = false;
|
87
|
+
hide = false;
|
88
|
+
floatingFilter = AXConfig.get('datagrid.floatingFilter') || false;
|
89
|
+
disableMenu = false;
|
90
|
+
resizable = true;
|
91
|
+
menuColumnDisable = false;
|
92
|
+
menuItemDisable = false;
|
93
|
+
constructor() { }
|
85
94
|
render() {
|
86
95
|
const col = {
|
87
96
|
field: this.field,
|
@@ -166,10 +175,10 @@ class AXGridDataColumn {
|
|
166
175
|
}
|
167
176
|
return col;
|
168
177
|
}
|
178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridDataColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
179
|
+
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" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: AXDataGridCellTemplateComponent, descendants: true }], ngImport: i0 });
|
169
180
|
}
|
170
|
-
|
171
|
-
AXGridDataColumn.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", 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" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: AXDataGridCellTemplateComponent, descendants: true }], ngImport: i0 });
|
172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridDataColumn, decorators: [{
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridDataColumn, decorators: [{
|
173
182
|
type: Directive
|
174
183
|
}], ctorParameters: function () { return []; }, propDecorators: { cellTemplate: [{
|
175
184
|
type: ContentChild,
|
@@ -221,9 +230,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
221
230
|
}] } });
|
222
231
|
|
223
232
|
class AXDataGridFilterComponent {
|
224
|
-
}
|
225
|
-
|
226
|
-
AXDataGridFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridFilterComponent, selector: "ax-data-grid-filter", ngImport: i0, template: `
|
233
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
234
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridFilterComponent, selector: "ax-data-grid-filter", ngImport: i0, template: `
|
227
235
|
<div class='ax-grid-filter-container'>
|
228
236
|
<ng-content></ng-content>
|
229
237
|
<div class='btn-group' role='group'>
|
@@ -236,7 +244,8 @@ AXDataGridFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
236
244
|
</div>
|
237
245
|
</div>
|
238
246
|
`, isInline: true, encapsulation: i0.ViewEncapsulation.None });
|
239
|
-
|
247
|
+
}
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridFilterComponent, decorators: [{
|
240
249
|
type: Component,
|
241
250
|
args: [{
|
242
251
|
selector: 'ax-data-grid-filter',
|
@@ -271,19 +280,20 @@ class AXGridCheckColumn extends AXGridDataColumn {
|
|
271
280
|
}
|
272
281
|
return col;
|
273
282
|
}
|
283
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridCheckColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
284
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXGridCheckColumn, selector: "ax-check-column", providers: [{ provide: AXGridDataColumn, useExisting: AXGridCheckColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
274
285
|
}
|
275
|
-
|
276
|
-
AXGridCheckColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridCheckColumn, selector: "ax-check-column", providers: [{ provide: AXGridDataColumn, useExisting: AXGridCheckColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridCheckColumn, decorators: [{
|
286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridCheckColumn, decorators: [{
|
278
287
|
type: Component,
|
279
288
|
args: [{
|
280
289
|
selector: 'ax-check-column',
|
281
290
|
template: '',
|
282
291
|
providers: [{ provide: AXGridDataColumn, useExisting: AXGridCheckColumn }],
|
283
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
292
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
284
293
|
}]
|
285
294
|
}], ctorParameters: function () { return []; } });
|
286
295
|
class BooleanRenderer {
|
296
|
+
value;
|
287
297
|
constructor() { }
|
288
298
|
agInit(params) {
|
289
299
|
this.value = params.value;
|
@@ -292,31 +302,28 @@ class BooleanRenderer {
|
|
292
302
|
this.value = params.value;
|
293
303
|
return true;
|
294
304
|
}
|
305
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
306
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BooleanRenderer, selector: "ng-component", ngImport: i0, template: ` <ax-check-box [value]="value" readonly="true"></ax-check-box> `, isInline: true, dependencies: [{ kind: "component", type: i1$1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["readonly", "disabled", "size", "label", "tabIndex", "indeterminate", "value"], outputs: ["onValueChanged", "valueChange", "onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
295
307
|
}
|
296
|
-
|
297
|
-
BooleanRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BooleanRenderer, selector: "ng-component", ngImport: i0, template: `
|
298
|
-
<ax-check-box [value]='value' readonly='true'></ax-check-box>
|
299
|
-
`, isInline: true, components: [{ type: i1$1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["readonly", "disabled", "size", "label", "tabIndex", "indeterminate", "value"], outputs: ["onValueChanged", "valueChange", "onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BooleanRenderer, decorators: [{
|
308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanRenderer, decorators: [{
|
301
309
|
type: Component,
|
302
310
|
args: [{
|
303
|
-
template: `
|
304
|
-
|
305
|
-
`,
|
306
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
311
|
+
template: ` <ax-check-box [value]="value" readonly="true"></ax-check-box> `,
|
312
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
307
313
|
}]
|
308
314
|
}], ctorParameters: function () { return []; } });
|
309
315
|
class BooleanFilterRenderer {
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
316
|
+
value = null;
|
317
|
+
params;
|
318
|
+
valueGetter;
|
319
|
+
input;
|
320
|
+
selectItem = [
|
321
|
+
{ value: 0, label: 'True' },
|
322
|
+
{ value: 1, label: 'False' },
|
323
|
+
];
|
317
324
|
agInit(params) {
|
318
325
|
this.params = params;
|
319
|
-
this.valueGetter =
|
326
|
+
this.valueGetter = params.valueGetter;
|
320
327
|
}
|
321
328
|
isFilterActive() {
|
322
329
|
return this.value !== null && this.value !== undefined;
|
@@ -341,28 +348,22 @@ class BooleanFilterRenderer {
|
|
341
348
|
this.params.filterChangedCallback();
|
342
349
|
}
|
343
350
|
}
|
344
|
-
}
|
345
|
-
|
346
|
-
BooleanFilterRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: BooleanFilterRenderer, selector: "ng-component", viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
|
351
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
352
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BooleanFilterRenderer, selector: "ng-component", viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
|
347
353
|
<ax-data-grid-filter>
|
348
|
-
<ax-select-box
|
349
|
-
label='Select Box'
|
350
|
-
[items]='selectItem'
|
351
|
-
></ax-select-box>
|
354
|
+
<ax-select-box label="Select Box" [items]="selectItem"></ax-select-box>
|
352
355
|
</ax-data-grid-filter>
|
353
|
-
`, isInline: true,
|
354
|
-
|
356
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["showDropDownButton", "rowInputTemplate", "showCheckBox", "readonly", "rtl", "disabled", "placeholder", "size", "allowNull", "textAlign", "bufferSize", "remoteOperation", "fitParent", "dropdownWidth", "onDemandTranslate", "dataSource", "validation", "disabledCallback", "allowSearch", "textField", "valueField", "disabledField", "mode", "items", "selectedItems", "selectedValues"], outputs: ["dropdownToggle", "itemsChange", "onBlur", "onFocus", "selectionChanged", "selectedItemsChange", "selectedValuesChange"] }, { kind: "component", type: AXDataGridFilterComponent, selector: "ax-data-grid-filter" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
357
|
+
}
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterRenderer, decorators: [{
|
355
359
|
type: Component,
|
356
360
|
args: [{
|
357
361
|
template: `
|
358
362
|
<ax-data-grid-filter>
|
359
|
-
<ax-select-box
|
360
|
-
label='Select Box'
|
361
|
-
[items]='selectItem'
|
362
|
-
></ax-select-box>
|
363
|
+
<ax-select-box label="Select Box" [items]="selectItem"></ax-select-box>
|
363
364
|
</ax-data-grid-filter>
|
364
365
|
`,
|
365
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
366
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
366
367
|
}]
|
367
368
|
}], propDecorators: { input: [{
|
368
369
|
type: ViewChild,
|
@@ -370,11 +371,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
370
371
|
}] } });
|
371
372
|
|
372
373
|
class AXGridCommandColumn extends AXGridDataColumn {
|
373
|
-
|
374
|
-
|
375
|
-
this.items = [];
|
376
|
-
this.onItemClick = new EventEmitter();
|
377
|
-
}
|
374
|
+
items = [];
|
375
|
+
onItemClick = new EventEmitter();
|
378
376
|
render() {
|
379
377
|
const col = super.render();
|
380
378
|
if (!col.cellRendererFramework) {
|
@@ -399,10 +397,10 @@ class AXGridCommandColumn extends AXGridDataColumn {
|
|
399
397
|
};
|
400
398
|
return col;
|
401
399
|
}
|
400
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridCommandColumn, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
401
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXGridCommandColumn, selector: "ax-command-column", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridCommandColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
402
402
|
}
|
403
|
-
|
404
|
-
AXGridCommandColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridCommandColumn, selector: "ax-command-column", inputs: { items: "items" }, outputs: { onItemClick: "onItemClick" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridCommandColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridCommandColumn, decorators: [{
|
403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridCommandColumn, decorators: [{
|
406
404
|
type: Component,
|
407
405
|
args: [{
|
408
406
|
selector: 'ax-command-column',
|
@@ -417,9 +415,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
417
415
|
type: Output
|
418
416
|
}] } });
|
419
417
|
class CommandRenderer {
|
420
|
-
|
421
|
-
|
422
|
-
|
418
|
+
items = [];
|
419
|
+
node;
|
420
|
+
clickCallback;
|
421
|
+
constructor() { }
|
423
422
|
agInit(params) {
|
424
423
|
this.mapParams(params);
|
425
424
|
}
|
@@ -443,9 +442,8 @@ class CommandRenderer {
|
|
443
442
|
});
|
444
443
|
}
|
445
444
|
}
|
446
|
-
}
|
447
|
-
|
448
|
-
CommandRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CommandRenderer, selector: "ax-command-cell", ngImport: i0, template: `
|
445
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommandRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
446
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CommandRenderer, selector: "ax-command-cell", ngImport: i0, template: `
|
449
447
|
<ng-container *ngFor="let item of items; let i = index">
|
450
448
|
<button *ngIf="item.visible !== false"
|
451
449
|
class="ax button md ax-grid-command-button {{ item.style || 'ax primary blank' }}"
|
@@ -458,8 +456,9 @@ CommandRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
458
456
|
<i [ngClass]="item.icon"></i>{{ item.text }}
|
459
457
|
</button>
|
460
458
|
</ng-container>
|
461
|
-
`, isInline: true,
|
462
|
-
|
459
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
460
|
+
}
|
461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommandRenderer, decorators: [{
|
463
462
|
type: Component,
|
464
463
|
args: [{
|
465
464
|
selector: 'ax-command-cell',
|
@@ -485,8 +484,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
485
484
|
class AXGridDateColumn extends AXGridDataColumn {
|
486
485
|
constructor() {
|
487
486
|
super();
|
488
|
-
this.type = AXConfig.get('dateTime.type');
|
489
487
|
}
|
488
|
+
format;
|
489
|
+
type = AXConfig.get('dateTime.type');
|
490
490
|
render() {
|
491
491
|
const col = super.render();
|
492
492
|
col.cellRendererParams = {
|
@@ -520,10 +520,10 @@ class AXGridDateColumn extends AXGridDataColumn {
|
|
520
520
|
// col.floatingFilter = true;
|
521
521
|
return col;
|
522
522
|
}
|
523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridDateColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
524
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXGridDateColumn, selector: "ax-date-column", inputs: { format: "format", type: "type" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridDateColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
523
525
|
}
|
524
|
-
|
525
|
-
AXGridDateColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridDateColumn, selector: "ax-date-column", inputs: { format: "format", type: "type" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridDateColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridDateColumn, decorators: [{
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridDateColumn, decorators: [{
|
527
527
|
type: Component,
|
528
528
|
args: [{
|
529
529
|
selector: 'ax-date-column',
|
@@ -537,10 +537,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
537
537
|
type: Input
|
538
538
|
}] } });
|
539
539
|
class AXDatePickerFilterComponent {
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
540
|
+
datePicker;
|
541
|
+
div;
|
542
|
+
selectableHoliday = false;
|
543
|
+
type = 'jalali';
|
544
|
+
date;
|
545
|
+
params;
|
546
|
+
picker;
|
544
547
|
agInit(params) {
|
545
548
|
this.params = params;
|
546
549
|
}
|
@@ -566,11 +569,11 @@ class AXDatePickerFilterComponent {
|
|
566
569
|
this.setDate(e.value);
|
567
570
|
this.onDateChanged(e.value);
|
568
571
|
}
|
572
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDatePickerFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
573
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDatePickerFilterComponent, selector: "ax-data-picker-filter", viewQueries: [{ propertyName: "datePicker", first: true, predicate: AXDatePickerComponent, descendants: true }, { propertyName: "div", first: true, predicate: ["div"], descendants: true, read: ElementRef }], ngImport: i0, template: `<ax-date-picker [selectableHoliday]="selectableHoliday" [allowClear]="true" (onValueChanged)="onValueChanged($event)" size="sm">
|
574
|
+
</ax-date-picker>`, isInline: true, dependencies: [{ kind: "component", type: i1$1.AXDatePickerComponent, selector: "ax-date-picker", inputs: ["dayStyle", "dayMinMaxResoan", "validation", "placeholder", "min", "max", "readonly", "disabled", "allowClear", "textAlign", "showToday", "selectableHoliday", "dateType", "showTodayButton", "openByClick", "size", "type", "value"], outputs: ["typeChange", "onValueChanged", "valueChange"] }], encapsulation: i0.ViewEncapsulation.None });
|
569
575
|
}
|
570
|
-
|
571
|
-
AXDatePickerFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDatePickerFilterComponent, selector: "ax-data-picker-filter", viewQueries: [{ propertyName: "datePicker", first: true, predicate: AXDatePickerComponent, descendants: true }, { propertyName: "div", first: true, predicate: ["div"], descendants: true, read: ElementRef }], ngImport: i0, template: `<ax-date-picker [selectableHoliday]="selectableHoliday" [allowClear]="true" (onValueChanged)="onValueChanged($event)" size="sm">
|
572
|
-
</ax-date-picker>`, isInline: true, components: [{ type: i1$1.AXDatePickerComponent, selector: "ax-date-picker", inputs: ["dayStyle", "dayMinMaxResoan", "validation", "placeholder", "min", "max", "readonly", "disabled", "allowClear", "textAlign", "showToday", "selectableHoliday", "dateType", "showTodayButton", "openByClick", "size", "type", "value"], outputs: ["typeChange", "onValueChanged", "valueChange"] }], encapsulation: i0.ViewEncapsulation.None });
|
573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDatePickerFilterComponent, decorators: [{
|
576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDatePickerFilterComponent, decorators: [{
|
574
577
|
type: Component,
|
575
578
|
args: [{
|
576
579
|
selector: 'ax-data-picker-filter',
|
@@ -590,10 +593,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
590
593
|
class AXGridSelectionColumn extends AXGridDataColumn {
|
591
594
|
constructor() {
|
592
595
|
super();
|
593
|
-
this.pinned = 'start';
|
594
|
-
this.width = 40;
|
595
596
|
}
|
596
597
|
ngOnInit() { }
|
598
|
+
condition;
|
599
|
+
pinned = 'start';
|
600
|
+
width = 40;
|
597
601
|
render() {
|
598
602
|
const col = super.render();
|
599
603
|
col.checkboxSelection = this.condition ? this.condition : true;
|
@@ -607,10 +611,10 @@ class AXGridSelectionColumn extends AXGridDataColumn {
|
|
607
611
|
col.floatingFilter = false;
|
608
612
|
return col;
|
609
613
|
}
|
614
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridSelectionColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
615
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXGridSelectionColumn, selector: "ax-selection-column", inputs: { condition: "condition", pinned: "pinned", width: "width" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridSelectionColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
610
616
|
}
|
611
|
-
|
612
|
-
AXGridSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridSelectionColumn, selector: "ax-selection-column", inputs: { condition: "condition", pinned: "pinned", width: "width" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridSelectionColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridSelectionColumn, decorators: [{
|
617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridSelectionColumn, decorators: [{
|
614
618
|
type: Component,
|
615
619
|
args: [{
|
616
620
|
selector: 'ax-selection-column',
|
@@ -638,25 +642,26 @@ class AXGridTextColumn extends AXGridDataColumn {
|
|
638
642
|
col.filter = 'agTextColumnFilter';
|
639
643
|
return col;
|
640
644
|
}
|
645
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridTextColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
646
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXGridTextColumn, selector: "ax-text-column", providers: [{ provide: AXGridDataColumn, useExisting: AXGridTextColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
641
647
|
}
|
642
|
-
|
643
|
-
AXGridTextColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridTextColumn, selector: "ax-text-column", providers: [{ provide: AXGridDataColumn, useExisting: AXGridTextColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridTextColumn, decorators: [{
|
648
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridTextColumn, decorators: [{
|
645
649
|
type: Component,
|
646
650
|
args: [{
|
647
651
|
selector: 'ax-text-column',
|
648
652
|
template: '',
|
649
653
|
providers: [{ provide: AXGridDataColumn, useExisting: AXGridTextColumn }],
|
650
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
654
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
651
655
|
}]
|
652
656
|
}], ctorParameters: function () { return []; } });
|
653
657
|
class TextFilterRenderer {
|
654
|
-
|
655
|
-
|
656
|
-
|
658
|
+
value = null;
|
659
|
+
params;
|
660
|
+
valueGetter;
|
661
|
+
input;
|
657
662
|
agInit(params) {
|
658
663
|
this.params = params;
|
659
|
-
this.valueGetter =
|
664
|
+
this.valueGetter = params.valueGetter;
|
660
665
|
}
|
661
666
|
isFilterActive() {
|
662
667
|
return this.value !== null && this.value !== undefined;
|
@@ -668,7 +673,6 @@ class TextFilterRenderer {
|
|
668
673
|
return { value: this.value };
|
669
674
|
}
|
670
675
|
setModel(model) {
|
671
|
-
;
|
672
676
|
this.onChange(model ? model.value : null);
|
673
677
|
}
|
674
678
|
ngAfterViewInit(params) {
|
@@ -685,24 +689,32 @@ class TextFilterRenderer {
|
|
685
689
|
this.params.filterChangedCallback();
|
686
690
|
}
|
687
691
|
}
|
688
|
-
}
|
689
|
-
|
690
|
-
TextFilterRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TextFilterRenderer, selector: "ng-component", viewQueries: [{ propertyName: "input", first: true, predicate: AXTextBoxComponent, descendants: true, static: true }], ngImport: i0, template: `
|
692
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextFilterRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
693
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TextFilterRenderer, selector: "ng-component", viewQueries: [{ propertyName: "input", first: true, predicate: AXTextBoxComponent, descendants: true, static: true }], ngImport: i0, template: `
|
691
694
|
<ax-data-grid-filter>
|
692
|
-
<ax-text-box
|
695
|
+
<ax-text-box
|
696
|
+
label="Filter"
|
697
|
+
allowClear="true"
|
698
|
+
(textChange)="onChange($event)"
|
699
|
+
>
|
693
700
|
</ax-text-box>
|
694
701
|
</ax-data-grid-filter>
|
695
|
-
`, isInline: true,
|
696
|
-
|
702
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "showMask", "type", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }, { kind: "component", type: AXDataGridFilterComponent, selector: "ax-data-grid-filter" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
703
|
+
}
|
704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextFilterRenderer, decorators: [{
|
697
705
|
type: Component,
|
698
706
|
args: [{
|
699
707
|
template: `
|
700
708
|
<ax-data-grid-filter>
|
701
|
-
<ax-text-box
|
709
|
+
<ax-text-box
|
710
|
+
label="Filter"
|
711
|
+
allowClear="true"
|
712
|
+
(textChange)="onChange($event)"
|
713
|
+
>
|
702
714
|
</ax-text-box>
|
703
715
|
</ax-data-grid-filter>
|
704
716
|
`,
|
705
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
717
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
706
718
|
}]
|
707
719
|
}], propDecorators: { input: [{
|
708
720
|
type: ViewChild,
|
@@ -714,6 +726,7 @@ class AXGridRowNumberColumn extends AXGridDataColumn {
|
|
714
726
|
super();
|
715
727
|
}
|
716
728
|
ngOnInit() { }
|
729
|
+
condition;
|
717
730
|
render() {
|
718
731
|
const col = super.render();
|
719
732
|
// col.checkboxSelection = this.condition ? this.condition : true;
|
@@ -727,10 +740,10 @@ class AXGridRowNumberColumn extends AXGridDataColumn {
|
|
727
740
|
col.width = this.width;
|
728
741
|
return col;
|
729
742
|
}
|
743
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridRowNumberColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
744
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXGridRowNumberColumn, selector: "ax-row-number-column", inputs: { condition: "condition" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridRowNumberColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
730
745
|
}
|
731
|
-
|
732
|
-
AXGridRowNumberColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXGridRowNumberColumn, selector: "ax-row-number-column", inputs: { condition: "condition" }, providers: [{ provide: AXGridDataColumn, useExisting: AXGridRowNumberColumn }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXGridRowNumberColumn, decorators: [{
|
746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXGridRowNumberColumn, decorators: [{
|
734
747
|
type: Component,
|
735
748
|
args: [{
|
736
749
|
selector: 'ax-row-number-column',
|
@@ -743,6 +756,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
743
756
|
}] } });
|
744
757
|
|
745
758
|
class AXDataGridRowTemplateComponent {
|
759
|
+
templateRef;
|
760
|
+
renderer;
|
761
|
+
params;
|
746
762
|
constructor() {
|
747
763
|
this.renderer = AXDataGridRowTemplateRenderer;
|
748
764
|
}
|
@@ -751,10 +767,10 @@ class AXDataGridRowTemplateComponent {
|
|
751
767
|
templateRef: this.templateRef
|
752
768
|
};
|
753
769
|
}
|
770
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridRowTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
771
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridRowTemplateComponent, selector: "ax-row-template", queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
754
772
|
}
|
755
|
-
|
756
|
-
AXDataGridRowTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridRowTemplateComponent, selector: "ax-row-template", queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridRowTemplateComponent, decorators: [{
|
773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridRowTemplateComponent, decorators: [{
|
758
774
|
type: Component,
|
759
775
|
args: [{
|
760
776
|
selector: 'ax-row-template',
|
@@ -765,6 +781,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
765
781
|
args: [TemplateRef, { static: true }]
|
766
782
|
}] } });
|
767
783
|
class AXDataGridRowTemplateRenderer {
|
784
|
+
templateRef;
|
785
|
+
data;
|
768
786
|
refresh(params) {
|
769
787
|
return false;
|
770
788
|
}
|
@@ -772,10 +790,10 @@ class AXDataGridRowTemplateRenderer {
|
|
772
790
|
this.data = params.data.callRecords;
|
773
791
|
this.templateRef = params.templateRef;
|
774
792
|
}
|
793
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridRowTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
794
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridRowTemplateRenderer, selector: "ng-component", ngImport: i0, template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
775
795
|
}
|
776
|
-
|
777
|
-
AXDataGridRowTemplateRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridRowTemplateRenderer, selector: "ng-component", ngImport: i0, template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridRowTemplateRenderer, decorators: [{
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridRowTemplateRenderer, decorators: [{
|
779
797
|
type: Component,
|
780
798
|
args: [{
|
781
799
|
template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
|
@@ -783,8 +801,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
783
801
|
}] });
|
784
802
|
|
785
803
|
class AXDataGridDetailTemplateComponent {
|
804
|
+
templateRef;
|
805
|
+
renderer;
|
806
|
+
params;
|
786
807
|
constructor() {
|
787
|
-
this.height = 100;
|
788
808
|
this.renderer = AXDataGridDetailTemplateRenderer;
|
789
809
|
}
|
790
810
|
ngOnInit() {
|
@@ -792,10 +812,11 @@ class AXDataGridDetailTemplateComponent {
|
|
792
812
|
templateRef: this.templateRef
|
793
813
|
};
|
794
814
|
}
|
815
|
+
height = 100;
|
816
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridDetailTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
817
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridDetailTemplateComponent, selector: "ax-grid-detail-template", inputs: { height: "height" }, queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
795
818
|
}
|
796
|
-
|
797
|
-
AXDataGridDetailTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridDetailTemplateComponent, selector: "ax-grid-detail-template", inputs: { height: "height" }, queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridDetailTemplateComponent, decorators: [{
|
819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridDetailTemplateComponent, decorators: [{
|
799
820
|
type: Component,
|
800
821
|
args: [{
|
801
822
|
selector: 'ax-grid-detail-template',
|
@@ -811,14 +832,16 @@ class AXDataGridDetailTemplateRenderer {
|
|
811
832
|
refresh(params) {
|
812
833
|
return false;
|
813
834
|
}
|
835
|
+
templateRef;
|
836
|
+
data;
|
814
837
|
agInit(params) {
|
815
838
|
this.data = params.data;
|
816
839
|
this.templateRef = params.templateRef;
|
817
840
|
}
|
841
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridDetailTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
842
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridDetailTemplateRenderer, selector: "ng-component", ngImport: i0, template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
818
843
|
}
|
819
|
-
|
820
|
-
AXDataGridDetailTemplateRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridDetailTemplateRenderer, selector: "ng-component", ngImport: i0, template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
821
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridDetailTemplateRenderer, decorators: [{
|
844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridDetailTemplateRenderer, decorators: [{
|
822
845
|
type: Component,
|
823
846
|
args: [{
|
824
847
|
template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
|
@@ -845,93 +868,56 @@ class AXDataGridSelectionChangeEvent extends AXDataEvent {
|
|
845
868
|
class AXDataGridRowSelectionChangeEvent extends AXDataEvent {
|
846
869
|
}
|
847
870
|
class AXDataGridComponent {
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
this.rowClick = new EventEmitter();
|
899
|
-
this.rowDbClick = new EventEmitter();
|
900
|
-
this.selectionChanged = new EventEmitter();
|
901
|
-
this.rowSelectionChange = new EventEmitter();
|
902
|
-
this.onRowSelectionChanged = new EventEmitter();
|
903
|
-
this.rtl = AXConfig.get('layout.rtl');
|
904
|
-
this.isServerSideGroup = (e) => {
|
905
|
-
return e[this.hasChildField];
|
906
|
-
};
|
907
|
-
this.getColumnDefs = () => {
|
908
|
-
return this.gridApi.getColumnDefs();
|
909
|
-
};
|
910
|
-
this.getCurrentPageNumber = () => {
|
911
|
-
return {
|
912
|
-
current: this.gridApi.paginationGetCurrentPage() + 1,
|
913
|
-
total: this.gridApi.paginationGetTotalPages(),
|
914
|
-
};
|
915
|
-
};
|
916
|
-
this.getServerSideGroupKey = (e) => {
|
917
|
-
return e[this.keyField];
|
918
|
-
};
|
919
|
-
this.internalGetRowClass = (p) => {
|
920
|
-
if (this.rowClass) {
|
921
|
-
if (this.rowClass instanceof Function) {
|
922
|
-
return this.rowClass({
|
923
|
-
rowIndex: p.node.rowIndex,
|
924
|
-
rowLevel: p.node.level,
|
925
|
-
data: p.data,
|
926
|
-
});
|
927
|
-
}
|
928
|
-
else {
|
929
|
-
return this.rowClass;
|
930
|
-
}
|
931
|
-
}
|
932
|
-
};
|
933
|
-
this.localeText = AXTranslator.get('dataGrid');
|
934
|
-
}
|
871
|
+
ref;
|
872
|
+
cdr;
|
873
|
+
gridApi;
|
874
|
+
dataSourceSuccessCallback;
|
875
|
+
localeText;
|
876
|
+
gridOptions;
|
877
|
+
columnDefs = [];
|
878
|
+
rowModelType = 'clientSide';
|
879
|
+
fullWidthCellRendererFramework;
|
880
|
+
fullWidthCellRendererParams;
|
881
|
+
frameworkComponents = {};
|
882
|
+
isFullWidthCell;
|
883
|
+
internalHeight = '100%';
|
884
|
+
detailCellRenderer;
|
885
|
+
detailCellRendererParams;
|
886
|
+
detailRowHeight;
|
887
|
+
masterDetail = false;
|
888
|
+
treeData = false;
|
889
|
+
enabelSelect = false;
|
890
|
+
gridView = false;
|
891
|
+
groupSelectsChildren = false;
|
892
|
+
oldSelectionNodes = [];
|
893
|
+
// @Input()
|
894
|
+
// showRowNumber: boolean = true;
|
895
|
+
paginationAutoPageSize = false;
|
896
|
+
paginationPageSize = 20;
|
897
|
+
cacheBlockSize = this.paginationPageSize;
|
898
|
+
remoteOperation = false;
|
899
|
+
rowMultiSelectWithClick = false;
|
900
|
+
suppressRowClickSelection = false;
|
901
|
+
suppressCellSelection = false;
|
902
|
+
sizeColumnsToFit = true;
|
903
|
+
showCheckBox = true;
|
904
|
+
floatingFilter = false;
|
905
|
+
// @Input()
|
906
|
+
// takeCount: number;
|
907
|
+
autoGroupColumnDef = {};
|
908
|
+
selectionMode = 'single';
|
909
|
+
// @Input()
|
910
|
+
// allowFiltering: boolean = false;
|
911
|
+
pagination = true;
|
912
|
+
selectRow = [];
|
913
|
+
rowGroupPanelShow = 'never';
|
914
|
+
loadOnInit = true;
|
915
|
+
enableRangeSelection = false;
|
916
|
+
// @Input()
|
917
|
+
// groupDefaultExpanded: number = 0;
|
918
|
+
keyField = 'null';
|
919
|
+
hasChildField = 'null';
|
920
|
+
_searchText;
|
935
921
|
get searchText() {
|
936
922
|
return this._searchText;
|
937
923
|
}
|
@@ -944,6 +930,7 @@ class AXDataGridComponent {
|
|
944
930
|
}
|
945
931
|
}
|
946
932
|
}
|
933
|
+
_filter;
|
947
934
|
get filter() {
|
948
935
|
return this._filter;
|
949
936
|
}
|
@@ -959,6 +946,9 @@ class AXDataGridComponent {
|
|
959
946
|
});
|
960
947
|
}
|
961
948
|
}
|
949
|
+
_inlineColumns;
|
950
|
+
columnsChange = new EventEmitter();
|
951
|
+
_columns = [];
|
962
952
|
get columns() {
|
963
953
|
return this._inlineColumns
|
964
954
|
? [...this._columns, ...this._inlineColumns.toArray()]
|
@@ -976,12 +966,39 @@ class AXDataGridComponent {
|
|
976
966
|
});
|
977
967
|
}
|
978
968
|
}
|
969
|
+
defaultColDef = {
|
970
|
+
filter: true,
|
971
|
+
floatingFilter: true,
|
972
|
+
};
|
973
|
+
rowHeight;
|
974
|
+
searchInput;
|
975
|
+
toolbar;
|
976
|
+
rowTemplate;
|
977
|
+
gridDetailTemplate;
|
978
|
+
_contentDataSource;
|
979
|
+
_dataSource;
|
979
980
|
get dataSource() {
|
980
981
|
return this._dataSource ? this._dataSource : this._contentDataSource;
|
981
982
|
}
|
982
983
|
set dataSource(v) {
|
983
984
|
this._dataSource = v;
|
984
985
|
}
|
986
|
+
groupHideOpenParents = false;
|
987
|
+
cellClick = new EventEmitter();
|
988
|
+
cellDbClick = new EventEmitter();
|
989
|
+
cellFocuse = new EventEmitter();
|
990
|
+
rowClick = new EventEmitter();
|
991
|
+
rowDbClick = new EventEmitter();
|
992
|
+
selectionChanged = new EventEmitter();
|
993
|
+
rowSelectionChange = new EventEmitter();
|
994
|
+
onRowSelectionChanged = new EventEmitter();
|
995
|
+
rowClass;
|
996
|
+
rtl = AXConfig.get('layout.rtl');
|
997
|
+
constructor(ref, cdr) {
|
998
|
+
this.ref = ref;
|
999
|
+
this.cdr = cdr;
|
1000
|
+
this.localeText = AXTranslator.get('dataGrid');
|
1001
|
+
}
|
985
1002
|
calcHeight() {
|
986
1003
|
if (this.toolbar) {
|
987
1004
|
this.internalHeight = `calc(100% - ${40}px)`;
|
@@ -1022,9 +1039,24 @@ class AXDataGridComponent {
|
|
1022
1039
|
ngOnDestroy() {
|
1023
1040
|
this.gridApi.destroy();
|
1024
1041
|
}
|
1042
|
+
isServerSideGroup = (e) => {
|
1043
|
+
return e[this.hasChildField];
|
1044
|
+
};
|
1045
|
+
getColumnDefs = () => {
|
1046
|
+
return this.gridApi.getColumnDefs();
|
1047
|
+
};
|
1048
|
+
getCurrentPageNumber = () => {
|
1049
|
+
return {
|
1050
|
+
current: this.gridApi.paginationGetCurrentPage() + 1,
|
1051
|
+
total: this.gridApi.paginationGetTotalPages(),
|
1052
|
+
};
|
1053
|
+
};
|
1025
1054
|
paginationGoToPage(number) {
|
1026
1055
|
this.gridApi.paginationGoToPage(number - 1);
|
1027
1056
|
}
|
1057
|
+
getServerSideGroupKey = (e) => {
|
1058
|
+
return e[this.keyField];
|
1059
|
+
};
|
1028
1060
|
internalGridReady(gridOptions) {
|
1029
1061
|
if (this.remoteOperation && !this.paginationAutoPageSize) {
|
1030
1062
|
this.handlePageSize();
|
@@ -1369,6 +1401,20 @@ class AXDataGridComponent {
|
|
1369
1401
|
}
|
1370
1402
|
});
|
1371
1403
|
}
|
1404
|
+
internalGetRowClass = (p) => {
|
1405
|
+
if (this.rowClass) {
|
1406
|
+
if (this.rowClass instanceof Function) {
|
1407
|
+
return this.rowClass({
|
1408
|
+
rowIndex: p.node.rowIndex,
|
1409
|
+
rowLevel: p.node.level,
|
1410
|
+
data: p.data,
|
1411
|
+
});
|
1412
|
+
}
|
1413
|
+
else {
|
1414
|
+
return this.rowClass;
|
1415
|
+
}
|
1416
|
+
}
|
1417
|
+
};
|
1372
1418
|
showLoading() {
|
1373
1419
|
if (this.gridApi) {
|
1374
1420
|
this.gridApi.showLoadingOverlay();
|
@@ -1415,10 +1461,10 @@ class AXDataGridComponent {
|
|
1415
1461
|
select.style.borderRadius = '4px';
|
1416
1462
|
pagingPanel.appendChild(select);
|
1417
1463
|
}
|
1464
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
1465
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridComponent, selector: "ax-data-grid", inputs: { paginationAutoPageSize: "paginationAutoPageSize", paginationPageSize: "paginationPageSize", remoteOperation: "remoteOperation", rowMultiSelectWithClick: "rowMultiSelectWithClick", suppressRowClickSelection: "suppressRowClickSelection", suppressCellSelection: "suppressCellSelection", sizeColumnsToFit: "sizeColumnsToFit", showCheckBox: "showCheckBox", floatingFilter: "floatingFilter", selectionMode: "selectionMode", pagination: "pagination", selectRow: "selectRow", rowGroupPanelShow: "rowGroupPanelShow", loadOnInit: "loadOnInit", enableRangeSelection: "enableRangeSelection", keyField: "keyField", hasChildField: "hasChildField", searchText: "searchText", filter: "filter", columns: "columns", rowHeight: "rowHeight", dataSource: "dataSource", groupHideOpenParents: "groupHideOpenParents", rowClass: "rowClass", rtl: "rtl" }, outputs: { columnsChange: "columnsChange", cellClick: "cellClick", cellDbClick: "cellDbClick", cellFocuse: "cellFocuse", rowClick: "rowClick", rowDbClick: "rowDbClick", selectionChanged: "selectionChanged", rowSelectionChange: "rowSelectionChange", onRowSelectionChanged: "onRowSelectionChanged" }, queries: [{ propertyName: "searchInput", first: true, predicate: AXToolbarSearchComponent, descendants: true, static: true }, { propertyName: "toolbar", first: true, predicate: AXToolbarComponent, descendants: true, static: true }, { propertyName: "rowTemplate", first: true, predicate: AXDataGridRowTemplateComponent, descendants: true, static: true }, { propertyName: "gridDetailTemplate", first: true, predicate: AXDataGridDetailTemplateComponent, descendants: true, static: true }, { propertyName: "_contentDataSource", first: true, predicate: AXDataSourceComponent, descendants: true, static: true }, { propertyName: "_inlineColumns", predicate: AXGridDataColumn }], ngImport: i0, template: "<div class=\"ax-grid-toolbar\" *ngIf=\"toolbar\">\n <ng-content select=\"ax-toolbar\"></ng-content>\n</div>\n<!-- [enableSorting]=\"true\" [enableColResize]=\"true\" [enableFilter]=\"allowFiltering\" -->\n\n\n<ag-grid-angular *ngIf=\"gridView\" class=\"ag-theme-balham\" [getRowClass]=\"internalGetRowClass\"\n [suppressCopyRowsToClipboard]=\"true\" [enableRangeSelection]=\"enableRangeSelection\" [serverSideStoreType]=\"'partial'\"\n [style.height]=\"internalHeight\" [columnDefs]=\"columnDefs\" [enableRtl]=\"rtl\" [pagination]=\"pagination\"\n [rowGroupPanelShow]=\"rowGroupPanelShow\" [rowModelType]=\"rowModelType\" [detailRowHeight]=\"detailRowHeight\"\n [paginationAutoPageSize]=\"paginationAutoPageSize\" [paginationPageSize]=\"paginationPageSize\" [suppressMenuHide]=\"true\"\n [frameworkComponents]=\"frameworkComponents\" [isFullWidthCell]=\"isFullWidthCell\" [rowSelection]=\"selectionMode\"\n [rowMultiSelectWithClick]=\"rowMultiSelectWithClick\" [fullWidthCellRendererFramework]=\"fullWidthCellRendererFramework\"\n [cacheBlockSize]=\"cacheBlockSize\" [fullWidthCellRendererParams]=\"fullWidthCellRendererParams\"\n (cellClicked)=\"internalGridCellClicked($event)\" (cellDoubleClicked)=\"internalGridCellDoubleClicked($event)\"\n (cellFocused)=\"internalGridCellFocused($event)\" (rowClicked)=\"internalGridRowClicked($event)\"\n (selectionChanged)=\"internalGridSelectionChanged($event)\" (rowSelected)=\"rowSelectionChanged($event)\"\n (rowDoubleClicked)=\"internalGridRowDoubleClicked($event)\" (gridReady)=\"internalGridReady($event)\"\n [groupSelectsChildren]=\"groupSelectsChildren\" [suppressRowClickSelection]=\"suppressRowClickSelection\"\n [groupSelectsFiltered]=\"true\" [suppressCellSelection]=\"suppressCellSelection\"\n [autoGroupColumnDef]=\"autoGroupColumnDef\" [suppressAggFuncInHeader]=\"true\" [treeData]=\"treeData\" [animateRows]=\"true\"\n [isServerSideGroup]=\"isServerSideGroup\" [getServerSideGroupKey]=\"getServerSideGroupKey\" [masterDetail]=\"masterDetail\"\n [detailCellRendererParams]=\"detailCellRendererParams\" [detailCellRenderer]=\"detailCellRenderer\"\n (gridSizeChanged)=\"internalGridSizeChanged($event)\" (firstDataRendered)=\"internalGridFirstDataRendered($event)\"\n [localeText]=\"localeText\" [groupHideOpenParents]=\"groupHideOpenParents\" [allowContextMenuWithControlKey]=\"false\"\n [getMainMenuItems]=\"getMainMenuItems\">\n</ag-grid-angular>\n\n\n<!-- (displayedColumnsChanged)=\"displayedColumnsChanged($event)\" -->", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "suppressMenuHide", "enableBrowserTooltips", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "maintainColumnOrder", "suppressFieldDotNotation", "deltaColumnMode", "applyColumnDefOrder", "immutableColumns", "suppressSetColumnStateEvents", "suppressColumnStateEvents", "colWidth", "minColWidth", "maxColWidth", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressDragLeaveHidesColumns", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "components", "frameworkComponents", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterMovesDown", "enterMovesDownAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "stopEditingWhenGridLosesFocus", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "defaultExportParams", "quickFilterText", "cacheQuickFilter", "excludeChildrenWhenTreeDataFiltering", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "enableChartToolPanelsButton", "chartToolPanelsDef", "loadingCellRenderer", "loadingCellRendererFramework", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererFramework", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressParentsInRowNodes", "suppressTouch", "suppressFocusAfterRefresh", "suppressAsyncEvents", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentFramework", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentFramework", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "suppressAggAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "enableCellChangeFlash", "cellFlashDelay", "cellFadeDelay", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "fullWidthCellRenderer", "fullWidthCellRendererFramework", "fullWidthCellRendererParams", "embedFullWidthRows", "deprecatedEmbedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupAggFiltering", "groupIncludeFooter", "groupIncludeTotalFooter", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererFramework", "groupRowRendererParams", "suppressMakeColumnVisibleAfterUnGroup", "treeData", "rowGroupPanelSuppressSort", "groupRowsSticky", "groupRowInnerRenderer", "groupRowInnerRendererFramework", "groupMultiAutoColumn", "groupUseEntireRow", "groupSuppressAutoColumn", "rememberGroupStateWhenNewData", "pinnedTopRowData", "pinnedBottomRowData", "rowModelType", "rowData", "immutableData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "deltaRowDataMode", "batchUpdateWaitMillis", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "serverSideStoreType", "serverSideInfiniteScroll", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideFilterAllLevels", "serverSideSortOnServer", "serverSideFilterOnServer", "serverSideSortingAlwaysResets", "serverSideFilteringAlwaysResets", "suppressEnterpriseResetOnNewColumns", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellSelection", "suppressCellFocus", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "deltaSort", "treeDataDisplayType", "angularCompileRows", "angularCompileFilters", "functionsPassive", "enableGroupEdit", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "suppressKeyboardEvent", "localeTextFunc", "getLocaleText", "getDocument", "paginationNumberFormatter", "groupRowAggNodes", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "defaultGroupOrderComparator", "processSecondaryColDef", "processSecondaryColGroupDef", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "defaultGroupSortComparator", "getChildCount", "getServerSideGroupLevelParams", "getServerSideStoreParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowNodeId", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSort", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthCell", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "filterOpened", "filterChanged", "filterModified", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "cellKeyPress", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pinnedRowDataChanged", "rowDataChanged", "rowDataUpdated", "asyncTransactionsFlushed", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "sortChanged", "columnRowGroupChangeRequest", "columnPivotChangeRequest", "columnValueChangeRequest", "columnAggFuncChangeRequest"] }], encapsulation: i0.ViewEncapsulation.None });
|
1418
1466
|
}
|
1419
|
-
|
1420
|
-
AXDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataGridComponent, selector: "ax-data-grid", inputs: { paginationAutoPageSize: "paginationAutoPageSize", paginationPageSize: "paginationPageSize", remoteOperation: "remoteOperation", rowMultiSelectWithClick: "rowMultiSelectWithClick", suppressRowClickSelection: "suppressRowClickSelection", suppressCellSelection: "suppressCellSelection", sizeColumnsToFit: "sizeColumnsToFit", showCheckBox: "showCheckBox", floatingFilter: "floatingFilter", selectionMode: "selectionMode", pagination: "pagination", selectRow: "selectRow", rowGroupPanelShow: "rowGroupPanelShow", loadOnInit: "loadOnInit", enableRangeSelection: "enableRangeSelection", keyField: "keyField", hasChildField: "hasChildField", searchText: "searchText", filter: "filter", columns: "columns", rowHeight: "rowHeight", dataSource: "dataSource", groupHideOpenParents: "groupHideOpenParents", rowClass: "rowClass", rtl: "rtl" }, outputs: { columnsChange: "columnsChange", cellClick: "cellClick", cellDbClick: "cellDbClick", cellFocuse: "cellFocuse", rowClick: "rowClick", rowDbClick: "rowDbClick", selectionChanged: "selectionChanged", rowSelectionChange: "rowSelectionChange", onRowSelectionChanged: "onRowSelectionChanged" }, queries: [{ propertyName: "searchInput", first: true, predicate: AXToolbarSearchComponent, descendants: true, static: true }, { propertyName: "toolbar", first: true, predicate: AXToolbarComponent, descendants: true, static: true }, { propertyName: "rowTemplate", first: true, predicate: AXDataGridRowTemplateComponent, descendants: true, static: true }, { propertyName: "gridDetailTemplate", first: true, predicate: AXDataGridDetailTemplateComponent, descendants: true, static: true }, { propertyName: "_contentDataSource", first: true, predicate: AXDataSourceComponent, descendants: true, static: true }, { propertyName: "_inlineColumns", predicate: AXGridDataColumn }], ngImport: i0, template: "<div class=\"ax-grid-toolbar\" *ngIf=\"toolbar\">\n <ng-content select=\"ax-toolbar\"></ng-content>\n</div>\n<!-- [enableSorting]=\"true\" [enableColResize]=\"true\" [enableFilter]=\"allowFiltering\" -->\n\n\n<ag-grid-angular *ngIf=\"gridView\" class=\"ag-theme-balham\" [getRowClass]=\"internalGetRowClass\"\n [suppressCopyRowsToClipboard]=\"true\" [enableRangeSelection]=\"enableRangeSelection\" [serverSideStoreType]=\"'partial'\"\n [style.height]=\"internalHeight\" [columnDefs]=\"columnDefs\" [enableRtl]=\"rtl\" [pagination]=\"pagination\"\n [rowGroupPanelShow]=\"rowGroupPanelShow\" [rowModelType]=\"rowModelType\" [detailRowHeight]=\"detailRowHeight\"\n [paginationAutoPageSize]=\"paginationAutoPageSize\" [paginationPageSize]=\"paginationPageSize\" [suppressMenuHide]=\"true\"\n [frameworkComponents]=\"frameworkComponents\" [isFullWidthCell]=\"isFullWidthCell\" [rowSelection]=\"selectionMode\"\n [rowMultiSelectWithClick]=\"rowMultiSelectWithClick\" [fullWidthCellRendererFramework]=\"fullWidthCellRendererFramework\"\n [cacheBlockSize]=\"cacheBlockSize\" [fullWidthCellRendererParams]=\"fullWidthCellRendererParams\"\n (cellClicked)=\"internalGridCellClicked($event)\" (cellDoubleClicked)=\"internalGridCellDoubleClicked($event)\"\n (cellFocused)=\"internalGridCellFocused($event)\" (rowClicked)=\"internalGridRowClicked($event)\"\n (selectionChanged)=\"internalGridSelectionChanged($event)\" (rowSelected)=\"rowSelectionChanged($event)\"\n (rowDoubleClicked)=\"internalGridRowDoubleClicked($event)\" (gridReady)=\"internalGridReady($event)\"\n [groupSelectsChildren]=\"groupSelectsChildren\" [suppressRowClickSelection]=\"suppressRowClickSelection\"\n [groupSelectsFiltered]=\"true\" [suppressCellSelection]=\"suppressCellSelection\"\n [autoGroupColumnDef]=\"autoGroupColumnDef\" [suppressAggFuncInHeader]=\"true\" [treeData]=\"treeData\" [animateRows]=\"true\"\n [isServerSideGroup]=\"isServerSideGroup\" [getServerSideGroupKey]=\"getServerSideGroupKey\" [masterDetail]=\"masterDetail\"\n [detailCellRendererParams]=\"detailCellRendererParams\" [detailCellRenderer]=\"detailCellRenderer\"\n (gridSizeChanged)=\"internalGridSizeChanged($event)\" (firstDataRendered)=\"internalGridFirstDataRendered($event)\"\n [localeText]=\"localeText\" [groupHideOpenParents]=\"groupHideOpenParents\" [allowContextMenuWithControlKey]=\"false\"\n [getMainMenuItems]=\"getMainMenuItems\">\n</ag-grid-angular>\n\n\n<!-- (displayedColumnsChanged)=\"displayedColumnsChanged($event)\" -->", components: [{ type: i1$2.AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "suppressMenuHide", "enableBrowserTooltips", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "maintainColumnOrder", "suppressFieldDotNotation", "deltaColumnMode", "applyColumnDefOrder", "immutableColumns", "suppressSetColumnStateEvents", "suppressColumnStateEvents", "colWidth", "minColWidth", "maxColWidth", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressDragLeaveHidesColumns", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "components", "frameworkComponents", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterMovesDown", "enterMovesDownAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "stopEditingWhenGridLosesFocus", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "defaultExportParams", "quickFilterText", "cacheQuickFilter", "excludeChildrenWhenTreeDataFiltering", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "enableChartToolPanelsButton", "chartToolPanelsDef", "loadingCellRenderer", "loadingCellRendererFramework", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererFramework", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressParentsInRowNodes", "suppressTouch", "suppressFocusAfterRefresh", "suppressAsyncEvents", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentFramework", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentFramework", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "suppressAggAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "enableCellChangeFlash", "cellFlashDelay", "cellFadeDelay", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "fullWidthCellRenderer", "fullWidthCellRendererFramework", "fullWidthCellRendererParams", "embedFullWidthRows", "deprecatedEmbedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupAggFiltering", "groupIncludeFooter", "groupIncludeTotalFooter", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererFramework", "groupRowRendererParams", "suppressMakeColumnVisibleAfterUnGroup", "treeData", "rowGroupPanelSuppressSort", "groupRowsSticky", "groupRowInnerRenderer", "groupRowInnerRendererFramework", "groupMultiAutoColumn", "groupUseEntireRow", "groupSuppressAutoColumn", "rememberGroupStateWhenNewData", "pinnedTopRowData", "pinnedBottomRowData", "rowModelType", "rowData", "immutableData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "deltaRowDataMode", "batchUpdateWaitMillis", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "serverSideStoreType", "serverSideInfiniteScroll", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideFilterAllLevels", "serverSideSortOnServer", "serverSideFilterOnServer", "serverSideSortingAlwaysResets", "serverSideFilteringAlwaysResets", "suppressEnterpriseResetOnNewColumns", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellSelection", "suppressCellFocus", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "deltaSort", "treeDataDisplayType", "angularCompileRows", "angularCompileFilters", "functionsPassive", "enableGroupEdit", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "suppressKeyboardEvent", "localeTextFunc", "getLocaleText", "getDocument", "paginationNumberFormatter", "groupRowAggNodes", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "defaultGroupOrderComparator", "processSecondaryColDef", "processSecondaryColGroupDef", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "defaultGroupSortComparator", "getChildCount", "getServerSideGroupLevelParams", "getServerSideStoreParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowNodeId", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSort", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthCell", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "filterOpened", "filterChanged", "filterModified", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "cellKeyPress", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pinnedRowDataChanged", "rowDataChanged", "rowDataUpdated", "asyncTransactionsFlushed", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "sortChanged", "columnRowGroupChangeRequest", "columnPivotChangeRequest", "columnValueChangeRequest", "columnAggFuncChangeRequest"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
1421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridComponent, decorators: [{
|
1467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridComponent, decorators: [{
|
1422
1468
|
type: Component,
|
1423
1469
|
args: [{ selector: 'ax-data-grid', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-grid-toolbar\" *ngIf=\"toolbar\">\n <ng-content select=\"ax-toolbar\"></ng-content>\n</div>\n<!-- [enableSorting]=\"true\" [enableColResize]=\"true\" [enableFilter]=\"allowFiltering\" -->\n\n\n<ag-grid-angular *ngIf=\"gridView\" class=\"ag-theme-balham\" [getRowClass]=\"internalGetRowClass\"\n [suppressCopyRowsToClipboard]=\"true\" [enableRangeSelection]=\"enableRangeSelection\" [serverSideStoreType]=\"'partial'\"\n [style.height]=\"internalHeight\" [columnDefs]=\"columnDefs\" [enableRtl]=\"rtl\" [pagination]=\"pagination\"\n [rowGroupPanelShow]=\"rowGroupPanelShow\" [rowModelType]=\"rowModelType\" [detailRowHeight]=\"detailRowHeight\"\n [paginationAutoPageSize]=\"paginationAutoPageSize\" [paginationPageSize]=\"paginationPageSize\" [suppressMenuHide]=\"true\"\n [frameworkComponents]=\"frameworkComponents\" [isFullWidthCell]=\"isFullWidthCell\" [rowSelection]=\"selectionMode\"\n [rowMultiSelectWithClick]=\"rowMultiSelectWithClick\" [fullWidthCellRendererFramework]=\"fullWidthCellRendererFramework\"\n [cacheBlockSize]=\"cacheBlockSize\" [fullWidthCellRendererParams]=\"fullWidthCellRendererParams\"\n (cellClicked)=\"internalGridCellClicked($event)\" (cellDoubleClicked)=\"internalGridCellDoubleClicked($event)\"\n (cellFocused)=\"internalGridCellFocused($event)\" (rowClicked)=\"internalGridRowClicked($event)\"\n (selectionChanged)=\"internalGridSelectionChanged($event)\" (rowSelected)=\"rowSelectionChanged($event)\"\n (rowDoubleClicked)=\"internalGridRowDoubleClicked($event)\" (gridReady)=\"internalGridReady($event)\"\n [groupSelectsChildren]=\"groupSelectsChildren\" [suppressRowClickSelection]=\"suppressRowClickSelection\"\n [groupSelectsFiltered]=\"true\" [suppressCellSelection]=\"suppressCellSelection\"\n [autoGroupColumnDef]=\"autoGroupColumnDef\" [suppressAggFuncInHeader]=\"true\" [treeData]=\"treeData\" [animateRows]=\"true\"\n [isServerSideGroup]=\"isServerSideGroup\" [getServerSideGroupKey]=\"getServerSideGroupKey\" [masterDetail]=\"masterDetail\"\n [detailCellRendererParams]=\"detailCellRendererParams\" [detailCellRenderer]=\"detailCellRenderer\"\n (gridSizeChanged)=\"internalGridSizeChanged($event)\" (firstDataRendered)=\"internalGridFirstDataRendered($event)\"\n [localeText]=\"localeText\" [groupHideOpenParents]=\"groupHideOpenParents\" [allowContextMenuWithControlKey]=\"false\"\n [getMainMenuItems]=\"getMainMenuItems\">\n</ag-grid-angular>\n\n\n<!-- (displayedColumnsChanged)=\"displayedColumnsChanged($event)\" -->" }]
|
1424
1470
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { paginationAutoPageSize: [{
|
@@ -1510,55 +1556,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
1510
1556
|
}] } });
|
1511
1557
|
|
1512
1558
|
class AXDataGridModule {
|
1513
|
-
}
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
AXDataGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataGridModule, providers: [], imports: [[
|
1561
|
-
CommonModule,
|
1559
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1560
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridModule, declarations: [AXDataGridComponent,
|
1561
|
+
AXGridTextColumn,
|
1562
|
+
AXGridCheckColumn,
|
1563
|
+
AXGridSelectionColumn,
|
1564
|
+
AXGridDateColumn,
|
1565
|
+
AXGridRowNumberColumn,
|
1566
|
+
AXGridCommandColumn,
|
1567
|
+
BooleanRenderer,
|
1568
|
+
BooleanFilterRenderer,
|
1569
|
+
TextFilterRenderer,
|
1570
|
+
AXDataGridFilterComponent,
|
1571
|
+
AXDataGridRowTemplateComponent,
|
1572
|
+
AXDataGridDetailTemplateComponent,
|
1573
|
+
AXDataGridRowTemplateRenderer,
|
1574
|
+
AXDataGridDetailTemplateRenderer,
|
1575
|
+
AXDataGridCellTemplateComponent,
|
1576
|
+
AXDataGridCellTemplateRenderer,
|
1577
|
+
AXDatePickerFilterComponent,
|
1578
|
+
CommandRenderer], imports: [CommonModule,
|
1579
|
+
AXCoreModule,
|
1580
|
+
FormsModule,
|
1581
|
+
//AgGridModule,
|
1582
|
+
AXTextBoxModule,
|
1583
|
+
AXCheckBoxModule,
|
1584
|
+
AXSelectBoxModule,
|
1585
|
+
AXDataSourceModule,
|
1586
|
+
AXButtonModule,
|
1587
|
+
AXDatePickerModule,
|
1588
|
+
AgGridModule], exports: [AXDataGridComponent,
|
1589
|
+
AXDataGridFilterComponent,
|
1590
|
+
AXDataGridRowTemplateComponent,
|
1591
|
+
AXDataGridDetailTemplateComponent,
|
1592
|
+
AXDataGridRowTemplateRenderer,
|
1593
|
+
AXDataGridDetailTemplateRenderer,
|
1594
|
+
AXDataGridCellTemplateComponent,
|
1595
|
+
AXDataGridCellTemplateRenderer,
|
1596
|
+
AXGridTextColumn,
|
1597
|
+
AXGridRowNumberColumn,
|
1598
|
+
AXGridCheckColumn,
|
1599
|
+
AXGridDateColumn,
|
1600
|
+
AXGridSelectionColumn,
|
1601
|
+
AXGridCommandColumn,
|
1602
|
+
BooleanRenderer,
|
1603
|
+
BooleanFilterRenderer,
|
1604
|
+
CommandRenderer] });
|
1605
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridModule, imports: [CommonModule,
|
1562
1606
|
AXCoreModule,
|
1563
1607
|
FormsModule,
|
1564
1608
|
//AgGridModule,
|
@@ -1568,9 +1612,9 @@ AXDataGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
1568
1612
|
AXDataSourceModule,
|
1569
1613
|
AXButtonModule,
|
1570
1614
|
AXDatePickerModule,
|
1571
|
-
AgGridModule
|
1572
|
-
|
1573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
1615
|
+
AgGridModule] });
|
1616
|
+
}
|
1617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridModule, decorators: [{
|
1574
1618
|
type: NgModule,
|
1575
1619
|
args: [{
|
1576
1620
|
declarations: [
|
@@ -1631,18 +1675,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
1631
1675
|
}] });
|
1632
1676
|
|
1633
1677
|
class AXDataLovPopupComponent extends AXBasePopupPageComponent {
|
1678
|
+
cdr;
|
1679
|
+
ref;
|
1680
|
+
grid;
|
1681
|
+
searchBox;
|
1682
|
+
columns = [];
|
1683
|
+
selectedItems = [];
|
1684
|
+
keyField = '';
|
1685
|
+
allowNull = true;
|
1686
|
+
hasChildField;
|
1687
|
+
rtl = AXConfig.get('layout.rtl');
|
1688
|
+
selectedRows = [];
|
1689
|
+
pagination = true;
|
1634
1690
|
constructor(cdr, ref) {
|
1635
1691
|
super();
|
1636
1692
|
this.cdr = cdr;
|
1637
1693
|
this.ref = ref;
|
1638
|
-
this.columns = [];
|
1639
|
-
this.selectedItems = [];
|
1640
|
-
this.keyField = '';
|
1641
|
-
this.allowNull = true;
|
1642
|
-
this.rtl = AXConfig.get('layout.rtl');
|
1643
|
-
this.selectedRows = [];
|
1644
|
-
this.pagination = true;
|
1645
1694
|
}
|
1695
|
+
dataSource;
|
1696
|
+
selectionMode;
|
1646
1697
|
ngOnInit() {
|
1647
1698
|
if (this.rtl == null) {
|
1648
1699
|
this.rtl = window.getComputedStyle(this.ref.nativeElement, null).getPropertyValue('direction') === 'rtl';
|
@@ -1721,10 +1772,10 @@ class AXDataLovPopupComponent extends AXBasePopupPageComponent {
|
|
1721
1772
|
this.onCancelClick();
|
1722
1773
|
}
|
1723
1774
|
}
|
1775
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataLovPopupComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
1776
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataLovPopupComponent, selector: "ng-component", viewQueries: [{ propertyName: "grid", first: true, predicate: ["grid"], descendants: true, static: true }, { propertyName: "searchBox", first: true, predicate: ["searchBox"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div style=\"height: 70vh; padding: 0.5em;\">\n <div style=\"height: calc(98%);\">\n\n <ax-data-grid [pagination]=\"pagination\" [rtl]=\"rtl\" [suppressRowClickSelection]=\"false\" [keyField]=\"keyField\"\n [hasChildField]=\"hasChildField\" [selectRow]=\"selectedItems\" #grid [columns]=\"columns\"\n [remoteOperation]=\"true\" [selectionMode]=\"selectionMode\" (rowDbClick)=\"rowDoubleClicked($event)\"\n (rowSelectionChange)=\"rowSelectionChange($event)\" [dataSource]=\"dataSource\">\n <ax-toolbar>\n <ax-toolbar-search #searchBox style=\"width: 100%;\"></ax-toolbar-search>\n </ax-toolbar>\n <ax-selection-column *ngIf=\"selectionMode== 'single'? false : true\"></ax-selection-column>\n <!-- <ax-data-source [provideData]=\"dataSource.provideData\">\n </ax-data-source> -->\n </ax-data-grid>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AXDataGridComponent, selector: "ax-data-grid", inputs: ["paginationAutoPageSize", "paginationPageSize", "remoteOperation", "rowMultiSelectWithClick", "suppressRowClickSelection", "suppressCellSelection", "sizeColumnsToFit", "showCheckBox", "floatingFilter", "selectionMode", "pagination", "selectRow", "rowGroupPanelShow", "loadOnInit", "enableRangeSelection", "keyField", "hasChildField", "searchText", "filter", "columns", "rowHeight", "dataSource", "groupHideOpenParents", "rowClass", "rtl"], outputs: ["columnsChange", "cellClick", "cellDbClick", "cellFocuse", "rowClick", "rowDbClick", "selectionChanged", "rowSelectionChange", "onRowSelectionChanged"] }, { kind: "component", type: AXGridSelectionColumn, selector: "ax-selection-column", inputs: ["condition", "pinned", "width"] }, { kind: "component", type: i1$1.AXToolbarComponent, selector: "ax-toolbar" }, { kind: "component", type: i1$1.AXToolbarSearchComponent, selector: "ax-toolbar-search", inputs: ["text"], outputs: ["onValueChanged"] }] });
|
1724
1777
|
}
|
1725
|
-
|
1726
|
-
AXDataLovPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXDataLovPopupComponent, selector: "ng-component", viewQueries: [{ propertyName: "grid", first: true, predicate: ["grid"], descendants: true, static: true }, { propertyName: "searchBox", first: true, predicate: ["searchBox"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div style=\"height: 70vh; padding: 0.5em;\">\n <div style=\"height: calc(98%);\">\n\n <ax-data-grid [pagination]=\"pagination\" [rtl]=\"rtl\" [suppressRowClickSelection]=\"false\" [keyField]=\"keyField\"\n [hasChildField]=\"hasChildField\" [selectRow]=\"selectedItems\" #grid [columns]=\"columns\"\n [remoteOperation]=\"true\" [selectionMode]=\"selectionMode\" (rowDbClick)=\"rowDoubleClicked($event)\"\n (rowSelectionChange)=\"rowSelectionChange($event)\" [dataSource]=\"dataSource\">\n <ax-toolbar>\n <ax-toolbar-search #searchBox style=\"width: 100%;\"></ax-toolbar-search>\n </ax-toolbar>\n <ax-selection-column *ngIf=\"selectionMode== 'single'? false : true\"></ax-selection-column>\n <!-- <ax-data-source [provideData]=\"dataSource.provideData\">\n </ax-data-source> -->\n </ax-data-grid>\n </div>\n</div>", components: [{ type: AXDataGridComponent, selector: "ax-data-grid", inputs: ["paginationAutoPageSize", "paginationPageSize", "remoteOperation", "rowMultiSelectWithClick", "suppressRowClickSelection", "suppressCellSelection", "sizeColumnsToFit", "showCheckBox", "floatingFilter", "selectionMode", "pagination", "selectRow", "rowGroupPanelShow", "loadOnInit", "enableRangeSelection", "keyField", "hasChildField", "searchText", "filter", "columns", "rowHeight", "dataSource", "groupHideOpenParents", "rowClass", "rtl"], outputs: ["columnsChange", "cellClick", "cellDbClick", "cellFocuse", "rowClick", "rowDbClick", "selectionChanged", "rowSelectionChange", "onRowSelectionChanged"] }, { type: i1$1.AXToolbarComponent, selector: "ax-toolbar" }, { type: i1$1.AXToolbarSearchComponent, selector: "ax-toolbar-search", inputs: ["text"], outputs: ["onValueChanged"] }, { type: AXGridSelectionColumn, selector: "ax-selection-column", inputs: ["condition", "pinned", "width"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
1727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXDataLovPopupComponent, decorators: [{
|
1778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataLovPopupComponent, decorators: [{
|
1728
1779
|
type: Component,
|
1729
1780
|
args: [{ template: "<div style=\"height: 70vh; padding: 0.5em;\">\n <div style=\"height: calc(98%);\">\n\n <ax-data-grid [pagination]=\"pagination\" [rtl]=\"rtl\" [suppressRowClickSelection]=\"false\" [keyField]=\"keyField\"\n [hasChildField]=\"hasChildField\" [selectRow]=\"selectedItems\" #grid [columns]=\"columns\"\n [remoteOperation]=\"true\" [selectionMode]=\"selectionMode\" (rowDbClick)=\"rowDoubleClicked($event)\"\n (rowSelectionChange)=\"rowSelectionChange($event)\" [dataSource]=\"dataSource\">\n <ax-toolbar>\n <ax-toolbar-search #searchBox style=\"width: 100%;\"></ax-toolbar-search>\n </ax-toolbar>\n <ax-selection-column *ngIf=\"selectionMode== 'single'? false : true\"></ax-selection-column>\n <!-- <ax-data-source [provideData]=\"dataSource.provideData\">\n </ax-data-source> -->\n </ax-data-grid>\n </div>\n</div>" }]
|
1730
1781
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { grid: [{
|
@@ -1736,34 +1787,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
1736
1787
|
}] } });
|
1737
1788
|
|
1738
1789
|
class AXLOVComponent extends AXValidatableComponent {
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
this.textField = '';
|
1744
|
-
this.allowSearch = true;
|
1745
|
-
this.valueField = '';
|
1746
|
-
this.hasChildField = 'null';
|
1747
|
-
this.allowNull = true;
|
1748
|
-
this.popupSize = 'md';
|
1749
|
-
this.pagination = true;
|
1750
|
-
this.selectedItems = [];
|
1751
|
-
// @Input()
|
1752
|
-
// selectedValues: any[] = [];
|
1753
|
-
this.readonly = false;
|
1754
|
-
this.disabled = false;
|
1755
|
-
this.chipsWidth = '';
|
1756
|
-
this.size = 'md';
|
1757
|
-
this.mode = 'single';
|
1758
|
-
this.onSelectionChange = new EventEmitter();
|
1759
|
-
this.rtl = AXConfig.get('layout.rtl');
|
1760
|
-
}
|
1790
|
+
popup;
|
1791
|
+
ref;
|
1792
|
+
_contentValidation;
|
1793
|
+
_validation;
|
1761
1794
|
get validation() {
|
1762
1795
|
return this._validation ? this._validation : this._contentValidation;
|
1763
1796
|
}
|
1764
1797
|
set validation(v) {
|
1765
1798
|
this._validation = v;
|
1766
1799
|
}
|
1800
|
+
constructor(popup, ref) {
|
1801
|
+
super();
|
1802
|
+
this.popup = popup;
|
1803
|
+
this.ref = ref;
|
1804
|
+
}
|
1805
|
+
selectBox;
|
1806
|
+
dataSource;
|
1807
|
+
columns;
|
1808
|
+
rowTemplate;
|
1809
|
+
textField = '';
|
1810
|
+
allowSearch = true;
|
1811
|
+
valueField = '';
|
1812
|
+
hasChildField = 'null';
|
1813
|
+
allowNull = true;
|
1814
|
+
popupSize = 'md';
|
1815
|
+
pagination = true;
|
1816
|
+
selectedItems = [];
|
1817
|
+
// @Input()
|
1818
|
+
// selectedValues: any[] = [];
|
1819
|
+
readonly = false;
|
1820
|
+
disabled = false;
|
1821
|
+
chipsWidth = '';
|
1822
|
+
size = 'md';
|
1823
|
+
caption;
|
1824
|
+
mode = 'single';
|
1825
|
+
placeholder;
|
1826
|
+
onSelectionChange = new EventEmitter();
|
1827
|
+
rtl = AXConfig.get('layout.rtl');
|
1767
1828
|
focus() {
|
1768
1829
|
this.selectBox.focus();
|
1769
1830
|
}
|
@@ -1833,10 +1894,10 @@ class AXLOVComponent extends AXValidatableComponent {
|
|
1833
1894
|
});
|
1834
1895
|
});
|
1835
1896
|
}
|
1897
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXLOVComponent, deps: [{ token: i1$1.AXPopupService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
1898
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXLOVComponent, selector: "ax-lov", inputs: { validation: "validation", textField: "textField", allowSearch: "allowSearch", valueField: "valueField", hasChildField: "hasChildField", allowNull: "allowNull", popupSize: "popupSize", pagination: "pagination", selectedItems: "selectedItems", readonly: "readonly", disabled: "disabled", chipsWidth: "chipsWidth", size: "size", caption: "caption", mode: "mode", placeholder: "placeholder", rtl: "rtl" }, outputs: { onSelectionChange: "onSelectionChange" }, host: { styleAttribute: "width: 100%" }, providers: [{ provide: AXValidatableComponent, useExisting: AXLOVComponent }], queries: [{ propertyName: "_contentValidation", first: true, predicate: AXValidation, descendants: true, static: true }, { propertyName: "dataSource", first: true, predicate: AXDataSourceComponent, descendants: true, static: true }, { propertyName: "rowTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "columns", predicate: AXGridDataColumn }], viewQueries: [{ propertyName: "selectBox", first: true, predicate: ["selectBox"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-select-box [rowInputTemplate]=\"rowTemplate\" [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [mode]=\"mode\" [(selectedItems)]=\"selectedItems\"\n (selectionChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"light blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box>\n\n\n<!-- <ax-select-box2 [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [selectionMode]=\"mode\" (onValueChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\"\n [(value)]=\"selectedItems\" selectionDataMode=\"item\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"primary blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box2> -->\n\n\n<!-- <div class=\"ax-lov-box\" [style.display]=\"mode=='hidden' ? 'none':'unset'\">\n <div class=\"ax-field-set\">\n <div class=\"ax-field-set-wrapper\" [ngClass]=\"{ 'no-label': !label }\">\n <fieldset [ngClass]=\"{ 'input-focused': isFocused, 'input-error': errorText }\">\n <legend *ngIf=\"label\">\n {{ label }}\n </legend>\n </fieldset>\n <input type=\"text\" [(ngModel)]=\"text\" [placeholder]=\"placeholder\" (keyup)=\"handleKeyEvent($event)\"\n (blur)=\"handleBlurEvent($event)\" (focus)=\"handleFocusEvent($event)\" class=\"ax-text-box\" disabled />\n <div class=\"ax-field-set-button\">\n <button *ngIf=\"text && allowClear\" type=\"button\" class=\"btn btn-light\" (click)=\"clearText()\">\n <i class=\"far fa-times\"></i>\n </button>\n <button type=\"button\" class=\" btn btn-primary\" (click)=\"handleButtonClick($event)\">\n <i class=\"far fa-check-circle\"></i>\n </button>\n </div>\n </div>\n </div>\n <div class=\"validation-text\" *ngIf=\"errorText\">\n {{ errorText }}\n </div>\n\n</div> -->", dependencies: [{ kind: "component", type: i1$1.AXButtonComponent, selector: "ax-button", inputs: ["type", "icon", "submitBehavior", "cancelBehavior", "block", "loading", "selected"] }, { kind: "component", type: i1$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["showDropDownButton", "rowInputTemplate", "showCheckBox", "readonly", "rtl", "disabled", "placeholder", "size", "allowNull", "textAlign", "bufferSize", "remoteOperation", "fitParent", "dropdownWidth", "onDemandTranslate", "dataSource", "validation", "disabledCallback", "allowSearch", "textField", "valueField", "disabledField", "mode", "items", "selectedItems", "selectedValues"], outputs: ["dropdownToggle", "itemsChange", "onBlur", "onFocus", "selectionChanged", "selectedItemsChange", "selectedValuesChange"] }], encapsulation: i0.ViewEncapsulation.None });
|
1836
1899
|
}
|
1837
|
-
|
1838
|
-
AXLOVComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXLOVComponent, selector: "ax-lov", inputs: { validation: "validation", textField: "textField", allowSearch: "allowSearch", valueField: "valueField", hasChildField: "hasChildField", allowNull: "allowNull", popupSize: "popupSize", pagination: "pagination", selectedItems: "selectedItems", readonly: "readonly", disabled: "disabled", chipsWidth: "chipsWidth", size: "size", caption: "caption", mode: "mode", placeholder: "placeholder", rtl: "rtl" }, outputs: { onSelectionChange: "onSelectionChange" }, host: { styleAttribute: "width: 100%" }, providers: [{ provide: AXValidatableComponent, useExisting: AXLOVComponent }], queries: [{ propertyName: "_contentValidation", first: true, predicate: AXValidation, descendants: true, static: true }, { propertyName: "dataSource", first: true, predicate: AXDataSourceComponent, descendants: true, static: true }, { propertyName: "rowTemplate", first: true, predicate: ["itemTemplate"], descendants: true, static: true }, { propertyName: "columns", predicate: AXGridDataColumn }], viewQueries: [{ propertyName: "selectBox", first: true, predicate: ["selectBox"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ax-select-box [rowInputTemplate]=\"rowTemplate\" [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [mode]=\"mode\" [(selectedItems)]=\"selectedItems\"\n (selectionChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"light blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box>\n\n\n<!-- <ax-select-box2 [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [selectionMode]=\"mode\" (onValueChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\"\n [(value)]=\"selectedItems\" selectionDataMode=\"item\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"primary blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box2> -->\n\n\n<!-- <div class=\"ax-lov-box\" [style.display]=\"mode=='hidden' ? 'none':'unset'\">\n <div class=\"ax-field-set\">\n <div class=\"ax-field-set-wrapper\" [ngClass]=\"{ 'no-label': !label }\">\n <fieldset [ngClass]=\"{ 'input-focused': isFocused, 'input-error': errorText }\">\n <legend *ngIf=\"label\">\n {{ label }}\n </legend>\n </fieldset>\n <input type=\"text\" [(ngModel)]=\"text\" [placeholder]=\"placeholder\" (keyup)=\"handleKeyEvent($event)\"\n (blur)=\"handleBlurEvent($event)\" (focus)=\"handleFocusEvent($event)\" class=\"ax-text-box\" disabled />\n <div class=\"ax-field-set-button\">\n <button *ngIf=\"text && allowClear\" type=\"button\" class=\"btn btn-light\" (click)=\"clearText()\">\n <i class=\"far fa-times\"></i>\n </button>\n <button type=\"button\" class=\" btn btn-primary\" (click)=\"handleButtonClick($event)\">\n <i class=\"far fa-check-circle\"></i>\n </button>\n </div>\n </div>\n </div>\n <div class=\"validation-text\" *ngIf=\"errorText\">\n {{ errorText }}\n </div>\n\n</div> -->", components: [{ type: i1$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["showDropDownButton", "rowInputTemplate", "showCheckBox", "readonly", "rtl", "disabled", "placeholder", "size", "allowNull", "textAlign", "bufferSize", "remoteOperation", "fitParent", "dropdownWidth", "dataSource", "validation", "disabledCallback", "allowSearch", "textField", "valueField", "disabledField", "mode", "items", "selectedItems", "selectedValues"], outputs: ["dropdownToggle", "itemsChange", "onBlur", "onFocus", "selectionChanged", "selectedItemsChange", "selectedValuesChange"] }, { type: i1$1.AXButtonComponent, selector: "ax-button", inputs: ["type", "icon", "submitBehavior", "cancelBehavior", "block", "loading", "selected"] }], encapsulation: i0.ViewEncapsulation.None });
|
1839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVComponent, decorators: [{
|
1900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXLOVComponent, decorators: [{
|
1840
1901
|
type: Component,
|
1841
1902
|
args: [{ selector: 'ax-lov', encapsulation: ViewEncapsulation.None, host: { style: 'width: 100%' }, providers: [{ provide: AXValidatableComponent, useExisting: AXLOVComponent }], template: "<ax-select-box [rowInputTemplate]=\"rowTemplate\" [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [mode]=\"mode\" [(selectedItems)]=\"selectedItems\"\n (selectionChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"light blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box>\n\n\n<!-- <ax-select-box2 [rtl]=\"rtl\" [allowSearch]=\"allowSearch\" #selectBox [showDropDownButton]=\"false\" [allowNull]=\"allowNull\"\n [remoteOperation]=\"true\" [placeholder]=\"placeholder\" [size]=\"size\" [textField]=\"textField\" [valueField]=\"valueField\"\n [disabled]=\"disabled\" [selectionMode]=\"mode\" (onValueChanged)=\"handleSelectChange($event)\" [dataSource]=\"dataSource\"\n [(value)]=\"selectedItems\" selectionDataMode=\"item\">\n <ng-container start>\n <ng-content select=\"[start]\">\n </ng-content>\n </ng-container>\n <ng-container end>\n <ax-button icon=\"far fa-bars icon\" [disabled]=\"disabled\" type=\"primary blank\" (click)=\"handleButtonClick()\" end\n [tabIndex]=\"-1\">\n </ax-button>\n <ng-content select=\"[end]\">\n </ng-content>\n </ng-container>\n</ax-select-box2> -->\n\n\n<!-- <div class=\"ax-lov-box\" [style.display]=\"mode=='hidden' ? 'none':'unset'\">\n <div class=\"ax-field-set\">\n <div class=\"ax-field-set-wrapper\" [ngClass]=\"{ 'no-label': !label }\">\n <fieldset [ngClass]=\"{ 'input-focused': isFocused, 'input-error': errorText }\">\n <legend *ngIf=\"label\">\n {{ label }}\n </legend>\n </fieldset>\n <input type=\"text\" [(ngModel)]=\"text\" [placeholder]=\"placeholder\" (keyup)=\"handleKeyEvent($event)\"\n (blur)=\"handleBlurEvent($event)\" (focus)=\"handleFocusEvent($event)\" class=\"ax-text-box\" disabled />\n <div class=\"ax-field-set-button\">\n <button *ngIf=\"text && allowClear\" type=\"button\" class=\"btn btn-light\" (click)=\"clearText()\">\n <i class=\"far fa-times\"></i>\n </button>\n <button type=\"button\" class=\" btn btn-primary\" (click)=\"handleButtonClick($event)\">\n <i class=\"far fa-check-circle\"></i>\n </button>\n </div>\n </div>\n </div>\n <div class=\"validation-text\" *ngIf=\"errorText\">\n {{ errorText }}\n </div>\n\n</div> -->" }]
|
1842
1903
|
}], ctorParameters: function () { return [{ type: i1$1.AXPopupService }, { type: i0.ElementRef }]; }, propDecorators: { _contentValidation: [{
|
@@ -1893,11 +1954,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
1893
1954
|
}] } });
|
1894
1955
|
|
1895
1956
|
class AXLOVModule {
|
1957
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXLOVModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1958
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXLOVModule, declarations: [AXLOVComponent, AXDataLovPopupComponent], imports: [CommonModule, FormsModule, AXDataGridModule, AXDataSourceModule, AXButtonModule, AXToolbarModule, AXSelectBoxModule, AXSearchBoxModule], exports: [AXLOVComponent, AXDataLovPopupComponent] });
|
1959
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXLOVModule, imports: [CommonModule, FormsModule, AXDataGridModule, AXDataSourceModule, AXButtonModule, AXToolbarModule, AXSelectBoxModule, AXSearchBoxModule] });
|
1896
1960
|
}
|
1897
|
-
|
1898
|
-
AXLOVModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVModule, declarations: [AXLOVComponent, AXDataLovPopupComponent], imports: [CommonModule, FormsModule, AXDataGridModule, AXDataSourceModule, AXButtonModule, AXToolbarModule, AXSelectBoxModule, AXSearchBoxModule], exports: [AXLOVComponent, AXDataLovPopupComponent] });
|
1899
|
-
AXLOVModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVModule, providers: [], imports: [[CommonModule, FormsModule, AXDataGridModule, AXDataSourceModule, AXButtonModule, AXToolbarModule, AXSelectBoxModule, AXSearchBoxModule]] });
|
1900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXLOVModule, decorators: [{
|
1961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXLOVModule, decorators: [{
|
1901
1962
|
type: NgModule,
|
1902
1963
|
args: [{
|
1903
1964
|
declarations: [AXLOVComponent, AXDataLovPopupComponent],
|