@acorex/data-grid 3.0.66 → 4.1.2

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
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQuZXZlbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2RhdGEtZ3JpZC9zcmMvbGliL2RhdGEtZ3JpZC9kYXRhZ3JpZC5ldmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgQVhHcmlkUm93RXZlbnQge1xyXG4gICAgZGF0YTogYW55O1xyXG4gICAgcm93SW5kZXg6IG51bWJlcjtcclxuICAgIHJvd0xldmVsOiBudW1iZXI7XHJcbn1cclxuZXhwb3J0IGludGVyZmFjZSBBWEdyaWRSb3dDb21tYW5kRXZlbnQgZXh0ZW5kcyBBWEdyaWRSb3dFdmVudCB7XHJcbiAgICBjb21tYW5kOiBzdHJpbmc7XHJcbiAgICBodG1sRXZlbnQ6VUlFdmVudFxyXG59XHJcbmV4cG9ydCBpbnRlcmZhY2UgQVhHcmlkQ2VsbEV2ZW50IGV4dGVuZHMgQVhHcmlkUm93RXZlbnQge1xyXG4gICAgY29sdW1uOiBhbnk7XHJcbiAgICB2YWx1ZTogYW55O1xyXG59XHJcblxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBBWEdyaWRSb3dQYXJhbXMgZXh0ZW5kcyBBWEdyaWRSb3dFdmVudCB7XHJcbn1cclxuZXhwb3J0IGludGVyZmFjZSBBWEdyaWRDZWxsUGFyYW1zIGV4dGVuZHMgQVhHcmlkQ2VsbEV2ZW50IHtcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBBWEdyaWRSb3dTZWxlY3Rpb25FdmVudCB7XHJcbiAgICBpdGVtczogQVhHcmlkUm93RXZlbnRbXTtcclxufVxyXG4iXX0=
@@ -0,0 +1,145 @@
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
+ import * as i1 from "ag-grid-angular";
26
+ export class AXDataGridModule {
27
+ }
28
+ AXDataGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
29
+ AXDataGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridModule, declarations: [AXDataGridComponent,
30
+ AXGridTextColumn,
31
+ AXGridCheckColumn,
32
+ AXGridSelectionColumn,
33
+ AXGridDateColumn,
34
+ AXGridRowNumberColumn,
35
+ AXGridCommandColumn,
36
+ BooleanRenderer,
37
+ BooleanFilterRenderer,
38
+ TextFilterRenderer,
39
+ AXDataGridFilterComponent,
40
+ AXDataGridRowTemplateComponent,
41
+ AXDataGridDetailTemplateComponent,
42
+ AXDataGridRowTemplateRenderer,
43
+ AXDataGridDetailTemplateRenderer,
44
+ AXDataGridCellTemplateComponent,
45
+ AXDataGridCellTemplateRenderer,
46
+ AXDatePickerFilterComponent,
47
+ CommandRenderer], imports: [CommonModule,
48
+ AXCoreModule,
49
+ FormsModule,
50
+ //AgGridModule,
51
+ AXTextBoxModule,
52
+ AXCheckBoxModule,
53
+ AXSelectBoxModule,
54
+ AXDataSourceModule,
55
+ AXButtonModule,
56
+ AXDatePickerModule, i1.AgGridModule], exports: [AXDataGridComponent,
57
+ AXDataGridFilterComponent,
58
+ AXDataGridRowTemplateComponent,
59
+ AXDataGridDetailTemplateComponent,
60
+ AXDataGridRowTemplateRenderer,
61
+ AXDataGridDetailTemplateRenderer,
62
+ AXDataGridCellTemplateComponent,
63
+ AXDataGridCellTemplateRenderer,
64
+ AXGridTextColumn,
65
+ AXGridRowNumberColumn,
66
+ AXGridCheckColumn,
67
+ AXGridDateColumn,
68
+ AXGridSelectionColumn,
69
+ AXGridCommandColumn,
70
+ BooleanRenderer,
71
+ BooleanFilterRenderer,
72
+ CommandRenderer] });
73
+ AXDataGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridModule, providers: [], imports: [[
74
+ CommonModule,
75
+ AXCoreModule,
76
+ FormsModule,
77
+ //AgGridModule,
78
+ AXTextBoxModule,
79
+ AXCheckBoxModule,
80
+ AXSelectBoxModule,
81
+ AXDataSourceModule,
82
+ AXButtonModule,
83
+ AXDatePickerModule,
84
+ AgGridModule.withComponents([AXDatePickerFilterComponent])
85
+ ]] });
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridModule, decorators: [{
87
+ type: NgModule,
88
+ args: [{
89
+ declarations: [
90
+ AXDataGridComponent,
91
+ AXGridTextColumn,
92
+ AXGridCheckColumn,
93
+ AXGridSelectionColumn,
94
+ AXGridDateColumn,
95
+ AXGridRowNumberColumn,
96
+ AXGridCommandColumn,
97
+ BooleanRenderer,
98
+ BooleanFilterRenderer,
99
+ TextFilterRenderer,
100
+ AXDataGridFilterComponent,
101
+ AXDataGridRowTemplateComponent,
102
+ AXDataGridDetailTemplateComponent,
103
+ AXDataGridRowTemplateRenderer,
104
+ AXDataGridDetailTemplateRenderer,
105
+ AXDataGridCellTemplateComponent,
106
+ AXDataGridCellTemplateRenderer,
107
+ AXDatePickerFilterComponent,
108
+ CommandRenderer
109
+ ],
110
+ imports: [
111
+ CommonModule,
112
+ AXCoreModule,
113
+ FormsModule,
114
+ //AgGridModule,
115
+ AXTextBoxModule,
116
+ AXCheckBoxModule,
117
+ AXSelectBoxModule,
118
+ AXDataSourceModule,
119
+ AXButtonModule,
120
+ AXDatePickerModule,
121
+ AgGridModule.withComponents([AXDatePickerFilterComponent])
122
+ ],
123
+ exports: [
124
+ AXDataGridComponent,
125
+ AXDataGridFilterComponent,
126
+ AXDataGridRowTemplateComponent,
127
+ AXDataGridDetailTemplateComponent,
128
+ AXDataGridRowTemplateRenderer,
129
+ AXDataGridDetailTemplateRenderer,
130
+ AXDataGridCellTemplateComponent,
131
+ AXDataGridCellTemplateRenderer,
132
+ AXGridTextColumn,
133
+ AXGridRowNumberColumn,
134
+ AXGridCheckColumn,
135
+ AXGridDateColumn,
136
+ AXGridSelectionColumn,
137
+ AXGridCommandColumn,
138
+ BooleanRenderer,
139
+ BooleanFilterRenderer,
140
+ CommandRenderer
141
+ ],
142
+ providers: []
143
+ }]
144
+ }] });
145
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YWdyaWQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2RhdGEtZ3JpZC9zcmMvbGliL2RhdGEtZ3JpZC9kYXRhZ3JpZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW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XHJcbiAgICAgICAgQVhEYXRhR3JpZEZpbHRlckNvbXBvbmVudCxcclxuICAgICAgICBBWERhdGFHcmlkUm93VGVtcGxhdGVDb21wb25lbnQsXHJcbiAgICAgICAgQVhEYXRhR3JpZERldGFpbFRlbXBsYXRlQ29tcG9uZW50LFxyXG4gICAgICAgIEFYRGF0YUdyaWRSb3dUZW1wbGF0ZVJlbmRlcmVyLFxyXG4gICAgICAgIEFYRGF0YUdyaWREZXRhaWxUZW1wbGF0ZVJlbmRlcmVyLFxyXG4gICAgICAgIEFYRGF0YUdyaWRDZWxsVGVtcGxhdGVDb21wb25lbnQsXHJcbiAgICAgICAgQVhEYXRhR3JpZENlbGxUZW1wbGF0ZVJlbmRlcmVyLFxyXG4gICAgICAgIEFYR3JpZFRleHRDb2x1bW4sXHJcbiAgICAgICAgQVhHcmlkUm93TnVtYmVyQ29sdW1uLFxyXG4gICAgICAgIEFYR3JpZENoZWNrQ29sdW1uLFxyXG4gICAgICAgIEFYR3JpZERhdGVDb2x1bW4sXHJcbiAgICAgICAgQVhHcmlkU2VsZWN0aW9uQ29sdW1uLFxyXG4gICAgICAgIEFYR3JpZENvbW1hbmRDb2x1bW4sXHJcbiAgICAgICAgQm9vbGVhblJlbmRlcmVyLFxyXG4gICAgICAgIEJvb2xlYW5GaWx0ZXJSZW5kZXJlcixcclxuICAgICAgICBDb21tYW5kUmVuZGVyZXJcclxuICAgIF0sXHJcbiAgICBwcm92aWRlcnM6IFtdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBBWERhdGFHcmlkTW9kdWxlIHt9XHJcbiJdfQ==
@@ -0,0 +1,39 @@
1
+ import { Component, ViewEncapsulation } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class AXDataGridFilterComponent {
4
+ }
5
+ AXDataGridFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ AXDataGridFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.10", type: AXDataGridFilterComponent, selector: "ax-data-grid-filter", ngImport: i0, template: `
7
+ <div class='ax-grid-filter-container'>
8
+ <ng-content></ng-content>
9
+ <div class='btn-group' role='group'>
10
+ <button type='button' class='btn btn-primary btn-sm'>
11
+ <i class='fas fa-filter'></i>
12
+ </button>
13
+ <button type='button' class='btn btn-danger btn-sm'>
14
+ <i class='fas fa-trash-alt'></i>
15
+ </button>
16
+ </div>
17
+ </div>
18
+ `, isInline: true, encapsulation: i0.ViewEncapsulation.None });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9kYXRhLWdyaWQvc3JjL2xpYi9kYXRhLWdyaWQvZmlsdGVycy9maWx0ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBb0I3RC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hcHN1bGF0aW9uLk5vbmVcclxufSlcclxuZXhwb3J0IGNsYXNzIEFYRGF0YUdyaWRGaWx0ZXJDb21wb25lbnQge31cclxuIl19
@@ -0,0 +1,53 @@
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
+ constructor() {
6
+ this.renderer = AXDataGridCellTemplateRenderer;
7
+ }
8
+ ngOnInit() {
9
+ this.params = {
10
+ templateRef: this.templateRef
11
+ };
12
+ }
13
+ }
14
+ AXDataGridCellTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridCellTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
15
+ AXDataGridCellTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.10", type: AXDataGridCellTemplateComponent, selector: "ax-cell-template", queries: [{ propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `<ng-content></ng-content>
16
+ `, isInline: true });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridCellTemplateComponent, decorators: [{
18
+ type: Component,
19
+ args: [{
20
+ selector: 'ax-cell-template',
21
+ template: `<ng-content></ng-content>
22
+ `
23
+ }]
24
+ }], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
25
+ type: ContentChild,
26
+ args: [TemplateRef, { static: true }]
27
+ }] } });
28
+ export class AXDataGridCellTemplateRenderer {
29
+ constructor() { }
30
+ agInit(params) {
31
+ this.rowData = params.data;
32
+ this.templateRef = params.templateRef;
33
+ }
34
+ refresh(params) {
35
+ this.rowData = params.data;
36
+ return true;
37
+ }
38
+ }
39
+ AXDataGridCellTemplateRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridCellTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
40
+ AXDataGridCellTemplateRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.10", type: AXDataGridCellTemplateRenderer, selector: "ng-component", ngImport: i0, template: `
41
+ <ng-container *ngTemplateOutlet='templateRef; context: { $implicit: rowData }'>
42
+ </ng-container>
43
+ `, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridCellTemplateRenderer, decorators: [{
45
+ type: Component,
46
+ args: [{
47
+ template: `
48
+ <ng-container *ngTemplateOutlet='templateRef; context: { $implicit: rowData }'>
49
+ </ng-container>
50
+ `
51
+ }]
52
+ }], ctorParameters: function () { return []; } });
53
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VsbC10ZW1wbGF0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvZGF0YS1ncmlkL3NyYy9saWIvZGF0YS1ncmlkL3RlbXBsYXRlcy9jZWxsLXRlbXBsYXRlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxXQUFXLEVBQTJCLE1BQU0sZUFBZSxDQUFDOzs7QUFVOUYsTUFBTSxPQUFPLCtCQUErQjtJQUl4QztRQUNJLElBQUksQ0FBQyxRQUFRLEdBQUcsOEJBQThCLENBQUM7SUFDbkQsQ0FBQztJQUNELFFBQVE7UUFDSixJQUFJLENBQUMsTUFBTSxHQUFHO1lBQ1YsV0FBVyxFQUFFLElBQUksQ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gcm93RGF0YTogYW55O1xyXG4gICAgdGVtcGxhdGVSZWY6IFRlbXBsYXRlUmVmPGFueT47XHJcblxyXG4gICAgY29uc3RydWN0b3IoKSB7IH1cclxuXHJcbiAgICBhZ0luaXQocGFyYW1zOiBJQ2VsbFJlbmRlcmVyUGFyYW1zKTogdm9pZCB7XHJcbiAgICAgICAgdGhpcy5yb3dEYXRhID0gcGFyYW1zLmRhdGE7XHJcbiAgICAgICAgdGhpcy50ZW1wbGF0ZVJlZiA9IChwYXJhbXMgYXMgYW55KS50ZW1wbGF0ZVJlZjtcclxuICAgIH1cclxuXHJcbiAgICByZWZyZXNoKHBhcmFtczogSUNlbGxSZW5kZXJlclBhcmFtcyk6IGJvb2xlYW4ge1xyXG4gICAgICAgIHRoaXMucm93RGF0YSA9IHBhcmFtcy5kYXRhO1xyXG4gICAgICAgIHJldHVybiB0cnVlO1xyXG4gICAgfVxyXG59Il19
@@ -0,0 +1,46 @@
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
+ constructor() {
6
+ this.height = 100;
7
+ this.renderer = AXDataGridDetailTemplateRenderer;
8
+ }
9
+ ngOnInit() {
10
+ this.params = {
11
+ templateRef: this.templateRef
12
+ };
13
+ }
14
+ }
15
+ AXDataGridDetailTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridDetailTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
16
+ AXDataGridDetailTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.10", 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 });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridDetailTemplateComponent, decorators: [{
18
+ type: Component,
19
+ args: [{
20
+ selector: 'ax-grid-detail-template',
21
+ template: `<ng-content></ng-content>`
22
+ }]
23
+ }], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
24
+ type: ContentChild,
25
+ args: [TemplateRef, { static: true }]
26
+ }], height: [{
27
+ type: Input
28
+ }] } });
29
+ export class AXDataGridDetailTemplateRenderer {
30
+ refresh(params) {
31
+ return false;
32
+ }
33
+ agInit(params) {
34
+ this.data = params.data;
35
+ this.templateRef = params.templateRef;
36
+ }
37
+ }
38
+ AXDataGridDetailTemplateRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridDetailTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
+ AXDataGridDetailTemplateRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.10", 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"] }] });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridDetailTemplateRenderer, decorators: [{
41
+ type: Component,
42
+ args: [{
43
+ template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
44
+ }]
45
+ }] });
46
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlsLXRlbXBsYXRlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3Jle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2h0OiBudW1iZXIgPSAxMDA7XHJcbn1cclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgdGVtcGxhdGU6IGA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PSd0ZW1wbGF0ZVJlZjsgY29udGV4dDogeyAkaW1wbGljaXQ6IGRhdGEgfSc+PC9uZy1jb250YWluZXI+YFxyXG59KVxyXG5cclxuZXhwb3J0IGNsYXNzIEFYRGF0YUdyaWREZXRhaWxUZW1wbGF0ZVJlbmRlcmVyIGltcGxlbWVudHMgSUNlbGxSZW5kZXJlckFuZ3VsYXJDb21wIHtcclxuXHJcbiAgICByZWZyZXNoKHBhcmFtczogYW55KTogYm9vbGVhbiB7XHJcbiAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgfVxyXG5cclxuICAgIHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG4gICAgZGF0YTogYW55O1xyXG5cclxuICAgIGFnSW5pdChwYXJhbXM6IGFueSk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMuZGF0YSA9IHBhcmFtcy5kYXRhO1xyXG4gICAgICAgIHRoaXMudGVtcGxhdGVSZWYgPSBwYXJhbXMudGVtcGxhdGVSZWY7XHJcbiAgICB9XHJcbn0iXX0=
@@ -0,0 +1,43 @@
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
+ constructor() {
6
+ this.renderer = AXDataGridRowTemplateRenderer;
7
+ }
8
+ ngOnInit() {
9
+ this.params = {
10
+ templateRef: this.templateRef
11
+ };
12
+ }
13
+ }
14
+ AXDataGridRowTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridRowTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
15
+ AXDataGridRowTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.10", 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 });
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridRowTemplateComponent, decorators: [{
17
+ type: Component,
18
+ args: [{
19
+ selector: 'ax-row-template',
20
+ template: `<ng-content></ng-content>`
21
+ }]
22
+ }], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
23
+ type: ContentChild,
24
+ args: [TemplateRef, { static: true }]
25
+ }] } });
26
+ export class AXDataGridRowTemplateRenderer {
27
+ refresh(params) {
28
+ return false;
29
+ }
30
+ agInit(params) {
31
+ this.data = params.data.callRecords;
32
+ this.templateRef = params.templateRef;
33
+ }
34
+ }
35
+ AXDataGridRowTemplateRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridRowTemplateRenderer, deps: [], target: i0.ɵɵFactoryTarget.Component });
36
+ AXDataGridRowTemplateRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.10", 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"] }] });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataGridRowTemplateRenderer, decorators: [{
38
+ type: Component,
39
+ args: [{
40
+ template: `<ng-container *ngTemplateOutlet='templateRef; context: { $implicit: data }'></ng-container>`
41
+ }]
42
+ }] });
43
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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cbiAgICB0ZW1wbGF0ZTogYDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9J3RlbXBsYXRlUmVmOyBjb250ZXh0OiB7ICRpbXBsaWNpdDogZGF0YSB9Jz48L25nLWNvbnRhaW5lcj5gXHJcbn0pXHJcblxyXG5leHBvcnQgY2xhc3MgQVhEYXRhR3JpZFJvd1RlbXBsYXRlUmVuZGVyZXIgaW1wbGVtZW50cyBJQ2VsbFJlbmRlcmVyQW5ndWxhckNvbXAge1xyXG5cclxuICAgIHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjxhbnk+O1xyXG5cclxuICAgIGRhdGE6IGFueTtcclxuXHJcbiAgICByZWZyZXNoKHBhcmFtczogYW55KTogYm9vbGVhbiB7XHJcbiAgICAgICAgcmV0dXJuIGZhbHNlO1xyXG4gICAgfVxyXG5cclxuICAgIGFnSW5pdChwYXJhbXM6IGFueSk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMuZGF0YSA9IHBhcmFtcy5kYXRhLmNhbGxSZWNvcmRzO1xyXG4gICAgICAgIHRoaXMudGVtcGxhdGVSZWYgPSBwYXJhbXMudGVtcGxhdGVSZWY7XHJcbiAgICB9XHJcbn0iXX0=
@@ -0,0 +1,118 @@
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 "../../data-grid/datagrid.component";
7
+ import * as i2 from "@acorex/components";
8
+ import * as i3 from "../../data-grid/columns/selection-column.component";
9
+ import * as i4 from "@angular/common";
10
+ export class AXDataLovPopupComponent extends AXBasePopupPageComponent {
11
+ constructor(cdr, ref) {
12
+ super();
13
+ this.cdr = cdr;
14
+ this.ref = ref;
15
+ this.columns = [];
16
+ this.selectedItems = [];
17
+ this.keyField = '';
18
+ this.allowNull = true;
19
+ this.rtl = AXConfig.get('layout.rtl');
20
+ this.selectedRows = [];
21
+ }
22
+ ngOnInit() {
23
+ if (this.rtl == null) {
24
+ this.rtl = window.getComputedStyle(this.ref.nativeElement, null).getPropertyValue('direction') === 'rtl';
25
+ }
26
+ }
27
+ onDoneClick() {
28
+ if (this.selectedItems) {
29
+ this.close(this.selectedItems);
30
+ }
31
+ else {
32
+ this.close();
33
+ }
34
+ }
35
+ rowDoubleClicked(e) {
36
+ console.log('s', e.data.data);
37
+ if (this.selectionMode == 'single') {
38
+ this.selectedItems = [];
39
+ }
40
+ this.selectedItems = this.selectedItems.filter((c) => c[this.keyField] != e.data.data[this.keyField]);
41
+ this.selectedItems.push(e.data.data);
42
+ this.onDoneClick();
43
+ }
44
+ onCancelClick() {
45
+ this.close();
46
+ }
47
+ rowSelectionChange(e) {
48
+ if (e.data.node.selected == true) {
49
+ this.selectedItems = this.selectedItems.filter((c) => 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((c) => 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
+ ngAfterViewInit() {
63
+ this.selectedItems.forEach((ele) => {
64
+ this.selectedRows.push(ele);
65
+ });
66
+ this.searchBox.focus();
67
+ if (this.dataSource.onDataReceived) {
68
+ this.dataSource.onDataReceived.subscribe((arg) => {
69
+ this.cdr.markForCheck();
70
+ this.cdr.detectChanges();
71
+ });
72
+ }
73
+ }
74
+ // onValueSearchChanged(e) {
75
+ // const params: AXDataSourceReadParams = {}
76
+ // params.searchText = e.value;
77
+ // // params.take = 100;
78
+ // // params.skip = 0
79
+ // this.dataSource.fetch(params);
80
+ // }
81
+ getFooterButtons() {
82
+ return [
83
+ {
84
+ text: AXTranslator.get('common.confirm'),
85
+ name: 'confirm',
86
+ style: 'ax primary',
87
+ icon: 'far fa-check-circle'
88
+ },
89
+ {
90
+ text: AXTranslator.get('common.cancel'),
91
+ name: 'cancel',
92
+ style: 'ax light',
93
+ icon: 'far fa-times-circle'
94
+ }
95
+ ];
96
+ }
97
+ onFooterButtonClick(e) {
98
+ if (e.name === 'confirm') {
99
+ this.onDoneClick();
100
+ }
101
+ if (e.name === 'cancel') {
102
+ this.onCancelClick();
103
+ }
104
+ }
105
+ }
106
+ AXDataLovPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataLovPopupComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
107
+ AXDataLovPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.10", 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;\">\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>", components: [{ type: i1.AXDataGridComponent, selector: "ax-data-grid", inputs: ["remoteOperation", "rowMultiSelectWithClick", "suppressRowClickSelection", "suppressCellSelection", "sizeColumnsToFit", "showCheckBox", "floatingFilter", "selectionMode", "selectRow", "rowGroupPanelShow", "loadOnInit", "keyField", "hasChildField", "searchText", "filter", "columns", "rowHeight", "dataSource", "groupHideOpenParents", "rowClass", "rtl"], outputs: ["columnsChange", "cellClick", "cellDbClick", "cellFocuse", "rowClick", "rowDbClick", "selectionChanged", "rowSelectionChange", "onRowSelectionChanged"] }, { type: i2.AXToolbarComponent, selector: "ax-toolbar" }, { type: i2.AXToolbarSearchComponent, selector: "ax-toolbar-search", inputs: ["text"], outputs: ["onValueChanged"] }, { type: i3.AXGridSelectionColumn, selector: "ax-selection-column", inputs: ["condition", "pinned", "width"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.10", ngImport: i0, type: AXDataLovPopupComponent, decorators: [{
109
+ type: Component,
110
+ args: [{ 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>" }]
111
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; }, propDecorators: { grid: [{
112
+ type: ViewChild,
113
+ args: ['grid', { static: true }]
114
+ }], searchBox: [{
115
+ type: ViewChild,
116
+ args: ['searchBox']
117
+ }] } });
118
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1sb3YtcG9wdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2RhdGEtZ3JpZC9zcmMvbGliL2RhdGEtbG92L2RhdGEtbG92LXBvcHVwL2RhdGEtbG92LXBvcHVwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9kYXRhLWdyaWQvc3JjL2xpYi9kYXRhLWxvdi9kYXRhLWxvdi1wb3B1cC9kYXRhLWxvdi1wb3B1cC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEYsT0FBTyxFQUFFLG1CQUFtQixFQUFrQyxNQUFNLG9DQUFvQyxDQUFDO0FBRXpHLE9BQU8sRUFBRSxZQUFZLEVBQWdCLFFBQVEsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNwRSxPQUFPLEVBQ0wsd0JBQXdCLEVBQ3hCLHdCQUF3QixFQUl6QixNQUFNLG9CQUFvQixDQUFDOzs7Ozs7QUFLNUIsTUFBTSxPQUFPLHVCQUF3QixTQUFRLHdCQUF3QjtJQW1CbkUsWUFBb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