@firestitch/list 9.9.7 → 9.9.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/classes/actions-controller.d.ts +20 -20
- package/app/classes/columns-controller.d.ts +65 -65
- package/app/classes/data-controller.d.ts +89 -89
- package/app/classes/external-params-controller.d.ts +31 -31
- package/app/classes/index.d.ts +2 -2
- package/app/classes/list-controller.d.ts +166 -166
- package/app/classes/pagination-controller.d.ts +185 -185
- package/app/classes/persistance-controller.d.ts +7 -7
- package/app/classes/reorder-controller.d.ts +56 -56
- package/app/classes/selection-controller.d.ts +141 -141
- package/app/classes/sorting-controller.d.ts +64 -63
- package/app/components/body/body.component.d.ts +29 -29
- package/app/components/body/row/actions/actions.component.d.ts +32 -32
- package/app/components/body/row/cell/cell.component.d.ts +20 -20
- package/app/components/body/row/inline-action/inline-action.component.d.ts +10 -10
- package/app/components/body/row/row.component.d.ts +66 -66
- package/app/components/customize-cols/customize-cols.component.d.ts +14 -14
- package/app/components/footer/footer-row/footer-cell/footer-cell.component.d.ts +4 -4
- package/app/components/footer/footer-row/footer-row.component.d.ts +8 -8
- package/app/components/footer/footer.component.d.ts +8 -8
- package/app/components/head/head-cell/head-cell.component.d.ts +11 -11
- package/app/components/head/head.component.d.ts +40 -40
- package/app/components/list/list.component.d.ts +108 -108
- package/app/components/loader/loader.component.d.ts +11 -11
- package/app/components/manage-saved-filters/manage-saved-filters.component.d.ts +10 -10
- package/app/components/pagination/pagination.component.d.ts +11 -11
- package/app/components/saved-filters/saved-filters.component.d.ts +12 -12
- package/app/components/status/status.component.d.ts +18 -18
- package/app/directives/cell/cell.directive.d.ts +5 -5
- package/app/directives/column/column.directive.d.ts +24 -23
- package/app/directives/draggable-list/draggable-list.directive.d.ts +77 -77
- package/app/directives/draggable-row/draggable-row.directive.d.ts +18 -18
- package/app/directives/empty-state/empty-state.directive.d.ts +2 -2
- package/app/directives/footer/footer.directive.d.ts +5 -5
- package/app/directives/group-cell/group-cell.directive.d.ts +3 -3
- package/app/directives/group-expand-trigger/group-expand-trigger.directive.d.ts +7 -7
- package/app/directives/header/header.directive.d.ts +5 -5
- package/app/enums/button-type.enum.d.ts +7 -7
- package/app/enums/page-change-type.enum.d.ts +4 -4
- package/app/enums/pagination-strategy.enum.d.ts +5 -5
- package/app/enums/row-type.enum.d.ts +5 -5
- package/app/enums/state.enum.d.ts +9 -9
- package/app/fs-list.module.d.ts +6 -6
- package/app/fs-list.providers.d.ts +3 -3
- package/app/interfaces/cellconfig.interface.d.ts +5 -5
- package/app/interfaces/draggable-list.interface.d.ts +7 -7
- package/app/interfaces/external-params.interface.d.ts +13 -13
- package/app/interfaces/index.d.ts +3 -3
- package/app/interfaces/listconfig.interface.d.ts +220 -220
- package/app/interfaces/pagination.interface.d.ts +13 -13
- package/app/models/column.model.d.ts +48 -46
- package/app/models/row/base-row.d.ts +13 -13
- package/app/models/row/child-row.d.ts +12 -12
- package/app/models/row/group-row.d.ts +14 -14
- package/app/models/row/simple-row.d.ts +5 -5
- package/app/models/row-action.model.d.ts +29 -29
- package/app/models/row.d.ts +28 -28
- package/app/models/styleConfig.model.d.ts +31 -31
- package/app/services/group-expand-notifier.service.d.ts +8 -8
- package/bundles/firestitch-list.umd.js +5814 -5784
- package/bundles/firestitch-list.umd.js.map +1 -1
- package/bundles/firestitch-list.umd.min.js +1 -1
- package/bundles/firestitch-list.umd.min.js.map +1 -1
- package/esm2015/app/classes/actions-controller.js +55 -55
- package/esm2015/app/classes/columns-controller.js +185 -185
- package/esm2015/app/classes/data-controller.js +317 -311
- package/esm2015/app/classes/external-params-controller.js +155 -155
- package/esm2015/app/classes/index.js +3 -3
- package/esm2015/app/classes/list-controller.js +730 -730
- package/esm2015/app/classes/pagination-controller.js +461 -461
- package/esm2015/app/classes/persistance-controller.js +22 -22
- package/esm2015/app/classes/reorder-controller.js +161 -161
- package/esm2015/app/classes/selection-controller.js +444 -444
- package/esm2015/app/classes/sorting-controller.js +181 -172
- package/esm2015/app/components/body/body.component.js +103 -103
- package/esm2015/app/components/body/row/actions/actions.component.js +110 -110
- package/esm2015/app/components/body/row/cell/cell.component.js +93 -93
- package/esm2015/app/components/body/row/inline-action/inline-action.component.js +34 -34
- package/esm2015/app/components/body/row/row.component.js +267 -267
- package/esm2015/app/components/customize-cols/customize-cols.component.js +67 -67
- package/esm2015/app/components/footer/footer-row/footer-cell/footer-cell.component.js +18 -18
- package/esm2015/app/components/footer/footer-row/footer-row.component.js +35 -35
- package/esm2015/app/components/footer/footer.component.js +30 -30
- package/esm2015/app/components/head/head-cell/head-cell.component.js +35 -35
- package/esm2015/app/components/head/head.component.js +99 -99
- package/esm2015/app/components/list/list.component.js +357 -357
- package/esm2015/app/components/loader/loader.component.js +46 -46
- package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +75 -75
- package/esm2015/app/components/pagination/pagination.component.js +44 -44
- package/esm2015/app/components/saved-filters/saved-filters.component.js +36 -36
- package/esm2015/app/components/status/status.component.js +77 -77
- package/esm2015/app/directives/cell/cell.directive.js +21 -21
- package/esm2015/app/directives/column/column.directive.js +97 -93
- package/esm2015/app/directives/draggable-list/draggable-list.directive.js +264 -264
- package/esm2015/app/directives/draggable-row/draggable-row.directive.js +81 -81
- package/esm2015/app/directives/empty-state/empty-state.directive.js +11 -11
- package/esm2015/app/directives/footer/footer.directive.js +21 -21
- package/esm2015/app/directives/group-cell/group-cell.directive.js +12 -12
- package/esm2015/app/directives/group-expand-trigger/group-expand-trigger.directive.js +32 -32
- package/esm2015/app/directives/header/header.directive.js +21 -21
- package/esm2015/app/enums/button-type.enum.js +9 -9
- package/esm2015/app/enums/page-change-type.enum.js +6 -6
- package/esm2015/app/enums/pagination-strategy.enum.js +7 -7
- package/esm2015/app/enums/row-type.enum.js +7 -7
- package/esm2015/app/enums/state.enum.js +11 -11
- package/esm2015/app/fs-list.module.js +140 -140
- package/esm2015/app/fs-list.providers.js +4 -4
- package/esm2015/app/interfaces/cellconfig.interface.js +1 -1
- package/esm2015/app/interfaces/draggable-list.interface.js +1 -1
- package/esm2015/app/interfaces/external-params.interface.js +1 -1
- package/esm2015/app/interfaces/index.js +1 -1
- package/esm2015/app/interfaces/listconfig.interface.js +1 -1
- package/esm2015/app/interfaces/pagination.interface.js +1 -1
- package/esm2015/app/models/column.model.js +185 -175
- package/esm2015/app/models/row/base-row.js +23 -23
- package/esm2015/app/models/row/child-row.js +28 -28
- package/esm2015/app/models/row/group-row.js +41 -41
- package/esm2015/app/models/row/simple-row.js +10 -10
- package/esm2015/app/models/row-action.model.js +115 -115
- package/esm2015/app/models/row.js +77 -77
- package/esm2015/app/models/styleConfig.model.js +86 -86
- package/esm2015/app/services/group-expand-notifier.service.js +25 -25
- package/esm2015/firestitch-list.js +17 -17
- package/esm2015/public_api.js +40 -40
- package/esm5/app/classes/actions-controller.js +71 -71
- package/esm5/app/classes/columns-controller.js +236 -236
- package/esm5/app/classes/data-controller.js +373 -365
- package/esm5/app/classes/external-params-controller.js +185 -185
- package/esm5/app/classes/index.js +3 -3
- package/esm5/app/classes/list-controller.js +749 -749
- package/esm5/app/classes/pagination-controller.js +568 -568
- package/esm5/app/classes/persistance-controller.js +25 -25
- package/esm5/app/classes/reorder-controller.js +195 -195
- package/esm5/app/classes/selection-controller.js +465 -465
- package/esm5/app/classes/sorting-controller.js +204 -195
- package/esm5/app/components/body/body.component.js +104 -104
- package/esm5/app/components/body/row/actions/actions.component.js +113 -113
- package/esm5/app/components/body/row/cell/cell.component.js +95 -95
- package/esm5/app/components/body/row/inline-action/inline-action.component.js +35 -35
- package/esm5/app/components/body/row/row.component.js +295 -295
- package/esm5/app/components/customize-cols/customize-cols.component.js +69 -69
- package/esm5/app/components/footer/footer-row/footer-cell/footer-cell.component.js +20 -20
- package/esm5/app/components/footer/footer-row/footer-row.component.js +38 -38
- package/esm5/app/components/footer/footer.component.js +31 -31
- package/esm5/app/components/head/head-cell/head-cell.component.js +38 -38
- package/esm5/app/components/head/head.component.js +106 -106
- package/esm5/app/components/list/list.component.js +391 -391
- package/esm5/app/components/loader/loader.component.js +47 -47
- package/esm5/app/components/manage-saved-filters/manage-saved-filters.component.js +81 -81
- package/esm5/app/components/pagination/pagination.component.js +46 -46
- package/esm5/app/components/saved-filters/saved-filters.component.js +41 -41
- package/esm5/app/components/status/status.component.js +79 -79
- package/esm5/app/directives/cell/cell.directive.js +24 -24
- package/esm5/app/directives/column/column.directive.js +98 -94
- package/esm5/app/directives/draggable-list/draggable-list.directive.js +281 -281
- package/esm5/app/directives/draggable-row/draggable-row.directive.js +83 -83
- package/esm5/app/directives/empty-state/empty-state.directive.js +14 -14
- package/esm5/app/directives/footer/footer.directive.js +24 -24
- package/esm5/app/directives/group-cell/group-cell.directive.js +17 -17
- package/esm5/app/directives/group-expand-trigger/group-expand-trigger.directive.js +33 -33
- package/esm5/app/directives/header/header.directive.js +24 -24
- package/esm5/app/enums/button-type.enum.js +9 -9
- package/esm5/app/enums/page-change-type.enum.js +6 -6
- package/esm5/app/enums/pagination-strategy.enum.js +7 -7
- package/esm5/app/enums/row-type.enum.js +7 -7
- package/esm5/app/enums/state.enum.js +11 -11
- package/esm5/app/fs-list.module.js +145 -145
- package/esm5/app/fs-list.providers.js +4 -4
- package/esm5/app/interfaces/cellconfig.interface.js +1 -1
- package/esm5/app/interfaces/draggable-list.interface.js +1 -1
- package/esm5/app/interfaces/external-params.interface.js +1 -1
- package/esm5/app/interfaces/index.js +1 -1
- package/esm5/app/interfaces/listconfig.interface.js +1 -1
- package/esm5/app/interfaces/pagination.interface.js +1 -1
- package/esm5/app/models/column.model.js +204 -194
- package/esm5/app/models/row/base-row.js +35 -35
- package/esm5/app/models/row/child-row.js +43 -43
- package/esm5/app/models/row/group-row.js +61 -61
- package/esm5/app/models/row/simple-row.js +15 -15
- package/esm5/app/models/row-action.model.js +126 -126
- package/esm5/app/models/row.js +126 -126
- package/esm5/app/models/styleConfig.model.js +91 -91
- package/esm5/app/services/group-expand-notifier.service.js +30 -30
- package/esm5/firestitch-list.js +17 -17
- package/esm5/public_api.js +40 -40
- package/fesm2015/firestitch-list.js +5174 -5146
- package/fesm2015/firestitch-list.js.map +1 -1
- package/fesm5/firestitch-list.js +5799 -5769
- package/fesm5/firestitch-list.js.map +1 -1
- package/firestitch-list.d.ts +18 -18
- package/firestitch-list.metadata.json +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +33 -33
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { __decorate, __metadata, __param } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
|
|
3
|
-
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import { takeUntil } from 'rxjs/operators';
|
|
6
|
-
var CustomizeColsDialogComponent = /** @class */ (function () {
|
|
7
|
-
function CustomizeColsDialogComponent(data, _dialog) {
|
|
8
|
-
this._dialog = _dialog;
|
|
9
|
-
this.columns = [];
|
|
10
|
-
this.saveDisabled = false;
|
|
11
|
-
this._destroy$ = new Subject();
|
|
12
|
-
this.columns = data.columns;
|
|
13
|
-
this._changeFn = data.changeFn;
|
|
14
|
-
}
|
|
15
|
-
CustomizeColsDialogComponent.prototype.ngOnDestroy = function () {
|
|
16
|
-
this._destroy$.next();
|
|
17
|
-
this._destroy$.complete();
|
|
18
|
-
};
|
|
19
|
-
CustomizeColsDialogComponent.prototype.visibilityChange = function (event, column) {
|
|
20
|
-
column.show = event.checked;
|
|
21
|
-
};
|
|
22
|
-
CustomizeColsDialogComponent.prototype.save = function () {
|
|
23
|
-
var _this = this;
|
|
24
|
-
var data = this.columns
|
|
25
|
-
.filter(function (column) { return !!column.name; })
|
|
26
|
-
.map(function (column) {
|
|
27
|
-
return {
|
|
28
|
-
name: column.name,
|
|
29
|
-
show: column.show,
|
|
30
|
-
};
|
|
31
|
-
});
|
|
32
|
-
this.saveDisabled = true;
|
|
33
|
-
var changed = this._changeFn(data);
|
|
34
|
-
if (changed instanceof Observable) {
|
|
35
|
-
changed
|
|
36
|
-
.pipe(takeUntil(this._destroy$))
|
|
37
|
-
.subscribe({
|
|
38
|
-
next: function () {
|
|
39
|
-
_this._dialog.close(_this.columns);
|
|
40
|
-
},
|
|
41
|
-
error: function () {
|
|
42
|
-
_this.saveDisabled = false;
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
this._dialog.close(this.columns);
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
CustomizeColsDialogComponent.prototype.cancel = function () {
|
|
51
|
-
this._dialog.close();
|
|
52
|
-
};
|
|
53
|
-
CustomizeColsDialogComponent.ctorParameters = function () { return [
|
|
54
|
-
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
|
|
55
|
-
{ type: MatDialogRef }
|
|
56
|
-
]; };
|
|
57
|
-
CustomizeColsDialogComponent = __decorate([
|
|
58
|
-
Component({
|
|
59
|
-
template: "<h1 matDialogTitle>Customize Columns</h1>\
|
|
60
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
61
|
-
styles: [".mat-checkbox{min-height:32px;display:block}.mat-icon{font-size:14px;height:14px;width:14px;vertical-align:middle}"]
|
|
62
|
-
}),
|
|
63
|
-
__param(0, Inject(MAT_DIALOG_DATA)),
|
|
64
|
-
__metadata("design:paramtypes", [Object, MatDialogRef])
|
|
65
|
-
], CustomizeColsDialogComponent);
|
|
66
|
-
return CustomizeColsDialogComponent;
|
|
67
|
-
}());
|
|
68
|
-
export { CustomizeColsDialogComponent };
|
|
69
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { __decorate, __metadata, __param } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
|
|
3
|
+
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
|
5
|
+
import { takeUntil } from 'rxjs/operators';
|
|
6
|
+
var CustomizeColsDialogComponent = /** @class */ (function () {
|
|
7
|
+
function CustomizeColsDialogComponent(data, _dialog) {
|
|
8
|
+
this._dialog = _dialog;
|
|
9
|
+
this.columns = [];
|
|
10
|
+
this.saveDisabled = false;
|
|
11
|
+
this._destroy$ = new Subject();
|
|
12
|
+
this.columns = data.columns;
|
|
13
|
+
this._changeFn = data.changeFn;
|
|
14
|
+
}
|
|
15
|
+
CustomizeColsDialogComponent.prototype.ngOnDestroy = function () {
|
|
16
|
+
this._destroy$.next();
|
|
17
|
+
this._destroy$.complete();
|
|
18
|
+
};
|
|
19
|
+
CustomizeColsDialogComponent.prototype.visibilityChange = function (event, column) {
|
|
20
|
+
column.show = event.checked;
|
|
21
|
+
};
|
|
22
|
+
CustomizeColsDialogComponent.prototype.save = function () {
|
|
23
|
+
var _this = this;
|
|
24
|
+
var data = this.columns
|
|
25
|
+
.filter(function (column) { return !!column.name; })
|
|
26
|
+
.map(function (column) {
|
|
27
|
+
return {
|
|
28
|
+
name: column.name,
|
|
29
|
+
show: column.show,
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
this.saveDisabled = true;
|
|
33
|
+
var changed = this._changeFn(data);
|
|
34
|
+
if (changed instanceof Observable) {
|
|
35
|
+
changed
|
|
36
|
+
.pipe(takeUntil(this._destroy$))
|
|
37
|
+
.subscribe({
|
|
38
|
+
next: function () {
|
|
39
|
+
_this._dialog.close(_this.columns);
|
|
40
|
+
},
|
|
41
|
+
error: function () {
|
|
42
|
+
_this.saveDisabled = false;
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
this._dialog.close(this.columns);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
CustomizeColsDialogComponent.prototype.cancel = function () {
|
|
51
|
+
this._dialog.close();
|
|
52
|
+
};
|
|
53
|
+
CustomizeColsDialogComponent.ctorParameters = function () { return [
|
|
54
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
|
|
55
|
+
{ type: MatDialogRef }
|
|
56
|
+
]; };
|
|
57
|
+
CustomizeColsDialogComponent = __decorate([
|
|
58
|
+
Component({
|
|
59
|
+
template: "<h1 matDialogTitle>Customize Columns</h1>\n<mat-dialog-content>\n <div *ngFor=\"let column of columns\">\n <mat-checkbox [checked]=\"column.show\" (change)=\"visibilityChange($event, column)\" [disabled]=\"column.disabled\">\n <ng-container *ngIf=\"!column.title; else titleLable\">\n <ng-template [ngTemplateOutlet]=\"column.template\"></ng-template>\n </ng-container>\n <ng-template #titleLable>\n {{ column.title }}\n </ng-template>\n\n <ng-container *ngIf=\"column.tooltip\">\n <mat-icon [matTooltip]=\"column.tooltip\">\n help\n </mat-icon>\n </ng-container>\n </mat-checkbox>\n </div>\n</mat-dialog-content>\n<mat-dialog-actions>\n <button type=\"button\" mat-button color=\"primary\" (click)=\"save()\" [disabled]=\"saveDisabled\">Save</button>\n <button type=\"button\" mat-button (click)=\"cancel()\">Cancel</button>\n</mat-dialog-actions>\n",
|
|
60
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
61
|
+
styles: [".mat-checkbox{min-height:32px;display:block}.mat-icon{font-size:14px;height:14px;width:14px;vertical-align:middle}"]
|
|
62
|
+
}),
|
|
63
|
+
__param(0, Inject(MAT_DIALOG_DATA)),
|
|
64
|
+
__metadata("design:paramtypes", [Object, MatDialogRef])
|
|
65
|
+
], CustomizeColsDialogComponent);
|
|
66
|
+
return CustomizeColsDialogComponent;
|
|
67
|
+
}());
|
|
68
|
+
export { CustomizeColsDialogComponent };
|
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9taXplLWNvbHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGZpcmVzdGl0Y2gvbGlzdC8iLCJzb3VyY2VzIjpbImFwcC9jb21wb25lbnRzL2N1c3RvbWl6ZS1jb2xzL2N1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ICAgICAgICAgIHRoaXMuX2RpYWxvZy5jbG9zZSh0aGlzLmNvbHVtbnMpO1xuICAgICAgICAgIH0sXG4gICAgICAgICAgZXJyb3I6ICgpID0+IHtcbiAgICAgICAgICAgIHRoaXMuc2F2ZURpc2FibGVkID0gZmFsc2U7XG4gICAgICAgICAgfSxcbiAgICAgICAgfSlcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5fZGlhbG9nLmNsb3NlKHRoaXMuY29sdW1ucyk7XG4gICAgfVxuICB9XG5cbiAgcHVibGljIGNhbmNlbCgpIHtcbiAgICB0aGlzLl9kaWFsb2cuY2xvc2UoKTtcbiAgfVxufVxuIl19
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { __decorate, __extends, __metadata } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { FsCellComponent } from '../../../body/row/cell/cell.component';
|
|
4
|
-
var FsFooterCellComponent = /** @class */ (function (_super) {
|
|
5
|
-
__extends(FsFooterCellComponent, _super);
|
|
6
|
-
function FsFooterCellComponent() {
|
|
7
|
-
return _super.call(this) || this;
|
|
8
|
-
}
|
|
9
|
-
FsFooterCellComponent = __decorate([
|
|
10
|
-
Component({
|
|
11
|
-
selector: '[fs-list-footer-cell]',
|
|
12
|
-
template: "<ng-template [ngTemplateOutlet]=\"column.footerTemplate || cell\" [ngTemplateOutletContext]=\"cellContext\"></ng-template>\
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
14
|
-
}),
|
|
15
|
-
__metadata("design:paramtypes", [])
|
|
16
|
-
], FsFooterCellComponent);
|
|
17
|
-
return FsFooterCellComponent;
|
|
18
|
-
}(FsCellComponent));
|
|
19
|
-
export { FsFooterCellComponent };
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { __decorate, __extends, __metadata } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { FsCellComponent } from '../../../body/row/cell/cell.component';
|
|
4
|
+
var FsFooterCellComponent = /** @class */ (function (_super) {
|
|
5
|
+
__extends(FsFooterCellComponent, _super);
|
|
6
|
+
function FsFooterCellComponent() {
|
|
7
|
+
return _super.call(this) || this;
|
|
8
|
+
}
|
|
9
|
+
FsFooterCellComponent = __decorate([
|
|
10
|
+
Component({
|
|
11
|
+
selector: '[fs-list-footer-cell]',
|
|
12
|
+
template: "<ng-template [ngTemplateOutlet]=\"column.footerTemplate || cell\" [ngTemplateOutletContext]=\"cellContext\"></ng-template>\n\n<ng-template #cell let-value=\"value\">\n {{value}}\n</ng-template>\n",
|
|
13
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
14
|
+
}),
|
|
15
|
+
__metadata("design:paramtypes", [])
|
|
16
|
+
], FsFooterCellComponent);
|
|
17
|
+
return FsFooterCellComponent;
|
|
18
|
+
}(FsCellComponent));
|
|
19
|
+
export { FsFooterCellComponent };
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLWNlbGwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGZpcmVzdGl0Y2gvbGlzdC8iLCJzb3VyY2VzIjpbImFwcC9jb21wb25lbnRzL2Zvb3Rlci9mb290ZXItcm93L2Zvb3Rlci1jZWxsL2Zvb3Rlci1jZWxsLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sdUNBQXVDLENBQUM7QUFReEU7SUFBMkMseUNBQWU7SUFFeEQ7ZUFDRSxpQkFBTztJQUNULENBQUM7SUFKVSxxQkFBcUI7UUFMakMsU0FBUyxDQUFDO1lBQ1QsUUFBUSxFQUFFLHVCQUF1QjtZQUNqQyxnTkFBeUM7WUFDekMsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07U0FDaEQsQ0FBQzs7T0FDVyxxQkFBcUIsQ0FLakM7SUFBRCw0QkFBQztDQUFBLEFBTEQsQ0FBMkMsZUFBZSxHQUt6RDtTQUxZLHFCQUFxQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEZzQ2VsbENvbXBvbmVudCB9IGZyb20gJy4uLy4uLy4uL2JvZHkvcm93L2NlbGwvY2VsbC5jb21wb25lbnQnO1xuXG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ1tmcy1saXN0LWZvb3Rlci1jZWxsXScsXG4gIHRlbXBsYXRlVXJsOiAnZm9vdGVyLWNlbGwuY29tcG9uZW50Lmh0bWwnLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGc0Zvb3RlckNlbGxDb21wb25lbnQgZXh0ZW5kcyBGc0NlbGxDb21wb25lbnQge1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKClcbiAgfVxufVxuIl19
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { __decorate, __extends, __metadata } from "tslib";
|
|
2
|
-
import { Component, Input, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, KeyValueDiffers, Renderer2, } from '@angular/core';
|
|
3
|
-
import { FsRowComponent } from '../../body/row/row.component';
|
|
4
|
-
import { ReorderController, ReorderPosition } from '../../../classes/reorder-controller';
|
|
5
|
-
var FsFooterRowComponent = /** @class */ (function (_super) {
|
|
6
|
-
__extends(FsFooterRowComponent, _super);
|
|
7
|
-
function FsFooterRowComponent(el, reorderController, cdRef, differs, renderer) {
|
|
8
|
-
var _this = _super.call(this, el, reorderController, cdRef, differs, renderer, null) || this;
|
|
9
|
-
_this.ReorderPosition = ReorderPosition;
|
|
10
|
-
return _this;
|
|
11
|
-
}
|
|
12
|
-
FsFooterRowComponent.ctorParameters = function () { return [
|
|
13
|
-
{ type: ElementRef },
|
|
14
|
-
{ type: ReorderController },
|
|
15
|
-
{ type: ChangeDetectorRef },
|
|
16
|
-
{ type: KeyValueDiffers },
|
|
17
|
-
{ type: Renderer2 }
|
|
18
|
-
]; };
|
|
19
|
-
__decorate([
|
|
20
|
-
Input(),
|
|
21
|
-
__metadata("design:type", Boolean)
|
|
22
|
-
], FsFooterRowComponent.prototype, "hasRowActions", void 0);
|
|
23
|
-
FsFooterRowComponent = __decorate([
|
|
24
|
-
Component({
|
|
25
|
-
selector: '[fs-list-footer-row]',
|
|
26
|
-
template: "<td *ngIf=\"reorderController.leftReorderActivated$ | async\" class=\"fs-list-col drag-col\"></td>\
|
|
27
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
28
|
-
}),
|
|
29
|
-
__metadata("design:paramtypes", [ElementRef,
|
|
30
|
-
ReorderController,
|
|
31
|
-
ChangeDetectorRef,
|
|
32
|
-
KeyValueDiffers,
|
|
33
|
-
Renderer2])
|
|
34
|
-
], FsFooterRowComponent);
|
|
35
|
-
return FsFooterRowComponent;
|
|
36
|
-
}(FsRowComponent));
|
|
37
|
-
export { FsFooterRowComponent };
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { __decorate, __extends, __metadata } from "tslib";
|
|
2
|
+
import { Component, Input, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, KeyValueDiffers, Renderer2, } from '@angular/core';
|
|
3
|
+
import { FsRowComponent } from '../../body/row/row.component';
|
|
4
|
+
import { ReorderController, ReorderPosition } from '../../../classes/reorder-controller';
|
|
5
|
+
var FsFooterRowComponent = /** @class */ (function (_super) {
|
|
6
|
+
__extends(FsFooterRowComponent, _super);
|
|
7
|
+
function FsFooterRowComponent(el, reorderController, cdRef, differs, renderer) {
|
|
8
|
+
var _this = _super.call(this, el, reorderController, cdRef, differs, renderer, null) || this;
|
|
9
|
+
_this.ReorderPosition = ReorderPosition;
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
FsFooterRowComponent.ctorParameters = function () { return [
|
|
13
|
+
{ type: ElementRef },
|
|
14
|
+
{ type: ReorderController },
|
|
15
|
+
{ type: ChangeDetectorRef },
|
|
16
|
+
{ type: KeyValueDiffers },
|
|
17
|
+
{ type: Renderer2 }
|
|
18
|
+
]; };
|
|
19
|
+
__decorate([
|
|
20
|
+
Input(),
|
|
21
|
+
__metadata("design:type", Boolean)
|
|
22
|
+
], FsFooterRowComponent.prototype, "hasRowActions", void 0);
|
|
23
|
+
FsFooterRowComponent = __decorate([
|
|
24
|
+
Component({
|
|
25
|
+
selector: '[fs-list-footer-row]',
|
|
26
|
+
template: "<td *ngIf=\"reorderController.leftReorderActivated$ | async\" class=\"fs-list-col drag-col\"></td>\n\n<td *ngIf=\"selection\" class=\"fs-list-col fs-list-col-selection\"></td>\n<ng-container *ngFor=\"let column of columns; trackBy: trackByFn\">\n <td fs-list-footer-cell\n *ngIf=\"!column.footerColspanned\"\n [column]=\"column\"\n [row]=\"row\"\n [rowIndex]=\"rowIndex\"\n [ngClass]=\"column.footerConfigs.classesArray\"\n [attr.colspan]=\"column.footerConfigs.colspan\"\n [attr.width]=\"column.width\">\n </td>\n</ng-container>\n\n<!-- Drag -->\n<td *ngIf=\"reorderController.rightReorderActivated$ | async\" class=\"fs-list-col row-actions\"></td>\n\n<!-- Row Actions -->\n<td *ngIf=\"hasRowActions && !(reorderController.enabled && reorderController.strategy === ReorderStrategy.Manual)\" class=\"fs-list-col drag-col\"></td>\n",
|
|
27
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
28
|
+
}),
|
|
29
|
+
__metadata("design:paramtypes", [ElementRef,
|
|
30
|
+
ReorderController,
|
|
31
|
+
ChangeDetectorRef,
|
|
32
|
+
KeyValueDiffers,
|
|
33
|
+
Renderer2])
|
|
34
|
+
], FsFooterRowComponent);
|
|
35
|
+
return FsFooterRowComponent;
|
|
36
|
+
}(FsRowComponent));
|
|
37
|
+
export { FsFooterRowComponent };
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLXJvdy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZmlyZXN0aXRjaC9saXN0LyIsInNvdXJjZXMiOlsiYXBwL2NvbXBvbmVudHMvZm9vdGVyL2Zvb3Rlci1yb3cvZm9vdGVyLXJvdy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsS0FBSyxFQUNMLHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsVUFBVSxFQUNWLGVBQWUsRUFDZixTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQzlELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxlQUFlLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQVF6RjtJQUEwQyx3Q0FBYztJQUt0RCw4QkFDRSxFQUFjLEVBQ2QsaUJBQW9DLEVBQ3BDLEtBQXdCLEVBQ3hCLE9BQXdCLEVBQ3hCLFFBQW1CO1FBTHJCLFlBT0Usa0JBQU0sRUFBRSxFQUFFLGlCQUFpQixFQUFFLEtBQUssRUFBRSxPQUFPLEVBQUUsUUFBUSxFQUFFLElBQUksQ0FBQyxTQUM3RDtRQVZlLHFCQUFlLEdBQUcsZUFBZSxDQUFDOztJQVVsRCxDQUFDOztnQkFQSyxVQUFVO2dCQUNLLGlCQUFpQjtnQkFDN0IsaUJBQWlCO2dCQUNmLGVBQWU7Z0JBQ2QsU0FBUzs7SUFUWjtRQUFSLEtBQUssRUFBRTs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CkgaGFzUm93QWN0aW9uczogYm9vbGVhbjtcblxuICBwdWJsaWMgcmVhZG9ubHkgUmVvcmRlclBvc2l0aW9uID0gUmVvcmRlclBvc2l0aW9uO1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIGVsOiBFbGVtZW50UmVmLFxuICAgIHJlb3JkZXJDb250cm9sbGVyOiBSZW9yZGVyQ29udHJvbGxlcixcbiAgICBjZFJlZjogQ2hhbmdlRGV0ZWN0b3JSZWYsXG4gICAgZGlmZmVyczogS2V5VmFsdWVEaWZmZXJzLFxuICAgIHJlbmRlcmVyOiBSZW5kZXJlcjJcbiAgKSB7XG4gICAgc3VwZXIoZWwsIHJlb3JkZXJDb250cm9sbGVyLCBjZFJlZiwgZGlmZmVycywgcmVuZGVyZXIsIG51bGwpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
3
|
-
import { SelectionController } from '../../classes/selection-controller';
|
|
4
|
-
var FsFooterComponent = /** @class */ (function () {
|
|
5
|
-
function FsFooterComponent() {
|
|
6
|
-
this.columns = [];
|
|
7
|
-
}
|
|
8
|
-
__decorate([
|
|
9
|
-
Input(),
|
|
10
|
-
__metadata("design:type", Boolean)
|
|
11
|
-
], FsFooterComponent.prototype, "hasRowActions", void 0);
|
|
12
|
-
__decorate([
|
|
13
|
-
Input(),
|
|
14
|
-
__metadata("design:type", Array)
|
|
15
|
-
], FsFooterComponent.prototype, "columns", void 0);
|
|
16
|
-
__decorate([
|
|
17
|
-
Input(),
|
|
18
|
-
__metadata("design:type", SelectionController)
|
|
19
|
-
], FsFooterComponent.prototype, "selection", void 0);
|
|
20
|
-
FsFooterComponent = __decorate([
|
|
21
|
-
Component({
|
|
22
|
-
selector: '[fs-list-footer]',
|
|
23
|
-
template: "<tr fs-list-footer-row\
|
|
24
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
25
|
-
}),
|
|
26
|
-
__metadata("design:paramtypes", [])
|
|
27
|
-
], FsFooterComponent);
|
|
28
|
-
return FsFooterComponent;
|
|
29
|
-
}());
|
|
30
|
-
export { FsFooterComponent };
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
3
|
+
import { SelectionController } from '../../classes/selection-controller';
|
|
4
|
+
var FsFooterComponent = /** @class */ (function () {
|
|
5
|
+
function FsFooterComponent() {
|
|
6
|
+
this.columns = [];
|
|
7
|
+
}
|
|
8
|
+
__decorate([
|
|
9
|
+
Input(),
|
|
10
|
+
__metadata("design:type", Boolean)
|
|
11
|
+
], FsFooterComponent.prototype, "hasRowActions", void 0);
|
|
12
|
+
__decorate([
|
|
13
|
+
Input(),
|
|
14
|
+
__metadata("design:type", Array)
|
|
15
|
+
], FsFooterComponent.prototype, "columns", void 0);
|
|
16
|
+
__decorate([
|
|
17
|
+
Input(),
|
|
18
|
+
__metadata("design:type", SelectionController)
|
|
19
|
+
], FsFooterComponent.prototype, "selection", void 0);
|
|
20
|
+
FsFooterComponent = __decorate([
|
|
21
|
+
Component({
|
|
22
|
+
selector: '[fs-list-footer]',
|
|
23
|
+
template: "<tr fs-list-footer-row\n [columns]=\"columns\"\n [hasRowActions]=\"hasRowActions\"\n [selection]=\"selection\"\n></tr>\n",
|
|
24
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
25
|
+
}),
|
|
26
|
+
__metadata("design:paramtypes", [])
|
|
27
|
+
], FsFooterComponent);
|
|
28
|
+
return FsFooterComponent;
|
|
29
|
+
}());
|
|
30
|
+
export { FsFooterComponent };
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BmaXJlc3RpdGN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ZW1wbGF0ZVVybDogJ2Zvb3Rlci5jb21wb25lbnQuaHRtbCcsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEZzRm9vdGVyQ29tcG9uZW50IHtcblxuICBASW5wdXQoKSBoYXNSb3dBY3Rpb25zOiBib29sZWFuO1xuICBASW5wdXQoKSBjb2x1bW5zOiBDb2x1bW5bXSA9IFtdO1xuICBASW5wdXQoKSBzZWxlY3Rpb246IFNlbGVjdGlvbkNvbnRyb2xsZXI7XG5cbiAgY29uc3RydWN0b3IoKSB7fVxufVxuIl19
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { __decorate, __extends, __metadata } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, DoCheck, KeyValueDiffer, KeyValueDiffers, } from '@angular/core';
|
|
3
|
-
import { FsCellComponent } from '../../body/row/cell/cell.component';
|
|
4
|
-
var FsHeadCellComponent = /** @class */ (function (_super) {
|
|
5
|
-
__extends(FsHeadCellComponent, _super);
|
|
6
|
-
function FsHeadCellComponent(cdRef, differs) {
|
|
7
|
-
var _this = _super.call(this) || this;
|
|
8
|
-
_this.cdRef = cdRef;
|
|
9
|
-
_this.differs = differs;
|
|
10
|
-
_this.cellContext = {};
|
|
11
|
-
_this._columnDiffer = differs.find({}).create();
|
|
12
|
-
return _this;
|
|
13
|
-
}
|
|
14
|
-
FsHeadCellComponent.prototype.ngDoCheck = function () {
|
|
15
|
-
if (this._columnDiffer.diff(this.column)) {
|
|
16
|
-
this.cdRef.markForCheck();
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
FsHeadCellComponent.prototype.initCellContext = function () {
|
|
20
|
-
this.cellContext.value = this.column.title;
|
|
21
|
-
};
|
|
22
|
-
FsHeadCellComponent.ctorParameters = function () { return [
|
|
23
|
-
{ type: ChangeDetectorRef },
|
|
24
|
-
{ type: KeyValueDiffers }
|
|
25
|
-
]; };
|
|
26
|
-
FsHeadCellComponent = __decorate([
|
|
27
|
-
Component({
|
|
28
|
-
selector: '[fs-head-cell]',
|
|
29
|
-
template: "<div class=\"wrap\">\
|
|
30
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
31
|
-
}),
|
|
32
|
-
__metadata("design:paramtypes", [ChangeDetectorRef,
|
|
33
|
-
KeyValueDiffers])
|
|
34
|
-
], FsHeadCellComponent);
|
|
35
|
-
return FsHeadCellComponent;
|
|
36
|
-
}(FsCellComponent));
|
|
37
|
-
export { FsHeadCellComponent };
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { __decorate, __extends, __metadata } from "tslib";
|
|
2
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, DoCheck, KeyValueDiffer, KeyValueDiffers, } from '@angular/core';
|
|
3
|
+
import { FsCellComponent } from '../../body/row/cell/cell.component';
|
|
4
|
+
var FsHeadCellComponent = /** @class */ (function (_super) {
|
|
5
|
+
__extends(FsHeadCellComponent, _super);
|
|
6
|
+
function FsHeadCellComponent(cdRef, differs) {
|
|
7
|
+
var _this = _super.call(this) || this;
|
|
8
|
+
_this.cdRef = cdRef;
|
|
9
|
+
_this.differs = differs;
|
|
10
|
+
_this.cellContext = {};
|
|
11
|
+
_this._columnDiffer = differs.find({}).create();
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
FsHeadCellComponent.prototype.ngDoCheck = function () {
|
|
15
|
+
if (this._columnDiffer.diff(this.column)) {
|
|
16
|
+
this.cdRef.markForCheck();
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
FsHeadCellComponent.prototype.initCellContext = function () {
|
|
20
|
+
this.cellContext.value = this.column.title;
|
|
21
|
+
};
|
|
22
|
+
FsHeadCellComponent.ctorParameters = function () { return [
|
|
23
|
+
{ type: ChangeDetectorRef },
|
|
24
|
+
{ type: KeyValueDiffers }
|
|
25
|
+
]; };
|
|
26
|
+
FsHeadCellComponent = __decorate([
|
|
27
|
+
Component({
|
|
28
|
+
selector: '[fs-head-cell]',
|
|
29
|
+
template: "<div class=\"wrap\">\n <span class=\"title\">\n <ng-template [ngIf]=\"!column.headerTemplate\">{{column.title}}</ng-template>\n <ng-template\n [ngIf]=\"column.headerTemplate\"\n [ngTemplateOutlet]=\"column.headerTemplate\"\n [ngTemplateOutletContext]=\"cellContext\">\n </ng-template>\n </span>\n <div class=\"direction\" *ngIf=\"column.ordered\" [ngSwitch]=\"column.sortingDirection\">\n <mat-icon class=\"material-icons\" role=\"img\" aria-label=\"arrow_downward\" *ngSwitchCase=\"'asc'\">arrow_downward</mat-icon>\n <mat-icon class=\"material-icons\" role=\"img\" aria-label=\"arrow_upward\" *ngSwitchCase=\"'desc'\">arrow_upward</mat-icon>\n </div>\n</div>\n",
|
|
30
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
31
|
+
}),
|
|
32
|
+
__metadata("design:paramtypes", [ChangeDetectorRef,
|
|
33
|
+
KeyValueDiffers])
|
|
34
|
+
], FsHeadCellComponent);
|
|
35
|
+
return FsHeadCellComponent;
|
|
36
|
+
}(FsCellComponent));
|
|
37
|
+
export { FsHeadCellComponent };
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZC1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BmaXJlc3RpdGNoL2xpc3QvIiwic291cmNlcyI6WyJhcHAvY29tcG9uZW50cy9oZWFkL2hlYWQtY2VsbC9oZWFkLWNlbGwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsT0FBTyxFQUNQLGNBQWMsRUFDZCxlQUFlLEdBQ2hCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU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