@firestitch/list 12.15.1 → 12.16.0
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 +71 -71
- package/app/classes/data-controller.d.ts +91 -91
- 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 +179 -179
- package/app/classes/pagination-controller.d.ts +189 -189
- package/app/classes/persistance-controller.d.ts +10 -10
- package/app/classes/reorder-controller.d.ts +68 -68
- package/app/classes/selection-controller.d.ts +146 -146
- package/app/classes/sorting-controller.d.ts +64 -64
- package/app/components/body/body.component.d.ts +29 -29
- package/app/components/body/row/actions/actions.component.d.ts +34 -34
- package/app/components/body/row/cell/cell.component.d.ts +22 -22
- package/app/components/body/row/inline-action/inline-action.component.d.ts +16 -16
- package/app/components/body/row/menu-action/menu-action.component.d.ts +20 -20
- package/app/components/body/row/row.component.d.ts +80 -80
- package/app/components/customize-cols/customize-cols.component.d.ts +17 -17
- package/app/components/footer/footer-row/footer-cell/footer-cell.component.d.ts +7 -7
- package/app/components/footer/footer-row/footer-row.component.d.ts +14 -14
- package/app/components/footer/footer.component.d.ts +16 -16
- package/app/components/head/head-cell/head-cell.component.d.ts +14 -14
- package/app/components/head/head.component.d.ts +47 -47
- package/app/components/list/list.component.d.ts +122 -122
- package/app/components/loader/loader.component.d.ts +14 -14
- package/app/components/manage-saved-filters/manage-saved-filters.component.d.ts +13 -13
- package/app/components/pagination/pagination.component.d.ts +14 -14
- package/app/components/saved-filters/saved-filters.component.d.ts +15 -15
- package/app/components/status/status.component.d.ts +21 -21
- package/app/directives/cell/cell.directive.d.ts +8 -8
- package/app/directives/column/column.directive.d.ts +33 -33
- package/app/directives/content/content.directive.d.ts +5 -5
- package/app/directives/content-init/content-init.directive.d.ts +9 -9
- package/app/directives/draggable-list/draggable-list.directive.d.ts +90 -90
- package/app/directives/draggable-row/draggable-row.directive.d.ts +23 -23
- package/app/directives/empty-state/empty-state.directive.d.ts +5 -5
- package/app/directives/footer/footer.directive.d.ts +8 -8
- package/app/directives/group-expand-trigger/group-expand-trigger.directive.d.ts +10 -10
- package/app/directives/group-footer/group-footer.directive.d.ts +6 -6
- package/app/directives/group-header/group-header.directive.d.ts +6 -6
- package/app/directives/header/header.directive.d.ts +8 -8
- package/app/directives/heading/heading.directive.d.ts +5 -5
- package/app/directives/heading-container/heading-container.directive.d.ts +5 -5
- package/app/directives/index.d.ts +3 -3
- package/app/directives/subheading/subheading.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 +6 -6
- package/app/enums/state.enum.d.ts +9 -9
- package/app/fs-list.module.d.ts +60 -60
- package/app/fs-list.providers.d.ts +3 -3
- package/app/interfaces/cellconfig.interface.d.ts +5 -5
- package/app/interfaces/column-config.interface.d.ts +2 -2
- 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 +267 -267
- package/app/interfaces/pagination.interface.d.ts +13 -13
- package/app/models/column-async-attribute.d.ts +5 -5
- package/app/models/column-attributes.d.ts +39 -39
- package/app/models/column.model.d.ts +59 -59
- 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-footer-row.d.ts +10 -10
- package/app/models/row/group-row.d.ts +16 -16
- 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 +30 -30
- package/app/models/styleConfig.model.d.ts +31 -31
- package/app/pipes/action-label.d.ts +8 -8
- package/app/pipes/index.d.ts +1 -1
- package/app/services/group-expand-notifier.service.d.ts +11 -11
- package/bundles/firestitch-list.umd.js +6878 -6878
- package/bundles/firestitch-list.umd.js.map +1 -1
- package/esm2015/app/classes/actions-controller.js +55 -55
- package/esm2015/app/classes/columns-controller.js +205 -205
- package/esm2015/app/classes/data-controller.js +352 -352
- package/esm2015/app/classes/external-params-controller.js +153 -153
- package/esm2015/app/classes/index.js +3 -3
- package/esm2015/app/classes/list-controller.js +738 -738
- package/esm2015/app/classes/pagination-controller.js +460 -460
- package/esm2015/app/classes/persistance-controller.js +19 -19
- package/esm2015/app/classes/reorder-controller.js +182 -182
- package/esm2015/app/classes/selection-controller.js +458 -458
- package/esm2015/app/classes/sorting-controller.js +180 -180
- package/esm2015/app/components/body/body.component.js +67 -67
- package/esm2015/app/components/body/row/actions/actions.component.js +95 -95
- package/esm2015/app/components/body/row/cell/cell.component.js +106 -106
- package/esm2015/app/components/body/row/inline-action/inline-action.component.js +39 -39
- package/esm2015/app/components/body/row/menu-action/menu-action.component.js +49 -49
- package/esm2015/app/components/body/row/row.component.js +296 -296
- package/esm2015/app/components/customize-cols/customize-cols.component.js +72 -72
- package/esm2015/app/components/footer/footer-row/footer-cell/footer-cell.component.js +20 -20
- package/esm2015/app/components/footer/footer-row/footer-row.component.js +31 -31
- package/esm2015/app/components/footer/footer.component.js +34 -34
- package/esm2015/app/components/head/head-cell/head-cell.component.js +33 -33
- package/esm2015/app/components/head/head.component.js +104 -104
- package/esm2015/app/components/list/list.component.js +385 -385
- package/esm2015/app/components/loader/loader.component.js +47 -47
- package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +78 -78
- package/esm2015/app/components/pagination/pagination.component.js +44 -44
- package/esm2015/app/components/saved-filters/saved-filters.component.js +33 -33
- package/esm2015/app/components/status/status.component.js +72 -72
- package/esm2015/app/directives/cell/cell.directive.js +18 -18
- package/esm2015/app/directives/column/column.directive.js +111 -111
- package/esm2015/app/directives/content/content.directive.js +12 -12
- package/esm2015/app/directives/content-init/content-init.directive.js +21 -21
- package/esm2015/app/directives/draggable-list/draggable-list.directive.js +323 -323
- package/esm2015/app/directives/draggable-row/draggable-row.directive.js +78 -78
- package/esm2015/app/directives/empty-state/empty-state.directive.js +13 -13
- package/esm2015/app/directives/footer/footer.directive.js +18 -18
- package/esm2015/app/directives/group-expand-trigger/group-expand-trigger.directive.js +26 -26
- package/esm2015/app/directives/group-footer/group-footer.directive.js +13 -13
- package/esm2015/app/directives/group-header/group-header.directive.js +13 -13
- package/esm2015/app/directives/header/header.directive.js +18 -18
- package/esm2015/app/directives/heading/heading.directive.js +13 -13
- package/esm2015/app/directives/heading-container/heading-container.directive.js +13 -13
- package/esm2015/app/directives/index.js +4 -4
- package/esm2015/app/directives/subheading/subheading.directive.js +13 -13
- 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 +244 -244
- package/esm2015/app/fs-list.providers.js +4 -4
- package/esm2015/app/interfaces/cellconfig.interface.js +2 -2
- package/esm2015/app/interfaces/column-config.interface.js +1 -1
- package/esm2015/app/interfaces/draggable-list.interface.js +2 -2
- package/esm2015/app/interfaces/external-params.interface.js +2 -2
- package/esm2015/app/interfaces/index.js +4 -4
- package/esm2015/app/interfaces/listconfig.interface.js +1 -1
- package/esm2015/app/interfaces/pagination.interface.js +2 -2
- package/esm2015/app/models/column-async-attribute.js +13 -13
- package/esm2015/app/models/column-attributes.js +130 -130
- package/esm2015/app/models/column.model.js +166 -166
- 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-footer-row.js +20 -20
- package/esm2015/app/models/row/group-row.js +44 -44
- package/esm2015/app/models/row/simple-row.js +10 -10
- package/esm2015/app/models/row-action.model.js +94 -94
- package/esm2015/app/models/row.js +80 -80
- package/esm2015/app/models/styleConfig.model.js +75 -75
- package/esm2015/app/pipes/action-label.js +16 -16
- package/esm2015/app/pipes/index.js +1 -1
- package/esm2015/app/services/group-expand-notifier.service.js +26 -26
- package/esm2015/firestitch-list.js +4 -4
- package/esm2015/public_api.js +45 -45
- package/fesm2015/firestitch-list.js +5659 -5659
- package/fesm2015/firestitch-list.js.map +1 -1
- package/firestitch-list.d.ts +5 -5
- package/package.json +5 -5
- package/public_api.d.ts +39 -39
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
|
|
2
|
-
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import { takeUntil } from 'rxjs/operators';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/material/dialog";
|
|
7
|
-
import * as i2 from "@angular/material/checkbox";
|
|
8
|
-
import * as i3 from "@angular/material/icon";
|
|
9
|
-
import * as i4 from "@angular/material/button";
|
|
10
|
-
import * as i5 from "@angular/common";
|
|
11
|
-
import * as i6 from "@angular/material/tooltip";
|
|
12
|
-
export class CustomizeColsDialogComponent {
|
|
13
|
-
constructor(data, _dialog) {
|
|
14
|
-
this._dialog = _dialog;
|
|
15
|
-
this.columns = [];
|
|
16
|
-
this.saveDisabled = false;
|
|
17
|
-
this._destroy$ = new Subject();
|
|
18
|
-
this.columns = data.columns;
|
|
19
|
-
this._changeFn = data.changeFn;
|
|
20
|
-
}
|
|
21
|
-
ngOnDestroy() {
|
|
22
|
-
this._destroy$.next();
|
|
23
|
-
this._destroy$.complete();
|
|
24
|
-
}
|
|
25
|
-
visibilityChange(event, column) {
|
|
26
|
-
column.show = event.checked;
|
|
27
|
-
}
|
|
28
|
-
save() {
|
|
29
|
-
const data = this.columns
|
|
30
|
-
.filter((column) => !!column.name)
|
|
31
|
-
.map((column) => {
|
|
32
|
-
return {
|
|
33
|
-
name: column.name,
|
|
34
|
-
show: column.show,
|
|
35
|
-
};
|
|
36
|
-
});
|
|
37
|
-
this.saveDisabled = true;
|
|
38
|
-
const changed = this._changeFn(data);
|
|
39
|
-
if (changed instanceof Observable) {
|
|
40
|
-
changed
|
|
41
|
-
.pipe(takeUntil(this._destroy$))
|
|
42
|
-
.subscribe({
|
|
43
|
-
next: () => {
|
|
44
|
-
this._dialog.close(this.columns);
|
|
45
|
-
},
|
|
46
|
-
error: () => {
|
|
47
|
-
this.saveDisabled = false;
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
this._dialog.close(this.columns);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
cancel() {
|
|
56
|
-
this._dialog.close();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
CustomizeColsDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomizeColsDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
-
CustomizeColsDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomizeColsDialogComponent, selector: "ng-component", ngImport: i0, 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", styles: [".mat-checkbox{min-height:32px;display:block}.mat-icon{font-size:14px;height:14px;width:14px;vertical-align:middle}\n"], components: [{ type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomizeColsDialogComponent, decorators: [{
|
|
62
|
-
type: Component,
|
|
63
|
-
args: [{
|
|
64
|
-
templateUrl: 'customize-cols.component.html',
|
|
65
|
-
styleUrls: ['customize-cols.component.scss'],
|
|
66
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
67
|
-
}]
|
|
68
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
69
|
-
type: Inject,
|
|
70
|
-
args: [MAT_DIALOG_DATA]
|
|
71
|
-
}] }, { type: i1.MatDialogRef }]; } });
|
|
72
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
|
|
2
|
+
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import { takeUntil } from 'rxjs/operators';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/material/dialog";
|
|
7
|
+
import * as i2 from "@angular/material/checkbox";
|
|
8
|
+
import * as i3 from "@angular/material/icon";
|
|
9
|
+
import * as i4 from "@angular/material/button";
|
|
10
|
+
import * as i5 from "@angular/common";
|
|
11
|
+
import * as i6 from "@angular/material/tooltip";
|
|
12
|
+
export class CustomizeColsDialogComponent {
|
|
13
|
+
constructor(data, _dialog) {
|
|
14
|
+
this._dialog = _dialog;
|
|
15
|
+
this.columns = [];
|
|
16
|
+
this.saveDisabled = false;
|
|
17
|
+
this._destroy$ = new Subject();
|
|
18
|
+
this.columns = data.columns;
|
|
19
|
+
this._changeFn = data.changeFn;
|
|
20
|
+
}
|
|
21
|
+
ngOnDestroy() {
|
|
22
|
+
this._destroy$.next();
|
|
23
|
+
this._destroy$.complete();
|
|
24
|
+
}
|
|
25
|
+
visibilityChange(event, column) {
|
|
26
|
+
column.show = event.checked;
|
|
27
|
+
}
|
|
28
|
+
save() {
|
|
29
|
+
const data = this.columns
|
|
30
|
+
.filter((column) => !!column.name)
|
|
31
|
+
.map((column) => {
|
|
32
|
+
return {
|
|
33
|
+
name: column.name,
|
|
34
|
+
show: column.show,
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
this.saveDisabled = true;
|
|
38
|
+
const changed = this._changeFn(data);
|
|
39
|
+
if (changed instanceof Observable) {
|
|
40
|
+
changed
|
|
41
|
+
.pipe(takeUntil(this._destroy$))
|
|
42
|
+
.subscribe({
|
|
43
|
+
next: () => {
|
|
44
|
+
this._dialog.close(this.columns);
|
|
45
|
+
},
|
|
46
|
+
error: () => {
|
|
47
|
+
this.saveDisabled = false;
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
this._dialog.close(this.columns);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
cancel() {
|
|
56
|
+
this._dialog.close();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
CustomizeColsDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomizeColsDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
CustomizeColsDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomizeColsDialogComponent, selector: "ng-component", ngImport: i0, template: "<h1 matDialogTitle>Customize Columns</h1>\r\n<mat-dialog-content>\r\n <div *ngFor=\"let column of columns\">\r\n <mat-checkbox [checked]=\"column.show\" (change)=\"visibilityChange($event, column)\" [disabled]=\"column.disabled\">\r\n <ng-container *ngIf=\"!column.title; else titleLable\">\r\n <ng-template [ngTemplateOutlet]=\"column.template\"></ng-template>\r\n </ng-container>\r\n <ng-template #titleLable>\r\n {{ column.title }}\r\n </ng-template>\r\n\r\n <ng-container *ngIf=\"column.tooltip\">\r\n <mat-icon [matTooltip]=\"column.tooltip\">\r\n help\r\n </mat-icon>\r\n </ng-container>\r\n </mat-checkbox>\r\n </div>\r\n</mat-dialog-content>\r\n<mat-dialog-actions>\r\n <button type=\"button\" mat-button color=\"primary\" (click)=\"save()\" [disabled]=\"saveDisabled\">Save</button>\r\n <button type=\"button\" mat-button (click)=\"cancel()\">Cancel</button>\r\n</mat-dialog-actions>\r\n", styles: [".mat-checkbox{min-height:32px;display:block}.mat-icon{font-size:14px;height:14px;width:14px;vertical-align:middle}\n"], components: [{ type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomizeColsDialogComponent, decorators: [{
|
|
62
|
+
type: Component,
|
|
63
|
+
args: [{
|
|
64
|
+
templateUrl: 'customize-cols.component.html',
|
|
65
|
+
styleUrls: ['customize-cols.component.scss'],
|
|
66
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
67
|
+
}]
|
|
68
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
69
|
+
type: Inject,
|
|
70
|
+
args: [MAT_DIALOG_DATA]
|
|
71
|
+
}] }, { type: i1.MatDialogRef }]; } });
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9taXplLWNvbHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9jb21wb25lbnRzL2N1c3RvbWl6ZS1jb2xzL2N1c3RvbWl6ZS1jb2xzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9jdXN0b21pemUtY29scy9jdXN0b21pemUtY29scy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUN0RixPQUFPLEVBQUUsZUFBZSxFQUFFLFlBQVksRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ3pFLE9BQU8sRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7Ozs7Ozs7QUFRM0MsTUFBTSxPQUFPLDRCQUE0QjtJQU92QyxZQUMyQixJQUFJLEVBQ3JCLE9BQTBCO1FBQTFCLFlBQU8sR0FBUCxPQUFPLENBQW1CO1FBUDdCLFlBQU8sR0FBRyxFQUFFLENBQUM7UUFDYixpQkFBWSxHQUFHLEtBQUssQ0FBQztRQUVwQixjQUFTLE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b24gdHlwZT1cImJ1dHRvblwiIG1hdC1idXR0b24gKGNsaWNrKT1cImNhbmNlbCgpXCI+Q2FuY2VsPC9idXR0b24+XHJcbjwvbWF0LWRpYWxvZy1hY3Rpb25zPlxyXG4iXX0=
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
-
import { FsCellComponent } from '../../../body/row/cell/cell.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
export class FsFooterCellComponent extends FsCellComponent {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
FsFooterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
FsFooterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsFooterCellComponent, selector: "[fs-list-footer-cell]", usesInheritance: true, ngImport: i0, 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", directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterCellComponent, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{
|
|
15
|
-
selector: '[fs-list-footer-cell]',
|
|
16
|
-
templateUrl: 'footer-cell.component.html',
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
18
|
-
}]
|
|
19
|
-
}], ctorParameters: function () { return []; } });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import { FsCellComponent } from '../../../body/row/cell/cell.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class FsFooterCellComponent extends FsCellComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
FsFooterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
FsFooterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsFooterCellComponent, selector: "[fs-list-footer-cell]", usesInheritance: true, ngImport: i0, template: "<ng-template [ngTemplateOutlet]=\"column.footerTemplate || cell\" [ngTemplateOutletContext]=\"cellContext\"></ng-template>\r\n\r\n<ng-template #cell let-value=\"value\">\r\n {{value}}\r\n</ng-template>\r\n", directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterCellComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{
|
|
15
|
+
selector: '[fs-list-footer-cell]',
|
|
16
|
+
templateUrl: 'footer-cell.component.html',
|
|
17
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
18
|
+
}]
|
|
19
|
+
}], ctorParameters: function () { return []; } });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLWNlbGwuY29tcG9uZW50Lmp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0nLFxyXG4gIHRlbXBsYXRlVXJsOiAnZm9vdGVyLWNlbGwuY29tcG9uZW50Lmh0bWwnLFxyXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGc0Zvb3RlckNlbGxDb21wb25lbnQgZXh0ZW5kcyBGc0NlbGxDb21wb25lbnQge1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHtcclxuICAgIHN1cGVyKClcclxuICB9XHJcbn1cclxuIiwiPG5nLXRlbXBsYXRlIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImNvbHVtbi5mb290ZXJUZW1wbGF0ZSB8fCBjZWxsXCIgW25nVGVtcGxhdGVPdXRsZXRDb250ZXh0XT1cImNlbGxDb250ZXh0XCI+PC9uZy10ZW1wbGF0ZT5cclxuXHJcbjxuZy10ZW1wbGF0ZSAjY2VsbCBsZXQtdmFsdWU9XCJ2YWx1ZVwiPlxyXG4gIHt7dmFsdWV9fVxyXG48L25nLXRlbXBsYXRlPlxyXG4iXX0=
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Component, Input, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Renderer2, KeyValueDiffers, } from '@angular/core';
|
|
2
|
-
import { FsRowComponent } from '../../body/row/row.component';
|
|
3
|
-
import { ReorderPosition, ReorderStrategy } from '../../../classes/reorder-controller';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./footer-cell/footer-cell.component";
|
|
6
|
-
import * as i2 from "@angular/common";
|
|
7
|
-
export class FsFooterRowComponent extends FsRowComponent {
|
|
8
|
-
constructor(el, cdRef, differs, renderer) {
|
|
9
|
-
super(el, cdRef, differs, renderer, null);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
FsFooterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterRowComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
FsFooterRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsFooterRowComponent, selector: "[fs-list-footer-row]", inputs: { hasRowActions: "hasRowActions", activeFiltersCount: "activeFiltersCount", reorderEnabled: "reorderEnabled", reorderPosition: "reorderPosition", reorderStrategy: "reorderStrategy" }, usesInheritance: true, ngImport: i0, template: "<td *ngIf=\"leftDragDropEnabled\" 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=\"rightDragDropEnabled\" class=\"fs-list-col row-actions\"></td>\n\n<!-- Row Actions -->\n<td *ngIf=\"hasRowActions && !(reorderEnabled && reorderStrategy === ReorderStrategy.Manual)\" class=\"fs-list-col drag-col\"></td>\n", components: [{ type: i1.FsFooterCellComponent, selector: "[fs-list-footer-cell]" }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterRowComponent, decorators: [{
|
|
15
|
-
type: Component,
|
|
16
|
-
args: [{
|
|
17
|
-
selector: '[fs-list-footer-row]',
|
|
18
|
-
templateUrl: 'footer-row.component.html',
|
|
19
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
20
|
-
}]
|
|
21
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { hasRowActions: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}], activeFiltersCount: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], reorderEnabled: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], reorderPosition: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], reorderStrategy: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}] } });
|
|
1
|
+
import { Component, Input, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Renderer2, KeyValueDiffers, } from '@angular/core';
|
|
2
|
+
import { FsRowComponent } from '../../body/row/row.component';
|
|
3
|
+
import { ReorderPosition, ReorderStrategy } from '../../../classes/reorder-controller';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./footer-cell/footer-cell.component";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
export class FsFooterRowComponent extends FsRowComponent {
|
|
8
|
+
constructor(el, cdRef, differs, renderer) {
|
|
9
|
+
super(el, cdRef, differs, renderer, null);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
FsFooterRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterRowComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
FsFooterRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsFooterRowComponent, selector: "[fs-list-footer-row]", inputs: { hasRowActions: "hasRowActions", activeFiltersCount: "activeFiltersCount", reorderEnabled: "reorderEnabled", reorderPosition: "reorderPosition", reorderStrategy: "reorderStrategy" }, usesInheritance: true, ngImport: i0, template: "<td *ngIf=\"leftDragDropEnabled\" 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=\"rightDragDropEnabled\" class=\"fs-list-col row-actions\"></td>\n\n<!-- Row Actions -->\n<td *ngIf=\"hasRowActions && !(reorderEnabled && reorderStrategy === ReorderStrategy.Manual)\" class=\"fs-list-col drag-col\"></td>\n", components: [{ type: i1.FsFooterCellComponent, selector: "[fs-list-footer-cell]" }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterRowComponent, decorators: [{
|
|
15
|
+
type: Component,
|
|
16
|
+
args: [{
|
|
17
|
+
selector: '[fs-list-footer-row]',
|
|
18
|
+
templateUrl: 'footer-row.component.html',
|
|
19
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
20
|
+
}]
|
|
21
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { hasRowActions: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], activeFiltersCount: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], reorderEnabled: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], reorderPosition: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], reorderStrategy: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}] } });
|
|
32
32
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLXJvdy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9vdGVyL2Zvb3Rlci1yb3cvZm9vdGVyLXJvdy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9vdGVyL2Zvb3Rlci1yb3cvZm9vdGVyLXJvdy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULEtBQUssRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFVBQVUsRUFDVixTQUFTLEVBQUUsZUFBZSxHQUMzQixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDOUQsT0FBTyxFQUFFLGVBQWUsRUFBRSxlQUFlLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQzs7OztBQVF2RixNQUFNLE9BQU8sb0JBQXFCLFNBQVEsY0FBYztJQU90RCxZQUNFLEVBQWMsRUFDZCxLQUF3QixFQUN4QixPQUF3QixFQUN4QixRQUFtQjtRQUVuQixLQUFLLENBQUMs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gICAgIFtjb2x1bW5dPVwiY29sdW1uXCJcbiAgICAgIFtyb3ddPVwicm93XCJcbiAgICAgIFtyb3dJbmRleF09XCJyb3dJbmRleFwiXG4gICAgICBbbmdDbGFzc109XCJjb2x1bW4uZm9vdGVyQ29uZmlncy5jbGFzc2VzQXJyYXlcIlxuICAgICAgW2F0dHIuY29sc3Bhbl09XCJjb2x1bW4uZm9vdGVyQ29uZmlncy5jb2xzcGFuXCJcbiAgICAgIFthdHRyLndpZHRoXT1cImNvbHVtbi53aWR0aFwiPlxuICA8L3RkPlxuPC9uZy1jb250YWluZXI+XG5cbjwhLS0gRHJhZyAtLT5cbjx0ZCAqbmdJZj1cInJpZ2h0RHJhZ0Ryb3BFbmFibGVkXCIgY2xhc3M9XCJmcy1saXN0LWNvbCByb3ctYWN0aW9uc1wiPjwvdGQ+XG5cbjwhLS0gUm93IEFjdGlvbnMgLS0+XG48dGQgKm5nSWY9XCJoYXNSb3dBY3Rpb25zICYmICEocmVvcmRlckVuYWJsZWQgJiYgcmVvcmRlclN0cmF0ZWd5ID09PSBSZW9yZGVyU3RyYXRlZ3kuTWFudWFsKVwiIGNsYXNzPVwiZnMtbGlzdC1jb2wgZHJhZy1jb2xcIj48L3RkPlxuIl19
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
2
|
-
import { SelectionController } from '../../classes/selection-controller';
|
|
3
|
-
import { ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./footer-row/footer-row.component";
|
|
6
|
-
export class FsFooterComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.columns = [];
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
FsFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
FsFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsFooterComponent, selector: "[fs-list-footer]", inputs: { hasRowActions: "hasRowActions", columns: "columns", selection: "selection", activeFiltersCount: "activeFiltersCount", reorderEnabled: "reorderEnabled", reorderPosition: "reorderPosition", reorderStrategy: "reorderStrategy" }, ngImport: i0, template: "<tr fs-list-footer-row\n [columns]=\"columns\"\n [hasRowActions]=\"hasRowActions\"\n [selection]=\"selection\"\n [activeFiltersCount]=\"activeFiltersCount\"\n [reorderEnabled]=\"reorderEnabled\"\n [reorderPosition]=\"reorderPosition\"\n [reorderStrategy]=\"reorderStrategy\"\n></tr>\n", components: [{ type: i1.FsFooterRowComponent, selector: "[fs-list-footer-row]", inputs: ["hasRowActions", "activeFiltersCount", "reorderEnabled", "reorderPosition", "reorderStrategy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: '[fs-list-footer]',
|
|
17
|
-
templateUrl: 'footer.component.html',
|
|
18
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
19
|
-
}]
|
|
20
|
-
}], ctorParameters: function () { return []; }, propDecorators: { hasRowActions: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], columns: [{
|
|
23
|
-
type: Input
|
|
24
|
-
}], selection: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}], activeFiltersCount: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}], reorderEnabled: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], reorderPosition: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], reorderStrategy: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}] } });
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
2
|
+
import { SelectionController } from '../../classes/selection-controller';
|
|
3
|
+
import { ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./footer-row/footer-row.component";
|
|
6
|
+
export class FsFooterComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.columns = [];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
FsFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
FsFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsFooterComponent, selector: "[fs-list-footer]", inputs: { hasRowActions: "hasRowActions", columns: "columns", selection: "selection", activeFiltersCount: "activeFiltersCount", reorderEnabled: "reorderEnabled", reorderPosition: "reorderPosition", reorderStrategy: "reorderStrategy" }, ngImport: i0, template: "<tr fs-list-footer-row\n [columns]=\"columns\"\n [hasRowActions]=\"hasRowActions\"\n [selection]=\"selection\"\n [activeFiltersCount]=\"activeFiltersCount\"\n [reorderEnabled]=\"reorderEnabled\"\n [reorderPosition]=\"reorderPosition\"\n [reorderStrategy]=\"reorderStrategy\"\n></tr>\n", components: [{ type: i1.FsFooterRowComponent, selector: "[fs-list-footer-row]", inputs: ["hasRowActions", "activeFiltersCount", "reorderEnabled", "reorderPosition", "reorderStrategy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsFooterComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: '[fs-list-footer]',
|
|
17
|
+
templateUrl: 'footer.component.html',
|
|
18
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
19
|
+
}]
|
|
20
|
+
}], ctorParameters: function () { return []; }, propDecorators: { hasRowActions: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}], columns: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}], selection: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}], activeFiltersCount: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}], reorderEnabled: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], reorderPosition: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], reorderStrategy: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}] } });
|
|
35
35
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9mb290ZXIvZm9vdGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9mb290ZXIvZm9vdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULEtBQUssR0FDTixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUN6RSxPQUFPLEVBQUUsZUFBZSxFQUFFLGVBQWUsRUFBRSxNQUFNLGtDQUFrQyxDQUFDOzs7QUFPcEYsTUFBTSxPQUFPLGlCQUFpQjtJQVU1QjtRQVBTLFlBQU8sR0FBYSxFQUFFLENBQUM7SUFPakIsQ0FBQzs7K0dBVkwsaUJBQWlCO21HQUFqQixpQkFBaUIsb1NDZDlCLG1UQVNBOzRGREthLGlCQUFpQjtrQkFMN0IsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsa0JBQWtCO29CQUM1QixXQUF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gc2VsZWN0aW9uOiBTZWxlY3Rpb25Db250cm9sbGVyO1xuICBASW5wdXQoKSBhY3RpdmVGaWx0ZXJzQ291bnQ6IG51bWJlcjtcbiAgQElucHV0KCkgcmVvcmRlckVuYWJsZWQ6IGJvb2xlYW47XG4gIEBJbnB1dCgpIHJlb3JkZXJQb3NpdGlvbjogUmVvcmRlclBvc2l0aW9uIHwgbnVsbDtcbiAgQElucHV0KCkgcmVvcmRlclN0cmF0ZWd5OiBSZW9yZGVyU3RyYXRlZ3kgfCBudWxsO1xuXG4gIGNvbnN0cnVjdG9yKCkge31cbn1cbiIsIjx0ciBmcy1saXN0LWZvb3Rlci1yb3dcbiAgICBbY29sdW1uc109XCJjb2x1bW5zXCJcbiAgICBbaGFzUm93QWN0aW9uc109XCJoYXNSb3dBY3Rpb25zXCJcbiAgICBbc2VsZWN0aW9uXT1cInNlbGVjdGlvblwiXG4gICAgW2FjdGl2ZUZpbHRlcnNDb3VudF09XCJhY3RpdmVGaWx0ZXJzQ291bnRcIlxuICAgIFtyZW9yZGVyRW5hYmxlZF09XCJyZW9yZGVyRW5hYmxlZFwiXG4gICAgW3Jlb3JkZXJQb3NpdGlvbl09XCJyZW9yZGVyUG9zaXRpb25cIlxuICAgIFtyZW9yZGVyU3RyYXRlZ3ldPVwicmVvcmRlclN0cmF0ZWd5XCJcbj48L3RyPlxuIl19
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, KeyValueDiffers, } from '@angular/core';
|
|
2
|
-
import { FsCellComponent } from '../../body/row/cell/cell.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/material/icon";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
export class FsHeadCellComponent extends FsCellComponent {
|
|
7
|
-
constructor(cdRef, differs) {
|
|
8
|
-
super();
|
|
9
|
-
this.cdRef = cdRef;
|
|
10
|
-
this.differs = differs;
|
|
11
|
-
this.cellContext = {};
|
|
12
|
-
this._columnDiffer = differs.find({}).create();
|
|
13
|
-
}
|
|
14
|
-
ngDoCheck() {
|
|
15
|
-
if (this._columnDiffer.diff(this.column)) {
|
|
16
|
-
this.cdRef.markForCheck();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
initCellContext() {
|
|
20
|
-
this.cellContext.value = this.column.title;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
FsHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsHeadCellComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
FsHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsHeadCellComponent, selector: "[fs-head-cell]", usesInheritance: true, ngImport: i0, 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$ | async\">\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", components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsHeadCellComponent, decorators: [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{
|
|
28
|
-
selector: '[fs-head-cell]',
|
|
29
|
-
templateUrl: 'head-cell.component.html',
|
|
30
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
31
|
-
}]
|
|
32
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }]; } });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, KeyValueDiffers, } from '@angular/core';
|
|
2
|
+
import { FsCellComponent } from '../../body/row/cell/cell.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/material/icon";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
export class FsHeadCellComponent extends FsCellComponent {
|
|
7
|
+
constructor(cdRef, differs) {
|
|
8
|
+
super();
|
|
9
|
+
this.cdRef = cdRef;
|
|
10
|
+
this.differs = differs;
|
|
11
|
+
this.cellContext = {};
|
|
12
|
+
this._columnDiffer = differs.find({}).create();
|
|
13
|
+
}
|
|
14
|
+
ngDoCheck() {
|
|
15
|
+
if (this._columnDiffer.diff(this.column)) {
|
|
16
|
+
this.cdRef.markForCheck();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
initCellContext() {
|
|
20
|
+
this.cellContext.value = this.column.title;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
FsHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsHeadCellComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
FsHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsHeadCellComponent, selector: "[fs-head-cell]", usesInheritance: true, ngImport: i0, 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$ | async\">\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", components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsHeadCellComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: '[fs-head-cell]',
|
|
29
|
+
templateUrl: 'head-cell.component.html',
|
|
30
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
31
|
+
}]
|
|
32
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }]; } });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZC1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9oZWFkL2hlYWQtY2VsbC9oZWFkLWNlbGwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9jb21wb25lbnRzL2hlYWQvaGVhZC1jZWxsL2hlYWQtY2VsbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBR1QsZUFBZSxHQUNoQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0NBQW9DLENBQUM7Ozs7QUFRckUsTUFBTSxPQUFPLG1CQUFvQixTQUFRLGVBQWU7SUFNdEQsWUFBb0IsS0FBd0IsRUFDeEIsT0FBd0I7UUFDMUMsS0FBSyxFQUFFLENBQUM7UUFGVSxVQUFLLEdBQUwsS0FBSyxDQUFtQjtRQUN4QixZQUFPLEdBQVAsT0FBTyxDQUFpQjtRQUxyQyxnQkFBVyxHQUFRLEVBQUUsQ0FBQztRQU8zQixJQUFJLENBQUMsYUFBYSxHQUFHLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUMsTUFBTSxFQUFFLENBQUM7SUFDakQsQ0FBQztJQUVNLFNBQVM7UUFDZCx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