@acorex/data-grid 3.0.65 → 4.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/acorex-data-grid.d.ts +1 -0
  2. package/esm2020/acorex-data-grid.mjs +5 -0
  3. package/esm2020/lib/data-grid/columns/check-column.component.mjs +117 -0
  4. package/esm2020/lib/data-grid/columns/column.component.mjs +164 -0
  5. package/{esm2015/lib/data-grid/columns/command-column.component.js → esm2020/lib/data-grid/columns/command-column.component.mjs} +46 -35
  6. package/esm2020/lib/data-grid/columns/date-column.component.mjs +112 -0
  7. package/esm2020/lib/data-grid/columns/row-number-column.component.mjs +37 -0
  8. package/esm2020/lib/data-grid/columns/selection-column.component.mjs +42 -0
  9. package/esm2020/lib/data-grid/columns/text-column.component.mjs +89 -0
  10. package/esm2020/lib/data-grid/datagrid.component.mjs +658 -0
  11. package/esm2020/lib/data-grid/datagrid.events.mjs +2 -0
  12. package/esm2020/lib/data-grid/datagrid.module.mjs +145 -0
  13. package/esm2020/lib/data-grid/filters/filter.component.mjs +39 -0
  14. package/esm2020/lib/data-grid/templates/cell-template.component.mjs +53 -0
  15. package/esm2020/lib/data-grid/templates/detail-template.component.mjs +46 -0
  16. package/esm2020/lib/data-grid/templates/row-template.component.mjs +43 -0
  17. package/esm2020/lib/data-lov/data-lov-popup/data-lov-popup.component.mjs +118 -0
  18. package/esm2020/lib/data-lov/data-lov.component.mjs +163 -0
  19. package/esm2020/lib/data-lov/data-lov.module.mjs +23 -0
  20. package/esm2020/public-api.mjs +18 -0
  21. package/fesm2015/acorex-data-grid.mjs +1875 -0
  22. package/fesm2015/acorex-data-grid.mjs.map +1 -0
  23. package/fesm2020/acorex-data-grid.mjs +1875 -0
  24. package/fesm2020/acorex-data-grid.mjs.map +1 -0
  25. package/lib/data-grid/columns/check-column.component.d.ts +7 -0
  26. package/lib/data-grid/columns/column.component.d.ts +3 -0
  27. package/lib/data-grid/columns/command-column.component.d.ts +5 -0
  28. package/lib/data-grid/columns/date-column.component.d.ts +5 -0
  29. package/lib/data-grid/columns/row-number-column.component.d.ts +3 -0
  30. package/lib/data-grid/columns/selection-column.component.d.ts +3 -0
  31. package/lib/data-grid/columns/text-column.component.d.ts +5 -0
  32. package/lib/data-grid/datagrid.component.d.ts +3 -0
  33. package/lib/data-grid/datagrid.module.d.ts +20 -0
  34. package/lib/data-grid/filters/filter.component.d.ts +3 -0
  35. package/lib/data-grid/templates/cell-template.component.d.ts +5 -0
  36. package/lib/data-grid/templates/detail-template.component.d.ts +5 -0
  37. package/lib/data-grid/templates/row-template.component.d.ts +5 -0
  38. package/lib/data-lov/data-lov-popup/data-lov-popup.component.d.ts +3 -0
  39. package/lib/data-lov/data-lov.component.d.ts +3 -0
  40. package/lib/data-lov/data-lov.module.d.ts +10 -0
  41. package/package.json +23 -13
  42. package/acorex-data-grid.metadata.json +0 -1
  43. package/bundles/acorex-data-grid.umd.js +0 -2261
  44. package/bundles/acorex-data-grid.umd.js.map +0 -1
  45. package/bundles/acorex-data-grid.umd.min.js +0 -16
  46. package/bundles/acorex-data-grid.umd.min.js.map +0 -1
  47. package/esm2015/acorex-data-grid.js +0 -5
  48. package/esm2015/lib/data-grid/columns/check-column.component.js +0 -104
  49. package/esm2015/lib/data-grid/columns/column.component.js +0 -204
  50. package/esm2015/lib/data-grid/columns/date-column.component.js +0 -114
  51. package/esm2015/lib/data-grid/columns/row-number-column.component.js +0 -39
  52. package/esm2015/lib/data-grid/columns/selection-column.component.js +0 -48
  53. package/esm2015/lib/data-grid/columns/text-column.component.js +0 -81
  54. package/esm2015/lib/data-grid/datagrid.component.js +0 -734
  55. package/esm2015/lib/data-grid/datagrid.events.js +0 -1
  56. package/esm2015/lib/data-grid/datagrid.module.js +0 -98
  57. package/esm2015/lib/data-grid/filters/filter.component.js +0 -25
  58. package/esm2015/lib/data-grid/templates/cell-template.component.js +0 -47
  59. package/esm2015/lib/data-grid/templates/detail-template.component.js +0 -45
  60. package/esm2015/lib/data-grid/templates/row-template.component.js +0 -40
  61. package/esm2015/lib/data-lov/data-lov-popup/data-lov-popup.component.js +0 -121
  62. package/esm2015/lib/data-lov/data-lov.component.js +0 -212
  63. package/esm2015/lib/data-lov/data-lov.module.js +0 -21
  64. package/esm2015/public-api.js +0 -17
  65. package/esm5/acorex-data-grid.js +0 -5
  66. package/esm5/lib/data-grid/columns/check-column.component.js +0 -102
  67. package/esm5/lib/data-grid/columns/column.component.js +0 -206
  68. package/esm5/lib/data-grid/columns/command-column.component.js +0 -98
  69. package/esm5/lib/data-grid/columns/date-column.component.js +0 -119
  70. package/esm5/lib/data-grid/columns/row-number-column.component.js +0 -42
  71. package/esm5/lib/data-grid/columns/selection-column.component.js +0 -52
  72. package/esm5/lib/data-grid/columns/text-column.component.js +0 -81
  73. package/esm5/lib/data-grid/datagrid.component.js +0 -792
  74. package/esm5/lib/data-grid/datagrid.events.js +0 -1
  75. package/esm5/lib/data-grid/datagrid.module.js +0 -101
  76. package/esm5/lib/data-grid/filters/filter.component.js +0 -16
  77. package/esm5/lib/data-grid/templates/cell-template.component.js +0 -46
  78. package/esm5/lib/data-grid/templates/detail-template.component.js +0 -49
  79. package/esm5/lib/data-grid/templates/row-template.component.js +0 -44
  80. package/esm5/lib/data-lov/data-lov-popup/data-lov-popup.component.js +0 -127
  81. package/esm5/lib/data-lov/data-lov.component.js +0 -222
  82. package/esm5/lib/data-lov/data-lov.module.js +0 -24
  83. package/esm5/public-api.js +0 -17
  84. package/fesm2015/acorex-data-grid.js +0 -1939
  85. package/fesm2015/acorex-data-grid.js.map +0 -1
  86. package/fesm5/acorex-data-grid.js +0 -2017
  87. package/fesm5/acorex-data-grid.js.map +0 -1
