@firestitch/list 12.2.1 → 12.3.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/list-controller.d.ts +4 -7
- package/app/interfaces/listconfig.interface.d.ts +1 -1
- package/app/models/row-action.model.d.ts +2 -3
- package/app/models/styleConfig.model.d.ts +2 -2
- package/bundles/firestitch-list.umd.js +94 -200
- package/bundles/firestitch-list.umd.js.map +1 -1
- package/esm2015/app/classes/list-controller.js +21 -84
- package/esm2015/app/interfaces/listconfig.interface.js +1 -1
- package/esm2015/app/models/row-action.model.js +13 -46
- package/esm2015/app/models/styleConfig.model.js +8 -18
- package/fesm2015/firestitch-list.js +39 -141
- package/fesm2015/firestitch-list.js.map +1 -1
- package/package.json +5 -5
|
@@ -3,9 +3,8 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
|
3
3
|
import { ChangeFn, FilterConfig, IFilterSavedFiltersConfig } from '@firestitch/filter';
|
|
4
4
|
import { FsScrollInstance, FsScrollService } from '@firestitch/scroll';
|
|
5
5
|
import { SelectionDialog } from '@firestitch/selection';
|
|
6
|
-
import { Model } from 'tsmodels';
|
|
7
6
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
8
|
-
import { FsListAfterContentInitFn, FsListAfterFetchFn, FsListConfig, FsListEmptyStateConfig, FsListFetchFn, FsListFetchSubscription, FsListNoResultsConfig, FsListRestoreConfig, FsListScrollableConfig, FsListTrackByFn } from '../interfaces';
|
|
7
|
+
import { FsListAfterContentInitFn, FsListAfterFetchFn, FsListConfig, FsListEmptyStateConfig, FsListFetchFn, FsListFetchSubscription, FsListNoResultsConfig, FsListPersitance, FsListRestoreConfig, FsListScrollableConfig, FsListTrackByFn } from '../interfaces';
|
|
9
8
|
import { ColumnsController } from './columns-controller';
|
|
10
9
|
import { ActionsController } from './index';
|
|
11
10
|
import { DataController } from './data-controller';
|
|
@@ -14,7 +13,7 @@ import { SelectionController } from './selection-controller';
|
|
|
14
13
|
import { SortingController } from './sorting-controller';
|
|
15
14
|
import { PersistanceController } from './persistance-controller';
|
|
16
15
|
import { ExternalParamsController } from './external-params-controller';
|
|
17
|
-
export declare class List
|
|
16
|
+
export declare class List {
|
|
18
17
|
private el;
|
|
19
18
|
private config;
|
|
20
19
|
private fsScroll;
|
|
@@ -26,19 +25,17 @@ export declare class List extends Model {
|
|
|
26
25
|
heading: string;
|
|
27
26
|
trackBy: string;
|
|
28
27
|
subheading: string;
|
|
29
|
-
inlineFilters: any;
|
|
30
28
|
rowActionsRaw: any[];
|
|
31
29
|
groupActionsRaw: any[];
|
|
32
30
|
rowClass: any;
|
|
33
31
|
rowEvents: any;
|
|
34
32
|
restore: FsListRestoreConfig;
|
|
35
|
-
|
|
36
|
-
persist: boolean;
|
|
33
|
+
persist: FsListPersitance;
|
|
37
34
|
filters: any[];
|
|
38
35
|
filterInitCb: ChangeFn;
|
|
39
36
|
filterChangeCb: ChangeFn;
|
|
40
37
|
savedFilters: IFilterSavedFiltersConfig;
|
|
41
|
-
scrollable: FsListScrollableConfig
|
|
38
|
+
scrollable: FsListScrollableConfig;
|
|
42
39
|
noResults: FsListNoResultsConfig;
|
|
43
40
|
emptyState: FsListEmptyStateConfig;
|
|
44
41
|
fetchFn: FsListFetchFn;
|
|
@@ -36,7 +36,7 @@ export interface FsListConfig {
|
|
|
36
36
|
fetch?: FsListFetchFn;
|
|
37
37
|
afterFetch?: FsListAfterFetchFn;
|
|
38
38
|
afterContentInit?: FsListAfterContentInitFn;
|
|
39
|
-
scrollable?: FsListScrollableConfig
|
|
39
|
+
scrollable?: FsListScrollableConfig;
|
|
40
40
|
selection?: FsListSelectionConfig;
|
|
41
41
|
initialFetch?: boolean;
|
|
42
42
|
rowEvents?: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Model } from 'tsmodels';
|
|
2
1
|
import { ActionType } from '../enums/button-type.enum';
|
|
3
2
|
import { FsListRowActionFile, FsListRowActionLink } from '../interfaces';
|
|
4
|
-
export declare class RowAction
|
|
3
|
+
export declare class RowAction {
|
|
5
4
|
icon: string;
|
|
6
5
|
menu: boolean;
|
|
7
6
|
remove: {
|
|
@@ -24,7 +23,7 @@ export declare class RowAction extends Model {
|
|
|
24
23
|
private readonly _isGroup;
|
|
25
24
|
constructor(config?: any);
|
|
26
25
|
get isGroup(): boolean;
|
|
27
|
-
|
|
26
|
+
_init(value: any): void;
|
|
28
27
|
checkShowStatus(row: any, index: any): void;
|
|
29
28
|
updateLink(row: any): void;
|
|
30
29
|
updateLabel(row: any): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare class StyleConfig extends Model {
|
|
1
|
+
export declare class StyleConfig {
|
|
3
2
|
colspan: any;
|
|
4
3
|
align: string;
|
|
5
4
|
className: string | string[];
|
|
@@ -22,6 +21,7 @@ export declare class StyleConfig extends Model {
|
|
|
22
21
|
* @param prior2
|
|
23
22
|
*/
|
|
24
23
|
mergeClassByPriority(prior1: StyleConfig, prior2: StyleConfig): void;
|
|
24
|
+
private _init;
|
|
25
25
|
/**
|
|
26
26
|
* Merge params into array
|
|
27
27
|
* @param to
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/material/button'), require('@angular/material/checkbox'), require('@angular/material/core'), require('@angular/material/dialog'), require('@angular/material/icon'), require('@angular/material/menu'), require('@angular/material/tooltip'), require('@angular/material/progress-spinner'), require('@angular/flex-layout'), require('@firestitch/filter'), require('@firestitch/scroll'), require('@firestitch/menu'), require('@firestitch/prompt'), require('@firestitch/file'), require('lodash-es'), require('rxjs'), require('rxjs/operators'), require('@firestitch/common'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@firestitch/list', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/material/button', '@angular/material/checkbox', '@angular/material/core', '@angular/material/dialog', '@angular/material/icon', '@angular/material/menu', '@angular/material/tooltip', '@angular/material/progress-spinner', '@angular/flex-layout', '@firestitch/filter', '@firestitch/scroll', '@firestitch/menu', '@firestitch/prompt', '@firestitch/file', 'lodash-es', 'rxjs', 'rxjs/operators', '@firestitch/common', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch.list = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.material.button, global.ng.material.checkbox, global.ng.material.core, global.ng.material.dialog, global.ng.material.icon, global.ng.material.menu, global.ng.material.tooltip, global.ng.material.progressSpinner, global.ng.flexLayout, global.i2, global.i2$4, global.i2$3, global.i1$1, global.i4$1, global.lodashEs, global.rxjs, global.rxjs.operators, global.common, global.
|
|
5
|
-
})(this, (function (exports, i0, i3$1, i6$1, i2$2, i2$1, i4$2, i4, i3, menu, i6, progressSpinner, flexLayout, i2, i2$4, i2$3, i1$1, i4$1, lodashEs, rxjs, operators, common,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/material/button'), require('@angular/material/checkbox'), require('@angular/material/core'), require('@angular/material/dialog'), require('@angular/material/icon'), require('@angular/material/menu'), require('@angular/material/tooltip'), require('@angular/material/progress-spinner'), require('@angular/flex-layout'), require('@firestitch/filter'), require('@firestitch/scroll'), require('@firestitch/menu'), require('@firestitch/prompt'), require('@firestitch/file'), require('lodash-es'), require('rxjs'), require('rxjs/operators'), require('@firestitch/common'), require('@firestitch/store'), require('@firestitch/selection'), require('@firestitch/drawer'), require('@angular/flex-layout/extended'), require('@angular/flex-layout/flex')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@firestitch/list', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/material/button', '@angular/material/checkbox', '@angular/material/core', '@angular/material/dialog', '@angular/material/icon', '@angular/material/menu', '@angular/material/tooltip', '@angular/material/progress-spinner', '@angular/flex-layout', '@firestitch/filter', '@firestitch/scroll', '@firestitch/menu', '@firestitch/prompt', '@firestitch/file', 'lodash-es', 'rxjs', 'rxjs/operators', '@firestitch/common', '@firestitch/store', '@firestitch/selection', '@firestitch/drawer', '@angular/flex-layout/extended', '@angular/flex-layout/flex'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.firestitch = global.firestitch || {}, global.firestitch.list = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.material.button, global.ng.material.checkbox, global.ng.material.core, global.ng.material.dialog, global.ng.material.icon, global.ng.material.menu, global.ng.material.tooltip, global.ng.material.progressSpinner, global.ng.flexLayout, global.i2, global.i2$4, global.i2$3, global.i1$1, global.i4$1, global.lodashEs, global.rxjs, global.rxjs.operators, global.common, global.i1, global.i3$3, global.i9, global.ng.flexLayout.extended, global.ng.flexLayout.flex));
|
|
5
|
+
})(this, (function (exports, i0, i3$1, i6$1, i2$2, i2$1, i4$2, i4, i3, menu, i6, progressSpinner, flexLayout, i2, i2$4, i2$3, i1$1, i4$1, lodashEs, rxjs, operators, common, i1, i3$3, i9, i5, i3$2) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -360,16 +360,13 @@
|
|
|
360
360
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
-
var StyleConfig = /** @class */ (function (
|
|
364
|
-
__extends(StyleConfig, _super);
|
|
363
|
+
var StyleConfig = /** @class */ (function () {
|
|
365
364
|
function StyleConfig(config) {
|
|
366
365
|
if (config === void 0) { config = {}; }
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
_this._fromJSON(config);
|
|
372
|
-
return _this;
|
|
366
|
+
this.className = []; // Can't be used in tempaltes!
|
|
367
|
+
this.classesArray = []; // Can be used in tempaltes
|
|
368
|
+
this.classesString = '';
|
|
369
|
+
this._init(config);
|
|
373
370
|
}
|
|
374
371
|
/**
|
|
375
372
|
* Create static array of styles for using in templates
|
|
@@ -419,6 +416,11 @@
|
|
|
419
416
|
}
|
|
420
417
|
this.className = targetValue;
|
|
421
418
|
};
|
|
419
|
+
StyleConfig.prototype._init = function (config) {
|
|
420
|
+
this.colspan = config.colspan;
|
|
421
|
+
this.align = config.align;
|
|
422
|
+
this.className = config.className;
|
|
423
|
+
};
|
|
422
424
|
/**
|
|
423
425
|
* Merge params into array
|
|
424
426
|
* @param to
|
|
@@ -433,19 +435,7 @@
|
|
|
433
435
|
}
|
|
434
436
|
};
|
|
435
437
|
return StyleConfig;
|
|
436
|
-
}(
|
|
437
|
-
__decorate([
|
|
438
|
-
tsmodels.Alias(),
|
|
439
|
-
__metadata("design:type", Object)
|
|
440
|
-
], StyleConfig.prototype, "colspan", void 0);
|
|
441
|
-
__decorate([
|
|
442
|
-
tsmodels.Alias(),
|
|
443
|
-
__metadata("design:type", String)
|
|
444
|
-
], StyleConfig.prototype, "align", void 0);
|
|
445
|
-
__decorate([
|
|
446
|
-
tsmodels.Alias(),
|
|
447
|
-
__metadata("design:type", Object)
|
|
448
|
-
], StyleConfig.prototype, "className", void 0);
|
|
438
|
+
}());
|
|
449
439
|
|
|
450
440
|
exports.SortingDirection = void 0;
|
|
451
441
|
(function (SortingDirection) {
|
|
@@ -676,20 +666,17 @@
|
|
|
676
666
|
ActionType["MiniFab"] = "mini-fab";
|
|
677
667
|
})(exports.ActionType || (exports.ActionType = {}));
|
|
678
668
|
|
|
679
|
-
var RowAction = /** @class */ (function (
|
|
680
|
-
__extends(RowAction, _super);
|
|
669
|
+
var RowAction = /** @class */ (function () {
|
|
681
670
|
function RowAction(config) {
|
|
682
671
|
if (config === void 0) { config = {}; }
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
_this._isGroup = true;
|
|
672
|
+
this.label = '';
|
|
673
|
+
this.classArray = [];
|
|
674
|
+
this.isShown = true;
|
|
675
|
+
this._isGroup = false;
|
|
676
|
+
this._init(config);
|
|
677
|
+
if (Array.isArray(this.rowActions)) {
|
|
678
|
+
this._isGroup = true;
|
|
691
679
|
}
|
|
692
|
-
return _this;
|
|
693
680
|
}
|
|
694
681
|
Object.defineProperty(RowAction.prototype, "isGroup", {
|
|
695
682
|
get: function () {
|
|
@@ -698,15 +685,17 @@
|
|
|
698
685
|
enumerable: false,
|
|
699
686
|
configurable: true
|
|
700
687
|
});
|
|
701
|
-
RowAction.prototype.
|
|
688
|
+
RowAction.prototype._init = function (value) {
|
|
702
689
|
var _this = this;
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
690
|
+
var _a, _b, _c;
|
|
691
|
+
this.icon = value.icon;
|
|
692
|
+
this.menu = (_a = value.menu) !== null && _a !== void 0 ? _a : true;
|
|
693
|
+
this.remove = value.remove;
|
|
694
|
+
this.className = value.className;
|
|
695
|
+
this.type = (_b = value.type) !== null && _b !== void 0 ? _b : exports.ActionType.Basic;
|
|
696
|
+
this.show = value.show;
|
|
697
|
+
this.restore = value.restore;
|
|
698
|
+
this.rowActions = (_c = value.rowActions) === null || _c === void 0 ? void 0 : _c.map(function (action) { return new RowAction(action); });
|
|
710
699
|
// Re-assign click function
|
|
711
700
|
var clickFn = value.click;
|
|
712
701
|
this.click = function (row, event, index, rowActionsRef) {
|
|
@@ -791,39 +780,7 @@
|
|
|
791
780
|
}
|
|
792
781
|
};
|
|
793
782
|
return RowAction;
|
|
794
|
-
}(
|
|
795
|
-
__decorate([
|
|
796
|
-
tsmodels.Alias(),
|
|
797
|
-
__metadata("design:type", String)
|
|
798
|
-
], RowAction.prototype, "icon", void 0);
|
|
799
|
-
__decorate([
|
|
800
|
-
tsmodels.Alias(),
|
|
801
|
-
__metadata("design:type", Boolean)
|
|
802
|
-
], RowAction.prototype, "menu", void 0);
|
|
803
|
-
__decorate([
|
|
804
|
-
tsmodels.Alias(),
|
|
805
|
-
__metadata("design:type", Object)
|
|
806
|
-
], RowAction.prototype, "remove", void 0);
|
|
807
|
-
__decorate([
|
|
808
|
-
tsmodels.Alias(),
|
|
809
|
-
__metadata("design:type", String)
|
|
810
|
-
], RowAction.prototype, "className", void 0);
|
|
811
|
-
__decorate([
|
|
812
|
-
tsmodels.Alias(),
|
|
813
|
-
__metadata("design:type", String)
|
|
814
|
-
], RowAction.prototype, "type", void 0);
|
|
815
|
-
__decorate([
|
|
816
|
-
tsmodels.Alias(),
|
|
817
|
-
__metadata("design:type", Function)
|
|
818
|
-
], RowAction.prototype, "show", void 0);
|
|
819
|
-
__decorate([
|
|
820
|
-
tsmodels.Alias(),
|
|
821
|
-
__metadata("design:type", Boolean)
|
|
822
|
-
], RowAction.prototype, "restore", void 0);
|
|
823
|
-
__decorate([
|
|
824
|
-
tsmodels.Alias('rowActions', RowAction),
|
|
825
|
-
__metadata("design:type", Array)
|
|
826
|
-
], RowAction.prototype, "rowActions", void 0);
|
|
783
|
+
}());
|
|
827
784
|
|
|
828
785
|
var ColumnsController = /** @class */ (function () {
|
|
829
786
|
function ColumnsController() {
|
|
@@ -3478,56 +3435,51 @@
|
|
|
3478
3435
|
}());
|
|
3479
3436
|
|
|
3480
3437
|
var SHOW_DELETED_FILTERS_KEY = '$$_show_deleted_$$';
|
|
3481
|
-
var List = /** @class */ (function (
|
|
3482
|
-
__extends(List, _super);
|
|
3438
|
+
var List = /** @class */ (function () {
|
|
3483
3439
|
function List(el, config, fsScroll, selectionDialog, router, route, persistance, inDialog) {
|
|
3484
3440
|
if (config === void 0) { config = {}; }
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
_this.filters = [];
|
|
3495
|
-
_this.scrollable = false;
|
|
3441
|
+
this.el = el;
|
|
3442
|
+
this.config = config;
|
|
3443
|
+
this.fsScroll = fsScroll;
|
|
3444
|
+
this.selectionDialog = selectionDialog;
|
|
3445
|
+
this.router = router;
|
|
3446
|
+
this.route = route;
|
|
3447
|
+
this.persistance = persistance;
|
|
3448
|
+
this.inDialog = inDialog;
|
|
3449
|
+
this.filters = [];
|
|
3496
3450
|
// @Alias('rows') private _rows: any;
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3451
|
+
this.initialized$ = new rxjs.BehaviorSubject(false);
|
|
3452
|
+
this.loading$ = new rxjs.BehaviorSubject(false);
|
|
3453
|
+
this.paging = new PaginationController();
|
|
3454
|
+
this.columns = new ColumnsController();
|
|
3455
|
+
this.actions = new ActionsController();
|
|
3456
|
+
this.dataController = new DataController();
|
|
3457
|
+
this.sorting = new SortingController();
|
|
3458
|
+
this.filterConfig = null;
|
|
3459
|
+
this.fetch$ = new rxjs.Subject();
|
|
3460
|
+
this.fetchComplete$ = new rxjs.Subject();
|
|
3461
|
+
this.filtersReady$ = new rxjs.Subject();
|
|
3462
|
+
this.status = true;
|
|
3463
|
+
this.chips = false;
|
|
3464
|
+
this.filterInput = true;
|
|
3465
|
+
this.queryParam = false;
|
|
3466
|
+
this.restoreMode = false;
|
|
3467
|
+
this.initialFetch = true;
|
|
3514
3468
|
// Empty state
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
_this.fetch$.next();
|
|
3469
|
+
this.emptyStateEnabled = false;
|
|
3470
|
+
this.onDestroy$ = new rxjs.Subject();
|
|
3471
|
+
this._filtersQuery = new rxjs.BehaviorSubject(null);
|
|
3472
|
+
this.initialize(config);
|
|
3473
|
+
this._headerConfig = new StyleConfig(config.header);
|
|
3474
|
+
this._groupCellConfig = new StyleConfig(config.cell);
|
|
3475
|
+
this._cellConfig = new StyleConfig(config.cell);
|
|
3476
|
+
this._footerConfig = new StyleConfig(config.footer);
|
|
3477
|
+
this.initialized$.next(true);
|
|
3478
|
+
this.subscribe();
|
|
3479
|
+
if (this.initialFetch) {
|
|
3480
|
+
this.dataController.setOperation(exports.FsListState.Load);
|
|
3481
|
+
this.fetch$.next();
|
|
3529
3482
|
}
|
|
3530
|
-
return _this;
|
|
3531
3483
|
}
|
|
3532
3484
|
Object.defineProperty(List.prototype, "hasSavedFilters", {
|
|
3533
3485
|
get: function () {
|
|
@@ -3720,6 +3672,24 @@
|
|
|
3720
3672
|
* @param config
|
|
3721
3673
|
*/
|
|
3722
3674
|
List.prototype.initialize = function (config) {
|
|
3675
|
+
var _a;
|
|
3676
|
+
this.heading = config.heading;
|
|
3677
|
+
this.trackBy = config.trackBy;
|
|
3678
|
+
this.subheading = config.subheading;
|
|
3679
|
+
this.rowActionsRaw = config.rowActions;
|
|
3680
|
+
this.rowClass = config.rowClass;
|
|
3681
|
+
this.rowEvents = config.rowEvents;
|
|
3682
|
+
this.restore = config.restore;
|
|
3683
|
+
this.persist = config.persist;
|
|
3684
|
+
this.filters = (_a = config.filters) !== null && _a !== void 0 ? _a : [];
|
|
3685
|
+
this.filterInitCb = config.filterInit;
|
|
3686
|
+
this.filterChangeCb = config.filterChange;
|
|
3687
|
+
this.savedFilters = config.savedFilters;
|
|
3688
|
+
this.scrollable = config.scrollable;
|
|
3689
|
+
this.noResults = config.noResults;
|
|
3690
|
+
this.emptyState = config.emptyState;
|
|
3691
|
+
this.fetchFn = config.fetch;
|
|
3692
|
+
this.afterFetchFn = config.afterFetch;
|
|
3723
3693
|
this.columns.initConfig(config.column);
|
|
3724
3694
|
this.initDefaultOptions(config);
|
|
3725
3695
|
this.initRestore();
|
|
@@ -4011,7 +3981,7 @@
|
|
|
4011
3981
|
persist: this.persist,
|
|
4012
3982
|
items: this.filters || [],
|
|
4013
3983
|
savedFilters: this.savedFilters,
|
|
4014
|
-
inline: this.inlineFilters,
|
|
3984
|
+
// inline: this.inlineFilters,
|
|
4015
3985
|
actions: this.actions.actions,
|
|
4016
3986
|
queryParam: this.queryParam,
|
|
4017
3987
|
sorts: sortValues,
|
|
@@ -4169,83 +4139,7 @@
|
|
|
4169
4139
|
}
|
|
4170
4140
|
};
|
|
4171
4141
|
return List;
|
|
4172
|
-
}(
|
|
4173
|
-
__decorate([
|
|
4174
|
-
tsmodels.Alias(),
|
|
4175
|
-
__metadata("design:type", String)
|
|
4176
|
-
], List.prototype, "heading", void 0);
|
|
4177
|
-
__decorate([
|
|
4178
|
-
tsmodels.Alias(),
|
|
4179
|
-
__metadata("design:type", String)
|
|
4180
|
-
], List.prototype, "trackBy", void 0);
|
|
4181
|
-
__decorate([
|
|
4182
|
-
tsmodels.Alias(),
|
|
4183
|
-
__metadata("design:type", String)
|
|
4184
|
-
], List.prototype, "subheading", void 0);
|
|
4185
|
-
__decorate([
|
|
4186
|
-
tsmodels.Alias(),
|
|
4187
|
-
__metadata("design:type", Object)
|
|
4188
|
-
], List.prototype, "inlineFilters", void 0);
|
|
4189
|
-
__decorate([
|
|
4190
|
-
tsmodels.Alias('rowActions'),
|
|
4191
|
-
__metadata("design:type", Array)
|
|
4192
|
-
], List.prototype, "rowActionsRaw", void 0);
|
|
4193
|
-
__decorate([
|
|
4194
|
-
tsmodels.Alias('rowClass'),
|
|
4195
|
-
__metadata("design:type", Object)
|
|
4196
|
-
], List.prototype, "rowClass", void 0);
|
|
4197
|
-
__decorate([
|
|
4198
|
-
tsmodels.Alias(),
|
|
4199
|
-
__metadata("design:type", Object)
|
|
4200
|
-
], List.prototype, "rowEvents", void 0);
|
|
4201
|
-
__decorate([
|
|
4202
|
-
tsmodels.Alias(),
|
|
4203
|
-
__metadata("design:type", Object)
|
|
4204
|
-
], List.prototype, "restore", void 0);
|
|
4205
|
-
__decorate([
|
|
4206
|
-
tsmodels.Alias(),
|
|
4207
|
-
__metadata("design:type", Object)
|
|
4208
|
-
], List.prototype, "columnTemplates", void 0);
|
|
4209
|
-
__decorate([
|
|
4210
|
-
tsmodels.Alias(),
|
|
4211
|
-
__metadata("design:type", Boolean)
|
|
4212
|
-
], List.prototype, "persist", void 0);
|
|
4213
|
-
__decorate([
|
|
4214
|
-
tsmodels.Alias(),
|
|
4215
|
-
__metadata("design:type", Object)
|
|
4216
|
-
], List.prototype, "filters", void 0);
|
|
4217
|
-
__decorate([
|
|
4218
|
-
tsmodels.Alias('filterInit'),
|
|
4219
|
-
__metadata("design:type", Function)
|
|
4220
|
-
], List.prototype, "filterInitCb", void 0);
|
|
4221
|
-
__decorate([
|
|
4222
|
-
tsmodels.Alias('filterChange'),
|
|
4223
|
-
__metadata("design:type", Function)
|
|
4224
|
-
], List.prototype, "filterChangeCb", void 0);
|
|
4225
|
-
__decorate([
|
|
4226
|
-
tsmodels.Alias(),
|
|
4227
|
-
__metadata("design:type", Object)
|
|
4228
|
-
], List.prototype, "savedFilters", void 0);
|
|
4229
|
-
__decorate([
|
|
4230
|
-
tsmodels.Alias(),
|
|
4231
|
-
__metadata("design:type", Object)
|
|
4232
|
-
], List.prototype, "scrollable", void 0);
|
|
4233
|
-
__decorate([
|
|
4234
|
-
tsmodels.Alias(),
|
|
4235
|
-
__metadata("design:type", Object)
|
|
4236
|
-
], List.prototype, "noResults", void 0);
|
|
4237
|
-
__decorate([
|
|
4238
|
-
tsmodels.Alias(),
|
|
4239
|
-
__metadata("design:type", Object)
|
|
4240
|
-
], List.prototype, "emptyState", void 0);
|
|
4241
|
-
__decorate([
|
|
4242
|
-
tsmodels.Alias('fetch'),
|
|
4243
|
-
__metadata("design:type", Function)
|
|
4244
|
-
], List.prototype, "fetchFn", void 0);
|
|
4245
|
-
__decorate([
|
|
4246
|
-
tsmodels.Alias('afterFetch'),
|
|
4247
|
-
__metadata("design:type", Function)
|
|
4248
|
-
], List.prototype, "afterFetchFn", void 0);
|
|
4142
|
+
}());
|
|
4249
4143
|
|
|
4250
4144
|
exports.ReorderPosition = void 0;
|
|
4251
4145
|
(function (ReorderPosition) {
|