@coolon/angular-ui-powerups 16.1.0-aplpha.37 → 16.1.0-aplpha.39
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/esm2022/lib/components/exports.mjs +2 -2
- package/esm2022/lib/components/tables/abstract-table-model.mjs +14 -14
- package/esm2022/lib/components/tables/column/column-manager.mjs +86 -0
- package/esm2022/lib/components/tables/column/column-model.mjs +12 -2
- package/esm2022/lib/components/tables/column/column-order-manager.mjs +19 -0
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/property-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +2 -2
- package/fesm2022/coolon-angular-ui-powerups.mjs +79 -68
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/exports.d.ts +1 -1
- package/lib/components/tables/abstract-table-model.d.ts +4 -3
- package/lib/components/tables/column/column-manager.d.ts +19 -0
- package/lib/components/tables/column/column-model.d.ts +5 -1
- package/lib/components/tables/column/column-order-manager.d.ts +20 -0
- package/lib/components/tables/column/custom-template-column-model.d.ts +2 -1
- package/lib/components/tables/column/custom-value-column-model.d.ts +2 -1
- package/lib/components/tables/column/editor-controls-column-model.d.ts +2 -1
- package/lib/components/tables/column/list-propery-column-model.d.ts +2 -1
- package/lib/components/tables/column/property-column-model.d.ts +2 -1
- package/lib/components/tables/column/selection-column-model.d.ts +2 -1
- package/lib/components/tables/tree-table/tree-label-column-model.d.ts +2 -1
- package/package.json +1 -1
- package/esm2022/lib/components/tables/column/column-list-model.mjs +0 -104
- package/lib/components/tables/column/column-list-model.d.ts +0 -33
|
@@ -39,7 +39,7 @@ import { MatTableModule } from '@angular/material/table';
|
|
|
39
39
|
import * as i4$1 from '@angular/material/tooltip';
|
|
40
40
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
41
41
|
import * as i1$3 from '@coolon/pectin';
|
|
42
|
-
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, proxify, ValueModel, Proxify, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, DelegatingListModel, MutableValueModel, DelegateToValueModel, FocusManager, EventListenerList, Guard, DelegatingFormListModel, Binding, DebugContext, DelegateToListModel, DelegatingFormValueModel, ListModel, Functions, PageController, SelectionModel, CanProxy, MultipleSelectionModel, WatchList,
|
|
42
|
+
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, proxify, ValueModel, Proxify, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, DelegatingListModel, MutableValueModel, DelegateToValueModel, FocusManager, EventListenerList, Guard, DelegatingFormListModel, Binding, DebugContext, DelegateToListModel, DelegatingFormValueModel, ListModel, Functions, PageController, SelectionModel, CanProxy, MultipleSelectionModel, WatchList, DirtyTrackingForm, ProxyRegistry, DelegatingCommand, PagedListModel, ComputedListModel, Deferred, ReducingValueModel, AndValueModel } from '@coolon/pectin';
|
|
43
43
|
import { __decorate, __param, __metadata } from 'tslib';
|
|
44
44
|
import * as i1 from '@angular/platform-browser';
|
|
45
45
|
import escapeStringRegexp from 'escape-string-regexp';
|
|
@@ -2819,6 +2819,7 @@ class ColumnTextSearchWrapper extends ColumnTextSearchFormatter.Delegate {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
class ColumnModel extends GarbageCollector {
|
|
2821
2821
|
columnId;
|
|
2822
|
+
order;
|
|
2822
2823
|
textPropertiesProvider;
|
|
2823
2824
|
_columnTextProperties;
|
|
2824
2825
|
_columnHeaderPortalRef;
|
|
@@ -2832,9 +2833,10 @@ class ColumnModel extends GarbageCollector {
|
|
|
2832
2833
|
dasherisedColumnId;
|
|
2833
2834
|
textSearchDelegate = new ColumnTextSearchWrapper();
|
|
2834
2835
|
visible$;
|
|
2835
|
-
constructor(columnId, textPropertiesProvider) {
|
|
2836
|
+
constructor(columnId, order, textPropertiesProvider) {
|
|
2836
2837
|
super();
|
|
2837
2838
|
this.columnId = columnId;
|
|
2839
|
+
this.order = order;
|
|
2838
2840
|
this.textPropertiesProvider = textPropertiesProvider;
|
|
2839
2841
|
const { valueOf } = Dsl.disposeWith(this);
|
|
2840
2842
|
this.installHeaderRenderer();
|
|
@@ -2879,6 +2881,14 @@ class ColumnModel extends GarbageCollector {
|
|
|
2879
2881
|
this._columnTextProperties = columnTextProperties;
|
|
2880
2882
|
return this;
|
|
2881
2883
|
}
|
|
2884
|
+
positionAfter(column) {
|
|
2885
|
+
this.order.position(this, { after: column });
|
|
2886
|
+
return this;
|
|
2887
|
+
}
|
|
2888
|
+
positionBefore(column) {
|
|
2889
|
+
this.order.position(this, { before: column });
|
|
2890
|
+
return this;
|
|
2891
|
+
}
|
|
2882
2892
|
getSearchTextFor(row) {
|
|
2883
2893
|
return this.textSearchDelegate.format(row);
|
|
2884
2894
|
}
|
|
@@ -2980,8 +2990,8 @@ __decorate([
|
|
|
2980
2990
|
|
|
2981
2991
|
class CustomTemplateColumnModel extends ColumnModel {
|
|
2982
2992
|
config = new TemplateCellRendererPortalRef();
|
|
2983
|
-
constructor(columnId, defaults) {
|
|
2984
|
-
super(columnId, defaults);
|
|
2993
|
+
constructor(columnId, order, defaults) {
|
|
2994
|
+
super(columnId, order, defaults);
|
|
2985
2995
|
this.configureCellRenderer(this.config);
|
|
2986
2996
|
}
|
|
2987
2997
|
setTemplate(templateRef, viewContainer, fillCell, padChild) {
|
|
@@ -3485,6 +3495,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
3485
3495
|
type: Directive
|
|
3486
3496
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
3487
3497
|
|
|
3498
|
+
var ColumnOrderManager;
|
|
3499
|
+
(function (ColumnOrderManager) {
|
|
3500
|
+
function processPosition(position, callback) {
|
|
3501
|
+
if (position) {
|
|
3502
|
+
const keys = Object.keys(position);
|
|
3503
|
+
if (keys.includes("before")) {
|
|
3504
|
+
return position["before"] ? callback.before(position["before"]) : callback.first();
|
|
3505
|
+
}
|
|
3506
|
+
else {
|
|
3507
|
+
return position["after"] ? callback.after(position["after"]) : callback.last();
|
|
3508
|
+
}
|
|
3509
|
+
}
|
|
3510
|
+
else {
|
|
3511
|
+
return callback.last();
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
ColumnOrderManager.processPosition = processPosition;
|
|
3515
|
+
})(ColumnOrderManager || (ColumnOrderManager = {}));
|
|
3516
|
+
|
|
3488
3517
|
class ColumnRef {
|
|
3489
3518
|
column;
|
|
3490
3519
|
position;
|
|
@@ -3493,7 +3522,7 @@ class ColumnRef {
|
|
|
3493
3522
|
this.position = position;
|
|
3494
3523
|
}
|
|
3495
3524
|
}
|
|
3496
|
-
class
|
|
3525
|
+
class ColumnManager extends GarbageCollector {
|
|
3497
3526
|
_columnRefs$ = new MutableListModel();
|
|
3498
3527
|
orderedColumnRefs$;
|
|
3499
3528
|
_columnsById$;
|
|
@@ -3510,9 +3539,12 @@ class ColumnListModel extends GarbageCollector {
|
|
|
3510
3539
|
dependsOn: this.columnVisibilities$
|
|
3511
3540
|
});
|
|
3512
3541
|
}
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3542
|
+
position(column, newPosition) {
|
|
3543
|
+
const target = this._columnRefs$.query().findMatching(it => it.column === column);
|
|
3544
|
+
const position = this.computePosition(newPosition);
|
|
3545
|
+
this._columnRefs$.replace(target, { with: new ColumnRef(target.column, position) });
|
|
3546
|
+
console.log(this._columnRefs$.value.map(r => [r.column.columnId, r.position]));
|
|
3547
|
+
}
|
|
3516
3548
|
getColumn(id) {
|
|
3517
3549
|
return this._columnsById$.get(id);
|
|
3518
3550
|
}
|
|
@@ -3534,20 +3566,22 @@ class ColumnListModel extends GarbageCollector {
|
|
|
3534
3566
|
}
|
|
3535
3567
|
computePosition(position) {
|
|
3536
3568
|
const q = this.orderedColumnRefs$.query();
|
|
3537
|
-
return
|
|
3569
|
+
return ColumnOrderManager.processPosition(position, {
|
|
3538
3570
|
before(col) {
|
|
3539
|
-
const
|
|
3540
|
-
const beforeCol = q.value[
|
|
3541
|
-
const afterCol =
|
|
3542
|
-
|
|
3543
|
-
|
|
3571
|
+
const index = q.findIndex(ref => ref.column === col);
|
|
3572
|
+
const beforeCol = q.value[index];
|
|
3573
|
+
const afterCol = index - 1 >= 0 ? q.value[index - 1] : undefined;
|
|
3574
|
+
return afterCol ?
|
|
3575
|
+
generateKeyBetween(afterCol.position, beforeCol.position) :
|
|
3576
|
+
generateKeyBetween(null, beforeCol.position);
|
|
3544
3577
|
},
|
|
3545
3578
|
after(col) {
|
|
3546
|
-
const
|
|
3547
|
-
const afterCol = q.value[
|
|
3548
|
-
const beforeCol =
|
|
3549
|
-
|
|
3550
|
-
|
|
3579
|
+
const index = q.findIndex(ref => ref.column === col);
|
|
3580
|
+
const afterCol = q.value[index];
|
|
3581
|
+
const beforeCol = index + 1 < q.length ? q.value[index + 1] : undefined;
|
|
3582
|
+
return beforeCol ?
|
|
3583
|
+
generateKeyBetween(afterCol.position, beforeCol.position) :
|
|
3584
|
+
generateKeyBetween(afterCol.position, null);
|
|
3551
3585
|
},
|
|
3552
3586
|
first() {
|
|
3553
3587
|
return generateKeyBetween(null, q.first()?.position);
|
|
@@ -3562,29 +3596,6 @@ class ColumnListModel extends GarbageCollector {
|
|
|
3562
3596
|
return this.allColumns$.value.filter(c => c.visible$.value);
|
|
3563
3597
|
}
|
|
3564
3598
|
}
|
|
3565
|
-
__decorate([
|
|
3566
|
-
Trace(),
|
|
3567
|
-
__metadata("design:type", Function),
|
|
3568
|
-
__metadata("design:paramtypes", [Object]),
|
|
3569
|
-
__metadata("design:returntype", String)
|
|
3570
|
-
], ColumnListModel.prototype, "computePosition", null);
|
|
3571
|
-
(function (ColumnListModel) {
|
|
3572
|
-
function processPosition(position, callback) {
|
|
3573
|
-
if (position) {
|
|
3574
|
-
const keys = Object.keys(position);
|
|
3575
|
-
if (keys.includes("before")) {
|
|
3576
|
-
return position["before"] ? callback.before(position["before"]) : callback.first();
|
|
3577
|
-
}
|
|
3578
|
-
else {
|
|
3579
|
-
return position["after"] ? callback.before(position["after"]) : callback.last();
|
|
3580
|
-
}
|
|
3581
|
-
}
|
|
3582
|
-
else {
|
|
3583
|
-
return callback.last();
|
|
3584
|
-
}
|
|
3585
|
-
}
|
|
3586
|
-
ColumnListModel.processPosition = processPosition;
|
|
3587
|
-
})(ColumnListModel || (ColumnListModel = {}));
|
|
3588
3599
|
|
|
3589
3600
|
const TEXT_SEARCH_FORMATTER_KEY = `aup:table:textSearchFormatter`;
|
|
3590
3601
|
const Keys = Enum("useFunction", "useInstance", "useClass");
|
|
@@ -3616,8 +3627,8 @@ function EnableCellTextSearch(options) {
|
|
|
3616
3627
|
|
|
3617
3628
|
class CustomValueColumnModel extends ColumnModel {
|
|
3618
3629
|
getValue;
|
|
3619
|
-
constructor(columnId, defaults, getValue) {
|
|
3620
|
-
super(columnId, defaults);
|
|
3630
|
+
constructor(columnId, order, defaults, getValue) {
|
|
3631
|
+
super(columnId, order, defaults);
|
|
3621
3632
|
this.getValue = getValue;
|
|
3622
3633
|
this.cellRenderer(DefaultCellRendererComponent);
|
|
3623
3634
|
}
|
|
@@ -3647,8 +3658,8 @@ class CustomValueColumnModel extends ColumnModel {
|
|
|
3647
3658
|
}
|
|
3648
3659
|
|
|
3649
3660
|
class EditorControlColumnModel extends ColumnModel {
|
|
3650
|
-
constructor(columnId, saveCommandFactory, defaults) {
|
|
3651
|
-
super(columnId, defaults);
|
|
3661
|
+
constructor(columnId, order, saveCommandFactory, defaults) {
|
|
3662
|
+
super(columnId, order, defaults);
|
|
3652
3663
|
this.cellRenderer(EditRowControlsComponent);
|
|
3653
3664
|
}
|
|
3654
3665
|
cellRenderer(componentType) {
|
|
@@ -3673,8 +3684,8 @@ class ListPropertyColumnModel extends ColumnModel {
|
|
|
3673
3684
|
intermediate.map(v => v?.toString()).join(", ") :
|
|
3674
3685
|
intermediate?.toString();
|
|
3675
3686
|
};
|
|
3676
|
-
constructor(id, property, defaults) {
|
|
3677
|
-
super(id, defaults);
|
|
3687
|
+
constructor(id, order, property, defaults) {
|
|
3688
|
+
super(id, order, defaults);
|
|
3678
3689
|
this.property = property;
|
|
3679
3690
|
this.cellRenderer(DefaultCellRendererComponent);
|
|
3680
3691
|
}
|
|
@@ -3719,8 +3730,8 @@ class PropertyColumnModel extends ColumnModel {
|
|
|
3719
3730
|
_defaultSearchTextFormatter = (value) => {
|
|
3720
3731
|
return (this._userFormat ?? Functions.identity)(value)?.toString();
|
|
3721
3732
|
};
|
|
3722
|
-
constructor(id, property, defaults) {
|
|
3723
|
-
super(id, defaults);
|
|
3733
|
+
constructor(id, order, property, defaults) {
|
|
3734
|
+
super(id, order, defaults);
|
|
3724
3735
|
this.property = property;
|
|
3725
3736
|
this.cellRenderer(DefaultCellRendererComponent);
|
|
3726
3737
|
}
|
|
@@ -3807,8 +3818,8 @@ class SelectionColumnModel extends ColumnModel {
|
|
|
3807
3818
|
selectionModel;
|
|
3808
3819
|
_enableHeaderControls = true;
|
|
3809
3820
|
_color = "accent";
|
|
3810
|
-
constructor(columnId, defaults, selectionModel) {
|
|
3811
|
-
super(columnId, defaults);
|
|
3821
|
+
constructor(columnId, order, defaults, selectionModel) {
|
|
3822
|
+
super(columnId, order, defaults);
|
|
3812
3823
|
this.selectionModel = selectionModel;
|
|
3813
3824
|
const { chain } = Dsl.disposeWith(this);
|
|
3814
3825
|
this._selectRowOnClick(false);
|
|
@@ -3913,7 +3924,7 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
3913
3924
|
_dataSource$ = this.registerDisposable(new DelegatingListModel());
|
|
3914
3925
|
_filteredRows$ = this.registerDisposable(new DelegatingListModel());
|
|
3915
3926
|
_visibleRows$ = this.registerDisposable(new DelegatingListModel());
|
|
3916
|
-
|
|
3927
|
+
columnManager = this.registerDisposable(new ColumnManager());
|
|
3917
3928
|
_editorSessions = new MutableListModel();
|
|
3918
3929
|
_rowsBeingEdited$;
|
|
3919
3930
|
saveCommandFactory;
|
|
@@ -3951,7 +3962,7 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
3951
3962
|
this.firstEditableColumn$ = chain(this.columns).select(c => c.hasEditorPortal()).first();
|
|
3952
3963
|
this.firstVisibleColumn$ = chain(this.visibleColumns$).first();
|
|
3953
3964
|
this.lastVisibleColumn$ = chain(this.visibleColumns$).last();
|
|
3954
|
-
this.rowSelectionDisabledOnAllColumns$ = chain(this.
|
|
3965
|
+
this.rowSelectionDisabledOnAllColumns$ = chain(this.columnManager.visibleColumns$).select(column => column.isRowSelectionEnabled()).count().equals(0);
|
|
3955
3966
|
this.dataSourceEmpty$ = chain(this.dataSource$).isEmpty();
|
|
3956
3967
|
this.selectedItems$ = this.selectionModelProxy.selectedItems$;
|
|
3957
3968
|
this.leadSelection$ = this.selectionModelProxy.leadSelection$;
|
|
@@ -4029,18 +4040,18 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
4029
4040
|
});
|
|
4030
4041
|
}
|
|
4031
4042
|
get columns() {
|
|
4032
|
-
return this.
|
|
4043
|
+
return this.columnManager.allColumns$;
|
|
4033
4044
|
}
|
|
4034
4045
|
get visibleColumns$() {
|
|
4035
|
-
return this.
|
|
4046
|
+
return this.columnManager.visibleColumns$;
|
|
4036
4047
|
}
|
|
4037
4048
|
pluck(property, options) {
|
|
4038
4049
|
const columnId = options?.columnId || property.toString();
|
|
4039
|
-
return this.addColumn(new PropertyColumnModel(columnId, property, () => this.getColumnTextProperties(columnId)));
|
|
4050
|
+
return this.addColumn(new PropertyColumnModel(columnId, this.columnManager, property, () => this.getColumnTextProperties(columnId)));
|
|
4040
4051
|
}
|
|
4041
4052
|
pluckList(property, options) {
|
|
4042
4053
|
const columnId = options?.columnId || property.toString();
|
|
4043
|
-
return this.addColumn(new ListPropertyColumnModel(columnId, property, () => this.getColumnTextProperties(columnId)));
|
|
4054
|
+
return this.addColumn(new ListPropertyColumnModel(columnId, this.columnManager, property, () => this.getColumnTextProperties(columnId)));
|
|
4044
4055
|
}
|
|
4045
4056
|
// TODO: clean this up and assign the selection model on teh table directly.
|
|
4046
4057
|
// tableModel.useSelectionModel(model) and have the seleciton column automatically
|
|
@@ -4049,7 +4060,7 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
4049
4060
|
_addSelectionColumn(selectionModel, visible) {
|
|
4050
4061
|
assert.isNil(this.selectionColumnModel);
|
|
4051
4062
|
const columnId = "selection-column";
|
|
4052
|
-
this.selectionColumnModel = new SelectionColumnModel(columnId, () => this.getColumnTextProperties(columnId), this.selectionModelProxy);
|
|
4063
|
+
this.selectionColumnModel = new SelectionColumnModel(columnId, this.columnManager, () => this.getColumnTextProperties(columnId), this.selectionModelProxy);
|
|
4053
4064
|
this.selectionColumnModel.useSelectionModel(selectionModel);
|
|
4054
4065
|
this.addRowClass("aup-row-selected", row => this.selectionColumnModel.isSelected(row));
|
|
4055
4066
|
const selectionColumnModel = this.addColumn(this.selectionColumnModel, { before: null }); // first column
|
|
@@ -4064,13 +4075,13 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
4064
4075
|
this._createForm = formFactory;
|
|
4065
4076
|
}
|
|
4066
4077
|
const columnId = "editControls";
|
|
4067
|
-
return this.addColumn(new EditorControlColumnModel(columnId, saveCommandFactory, () => this.getColumnTextProperties(columnId)));
|
|
4078
|
+
return this.addColumn(new EditorControlColumnModel(columnId, this.columnManager, saveCommandFactory, () => this.getColumnTextProperties(columnId)));
|
|
4068
4079
|
}
|
|
4069
4080
|
addCustomColumn(columnId, dataAccessor) {
|
|
4070
|
-
return this.addColumn(new CustomValueColumnModel(columnId, () => this.getColumnTextProperties(columnId), dataAccessor));
|
|
4081
|
+
return this.addColumn(new CustomValueColumnModel(columnId, this.columnManager, () => this.getColumnTextProperties(columnId), dataAccessor));
|
|
4071
4082
|
}
|
|
4072
4083
|
addComponentColumn(columnId, component, onComponentInitOrOptions) {
|
|
4073
|
-
return this.addColumn(new CustomValueColumnModel(columnId, () => this.getColumnTextProperties(columnId), row => row)).cellRenderer(component, onComponentInitOrOptions);
|
|
4084
|
+
return this.addColumn(new CustomValueColumnModel(columnId, this.columnManager, () => this.getColumnTextProperties(columnId), row => row)).cellRenderer(component, onComponentInitOrOptions);
|
|
4074
4085
|
}
|
|
4075
4086
|
addMoreMenu(componentClass) {
|
|
4076
4087
|
return this.addComponentColumn("more-menu", TableMoreMenuComponent, (component) => {
|
|
@@ -4082,7 +4093,7 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
4082
4093
|
});
|
|
4083
4094
|
}
|
|
4084
4095
|
addTemplateColumn(columnId) {
|
|
4085
|
-
return this.addColumn(new CustomTemplateColumnModel(columnId, () => this.getColumnTextProperties(columnId)));
|
|
4096
|
+
return this.addColumn(new CustomTemplateColumnModel(columnId, this.columnManager, () => this.getColumnTextProperties(columnId)));
|
|
4086
4097
|
}
|
|
4087
4098
|
addRowClass(className, predicate) {
|
|
4088
4099
|
this.rowClassNamePredicates.push(new RowClass(className, predicate));
|
|
@@ -4097,7 +4108,7 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
4097
4108
|
return classNames;
|
|
4098
4109
|
}
|
|
4099
4110
|
addColumn(column, position) {
|
|
4100
|
-
return this.
|
|
4111
|
+
return this.columnManager.addColumn(column, position);
|
|
4101
4112
|
}
|
|
4102
4113
|
columnTextProperties(columnTextProperties) {
|
|
4103
4114
|
this._columnTextPropertiesLookup = columnTextProperties;
|
|
@@ -5065,8 +5076,8 @@ class TreeLabelColumnModel extends ColumnModel {
|
|
|
5065
5076
|
expansionModel;
|
|
5066
5077
|
labelFactory = () => undefined;
|
|
5067
5078
|
iconFactory;
|
|
5068
|
-
constructor(columnId, textPropertiesProvider, expansionModel) {
|
|
5069
|
-
super(columnId, textPropertiesProvider);
|
|
5079
|
+
constructor(columnId, order, textPropertiesProvider, expansionModel) {
|
|
5080
|
+
super(columnId, order, textPropertiesProvider);
|
|
5070
5081
|
this.expansionModel = expansionModel;
|
|
5071
5082
|
this.cellRenderer(TreeLabelCellRendererComponent);
|
|
5072
5083
|
}
|
|
@@ -5134,7 +5145,7 @@ class TreeTableModel extends AbstractTableModel {
|
|
|
5134
5145
|
}
|
|
5135
5146
|
treeControlColumn(builder) {
|
|
5136
5147
|
const columnId = 'tree-label';
|
|
5137
|
-
const column = new TreeLabelColumnModel(columnId, () => this.getColumnTextProperties(columnId), this);
|
|
5148
|
+
const column = new TreeLabelColumnModel(columnId, this.columnManager, () => this.getColumnTextProperties(columnId), this);
|
|
5138
5149
|
builder(column);
|
|
5139
5150
|
this.addColumn(column);
|
|
5140
5151
|
}
|
|
@@ -11847,5 +11858,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
11847
11858
|
* Generated bundle index. Do not edit.
|
|
11848
11859
|
*/
|
|
11849
11860
|
|
|
11850
|
-
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent,
|
|
11861
|
+
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnManager, ColumnModel, ColumnTemplateDirective, ColumnTextSearchFormatter, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControlsComponent, EditSession, EditorControlColumnModel, EmptyStateComponent, EnableCellTextSearch, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextTriggerForDirective, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, Keys, LEFT_RIGHT_PLACE_ANIMATION, LabelledValueComponent, ListPlaceNavComponent, ListPropertyColumnModel, LoadableComponent, LoadingContainerComponent, MarkdownComponent, MarkdownService, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceAuthService, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SearchInputComponent, SectionHeaderComponent, SelectInputActivity, SelectInputComponent, SelectionCellComponent, SelectionColumnModel, SelectionHeaderCellComponent, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableBodyComponent, TableCellComponent, TableComponent, TableFilterModel, TableHeaderCellComponent, TableModel, TableMoreMenuComponent, TableMoreMenuPopupComponent, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, markdownPillExtension, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, treeNodeDecorator };
|
|
11851
11862
|
//# sourceMappingURL=coolon-angular-ui-powerups.mjs.map
|