@coolon/angular-ui-powerups 16.1.0-alpha.325 → 16.1.0-alpha.326
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 +6 -1
- package/esm2022/lib/components/tables/abstract-table-model.mjs +94 -2
- package/esm2022/lib/components/tables/column/column-model.mjs +51 -1
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +3 -1
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +3 -1
- package/esm2022/lib/components/tables/column/property-column-model.mjs +3 -1
- package/esm2022/lib/components/tables/filter/cell-search.mjs +2 -0
- package/esm2022/lib/components/tables/filter/search-criteria.decorator.mjs +33 -0
- package/esm2022/lib/components/tables/filter/server-search-model.mjs +41 -0
- package/esm2022/lib/components/tables/filter/table-filter-model.mjs +11 -23
- package/esm2022/lib/components/tables/filter/table-search-model.mjs +44 -0
- package/esm2022/lib/components/tables/filter/table-search.mjs +2 -0
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +22 -9
- package/esm2022/lib/components/tables/table/table.component.mjs +4 -3
- package/fesm2022/coolon-angular-ui-powerups.mjs +321 -65
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/exports.d.ts +5 -0
- package/lib/components/tables/abstract-table-model.d.ts +48 -1
- package/lib/components/tables/column/column-model.d.ts +31 -1
- package/lib/components/tables/filter/cell-search.d.ts +52 -0
- package/lib/components/tables/filter/search-criteria.decorator.d.ts +21 -0
- package/lib/components/tables/filter/server-search-model.d.ts +29 -0
- package/lib/components/tables/filter/table-filter-model.d.ts +9 -9
- package/lib/components/tables/filter/table-search-model.d.ts +39 -0
- package/lib/components/tables/filter/table-search.d.ts +10 -0
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +9 -0
- package/lib/components/tables/table/table.component.d.ts +2 -2
- package/package.json +2 -2
|
@@ -36,18 +36,18 @@ import * as i2$7 from '@angular/material/progress-bar';
|
|
|
36
36
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
37
37
|
import * as i2$1 from '@angular/material/progress-spinner';
|
|
38
38
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
39
|
-
import * as
|
|
39
|
+
import * as i3$3 from '@angular/material/table';
|
|
40
40
|
import { MatTableModule } from '@angular/material/table';
|
|
41
41
|
import * as i3 from '@angular/material/tooltip';
|
|
42
42
|
import { MatTooltip, MatTooltipModule } from '@angular/material/tooltip';
|
|
43
|
-
import * as
|
|
43
|
+
import * as i5$2 from 'ng-table-virtual-scroll';
|
|
44
44
|
import { TableVirtualScrollDataSource, TableVirtualScrollModule } from 'ng-table-virtual-scroll';
|
|
45
45
|
import * as i1$3 from '@coolon/pectin';
|
|
46
46
|
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, proxify, ValueModel, Proxify, Logger, StoreInValueModel, Command, MutableListModel, StoreInListModel, ListModel, Disposable, Trace, DelegatingListModel, MutableValueModel, DelegateToValueModel, FocusManager, EventListenerList, Guard, DelegatingFormListModel, Binding, DebugContext, DelegateToListModel, DelegatingFormValueModel, Rejection, Functions, PageController, SelectionModel, CanProxy, MultipleSelectionModel, WatchList, ProxyRegistry, DependsOnOptions, LoadingStateTracker, Loadable, HasValue, DelegatingCommand, ComputedListModel, Deferred, ReducingValueModel, AndValueModel, SingleSelectionModel, DirtyTrackingForm } from '@coolon/pectin';
|
|
47
47
|
import { __decorate, __metadata, __param } from 'tslib';
|
|
48
48
|
import * as i1 from '@angular/platform-browser';
|
|
49
49
|
import escapeStringRegexp from 'escape-string-regexp';
|
|
50
|
-
import { escape, isEmpty, isString, isFunction, isNil, isInteger,
|
|
50
|
+
import { escape, isEmpty, isString, isFunction, isNil, isInteger, isEqual, isObject, join, last, first, uniq, findLast, isArray as isArray$1, isNumber, isNaN as isNaN$1 } from 'lodash-es';
|
|
51
51
|
import { marked } from 'marked';
|
|
52
52
|
import { MemoizeGet, lang as lang$1, assert as assert$1, Stringy, Klass, Opts } from '@coolon/typescript-utilities';
|
|
53
53
|
import { Enum } from 'typescript-string-enums';
|
|
@@ -56,7 +56,7 @@ import { MatOption, MatOptionModule } from '@angular/material/core';
|
|
|
56
56
|
import { Memoize } from 'fast-typescript-memoize';
|
|
57
57
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
58
58
|
import { generateKeyBetween } from 'fractional-indexing';
|
|
59
|
-
import * as i5$
|
|
59
|
+
import * as i5$3 from '@angular/cdk/a11y';
|
|
60
60
|
import { ActiveDescendantKeyManager, A11yModule } from '@angular/cdk/a11y';
|
|
61
61
|
import * as i1$7 from '@angular/material/bottom-sheet';
|
|
62
62
|
import { MatBottomSheetModule } from '@angular/material/bottom-sheet';
|
|
@@ -69,7 +69,7 @@ import * as i1$6 from '@angular/cdk/overlay';
|
|
|
69
69
|
import { Overlay } from '@angular/cdk/overlay';
|
|
70
70
|
import { style, trigger, transition, animate, group, query } from '@angular/animations';
|
|
71
71
|
import { MatCardModule } from '@angular/material/card';
|
|
72
|
-
import * as i3$
|
|
72
|
+
import * as i3$4 from '@angular/material/list';
|
|
73
73
|
import { MatListModule } from '@angular/material/list';
|
|
74
74
|
import { Subject } from 'rxjs';
|
|
75
75
|
|
|
@@ -5254,6 +5254,10 @@ class ColumnModel extends GarbageCollector {
|
|
|
5254
5254
|
textSearchDelegate = new ColumnTextSearchWrapper();
|
|
5255
5255
|
_textMatcher;
|
|
5256
5256
|
_textMatcherMap = Functions.identity;
|
|
5257
|
+
_rendererSearchClasses = [];
|
|
5258
|
+
_searchOverride;
|
|
5259
|
+
_searches = [];
|
|
5260
|
+
_highlightsSearch = true;
|
|
5257
5261
|
visible$;
|
|
5258
5262
|
constructor(columnId, order, textPropertiesProvider) {
|
|
5259
5263
|
super();
|
|
@@ -5357,6 +5361,51 @@ class ColumnModel extends GarbageCollector {
|
|
|
5357
5361
|
this._textMatcherMap = mapper ?? Functions.identity;
|
|
5358
5362
|
return this;
|
|
5359
5363
|
}
|
|
5364
|
+
/** Takes the search classes the column's renderer names with `@SearchCriteria`. */
|
|
5365
|
+
configureSearchClasses(searchClasses) {
|
|
5366
|
+
this._rendererSearchClasses = searchClasses;
|
|
5367
|
+
}
|
|
5368
|
+
/**
|
|
5369
|
+
* Gives the column a search class other than its renderer's, or, with `false`, leaves it out of a
|
|
5370
|
+
* server search. Either takes precedence over the renderer's `@SearchCriteria`.
|
|
5371
|
+
*/
|
|
5372
|
+
searchCriteria(searchClass) {
|
|
5373
|
+
this._searchOverride = searchClass;
|
|
5374
|
+
return this;
|
|
5375
|
+
}
|
|
5376
|
+
/** Whether the column names a search class, its own or its renderer's. A column left out of the search names none. */
|
|
5377
|
+
get namesSearchClasses() {
|
|
5378
|
+
return this.searchClasses.length > 0;
|
|
5379
|
+
}
|
|
5380
|
+
get searchClasses() {
|
|
5381
|
+
if (this._searchOverride === false) {
|
|
5382
|
+
return [];
|
|
5383
|
+
}
|
|
5384
|
+
return this._searchOverride ? [this._searchOverride] : this._rendererSearchClasses;
|
|
5385
|
+
}
|
|
5386
|
+
/**
|
|
5387
|
+
* The column's search class for a kind of search criteria, or undefined when it has none. Search
|
|
5388
|
+
* classes are resolved when the table initialises the column, so before then there is none.
|
|
5389
|
+
*/
|
|
5390
|
+
searchFor(searchCriteriaClass) {
|
|
5391
|
+
return this._searches.find(search => search.searchCriteriaClass === searchCriteriaClass);
|
|
5392
|
+
}
|
|
5393
|
+
/** The models the column's search classes depend on beyond the search text. */
|
|
5394
|
+
get searchDependencies() {
|
|
5395
|
+
return [].concat(...this._searches.map(search => search.dependsOn ?? []));
|
|
5396
|
+
}
|
|
5397
|
+
/**
|
|
5398
|
+
* Whether the column's cells highlight the search. A table whose search becomes server criteria
|
|
5399
|
+
* highlights only the columns the server is asked about (`AbstractTableModel.useCriteria`), so it
|
|
5400
|
+
* never highlights a match the server was not asked for.
|
|
5401
|
+
*/
|
|
5402
|
+
get highlightsSearch() {
|
|
5403
|
+
return this._highlightsSearch;
|
|
5404
|
+
}
|
|
5405
|
+
/** Set by the table model; see {@link highlightsSearch}. */
|
|
5406
|
+
useSearchHighlight(highlights) {
|
|
5407
|
+
this._highlightsSearch = highlights;
|
|
5408
|
+
}
|
|
5360
5409
|
configureHeaderRenderer(config) {
|
|
5361
5410
|
this._columnHeaderPortalRef = config;
|
|
5362
5411
|
}
|
|
@@ -5420,6 +5469,7 @@ class ColumnModel extends GarbageCollector {
|
|
|
5420
5469
|
}
|
|
5421
5470
|
initialise(injector) {
|
|
5422
5471
|
this.textSearchDelegate.initialise(injector);
|
|
5472
|
+
this._searches = this.searchClasses.map(searchClass => injector.get(searchClass));
|
|
5423
5473
|
}
|
|
5424
5474
|
}
|
|
5425
5475
|
__decorate([
|
|
@@ -6127,6 +6177,38 @@ function EnableCellTextSearch(options) {
|
|
|
6127
6177
|
EnableCellTextSearch.getMatcher = getMatcher;
|
|
6128
6178
|
})(EnableCellTextSearch || (EnableCellTextSearch = {}));
|
|
6129
6179
|
|
|
6180
|
+
const SEARCH_CRITERIA_KEY = `aup:table:searchCriteria`;
|
|
6181
|
+
/**
|
|
6182
|
+
* Names the search classes of a cell renderer: what a search means for the column it draws, as criteria
|
|
6183
|
+
* for a server request (see {@link CellSearch}). A renderer shown in tables of different kinds of
|
|
6184
|
+
* resource names one search class per kind of search criteria, and the table uses the one whose search
|
|
6185
|
+
* criteria are the page's.
|
|
6186
|
+
*
|
|
6187
|
+
* It sits beside `@EnableCellTextSearch`, which describes the text a column offers client search, under
|
|
6188
|
+
* its own metadata key, so a renderer may carry both.
|
|
6189
|
+
*
|
|
6190
|
+
* @example
|
|
6191
|
+
* @SearchCriteria(AlarmSourceSearch, DeviceNameSearch)
|
|
6192
|
+
* @Component({selector: 'frontend-alarm-source-cell-renderer', ...})
|
|
6193
|
+
* export class AlarmSourceCellRendererComponent { ... }
|
|
6194
|
+
*/
|
|
6195
|
+
function SearchCriteria(...searchClasses) {
|
|
6196
|
+
assert$1.isTruthy(searchClasses.length > 0, "@SearchCriteria needs at least one search class");
|
|
6197
|
+
// eslint-disable-next-line @typescript-eslint/ban-types -- the ClassDecorator signature
|
|
6198
|
+
return (constructor) => {
|
|
6199
|
+
const klass = Klass.get(constructor);
|
|
6200
|
+
assert$1.isFalsey(klass.hasOwnMetadata(SEARCH_CRITERIA_KEY), "class already decorated with @SearchCriteria");
|
|
6201
|
+
klass.defineMetadata(SEARCH_CRITERIA_KEY, searchClasses);
|
|
6202
|
+
};
|
|
6203
|
+
}
|
|
6204
|
+
(function (SearchCriteria) {
|
|
6205
|
+
/** The search classes a renderer names, or none. */
|
|
6206
|
+
function getSearchClasses(renderer) {
|
|
6207
|
+
return Klass.get(renderer).getMetadata(SEARCH_CRITERIA_KEY) ?? [];
|
|
6208
|
+
}
|
|
6209
|
+
SearchCriteria.getSearchClasses = getSearchClasses;
|
|
6210
|
+
})(SearchCriteria || (SearchCriteria = {}));
|
|
6211
|
+
|
|
6130
6212
|
class CustomValueColumnModel extends ColumnModel {
|
|
6131
6213
|
getValue;
|
|
6132
6214
|
constructor(columnId, order, defaults, getValue) {
|
|
@@ -6136,6 +6218,7 @@ class CustomValueColumnModel extends ColumnModel {
|
|
|
6136
6218
|
}
|
|
6137
6219
|
cellRenderer(componentType, onComponentInitOrOptions) {
|
|
6138
6220
|
this.configureColumnTextSearch(EnableCellTextSearch.getFormatter(componentType, () => new ColumnTextSearchFormatter.Null()), row => this.getValue(row));
|
|
6221
|
+
this.configureSearchClasses(SearchCriteria.getSearchClasses(componentType));
|
|
6139
6222
|
const matcher = EnableCellTextSearch.getMatcher(componentType);
|
|
6140
6223
|
if (matcher) {
|
|
6141
6224
|
this.configureColumnTextMatch(matcher, row => this.getValue(row));
|
|
@@ -6180,6 +6263,7 @@ class ListPropertyColumnModel extends ColumnModel {
|
|
|
6180
6263
|
}
|
|
6181
6264
|
cellRenderer(componentType) {
|
|
6182
6265
|
this.configureColumnTextSearch(EnableCellTextSearch.getFormatter(componentType, () => ColumnTextSearchFormatter.forFormatter(this._defaultSearchTextFormat)), row => row[this.property]);
|
|
6266
|
+
this.configureSearchClasses(SearchCriteria.getSearchClasses(componentType));
|
|
6183
6267
|
const matcher = EnableCellTextSearch.getMatcher(componentType);
|
|
6184
6268
|
if (matcher) {
|
|
6185
6269
|
this.configureColumnTextMatch(matcher, row => row[this.property]);
|
|
@@ -6217,6 +6301,7 @@ class PropertyColumnModel extends ColumnModel {
|
|
|
6217
6301
|
}
|
|
6218
6302
|
cellRenderer(componentType, onComponentInitOrOptions) {
|
|
6219
6303
|
this.configureColumnTextSearch(EnableCellTextSearch.getFormatter(componentType, () => ColumnTextSearchFormatter.forFormatter(this._defaultSearchTextFormatter)), row => row[this.property]);
|
|
6304
|
+
this.configureSearchClasses(SearchCriteria.getSearchClasses(componentType));
|
|
6220
6305
|
const matcher = EnableCellTextSearch.getMatcher(componentType);
|
|
6221
6306
|
if (matcher) {
|
|
6222
6307
|
this.configureColumnTextMatch(matcher, row => row[this.property]);
|
|
@@ -6743,6 +6828,13 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
6743
6828
|
hasSelection$;
|
|
6744
6829
|
footerRowModels = [];
|
|
6745
6830
|
_viewDependencies = new Set();
|
|
6831
|
+
/** The table's settled search, once a table with a filter model binds (`useSearch`). */
|
|
6832
|
+
_search$ = this.registerDisposable(new DelegatingValueModel());
|
|
6833
|
+
/** True once the table has initialised its columns, and with them their search classes. */
|
|
6834
|
+
_searchClassesResolved$ = new MutableValueModel(false);
|
|
6835
|
+
/** Counts changes to the models the search classes depend on, so the criteria can depend on one model. */
|
|
6836
|
+
_searchDependencyChanges$ = new MutableValueModel(0);
|
|
6837
|
+
_criteriaPlacement;
|
|
6746
6838
|
constructor() {
|
|
6747
6839
|
super();
|
|
6748
6840
|
const { chain } = Dsl.disposeWith(this);
|
|
@@ -6808,6 +6900,89 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
6808
6900
|
});
|
|
6809
6901
|
this.columns$.value.forEach(c => c.initialise(customInjector));
|
|
6810
6902
|
this.identityOf = identityOf;
|
|
6903
|
+
this.initialiseSearchCriteria();
|
|
6904
|
+
}
|
|
6905
|
+
/**
|
|
6906
|
+
* Takes the table's settled search, which `useCriteria` turns into criteria. The table component calls
|
|
6907
|
+
* it with its filter model's search when it binds.
|
|
6908
|
+
*/
|
|
6909
|
+
useSearch(search$) {
|
|
6910
|
+
this._search$.setDelegate(search$);
|
|
6911
|
+
}
|
|
6912
|
+
/**
|
|
6913
|
+
* Turns the table's search into server criteria: the page's base criteria, holding search criteria
|
|
6914
|
+
* that each visible column's search class has written into (see `CellSearch`). Send the result with
|
|
6915
|
+
* the page's request, and give the table a `ServerSearchModel` as its filter model, so it shows the
|
|
6916
|
+
* rows the server found rather than filtering them again.
|
|
6917
|
+
*
|
|
6918
|
+
* Four rules govern it:
|
|
6919
|
+
*
|
|
6920
|
+
* 1. Without a search, the criteria are the base criteria. With one, each search starts from empty
|
|
6921
|
+
* search criteria, `new placement.searchCriteriaClass({})`, so a search nothing matches still sends
|
|
6922
|
+
* search criteria, and search criteria carrying no fields match no rows.
|
|
6923
|
+
* 2. A column takes part through its search class for the page's search criteria. A hidden column
|
|
6924
|
+
* takes no part, and a column with no search class for them is not searched and does not highlight.
|
|
6925
|
+
* 3. A column that names search classes, none of them for the page's search criteria, fails when the
|
|
6926
|
+
* table initialises, naming the column and the search criteria class. The check runs then, so a
|
|
6927
|
+
* page calls this before the table initialises, and a later call throws.
|
|
6928
|
+
* 4. New criteria are offered only when they differ in value from the last. Generated DTOs compare by
|
|
6929
|
+
* identity, so a search class's dependency can change, or a column be shown, without changing what
|
|
6930
|
+
* the search writes, and a page that starts its list again on every new criteria would restart it
|
|
6931
|
+
* for nothing.
|
|
6932
|
+
*
|
|
6933
|
+
* The criteria are worked out again when the base criteria, the search, the visible columns or any
|
|
6934
|
+
* search class's `dependsOn` change.
|
|
6935
|
+
*
|
|
6936
|
+
* @example
|
|
6937
|
+
* const criteria$ = this.table.useCriteria(base$, {
|
|
6938
|
+
* searchCriteriaClass: AlarmSearchCriteriaDto,
|
|
6939
|
+
* withSearchCriteria: (criteria, searchCriteria) => criteria.copy({searchCriteria}),
|
|
6940
|
+
* });
|
|
6941
|
+
* this.history.useCriteria(criteria$);
|
|
6942
|
+
*/
|
|
6943
|
+
useCriteria(base$, placement) {
|
|
6944
|
+
assert$1.isFalsey(this._criteriaPlacement, 'useCriteria may be called once per table');
|
|
6945
|
+
assert$1.isFalsey(this._searchClassesResolved$.value, 'useCriteria must be called before the table initialises, which checks the columns against the search criteria');
|
|
6946
|
+
this._criteriaPlacement = placement;
|
|
6947
|
+
const { chain } = Dsl.disposeWith(this);
|
|
6948
|
+
return chain(base$).map(base => {
|
|
6949
|
+
const search = this._search$.value;
|
|
6950
|
+
// Search classes are resolved when the table initialises, so a search that arrives sooner waits for them.
|
|
6951
|
+
if (!search || !this._searchClassesResolved$.value) {
|
|
6952
|
+
return base;
|
|
6953
|
+
}
|
|
6954
|
+
const searchCriteria = this.visibleColumns$.value.reduce((searchCriteria, column) => {
|
|
6955
|
+
const columnSearch = column.searchFor(placement.searchCriteriaClass);
|
|
6956
|
+
return columnSearch ? columnSearch.criteriaFor(searchCriteria, search) : searchCriteria;
|
|
6957
|
+
}, new placement.searchCriteriaClass({}));
|
|
6958
|
+
return placement.withSearchCriteria(base, searchCriteria);
|
|
6959
|
+
}, {
|
|
6960
|
+
dependsOn: [this._search$, this.visibleColumns$, this._searchClassesResolved$, this._searchDependencyChanges$],
|
|
6961
|
+
equal: isEqual,
|
|
6962
|
+
});
|
|
6963
|
+
}
|
|
6964
|
+
initialiseSearchCriteria() {
|
|
6965
|
+
if (this._searchClassesResolved$.value) {
|
|
6966
|
+
return;
|
|
6967
|
+
}
|
|
6968
|
+
const columns = this.columns$.value;
|
|
6969
|
+
const placement = this._criteriaPlacement;
|
|
6970
|
+
if (placement) {
|
|
6971
|
+
const unmatched = columns.filter(column => column.namesSearchClasses && !column.searchFor(placement.searchCriteriaClass));
|
|
6972
|
+
if (unmatched.length > 0) {
|
|
6973
|
+
const ids = unmatched.map(column => `\`${column.columnId}\``).join(', ');
|
|
6974
|
+
lang$1.illegalState(unmatched.length === 1
|
|
6975
|
+
? `column ${ids} has no search class for \`${placement.searchCriteriaClass.name}\``
|
|
6976
|
+
: `columns ${ids} have no search class for \`${placement.searchCriteriaClass.name}\``);
|
|
6977
|
+
}
|
|
6978
|
+
columns.forEach(column => column.useSearchHighlight(!!column.searchFor(placement.searchCriteriaClass)));
|
|
6979
|
+
}
|
|
6980
|
+
const dependencies = [].concat(...columns.map(column => column.searchDependencies));
|
|
6981
|
+
if (dependencies.length > 0) {
|
|
6982
|
+
const { when } = Dsl.disposeWith(this);
|
|
6983
|
+
when.anyOf(...dependencies).changes(() => this._searchDependencyChanges$.value++);
|
|
6984
|
+
}
|
|
6985
|
+
this._searchClassesResolved$.value = true;
|
|
6811
6986
|
}
|
|
6812
6987
|
/**
|
|
6813
6988
|
* Adds additional models that will trigger a table repaint. This is required if the table
|
|
@@ -7199,6 +7374,10 @@ class TableBodyComponent extends ResizeAwareComponent {
|
|
|
7199
7374
|
rowHeight$ = new MutableValueModel(44);
|
|
7200
7375
|
baseCssClass = "aup-table-component";
|
|
7201
7376
|
get animationsDisabledClass() { return this.animationsDisabled$.value; }
|
|
7377
|
+
/** The search text the table highlights, from the directive the table puts on this body. */
|
|
7378
|
+
highlightText = inject(HighlightTextModelDirective, { self: true, optional: true });
|
|
7379
|
+
/** What a column that does not highlight the search highlights: nothing. */
|
|
7380
|
+
noHighlightText$ = new MutableValueModel('');
|
|
7202
7381
|
virtualScrollDataSource = new TableVirtualScrollDataSource();
|
|
7203
7382
|
virtualScrollActive$ = new MutableValueModel(false);
|
|
7204
7383
|
animationsDisabled$ = new MutableValueModel(false);
|
|
@@ -7314,6 +7493,13 @@ class TableBodyComponent extends ResizeAwareComponent {
|
|
|
7314
7493
|
get rowHeightCssVar() {
|
|
7315
7494
|
return `${this.rowHeight$.value}px`;
|
|
7316
7495
|
}
|
|
7496
|
+
/**
|
|
7497
|
+
* The search text a column's cells highlight. A table whose search becomes server criteria highlights
|
|
7498
|
+
* only the columns the server is asked about (`ColumnModel.highlightsSearch`).
|
|
7499
|
+
*/
|
|
7500
|
+
highlightTextFor(column) {
|
|
7501
|
+
return column.highlightsSearch && this.highlightText ? this.highlightText.aupHighlightTextModel : this.noHighlightText$;
|
|
7502
|
+
}
|
|
7317
7503
|
notifyCellClicked(columnModel, row) {
|
|
7318
7504
|
this.tableModel._notifyCellClicked(columnModel, row);
|
|
7319
7505
|
}
|
|
@@ -7419,7 +7605,7 @@ class TableBodyComponent extends ResizeAwareComponent {
|
|
|
7419
7605
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TableBodyComponent, deps: [{ token: AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
7420
7606
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TableBodyComponent, selector: "aup-table-body", inputs: { data$: "data$", tableModel: "tableModel", footerRows: "footerRows", showHeader$: "showHeader$", showHeader: "showHeader", trackBy: "trackBy", scrollMode$: "scrollMode$", scrollMode: "scrollMode" }, host: { properties: { "attr.scrollMode": "this.scrollMode", "class": "this.baseCssClass", "class.aup-animations-disabled": "this.animationsDisabledClass", "class.hide-header": "this.hideHeader", "style.--aup-table-header-height": "this.headerHeightCssVar", "style.--aup-table-row-height": "this.rowHeightCssVar" } }, providers: [
|
|
7421
7607
|
{ provide: AUP_DETACHED_PARENT_CDR, useFactory: () => inject(AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, { optional: true }) ? inject(ChangeDetectorRef) : null }
|
|
7422
|
-
], viewQueries: [{ propertyName: "scrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesInheritance: true, ngImport: i0, template: "\n<div class=\"classic-scroll-container\" *ngIf=\"scrollMode$.value !== 'virtual'\">\n <table mat-table [dataSource]=\"data$.value\" [trackBy]=\"trackBy\" [multiTemplateDataRows]>\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"$any(column)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabledForRow(column, row)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabledForRow(row)\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></tr>\n </ng-container>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [@.disabled]=\"animationsDisabled$.value\"\n [tvsItemSize]=\"rowHeight$.value\"\n [headerHeight]=\"headerHeight$.value\"\n [footerEnabled]=\"(footerRowDefs$?.value?.length ?? 0) > 0\"\n [footerHeight]=\"48 * (footerRowDefs$?.value?.length ?? 0)\"\n [bufferMultiplier]=\"bufferMultiplier\"\n>\n <table mat-table [dataSource]=\"virtualScrollDataSource\" [trackBy]=\"trackBy\">\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabledForRow(column, row)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabledForRow(row)\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></tr>\n </ng-container>\n\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{--enter-animation-duration: .1s;display:flex;flex-direction:column;align-items:stretch}:host.aup-animations-disabled{--enter-animation-duration: 0ms}:host table{width:100%}:host tr.aup-footer-row-hidden{display:none}:host td.footer-cell{border-top:0!important;box-shadow:0 -1px 0 0 var(--mat-table-row-item-outline-color, rgba(0, 0, 0, .12))}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}:host[scrollMode=virtual] table th{height:var(--aup-table-header-height);max-height:var(--aup-table-header-height);min-height:var(--aup-table-header-height)}:host[scrollMode=virtual] table td{height:var(--aup-table-row-height);max-height:var(--aup-table-row-height);min-height:var(--aup-table-row-height)}:host[scrollMode=classic]{min-height:0}:host[scrollMode=classic] .classic-scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type:
|
|
7608
|
+
], viewQueries: [{ propertyName: "scrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesInheritance: true, ngImport: i0, template: "\n<div class=\"classic-scroll-container\" *ngIf=\"scrollMode$.value !== 'virtual'\">\n <table mat-table [dataSource]=\"data$.value\" [trackBy]=\"trackBy\" [multiTemplateDataRows]>\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"$any(column)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabledForRow(column, row)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n [aupHighlightTextModel]=\"highlightTextFor($any(column))\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabledForRow(row)\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></tr>\n </ng-container>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [@.disabled]=\"animationsDisabled$.value\"\n [tvsItemSize]=\"rowHeight$.value\"\n [headerHeight]=\"headerHeight$.value\"\n [footerEnabled]=\"(footerRowDefs$?.value?.length ?? 0) > 0\"\n [footerHeight]=\"48 * (footerRowDefs$?.value?.length ?? 0)\"\n [bufferMultiplier]=\"bufferMultiplier\"\n>\n <table mat-table [dataSource]=\"virtualScrollDataSource\" [trackBy]=\"trackBy\">\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabledForRow(column, row)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n [aupHighlightTextModel]=\"highlightTextFor($any(column))\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabledForRow(row)\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></tr>\n </ng-container>\n\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{--enter-animation-duration: .1s;display:flex;flex-direction:column;align-items:stretch}:host.aup-animations-disabled{--enter-animation-duration: 0ms}:host table{width:100%}:host tr.aup-footer-row-hidden{display:none}:host td.footer-cell{border-top:0!important;box-shadow:0 -1px 0 0 var(--mat-table-row-item-outline-color, rgba(0, 0, 0, .12))}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}:host[scrollMode=virtual] table th{height:var(--aup-table-header-height);max-height:var(--aup-table-header-height);min-height:var(--aup-table-header-height)}:host[scrollMode=virtual] table td{height:var(--aup-table-row-height);max-height:var(--aup-table-row-height);min-height:var(--aup-table-row-height)}:host[scrollMode=classic]{min-height:0}:host[scrollMode=classic] .classic-scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: HighlightTextModelDirective, selector: "[aupHighlightTextModel]", inputs: ["aupHighlightTextModel"] }, { kind: "component", type: i3$3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3$3.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3$3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3$3.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i3$3.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3$3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3$3.MatFooterCellDef, selector: "[matFooterCellDef]" }, { kind: "directive", type: i3$3.MatFooterRowDef, selector: "[matFooterRowDef]", inputs: ["matFooterRowDef", "matFooterRowDefSticky"] }, { kind: "directive", type: i3$3.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3$3.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: i3$3.MatFooterCell, selector: "mat-footer-cell, td[mat-footer-cell]" }, { kind: "component", type: i3$3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3$3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i3$3.MatFooterRow, selector: "mat-footer-row, tr[mat-footer-row]", exportAs: ["matFooterRow"] }, { kind: "component", type: i1$2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: i5$2.TableItemSizeDirective, selector: "cdk-virtual-scroll-viewport[tvsItemSize]", inputs: ["tvsItemSize", "headerEnabled", "headerHeight", "footerEnabled", "footerHeight", "bufferMultiplier"] }, { kind: "directive", type: TableRowAttributesDirective, selector: "[aupTableRowAttributes]", inputs: ["aupTableRowAttributes"] }, { kind: "component", type: TableCellComponent, selector: "aup-table-cell", inputs: ["row", "column", "tableModel"] }, { kind: "component", type: TableHeaderCellComponent, selector: "aup-table-header-cell", inputs: ["column"] }, { kind: "component", type: TableFooterRow, selector: "aup-table-footer-row", inputs: ["cell"] }] });
|
|
7423
7609
|
}
|
|
7424
7610
|
__decorate([
|
|
7425
7611
|
Proxify(),
|
|
@@ -7449,7 +7635,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
7449
7635
|
type: Component,
|
|
7450
7636
|
args: [{ selector: "aup-table-body", providers: [
|
|
7451
7637
|
{ provide: AUP_DETACHED_PARENT_CDR, useFactory: () => inject(AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, { optional: true }) ? inject(ChangeDetectorRef) : null }
|
|
7452
|
-
], template: "\n<div class=\"classic-scroll-container\" *ngIf=\"scrollMode$.value !== 'virtual'\">\n <table mat-table [dataSource]=\"data$.value\" [trackBy]=\"trackBy\" [multiTemplateDataRows]>\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"$any(column)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabledForRow(column, row)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabledForRow(row)\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></tr>\n </ng-container>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [@.disabled]=\"animationsDisabled$.value\"\n [tvsItemSize]=\"rowHeight$.value\"\n [headerHeight]=\"headerHeight$.value\"\n [footerEnabled]=\"(footerRowDefs$?.value?.length ?? 0) > 0\"\n [footerHeight]=\"48 * (footerRowDefs$?.value?.length ?? 0)\"\n [bufferMultiplier]=\"bufferMultiplier\"\n>\n <table mat-table [dataSource]=\"virtualScrollDataSource\" [trackBy]=\"trackBy\">\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabledForRow(column, row)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabledForRow(row)\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></tr>\n </ng-container>\n\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{--enter-animation-duration: .1s;display:flex;flex-direction:column;align-items:stretch}:host.aup-animations-disabled{--enter-animation-duration: 0ms}:host table{width:100%}:host tr.aup-footer-row-hidden{display:none}:host td.footer-cell{border-top:0!important;box-shadow:0 -1px 0 0 var(--mat-table-row-item-outline-color, rgba(0, 0, 0, .12))}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}:host[scrollMode=virtual] table th{height:var(--aup-table-header-height);max-height:var(--aup-table-header-height);min-height:var(--aup-table-header-height)}:host[scrollMode=virtual] table td{height:var(--aup-table-row-height);max-height:var(--aup-table-row-height);min-height:var(--aup-table-row-height)}:host[scrollMode=classic]{min-height:0}:host[scrollMode=classic] .classic-scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"] }]
|
|
7638
|
+
], template: "\n<div class=\"classic-scroll-container\" *ngIf=\"scrollMode$.value !== 'virtual'\">\n <table mat-table [dataSource]=\"data$.value\" [trackBy]=\"trackBy\" [multiTemplateDataRows]>\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"$any(column)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabledForRow(column, row)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n [aupHighlightTextModel]=\"highlightTextFor($any(column))\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabledForRow(row)\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></tr>\n </ng-container>\n\n </table>\n</div>\n\n<cdk-virtual-scroll-viewport *ngIf=\"scrollMode$.value === 'virtual'\"\n [@.disabled]=\"animationsDisabled$.value\"\n [tvsItemSize]=\"rowHeight$.value\"\n [headerHeight]=\"headerHeight$.value\"\n [footerEnabled]=\"(footerRowDefs$?.value?.length ?? 0) > 0\"\n [footerHeight]=\"48 * (footerRowDefs$?.value?.length ?? 0)\"\n [bufferMultiplier]=\"bufferMultiplier\"\n>\n <table mat-table [dataSource]=\"virtualScrollDataSource\" [trackBy]=\"trackBy\">\n\n <ng-container *ngFor=\"let column of columns$.value; index as index; first as first; last as last\"\n matColumnDef=\"{{column.columnId}}\">\n <th mat-header-cell *matHeaderCellDef [class.flex]=\"column.isFlex()\" [class.hide]=\"!column.isVisible()\">\n <aup-table-header-cell [column]=\"column\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n ></aup-table-header-cell>\n </th>\n <td mat-cell *matCellDef=\"let row\" (click)=\"notifyCellClicked(column, row)\"\n [class.enable-cursor]=\"tableModel.isCursorEnabledForRow(column, row)\"\n [class.flex]=\"column.isFlex()\"\n [class.hide]=\"!column.isVisible()\"\n >\n <aup-table-cell [column]=\"$any(column)\"\n [row]=\"row\"\n [tableModel]=\"$any(tableModel)\"\n [attr.column-index]=\"index\"\n [attr.column-id]=\"column.columnId\"\n [class]=\"getColumnClasses(column.columnId)\"\n [aupHighlightTextModel]=\"highlightTextFor($any(column))\"\n ></aup-table-cell>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"columnIds$.value; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: columnIds$.value; let i = index\"\n [ngClass]=\"tableModel.getRowClasses(row)\"\n [class.enable-hover]=\"tableModel.isHoverEnabledForRow(row)\"\n [aupTableRowAttributes]=\"tableModel.getRowAttributes(row)\"\n [attr.aup-row-id]=\"trackBy(i, row)\"\n ></tr>\n\n <ng-container *ngFor=\"let footer of footerRowDefs$.value\">\n <ng-container *ngFor=\"let cell of footer.cells\" [matColumnDef]=\"cell.defId\">\n <td mat-footer-cell *matFooterCellDef [attr.colspan]=\"cell.colspan\"\n [attr.column-id]=\"cell.columnId\" class=\"footer-cell\">\n <aup-table-footer-row *ngIf=\"!cell.filler\" [cell]=\"cell\"></aup-table-footer-row>\n </td>\n </ng-container>\n <tr mat-footer-row *matFooterRowDef=\"footer.defIds; sticky: true\" [ngClass]=\"footer.rowClasses\"\n [class.aup-footer-row-hidden]=\"footer.visible$ && !footer.visible$.value\"></tr>\n </ng-container>\n\n\n </table>\n</cdk-virtual-scroll-viewport>\n\n", styles: [":host{--enter-animation-duration: .1s;display:flex;flex-direction:column;align-items:stretch}:host.aup-animations-disabled{--enter-animation-duration: 0ms}:host table{width:100%}:host tr.aup-footer-row-hidden{display:none}:host td.footer-cell{border-top:0!important;box-shadow:0 -1px 0 0 var(--mat-table-row-item-outline-color, rgba(0, 0, 0, .12))}:host[scrollMode=virtual] cdk-virtual-scroll-viewport{flex:1}:host[scrollMode=virtual] table th{height:var(--aup-table-header-height);max-height:var(--aup-table-header-height);min-height:var(--aup-table-header-height)}:host[scrollMode=virtual] table td{height:var(--aup-table-row-height);max-height:var(--aup-table-row-height);min-height:var(--aup-table-row-height)}:host[scrollMode=classic]{min-height:0}:host[scrollMode=classic] .classic-scroll-container{flex:1;flex-basis:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch}\n"] }]
|
|
7453
7639
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
7454
7640
|
type: Inject,
|
|
7455
7641
|
args: [AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER]
|
|
@@ -7695,79 +7881,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
7695
7881
|
] }]
|
|
7696
7882
|
}], ctorParameters: function () { return []; } });
|
|
7697
7883
|
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7884
|
+
/**
|
|
7885
|
+
* A table's search box, as a table reads it, whichever side does the searching. It debounces the search
|
|
7886
|
+
* text, offers the settled search ({@link search$}) and the text to highlight ({@link highlightText$}),
|
|
7887
|
+
* and gives the table the rows to show ({@link filteredRows$}).
|
|
7888
|
+
*
|
|
7889
|
+
* Two kinds exist, and a page picks one by what holds its rows:
|
|
7890
|
+
*
|
|
7891
|
+
* - `TableFilterModel` searches and filters the rows a table holds, in the browser.
|
|
7892
|
+
* - `ServerSearchModel` leaves both to the server: the rows a table holds are what the server found,
|
|
7893
|
+
* so it shows them all, and its search becomes criteria (`AbstractTableModel.useCriteria`). It has no
|
|
7894
|
+
* row predicate, so a page's filters can reach the rows only as criteria too.
|
|
7895
|
+
*/
|
|
7896
|
+
class TableSearchModel extends GarbageCollector {
|
|
7701
7897
|
_searchText$ = this.registerDisposable(new DelegatingValueModel());
|
|
7702
|
-
_textSearchPredicate$ = this.registerDisposable(new DelegatingValueModel());
|
|
7703
|
-
_rowPredicate;
|
|
7704
|
-
inUpdate = new Guard();
|
|
7705
|
-
filteredRows$;
|
|
7706
7898
|
/**
|
|
7707
|
-
* The
|
|
7708
|
-
*
|
|
7899
|
+
* The search once the debounce has passed: the text and its escaped, case-insensitive regular
|
|
7900
|
+
* expression, or undefined while there is none. The text and the regular expression travel together,
|
|
7901
|
+
* so nothing can see the regular expression of one search with the text of another.
|
|
7709
7902
|
*/
|
|
7710
|
-
|
|
7903
|
+
search$;
|
|
7711
7904
|
constructor(options) {
|
|
7712
7905
|
super();
|
|
7713
7906
|
options.disposedWith.registerDisposable(this);
|
|
7714
7907
|
this.useSearchText(options.searchText$);
|
|
7715
|
-
this.useRowPredicate(options.predicate$);
|
|
7716
7908
|
const { chain } = Dsl.disposeWith(this);
|
|
7717
|
-
|
|
7718
|
-
// one search with the text of another.
|
|
7719
|
-
const textSearch$ = chain(this._searchText$)
|
|
7909
|
+
this.search$ = chain(this._searchText$)
|
|
7720
7910
|
.debounce(250)
|
|
7721
|
-
.mapWithNil(text => {
|
|
7911
|
+
.mapWithNil((text) => {
|
|
7722
7912
|
return isEmpty(text) ? undefined : { text, regex: new RegExp(escapeStringRegexp(text), "i") };
|
|
7723
7913
|
});
|
|
7724
|
-
const searchPredicate$ = chain(textSearch$)
|
|
7725
|
-
.mapWithNil(search => {
|
|
7726
|
-
const textSearchPredicate = this._textSearchPredicate$.value;
|
|
7727
|
-
return (row) => !search || !textSearchPredicate || textSearchPredicate(row, search.regex, search.text);
|
|
7728
|
-
}, {
|
|
7729
|
-
dependsOn: this._textSearchPredicate$,
|
|
7730
|
-
postponeWhile: this.inUpdate
|
|
7731
|
-
});
|
|
7732
|
-
this._rowPredicate = chain(this._rowPredicate$)
|
|
7733
|
-
.mapWithNil(predicate => {
|
|
7734
|
-
const matchesSearch = searchPredicate$.value;
|
|
7735
|
-
return (row) => (!predicate || predicate(row)) && matchesSearch(row);
|
|
7736
|
-
}, {
|
|
7737
|
-
dependsOn: searchPredicate$,
|
|
7738
|
-
postponeWhile: this.inUpdate
|
|
7739
|
-
});
|
|
7740
|
-
this.filteredRows$ = chain(this._source$).select(row => {
|
|
7741
|
-
return this._rowPredicate.value(row);
|
|
7742
|
-
}, { dependsOn: this._rowPredicate });
|
|
7743
|
-
this.searchedRows$ = chain(this._source$).select(row => searchPredicate$.value(row), { dependsOn: searchPredicate$ });
|
|
7744
7914
|
}
|
|
7915
|
+
/** The search text as typed, before the debounce, which the cells highlight. */
|
|
7745
7916
|
get highlightText$() {
|
|
7746
7917
|
return this._searchText$.readonly$;
|
|
7747
7918
|
}
|
|
7748
7919
|
useSearchText(searchText$) {
|
|
7749
7920
|
this._searchText$.setDelegate(searchText$);
|
|
7750
7921
|
}
|
|
7751
|
-
useRowPredicate(rowPredicate$) {
|
|
7752
|
-
this._rowPredicate$.setDelegate(rowPredicate$);
|
|
7753
|
-
}
|
|
7754
|
-
bindToTable(source$, textSearchPredicate$) {
|
|
7755
|
-
this.inUpdate.whileTrue(() => {
|
|
7756
|
-
this._source$.setDelegate(source$);
|
|
7757
|
-
this._textSearchPredicate$.setDelegate(textSearchPredicate$);
|
|
7758
|
-
});
|
|
7759
|
-
const dispose = () => {
|
|
7760
|
-
if (!this.isDisposed()) {
|
|
7761
|
-
this.inUpdate.whileTrue(() => {
|
|
7762
|
-
this._source$.setDelegate(undefined);
|
|
7763
|
-
this._textSearchPredicate$.setDelegate(undefined);
|
|
7764
|
-
});
|
|
7765
|
-
}
|
|
7766
|
-
};
|
|
7767
|
-
return { dispose };
|
|
7768
|
-
}
|
|
7769
7922
|
}
|
|
7770
|
-
ProxyRegistry.registerOneTimeBinding(
|
|
7923
|
+
ProxyRegistry.registerOneTimeBinding(TableSearchModel);
|
|
7771
7924
|
|
|
7772
7925
|
/**
|
|
7773
7926
|
* @example
|
|
@@ -7921,7 +8074,7 @@ class TableComponent extends AbstractTableComponent {
|
|
|
7921
8074
|
#tableModel_accessor_storage = proxify((TableModel));
|
|
7922
8075
|
get tableModel() { return this.#tableModel_accessor_storage; }
|
|
7923
8076
|
set tableModel(value) { this.#tableModel_accessor_storage = value; }
|
|
7924
|
-
#filterModel_accessor_storage = proxify((
|
|
8077
|
+
#filterModel_accessor_storage = proxify((TableSearchModel));
|
|
7925
8078
|
get filterModel() { return this.#filterModel_accessor_storage; }
|
|
7926
8079
|
set filterModel(value) { this.#filterModel_accessor_storage = value; }
|
|
7927
8080
|
tableBody;
|
|
@@ -7952,6 +8105,7 @@ class TableComponent extends AbstractTableComponent {
|
|
|
7952
8105
|
if (CanProxy.hasTarget(this.filterModel)) {
|
|
7953
8106
|
this.registerDisposable(this.filterModel.bindToTable(this._dataSource$, this.getModel().textSearchPredicate$));
|
|
7954
8107
|
this.highlightText$.setDelegate(this.filterModel.highlightText$);
|
|
8108
|
+
this.tableModel.useSearch(this.filterModel.search$);
|
|
7955
8109
|
this._filteredRows$.setDelegate(this.filterModel.filteredRows$);
|
|
7956
8110
|
}
|
|
7957
8111
|
else {
|
|
@@ -13014,7 +13168,7 @@ class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
13014
13168
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ActivityContainerComponent, deps: [{ token: PlaceRouter }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
13015
13169
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: { dynamicHeight: "dynamicHeight", animationDuration: "animationDuration" }, providers: [
|
|
13016
13170
|
{ provide: INTERACTION_CONTEXT, useClass: ActivityContainerComponent },
|
|
13017
|
-
], viewQueries: [{ propertyName: "tabs", first: true, predicate: ["tabs"], descendants: true, static: true }, { propertyName: "activityOutlets", predicate: ActivityOutletComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\"\n [animationDuration]=\"getTabAnimationDuration()\"\n (animationDone)=\"onAnimationDone()\"\n>\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busy$]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$2.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i3$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: BusyOverlayComponent, selector: "aup-busy-overlay", inputs: ["busy$", "busy"] }, { kind: "directive", type: i5$
|
|
13171
|
+
], viewQueries: [{ propertyName: "tabs", first: true, predicate: ["tabs"], descendants: true, static: true }, { propertyName: "activityOutlets", predicate: ActivityOutletComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\"\n [animationDuration]=\"getTabAnimationDuration()\"\n (animationDone)=\"onAnimationDone()\"\n>\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busy$]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$2.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i3$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: BusyOverlayComponent, selector: "aup-busy-overlay", inputs: ["busy$", "busy"] }, { kind: "directive", type: i5$3.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: ActivityOutletComponent, selector: "aup-activity-outlet", inputs: ["nestedInteractionContext", "activityRef"] }] });
|
|
13018
13172
|
}
|
|
13019
13173
|
__decorate([
|
|
13020
13174
|
Trace(),
|
|
@@ -15611,7 +15765,7 @@ class ListPlaceNavComponent extends AbstractPlaceNavigationComponent {
|
|
|
15611
15765
|
super(router);
|
|
15612
15766
|
}
|
|
15613
15767
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ListPlaceNavComponent, deps: [{ token: PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
15614
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ListPlaceNavComponent, selector: "aup-list-place-nav", usesInheritance: true, ngImport: i0, template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n aup-gc #gc=\"aup-gc\"\n [pectinCommand]=\"commandFactory.create(item.place, {disposedWith: gc})\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\"\n [attr.data-cy]=\"item.place.path\"\n >\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n</mat-nav-list>\n", styles: [":host{display:flex;flex-direction:column;--selected-border-color: #838383;--selected-color: inherit;--selected-background: #f1f1f1}mat-nav-list{padding-top:0}a{border-right:2px solid transparent}a.active{border-right:2px solid var(--selected-border-color);background:var(--selected-background);color:var(--selected-color)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$
|
|
15768
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: ListPlaceNavComponent, selector: "aup-list-place-nav", usesInheritance: true, ngImport: i0, template: "<mat-nav-list fxFlex>\n <a mat-list-item *ngFor=\"let item of menuItems.value; trackBy: trackByPlaceDef\"\n aup-gc #gc=\"aup-gc\"\n [pectinCommand]=\"commandFactory.create(item.place, {disposedWith: gc})\"\n [class.active]=\"item.active\"\n [matTooltip]=\"getNavigationFace(item.place).tooltip()\"\n [attr.data-cy]=\"item.place.path\"\n >\n <aup-command-face [faces]=\"[getNavigationFace(item.place)]\"></aup-command-face>\n </a>\n</mat-nav-list>\n", styles: [":host{display:flex;flex-direction:column;--selected-border-color: #838383;--selected-color: inherit;--selected-background: #f1f1f1}mat-nav-list{padding-top:0}a{border-right:2px solid transparent}a.active{border-right:2px solid var(--selected-border-color);background:var(--selected-background);color:var(--selected-color)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3$4.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i3$4.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter", "preventDefault"] }, { kind: "directive", type: GarbageCollectorDirective, selector: "[aup-gc]", exportAs: ["aup-gc"] }, { kind: "component", type: CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }] });
|
|
15615
15769
|
}
|
|
15616
15770
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: ListPlaceNavComponent, decorators: [{
|
|
15617
15771
|
type: Component,
|
|
@@ -16279,6 +16433,108 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
16279
16433
|
* @file Automatically generated by barrelsby.
|
|
16280
16434
|
*/
|
|
16281
16435
|
|
|
16436
|
+
/**
|
|
16437
|
+
* The search model of a table whose rows the server finds, such as one that loads them a step at a
|
|
16438
|
+
* time. The rows a table holds are what the server found for the search and the filters, so it shows
|
|
16439
|
+
* them all. Its settled search
|
|
16440
|
+
* ({@link search$}) becomes the server request's criteria through `AbstractTableModel.useCriteria`, and
|
|
16441
|
+
* the cells highlight the search text as usual.
|
|
16442
|
+
*
|
|
16443
|
+
* It has no row predicate, so a page's filters cannot filter the rows held: they reach the server as
|
|
16444
|
+
* criteria, as the search does.
|
|
16445
|
+
*
|
|
16446
|
+
* @example
|
|
16447
|
+
* this.search = new ServerSearchModel<DecoratedAlarm>({disposedWith: this, searchText$: this.searchText$});
|
|
16448
|
+
* const criteria$ = this.table.useCriteria(base$, {
|
|
16449
|
+
* searchCriteriaClass: AlarmSearchCriteriaDto,
|
|
16450
|
+
* withSearchCriteria: (criteria, searchCriteria) => criteria.copy({searchCriteria}),
|
|
16451
|
+
* });
|
|
16452
|
+
*
|
|
16453
|
+
* <aup-table [tableModel]="table" [filterModel]="search"></aup-table>
|
|
16454
|
+
*/
|
|
16455
|
+
class ServerSearchModel extends TableSearchModel {
|
|
16456
|
+
_source$ = this.registerDisposable(new DelegatingListModel());
|
|
16457
|
+
filteredRows$ = this._source$.readonly$;
|
|
16458
|
+
constructor(options) {
|
|
16459
|
+
super(options);
|
|
16460
|
+
}
|
|
16461
|
+
/** The table's columns' text search is for searching in the browser, so it goes unused. */
|
|
16462
|
+
bindToTable(source$, _textSearchPredicate$) {
|
|
16463
|
+
this._source$.setDelegate(source$);
|
|
16464
|
+
return {
|
|
16465
|
+
dispose: () => {
|
|
16466
|
+
if (!this.isDisposed()) {
|
|
16467
|
+
this._source$.setDelegate(undefined);
|
|
16468
|
+
}
|
|
16469
|
+
}
|
|
16470
|
+
};
|
|
16471
|
+
}
|
|
16472
|
+
}
|
|
16473
|
+
ProxyRegistry.registerOneTimeBinding(ServerSearchModel);
|
|
16474
|
+
|
|
16475
|
+
/**
|
|
16476
|
+
* The search model of a table that holds all its rows: it searches and filters them in the browser. A row
|
|
16477
|
+
* is shown when it matches the search, through the columns' text search, and the row predicate, which a
|
|
16478
|
+
* page's filters supply. A table whose rows the server finds uses `ServerSearchModel` instead.
|
|
16479
|
+
*/
|
|
16480
|
+
class TableFilterModel extends TableSearchModel {
|
|
16481
|
+
_source$ = this.registerDisposable(new DelegatingListModel());
|
|
16482
|
+
_rowPredicate$ = this.registerDisposable(new DelegatingValueModel());
|
|
16483
|
+
_textSearchPredicate$ = this.registerDisposable(new DelegatingValueModel());
|
|
16484
|
+
_rowPredicate;
|
|
16485
|
+
inUpdate = new Guard();
|
|
16486
|
+
filteredRows$;
|
|
16487
|
+
/**
|
|
16488
|
+
* The rows the search alone leaves in, before the row predicate. A filter bar counts its choices against these, so
|
|
16489
|
+
* that a count agrees with what the table would show once the choice is made.
|
|
16490
|
+
*/
|
|
16491
|
+
searchedRows$;
|
|
16492
|
+
constructor(options) {
|
|
16493
|
+
super(options);
|
|
16494
|
+
this.useRowPredicate(options.predicate$);
|
|
16495
|
+
const { chain } = Dsl.disposeWith(this);
|
|
16496
|
+
const searchPredicate$ = chain(this.search$)
|
|
16497
|
+
.mapWithNil(search => {
|
|
16498
|
+
const textSearchPredicate = this._textSearchPredicate$.value;
|
|
16499
|
+
return (row) => !search || !textSearchPredicate || textSearchPredicate(row, search.regex, search.text);
|
|
16500
|
+
}, {
|
|
16501
|
+
dependsOn: this._textSearchPredicate$,
|
|
16502
|
+
postponeWhile: this.inUpdate
|
|
16503
|
+
});
|
|
16504
|
+
this._rowPredicate = chain(this._rowPredicate$)
|
|
16505
|
+
.mapWithNil(predicate => {
|
|
16506
|
+
const matchesSearch = searchPredicate$.value;
|
|
16507
|
+
return (row) => (!predicate || predicate(row)) && matchesSearch(row);
|
|
16508
|
+
}, {
|
|
16509
|
+
dependsOn: searchPredicate$,
|
|
16510
|
+
postponeWhile: this.inUpdate
|
|
16511
|
+
});
|
|
16512
|
+
this.filteredRows$ = chain(this._source$).select(row => {
|
|
16513
|
+
return this._rowPredicate.value(row);
|
|
16514
|
+
}, { dependsOn: this._rowPredicate });
|
|
16515
|
+
this.searchedRows$ = chain(this._source$).select(row => searchPredicate$.value(row), { dependsOn: searchPredicate$ });
|
|
16516
|
+
}
|
|
16517
|
+
useRowPredicate(rowPredicate$) {
|
|
16518
|
+
this._rowPredicate$.setDelegate(rowPredicate$);
|
|
16519
|
+
}
|
|
16520
|
+
bindToTable(source$, textSearchPredicate$) {
|
|
16521
|
+
this.inUpdate.whileTrue(() => {
|
|
16522
|
+
this._source$.setDelegate(source$);
|
|
16523
|
+
this._textSearchPredicate$.setDelegate(textSearchPredicate$);
|
|
16524
|
+
});
|
|
16525
|
+
const dispose = () => {
|
|
16526
|
+
if (!this.isDisposed()) {
|
|
16527
|
+
this.inUpdate.whileTrue(() => {
|
|
16528
|
+
this._source$.setDelegate(undefined);
|
|
16529
|
+
this._textSearchPredicate$.setDelegate(undefined);
|
|
16530
|
+
});
|
|
16531
|
+
}
|
|
16532
|
+
};
|
|
16533
|
+
return { dispose };
|
|
16534
|
+
}
|
|
16535
|
+
}
|
|
16536
|
+
ProxyRegistry.registerOneTimeBinding(TableFilterModel);
|
|
16537
|
+
|
|
16282
16538
|
class AbstractCellRenderer extends LoadableComponent {
|
|
16283
16539
|
constructor() {
|
|
16284
16540
|
super();
|
|
@@ -17407,5 +17663,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
|
17407
17663
|
* Generated bundle index. Do not edit.
|
|
17408
17664
|
*/
|
|
17409
17665
|
|
|
17410
|
-
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_DETACHED_PARENT_CDR, AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT, AUP_PLACE_CONFIG, AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractCellRenderer, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityCancellation, ActivityContainerComponent, ActivityContext, ActivityOutletComponent, ActivityRef, ActivitySelectOptionList, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AlertRendererComponent, AngularUiPowerupsModule, AupTooltipDirective, AutocompleteInputComponent, BottomSheetInteractionContext, BottomSheetInteractionContextFactory, Bounds, BusyOverlayComponent, ButtonRendererComponent, CELL_RENDERER_PORTAL, CardContainerComponent, CellFooterPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnManager, ColumnModel, ColumnOrderManager, ColumnTemplateDirective, ColumnTextSearchFormatter, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, Confirm, ConfirmRendererComponent, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DelegatingInteractionContext, DensityDirective, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnableCellTextSearch, EventCleanUpSession, FOOTER_CELL_RENDERER_PORTAL, FileDownloadComponent, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, FooterRowCellsBuilder, FooterRowModel, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, HostedInteractionContext, INTERACTION_CONTEXT, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextProvider, 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, OPTION_LIST_DEFAULTS, OptionListActivity, OutOfScopeNoticeComponent, POPUP_CONTAINER, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, ParameterSanitiser, PasswordInputComponent, Place, PlaceAccessGuard, PlaceAuthService, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, PlaceScope, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, QuietRejections, QuietRejectionsErrorHandler, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, ResizeObserverDirective, RouteId, ScrollContainerComponent, SearchInputComponent, SectionHeaderComponent, SelectInputActivity, SelectInputComponent, SelectOptionList, SelectOverlayOriginDirective, SelectionCellComponent, SelectionColumnModel, SelectionHeaderCellComponent, SeparatorComponent, SheetSwipe, SidePlaceNavigationComponent, SlideDownInteractionContextComponent, StringInputActivity, StringInputComponent, SubFormListColumn, SubFormListColumns, SubFormListComponent, SubFormListEmptyDirective, SubFormListFooterDirective, SubFormListHeaderDirective, SubFormRowActionsDirective, SubFormRowDirective, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableActionColumnComponent, TableBodyComponent, TableCellComponent, TableComponent, TableCustomMoreMenuComponent, TableCustomMoreMenuPopupComponent, TableFilterModel, TableFooterRow, TableHeaderCellComponent, TableModel, TableRowAttributesDirective, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, collapseOrphanSeparators, getPlaceDefinition, leftRightPlaceAnimation, markdownPillExtension, provideQuietRejections, registerValidators, setPlaceDefinition, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, startActivityInPopup, treeNodeDecorator };
|
|
17666
|
+
export { ACTIVITY_DATA, ALERT_CONFIG, AUP_DETACHED_PARENT_CDR, AUP_OUT_OF_SCOPE_PLACE_NOTICE_COMPONENT, AUP_PLACE_CONFIG, AUP_TABLE_OPTIMIZED_CHANGE_DETECTION, AUP_TABLE_VIRTUAL_SCROLL_BUFFER_MULTIPLIER, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractCardContainerComponent, AbstractCellRenderer, AbstractConfirmDialogComponent, AbstractDialogComponent, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityCancellation, ActivityContainerComponent, ActivityContext, ActivityOutletComponent, ActivityRef, ActivitySelectOptionList, ActivityTitleComponent, AddCardActivityComponent, AddItemInteractionContextComponent, Alert, AlertDialogComponent, AlertRendererComponent, AngularUiPowerupsModule, AupTooltipDirective, AutocompleteInputComponent, BottomSheetInteractionContext, BottomSheetInteractionContextFactory, Bounds, BusyOverlayComponent, ButtonRendererComponent, CELL_RENDERER_PORTAL, CardContainerComponent, CellFooterPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnManager, ColumnModel, ColumnOrderManager, ColumnTemplateDirective, ColumnTextSearchFormatter, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, Confirm, ConfirmRendererComponent, ConfirmThenDialogComponent, ConfirmThenExecuteDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DelegatingInteractionContext, DensityDirective, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnableCellTextSearch, EventCleanUpSession, FOOTER_CELL_RENDERER_PORTAL, FileDownloadComponent, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, FooterRowCellsBuilder, FooterRowModel, Formatter, GarbageCollectorDirective, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, HostedInteractionContext, INTERACTION_CONTEXT, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InlineEditorModel, InlineStringEditorComponent, InputActivity, InteractionContextProvider, 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, OPTION_LIST_DEFAULTS, OptionListActivity, OutOfScopeNoticeComponent, POPUP_CONTAINER, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, ParameterSanitiser, PasswordInputComponent, Place, PlaceAccessGuard, PlaceAuthService, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, PlaceScope, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, QuietRejections, QuietRejectionsErrorHandler, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, ResizeObserverDirective, RouteId, ScrollContainerComponent, SearchCriteria, SearchInputComponent, SectionHeaderComponent, SelectInputActivity, SelectInputComponent, SelectOptionList, SelectOverlayOriginDirective, SelectionCellComponent, SelectionColumnModel, SelectionHeaderCellComponent, SeparatorComponent, ServerSearchModel, SheetSwipe, SidePlaceNavigationComponent, SlideDownInteractionContextComponent, StringInputActivity, StringInputComponent, SubFormListColumn, SubFormListColumns, SubFormListComponent, SubFormListEmptyDirective, SubFormListFooterDirective, SubFormListHeaderDirective, SubFormRowActionsDirective, SubFormRowDirective, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableActionColumnComponent, TableBodyComponent, TableCellComponent, TableComponent, TableCustomMoreMenuComponent, TableCustomMoreMenuPopupComponent, TableFilterModel, TableFooterRow, TableHeaderCellComponent, TableModel, TableRowAttributesDirective, TableSearchModel, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, Track, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSegment, VisitSegmentSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, collapseOrphanSeparators, getPlaceDefinition, leftRightPlaceAnimation, markdownPillExtension, provideQuietRejections, registerValidators, setPlaceDefinition, slideDownAndRightOnEnterAnimation, slideDownOnEnterAnimation, slideDownWhenOpenAnimation, slideRightOnEnterAnimation, startActivityInPopup, treeNodeDecorator };
|
|
17411
17667
|
//# sourceMappingURL=coolon-angular-ui-powerups.mjs.map
|