@firestitch/list 18.0.46 → 18.0.48
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/list-controller.d.ts +2 -2
- package/app/components/body/row/actions/actions.component.d.ts +1 -3
- package/app/components/body/row/menu-action/menu-action.component.d.ts +0 -2
- package/app/components/body/row/row.component.d.ts +11 -12
- package/app/components/footer/footer-row/footer-row.component.d.ts +0 -2
- package/app/components/head/head-cell/head-cell.component.d.ts +2 -2
- package/app/components/head/head.component.d.ts +1 -2
- package/app/components/list/list.component.d.ts +2 -8
- package/app/directives/draggable-list/draggable-list.directive.d.ts +0 -3
- package/app/directives/draggable-row/draggable-row.directive.d.ts +1 -4
- package/app/directives/group-expand-trigger/group-expand-trigger.directive.d.ts +0 -2
- package/app/fs-list.module.d.ts +1 -1
- package/app/interfaces/listconfig.interface.d.ts +5 -4
- package/app/models/row-action.model.d.ts +2 -5
- package/esm2022/app/classes/list-controller.mjs +4 -4
- package/esm2022/app/components/body/body.component.mjs +4 -6
- package/esm2022/app/components/body/row/actions/actions.component.mjs +16 -22
- package/esm2022/app/components/body/row/menu-action/menu-action.component.mjs +9 -15
- package/esm2022/app/components/body/row/row.component.mjs +49 -54
- package/esm2022/app/components/customize-cols/customize-cols.component.mjs +5 -6
- package/esm2022/app/components/footer/footer-row/footer-row.component.mjs +7 -12
- package/esm2022/app/components/head/head-cell/head-cell.component.mjs +11 -16
- package/esm2022/app/components/head/head.component.mjs +9 -14
- package/esm2022/app/components/list/list.component.mjs +16 -39
- package/esm2022/app/components/loader/loader.component.mjs +3 -4
- package/esm2022/app/components/pagination/pagination.component.mjs +5 -6
- package/esm2022/app/directives/draggable-list/draggable-list.directive.mjs +9 -17
- package/esm2022/app/directives/draggable-row/draggable-row.directive.mjs +8 -16
- package/esm2022/app/directives/group-expand-trigger/group-expand-trigger.directive.mjs +5 -9
- package/esm2022/app/fs-list.module.mjs +4 -2
- package/esm2022/app/interfaces/listconfig.interface.mjs +1 -1
- package/esm2022/app/models/row-action.model.mjs +1 -1
- package/esm2022/public_api.mjs +2 -1
- package/fesm2022/firestitch-list.mjs +436 -499
- package/fesm2022/firestitch-list.mjs.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +2 -1
|
@@ -3,7 +3,7 @@ import { ActivatedRoute } from '@angular/router';
|
|
|
3
3
|
import { ChangeFn, FilterConfig, FsFilterAutoReload, IFilterSavedFiltersConfig } from '@firestitch/filter';
|
|
4
4
|
import { SelectionDialog } from '@firestitch/selection';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { FsListAfterContentInitFn, FsListAfterFetchFn, FsListAfterInitFn, FsListBeforeFetchFn, FsListConfig, FsListEmptyStateConfig, FsListFetchFn, FsListFetchSubscription, FsListNoResultsConfig, FsListPersitance, FsListRestoreConfig, FsListTrackByFn } from '../interfaces';
|
|
6
|
+
import { FsListAfterContentInitFn, FsListAfterFetchFn, FsListAfterInitFn, FsListBeforeFetchFn, FsListConfig, FsListEmptyStateConfig, FsListFetchFn, FsListFetchSubscription, FsListNoResultsConfig, FsListPersitance, FsListRestoreConfig, FsListRowAction, FsListRowActionGroup, FsListTrackByFn } from '../interfaces';
|
|
7
7
|
import { ColumnsController } from './columns-controller';
|
|
8
8
|
import { DataController } from './data-controller';
|
|
9
9
|
import { ExternalParamsController } from './external-params-controller';
|
|
@@ -24,7 +24,7 @@ export declare class List {
|
|
|
24
24
|
subheading: string;
|
|
25
25
|
autoFocus: boolean;
|
|
26
26
|
rowHoverHighlight: boolean;
|
|
27
|
-
rowActionsRaw:
|
|
27
|
+
rowActionsRaw: (FsListRowActionGroup | FsListRowAction)[];
|
|
28
28
|
groupActionsRaw: any[];
|
|
29
29
|
rowClass: any;
|
|
30
30
|
rowEvents: any;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FsPrompt } from '@firestitch/prompt';
|
|
3
2
|
import { Row } from '../../../../models/row';
|
|
4
3
|
import { RowAction } from '../../../../models/row-action.model';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class FsRowActionsComponent {
|
|
7
|
-
private _prompt;
|
|
8
6
|
row: Row;
|
|
9
7
|
index: number;
|
|
10
8
|
restoreMode: boolean;
|
|
@@ -14,7 +12,7 @@ export declare class FsRowActionsComponent {
|
|
|
14
12
|
inlineRowActions: RowAction[];
|
|
15
13
|
restoreAction: RowAction;
|
|
16
14
|
private _destroy$;
|
|
17
|
-
|
|
15
|
+
private _prompt;
|
|
18
16
|
actionClick(action: RowAction, row: any, event: any, menuRef?: any): void;
|
|
19
17
|
/**
|
|
20
18
|
* Track By for improve change detection
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FsMenuComponent } from '@firestitch/menu';
|
|
3
2
|
import { FsListRowActionFile } from '../../../../interfaces/listconfig.interface';
|
|
4
3
|
import { Row } from '../../../../models/row';
|
|
5
4
|
import { RowAction } from '../../../../models/row-action.model';
|
|
@@ -13,7 +12,6 @@ export declare class FsRowMenuActionComponent implements OnInit, OnChanges {
|
|
|
13
12
|
fileError: EventEmitter<any>;
|
|
14
13
|
icon: string;
|
|
15
14
|
label: string;
|
|
16
|
-
constructor(_menu: FsMenuComponent);
|
|
17
15
|
ngOnChanges(changes: SimpleChanges): void;
|
|
18
16
|
selectFile(event: any): void;
|
|
19
17
|
errorFile(event: any): void;
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, DoCheck, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
3
|
import { ReorderPosition, ReorderStrategy } from '../../../classes/reorder-controller';
|
|
4
4
|
import { SelectionController } from '../../../classes/selection-controller';
|
|
5
|
-
import { FsListDraggableListDirective } from '../../../directives/draggable-list/draggable-list.directive';
|
|
6
5
|
import { Column } from '../../../models/column.model';
|
|
7
6
|
import { Row } from '../../../models/row';
|
|
8
7
|
import { RowAction } from '../../../models/row-action.model';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class FsRowComponent implements OnInit, DoCheck, AfterViewInit, OnDestroy {
|
|
11
|
-
el: ElementRef;
|
|
12
|
-
private _cdRef;
|
|
13
|
-
private _differs;
|
|
14
|
-
private _renderer;
|
|
15
|
-
private _draggableList;
|
|
16
10
|
role: string;
|
|
17
11
|
row: import("@angular/core").InputSignal<Row>;
|
|
18
12
|
rowActionsRaw: any[];
|
|
@@ -38,21 +32,26 @@ export declare class FsRowComponent implements OnInit, DoCheck, AfterViewInit, O
|
|
|
38
32
|
restoreAction: RowAction;
|
|
39
33
|
selected: boolean;
|
|
40
34
|
indeterminateSelected: boolean | 'indeterminate';
|
|
35
|
+
isGroupRow: import("@angular/core").Signal<boolean>;
|
|
36
|
+
isGroupFooterRow: import("@angular/core").Signal<boolean>;
|
|
37
|
+
dragCellVisible: import("@angular/core").Signal<boolean>;
|
|
38
|
+
rowCustomClass: import("@angular/core").Signal<string>;
|
|
41
39
|
private _rowDiffer;
|
|
42
40
|
private _eventListeners;
|
|
43
41
|
private _destroy$;
|
|
44
|
-
|
|
42
|
+
private _el;
|
|
43
|
+
private _cdRef;
|
|
44
|
+
private _differs;
|
|
45
|
+
private _renderer;
|
|
46
|
+
private _draggableList;
|
|
47
|
+
constructor();
|
|
45
48
|
get isDragDisabled(): boolean;
|
|
46
49
|
get isMultipleSelection(): boolean;
|
|
47
|
-
rowCustomClass: import("@angular/core").Signal<string>;
|
|
48
50
|
get leftDragDropEnabled(): boolean;
|
|
49
51
|
get rightDragDropEnabled(): boolean;
|
|
50
52
|
ngOnInit(): void;
|
|
51
53
|
ngDoCheck(): void;
|
|
52
54
|
ngAfterViewInit(): void;
|
|
53
|
-
isGroupRow: import("@angular/core").Signal<boolean>;
|
|
54
|
-
isGroupFooterRow: import("@angular/core").Signal<boolean>;
|
|
55
|
-
dragCellVisible: import("@angular/core").Signal<boolean>;
|
|
56
55
|
updateRowActions(): void;
|
|
57
56
|
ngOnDestroy(): void;
|
|
58
57
|
/**
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, KeyValueDiffers, Renderer2 } from '@angular/core';
|
|
2
1
|
import { FsRowComponent } from '../../body/row/row.component';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class FsFooterRowComponent extends FsRowComponent {
|
|
5
|
-
constructor(el: ElementRef, cdRef: ChangeDetectorRef, differs: KeyValueDiffers, renderer: Renderer2);
|
|
6
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsFooterRowComponent, never>;
|
|
7
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<FsFooterRowComponent, "[fs-list-footer-row]", never, {}, {}, never, never, true, never>;
|
|
8
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DoCheck } from '@angular/core';
|
|
2
2
|
import { FsCellComponent } from '../../body/row/cell/cell.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FsHeadCellComponent extends FsCellComponent implements DoCheck {
|
|
@@ -6,7 +6,7 @@ export declare class FsHeadCellComponent extends FsCellComponent implements DoCh
|
|
|
6
6
|
private _differs;
|
|
7
7
|
cellContext: any;
|
|
8
8
|
private _columnDiffer;
|
|
9
|
-
constructor(
|
|
9
|
+
constructor();
|
|
10
10
|
ngDoCheck(): void;
|
|
11
11
|
initCellContext(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsHeadCellComponent, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
3
|
import { ReorderPosition, ReorderStrategy } from '../../classes/reorder-controller';
|
|
4
4
|
import { SelectionController } from '../../classes/selection-controller';
|
|
@@ -19,7 +19,6 @@ export declare class FsHeadComponent implements OnInit, OnDestroy {
|
|
|
19
19
|
selectedAll: boolean;
|
|
20
20
|
readonly ReorderStrategyEnum: typeof ReorderStrategy;
|
|
21
21
|
private _destroy$;
|
|
22
|
-
constructor(_cdRef: ChangeDetectorRef);
|
|
23
22
|
get leftDragDropEnabled(): boolean;
|
|
24
23
|
get rightDragDropEnabled(): boolean;
|
|
25
24
|
ngOnInit(): void;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { AfterContentInit,
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
1
|
+
import { AfterContentInit, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
4
2
|
import { FilterComponent } from '@firestitch/filter';
|
|
5
|
-
import { SelectionDialog } from '@firestitch/selection';
|
|
6
3
|
import { Observable } from 'rxjs';
|
|
7
4
|
import { List } from '../../classes/list-controller';
|
|
8
|
-
import { PersistanceController } from '../../classes/persistance-controller';
|
|
9
5
|
import { ReorderController } from '../../classes/reorder-controller';
|
|
10
6
|
import { FsListColumnDirective } from '../../directives/column/column.directive';
|
|
11
7
|
import { FsListAbstractRow, FsListAction, FsListConfig, FsListSelectionConfig, FsListTrackByFn, FsListTrackByTargetRowFn } from '../../interfaces';
|
|
12
8
|
import { IPaginationState } from '../../interfaces/pagination-state.interface';
|
|
13
|
-
import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
|
|
14
9
|
import { FsBodyComponent } from '../body/body.component';
|
|
15
10
|
import * as i0 from "@angular/core";
|
|
16
11
|
export declare class FsListComponent implements OnInit, OnDestroy, AfterContentInit {
|
|
@@ -47,7 +42,6 @@ export declare class FsListComponent implements OnInit, OnDestroy, AfterContentI
|
|
|
47
42
|
private set _emptyStateTemplate(value);
|
|
48
43
|
private _dialogRef;
|
|
49
44
|
private _drawerRef;
|
|
50
|
-
constructor(reorderController: ReorderController, _config: FsListConfig, _el: ElementRef, _selectionDialog: SelectionDialog, _dialog: MatDialog, _cdRef: ChangeDetectorRef, _groupExpandNotifier: GroupExpandNotifierService, _route: ActivatedRoute, _persistance: PersistanceController);
|
|
51
45
|
/**
|
|
52
46
|
* Return reference for filter
|
|
53
47
|
*/
|
|
@@ -115,6 +109,6 @@ export declare class FsListComponent implements OnInit, OnDestroy, AfterContentI
|
|
|
115
109
|
private _waitFirstLoad;
|
|
116
110
|
private _configMergeCustomizer;
|
|
117
111
|
private _restorePersistance;
|
|
118
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsListComponent,
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsListComponent, never>;
|
|
119
113
|
static ɵcmp: i0.ɵɵComponentDeclaration<FsListComponent, "fs-list", never, { "config": { "alias": "config"; "required": false; }; "loaderLines": { "alias": "loaderLines"; "required": false; }; }, { "filtersReady": "filtersReady"; }, ["headingTemplate", "_emptyStateTemplate", "columnTemplates"], ["[fs-list-content]"], true, never>;
|
|
120
114
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { ReorderController } from '../../classes/reorder-controller';
|
|
4
2
|
import { Row } from '../../models/row';
|
|
5
3
|
import { FsListDraggableRowDirective } from '../draggable-row/draggable-row.directive';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
@@ -26,7 +24,6 @@ export declare class FsListDraggableListDirective {
|
|
|
26
24
|
private _draggableChildrenDirectives;
|
|
27
25
|
private _selectedRowsDirectives;
|
|
28
26
|
private _destroy$;
|
|
29
|
-
constructor(_cdRef: ChangeDetectorRef, _zone: NgZone, _containerElement: ElementRef, _reorderController: ReorderController, _renderer: Renderer2);
|
|
30
27
|
private _windowTouchMoveHandler;
|
|
31
28
|
get dragStart$(): Observable<void>;
|
|
32
29
|
get dragEnd$(): Observable<void>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit
|
|
2
|
-
import { ReorderController } from '../../classes/reorder-controller';
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { Row } from '../../models/row';
|
|
4
|
-
import { FsListDraggableListDirective } from '../draggable-list/draggable-list.directive';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class FsListDraggableRowDirective implements OnInit, OnDestroy {
|
|
7
5
|
private _el;
|
|
@@ -10,7 +8,6 @@ export declare class FsListDraggableRowDirective implements OnInit, OnDestroy {
|
|
|
10
8
|
private _draggableList;
|
|
11
9
|
row: Row;
|
|
12
10
|
private _destroy$;
|
|
13
|
-
constructor(_el: ElementRef, _renderer: Renderer2, _reorderController: ReorderController, _draggableList: FsListDraggableListDirective);
|
|
14
11
|
get elRef(): ElementRef;
|
|
15
12
|
ngOnInit(): void;
|
|
16
13
|
ngOnDestroy(): void;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { GroupExpandNotifierService } from '../../services/group-expand-notifier.service';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class FsListGroupExpandTriggerDirective {
|
|
4
3
|
private _expandNotifier;
|
|
5
4
|
click(event: any): void;
|
|
6
5
|
row: any;
|
|
7
|
-
constructor(_expandNotifier: GroupExpandNotifierService);
|
|
8
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsListGroupExpandTriggerDirective, never>;
|
|
9
7
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FsListGroupExpandTriggerDirective, "[fsListGroupExpandTrigger]", never, { "row": { "alias": "row"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
8
|
}
|
package/app/fs-list.module.d.ts
CHANGED
|
@@ -34,6 +34,6 @@ import * as i30 from "./pipes/action-label";
|
|
|
34
34
|
export declare class FsListModule {
|
|
35
35
|
static forRoot(config?: FsListConfig): ModuleWithProviders<FsListModule>;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsListModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FsListModule, never, [typeof i1.FsListComponent, typeof i2.FsRowComponent, typeof i3.FsRowActionsComponent, typeof i4.FsRowInlineActionComponent, typeof i5.FsRowMenuActionComponent, typeof i6.FsCellComponent, typeof i7.FsFooterRowComponent, typeof i8.FsFooterCellComponent, typeof i9.FsStatusComponent, typeof i10.FsListLoaderComponent, typeof i11.FsHeadComponent, typeof i12.FsHeadCellComponent, typeof i13.FsBodyComponent, typeof i14.FsFooterComponent, typeof i15.FsPaginationComponent, typeof i16.FsListColumnDirective, typeof i17.FsListCellDirective, typeof i18.FsListHeaderDirective, typeof i19.FsListFooterDirective, typeof i20.FsListGroupHeaderDirective, typeof i21.FsListGroupFooterDirective, typeof i22.FsListGroupExpandTriggerDirective, typeof i23.FsListDraggableListDirective, typeof i24.FsListDraggableRowDirective, typeof i25.FsListEmptyStateDirective, typeof i26.FsListContentDirective, typeof i27.FsListContentInitDirective, typeof i28.FsListHeadingDirective, typeof i29.CustomizeColsDialogComponent, typeof i30.ActionLabelPipe], [typeof i1.FsListComponent, typeof i2.FsRowComponent, typeof i6.FsCellComponent, typeof i10.FsListLoaderComponent, typeof i16.FsListColumnDirective, typeof i17.FsListCellDirective, typeof i18.FsListHeaderDirective, typeof i19.FsListFooterDirective, typeof i20.FsListGroupHeaderDirective, typeof i21.FsListGroupFooterDirective, typeof i22.FsListGroupExpandTriggerDirective, typeof i25.FsListEmptyStateDirective, typeof i26.FsListContentDirective, typeof i28.FsListHeadingDirective]>;
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FsListModule, never, [typeof i1.FsListComponent, typeof i2.FsRowComponent, typeof i3.FsRowActionsComponent, typeof i4.FsRowInlineActionComponent, typeof i5.FsRowMenuActionComponent, typeof i6.FsCellComponent, typeof i7.FsFooterRowComponent, typeof i8.FsFooterCellComponent, typeof i9.FsStatusComponent, typeof i10.FsListLoaderComponent, typeof i11.FsHeadComponent, typeof i12.FsHeadCellComponent, typeof i13.FsBodyComponent, typeof i14.FsFooterComponent, typeof i15.FsPaginationComponent, typeof i16.FsListColumnDirective, typeof i17.FsListCellDirective, typeof i18.FsListHeaderDirective, typeof i19.FsListFooterDirective, typeof i20.FsListGroupHeaderDirective, typeof i21.FsListGroupFooterDirective, typeof i22.FsListGroupExpandTriggerDirective, typeof i23.FsListDraggableListDirective, typeof i24.FsListDraggableRowDirective, typeof i25.FsListEmptyStateDirective, typeof i26.FsListContentDirective, typeof i27.FsListContentInitDirective, typeof i28.FsListHeadingDirective, typeof i29.CustomizeColsDialogComponent, typeof i30.ActionLabelPipe], [typeof i1.FsListComponent, typeof i2.FsRowComponent, typeof i6.FsCellComponent, typeof i10.FsListLoaderComponent, typeof i16.FsListColumnDirective, typeof i17.FsListCellDirective, typeof i18.FsListHeaderDirective, typeof i19.FsListFooterDirective, typeof i20.FsListGroupHeaderDirective, typeof i21.FsListGroupFooterDirective, typeof i22.FsListGroupExpandTriggerDirective, typeof i25.FsListEmptyStateDirective, typeof i26.FsListContentDirective, typeof i28.FsListHeadingDirective, typeof i23.FsListDraggableListDirective]>;
|
|
38
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<FsListModule>;
|
|
39
39
|
}
|
|
@@ -171,12 +171,13 @@ export interface FsListRowAction {
|
|
|
171
171
|
link?: FsListRowActionLinkFn;
|
|
172
172
|
file?: FsListRowActionFile;
|
|
173
173
|
show?: (row: any, index: number) => boolean;
|
|
174
|
-
remove?:
|
|
175
|
-
title?: string;
|
|
176
|
-
template?: string;
|
|
177
|
-
} | boolean;
|
|
174
|
+
remove?: FsListRowActionRemove | boolean;
|
|
178
175
|
restore?: boolean;
|
|
179
176
|
}
|
|
177
|
+
export interface FsListRowActionRemove {
|
|
178
|
+
title?: string;
|
|
179
|
+
template?: string;
|
|
180
|
+
}
|
|
180
181
|
export type FsListRowActionFileFn = (selection: FsFile | FsFile[], row: FsListAbstractRow, index: number) => void;
|
|
181
182
|
export type FsListRowActionLinkFn = (row: FsListAbstractRow) => FsListRowActionLink;
|
|
182
183
|
export type FsListRowActionLabelFn = (row: FsListAbstractRow) => string;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { ActionType } from '../enums/action-type.enum';
|
|
2
|
-
import { FsListRowActionFile, FsListRowActionLink } from '../interfaces';
|
|
2
|
+
import { FsListRowActionFile, FsListRowActionLink, FsListRowActionRemove } from '../interfaces';
|
|
3
3
|
export declare class RowAction {
|
|
4
4
|
icon: string | ((row: any) => string);
|
|
5
5
|
menu: boolean;
|
|
6
|
-
remove:
|
|
7
|
-
title: string;
|
|
8
|
-
template: string;
|
|
9
|
-
};
|
|
6
|
+
remove: FsListRowActionRemove | boolean;
|
|
10
7
|
className: string;
|
|
11
8
|
type: ActionType;
|
|
12
9
|
show: Function;
|