@coolon/angular-ui-powerups 16.1.0-alpha.315 → 16.1.0-alpha.317
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/tables/abstract-table-model.mjs +4 -8
- package/esm2022/lib/components/tables/column/column-manager.mjs +5 -10
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +8 -2
- package/fesm2022/coolon-angular-ui-powerups.mjs +14 -17
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/tables/abstract-table-model.d.ts +2 -4
- package/lib/components/tables/column/column-manager.d.ts +3 -5
- package/package.json +1 -1
|
@@ -70,13 +70,11 @@ export declare abstract class AbstractTableModel<Row extends object> extends Gar
|
|
|
70
70
|
get visibleRows$(): ListModel<Row>;
|
|
71
71
|
get columns$(): ListModel<ColumnModel<Row>>;
|
|
72
72
|
get visibleColumns$(): ListModel<ColumnModel<Row>>;
|
|
73
|
-
/** The columns a search covers: those the default display scope shows, whichever scope the table is in. */
|
|
74
|
-
get searchedColumns$(): ListModel<ColumnModel<Row>>;
|
|
75
73
|
/** Whether each column flexes, so a view can redraw when one starts or stops. */
|
|
76
74
|
get columnFlexes$(): ListModel<boolean>;
|
|
77
75
|
/**
|
|
78
|
-
* Shows the columns of a display scope in place of the default ones, such as a phone layout's
|
|
79
|
-
* default scope. A column shows in the default scope only, until it is given scopes with
|
|
76
|
+
* Shows the columns of a display scope in place of the default ones, such as a phone layout's, and searches those
|
|
77
|
+
* columns only. Undefined is the default scope. A column shows in the default scope only, until it is given scopes with
|
|
80
78
|
* {@link ColumnModel.onlyDisplayIn}, {@link ColumnModel.alsoDisplayIn} or {@link ColumnModel.displayInEveryScope}.
|
|
81
79
|
*/
|
|
82
80
|
useDisplayScope(scope$: ValueModel<string | undefined>): this;
|
|
@@ -10,13 +10,11 @@ export declare class ColumnManager<Row extends object> extends GarbageCollector
|
|
|
10
10
|
readonly columnDisplayScopes$: WatchList<ColumnModel.DisplayScopes>;
|
|
11
11
|
readonly columnFlexes$: WatchList<boolean>;
|
|
12
12
|
private readonly _displayScope$;
|
|
13
|
-
/** The columns shown: those visible in their own right and shown in the table's display scope. */
|
|
14
|
-
readonly visibleColumns$: ListModel<ColumnModel<Row>>;
|
|
15
13
|
/**
|
|
16
|
-
* The columns
|
|
17
|
-
*
|
|
14
|
+
* The columns shown: those visible in their own right and shown in the table's display scope. A search covers these
|
|
15
|
+
* and no others, so a row is never found by a column the user cannot see.
|
|
18
16
|
*/
|
|
19
|
-
readonly
|
|
17
|
+
readonly visibleColumns$: ListModel<ColumnModel<Row>>;
|
|
20
18
|
constructor();
|
|
21
19
|
useDisplayScope(scope$: ValueModel<string | undefined>): void;
|
|
22
20
|
get displayScope$(): ValueModel<string | undefined>;
|