@firestitch/list 12.3.3 → 12.4.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 +90 -90
- 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 +174 -168
- 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 +62 -61
- package/app/classes/selection-controller.d.ts +141 -141
- package/app/classes/sorting-controller.d.ts +64 -64
- package/app/components/body/body.component.d.ts +32 -32
- package/app/components/body/row/actions/actions.component.d.ts +35 -35
- package/app/components/body/row/cell/cell.component.d.ts +23 -23
- 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 +12 -12
- package/app/components/body/row/row.component.d.ts +72 -72
- 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 +11 -11
- package/app/components/footer/footer.component.d.ts +11 -11
- package/app/components/head/head-cell/head-cell.component.d.ts +14 -14
- package/app/components/head/head.component.d.ts +43 -43
- package/app/components/list/list.component.d.ts +114 -113
- 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 +80 -80
- package/app/directives/draggable-row/draggable-row.directive.d.ts +21 -21
- 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/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 +57 -57
- 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 +250 -250
- 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 +15 -15
- package/app/models/row/simple-row.d.ts +5 -5
- package/app/models/row-action.model.d.ts +31 -31
- package/app/models/row.d.ts +30 -30
- package/app/models/styleConfig.model.d.ts +31 -31
- package/app/services/group-expand-notifier.service.d.ts +11 -11
- package/bundles/firestitch-list.umd.js +6545 -6512
- 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 +333 -333
- 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 +715 -700
- 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 +173 -170
- package/esm2015/app/classes/selection-controller.js +445 -445
- package/esm2015/app/classes/sorting-controller.js +180 -180
- package/esm2015/app/components/body/body.component.js +76 -76
- package/esm2015/app/components/body/row/actions/actions.component.js +100 -100
- package/esm2015/app/components/body/row/cell/cell.component.js +92 -92
- package/esm2015/app/components/body/row/inline-action/inline-action.component.js +40 -40
- package/esm2015/app/components/body/row/menu-action/menu-action.component.js +31 -31
- package/esm2015/app/components/body/row/row.component.js +254 -254
- 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 +27 -27
- package/esm2015/app/components/footer/footer.component.js +26 -26
- package/esm2015/app/components/head/head-cell/head-cell.component.js +33 -33
- package/esm2015/app/components/head/head.component.js +91 -91
- package/esm2015/app/components/list/list.component.js +370 -364
- package/esm2015/app/components/loader/loader.component.js +47 -47
- package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +79 -79
- package/esm2015/app/components/pagination/pagination.component.js +45 -45
- package/esm2015/app/components/saved-filters/saved-filters.component.js +33 -33
- package/esm2015/app/components/status/status.component.js +74 -74
- 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 +256 -256
- package/esm2015/app/directives/draggable-row/draggable-row.directive.js +73 -73
- 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/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 +231 -231
- 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 +40 -40
- package/esm2015/app/models/row/simple-row.js +10 -10
- package/esm2015/app/models/row-action.model.js +108 -108
- package/esm2015/app/models/row.js +80 -80
- package/esm2015/app/models/styleConfig.model.js +75 -75
- package/esm2015/app/services/group-expand-notifier.service.js +26 -26
- package/esm2015/firestitch-list.js +4 -4
- package/esm2015/public_api.js +44 -44
- package/fesm2015/firestitch-list.js +5381 -5357
- package/fesm2015/firestitch-list.js.map +1 -1
- package/firestitch-list.d.ts +5 -5
- package/package.json +1 -1
- package/public_api.d.ts +38 -38
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, ViewChild, ViewContainerRef, } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { filter, takeUntil } from 'rxjs/operators';
|
|
4
|
-
import { SortingController } from '../../classes/sorting-controller';
|
|
5
|
-
import { ReorderController, ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
6
|
-
import { SelectionController, SelectionChangeType } from '../../classes/selection-controller';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../classes/reorder-controller";
|
|
9
|
-
import * as i2 from "@angular/material/checkbox";
|
|
10
|
-
import * as i3 from "./head-cell/head-cell.component";
|
|
11
|
-
import * as i4 from "@angular/common";
|
|
12
|
-
import * as i5 from "@angular/flex-layout/extended";
|
|
13
|
-
export class FsHeadComponent {
|
|
14
|
-
constructor(reorderController, cdRef) {
|
|
15
|
-
this.reorderController = reorderController;
|
|
16
|
-
this.cdRef = cdRef;
|
|
17
|
-
this.selectedAll = false;
|
|
18
|
-
this.ReorderPosition = ReorderPosition;
|
|
19
|
-
this.ReorderStrategy = ReorderStrategy;
|
|
20
|
-
this._destroy$ = new Subject();
|
|
21
|
-
}
|
|
22
|
-
ngOnInit() {
|
|
23
|
-
this.initSorting();
|
|
24
|
-
this.initSelection();
|
|
25
|
-
}
|
|
26
|
-
ngOnDestroy() {
|
|
27
|
-
this._destroy$.next();
|
|
28
|
-
this._destroy$.complete();
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Select All Visible Rows
|
|
32
|
-
* @param event
|
|
33
|
-
*/
|
|
34
|
-
selectAll(event) {
|
|
35
|
-
this.selection.selectAllVisibleRows(event.checked);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Track By for improve change detection
|
|
39
|
-
* @param index
|
|
40
|
-
*/
|
|
41
|
-
trackByFn(index) {
|
|
42
|
-
return index;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Subscribe to sorting change
|
|
46
|
-
*/
|
|
47
|
-
initSorting() {
|
|
48
|
-
this.sorting.sortingChanged$
|
|
49
|
-
.pipe(takeUntil(this._destroy$))
|
|
50
|
-
.subscribe(() => {
|
|
51
|
-
this.cdRef.detectChanges();
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Subscribe to selection change
|
|
56
|
-
*/
|
|
57
|
-
initSelection() {
|
|
58
|
-
if (this.selection) {
|
|
59
|
-
this.selection.selectionChange$
|
|
60
|
-
.pipe(filter(({ type }) => (type === SelectionChangeType.AllVisibleSelectionChange
|
|
61
|
-
|| type === SelectionChangeType.SelectedAll
|
|
62
|
-
|| type === SelectionChangeType.RowSelectionChange)), takeUntil(this._destroy$))
|
|
63
|
-
.subscribe(({ type, payload: status }) => {
|
|
64
|
-
this.selectedAll = status;
|
|
65
|
-
this.cdRef.markForCheck();
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
FsHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsHeadComponent, deps: [{ token: i1.ReorderController }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
-
FsHeadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsHeadComponent, selector: "[fs-list-head]", inputs: { sorting: "sorting", columns: "columns", hasRowActions: "hasRowActions", selection: "selection" }, viewQueries: [{ propertyName: "rowsContainer", first: true, predicate: ["rowsContainer"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<tr class=\"fs-list-row\">\n <!-- Drag -->\n <th *ngIf=\"reorderController.leftReorderActivated$ | async\" class=\"fs-list-col drag-col\"></th>\n\n <!-- Selection -->\n <th *ngIf=\"selection\" class=\"fs-list-col fs-list-col-selection\">\n <mat-checkbox (change)=\"selectAll($event)\" [checked]=\"selectedAll\"></mat-checkbox>\n </th>\n\n <!-- Content -->\n <th fs-head-cell *ngFor=\"let column of columns; trackBy: trackByFn\"\n (click)=\"$event.stopPropagation(); sorting.sortBy(column)\"\n [column]=\"column\"\n [class.sorting]=\"column.sortable\"\n [ngClass]=\"column.headerConfigs.classesArray\"\n [attr.colspan]=\"column.headerConfigs.colspan\"\n [attr.width]=\"column.width\"></th>\n\n <!-- Drag -->\n <th *ngIf=\"reorderController.rightReorderActivated$ | async\" class=\"fs-list-col drag-col\"></th>\n\n <!-- Row Actions -->\n <th *ngIf=\"hasRowActions && !(reorderController.manualReorderActivated$ | async)\" class=\"fs-list-col row-actions\"></th>\n</tr>\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.FsHeadCellComponent, selector: "[fs-head-cell]" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsHeadComponent, decorators: [{
|
|
73
|
-
type: Component,
|
|
74
|
-
args: [{
|
|
75
|
-
selector: '[fs-list-head]',
|
|
76
|
-
templateUrl: 'head.component.html',
|
|
77
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
78
|
-
}]
|
|
79
|
-
}], ctorParameters: function () { return [{ type: i1.ReorderController }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { sorting: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], columns: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], hasRowActions: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], selection: [{
|
|
86
|
-
type: Input
|
|
87
|
-
}], rowsContainer: [{
|
|
88
|
-
type: ViewChild,
|
|
89
|
-
args: ['rowsContainer', { read: ViewContainerRef, static: true }]
|
|
90
|
-
}] } });
|
|
91
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, ViewChild, ViewContainerRef, } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { filter, takeUntil } from 'rxjs/operators';
|
|
4
|
+
import { SortingController } from '../../classes/sorting-controller';
|
|
5
|
+
import { ReorderController, ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
6
|
+
import { SelectionController, SelectionChangeType } from '../../classes/selection-controller';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../classes/reorder-controller";
|
|
9
|
+
import * as i2 from "@angular/material/checkbox";
|
|
10
|
+
import * as i3 from "./head-cell/head-cell.component";
|
|
11
|
+
import * as i4 from "@angular/common";
|
|
12
|
+
import * as i5 from "@angular/flex-layout/extended";
|
|
13
|
+
export class FsHeadComponent {
|
|
14
|
+
constructor(reorderController, cdRef) {
|
|
15
|
+
this.reorderController = reorderController;
|
|
16
|
+
this.cdRef = cdRef;
|
|
17
|
+
this.selectedAll = false;
|
|
18
|
+
this.ReorderPosition = ReorderPosition;
|
|
19
|
+
this.ReorderStrategy = ReorderStrategy;
|
|
20
|
+
this._destroy$ = new Subject();
|
|
21
|
+
}
|
|
22
|
+
ngOnInit() {
|
|
23
|
+
this.initSorting();
|
|
24
|
+
this.initSelection();
|
|
25
|
+
}
|
|
26
|
+
ngOnDestroy() {
|
|
27
|
+
this._destroy$.next();
|
|
28
|
+
this._destroy$.complete();
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Select All Visible Rows
|
|
32
|
+
* @param event
|
|
33
|
+
*/
|
|
34
|
+
selectAll(event) {
|
|
35
|
+
this.selection.selectAllVisibleRows(event.checked);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Track By for improve change detection
|
|
39
|
+
* @param index
|
|
40
|
+
*/
|
|
41
|
+
trackByFn(index) {
|
|
42
|
+
return index;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Subscribe to sorting change
|
|
46
|
+
*/
|
|
47
|
+
initSorting() {
|
|
48
|
+
this.sorting.sortingChanged$
|
|
49
|
+
.pipe(takeUntil(this._destroy$))
|
|
50
|
+
.subscribe(() => {
|
|
51
|
+
this.cdRef.detectChanges();
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Subscribe to selection change
|
|
56
|
+
*/
|
|
57
|
+
initSelection() {
|
|
58
|
+
if (this.selection) {
|
|
59
|
+
this.selection.selectionChange$
|
|
60
|
+
.pipe(filter(({ type }) => (type === SelectionChangeType.AllVisibleSelectionChange
|
|
61
|
+
|| type === SelectionChangeType.SelectedAll
|
|
62
|
+
|| type === SelectionChangeType.RowSelectionChange)), takeUntil(this._destroy$))
|
|
63
|
+
.subscribe(({ type, payload: status }) => {
|
|
64
|
+
this.selectedAll = status;
|
|
65
|
+
this.cdRef.markForCheck();
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
FsHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsHeadComponent, deps: [{ token: i1.ReorderController }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
+
FsHeadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsHeadComponent, selector: "[fs-list-head]", inputs: { sorting: "sorting", columns: "columns", hasRowActions: "hasRowActions", selection: "selection" }, viewQueries: [{ propertyName: "rowsContainer", first: true, predicate: ["rowsContainer"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<tr class=\"fs-list-row\">\r\n <!-- Drag -->\r\n <th *ngIf=\"reorderController.leftReorderActivated$ | async\" class=\"fs-list-col drag-col\"></th>\r\n\r\n <!-- Selection -->\r\n <th *ngIf=\"selection\" class=\"fs-list-col fs-list-col-selection\">\r\n <mat-checkbox (change)=\"selectAll($event)\" [checked]=\"selectedAll\"></mat-checkbox>\r\n </th>\r\n\r\n <!-- Content -->\r\n <th fs-head-cell *ngFor=\"let column of columns; trackBy: trackByFn\"\r\n (click)=\"$event.stopPropagation(); sorting.sortBy(column)\"\r\n [column]=\"column\"\r\n [class.sorting]=\"column.sortable\"\r\n [ngClass]=\"column.headerConfigs.classesArray\"\r\n [attr.colspan]=\"column.headerConfigs.colspan\"\r\n [attr.width]=\"column.width\"></th>\r\n\r\n <!-- Drag -->\r\n <th *ngIf=\"reorderController.rightReorderActivated$ | async\" class=\"fs-list-col drag-col\"></th>\r\n\r\n <!-- Row Actions -->\r\n <th *ngIf=\"hasRowActions && !(reorderController.manualReorderActivated$ | async)\" class=\"fs-list-col row-actions\"></th>\r\n</tr>\r\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.FsHeadCellComponent, selector: "[fs-head-cell]" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsHeadComponent, decorators: [{
|
|
73
|
+
type: Component,
|
|
74
|
+
args: [{
|
|
75
|
+
selector: '[fs-list-head]',
|
|
76
|
+
templateUrl: 'head.component.html',
|
|
77
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
78
|
+
}]
|
|
79
|
+
}], ctorParameters: function () { return [{ type: i1.ReorderController }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { sorting: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], columns: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], hasRowActions: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], selection: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], rowsContainer: [{
|
|
88
|
+
type: ViewChild,
|
|
89
|
+
args: ['rowsContainer', { read: ViewContainerRef, static: true }]
|
|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