@firestitch/list 12.18.5 → 12.18.7
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 +186 -186
- 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 +155 -155
- package/app/classes/sorting-controller.d.ts +64 -64
- package/app/components/body/body.component.d.ts +28 -28
- package/app/components/body/row/actions/actions.component.d.ts +36 -36
- package/app/components/body/row/cell/cell.component.d.ts +22 -22
- package/app/components/body/row/inline-action/inline-action.component.d.ts +13 -16
- package/app/components/body/row/menu-action/menu-action.component.d.ts +20 -20
- package/app/components/body/row/row.component.d.ts +82 -82
- 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 +15 -15
- package/app/components/head/head-cell/head-cell.component.d.ts +14 -14
- package/app/components/head/head.component.d.ts +49 -49
- package/app/components/list/list.component.d.ts +124 -124
- 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 +95 -95
- 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 +246 -246
- 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 +60 -60
- 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 +6940 -6951
- 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 +365 -365
- 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 +743 -744
- 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 +467 -467
- package/esm2015/app/classes/sorting-controller.js +180 -180
- package/esm2015/app/components/body/body.component.js +68 -68
- package/esm2015/app/components/body/row/actions/actions.component.js +99 -99
- package/esm2015/app/components/body/row/cell/cell.component.js +113 -113
- package/esm2015/app/components/body/row/inline-action/inline-action.component.js +37 -40
- package/esm2015/app/components/body/row/menu-action/menu-action.component.js +50 -50
- package/esm2015/app/components/body/row/row.component.js +304 -304
- 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 +32 -32
- package/esm2015/app/components/footer/footer.component.js +35 -35
- package/esm2015/app/components/head/head-cell/head-cell.component.js +34 -34
- package/esm2015/app/components/head/head.component.js +107 -107
- package/esm2015/app/components/list/list.component.js +387 -387
- package/esm2015/app/components/loader/loader.component.js +45 -47
- package/esm2015/app/components/manage-saved-filters/manage-saved-filters.component.js +79 -78
- package/esm2015/app/components/pagination/pagination.component.js +42 -44
- package/esm2015/app/components/saved-filters/saved-filters.component.js +32 -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 +13 -13
- package/esm2015/app/directives/content-init/content-init.directive.js +21 -21
- package/esm2015/app/directives/draggable-list/draggable-list.directive.js +329 -329
- package/esm2015/app/directives/draggable-row/draggable-row.directive.js +79 -79
- 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 +245 -245
- 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 +162 -162
- 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 +90 -95
- 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 +5720 -5731
- 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 +39 -39
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { FsListGroupExpandTriggerDirective } from '../directives/group-expand-trigger/group-expand-trigger.directive';
|
|
4
|
-
import { FsListColumnConfig } from '../interfaces/column-config.interface';
|
|
5
|
-
import { StyleConfig } from './styleConfig.model';
|
|
6
|
-
export declare enum SortingDirection {
|
|
7
|
-
asc = "asc",
|
|
8
|
-
desc = "desc"
|
|
9
|
-
}
|
|
10
|
-
export declare class Column {
|
|
11
|
-
headerTemplate: TemplateRef<any>;
|
|
12
|
-
groupHeaderTemplate: TemplateRef<any>;
|
|
13
|
-
groupFooterTemplate: TemplateRef<any>;
|
|
14
|
-
cellTemplate: TemplateRef<any>;
|
|
15
|
-
footerTemplate: TemplateRef<any>;
|
|
16
|
-
expandTrigger: QueryList<FsListGroupExpandTriggerDirective>;
|
|
17
|
-
headerConfigs: StyleConfig;
|
|
18
|
-
groupHeaderConfigs: StyleConfig;
|
|
19
|
-
groupFooterConfigs: StyleConfig;
|
|
20
|
-
cellConfigs: StyleConfig;
|
|
21
|
-
footerConfigs: StyleConfig;
|
|
22
|
-
colStyles: StyleConfig;
|
|
23
|
-
headerColspanned: boolean;
|
|
24
|
-
groupHeaderColspanned: boolean;
|
|
25
|
-
groupFooterColspanned: boolean;
|
|
26
|
-
cellColspanned: boolean;
|
|
27
|
-
footerColspanned: boolean;
|
|
28
|
-
private _attributes;
|
|
29
|
-
private _ordered;
|
|
30
|
-
constructor(colConfig: FsListColumnConfig, colDefaults?: any);
|
|
31
|
-
set title(value: string);
|
|
32
|
-
get title(): string;
|
|
33
|
-
get name(): string;
|
|
34
|
-
get customize(): boolean;
|
|
35
|
-
get width(): string;
|
|
36
|
-
set sortable(value: boolean);
|
|
37
|
-
get sortable(): boolean;
|
|
38
|
-
get sortableDefault(): boolean;
|
|
39
|
-
set sortingDirection(value: 'asc' | 'desc');
|
|
40
|
-
get sortingDirection(): 'asc' | 'desc';
|
|
41
|
-
get sortingDirection$(): Observable<'asc' | 'desc'>;
|
|
42
|
-
get visible(): boolean;
|
|
43
|
-
get visible$(): Observable<boolean>;
|
|
44
|
-
get direction(): "desc" | "asc";
|
|
45
|
-
get fullNameDirection(): "Ascending" | "Descending";
|
|
46
|
-
get ordered(): boolean;
|
|
47
|
-
set ordered(value: boolean);
|
|
48
|
-
/**
|
|
49
|
-
* Merge with defaults with existing config
|
|
50
|
-
*
|
|
51
|
-
* @param defaults
|
|
52
|
-
*/
|
|
53
|
-
mergeWithColumnDefaults(defaults: any): void;
|
|
54
|
-
/**
|
|
55
|
-
* Change sorting direction
|
|
56
|
-
*/
|
|
57
|
-
changeDirection(): void;
|
|
58
|
-
updateVisibility(value: boolean): void;
|
|
59
|
-
private _parseConfig;
|
|
60
|
-
}
|
|
1
|
+
import { QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FsListGroupExpandTriggerDirective } from '../directives/group-expand-trigger/group-expand-trigger.directive';
|
|
4
|
+
import { FsListColumnConfig } from '../interfaces/column-config.interface';
|
|
5
|
+
import { StyleConfig } from './styleConfig.model';
|
|
6
|
+
export declare enum SortingDirection {
|
|
7
|
+
asc = "asc",
|
|
8
|
+
desc = "desc"
|
|
9
|
+
}
|
|
10
|
+
export declare class Column {
|
|
11
|
+
headerTemplate: TemplateRef<any>;
|
|
12
|
+
groupHeaderTemplate: TemplateRef<any>;
|
|
13
|
+
groupFooterTemplate: TemplateRef<any>;
|
|
14
|
+
cellTemplate: TemplateRef<any>;
|
|
15
|
+
footerTemplate: TemplateRef<any>;
|
|
16
|
+
expandTrigger: QueryList<FsListGroupExpandTriggerDirective>;
|
|
17
|
+
headerConfigs: StyleConfig;
|
|
18
|
+
groupHeaderConfigs: StyleConfig;
|
|
19
|
+
groupFooterConfigs: StyleConfig;
|
|
20
|
+
cellConfigs: StyleConfig;
|
|
21
|
+
footerConfigs: StyleConfig;
|
|
22
|
+
colStyles: StyleConfig;
|
|
23
|
+
headerColspanned: boolean;
|
|
24
|
+
groupHeaderColspanned: boolean;
|
|
25
|
+
groupFooterColspanned: boolean;
|
|
26
|
+
cellColspanned: boolean;
|
|
27
|
+
footerColspanned: boolean;
|
|
28
|
+
private _attributes;
|
|
29
|
+
private _ordered;
|
|
30
|
+
constructor(colConfig: FsListColumnConfig, colDefaults?: any);
|
|
31
|
+
set title(value: string);
|
|
32
|
+
get title(): string;
|
|
33
|
+
get name(): string;
|
|
34
|
+
get customize(): boolean;
|
|
35
|
+
get width(): string;
|
|
36
|
+
set sortable(value: boolean);
|
|
37
|
+
get sortable(): boolean;
|
|
38
|
+
get sortableDefault(): boolean;
|
|
39
|
+
set sortingDirection(value: 'asc' | 'desc');
|
|
40
|
+
get sortingDirection(): 'asc' | 'desc';
|
|
41
|
+
get sortingDirection$(): Observable<'asc' | 'desc'>;
|
|
42
|
+
get visible(): boolean;
|
|
43
|
+
get visible$(): Observable<boolean>;
|
|
44
|
+
get direction(): "desc" | "asc";
|
|
45
|
+
get fullNameDirection(): "Ascending" | "Descending";
|
|
46
|
+
get ordered(): boolean;
|
|
47
|
+
set ordered(value: boolean);
|
|
48
|
+
/**
|
|
49
|
+
* Merge with defaults with existing config
|
|
50
|
+
*
|
|
51
|
+
* @param defaults
|
|
52
|
+
*/
|
|
53
|
+
mergeWithColumnDefaults(defaults: any): void;
|
|
54
|
+
/**
|
|
55
|
+
* Change sorting direction
|
|
56
|
+
*/
|
|
57
|
+
changeDirection(): void;
|
|
58
|
+
updateVisibility(value: boolean): void;
|
|
59
|
+
private _parseConfig;
|
|
60
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { RowType } from '../../enums/row-type.enum';
|
|
2
|
-
import { FsListReorderData } from '../../interfaces';
|
|
3
|
-
export declare abstract class BaseRow {
|
|
4
|
-
index: number;
|
|
5
|
-
readyToSwap: boolean;
|
|
6
|
-
protected readonly _rowType: RowType;
|
|
7
|
-
private readonly _data;
|
|
8
|
-
constructor(data?: any, rowType?: RowType);
|
|
9
|
-
get data(): any;
|
|
10
|
-
get type(): RowType;
|
|
11
|
-
getReorderData(): FsListReorderData;
|
|
12
|
-
abstract destroy(): any;
|
|
13
|
-
}
|
|
1
|
+
import { RowType } from '../../enums/row-type.enum';
|
|
2
|
+
import { FsListReorderData } from '../../interfaces';
|
|
3
|
+
export declare abstract class BaseRow {
|
|
4
|
+
index: number;
|
|
5
|
+
readyToSwap: boolean;
|
|
6
|
+
protected readonly _rowType: RowType;
|
|
7
|
+
private readonly _data;
|
|
8
|
+
constructor(data?: any, rowType?: RowType);
|
|
9
|
+
get data(): any;
|
|
10
|
+
get type(): RowType;
|
|
11
|
+
getReorderData(): FsListReorderData;
|
|
12
|
+
abstract destroy(): any;
|
|
13
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BaseRow } from './base-row';
|
|
2
|
-
import { GroupRow } from './group-row';
|
|
3
|
-
import { FsListReorderData } from '../../interfaces';
|
|
4
|
-
export declare class ChildRow extends BaseRow {
|
|
5
|
-
visible: boolean;
|
|
6
|
-
private readonly _parent;
|
|
7
|
-
constructor(data?: any, parent?: GroupRow);
|
|
8
|
-
get parent(): GroupRow;
|
|
9
|
-
get isChild(): boolean;
|
|
10
|
-
getReorderData(): FsListReorderData;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
}
|
|
1
|
+
import { BaseRow } from './base-row';
|
|
2
|
+
import { GroupRow } from './group-row';
|
|
3
|
+
import { FsListReorderData } from '../../interfaces';
|
|
4
|
+
export declare class ChildRow extends BaseRow {
|
|
5
|
+
visible: boolean;
|
|
6
|
+
private readonly _parent;
|
|
7
|
+
constructor(data?: any, parent?: GroupRow);
|
|
8
|
+
get parent(): GroupRow;
|
|
9
|
+
get isChild(): boolean;
|
|
10
|
+
getReorderData(): FsListReorderData;
|
|
11
|
+
destroy(): void;
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseRow } from './base-row';
|
|
2
|
-
import { GroupRow } from './group-row';
|
|
3
|
-
export declare class GroupFooterRow extends BaseRow {
|
|
4
|
-
visible: boolean;
|
|
5
|
-
private readonly _parent;
|
|
6
|
-
constructor(data?: any, parent?: GroupRow);
|
|
7
|
-
get parent(): GroupRow;
|
|
8
|
-
get isGroupFooter(): boolean;
|
|
9
|
-
destroy(): void;
|
|
10
|
-
}
|
|
1
|
+
import { BaseRow } from './base-row';
|
|
2
|
+
import { GroupRow } from './group-row';
|
|
3
|
+
export declare class GroupFooterRow extends BaseRow {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
private readonly _parent;
|
|
6
|
+
constructor(data?: any, parent?: GroupRow);
|
|
7
|
+
get parent(): GroupRow;
|
|
8
|
+
get isGroupFooter(): boolean;
|
|
9
|
+
destroy(): void;
|
|
10
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { BaseRow } from './base-row';
|
|
2
|
-
import { ChildRow } from './child-row';
|
|
3
|
-
import { GroupFooterRow } from './group-footer-row';
|
|
4
|
-
export declare class GroupRow extends BaseRow {
|
|
5
|
-
children: (ChildRow | GroupFooterRow)[];
|
|
6
|
-
private readonly _expanded;
|
|
7
|
-
constructor(data?: any, initialExpand?: boolean);
|
|
8
|
-
get childrenData(): any[];
|
|
9
|
-
get isGroup(): boolean;
|
|
10
|
-
get expanded(): boolean;
|
|
11
|
-
get expanded$(): import("rxjs").Observable<boolean>;
|
|
12
|
-
updateChildrenIndexes(): void;
|
|
13
|
-
updateChildrenVisibility(): void;
|
|
14
|
-
toggleRowExpandStatus(): void;
|
|
15
|
-
destroy(): void;
|
|
16
|
-
}
|
|
1
|
+
import { BaseRow } from './base-row';
|
|
2
|
+
import { ChildRow } from './child-row';
|
|
3
|
+
import { GroupFooterRow } from './group-footer-row';
|
|
4
|
+
export declare class GroupRow extends BaseRow {
|
|
5
|
+
children: (ChildRow | GroupFooterRow)[];
|
|
6
|
+
private readonly _expanded;
|
|
7
|
+
constructor(data?: any, initialExpand?: boolean);
|
|
8
|
+
get childrenData(): any[];
|
|
9
|
+
get isGroup(): boolean;
|
|
10
|
+
get expanded(): boolean;
|
|
11
|
+
get expanded$(): import("rxjs").Observable<boolean>;
|
|
12
|
+
updateChildrenIndexes(): void;
|
|
13
|
+
updateChildrenVisibility(): void;
|
|
14
|
+
toggleRowExpandStatus(): void;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseRow } from './base-row';
|
|
2
|
-
export declare class SimpleRow extends BaseRow {
|
|
3
|
-
constructor(data?: any);
|
|
4
|
-
destroy(): void;
|
|
5
|
-
}
|
|
1
|
+
import { BaseRow } from './base-row';
|
|
2
|
+
export declare class SimpleRow extends BaseRow {
|
|
3
|
+
constructor(data?: any);
|
|
4
|
+
destroy(): void;
|
|
5
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { ActionType } from '../enums/button-type.enum';
|
|
2
|
-
import { FsListRowActionFile, FsListRowActionLink } from '../interfaces';
|
|
3
|
-
export declare class RowAction {
|
|
4
|
-
icon: string;
|
|
5
|
-
menu: boolean;
|
|
6
|
-
remove: {
|
|
7
|
-
title: string;
|
|
8
|
-
template: string;
|
|
9
|
-
};
|
|
10
|
-
className: string;
|
|
11
|
-
type: ActionType;
|
|
12
|
-
show: Function;
|
|
13
|
-
restore: boolean;
|
|
14
|
-
rowActions: RowAction[];
|
|
15
|
-
label: string;
|
|
16
|
-
routerLink: FsListRowActionLink;
|
|
17
|
-
classArray: string[];
|
|
18
|
-
isShown: boolean;
|
|
19
|
-
click: Function;
|
|
20
|
-
fileConfig: FsListRowActionFile;
|
|
21
|
-
private _linkFn;
|
|
22
|
-
private readonly _isGroup;
|
|
23
|
-
constructor(config?: any);
|
|
24
|
-
get isGroup(): boolean;
|
|
25
|
-
_init(value: any): void;
|
|
26
|
-
checkShowStatus(row: any, index: any): void;
|
|
27
|
-
updateLink(row: any): void;
|
|
28
|
-
private
|
|
29
|
-
}
|
|
1
|
+
import { ActionType } from '../enums/button-type.enum';
|
|
2
|
+
import { FsListRowActionFile, FsListRowActionLink } from '../interfaces';
|
|
3
|
+
export declare class RowAction {
|
|
4
|
+
icon: string;
|
|
5
|
+
menu: boolean;
|
|
6
|
+
remove: {
|
|
7
|
+
title: string;
|
|
8
|
+
template: string;
|
|
9
|
+
};
|
|
10
|
+
className: string;
|
|
11
|
+
type: ActionType;
|
|
12
|
+
show: Function;
|
|
13
|
+
restore: boolean;
|
|
14
|
+
rowActions: RowAction[];
|
|
15
|
+
label: string;
|
|
16
|
+
routerLink: FsListRowActionLink;
|
|
17
|
+
classArray: string[];
|
|
18
|
+
isShown: boolean;
|
|
19
|
+
click: Function;
|
|
20
|
+
fileConfig: FsListRowActionFile;
|
|
21
|
+
private _linkFn;
|
|
22
|
+
private readonly _isGroup;
|
|
23
|
+
constructor(config?: any);
|
|
24
|
+
get isGroup(): boolean;
|
|
25
|
+
_init(value: any): void;
|
|
26
|
+
checkShowStatus(row: any, index: any): void;
|
|
27
|
+
updateLink(row: any): void;
|
|
28
|
+
private _clickEvent;
|
|
29
|
+
}
|
package/app/models/row.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { RowType } from '../enums/row-type.enum';
|
|
2
|
-
import { ChildRow } from './row/child-row';
|
|
3
|
-
import { GroupRow } from './row/group-row';
|
|
4
|
-
import { FsListReorderData } from '../interfaces';
|
|
5
|
-
import { GroupFooterRow } from './row/group-footer-row';
|
|
6
|
-
export declare class Row {
|
|
7
|
-
private _row;
|
|
8
|
-
constructor(data?: any, rowType?: RowType, { parent, initialExpand }?: {
|
|
9
|
-
parent?: GroupRow;
|
|
10
|
-
initialExpand?: boolean;
|
|
11
|
-
});
|
|
12
|
-
get index(): number;
|
|
13
|
-
set index(value: number);
|
|
14
|
-
get readyToSwap(): boolean;
|
|
15
|
-
get visible(): boolean;
|
|
16
|
-
set readyToSwap(value: boolean);
|
|
17
|
-
get data(): any;
|
|
18
|
-
get type(): RowType;
|
|
19
|
-
get isGroup(): boolean;
|
|
20
|
-
get isGroupChild(): boolean;
|
|
21
|
-
get isGroupFooter(): boolean;
|
|
22
|
-
get parent(): GroupRow;
|
|
23
|
-
get children(): (ChildRow | GroupFooterRow)[];
|
|
24
|
-
get expanded(): boolean;
|
|
25
|
-
get expanded$(): import("rxjs").Observable<boolean>;
|
|
26
|
-
updateChildrenIndexes(): void;
|
|
27
|
-
toggleRowExpandStatus(): void;
|
|
28
|
-
getReorderData(): FsListReorderData;
|
|
29
|
-
destroy(): void;
|
|
30
|
-
}
|
|
1
|
+
import { RowType } from '../enums/row-type.enum';
|
|
2
|
+
import { ChildRow } from './row/child-row';
|
|
3
|
+
import { GroupRow } from './row/group-row';
|
|
4
|
+
import { FsListReorderData } from '../interfaces';
|
|
5
|
+
import { GroupFooterRow } from './row/group-footer-row';
|
|
6
|
+
export declare class Row {
|
|
7
|
+
private _row;
|
|
8
|
+
constructor(data?: any, rowType?: RowType, { parent, initialExpand }?: {
|
|
9
|
+
parent?: GroupRow;
|
|
10
|
+
initialExpand?: boolean;
|
|
11
|
+
});
|
|
12
|
+
get index(): number;
|
|
13
|
+
set index(value: number);
|
|
14
|
+
get readyToSwap(): boolean;
|
|
15
|
+
get visible(): boolean;
|
|
16
|
+
set readyToSwap(value: boolean);
|
|
17
|
+
get data(): any;
|
|
18
|
+
get type(): RowType;
|
|
19
|
+
get isGroup(): boolean;
|
|
20
|
+
get isGroupChild(): boolean;
|
|
21
|
+
get isGroupFooter(): boolean;
|
|
22
|
+
get parent(): GroupRow;
|
|
23
|
+
get children(): (ChildRow | GroupFooterRow)[];
|
|
24
|
+
get expanded(): boolean;
|
|
25
|
+
get expanded$(): import("rxjs").Observable<boolean>;
|
|
26
|
+
updateChildrenIndexes(): void;
|
|
27
|
+
toggleRowExpandStatus(): void;
|
|
28
|
+
getReorderData(): FsListReorderData;
|
|
29
|
+
destroy(): void;
|
|
30
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export declare class StyleConfig {
|
|
2
|
-
colspan: any;
|
|
3
|
-
align: string;
|
|
4
|
-
className: string | string[];
|
|
5
|
-
classesArray: any[];
|
|
6
|
-
classesString: string;
|
|
7
|
-
constructor(config?: {});
|
|
8
|
-
/**
|
|
9
|
-
* Create static array of styles for using in templates
|
|
10
|
-
*/
|
|
11
|
-
updateClasesArray(): void;
|
|
12
|
-
/**
|
|
13
|
-
* Prioritized merge for align options
|
|
14
|
-
* @param prior1
|
|
15
|
-
* @param prior2
|
|
16
|
-
*/
|
|
17
|
-
mergeAlignByPriority(prior1: StyleConfig, prior2: StyleConfig): void;
|
|
18
|
-
/**
|
|
19
|
-
* Prioritized merge for class options
|
|
20
|
-
* @param prior1
|
|
21
|
-
* @param prior2
|
|
22
|
-
*/
|
|
23
|
-
mergeClassByPriority(prior1: StyleConfig, prior2: StyleConfig): void;
|
|
24
|
-
private _init;
|
|
25
|
-
/**
|
|
26
|
-
* Merge params into array
|
|
27
|
-
* @param to
|
|
28
|
-
* @param from
|
|
29
|
-
*/
|
|
30
|
-
private mergeAnythingIntoArray;
|
|
31
|
-
}
|
|
1
|
+
export declare class StyleConfig {
|
|
2
|
+
colspan: any;
|
|
3
|
+
align: string;
|
|
4
|
+
className: string | string[];
|
|
5
|
+
classesArray: any[];
|
|
6
|
+
classesString: string;
|
|
7
|
+
constructor(config?: {});
|
|
8
|
+
/**
|
|
9
|
+
* Create static array of styles for using in templates
|
|
10
|
+
*/
|
|
11
|
+
updateClasesArray(): void;
|
|
12
|
+
/**
|
|
13
|
+
* Prioritized merge for align options
|
|
14
|
+
* @param prior1
|
|
15
|
+
* @param prior2
|
|
16
|
+
*/
|
|
17
|
+
mergeAlignByPriority(prior1: StyleConfig, prior2: StyleConfig): void;
|
|
18
|
+
/**
|
|
19
|
+
* Prioritized merge for class options
|
|
20
|
+
* @param prior1
|
|
21
|
+
* @param prior2
|
|
22
|
+
*/
|
|
23
|
+
mergeClassByPriority(prior1: StyleConfig, prior2: StyleConfig): void;
|
|
24
|
+
private _init;
|
|
25
|
+
/**
|
|
26
|
+
* Merge params into array
|
|
27
|
+
* @param to
|
|
28
|
+
* @param from
|
|
29
|
+
*/
|
|
30
|
+
private mergeAnythingIntoArray;
|
|
31
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { Row } from '../models/row';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ActionLabelPipe implements PipeTransform {
|
|
5
|
-
transform(label: any, row: Row): any;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionLabelPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ActionLabelPipe, "actionLabel">;
|
|
8
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Row } from '../models/row';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ActionLabelPipe implements PipeTransform {
|
|
5
|
+
transform(label: any, row: Row): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionLabelPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ActionLabelPipe, "actionLabel">;
|
|
8
|
+
}
|
package/app/pipes/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './action-label';
|
|
1
|
+
export * from './action-label';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class GroupExpandNotifierService implements OnDestroy {
|
|
4
|
-
private _expandStatusChanged$;
|
|
5
|
-
private _destroy$;
|
|
6
|
-
get expandStatusChange$(): import("rxjs").Observable<unknown>;
|
|
7
|
-
toggleExpandStatus(rowData: any): void;
|
|
8
|
-
ngOnDestroy(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupExpandNotifierService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GroupExpandNotifierService>;
|
|
11
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GroupExpandNotifierService implements OnDestroy {
|
|
4
|
+
private _expandStatusChanged$;
|
|
5
|
+
private _destroy$;
|
|
6
|
+
get expandStatusChange$(): import("rxjs").Observable<unknown>;
|
|
7
|
+
toggleExpandStatus(rowData: any): void;
|
|
8
|
+
ngOnDestroy(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupExpandNotifierService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GroupExpandNotifierService>;
|
|
11
|
+
}
|