@acorex/data-grid 6.5.71 → 6.5.72

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/README.md +7 -2
  2. package/esm2022/acorex-data-grid.mjs +5 -0
  3. package/esm2022/index.mjs +18 -0
  4. package/esm2022/lib/data-grid/columns/check-column.component.mjs +109 -0
  5. package/esm2022/lib/data-grid/columns/column.component.mjs +168 -0
  6. package/esm2022/lib/data-grid/columns/command-column.component.mjs +115 -0
  7. package/esm2022/lib/data-grid/columns/date-column.component.mjs +115 -0
  8. package/esm2022/lib/data-grid/columns/row-number-column.component.mjs +38 -0
  9. package/esm2022/lib/data-grid/columns/selection-column.component.mjs +43 -0
  10. package/esm2022/lib/data-grid/columns/text-column.component.mjs +97 -0
  11. package/esm2022/lib/data-grid/datagrid.component.mjs +721 -0
  12. package/esm2022/lib/data-grid/datagrid.events.mjs +2 -0
  13. package/esm2022/lib/data-grid/datagrid.module.mjs +143 -0
  14. package/esm2022/lib/data-grid/filters/filter.component.mjs +39 -0
  15. package/esm2022/lib/data-grid/templates/cell-template.component.mjs +58 -0
  16. package/esm2022/lib/data-grid/templates/detail-template.component.mjs +51 -0
  17. package/esm2022/lib/data-grid/templates/row-template.component.mjs +48 -0
  18. package/esm2022/lib/data-lov/data-lov-popup/data-lov-popup.component.mjs +121 -0
  19. package/esm2022/lib/data-lov/data-lov.component.mjs +175 -0
  20. package/esm2022/lib/data-lov/data-lov.module.mjs +23 -0
  21. package/{fesm2020 → fesm2022}/acorex-data-grid.mjs +380 -319
  22. package/fesm2022/acorex-data-grid.mjs.map +1 -0
  23. package/lib/data-grid/columns/check-column.component.d.ts +4 -4
  24. package/lib/data-grid/columns/column.component.d.ts +1 -1
  25. package/lib/data-grid/columns/command-column.component.d.ts +3 -3
  26. package/lib/data-grid/columns/date-column.component.d.ts +2 -2
  27. package/lib/data-grid/columns/row-number-column.component.d.ts +1 -1
  28. package/lib/data-grid/columns/selection-column.component.d.ts +1 -1
  29. package/lib/data-grid/columns/text-column.component.d.ts +3 -3
  30. package/lib/data-grid/datagrid.component.d.ts +1 -1
  31. package/lib/data-grid/filters/filter.component.d.ts +1 -1
  32. package/lib/data-grid/templates/cell-template.component.d.ts +2 -2
  33. package/lib/data-grid/templates/detail-template.component.d.ts +2 -2
  34. package/lib/data-grid/templates/row-template.component.d.ts +2 -2
  35. package/lib/data-lov/data-lov-popup/data-lov-popup.component.d.ts +1 -1
  36. package/lib/data-lov/data-lov.component.d.ts +1 -1
  37. package/package.json +12 -21
  38. package/acorex-data-grid.d.ts +0 -5
  39. package/esm2020/acorex-data-grid.mjs +0 -5
  40. package/esm2020/lib/data-grid/columns/check-column.component.mjs +0 -117
  41. package/esm2020/lib/data-grid/columns/column.component.mjs +0 -164
  42. package/esm2020/lib/data-grid/columns/command-column.component.mjs +0 -117
  43. package/esm2020/lib/data-grid/columns/date-column.component.mjs +0 -111
  44. package/esm2020/lib/data-grid/columns/row-number-column.component.mjs +0 -37
  45. package/esm2020/lib/data-grid/columns/selection-column.component.mjs +0 -42
  46. package/esm2020/lib/data-grid/columns/text-column.component.mjs +0 -89
  47. package/esm2020/lib/data-grid/datagrid.component.mjs +0 -698
  48. package/esm2020/lib/data-grid/datagrid.events.mjs +0 -2
  49. package/esm2020/lib/data-grid/datagrid.module.mjs +0 -145
  50. package/esm2020/lib/data-grid/filters/filter.component.mjs +0 -39
  51. package/esm2020/lib/data-grid/templates/cell-template.component.mjs +0 -53
  52. package/esm2020/lib/data-grid/templates/detail-template.component.mjs +0 -46
  53. package/esm2020/lib/data-grid/templates/row-template.component.mjs +0 -43
  54. package/esm2020/lib/data-lov/data-lov-popup/data-lov-popup.component.mjs +0 -114
  55. package/esm2020/lib/data-lov/data-lov.component.mjs +0 -165
  56. package/esm2020/lib/data-lov/data-lov.module.mjs +0 -23
  57. package/esm2020/public-api.mjs +0 -18
  58. package/fesm2015/acorex-data-grid.mjs +0 -1915
  59. package/fesm2015/acorex-data-grid.mjs.map +0 -1
  60. package/fesm2020/acorex-data-grid.mjs.map +0 -1
  61. /package/{public-api.d.ts → index.d.ts} +0 -0
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQuZXZlbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kYXRhLWdyaWQvc3JjL2xpYi9kYXRhLWdyaWQvZGF0YWdyaWQuZXZlbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEFYR3JpZFJvd0V2ZW50IHtcbiAgICBkYXRhOiBhbnk7XG4gICAgcm93SW5kZXg6IG51bWJlcjtcbiAgICByb3dMZXZlbDogbnVtYmVyO1xufVxuZXhwb3J0IGludGVyZmFjZSBBWEdyaWRSb3dDb21tYW5kRXZlbnQgZXh0ZW5kcyBBWEdyaWRSb3dFdmVudCB7XG4gICAgY29tbWFuZDogc3RyaW5nO1xuICAgIGh0bWxFdmVudDogVUlFdmVudFxufVxuZXhwb3J0IGludGVyZmFjZSBBWEdyaWRDZWxsRXZlbnQgZXh0ZW5kcyBBWEdyaWRSb3dFdmVudCB7XG4gICAgY29sdW1uOiBhbnk7XG4gICAgdmFsdWU6IGFueTtcbn1cblxuXG5leHBvcnQgaW50ZXJmYWNlIEFYR3JpZFJvd1BhcmFtcyBleHRlbmRzIEFYR3JpZFJvd0V2ZW50IHtcbn1cbmV4cG9ydCBpbnRlcmZhY2UgQVhHcmlkQ2VsbFBhcmFtcyBleHRlbmRzIEFYR3JpZENlbGxFdmVudCB7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgQVhHcmlkUm93U2VsZWN0aW9uRXZlbnQge1xuICAgIGl0ZW1zOiBBWEdyaWRSb3dFdmVudFtdO1xufVxuIl19
@@ -0,0 +1,143 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { AXDataGridComponent } from './datagrid.component';
4
+ import { FormsModule } from '@angular/forms';
5
+ import { AgGridModule } from 'ag-grid-angular';
6
+ import { AXDataSourceModule } from '@acorex/components';
7
+ import { AXGridTextColumn, TextFilterRenderer } from './columns/text-column.component';
8
+ import { AXGridCheckColumn, BooleanRenderer, BooleanFilterRenderer } from './columns/check-column.component';
9
+ import { AXCoreModule } from '@acorex/core';
10
+ import { AXGridSelectionColumn } from './columns/selection-column.component';
11
+ import { CommandRenderer, AXGridCommandColumn } from './columns/command-column.component';
12
+ import { AXDataGridFilterComponent } from './filters/filter.component';
13
+ import { AXGridDateColumn, AXDatePickerFilterComponent } from './columns/date-column.component';
14
+ import { AXDataGridRowTemplateComponent, AXDataGridRowTemplateRenderer } from './templates/row-template.component';
15
+ import { AXDataGridCellTemplateComponent, AXDataGridCellTemplateRenderer } from './templates/cell-template.component';
16
+ import { AXDataGridDetailTemplateComponent, AXDataGridDetailTemplateRenderer } from './templates/detail-template.component';
17
+ import { AXTextBoxModule } from '@acorex/components';
18
+ import { AXCheckBoxModule } from '@acorex/components';
19
+ import { AXSelectBoxModule } from '@acorex/components';
20
+ import { AXButtonModule } from '@acorex/components';
21
+ import { AXDatePickerModule } from '@acorex/components';
22
+ import 'ag-grid-enterprise';
23
+ import { AXGridRowNumberColumn } from './columns/row-number-column.component';
24
+ import * as i0 from "@angular/core";
25
+ export class AXDataGridModule {
26
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridModule, declarations: [AXDataGridComponent,
28
+ AXGridTextColumn,
29
+ AXGridCheckColumn,
30
+ AXGridSelectionColumn,
31
+ AXGridDateColumn,
32
+ AXGridRowNumberColumn,
33
+ AXGridCommandColumn,
34
+ BooleanRenderer,
35
+ BooleanFilterRenderer,
36
+ TextFilterRenderer,
37
+ AXDataGridFilterComponent,
38
+ AXDataGridRowTemplateComponent,
39
+ AXDataGridDetailTemplateComponent,
40
+ AXDataGridRowTemplateRenderer,
41
+ AXDataGridDetailTemplateRenderer,
42
+ AXDataGridCellTemplateComponent,
43
+ AXDataGridCellTemplateRenderer,
44
+ AXDatePickerFilterComponent,
45
+ CommandRenderer], imports: [CommonModule,
46
+ AXCoreModule,
47
+ FormsModule,
48
+ //AgGridModule,
49
+ AXTextBoxModule,
50
+ AXCheckBoxModule,
51
+ AXSelectBoxModule,
52
+ AXDataSourceModule,
53
+ AXButtonModule,
54
+ AXDatePickerModule,
55
+ AgGridModule], exports: [AXDataGridComponent,
56
+ AXDataGridFilterComponent,
57
+ AXDataGridRowTemplateComponent,
58
+ AXDataGridDetailTemplateComponent,
59
+ AXDataGridRowTemplateRenderer,
60
+ AXDataGridDetailTemplateRenderer,
61
+ AXDataGridCellTemplateComponent,
62
+ AXDataGridCellTemplateRenderer,
63
+ AXGridTextColumn,
64
+ AXGridRowNumberColumn,
65
+ AXGridCheckColumn,
66
+ AXGridDateColumn,
67
+ AXGridSelectionColumn,
68
+ AXGridCommandColumn,
69
+ BooleanRenderer,
70
+ BooleanFilterRenderer,
71
+ CommandRenderer] });
72
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridModule, imports: [CommonModule,
73
+ AXCoreModule,
74
+ FormsModule,
75
+ //AgGridModule,
76
+ AXTextBoxModule,
77
+ AXCheckBoxModule,
78
+ AXSelectBoxModule,
79
+ AXDataSourceModule,
80
+ AXButtonModule,
81
+ AXDatePickerModule,
82
+ AgGridModule] });
83
+ }
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridModule, decorators: [{
85
+ type: NgModule,
86
+ args: [{
87
+ declarations: [
88
+ AXDataGridComponent,
89
+ AXGridTextColumn,
90
+ AXGridCheckColumn,
91
+ AXGridSelectionColumn,
92
+ AXGridDateColumn,
93
+ AXGridRowNumberColumn,
94
+ AXGridCommandColumn,
95
+ BooleanRenderer,
96
+ BooleanFilterRenderer,
97
+ TextFilterRenderer,
98
+ AXDataGridFilterComponent,
99
+ AXDataGridRowTemplateComponent,
100
+ AXDataGridDetailTemplateComponent,
101
+ AXDataGridRowTemplateRenderer,
102
+ AXDataGridDetailTemplateRenderer,
103
+ AXDataGridCellTemplateComponent,
104
+ AXDataGridCellTemplateRenderer,
105
+ AXDatePickerFilterComponent,
106
+ CommandRenderer
107
+ ],
108
+ imports: [
109
+ CommonModule,
110
+ AXCoreModule,
111
+ FormsModule,
112
+ //AgGridModule,
113
+ AXTextBoxModule,
114
+ AXCheckBoxModule,
115
+ AXSelectBoxModule,
116
+ AXDataSourceModule,
117
+ AXButtonModule,
118
+ AXDatePickerModule,
119
+ AgGridModule
120
+ ],
121
+ exports: [
122
+ AXDataGridComponent,
123
+ AXDataGridFilterComponent,
124
+ AXDataGridRowTemplateComponent,
125
+ AXDataGridDetailTemplateComponent,
126
+ AXDataGridRowTemplateRenderer,
127
+ AXDataGridDetailTemplateRenderer,
128
+ AXDataGridCellTemplateComponent,
129
+ AXDataGridCellTemplateRenderer,
130
+ AXGridTextColumn,
131
+ AXGridRowNumberColumn,
132
+ AXGridCheckColumn,
133
+ AXGridDateColumn,
134
+ AXGridSelectionColumn,
135
+ AXGridCommandColumn,
136
+ BooleanRenderer,
137
+ BooleanFilterRenderer,
138
+ CommandRenderer
139
+ ],
140
+ providers: []
141
+ }]
142
+ }] });
143
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kYXRhLWdyaWQvc3JjL2xpYi9kYXRhLWdyaWQvZGF0YWd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sXG4gICAgICAgIEFYRGF0YUdyaWRDZWxsVGVtcGxhdGVDb21wb25lbnQsXG4gICAgICAgIEFYRGF0YUdyaWRDZWxsVGVtcGxhdGVSZW5kZXJlcixcbiAgICAgICAgQVhHcmlkVGV4dENvbHVtbixcbiAgICAgICAgQVhHcmlkUm93TnVtYmVyQ29sdW1uLFxuICAgICAgICBBWEdyaWRDaGVja0NvbHVtbixcbiAgICAgICAgQVhHcmlkRGF0ZUNvbHVtbixcbiAgICAgICAgQVhHcmlkU2VsZWN0aW9uQ29sdW1uLFxuICAgICAgICBBWEdyaWRDb21tYW5kQ29sdW1uLFxuICAgICAgICBCb29sZWFuUmVuZGVyZXIsXG4gICAgICAgIEJvb2xlYW5GaWx0ZXJSZW5kZXJlcixcbiAgICAgICAgQ29tbWFuZFJlbmRlcmVyXG4gICAgXSxcbiAgICBwcm92aWRlcnM6IFtdXG59KVxuZXhwb3J0IGNsYXNzIEFYRGF0YUdyaWRNb2R1bGUgeyB9XG4iXX0=
@@ -0,0 +1,39 @@
1
+ import { Component, ViewEncapsulation } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class AXDataGridFilterComponent {
4
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridFilterComponent, selector: "ax-data-grid-filter", ngImport: i0, template: `
6
+ <div class='ax-grid-filter-container'>
7
+ <ng-content></ng-content>
8
+ <div class='btn-group' role='group'>
9
+ <button type='button' class='btn btn-primary btn-sm'>
10
+ <i class='fas fa-filter'></i>
11
+ </button>
12
+ <button type='button' class='btn btn-danger btn-sm'>
13
+ <i class='fas fa-trash-alt'></i>
14
+ </button>
15
+ </div>
16
+ </div>
17
+ `, isInline: true, encapsulation: i0.ViewEncapsulation.None });
18
+ }
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridFilterComponent, decorators: [{
20
+ type: Component,
21
+ args: [{
22
+ selector: 'ax-data-grid-filter',
23
+ template: `
24
+ <div class='ax-grid-filter-container'>
25
+ <ng-content></ng-content>
26
+ <div class='btn-group' role='group'>
27
+ <button type='button' class='btn btn-primary btn-sm'>
28
+ <i class='fas fa-filter'></i>
29
+ </button>
30
+ <button type='button' class='btn btn-danger btn-sm'>
31
+ <i class='fas fa-trash-alt'></i>
32
+ </button>
33
+ </div>
34
+ </div>
35
+ `,
36
+ encapsulation: ViewEncapsulation.None
37
+ }]
38
+ }] });
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGF0YS1ncmlkL3NyYy9saWIvZGF0YS1ncmlkL2ZpbHRlcnMvZmlsdGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDOztBQW9CN0QsTUFBTSxPQUFPLHlCQUF5Qjt3R0FBekIseUJBQXlCOzRGQUF6Qix5QkFBeUIsMkRBZjFCOzs7Ozs7Ozs7Ozs7R0FZVDs7NEZBR1UseUJBQXlCO2tCQWpCckMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUscUJBQXFCO29CQUMvQixRQUFRLEVBQUU7Ozs7Ozs7Ozs7OztHQVlUO29CQUNELGFBQWEsRUFBRSxpQkFBaUIsQ0FBQyxJQUFJO2lCQUN0QyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgVmlld0VuY2Fwc3VsYXRpb24gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdheC1kYXRhLWdyaWQtZmlsdGVyJyxcbiAgdGVtcGxhdGU6IGBcbiAgICA8ZGl2IGNsYXNzPSdheC1ncmlkLWZpbHRlci1jb250YWluZXInPlxuICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgICAgPGRpdiBjbGFzcz0nYnRuLWdyb3VwJyByb2xlPSdncm91cCc+XG4gICAgICAgIDxidXR0b24gdHlwZT0nYnV0dG9uJyBjbGFzcz0nYnRuIGJ0bi1wcmltYXJ5IGJ0bi1zbSc+XG4gICAgICAgICAgPGkgY2xhc3M9J2ZhcyBmYS1maWx0ZXInPjwvaT5cbiAgICAgICAgPC9idXR0b24+XG4gICAgICAgIDxidXR0b24gdHlwZT0nYnV0dG9uJyBjbGFzcz0nYnRuIGJ0bi1kYW5nZXIgYnRuLXNtJz5cbiAgICAgICAgICA8aSBjbGFzcz0nZmFzIGZhLXRyYXNoLWFsdCc+PC9pPlxuICAgICAgICA8L2J1dHRvbj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICBgLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lXG59KVxuZXhwb3J0IGNsYXNzIEFYRGF0YUdyaWRGaWx0ZXJDb21wb25lbnQge31cbiJdfQ==
@@ -0,0 +1,58 @@
1
+ import { Component, ContentChild, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export class AXDataGridCellTemplateComponent {
5
+ templateRef;
6
+ renderer;
7
+ params;
8
+ constructor() {
9
+ this.renderer = AXDataGridCellTemplateRenderer;
10
+ }
11
+ ngOnInit() {
12
+ this.params = {
13
+ templateRef: this.templateRef
14
+ };
15
+ }
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridCellTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ 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>
18
+ `, isInline: true });
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridCellTemplateComponent, decorators: [{
21
+ type: Component,
22
+ args: [{
23
+ selector: 'ax-cell-template',
24
+ template: `<ng-content></ng-content>
25
+ `
26
+ }]
27
+ }], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
28
+ type: ContentChild,
29
+ args: [TemplateRef, { static: true }]
30
+ }] } });
31
+ export class AXDataGridCellTemplateRenderer {
32
+ rowData;
33
+ templateRef;
34
+ constructor() { }
35
+ agInit(params) {
36
+ this.rowData = params.data;
37
+ this.templateRef = params.templateRef;
38
+ }
39
+ refresh(params) {
40
+ this.rowData = params.data;
41
+ return true;
42
+ }
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridCellTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
44
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXDataGridCellTemplateRenderer, selector: "ng-component", ngImport: i0, template: `
45
+ <ng-container *ngTemplateOutlet='templateRef; context: { $implicit: rowData }'>
46
+ </ng-container>
47
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
48
+ }
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridCellTemplateRenderer, decorators: [{
50
+ type: Component,
51
+ args: [{
52
+ template: `
53
+ <ng-container *ngTemplateOutlet='templateRef; context: { $implicit: rowData }'>
54
+ </ng-container>
55
+ `
56
+ }]
57
+ }], ctorParameters: function () { return []; } });
58
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VsbC10ZW1wbGF0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2RhdGEtZ3JpZC9zcmMvbGliL2RhdGEtZ3JpZC90ZW1wbGF0ZXMvY2VsbC10ZW1wbGF0ZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUEyQixNQUFNLGVBQWUsQ0FBQzs7O0FBVTlGLE1BQU0sT0FBTywrQkFBK0I7SUFDSyxXQUFXLENBQW1CO0lBQzNFLFFBQVEsQ0FBTTtJQUNkLE1BQU0sQ0FBTTtJQUNaO1FBQ0ksSUFBSSxDQUFDLFFBQVEsR0FBRyw4QkFBOEIsQ0FBQztJQUNuRCxDQUFDO0lBQ0QsUUFBUTtRQUNKLElBQUksQ0FBQyxNQUFNLEdBQUc7WUFDVixXQUFXLEVBQUUsSUFBSSxDQUFDLFdBQVc7U0FDaEMsQ0FBQTtJQUNMLENBQUM7d0dBWFEsK0JBQStCOzRGQUEvQiwrQkFBK0IsaUdBQzFCLFdBQVcsOERBTGY7SUFDVjs7NEZBR1MsK0JBQStCO2tCQU4zQyxTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxrQkFBa0I7b0JBQzVCLFFBQVEsRUFBRTtJQUNWO2lCQUNIOzBFQUdnRCxXQUFXO3NCQUF2RCxZQUFZO3VCQUFDLFdBQVcsRUFBRSxFQUFFLE1BQU0sRUFBRSxJQUFJLEVBQUU7O0FBb0IvQyxNQUFNLE9BQU8sOEJB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IHtcbiAgICAgICAgdGhpcy5yb3dEYXRhID0gcGFyYW1zLmRhdGE7XG4gICAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cbn0iXX0=
@@ -0,0 +1,51 @@
1
+ import { Component, ContentChild, TemplateRef, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export class AXDataGridDetailTemplateComponent {
5
+ templateRef;
6
+ renderer;
7
+ params;
8
+ constructor() {
9
+ this.renderer = AXDataGridDetailTemplateRenderer;
10
+ }
11
+ ngOnInit() {
12
+ this.params = {
13
+ templateRef: this.templateRef
14
+ };
15
+ }
16
+ height = 100;
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridDetailTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
+ 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 });
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridDetailTemplateComponent, decorators: [{
21
+ type: Component,
22
+ args: [{
23
+ selector: 'ax-grid-detail-template',
24
+ template: `<ng-content></ng-content>`
25
+ }]
26
+ }], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
27
+ type: ContentChild,
28
+ args: [TemplateRef, { static: true }]
29
+ }], height: [{
30
+ type: Input
31
+ }] } });
32
+ export class AXDataGridDetailTemplateRenderer {
33
+ refresh(params) {
34
+ return false;
35
+ }
36
+ templateRef;
37
+ data;
38
+ agInit(params) {
39
+ this.data = params.data;
40
+ this.templateRef = params.templateRef;
41
+ }
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridDetailTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
43
+ 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"] }] });
44
+ }
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridDetailTemplateRenderer, decorators: [{
46
+ type: Component,
47
+ args: [{
48
+ template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
49
+ }]
50
+ }] });
51
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlsLXRlbXBsYXRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGF0YS1ncmlkL3NyYy9saWIvZGF0YS1ncmlkL3RlbXBsYXRlcy9kZXRhaWwtdGVtcGxhdGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDOzs7QUFRL0YsTUFBTSxPQUFPLGlDQUFpQztJQUNHLFdBQVcsQ0FBbUI7SUFDM0UsUUFBUSxDQUFNO0lBQ2QsTUFBTSxDQUFNO0lBQ1o7UUFDSSxJQUFJLENBQUMsUUFBUSxHQUFHLGdDQUFnQyxDQUFDO0lBQ3JELENBQUM7SUFDRCxRQUFRO1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vb2xlYW4ge1xuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgdGVtcGxhdGVSZWY6IFRlbXBsYXRlUmVmPGFueT47XG4gICAgZGF0YTogYW55O1xuXG4gICAgYWdJbml0KHBhcmFtczogYW55KTogdm9pZCB7XG4gICAgICAgIHRoaXMuZGF0YSA9IHBhcmFtcy5kYXRhO1xuICAgICAgICB0aGlzLnRlbXBsYXRlUmVmID0gcGFyYW1zLnRlbXBsYXRlUmVmO1xuICAgIH1cbn0iXX0=
@@ -0,0 +1,48 @@
1
+ import { Component, ContentChild, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export class AXDataGridRowTemplateComponent {
5
+ templateRef;
6
+ renderer;
7
+ params;
8
+ constructor() {
9
+ this.renderer = AXDataGridRowTemplateRenderer;
10
+ }
11
+ ngOnInit() {
12
+ this.params = {
13
+ templateRef: this.templateRef
14
+ };
15
+ }
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridRowTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ 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 });
18
+ }
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridRowTemplateComponent, decorators: [{
20
+ type: Component,
21
+ args: [{
22
+ selector: 'ax-row-template',
23
+ template: `<ng-content></ng-content>`
24
+ }]
25
+ }], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
26
+ type: ContentChild,
27
+ args: [TemplateRef, { static: true }]
28
+ }] } });
29
+ export class AXDataGridRowTemplateRenderer {
30
+ templateRef;
31
+ data;
32
+ refresh(params) {
33
+ return false;
34
+ }
35
+ agInit(params) {
36
+ this.data = params.data.callRecords;
37
+ this.templateRef = params.templateRef;
38
+ }
39
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridRowTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
40
+ 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"] }] });
41
+ }
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataGridRowTemplateRenderer, decorators: [{
43
+ type: Component,
44
+ args: [{
45
+ template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
46
+ }]
47
+ }] });
48
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm93LXRlbXBsYXRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGF0YS1ncmlkL3NyYy9saWIvZGF0YS1ncmlkL3RlbXBsYXRlcy9yb3ctdGVtcGxhdGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBUyxNQUFNLGVBQWUsQ0FBQzs7O0FBUTVFLE1BQU0sT0FBTyw4QkFBOEI7SUFDTSxXQUFXLENBQW1CO0lBQzNFLFFBQVEsQ0FBTTtJQUN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kYXRhOiBhbnk7XG5cbiAgICByZWZyZXNoKHBhcmFtczogYW55KTogYm9vbGVhbiB7XG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG5cbiAgICBhZ0luaXQocGFyYW1zOiBhbnkpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5kYXRhID0gcGFyYW1zLmRhdGEuY2FsbFJlY29yZHM7XG4gICAgICAgIHRoaXMudGVtcGxhdGVSZWYgPSBwYXJhbXMudGVtcGxhdGVSZWY7XG4gICAgfVxufSJdfQ==
@@ -0,0 +1,121 @@
1
+ import { Component, ViewChild, ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import { AXDataGridComponent } from '../../data-grid/datagrid.component';
3
+ import { AXTranslator, AXConfig } from '@acorex/core';
4
+ import { AXToolbarSearchComponent, AXBasePopupPageComponent } from '@acorex/components';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "../../data-grid/datagrid.component";
8
+ import * as i3 from "../../data-grid/columns/selection-column.component";
9
+ import * as i4 from "@acorex/components";
10
+ export class AXDataLovPopupComponent extends AXBasePopupPageComponent {
11
+ cdr;
12
+ ref;
13
+ grid;
14
+ searchBox;
15
+ columns = [];
16
+ selectedItems = [];
17
+ keyField = '';
18
+ allowNull = true;
19
+ hasChildField;
20
+ rtl = AXConfig.get('layout.rtl');
21
+ selectedRows = [];
22
+ pagination = true;
23
+ constructor(cdr, ref) {
24
+ super();
25
+ this.cdr = cdr;
26
+ this.ref = ref;
27
+ }
28
+ dataSource;
29
+ selectionMode;
30
+ ngOnInit() {
31
+ if (this.rtl == null) {
32
+ this.rtl = window.getComputedStyle(this.ref.nativeElement, null).getPropertyValue('direction') === 'rtl';
33
+ }
34
+ }
35
+ onDoneClick() {
36
+ if (this.selectedItems) {
37
+ this.close(this.selectedItems);
38
+ }
39
+ else {
40
+ this.close();
41
+ }
42
+ }
43
+ rowDoubleClicked(e) {
44
+ if (this.selectionMode == 'single') {
45
+ this.selectedItems = [];
46
+ }
47
+ this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.data[this.keyField]);
48
+ this.selectedItems.push(e.data.data);
49
+ this.onDoneClick();
50
+ }
51
+ onCancelClick() {
52
+ this.close();
53
+ }
54
+ rowSelectionChange(e) {
55
+ if (e.data.node.selected == true) {
56
+ this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.node.data[this.keyField]);
57
+ this.selectedItems.push(e.data.node.data);
58
+ }
59
+ else {
60
+ if (this.allowNull == true || (this.allowNull == false && this.selectedItems.length > 1)) {
61
+ this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.node.data[this.keyField]);
62
+ }
63
+ }
64
+ }
65
+ ngAfterViewInit() {
66
+ this.selectedItems.forEach((ele) => {
67
+ this.selectedRows.push(ele);
68
+ });
69
+ this.searchBox.focus();
70
+ if (this.dataSource.onDataReceived) {
71
+ this.dataSource.onDataReceived.subscribe((arg) => {
72
+ this.cdr.markForCheck();
73
+ this.cdr.detectChanges();
74
+ });
75
+ }
76
+ }
77
+ // onValueSearchChanged(e) {
78
+ // const params: AXDataSourceReadParams = {}
79
+ // params.searchText = e.value;
80
+ // // params.take = 100;
81
+ // // params.skip = 0
82
+ // this.dataSource.fetch(params);
83
+ // }
84
+ getFooterButtons() {
85
+ return [
86
+ {
87
+ text: AXTranslator.get('common.confirm'),
88
+ name: 'confirm',
89
+ style: 'ax primary',
90
+ icon: 'far fa-check-circle'
91
+ },
92
+ {
93
+ text: AXTranslator.get('common.cancel'),
94
+ name: 'cancel',
95
+ style: 'ax light',
96
+ icon: 'far fa-times'
97
+ }
98
+ ];
99
+ }
100
+ onFooterButtonClick(e) {
101
+ if (e.name === 'confirm') {
102
+ this.onDoneClick();
103
+ }
104
+ if (e.name === 'cancel') {
105
+ this.onCancelClick();
106
+ }
107
+ }
108
+ 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 });
109
+ 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: i2.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: i3.AXGridSelectionColumn, selector: "ax-selection-column", inputs: ["condition", "pinned", "width"] }, { kind: "component", type: i4.AXToolbarComponent, selector: "ax-toolbar" }, { kind: "component", type: i4.AXToolbarSearchComponent, selector: "ax-toolbar-search", inputs: ["text"], outputs: ["onValueChanged"] }] });
110
+ }
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXDataLovPopupComponent, decorators: [{
112
+ type: Component,
113
+ 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>" }]
114
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { grid: [{
115
+ type: ViewChild,
116
+ args: ['grid', { static: true }]
117
+ }], searchBox: [{
118
+ type: ViewChild,
119
+ args: ['searchBox']
120
+ }] } });
121
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1sb3YtcG9wdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9kY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