@acorex/data-grid 3.0.65 → 4.1.0

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,101 +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
- var AXDataGridModule = /** @class */ (function () {
26
- function AXDataGridModule() {
27
- }
28
- AXDataGridModule = __decorate([
29
- NgModule({
30
- declarations: [
31
- AXDataGridComponent,
32
- AXGridTextColumn,
33
- AXGridCheckColumn,
34
- AXGridSelectionColumn,
35
- AXGridDateColumn,
36
- AXGridRowNumberColumn,
37
- AXGridCommandColumn,
38
- BooleanRenderer,
39
- BooleanFilterRenderer,
40
- TextFilterRenderer,
41
- AXDataGridFilterComponent,
42
- AXDataGridRowTemplateComponent,
43
- AXDataGridDetailTemplateComponent,
44
- AXDataGridRowTemplateRenderer,
45
- AXDataGridDetailTemplateRenderer,
46
- AXDataGridCellTemplateComponent,
47
- AXDataGridCellTemplateRenderer,
48
- AXDatePickerFilterComponent,
49
- CommandRenderer
50
- ],
51
- imports: [
52
- CommonModule,
53
- AXCoreModule,
54
- FormsModule,
55
- //AgGridModule,
56
- AXTextBoxModule,
57
- AXCheckBoxModule,
58
- AXSelectBoxModule,
59
- AXDataSourceModule,
60
- AXButtonModule,
61
- AXDatePickerModule,
62
- AgGridModule.withComponents([AXDatePickerFilterComponent])
63
- ],
64
- exports: [
65
- AXDataGridComponent,
66
- AXDataGridFilterComponent,
67
- AXDataGridRowTemplateComponent,
68
- AXDataGridDetailTemplateComponent,
69
- AXDataGridRowTemplateRenderer,
70
- AXDataGridDetailTemplateRenderer,
71
- AXDataGridCellTemplateComponent,
72
- AXDataGridCellTemplateRenderer,
73
- AXGridTextColumn,
74
- AXGridRowNumberColumn,
75
- AXGridCheckColumn,
76
- AXGridDateColumn,
77
- AXGridSelectionColumn,
78
- AXGridCommandColumn,
79
- BooleanRenderer,
80
- BooleanFilterRenderer,
81
- CommandRenderer
82
- ],
83
- entryComponents: [
84
- BooleanRenderer,
85
- BooleanFilterRenderer,
86
- CommandRenderer,
87
- TextFilterRenderer,
88
- AXDataGridRowTemplateComponent,
89
- AXDataGridDetailTemplateComponent,
90
- AXDataGridRowTemplateRenderer,
91
- AXDataGridDetailTemplateRenderer,
92
- AXDataGridCellTemplateComponent,
93
- AXDataGridCellTemplateRenderer
94
- ],
95
- providers: []
96
- })
97
- ], AXDataGridModule);
98
- return AXDataGridModule;
99
- }());
100
- export { AXDataGridModule };
101
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFjb3JleC9kYXRhLWdyaWQvIiwic291cmNlcyI6WyJsaWIvZGF0YS1ncmlkL2RhdGFncmlkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDM0QsT0FBTyxFQUFFLFdBQVcsRUFBR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92aWRlcnM6IFtdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBWERhdGFHcmlkTW9kdWxlIHt9XHJcbiJdfQ==
@@ -1,16 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { Component, ViewEncapsulation } from '@angular/core';
3
- var AXDataGridFilterComponent = /** @class */ (function () {
4
- function AXDataGridFilterComponent() {
5
- }
6
- AXDataGridFilterComponent = __decorate([
7
- Component({
8
- selector: 'ax-data-grid-filter',
9
- template: "\n <div class='ax-grid-filter-container'>\n <ng-content></ng-content>\n <div class='btn-group' role='group'>\n <button type='button' class='btn btn-primary btn-sm'>\n <i class='fas fa-filter'></i>\n </button>\n <button type='button' class='btn btn-danger btn-sm'>\n <i class='fas fa-trash-alt'></i>\n </button>\n </div>\n </div>\n ",
10
- encapsulation: ViewEncapsulation.None
11
- })
12
- ], AXDataGridFilterComponent);
13
- return AXDataGridFilterComponent;
14
- }());
15
- export { AXDataGridFilterComponent };
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY29yZXgvZGF0YS1ncmlkLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZ3JpZC9maWx0ZXJzL2ZpbHRlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFvQjdEO0lBQUE7SUFBd0MsQ0FBQztJQUE1Qix5QkFBeUI7UUFqQnJDLFNBQVMsQ0FBQztZQUNULFFBQVEsRUFBRSxxQkFBcUI7WUFDL0IsUUFBUSxFQUFFLGlaQVlUO1lBQ0QsYUFBYSxFQUFFLGlCQUFpQixDQUFDLElBQUk7U0FDdEMsQ0FBQztPQUNXLHlCQUF5QixDQUFHO0lBQUQsZ0NBQUM7Q0FBQSxBQUF6QyxJQUF5QztTQUE1Qix5QkFBeUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdheC1kYXRhLWdyaWQtZmlsdGVyJyxcclxuICB0ZW1wbGF0ZTogYFxyXG4gICAgPGRpdiBjbGFzcz0nYXgtZ3JpZC1maWx0ZXItY29udGFpbmVyJz5cclxuICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG4gICAgICA8ZGl2IGNsYXNzPSdidG4tZ3JvdXAnIHJvbGU9J2dyb3VwJz5cclxuICAgICAgICA8YnV0dG9uIHR5cGU9J2J1dHRvbicgY2xhc3M9J2J0biBidG4tcHJpbWFyeSBidG4tc20nPlxyXG4gICAgICAgICAgPGkgY2xhc3M9J2ZhcyBmYS1maWx0ZXInPjwvaT5cclxuICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICA8YnV0dG9uIHR5cGU9J2J1dHRvbicgY2xhc3M9J2J0biBidG4tZGFuZ2VyIGJ0bi1zbSc+XHJcbiAgICAgICAgICA8aSBjbGFzcz0nZmFzIGZhLXRyYXNoLWFsdCc+PC9pPlxyXG4gICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIGAsXHJcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhEYXRhR3JpZEZpbHRlckNvbXBvbmVudCB7fVxyXG4iXX0=
@@ -1,46 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, ContentChild, TemplateRef } from '@angular/core';
3
- var AXDataGridCellTemplateComponent = /** @class */ (function () {
4
- function AXDataGridCellTemplateComponent() {
5
- this.renderer = AXDataGridCellTemplateRenderer;
6
- }
7
- AXDataGridCellTemplateComponent.prototype.ngOnInit = function () {
8
- this.params = {
9
- templateRef: this.templateRef
10
- };
11
- };
12
- __decorate([
13
- ContentChild(TemplateRef, { static: true }),
14
- __metadata("design:type", TemplateRef)
15
- ], AXDataGridCellTemplateComponent.prototype, "templateRef", void 0);
16
- AXDataGridCellTemplateComponent = __decorate([
17
- Component({
18
- selector: 'ax-cell-template',
19
- template: "<ng-content></ng-content>\n "
20
- }),
21
- __metadata("design:paramtypes", [])
22
- ], AXDataGridCellTemplateComponent);
23
- return AXDataGridCellTemplateComponent;
24
- }());
25
- export { AXDataGridCellTemplateComponent };
26
- var AXDataGridCellTemplateRenderer = /** @class */ (function () {
27
- function AXDataGridCellTemplateRenderer() {
28
- }
29
- AXDataGridCellTemplateRenderer.prototype.agInit = function (params) {
30
- this.rowData = params.data;
31
- this.templateRef = params.templateRef;
32
- };
33
- AXDataGridCellTemplateRenderer.prototype.refresh = function (params) {
34
- this.rowData = params.data;
35
- return true;
36
- };
37
- AXDataGridCellTemplateRenderer = __decorate([
38
- Component({
39
- template: "\n <ng-container *ngTemplateOutlet='templateRef; context: { $implicit: rowData }'>\n </ng-container>\n "
40
- }),
41
- __metadata("design:paramtypes", [])
42
- ], AXDataGridCellTemplateRenderer);
43
- return AXDataGridCellTemplateRenderer;
44
- }());
45
- export { AXDataGridCellTemplateRenderer };
46
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VsbC10ZW1wbGF0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWNvcmV4L2RhdGEtZ3JpZC8iLCJzb3VyY2VzIjpbImxpYi9kYXRhLWdyaWQvdGVtcGxhdGVzL2NlbGwtdGVtcGxhdGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxXQU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0ZW1wbGF0ZVJlZjsgY29udGV4dDogeyAkaW1wbGljaXQ6IHJvd0RhdGEgfSc+XHJcbiAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICBgXHJcbn0pXHJcblxyXG5leHBvcnQgY2xhc3MgQVhEYXRhR3JpZENlbGxUZW1wbGF0ZVJlbmRlcmVyIGltcGxlbWVudHMgSUNlbGxSZW5kZXJlckFuZ3VsYXJDb21wIHtcclxuICAgIHJvd0RhdGE6IGFueTtcclxuICAgIHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG5cclxuICAgIGNvbnN0cnVjdG9yKCkgeyB9XHJcblxyXG4gICAgYWdJbml0KHBhcmFtczogSUNlbGxSZW5kZXJlclBhcmFtcyk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMucm93RGF0YSA9IHBhcmFtcy5kYXRhO1xyXG4gICAgICAgIHRoaXMudGVtcGxhdGVSZWYgPSAocGFyYW1zIGFzIGFueSkudGVtcGxhdGVSZWY7XHJcbiAgICB9XHJcblxyXG4gICAgcmVmcmVzaChwYXJhbXM6IElDZWxsUmVuZGVyZXJQYXJhbXMpOiBib29sZWFuIHtcclxuICAgICAgICB0aGlzLnJvd0RhdGEgPSBwYXJhbXMuZGF0YTtcclxuICAgICAgICByZXR1cm4gdHJ1ZTtcclxuICAgIH1cclxufSJdfQ==
@@ -1,49 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, ContentChild, TemplateRef, Input } from '@angular/core';
3
- var AXDataGridDetailTemplateComponent = /** @class */ (function () {
4
- function AXDataGridDetailTemplateComponent() {
5
- this.height = 100;
6
- this.renderer = AXDataGridDetailTemplateRenderer;
7
- }
8
- AXDataGridDetailTemplateComponent.prototype.ngOnInit = function () {
9
- this.params = {
10
- templateRef: this.templateRef
11
- };
12
- };
13
- __decorate([
14
- ContentChild(TemplateRef, { static: true }),
15
- __metadata("design:type", TemplateRef)
16
- ], AXDataGridDetailTemplateComponent.prototype, "templateRef", void 0);
17
- __decorate([
18
- Input(),
19
- __metadata("design:type", Number)
20
- ], AXDataGridDetailTemplateComponent.prototype, "height", void 0);
21
- AXDataGridDetailTemplateComponent = __decorate([
22
- Component({
23
- selector: 'ax-grid-detail-template',
24
- template: "<ng-content></ng-content>"
25
- }),
26
- __metadata("design:paramtypes", [])
27
- ], AXDataGridDetailTemplateComponent);
28
- return AXDataGridDetailTemplateComponent;
29
- }());
30
- export { AXDataGridDetailTemplateComponent };
31
- var AXDataGridDetailTemplateRenderer = /** @class */ (function () {
32
- function AXDataGridDetailTemplateRenderer() {
33
- }
34
- AXDataGridDetailTemplateRenderer.prototype.refresh = function (params) {
35
- return false;
36
- };
37
- AXDataGridDetailTemplateRenderer.prototype.agInit = function (params) {
38
- this.data = params.data;
39
- this.templateRef = params.templateRef;
40
- };
41
- AXDataGridDetailTemplateRenderer = __decorate([
42
- Component({
43
- template: "<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>"
44
- })
45
- ], AXDataGridDetailTemplateRenderer);
46
- return AXDataGridDetailTemplateRenderer;
47
- }());
48
- export { AXDataGridDetailTemplateRenderer };
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlsLXRlbXBsYXRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY29yZXgvZGF0YS1ncmlkLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZ3JpZC90ZW1wbGF0ZXMvZGV0YWlsLXRlbXBsYXRlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFRL0Y7SUFJSTtRQVVBLFdBQU0sR0FBVyxHQUFHLENBQUM7UUFUakIsSUFBSSxDQUFDLFFBQVEsR0FBRyxnQ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W1wbGF0ZVJlbmRlcmVyIGltcGxlbWVudHMgSUNlbGxSZW5kZXJlckFuZ3VsYXJDb21wIHtcclxuXHJcbiAgICByZWZyZXNoKHBhcmFtczogYW55KTogYm9vbGVhbiB7XHJcbiAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgfVxyXG5cclxuICAgIHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG4gICAgZGF0YTogYW55O1xyXG5cclxuICAgIGFnSW5pdChwYXJhbXM6IGFueSk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMuZGF0YSA9IHBhcmFtcy5kYXRhO1xyXG4gICAgICAgIHRoaXMudGVtcGxhdGVSZWYgPSBwYXJhbXMudGVtcGxhdGVSZWY7XHJcbiAgICB9XHJcbn0iXX0=
@@ -1,44 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Component, ContentChild, TemplateRef } from '@angular/core';
3
- var AXDataGridRowTemplateComponent = /** @class */ (function () {
4
- function AXDataGridRowTemplateComponent() {
5
- this.renderer = AXDataGridRowTemplateRenderer;
6
- }
7
- AXDataGridRowTemplateComponent.prototype.ngOnInit = function () {
8
- this.params = {
9
- templateRef: this.templateRef
10
- };
11
- };
12
- __decorate([
13
- ContentChild(TemplateRef, { static: true }),
14
- __metadata("design:type", TemplateRef)
15
- ], AXDataGridRowTemplateComponent.prototype, "templateRef", void 0);
16
- AXDataGridRowTemplateComponent = __decorate([
17
- Component({
18
- selector: 'ax-row-template',
19
- template: "<ng-content></ng-content>"
20
- }),
21
- __metadata("design:paramtypes", [])
22
- ], AXDataGridRowTemplateComponent);
23
- return AXDataGridRowTemplateComponent;
24
- }());
25
- export { AXDataGridRowTemplateComponent };
26
- var AXDataGridRowTemplateRenderer = /** @class */ (function () {
27
- function AXDataGridRowTemplateRenderer() {
28
- }
29
- AXDataGridRowTemplateRenderer.prototype.refresh = function (params) {
30
- return false;
31
- };
32
- AXDataGridRowTemplateRenderer.prototype.agInit = function (params) {
33
- this.data = params.data.callRecords;
34
- this.templateRef = params.templateRef;
35
- };
36
- AXDataGridRowTemplateRenderer = __decorate([
37
- Component({
38
- template: "<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>"
39
- })
40
- ], AXDataGridRowTemplateRenderer);
41
- return AXDataGridRowTemplateRenderer;
42
- }());
43
- export { AXDataGridRowTemplateRenderer };
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm93LXRlbXBsYXRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY29yZXgvZGF0YS1ncmlkLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZ3JpZC90ZW1wbGF0ZXMvcm93LXRlbXBsYXRlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFTLE1BQU0sZUFBZSxDQUFDO0FBUTVFO0lBSUk7UUFDSSxJQUFJLENBQUMsUUFBUSxHQUFHLDZCQUE2QixDQUFDO0lBQ2xELENBQUM7SUFDRCxpREFBUSxHQUFSO1FBQ0ksSUFBSSxDQUFDLE1BQU0sR0FBRztZQUNWLFdBQVcsRUFBRSxJQUFJLENBQUMsV0FBVztTQUNoQyxDQUFBO0lBQ0wsQ0FBQztJQVY0QztRQUE1QyxZQUFZLENBQUMsV0FBVyxFQUFFLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBRSxDQUFDO2tDQUFjLFdBQVc7dUVBQU07SUFEbEUsOEJBQThCO1FBTDFDLFNBQVMsQ0FBQztZQUNQLFFBQVEsRUFBRSxpQkFBaUI7WUFDM0IsUUFBUSxFQUFFLDJCQUEyQjtTQUN4QyxDQUFDOztPQUVXLDhCQUE4QixDQVkxQztJQUFELHFDQUFDO0NBQUEsQUFaRCxJQVlDO1NBWlksOEJBQThCO0FBa0IzQztJQUFBO0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MucmVuZGVyZXIgPSBBWERhdGFHcmlkUm93VGVtcGxhdGVSZW5kZXJlcjtcclxuICAgIH1cclxuICAgIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMucGFyYW1zID0ge1xyXG4gICAgICAgICAgICB0ZW1wbGF0ZVJlZjogdGhpcy50ZW1wbGF0ZVJlZlxyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgICB0ZW1wbGF0ZTogYDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9J3RlbXBsYXRlUmVmOyBjb250ZXh0OiB7ICRpbXBsaWNpdDogZGF0YSB9Jz48L25nLWNvbnRhaW5lcj5gXHJcbn0pXHJcblxyXG5leHBvcnQgY2xhc3MgQVhEYXRhR3JpZFJvd1RlbXBsYXRlUmVuZGVyZXIgaW1wbGVtZW50cyBJQ2VsbFJlbmRlcmVyQW5ndWxhckNvbXAge1xyXG5cclxuICAgIHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG5cclxuICAgIGRhdGE6IGFueTtcclxuXHJcbiAgICByZWZyZXNoKHBhcmFtczogYW55KTogYm9vbGVhbiB7XHJcbiAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgfVxyXG5cclxuICAgIGFnSW5pdChwYXJhbXM6IGFueSk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMuZGF0YSA9IHBhcmFtcy5kYXRhLmNhbGxSZWNvcmRzO1xyXG4gICAgICAgIHRoaXMudGVtcGxhdGVSZWYgPSBwYXJhbXMudGVtcGxhdGVSZWY7XHJcbiAgICB9XHJcbn0iXX0=
@@ -1,127 +0,0 @@
1
- import { __decorate, __extends, __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
- var AXDataLovPopupComponent = /** @class */ (function (_super) {
7
- __extends(AXDataLovPopupComponent, _super);
8
- function AXDataLovPopupComponent(cdr, ref) {
9
- var _this = _super.call(this) || this;
10
- _this.cdr = cdr;
11
- _this.ref = ref;
12
- _this.columns = [];
13
- _this.selectedItems = [];
14
- _this.keyField = '';
15
- _this.allowNull = true;
16
- _this.rtl = AXConfig.get('layout.rtl');
17
- _this.selectedRows = [];
18
- return _this;
19
- }
20
- AXDataLovPopupComponent.prototype.ngOnInit = function () {
21
- if (this.rtl == null) {
22
- this.rtl = window.getComputedStyle(this.ref.nativeElement, null).getPropertyValue('direction') === 'rtl';
23
- }
24
- };
25
- AXDataLovPopupComponent.prototype.onDoneClick = function () {
26
- if (this.selectedItems) {
27
- this.close(this.selectedItems);
28
- }
29
- else {
30
- this.close();
31
- }
32
- };
33
- AXDataLovPopupComponent.prototype.rowDoubleClicked = function (e) {
34
- var _this = this;
35
- console.log('s', e.data.data);
36
- if (this.selectionMode == 'single') {
37
- this.selectedItems = [];
38
- }
39
- this.selectedItems = this.selectedItems.filter(function (c) { return c[_this.keyField] != e.data.data[_this.keyField]; });
40
- this.selectedItems.push(e.data.data);
41
- this.onDoneClick();
42
- };
43
- AXDataLovPopupComponent.prototype.onCancelClick = function () {
44
- this.close();
45
- };
46
- AXDataLovPopupComponent.prototype.rowSelectionChange = function (e) {
47
- var _this = this;
48
- if (e.data.node.selected == true) {
49
- this.selectedItems = this.selectedItems.filter(function (c) { return c[_this.keyField] != e.data.node.data[_this.keyField]; });
50
- this.selectedItems.push(e.data.node.data);
51
- }
52
- else {
53
- if (this.allowNull == true || (this.allowNull == false && this.selectedItems.length > 1)) {
54
- this.selectedItems = this.selectedItems.filter(function (c) { return c[_this.keyField] != e.data.node.data[_this.keyField]; });
55
- }
56
- }
57
- // console.log('ee', e)
58
- // // console.log('e', e);
59
- // console.log('select', e.data.node.selected);
60
- // console.log('index', e.data.rowIndex);
61
- };
62
- AXDataLovPopupComponent.prototype.ngAfterViewInit = function () {
63
- var _this = this;
64
- this.selectedItems.forEach(function (ele) {
65
- _this.selectedRows.push(ele);
66
- });
67
- this.searchBox.focus();
68
- if (this.dataSource.onDataReceived) {
69
- this.dataSource.onDataReceived.subscribe(function (arg) {
70
- _this.cdr.markForCheck();
71
- _this.cdr.detectChanges();
72
- });
73
- }
74
- };
75
- // onValueSearchChanged(e) {
76
- // const params: AXDataSourceReadParams = {}
77
- // params.searchText = e.value;
78
- // // params.take = 100;
79
- // // params.skip = 0
80
- // this.dataSource.fetch(params);
81
- // }
82
- AXDataLovPopupComponent.prototype.getFooterButtons = function () {
83
- return [
84
- {
85
- text: AXTranslator.get('common.confirm'),
86
- name: 'confirm',
87
- style: 'ax primary',
88
- icon: 'far fa-check-circle'
89
- },
90
- {
91
- text: AXTranslator.get('common.cancel'),
92
- name: 'cancel',
93
- style: 'ax light',
94
- icon: 'far fa-times-circle'
95
- }
96
- ];
97
- };
98
- AXDataLovPopupComponent.prototype.onFooterButtonClick = function (e) {
99
- if (e.name === 'confirm') {
100
- this.onDoneClick();
101
- }
102
- if (e.name === 'cancel') {
103
- this.onCancelClick();
104
- }
105
- };
106
- AXDataLovPopupComponent.ctorParameters = function () { return [
107
- { type: ChangeDetectorRef },
108
- { type: ElementRef }
109
- ]; };
110
- __decorate([
111
- ViewChild('grid', { static: true }),
112
- __metadata("design:type", AXDataGridComponent)
113
- ], AXDataLovPopupComponent.prototype, "grid", void 0);
114
- __decorate([
115
- ViewChild('searchBox'),
116
- __metadata("design:type", AXToolbarSearchComponent)
117
- ], AXDataLovPopupComponent.prototype, "searchBox", void 0);
118
- AXDataLovPopupComponent = __decorate([
119
- Component({
120
- 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>"
121
- }),
122
- __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef])
123
- ], AXDataLovPopupComponent);
124
- return AXDataLovPopupComponent;
125
- }(AXBasePopupPageComponent));
126
- export { AXDataLovPopupComponent };
127
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1sb3YtcG9wdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFjb3JleC9kYXRhLWdyaWQvIiwic291cmNlcyI6WyJsaWIvZGF0YS1sb3YvZGF0YS1sb3YtcG9wdXAvZGF0YS1sb3YtcG9wdXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEYsT0FBTyxFQUFFLG1CQUFtQixFQUFrQyxNQUFNLG9DQUFvQyxDQUFDO0FBRXpHLE9BQU8sRUFBRSxZQUFZLEVBQWdCLFFBQVEsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNwRSxPQUFPLEVBQ0wsd0JBQXdCLEVBQ3hCLHdCQUF3QixFQUl6QixNQUFNLG9CQUFvQixDQUFDO0FBSzVCO0lBQTZDLDJDQUF3QjtJQW1Cb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