@@ -1 +0,0 @@
1
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQuZXZlbnRzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFjb3JleC9kYXRhLWdyaWQvIiwic291cmNlcyI6WyJsaWIvZGF0YS1ncmlkL2RhdGFncmlkLmV2ZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBBWEdyaWRSb3dFdmVudCB7XHJcbiAgICBkYXRhOiBhbnk7XHJcbiAgICByb3dJbmRleDogbnVtYmVyO1xyXG4gICAgcm93TGV2ZWw6IG51bWJlcjtcclxufVxyXG5leHBvcnQgaW50ZXJmYWNlIEFYR3JpZFJvd0NvbW1hbmRFdmVudCBleHRlbmRzIEFYR3JpZFJvd0V2ZW50IHtcclxuICAgIGNvbW1hbmQ6IHN0cmluZztcclxuICAgIGh0bWxFdmVudDpVSUV2ZW50XHJcbn1cclxuZXhwb3J0IGludGVyZmFjZSBBWEdyaWRDZWxsRXZlbnQgZXh0ZW5kcyBBWEdyaWRSb3dFdmVudCB7XHJcbiAgICBjb2x1bW46IGFueTtcclxuICAgIHZhbHVlOiBhbnk7XHJcbn1cclxuXHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEFYR3JpZFJvd1BhcmFtcyBleHRlbmRzIEFYR3JpZFJvd0V2ZW50IHtcclxufVxyXG5leHBvcnQgaW50ZXJmYWNlIEFYR3JpZENlbGxQYXJhbXMgZXh0ZW5kcyBBWEdyaWRDZWxsRXZlbnQge1xyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEFYR3JpZFJvd1NlbGVjdGlvbkV2ZW50IHtcclxuICAgIGl0ZW1zOiBBWEdyaWRSb3dFdmVudFtdO1xyXG59XHJcbiJdfQ==
@@ -1,98 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
- import { AXDataGridComponent } from './datagrid.component';
5
- import { FormsModule } from '@angular/forms';
6
- import { AgGridModule } from 'ag-grid-angular';
7
- import { AXDataSourceModule } from '@acorex/components';
8
- import { AXGridTextColumn, TextFilterRenderer } from './columns/text-column.component';
9
- import { AXGridCheckColumn, BooleanRenderer, BooleanFilterRenderer } from './columns/check-column.component';
10
- import { AXCoreModule } from '@acorex/core';
11
- import { AXGridSelectionColumn } from './columns/selection-column.component';
12
- import { CommandRenderer, AXGridCommandColumn } from './columns/command-column.component';
13
- import { AXDataGridFilterComponent } from './filters/filter.component';
14
- import { AXGridDateColumn, AXDatePickerFilterComponent } from './columns/date-column.component';
15
- import { AXDataGridRowTemplateComponent, AXDataGridRowTemplateRenderer } from './templates/row-template.component';
16
- import { AXDataGridCellTemplateComponent, AXDataGridCellTemplateRenderer } from './templates/cell-template.component';
17
- import { AXDataGridDetailTemplateComponent, AXDataGridDetailTemplateRenderer } from './templates/detail-template.component';
18
- import { AXTextBoxModule } from '@acorex/components';
19
- import { AXCheckBoxModule } from '@acorex/components';
20
- import { AXSelectBoxModule } from '@acorex/components';
21
- import { AXButtonModule } from '@acorex/components';
22
- import { AXDatePickerModule } from '@acorex/components';
23
- import 'ag-grid-enterprise';
24
- import { AXGridRowNumberColumn } from './columns/row-number-column.component';
25
- let AXDataGridModule = class AXDataGridModule {
26
- };
27
- AXDataGridModule = __decorate([
28
- NgModule({
29
- declarations: [
30
- AXDataGridComponent,
31
- AXGridTextColumn,
32
- AXGridCheckColumn,
33
- AXGridSelectionColumn,
34
- AXGridDateColumn,
35
- AXGridRowNumberColumn,
36
- AXGridCommandColumn,
37
- BooleanRenderer,
38
- BooleanFilterRenderer,
39
- TextFilterRenderer,
40
- AXDataGridFilterComponent,
41
- AXDataGridRowTemplateComponent,
42
- AXDataGridDetailTemplateComponent,
43
- AXDataGridRowTemplateRenderer,
44
- AXDataGridDetailTemplateRenderer,
45
- AXDataGridCellTemplateComponent,
46
- AXDataGridCellTemplateRenderer,
47
- AXDatePickerFilterComponent,
48
- CommandRenderer
49
- ],
50
- imports: [
51
- CommonModule,
52
- AXCoreModule,
53
- FormsModule,
54
- //AgGridModule,
55
- AXTextBoxModule,
56
- AXCheckBoxModule,
57
- AXSelectBoxModule,
58
- AXDataSourceModule,
59
- AXButtonModule,
60
- AXDatePickerModule,
61
- AgGridModule.withComponents([AXDatePickerFilterComponent])
62
- ],
63
- exports: [
64
- AXDataGridComponent,
65
- AXDataGridFilterComponent,
66
- AXDataGridRowTemplateComponent,
67
- AXDataGridDetailTemplateComponent,
68
- AXDataGridRowTemplateRenderer,
69
- AXDataGridDetailTemplateRenderer,
70
- AXDataGridCellTemplateComponent,
71
- AXDataGridCellTemplateRenderer,
72
- AXGridTextColumn,
73
- AXGridRowNumberColumn,
74
- AXGridCheckColumn,
75
- AXGridDateColumn,
76
- AXGridSelectionColumn,
77
- AXGridCommandColumn,
78
- BooleanRenderer,
79
- BooleanFilterRenderer,
80
- CommandRenderer
81
- ],
82
- entryComponents: [
83
- BooleanRenderer,
84
- BooleanFilterRenderer,
85
- CommandRenderer,
86
- TextFilterRenderer,
87
- AXDataGridRowTemplateComponent,
88
- AXDataGridDetailTemplateComponent,
89
- AXDataGridRowTemplateRenderer,
90
- AXDataGridDetailTemplateRenderer,
91
- AXDataGridCellTemplateComponent,
92
- AXDataGridCellTemplateRenderer
93
- ],
94
- providers: []
95
- })
96
- ], AXDataGridModule);
97
- export { AXDataGridModule };
98
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFjb3JleC9kYXRhLWdyaWQvIiwic291cmNlcyI6WyJsaWIvZGF0YS1ncmlkL2RhdGFncmlkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDM0QsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQ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";
2
- import { Component, ViewEncapsulation } from '@angular/core';
3
- let AXDataGridFilterComponent = class AXDataGridFilterComponent {
4
- };
5
- AXDataGridFilterComponent = __decorate([
6
- Component({
7
- selector: 'ax-data-grid-filter',
8
- template: `
9
- <div class='ax-grid-filter-container'>
10
- <ng-content></ng-content>
11
- <div class='btn-group' role='group'>
12
- <button type='button' class='btn btn-primary btn-sm'>
13
- <i class='fas fa-filter'></i>
14
- </button>
15
- <button type='button' class='btn btn-danger btn-sm'>
16
- <i class='fas fa-trash-alt'></i>
17
- </button>
18
- </div>
19
- </div>
20
- `,
21
- encapsulation: ViewEncapsulation.None
22
- })
23
- ], AXDataGridFilterComponent);
24
- export { AXDataGridFilterComponent };
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY29yZXgvZGF0YS1ncmlkLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZ3JpZC9maWx0ZXJzL2ZpbHRlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFvQjdELElBQWEseUJBQXlCLEdBQXRDLE1BQWEseUJBQXlCO0NBQUcsQ0FBQTtBQUE1Qix5QkFBeUI7SUFqQnJDLFNBQVMsQ0FBQztRQUNULFFBQVEsRUFBRSxxQkFBcUI7UUFDL0IsUUFBUSxFQUFFOzs7Ozs7Ozs7Ozs7R0FZVDtRQUNELGFBQWEsRUFBRSxpQkFBaUIsQ0FBQyxJQUFJO0tBQ3RDLENBQUM7R0FDVyx5QkFBeUIsQ0FBRztTQUE1Qix5QkFBeUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdheC1kYXRhLWdyaWQtZmlsdGVyJyxcclxuICB0ZW1wbGF0ZTogYFxyXG4gICAgPGRpdiBjbGFzcz0nYXgtZ3JpZC1maWx0ZXItY29udGFpbmVyJz5cclxuICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gICAgICA8ZGl2IGNsYXNzPSdidG4tZ3JvdXAnIHJvbGU9J2dyb3VwJz5cclxuICAgICAgICA8YnV0dG9uIHR5cGU9J2J1dHRvbicgY2xhc3M9J2J0biBidG4tcHJpbWFyeSBidG4tc20nPlxyXG4gICAgICAgICAgPGkgY2xhc3M9J2ZhcyBmYS1maWx0ZXInPjwvaT5cclxuICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICA8YnV0dG9uIHR5cGU9J2J1dHRvbicgY2xhc3M9J2J0biBidG4tZGFuZ2VyIGJ0bi1zbSc+XHJcbiAgICAgICAgICA8aSBjbGFzcz0nZmFzIGZhLXRyYXNoLWFsdCc+PC9pPlxyXG4gICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIGAsXHJcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhEYXRhR3JpZEZpbHRlckNvbXBvbmVudCB7fVxyXG4iXX0=
@@ -1,47 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, ContentChild, TemplateRef } from '@angular/core';
3
- let AXDataGridCellTemplateComponent = class AXDataGridCellTemplateComponent {
4
- constructor() {
5
- this.renderer = AXDataGridCellTemplateRenderer;
6
- }
7
- ngOnInit() {
8
- this.params = {
9
- templateRef: this.templateRef
10
- };
11
- }
12
- };
13
- __decorate([
14
- ContentChild(TemplateRef, { static: true }),
15
- __metadata("design:type", TemplateRef)
16
- ], AXDataGridCellTemplateComponent.prototype, "templateRef", void 0);
17
- AXDataGridCellTemplateComponent = __decorate([
18
- Component({
19
- selector: 'ax-cell-template',
20
- template: `<ng-content></ng-content>
21
- `
22
- }),
23
- __metadata("design:paramtypes", [])
24
- ], AXDataGridCellTemplateComponent);
25
- export { AXDataGridCellTemplateComponent };
26
- let AXDataGridCellTemplateRenderer = class AXDataGridCellTemplateRenderer {
27
- constructor() { }
28
- agInit(params) {
29
- this.rowData = params.data;
30
- this.templateRef = params.templateRef;
31
- }
32
- refresh(params) {
33
- this.rowData = params.data;
34
- return true;
35
- }
36
- };
37
- AXDataGridCellTemplateRenderer = __decorate([
38
- Component({
39
- template: `
40
- <ng-container *ngTemplateOutlet='templateRef; context: { $implicit: rowData }'>
41
- </ng-container>
42
- `
43
- }),
44
- __metadata("design:paramtypes", [])
45
- ], AXDataGridCellTemplateRenderer);
46
- export { AXDataGridCellTemplateRenderer };
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VsbC10ZW1wbGF0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWNvcmV4L2RhdGEtZ3JpZC8iLCJzb3VyY2VzIjpbImxpYi9kYXRhLWdyaWQvdGVtcGxhdGVzL2NlbGwtdGVtcGxhdGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxXQUFXLEVBQTJCLE1BQU0sZUFBZSxDQUFDO0FBVTlGLElBQWEsK0JBQStCLEdBQTVDLE1BQWEsK0JBQStCO0lBSXhDO1FBQ0ksSUFBSSxDQUFDLFFBQVEsR0FBRyw4QkFBOEIsQ0FBQztJQUNuRCxDQUFDO0lBQ0QsUUFBUTtRQUNKLElBQUksQ0FBQyxNQUFNLEdBQUc7WUFDVixXQUFXLEVBQUUsSUFBSSxDQUFDLFdBQVc7U0FD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AgICByb3dEYXRhOiBhbnk7XHJcbiAgICB0ZW1wbGF0ZVJlZjogVGVtcGxhdGVSZWY8YW55PjtcclxuXHJcbiAgICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICAgIGFnSW5pdChwYXJhbXM6IElDZWxsUmVuZGVyZXJQYXJhbXMpOiB2b2lkIHtcclxuICAgICAgICB0aGlzLnJvd0RhdGEgPSBwYXJhbXMuZGF0YTtcclxuICAgICAgICB0aGlzLnRlbXBsYXRlUmVmID0gKHBhcmFtcyBhcyBhbnkpLnRlbXBsYXRlUmVmO1xyXG4gICAgfVxyXG5cclxuICAgIHJlZnJlc2gocGFyYW1zOiBJQ2VsbFJlbmRlcmVyUGFyYW1zKTogYm9vbGVhbiB7XHJcbiAgICAgICAgdGhpcy5yb3dEYXRhID0gcGFyYW1zLmRhdGE7XHJcbiAgICAgICAgcmV0dXJuIHRydWU7XHJcbiAgICB9XHJcbn0iXX0=
@@ -1,45 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, ContentChild, TemplateRef, Input } from '@angular/core';
3
- let AXDataGridDetailTemplateComponent = class AXDataGridDetailTemplateComponent {
4
- constructor() {
5
- this.height = 100;
6
- this.renderer = AXDataGridDetailTemplateRenderer;
7
- }
8
- ngOnInit() {
9
- this.params = {
10
- templateRef: this.templateRef
11
- };
12
- }
13
- };
14
- __decorate([
15
- ContentChild(TemplateRef, { static: true }),
16
- __metadata("design:type", TemplateRef)
17
- ], AXDataGridDetailTemplateComponent.prototype, "templateRef", void 0);
18
- __decorate([
19
- Input(),
20
- __metadata("design:type", Number)
21
- ], AXDataGridDetailTemplateComponent.prototype, "height", void 0);
22
- AXDataGridDetailTemplateComponent = __decorate([
23
- Component({
24
- selector: 'ax-grid-detail-template',
25
- template: `<ng-content></ng-content>`
26
- }),
27
- __metadata("design:paramtypes", [])
28
- ], AXDataGridDetailTemplateComponent);
29
- export { AXDataGridDetailTemplateComponent };
30
- let AXDataGridDetailTemplateRenderer = class AXDataGridDetailTemplateRenderer {
31
- refresh(params) {
32
- return false;
33
- }
34
- agInit(params) {
35
- this.data = params.data;
36
- this.templateRef = params.templateRef;
37
- }
38
- };
39
- AXDataGridDetailTemplateRenderer = __decorate([
40
- Component({
41
- template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
42
- })
43
- ], AXDataGridDetailTemplateRenderer);
44
- export { AXDataGridDetailTemplateRenderer };
45
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlsLXRlbXBsYXRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY29yZXgvZGF0YS1ncmlkLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZ3JpZC90ZW1wbGF0ZXMvZGV0YWlsLXRlbXBsYXRlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFRL0YsSUFBYSxpQ0FBaUMsR0FBOUMsTUFBYSxpQ0FBaUM7SUFJMUM7UUFVQSxXQUFNLEdBQVcsR0FBRyxDQUFDO1FBVGpCLElBQUksQ0FBQyxRQUFRLEdBQUcsZ0NBQWdDLENBQUM7SUFDckQsQ0FBQztJQUNELFFBQVE7UUFDSixJQUFJLENBQUMsTUFBTSxHQUFHO1lBQ1YsV0FBVyxFQUFFLElBQUksQ0FBQyxXQUFXO1NBQ2hDLENBQUE7SUFDTCxDQUFDO0NBSUosQ0FBQTtBQWRnRDtJQUE1QyxZQUFZLENBQUMsV0FBVyxFQUFFLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxDQUFDOzhCQUFjLFdBQVc7c0VBQU07QUFhM0U7SUFEQyxLQUFLLEVBQUU7O2lFQUNhO0FBZFosaUNBQWlDO0lBTDdDLFNBQVMs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YXJhbXMudGVtcGxhdGVSZWY7XHJcbiAgICB9XHJcbn0iXX0=
@@ -1,40 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, ContentChild, TemplateRef } from '@angular/core';
3
- let AXDataGridRowTemplateComponent = class AXDataGridRowTemplateComponent {
4
- constructor() {
5
- this.renderer = AXDataGridRowTemplateRenderer;
6
- }
7
- ngOnInit() {
8
- this.params = {
9
- templateRef: this.templateRef
10
- };
11
- }
12
- };
13
- __decorate([
14
- ContentChild(TemplateRef, { static: true }),
15
- __metadata("design:type", TemplateRef)
16
- ], AXDataGridRowTemplateComponent.prototype, "templateRef", void 0);
17
- AXDataGridRowTemplateComponent = __decorate([
18
- Component({
19
- selector: 'ax-row-template',
20
- template: `<ng-content></ng-content>`
21
- }),
22
- __metadata("design:paramtypes", [])
23
- ], AXDataGridRowTemplateComponent);
24
- export { AXDataGridRowTemplateComponent };
25
- let AXDataGridRowTemplateRenderer = class AXDataGridRowTemplateRenderer {
26
- refresh(params) {
27
- return false;
28
- }
29
- agInit(params) {
30
- this.data = params.data.callRecords;
31
- this.templateRef = params.templateRef;
32
- }
33
- };
34
- AXDataGridRowTemplateRenderer = __decorate([
35
- Component({
36
- template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
37
- })
38
- ], AXDataGridRowTemplateRenderer);
39
- export { AXDataGridRowTemplateRenderer };
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm93LXRlbXBsYXRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY29yZXgvZGF0YS1ncmlkLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZ3JpZC90ZW1wbGF0ZXMvcm93LXRlbXBsYXRlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFT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uICAgIHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG5cclxuICAgIGRhdGE6IGFueTtcclxuXHJcbiAgICByZWZyZXNoKHBhcmFtczogYW55KTogYm9vbGVhbiB7XHJcbiAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgfVxyXG5cclxuICAgIGFnSW5pdChwYXJhbXM6IGFueSk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMuZGF0YSA9IHBhcmFtcy5kYXRhLmNhbGxSZWNvcmRzO1xyXG4gICAgICAgIHRoaXMudGVtcGxhdGVSZWYgPSBwYXJhbXMudGVtcGxhdGVSZWY7XHJcbiAgICB9XHJcbn0iXX0=
@@ -1,121 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, ViewChild, ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import { AXDataGridComponent } from '../../data-grid/datagrid.component';
4
- import { AXTranslator, AXConfig } from '@acorex/core';
5
- import { AXToolbarSearchComponent, AXBasePopupPageComponent } from '@acorex/components';
6
- let AXDataLovPopupComponent = class AXDataLovPopupComponent extends AXBasePopupPageComponent {
7
- constructor(cdr, ref) {
8
- super();
9
- this.cdr = cdr;
10
- this.ref = ref;
11
- this.columns = [];
12
- this.selectedItems = [];
13
- this.keyField = '';
14
- this.allowNull = true;
15
- this.rtl = AXConfig.get('layout.rtl');
16
- this.selectedRows = [];
17
- }
18
- ngOnInit() {
19
- if (this.rtl == null) {
20
- this.rtl = window.getComputedStyle(this.ref.nativeElement, null).getPropertyValue('direction') === 'rtl';
21
- }
22
- }
23
- onDoneClick() {
24
- if (this.selectedItems) {
25
- this.close(this.selectedItems);
26
- }
27
- else {
28
- this.close();
29
- }
30
- }
31
- rowDoubleClicked(e) {
32
- console.log('s', e.data.data);
33
- if (this.selectionMode == 'single') {
34
- this.selectedItems = [];
35
- }
36
- this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.data[this.keyField]);
37
- this.selectedItems.push(e.data.data);
38
- this.onDoneClick();
39
- }
40
- onCancelClick() {
41
- this.close();
42
- }
43
- rowSelectionChange(e) {
44
- if (e.data.node.selected == true) {
45
- this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.node.data[this.keyField]);
46
- this.selectedItems.push(e.data.node.data);
47
- }
48
- else {
49
- if (this.allowNull == true || (this.allowNull == false && this.selectedItems.length > 1)) {
50
- this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.node.data[this.keyField]);
51
- }
52
- }
53
- // console.log('ee', e)
54
- // // console.log('e', e);
55
- // console.log('select', e.data.node.selected);
56
- // console.log('index', e.data.rowIndex);
57
- }
58
- ngAfterViewInit() {
59
- this.selectedItems.forEach((ele) => {
60
- this.selectedRows.push(ele);
61
- });
62
- this.searchBox.focus();
63
- if (this.dataSource.onDataReceived) {
64
- this.dataSource.onDataReceived.subscribe((arg) => {
65
- this.cdr.markForCheck();
66
- this.cdr.detectChanges();
67
- });
68
- }
69
- }
70
- // onValueSearchChanged(e) {
71
- // const params: AXDataSourceReadParams = {}
72
- // params.searchText = e.value;
73
- // // params.take = 100;
74
- // // params.skip = 0
75
- // this.dataSource.fetch(params);
76
- // }
77
- getFooterButtons() {
78
- return [
79
- {
80
- text: AXTranslator.get('common.confirm'),
81
- name: 'confirm',
82
- style: 'ax primary',
83
- icon: 'far fa-check-circle'
84
- },
85
- {
86
- text: AXTranslator.get('common.cancel'),
87
- name: 'cancel',
88
- style: 'ax light',
89
- icon: 'far fa-times-circle'
90
- }
91
- ];
92
- }
93
- onFooterButtonClick(e) {
94
- if (e.name === 'confirm') {
95
- this.onDoneClick();
96
- }
97
- if (e.name === 'cancel') {
98
- this.onCancelClick();
99
- }
100
- }
101
- };
102
- AXDataLovPopupComponent.ctorParameters = () => [
103
- { type: ChangeDetectorRef },
104
- { type: ElementRef }
105
- ];
106
- __decorate([
107
- ViewChild('grid', { static: true }),
108
- __metadata("design:type", AXDataGridComponent)
109
- ], AXDataLovPopupComponent.prototype, "grid", void 0);
110
- __decorate([
111
- ViewChild('searchBox'),
112
- __metadata("design:type", AXToolbarSearchComponent)
113
- ], AXDataLovPopupComponent.prototype, "searchBox", void 0);
114
- AXDataLovPopupComponent = __decorate([
115
- Component({
116
- template: "<div style=\"height: 70vh; padding: 0.5em;\">\r\n <div style=\"height: calc(100%);\">\r\n\r\n <ax-data-grid [rtl]=\"rtl\" [suppressRowClickSelection]=\"false\" [keyField]=\"keyField\"\r\n [hasChildField]=\"hasChildField\" [selectRow]=\"selectedItems\" #grid [columns]=\"columns\"\r\n [remoteOperation]=\"true\" [selectionMode]=\"selectionMode\" (rowDbClick)=\"rowDoubleClicked($event)\"\r\n (rowSelectionChange)=\"rowSelectionChange($event)\" [dataSource]=\"dataSource\">\r\n <ax-toolbar>\r\n <ax-toolbar-search #searchBox style=\"width: 100%;\"></ax-toolbar-search>\r\n </ax-toolbar>\r\n <ax-selection-column *ngIf=\"selectionMode== 'single'? false : true\"></ax-selection-column>\r\n <!-- <ax-data-source [provideData]=\"dataSource.provideData\">\r\n </ax-data-source> -->\r\n </ax-data-grid>\r\n </div>\r\n</div>"
117
- }),
118
- __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef])
119
- ], AXDataLovPopupComponent);
120
- export { AXDataLovPopupComponent };
121
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1sb3YtcG9wdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFjb3JleC9kYXRhLWdyaWQvIiwic291cmNlcyI6WyJsaWIvZGF0YS1sb3YvZGF0YS1sb3YtcG9wdXAvZGF0YS1sb3YtcG9wdXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEYsT0FBTyxFQU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