@rxap/material-table-system 21.0.1-dev.0 → 21.0.1
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/CHANGELOG.md +63 -0
- package/compodoc/changelog.html +61 -0
- package/compodoc/components/BooleanCellComponent.html +55 -38
- package/compodoc/components/CheckboxCellComponent.html +79 -88
- package/compodoc/components/CheckboxHeaderCellComponent.html +61 -141
- package/compodoc/components/CopyToClipboardCellComponent.html +44 -33
- package/compodoc/components/DateCellComponent.html +69 -61
- package/compodoc/components/ExpandControlsCellComponent.html +36 -90
- package/compodoc/components/ExpandRowContainerComponent.html +95 -173
- package/compodoc/components/IconCellComponent.html +44 -33
- package/compodoc/components/ImageCellComponent.html +164 -119
- package/compodoc/components/LinkCellComponent.html +121 -64
- package/compodoc/components/OptionsCellComponent.html +119 -250
- package/compodoc/components/TableColumnMenuComponent.html +128 -433
- package/compodoc/components/TableColumnOptionComponent.html +280 -378
- package/compodoc/components/TableSelectControlsComponent.html +30 -93
- package/compodoc/components/TableShowArchivedSlideComponent.html +67 -102
- package/compodoc/components/TreeControlCellComponent.html +54 -62
- package/compodoc/dependencies.html +10 -10
- package/compodoc/directives/AbstractTableRowAction.html +1568 -0
- package/compodoc/directives/ExpandRowContentDirective.html +7 -77
- package/compodoc/directives/ExpandRowDirective.html +76 -184
- package/compodoc/directives/FilterHeaderRowDirective.html +67 -177
- package/compodoc/directives/PersistentPaginatorDirective.html +60 -83
- package/compodoc/directives/SelectedRowsDirective.html +17 -115
- package/compodoc/directives/TableColumnFilterInputDirective.html +67 -100
- package/compodoc/directives/TableCreateButtonDirective.html +53 -194
- package/compodoc/directives/TableDataSourceDirective.html +298 -350
- package/compodoc/directives/TableHeaderButtonDirective.html +290 -435
- package/compodoc/directives/TableRowActionDirective.html +816 -105
- package/compodoc/directives/TableRowActionExecutingDirective.html +11 -80
- package/compodoc/directives/TableRowHeaderActionDirective.html +772 -335
- package/compodoc/graph/dependencies.svg +15 -433
- package/compodoc/injectables/ExpandRowService.html +43 -8
- package/compodoc/injectables/SelectRowService.html +17 -52
- package/compodoc/interfaces/ExpandCellContentDirectiveContext.html +3 -11
- package/compodoc/interfaces/SelectedRowsDirectiveContext.html +15 -40
- package/compodoc/js/menu-wc.js +4 -166
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -85
- package/compodoc/overview.html +3 -467
- package/compodoc/pipes/RowActionCheckPipe.html +6 -13
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +9700 -11542
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AbstractTableRowAction.html +22 -20
- package/docs/html/classes/BooleanCellComponent.html +2 -2
- package/docs/html/classes/CheckboxCellComponent.html +3 -2
- package/docs/html/classes/CheckboxHeaderCellComponent.html +5 -11
- package/docs/html/classes/CopyToClipboardCellComponent.html +2 -2
- package/docs/html/classes/DateCellComponent.html +2 -2
- package/docs/html/classes/ExpandControlsCellComponent.html +2 -2
- package/docs/html/classes/ExpandRowContainerComponent.html +4 -11
- package/docs/html/classes/ExpandRowContentDirective.html +2 -2
- package/docs/html/classes/ExpandRowDirective.html +3 -3
- package/docs/html/classes/ExpandRowService.html +3 -2
- package/docs/html/classes/FilterHeaderRowDirective.html +44 -29
- package/docs/html/classes/IconCellComponent.html +2 -2
- package/docs/html/classes/ImageCellComponent.html +3 -3
- package/docs/html/classes/LinkCellComponent.html +3 -3
- package/docs/html/classes/OptionsCellComponent.html +2 -17
- package/docs/html/classes/PersistentPaginatorDirective.html +4 -7
- package/docs/html/classes/RowActionCheckPipe.html +2 -2
- package/docs/html/classes/SelectRowService.html +2 -2
- package/docs/html/classes/SelectedRowsDirective.html +2 -11
- package/docs/html/classes/SelectionModel.html +15 -15
- package/docs/html/classes/TableColumnFilterInputDirective.html +2 -9
- package/docs/html/classes/TableColumnFilterService.html +2 -2
- package/docs/html/classes/TableColumnMenuComponent.html +8 -13
- package/docs/html/classes/TableColumnOptionComponent.html +11 -12
- package/docs/html/classes/TableCreateButtonDirective.html +3 -9
- package/docs/html/classes/TableDataSourceDirective.html +14 -11
- package/docs/html/classes/TableFilterService.html +3 -3
- package/docs/html/classes/TableHeaderButtonDirective.html +18 -20
- package/docs/html/classes/TableRowActionDirective.html +22 -20
- package/docs/html/classes/TableRowActionExecutingDirective.html +2 -2
- package/docs/html/classes/TableRowHeaderActionDirective.html +23 -21
- package/docs/html/classes/TableSelectControlsComponent.html +3 -3
- package/docs/html/classes/TableShowArchivedSlideComponent.html +4 -8
- package/docs/html/classes/ToFilterColumnNamesPipe.html +2 -2
- package/docs/html/classes/TreeControlCellComponent.html +3 -9
- package/docs/html/enums/TableHeaderButtonActionStatus.html +2 -2
- package/docs/html/enums/TableRowActionStatus.html +2 -2
- package/docs/html/functions/GetTableHeaderButtonMetadata.html +1 -1
- package/docs/html/functions/GetTableRowActionCheckFunction.html +1 -1
- package/docs/html/functions/GetTableRowActionMetadata.html +1 -1
- package/docs/html/functions/HasTableRowActionCheckFunction.html +1 -1
- package/docs/html/functions/HasTableRowActionMetadata.html +1 -1
- package/docs/html/functions/IsTableRowActionTypeMethod.html +1 -1
- package/docs/html/functions/IsTableRowActionTypeSwitchMethod.html +1 -1
- package/docs/html/functions/NormalizeTableRow.html +3 -3
- package/docs/html/functions/TableActionMethod.html +1 -1
- package/docs/html/functions/TableHeaderButtonMethod.html +1 -1
- package/docs/html/functions/getMultipleValuesInSingleSelectionError.html +2 -2
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ExpandCellContentDirectiveContext.html +2 -2
- package/docs/html/interfaces/SelectRowOptions.html +2 -2
- package/docs/html/interfaces/SelectedRowsDirectiveContext.html +2 -2
- package/docs/html/interfaces/SelectionChange.html +5 -5
- package/docs/html/interfaces/TableActionMethodOptions.html +9 -9
- package/docs/html/interfaces/TableHeaderButtonMethodOptions.html +6 -6
- package/docs/html/interfaces/TableRowMetadata.html +3 -3
- package/docs/html/modules.html +1 -1
- package/docs/html/types/RawTableRow.html +1 -1
- package/docs/html/types/RowActionCheckFunction.html +1 -1
- package/docs/html/types/RowIdMapperFunction.html +1 -1
- package/docs/html/types/TableRemoteMethodAdapterFactory.html +1 -1
- package/docs/html/types/TableRowActionMethod.html +1 -1
- package/docs/html/types/TableRowActionTypeMethod.html +1 -1
- package/docs/html/types/TableRowActionTypeSwitchMethod.html +1 -1
- package/docs/html/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.html +2 -2
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_METADATA.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.html +2 -2
- package/docs/html/variables/RXAP_TABLE_FILTER.html +1 -1
- package/docs/html/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.html +1 -1
- package/docs/html/variables/RXAP_TABLE_METHOD.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ROW_ACTION_METHOD.html +1 -1
- package/docs/html/variables/RowAnimation.html +1 -1
- package/docs/html/variables/TABLE_CREATE_REMOTE_METHOD.html +1 -1
- package/docs/html/variables/TABLE_DATA_SOURCE.html +1 -1
- package/docs/html/variables/TABLE_HEADER_BUTTON_METHOD.html +1 -1
- package/docs/html/variables/TABLE_REMOTE_METHOD.html +2 -2
- package/docs/html/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AbstractTableRowAction.md +107 -147
- package/docs/markdown/classes/BooleanCellComponent.md +4 -4
- package/docs/markdown/classes/CheckboxCellComponent.md +14 -14
- package/docs/markdown/classes/CheckboxHeaderCellComponent.md +12 -50
- package/docs/markdown/classes/CopyToClipboardCellComponent.md +4 -4
- package/docs/markdown/classes/DateCellComponent.md +6 -6
- package/docs/markdown/classes/ExpandControlsCellComponent.md +6 -14
- package/docs/markdown/classes/ExpandRowContainerComponent.md +12 -67
- package/docs/markdown/classes/ExpandRowContentDirective.md +5 -13
- package/docs/markdown/classes/ExpandRowDirective.md +9 -23
- package/docs/markdown/classes/ExpandRowService.md +14 -6
- package/docs/markdown/classes/FilterHeaderRowDirective.md +245 -181
- package/docs/markdown/classes/IconCellComponent.md +4 -4
- package/docs/markdown/classes/ImageCellComponent.md +13 -13
- package/docs/markdown/classes/LinkCellComponent.md +10 -10
- package/docs/markdown/classes/OptionsCellComponent.md +15 -106
- package/docs/markdown/classes/PersistentPaginatorDirective.md +10 -38
- package/docs/markdown/classes/RowActionCheckPipe.md +5 -11
- package/docs/markdown/classes/SelectRowService.md +9 -15
- package/docs/markdown/classes/SelectedRowsDirective.md +4 -68
- package/docs/markdown/classes/SelectionModel.md +16 -16
- package/docs/markdown/classes/TableColumnFilterInputDirective.md +6 -60
- package/docs/markdown/classes/TableColumnFilterService.md +5 -5
- package/docs/markdown/classes/TableColumnMenuComponent.md +18 -93
- package/docs/markdown/classes/TableColumnOptionComponent.md +40 -103
- package/docs/markdown/classes/TableCreateButtonDirective.md +7 -46
- package/docs/markdown/classes/TableDataSourceDirective.md +49 -84
- package/docs/markdown/classes/TableFilterService.md +11 -11
- package/docs/markdown/classes/TableHeaderButtonDirective.md +88 -124
- package/docs/markdown/classes/TableRowActionDirective.md +136 -160
- package/docs/markdown/classes/TableRowActionExecutingDirective.md +6 -18
- package/docs/markdown/classes/TableRowHeaderActionDirective.md +133 -174
- package/docs/markdown/classes/TableSelectControlsComponent.md +8 -20
- package/docs/markdown/classes/TableShowArchivedSlideComponent.md +8 -46
- package/docs/markdown/classes/ToFilterColumnNamesPipe.md +3 -3
- package/docs/markdown/classes/TreeControlCellComponent.md +10 -33
- package/docs/markdown/enumerations/TableHeaderButtonActionStatus.md +6 -6
- package/docs/markdown/enumerations/TableRowActionStatus.md +6 -6
- package/docs/markdown/functions/GetTableHeaderButtonMetadata.md +2 -2
- package/docs/markdown/functions/GetTableRowActionCheckFunction.md +2 -2
- package/docs/markdown/functions/GetTableRowActionMetadata.md +2 -2
- package/docs/markdown/functions/HasTableRowActionCheckFunction.md +2 -2
- package/docs/markdown/functions/HasTableRowActionMetadata.md +2 -2
- package/docs/markdown/functions/IsTableRowActionTypeMethod.md +2 -2
- package/docs/markdown/functions/IsTableRowActionTypeSwitchMethod.md +2 -2
- package/docs/markdown/functions/NormalizeTableRow.md +3 -3
- package/docs/markdown/functions/TableActionMethod.md +3 -3
- package/docs/markdown/functions/TableHeaderButtonMethod.md +2 -2
- package/docs/markdown/functions/getMultipleValuesInSingleSelectionError.md +2 -2
- package/docs/markdown/globals.md +2 -7
- package/docs/markdown/interfaces/ExpandCellContentDirectiveContext.md +3 -3
- package/docs/markdown/interfaces/SelectRowOptions.md +6 -6
- package/docs/markdown/interfaces/SelectedRowsDirectiveContext.md +3 -3
- package/docs/markdown/interfaces/SelectionChange.md +5 -5
- package/docs/markdown/interfaces/TableActionMethodOptions.md +11 -11
- package/docs/markdown/interfaces/TableHeaderButtonMethodOptions.md +7 -7
- package/docs/markdown/interfaces/TableRowMetadata.md +4 -4
- package/docs/markdown/type-aliases/RawTableRow.md +2 -2
- package/docs/markdown/type-aliases/RowActionCheckFunction.md +2 -2
- package/docs/markdown/type-aliases/RowIdMapperFunction.md +2 -2
- package/docs/markdown/type-aliases/TableRemoteMethodAdapterFactory.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionMethod.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionTypeMethod.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionTypeSwitchMethod.md +2 -2
- package/docs/markdown/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ROW_ACTION_METHOD.md +2 -2
- package/docs/markdown/variables/RowAnimation.md +2 -2
- package/docs/markdown/variables/TABLE_CREATE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_DATA_SOURCE.md +2 -2
- package/docs/markdown/variables/TABLE_HEADER_BUTTON_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +2 -2
- package/docs/wiki/Class.AbstractTableRowAction.md +106 -146
- package/docs/wiki/Class.BooleanCellComponent.md +3 -3
- package/docs/wiki/Class.CheckboxCellComponent.md +13 -13
- package/docs/wiki/Class.CheckboxHeaderCellComponent.md +11 -49
- package/docs/wiki/Class.CopyToClipboardCellComponent.md +3 -3
- package/docs/wiki/Class.DateCellComponent.md +5 -5
- package/docs/wiki/Class.ExpandControlsCellComponent.md +5 -13
- package/docs/wiki/Class.ExpandRowContainerComponent.md +11 -66
- package/docs/wiki/Class.ExpandRowContentDirective.md +4 -12
- package/docs/wiki/Class.ExpandRowDirective.md +8 -22
- package/docs/wiki/Class.ExpandRowService.md +13 -5
- package/docs/wiki/Class.FilterHeaderRowDirective.md +244 -180
- package/docs/wiki/Class.IconCellComponent.md +3 -3
- package/docs/wiki/Class.ImageCellComponent.md +12 -12
- package/docs/wiki/Class.LinkCellComponent.md +9 -9
- package/docs/wiki/Class.OptionsCellComponent.md +14 -105
- package/docs/wiki/Class.PersistentPaginatorDirective.md +9 -37
- package/docs/wiki/Class.RowActionCheckPipe.md +4 -10
- package/docs/wiki/Class.SelectRowService.md +8 -14
- package/docs/wiki/Class.SelectedRowsDirective.md +3 -67
- package/docs/wiki/Class.SelectionModel.md +15 -15
- package/docs/wiki/Class.TableColumnFilterInputDirective.md +5 -59
- package/docs/wiki/Class.TableColumnFilterService.md +4 -4
- package/docs/wiki/Class.TableColumnMenuComponent.md +17 -92
- package/docs/wiki/Class.TableColumnOptionComponent.md +39 -102
- package/docs/wiki/Class.TableCreateButtonDirective.md +6 -45
- package/docs/wiki/Class.TableDataSourceDirective.md +48 -83
- package/docs/wiki/Class.TableFilterService.md +10 -10
- package/docs/wiki/Class.TableHeaderButtonDirective.md +87 -123
- package/docs/wiki/Class.TableRowActionDirective.md +135 -159
- package/docs/wiki/Class.TableRowActionExecutingDirective.md +5 -17
- package/docs/wiki/Class.TableRowHeaderActionDirective.md +132 -173
- package/docs/wiki/Class.TableSelectControlsComponent.md +7 -19
- package/docs/wiki/Class.TableShowArchivedSlideComponent.md +7 -45
- package/docs/wiki/Class.ToFilterColumnNamesPipe.md +2 -2
- package/docs/wiki/Class.TreeControlCellComponent.md +9 -32
- package/docs/wiki/Enumeration.TableHeaderButtonActionStatus.md +5 -5
- package/docs/wiki/Enumeration.TableRowActionStatus.md +5 -5
- package/docs/wiki/Function.GetTableHeaderButtonMetadata.md +1 -1
- package/docs/wiki/Function.GetTableRowActionCheckFunction.md +1 -1
- package/docs/wiki/Function.GetTableRowActionMetadata.md +1 -1
- package/docs/wiki/Function.HasTableRowActionCheckFunction.md +1 -1
- package/docs/wiki/Function.HasTableRowActionMetadata.md +1 -1
- package/docs/wiki/Function.IsTableRowActionTypeMethod.md +1 -1
- package/docs/wiki/Function.IsTableRowActionTypeSwitchMethod.md +1 -1
- package/docs/wiki/Function.NormalizeTableRow.md +2 -2
- package/docs/wiki/Function.TableActionMethod.md +2 -2
- package/docs/wiki/Function.TableHeaderButtonMethod.md +1 -1
- package/docs/wiki/Function.getMultipleValuesInSingleSelectionError.md +1 -1
- package/docs/wiki/Interface.ExpandCellContentDirectiveContext.md +2 -2
- package/docs/wiki/Interface.SelectRowOptions.md +5 -5
- package/docs/wiki/Interface.SelectedRowsDirectiveContext.md +2 -2
- package/docs/wiki/Interface.SelectionChange.md +4 -4
- package/docs/wiki/Interface.TableActionMethodOptions.md +10 -10
- package/docs/wiki/Interface.TableHeaderButtonMethodOptions.md +6 -6
- package/docs/wiki/Interface.TableRowMetadata.md +3 -3
- package/docs/wiki/TypeAlias.RawTableRow.md +1 -1
- package/docs/wiki/TypeAlias.RowActionCheckFunction.md +1 -1
- package/docs/wiki/TypeAlias.RowIdMapperFunction.md +1 -1
- package/docs/wiki/TypeAlias.TableRemoteMethodAdapterFactory.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionMethod.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionTypeMethod.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionTypeSwitchMethod.md +1 -1
- package/docs/wiki/Variable.RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_FILTER_FORM_DEFINITION.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ROW_ACTION_METHOD.md +1 -1
- package/docs/wiki/Variable.RowAnimation.md +1 -1
- package/docs/wiki/Variable.TABLE_CREATE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_DATA_SOURCE.md +1 -1
- package/docs/wiki/Variable.TABLE_HEADER_BUTTON_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +1 -1
- package/docs/wiki/_Sidebar.md +0 -5
- package/docs/wiki/globals.md +1 -6
- package/fesm2022/rxap-material-table-system.mjs +561 -1137
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/package.json +28 -28
- package/types/rxap-material-table-system.d.ts +389 -439
- package/docs/html/classes/ExpandRowModule.html +0 -2
- package/docs/html/classes/SelectRowModule.html +0 -2
- package/docs/html/classes/TableColumnMenuModule.html +0 -2
- package/docs/html/classes/TableFilterModule.html +0 -2
- package/docs/html/classes/TableRowActionsModule.html +0 -2
- package/docs/markdown/classes/ExpandRowModule.md +0 -19
- package/docs/markdown/classes/SelectRowModule.md +0 -19
- package/docs/markdown/classes/TableColumnMenuModule.md +0 -19
- package/docs/markdown/classes/TableFilterModule.md +0 -19
- package/docs/markdown/classes/TableRowActionsModule.md +0 -19
- package/docs/wiki/Class.ExpandRowModule.md +0 -15
- package/docs/wiki/Class.SelectRowModule.md +0 -15
- package/docs/wiki/Class.TableColumnMenuModule.md +0 -15
- package/docs/wiki/Class.TableFilterModule.md +0 -15
- package/docs/wiki/Class.TableRowActionsModule.md +0 -15
|
@@ -1,206 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { OnDestroy, OnInit, ChangeDetectorRef, InjectionToken, Renderer2, ViewContainerRef, Injector, ElementRef, PipeTransform, TemplateRef, AfterContentInit, QueryList, AfterViewInit, DoCheck, OnChanges, SimpleChanges } from '@angular/core';
|
|
5
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
6
|
-
import * as i7 from '@angular/material/button';
|
|
7
|
-
import { MatIconButton, MatButton, MatMiniFabButton } from '@angular/material/button';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, ChangeDetectorRef, InjectionToken, Signal, Renderer2, ViewContainerRef, Injector, PipeTransform, TemplateRef, OnChanges, SimpleChanges, DoCheck } from '@angular/core';
|
|
3
|
+
import { MatIconButton, MatButton } from '@angular/material/button';
|
|
8
4
|
import { ThemePalette, MatOption } from '@angular/material/core';
|
|
9
5
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
10
|
-
import * as i6 from '@angular/material/tooltip';
|
|
11
6
|
import { MatTooltip } from '@angular/material/tooltip';
|
|
12
|
-
import * as i5 from '@rxap/components';
|
|
13
7
|
import { ConfirmDirective } from '@rxap/components';
|
|
14
|
-
import { CdkTable } from '@angular/cdk/table';
|
|
15
8
|
import { MatPaginator } from '@angular/material/paginator';
|
|
16
|
-
import { MatSort } from '@angular/material/sort';
|
|
17
9
|
import { PaginatorLike } from '@rxap/data-source/pagination';
|
|
18
|
-
import {
|
|
10
|
+
import { AbstractTableDataSource, TableEvent, SortLike, FilterLike } from '@rxap/data-source/table';
|
|
19
11
|
export { RXAP_TABLE_METHOD } from '@rxap/data-source/table';
|
|
20
12
|
import { Method } from '@rxap/pattern';
|
|
21
13
|
import { ToggleSubject } from '@rxap/rxjs';
|
|
22
|
-
import
|
|
23
|
-
import * as i9 from '@angular/material/progress-bar';
|
|
24
|
-
import * as i10 from '@angular/common';
|
|
14
|
+
import { Observable, Subject, Subscription, ReplaySubject, BehaviorSubject } from 'rxjs';
|
|
25
15
|
import { FormDirective, FormDefinition } from '@rxap/forms';
|
|
26
16
|
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
27
|
-
import { Router } from '@angular/router';
|
|
28
|
-
import { NgModel } from '@angular/forms';
|
|
29
17
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
30
18
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
31
19
|
import { IconConfig } from '@rxap/utilities';
|
|
32
|
-
import {
|
|
33
|
-
import { BackgroundSize, BackgroundRepeat, BackgroundPosition } from '@rxap/directives';
|
|
20
|
+
import { BackgroundRepeat } from '@rxap/directives';
|
|
34
21
|
import * as _angular_animations from '@angular/animations';
|
|
35
22
|
|
|
36
|
-
interface SelectRowOptions<RowData = unknown> {
|
|
37
|
-
multiple?: boolean;
|
|
38
|
-
selected?: RowData[];
|
|
39
|
-
emitChanges?: boolean;
|
|
40
|
-
compareWith?: (o1: RowData, o2: RowData) => boolean;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright Google LLC All Rights Reserved.
|
|
46
|
-
*
|
|
47
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
48
|
-
* found in the LICENSE file at https://angular.io/license
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Class to be used to power selecting one or more options from a list.
|
|
53
|
-
*/
|
|
54
|
-
declare class SelectionModel<T> {
|
|
55
|
-
private _multiple;
|
|
56
|
-
private _emitChanges;
|
|
57
|
-
compareWith?: ((o1: T, o2: T) => boolean) | undefined;
|
|
58
|
-
/** Currently-selected values. */
|
|
59
|
-
private _selection;
|
|
60
|
-
/** Keeps track of the deselected options that haven't been emitted by the change event. */
|
|
61
|
-
private _deselectedToEmit;
|
|
62
|
-
/** Keeps track of the selected options that haven't been emitted by the change event. */
|
|
63
|
-
private _selectedToEmit;
|
|
64
|
-
/** Cache for the array value of the selected items. */
|
|
65
|
-
private _selected;
|
|
66
|
-
/** Selected values. */
|
|
67
|
-
get selected(): T[];
|
|
68
|
-
/** Event emitted when the value has changed. */
|
|
69
|
-
readonly changed: Subject<SelectionChange<T>>;
|
|
70
|
-
constructor(_multiple?: boolean, initiallySelectedValues?: T[], _emitChanges?: boolean, compareWith?: ((o1: T, o2: T) => boolean) | undefined);
|
|
71
|
-
/**
|
|
72
|
-
* Selects a value or an array of values.
|
|
73
|
-
* @param values The values to select
|
|
74
|
-
* @return Whether the selection changed as a result of this call
|
|
75
|
-
* @breaking-change 16.0.0 make return type boolean
|
|
76
|
-
*/
|
|
77
|
-
select(...values: T[]): boolean | void;
|
|
78
|
-
/**
|
|
79
|
-
* Deselects a value or an array of values.
|
|
80
|
-
* @param values The values to deselect
|
|
81
|
-
* @return Whether the selection changed as a result of this call
|
|
82
|
-
* @breaking-change 16.0.0 make return type boolean
|
|
83
|
-
*/
|
|
84
|
-
deselect(...values: T[]): boolean | void;
|
|
85
|
-
/**
|
|
86
|
-
* Sets the selected values
|
|
87
|
-
* @param values The new selected values
|
|
88
|
-
* @return Whether the selection changed as a result of this call
|
|
89
|
-
* @breaking-change 16.0.0 make return type boolean
|
|
90
|
-
*/
|
|
91
|
-
setSelection(...values: T[]): boolean | void;
|
|
92
|
-
/**
|
|
93
|
-
* Toggles a value between selected and deselected.
|
|
94
|
-
* @param value The value to toggle
|
|
95
|
-
* @return Whether the selection changed as a result of this call
|
|
96
|
-
* @breaking-change 16.0.0 make return type boolean
|
|
97
|
-
*/
|
|
98
|
-
toggle(value: T): boolean | void;
|
|
99
|
-
/**
|
|
100
|
-
* Clears all of the selected values.
|
|
101
|
-
* @param flushEvent Whether to flush the changes in an event.
|
|
102
|
-
* If false, the changes to the selection will be flushed along with the next event.
|
|
103
|
-
* @return Whether the selection changed as a result of this call
|
|
104
|
-
* @breaking-change 16.0.0 make return type boolean
|
|
105
|
-
*/
|
|
106
|
-
clear(flushEvent?: boolean): boolean | void;
|
|
107
|
-
/**
|
|
108
|
-
* Determines whether a value is selected.
|
|
109
|
-
*/
|
|
110
|
-
isSelected(value: T): boolean;
|
|
111
|
-
/**
|
|
112
|
-
* Determines whether the model does not have a value.
|
|
113
|
-
*/
|
|
114
|
-
isEmpty(): boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Determines whether the model has a value.
|
|
117
|
-
*/
|
|
118
|
-
hasValue(): boolean;
|
|
119
|
-
/**
|
|
120
|
-
* Sorts the selected values based on a predicate function.
|
|
121
|
-
*/
|
|
122
|
-
sort(predicate?: (a: T, b: T) => number): void;
|
|
123
|
-
/**
|
|
124
|
-
* Gets whether multiple values can be selected.
|
|
125
|
-
*/
|
|
126
|
-
isMultipleSelection(): boolean;
|
|
127
|
-
/** Emits a change event and clears the records of selected and deselected values. */
|
|
128
|
-
private _emitChangeEvent;
|
|
129
|
-
/** Selects a value. */
|
|
130
|
-
private _markSelected;
|
|
131
|
-
/** Deselects a value. */
|
|
132
|
-
private _unmarkSelected;
|
|
133
|
-
/** Clears out the selected values. */
|
|
134
|
-
private _unmarkAll;
|
|
135
|
-
/**
|
|
136
|
-
* Verifies the value assignment and throws an error if the specified value array is
|
|
137
|
-
* including multiple values while the selection model is not supporting multiple values.
|
|
138
|
-
*/
|
|
139
|
-
private _verifyValueAssignment;
|
|
140
|
-
/** Whether there are queued up change to be emitted. */
|
|
141
|
-
private _hasQueuedChanges;
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Event emitted when the value of a MatSelectionModel has changed.
|
|
145
|
-
* @docs-private
|
|
146
|
-
*/
|
|
147
|
-
interface SelectionChange<T> {
|
|
148
|
-
/** Model that dispatched the event. */
|
|
149
|
-
source: SelectionModel<T>;
|
|
150
|
-
/** Options that were added to the model. */
|
|
151
|
-
added: T[];
|
|
152
|
-
/** Options that were removed from the model. */
|
|
153
|
-
removed: T[];
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Returns an error that reports that multiple values are passed into a selection model
|
|
157
|
-
* with a single value.
|
|
158
|
-
* @docs-private
|
|
159
|
-
*/
|
|
160
|
-
declare function getMultipleValuesInSingleSelectionError(): Error;
|
|
161
|
-
|
|
162
|
-
declare class SelectRowService<Data = unknown> {
|
|
163
|
-
selectedRows$: Observable<Data[]>;
|
|
164
|
-
readonly selectionModel: SelectionModel<Data>;
|
|
165
|
-
get selectedRows(): Data[];
|
|
166
|
-
constructor(options?: SelectRowOptions<Data> | null);
|
|
167
|
-
clear(): void;
|
|
168
|
-
compareWith(a: Data, b: Data): boolean;
|
|
169
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectRowService<any>, [{ optional: true; }]>;
|
|
170
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SelectRowService<any>>;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
23
|
declare class TableSelectControlsComponent {
|
|
174
24
|
private readonly selectRows;
|
|
175
25
|
private readonly windowRef;
|
|
176
|
-
hasNotSelected
|
|
177
|
-
constructor(selectRows: SelectRowService<any>, windowRef: WindowRef);
|
|
26
|
+
readonly hasNotSelected: _angular_core.Signal<boolean>;
|
|
178
27
|
cancel(): void;
|
|
179
28
|
select(): void;
|
|
180
|
-
static ɵfac:
|
|
181
|
-
static ɵcmp:
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
declare class TableFilterService implements FilterLike, OnDestroy {
|
|
185
|
-
readonly change: ReplaySubject<Record<string, any>>;
|
|
186
|
-
current: Record<string, any>;
|
|
187
|
-
private _subscription;
|
|
188
|
-
readonly reset$: Subject<void>;
|
|
189
|
-
/**
|
|
190
|
-
* a flag to indicate whether any value was already send to the change subject
|
|
191
|
-
* true - a value was send
|
|
192
|
-
* false - no value was send
|
|
193
|
-
* @private
|
|
194
|
-
*/
|
|
195
|
-
private _init;
|
|
196
|
-
constructor();
|
|
197
|
-
reset(): void;
|
|
198
|
-
setMap(map: Record<string, any>): void;
|
|
199
|
-
set(key: string, value: any): void;
|
|
200
|
-
remove(key: string): void;
|
|
201
|
-
ngOnDestroy(): void;
|
|
202
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterService, never>;
|
|
203
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TableFilterService>;
|
|
29
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableSelectControlsComponent, never>;
|
|
30
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableSelectControlsComponent, "rxap-table-select-controls", never, {}, {}, never, never, true, never>;
|
|
204
31
|
}
|
|
205
32
|
|
|
206
33
|
/**
|
|
@@ -222,12 +49,17 @@ declare class TableDataSourceDirective<Data extends Record<string, any> = any> i
|
|
|
222
49
|
/**
|
|
223
50
|
* @deprecated use dataSource instead
|
|
224
51
|
*/
|
|
225
|
-
|
|
226
|
-
|
|
52
|
+
readonly deprecatedDataSource: _angular_core.InputSignal<"" | AbstractTableDataSource<Data, any>>;
|
|
53
|
+
readonly dataSourceInput: _angular_core.InputSignal<AbstractTableDataSource<Data, any> | undefined>;
|
|
54
|
+
readonly paginator: _angular_core.InputSignal<MatPaginator | undefined>;
|
|
227
55
|
readonly loading$: ToggleSubject;
|
|
228
|
-
id: string
|
|
229
|
-
parameters
|
|
230
|
-
|
|
56
|
+
readonly id: _angular_core.InputSignal<string>;
|
|
57
|
+
readonly parameters: _angular_core.InputSignal<Observable<Record<string, any>> | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* The current data source. Initialised with the dataSource input - if not defined the
|
|
60
|
+
* data source is created from the TABLE_DATA_SOURCE or RXAP_TABLE_METHOD token on init.
|
|
61
|
+
*/
|
|
62
|
+
readonly dataSource: _angular_core.WritableSignal<AbstractTableDataSource<Data, any> | undefined>;
|
|
231
63
|
method?: Method<Data[], TableEvent>;
|
|
232
64
|
readonly hasError$: ToggleSubject;
|
|
233
65
|
readonly error$: Subject<unknown>;
|
|
@@ -242,15 +74,15 @@ declare class TableDataSourceDirective<Data extends Record<string, any> = any> i
|
|
|
242
74
|
get sourceRemoteMethod(): Method<Data[] | any, TableEvent | any> | null;
|
|
243
75
|
protected _subscription: Subscription;
|
|
244
76
|
private readonly adapterFactory;
|
|
245
|
-
constructor(
|
|
77
|
+
constructor();
|
|
246
78
|
private trackBy;
|
|
247
79
|
ngOnInit(): void;
|
|
248
80
|
ngOnDestroy(): void;
|
|
249
81
|
refresh(): void;
|
|
250
82
|
retry(): void;
|
|
251
83
|
reset(): void;
|
|
252
|
-
static ɵfac:
|
|
253
|
-
static ɵdir:
|
|
84
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableDataSourceDirective<any>, never>;
|
|
85
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableDataSourceDirective<any>, "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", ["rxapTableDataSource"], { "deprecatedDataSource": { "alias": "rxapTableDataSource"; "required": false; "isSignal": true; }; "dataSourceInput": { "alias": "dataSource"; "required": false; "isSignal": true; }; "paginator": { "alias": "paginator"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": true; "isSignal": true; }; "parameters": { "alias": "parameters"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
254
86
|
}
|
|
255
87
|
|
|
256
88
|
type RowActionCheckFunction<Data> = (element: Data, index: number, array: Data[]) => boolean;
|
|
@@ -307,35 +139,41 @@ interface TableActionMethodOptions<Data = any> {
|
|
|
307
139
|
declare function TableActionMethod<Data = any>(options: TableActionMethodOptions): ClassDecorator;
|
|
308
140
|
declare function TableActionMethod<Data = any>(type: string, checkFunction?: RowActionCheckFunction<Data>): ClassDecorator;
|
|
309
141
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
abstract type: string;
|
|
320
|
-
errorMessage?: string;
|
|
321
|
-
successMessage?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Subclasses must be decorated with @Directive, declare the `type` signal input and
|
|
144
|
+
* implement `getElementList`. No constructor arguments are required anymore - all
|
|
145
|
+
* dependencies are acquired with inject().
|
|
146
|
+
*/
|
|
147
|
+
declare abstract class AbstractTableRowAction<Data extends Record<string, any>> extends ConfirmDirective {
|
|
148
|
+
abstract readonly type: Signal<string>;
|
|
149
|
+
readonly errorMessage: _angular_core.InputSignal<string | undefined>;
|
|
150
|
+
readonly successMessage: _angular_core.InputSignal<string | undefined>;
|
|
322
151
|
/**
|
|
323
152
|
* true - after the action is executed the table datasource is refreshed
|
|
324
153
|
*/
|
|
325
|
-
refresh
|
|
326
|
-
color
|
|
154
|
+
readonly refresh: _angular_core.InputSignal<boolean | undefined>;
|
|
155
|
+
readonly color: _angular_core.InputSignal<ThemePalette>;
|
|
156
|
+
readonly hasConfirmDirective: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
327
157
|
readonly isHeader: boolean;
|
|
328
|
-
protected
|
|
329
|
-
|
|
330
|
-
|
|
158
|
+
protected readonly renderer: Renderer2;
|
|
159
|
+
protected readonly vcr: ViewContainerRef;
|
|
160
|
+
protected readonly tableDataSourceDirective: TableDataSourceDirective<Record<string, any>>;
|
|
161
|
+
protected readonly snackBar: MatSnackBar;
|
|
162
|
+
protected readonly matButton: MatIconButton | MatButton | null;
|
|
163
|
+
protected readonly matTooltip: MatTooltip | null;
|
|
164
|
+
protected readonly injector: Injector;
|
|
331
165
|
private readonly actionMethodList;
|
|
166
|
+
protected readonly options: Signal<TableActionMethodOptions | null>;
|
|
167
|
+
protected readonly effectiveRefresh: Signal<boolean>;
|
|
168
|
+
protected readonly effectiveErrorMessage: Signal<string | undefined>;
|
|
169
|
+
protected readonly effectiveSuccessMessage: Signal<string | undefined>;
|
|
170
|
+
protected readonly effectiveColor: Signal<"primary" | "accent" | "warn" | undefined>;
|
|
171
|
+
private readonly executingDirective;
|
|
172
|
+
private _currentStatus;
|
|
332
173
|
private _actionDisabled;
|
|
333
|
-
constructor(
|
|
334
|
-
private _hasConfirmDirective;
|
|
335
|
-
set hasConfirmDirective(value: any);
|
|
336
|
-
ngOnInit(): void;
|
|
174
|
+
protected constructor();
|
|
337
175
|
onConfirmed(): Promise<void>;
|
|
338
|
-
onClick($event
|
|
176
|
+
onClick($event?: Event): Promise<void>;
|
|
339
177
|
execute(): Promise<void>;
|
|
340
178
|
protected abstract getElementList(): Data[];
|
|
341
179
|
/**
|
|
@@ -369,26 +207,25 @@ declare abstract class AbstractTableRowAction<Data extends Record<string, any>>
|
|
|
369
207
|
private findTypedActionMethod;
|
|
370
208
|
private setStatus;
|
|
371
209
|
private getTableActionOptions;
|
|
372
|
-
static ɵfac:
|
|
373
|
-
static
|
|
210
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AbstractTableRowAction<any>, never>;
|
|
211
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AbstractTableRowAction<any>, never, never, { "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "successMessage": { "alias": "successMessage"; "required": false; "isSignal": true; }; "refresh": { "alias": "refresh"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; "isSignal": true; }; }, {}, ["executingDirective"], never, true, never>;
|
|
374
212
|
}
|
|
375
213
|
|
|
376
214
|
declare class RowActionCheckPipe<RowType extends Record<string, unknown> = Record<string, unknown>> implements PipeTransform {
|
|
377
215
|
private readonly actionMethodList;
|
|
378
|
-
constructor(
|
|
216
|
+
constructor();
|
|
379
217
|
transform(value: RowType | RowType[], type: string): boolean;
|
|
380
|
-
static ɵfac:
|
|
381
|
-
static ɵpipe:
|
|
218
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RowActionCheckPipe<any>, never>;
|
|
219
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<RowActionCheckPipe<any>, "rxapRowActionCheck", true>;
|
|
382
220
|
}
|
|
383
221
|
|
|
384
222
|
declare class TableRowActionExecutingDirective {
|
|
385
223
|
readonly templateRef: TemplateRef<void>;
|
|
386
224
|
private readonly vcr;
|
|
387
|
-
constructor(templateRef: TemplateRef<void>, vcr: ViewContainerRef);
|
|
388
225
|
show(): void;
|
|
389
226
|
hide(): void;
|
|
390
|
-
static ɵfac:
|
|
391
|
-
static ɵdir:
|
|
227
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowActionExecutingDirective, never>;
|
|
228
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableRowActionExecutingDirective, "[rxapTableRowActionExecuting]", never, {}, {}, never, never, true, never>;
|
|
392
229
|
}
|
|
393
230
|
|
|
394
231
|
declare enum TableRowActionStatus {
|
|
@@ -399,11 +236,12 @@ declare enum TableRowActionStatus {
|
|
|
399
236
|
}
|
|
400
237
|
|
|
401
238
|
declare class TableRowActionDirective<Data extends Record<string, any>> extends AbstractTableRowAction<Data> {
|
|
402
|
-
type: string
|
|
403
|
-
element: Data
|
|
239
|
+
readonly type: _angular_core.InputSignal<string>;
|
|
240
|
+
readonly element: _angular_core.InputSignal<Data>;
|
|
241
|
+
constructor();
|
|
404
242
|
protected getElementList(): Data[];
|
|
405
|
-
static ɵfac:
|
|
406
|
-
static ɵdir:
|
|
243
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowActionDirective<any>, never>;
|
|
244
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableRowActionDirective<any>, "button[rxapTableRowAction]", never, { "type": { "alias": "rxapTableRowAction"; "required": true; "isSignal": true; }; "element": { "alias": "element"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
407
245
|
}
|
|
408
246
|
|
|
409
247
|
declare function IsTableRowActionTypeSwitchMethod<Data extends Record<string, any>>(method: TableRowActionMethod<Data>): method is TableRowActionTypeSwitchMethod<Data>;
|
|
@@ -413,23 +251,15 @@ declare function GetTableRowActionCheckFunction<Data extends Record<string, unkn
|
|
|
413
251
|
declare function HasTableRowActionMetadata(method: TableRowActionMethod): boolean;
|
|
414
252
|
declare function GetTableRowActionMetadata(method: TableRowActionMethod): TableActionMethodOptions;
|
|
415
253
|
|
|
416
|
-
declare class TableRowHeaderActionDirective<Data extends Record<string, any>> extends AbstractTableRowAction<Data>
|
|
254
|
+
declare class TableRowHeaderActionDirective<Data extends Record<string, any>> extends AbstractTableRowAction<Data> {
|
|
417
255
|
private readonly selectRowService;
|
|
418
256
|
readonly isHeader = true;
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
ngOnInit(): void;
|
|
257
|
+
readonly type: _angular_core.InputSignal<string>;
|
|
258
|
+
private readonly hasSelectedRows;
|
|
259
|
+
constructor();
|
|
423
260
|
protected getElementList(): Data[];
|
|
424
|
-
|
|
425
|
-
static
|
|
426
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowHeaderActionDirective<any>, "button[rxapTableRowHeaderAction]", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "successMessage": { "alias": "successMessage"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "color": { "alias": "color"; "required": false; }; "type": { "alias": "rxapTableRowHeaderAction"; "required": true; }; }, {}, never, never, true, never>;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
declare class TableRowActionsModule {
|
|
430
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionsModule, never>;
|
|
431
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableRowActionsModule, never, [typeof TableRowActionDirective, typeof TableRowActionExecutingDirective, typeof TableRowHeaderActionDirective, typeof RowActionCheckPipe, typeof i5.ConfirmModule], [typeof TableRowActionDirective, typeof TableRowHeaderActionDirective, typeof TableRowActionExecutingDirective, typeof RowActionCheckPipe, typeof i6.MatTooltipModule, typeof i7.MatButtonModule, typeof i5.ConfirmModule, typeof i8.MatIconModule, typeof i9.MatProgressBarModule, typeof i10.CommonModule]>;
|
|
432
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TableRowActionsModule>;
|
|
261
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowHeaderActionDirective<any>, never>;
|
|
262
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableRowHeaderActionDirective<any>, "button[rxapTableRowHeaderAction]", never, { "type": { "alias": "rxapTableRowHeaderAction"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
433
263
|
}
|
|
434
264
|
|
|
435
265
|
declare const RXAP_TABLE_ROW_ACTION_METHOD: InjectionToken<unknown>;
|
|
@@ -467,29 +297,29 @@ declare enum TableHeaderButtonActionStatus {
|
|
|
467
297
|
SUCCESS = "success"
|
|
468
298
|
}
|
|
469
299
|
|
|
470
|
-
declare class TableHeaderButtonDirective<Data extends Record<string, any>> extends ConfirmDirective
|
|
300
|
+
declare class TableHeaderButtonDirective<Data extends Record<string, any>> extends ConfirmDirective {
|
|
471
301
|
private readonly method;
|
|
472
302
|
private readonly snackBar;
|
|
473
303
|
private readonly matTooltip;
|
|
474
304
|
private readonly matButton;
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
successMessage?: string;
|
|
305
|
+
readonly tableDataSourceDirective: _angular_core.InputSignal<TableDataSourceDirective<Data>>;
|
|
306
|
+
readonly errorMessage: _angular_core.InputSignal<string | undefined>;
|
|
307
|
+
readonly successMessage: _angular_core.InputSignal<string | undefined>;
|
|
479
308
|
/**
|
|
480
309
|
* true - after the action is executed the table datasource is refreshed
|
|
481
310
|
*/
|
|
482
|
-
refresh
|
|
483
|
-
protected options: TableHeaderButtonMethodOptions | null
|
|
311
|
+
readonly refresh: _angular_core.InputSignal<boolean | undefined>;
|
|
312
|
+
protected readonly options: _angular_core.Signal<TableHeaderButtonMethodOptions | null>;
|
|
313
|
+
protected readonly effectiveRefresh: _angular_core.Signal<boolean>;
|
|
314
|
+
protected readonly effectiveErrorMessage: _angular_core.Signal<string | undefined>;
|
|
315
|
+
protected readonly effectiveSuccessMessage: _angular_core.Signal<string | undefined>;
|
|
484
316
|
private _actionDisabled;
|
|
485
317
|
private _currentStatus;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
set hasConfirmDirective(value: any);
|
|
318
|
+
readonly hasConfirmDirective: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
319
|
+
constructor();
|
|
489
320
|
onConfirmed(): Promise<void>;
|
|
490
|
-
onClick($event
|
|
321
|
+
onClick($event?: Event): Promise<void>;
|
|
491
322
|
execute(): Promise<void>;
|
|
492
|
-
ngOnInit(): void;
|
|
493
323
|
/**
|
|
494
324
|
* Disables the action. If the button is pressed the action is NOT executed
|
|
495
325
|
*
|
|
@@ -509,178 +339,316 @@ declare class TableHeaderButtonDirective<Data extends Record<string, any>> exten
|
|
|
509
339
|
protected setButtonEnabled(): void;
|
|
510
340
|
private setStatus;
|
|
511
341
|
private getTableHeaderButtonOptions;
|
|
512
|
-
static ɵfac:
|
|
513
|
-
static ɵdir:
|
|
342
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableHeaderButtonDirective<any>, never>;
|
|
343
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableHeaderButtonDirective<any>, "button[mat-mini-fab][rxapTableHeaderButton]", never, { "tableDataSourceDirective": { "alias": "rxapTableHeaderButton"; "required": true; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "successMessage": { "alias": "successMessage"; "required": false; "isSignal": true; }; "refresh": { "alias": "refresh"; "required": false; "isSignal": true; }; "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
514
344
|
}
|
|
515
345
|
|
|
516
346
|
declare const TABLE_HEADER_BUTTON_METHOD: InjectionToken<Method<any, any>>;
|
|
517
347
|
|
|
518
|
-
declare class FilterHeaderRowDirective extends FormDirective implements OnInit, OnDestroy {
|
|
348
|
+
declare class FilterHeaderRowDirective extends FormDirective implements OnInit, OnChanges, OnDestroy {
|
|
519
349
|
private readonly tableFilter;
|
|
520
|
-
|
|
350
|
+
/**
|
|
351
|
+
* Optional form definition bound with the selector attribute. Falls back to RXAP_TABLE_FILTER_FORM_DEFINITION.
|
|
352
|
+
*/
|
|
353
|
+
readonly filterFormDefinition: _angular_core.InputSignal<"" | FormDefinition<any, any, any>>;
|
|
521
354
|
private _subscription?;
|
|
522
|
-
constructor(
|
|
355
|
+
constructor();
|
|
356
|
+
private applyFilterFormDefinition;
|
|
357
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
523
358
|
ngOnInit(): void;
|
|
524
359
|
ngOnDestroy(): void;
|
|
525
|
-
static ɵfac:
|
|
526
|
-
static ɵdir:
|
|
360
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterHeaderRowDirective, never>;
|
|
361
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FilterHeaderRowDirective, "table[rxap-filter-header-row]", never, { "filterFormDefinition": { "alias": "rxap-filter-header-row"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
527
362
|
}
|
|
528
363
|
|
|
529
|
-
declare class
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
364
|
+
declare class TableFilterService implements FilterLike, OnDestroy {
|
|
365
|
+
readonly change: ReplaySubject<Record<string, any>>;
|
|
366
|
+
current: Record<string, any>;
|
|
367
|
+
private _subscription;
|
|
368
|
+
readonly reset$: Subject<void>;
|
|
369
|
+
/**
|
|
370
|
+
* a flag to indicate whether any value was already send to the change subject
|
|
371
|
+
* true - a value was send
|
|
372
|
+
* false - no value was send
|
|
373
|
+
* @private
|
|
374
|
+
*/
|
|
375
|
+
private _init;
|
|
376
|
+
constructor();
|
|
377
|
+
reset(): void;
|
|
378
|
+
setMap(map: Record<string, any>): void;
|
|
379
|
+
set(key: string, value: any): void;
|
|
380
|
+
remove(key: string): void;
|
|
381
|
+
ngOnDestroy(): void;
|
|
382
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableFilterService, never>;
|
|
383
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableFilterService>;
|
|
533
384
|
}
|
|
534
385
|
|
|
535
|
-
declare class
|
|
536
|
-
|
|
537
|
-
static
|
|
538
|
-
static
|
|
386
|
+
declare class ToFilterColumnNamesPipe implements PipeTransform {
|
|
387
|
+
transform(columns: string[]): string[];
|
|
388
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToFilterColumnNamesPipe, never>;
|
|
389
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ToFilterColumnNamesPipe, "toFilterColumnNames", true>;
|
|
539
390
|
}
|
|
540
391
|
|
|
541
392
|
declare const RXAP_TABLE_FILTER_FORM_DEFINITION: InjectionToken<unknown>;
|
|
542
393
|
|
|
543
|
-
declare class TableCreateButtonDirective<Data extends Record<string, any>> implements
|
|
394
|
+
declare class TableCreateButtonDirective<Data extends Record<string, any>> implements OnDestroy {
|
|
544
395
|
private readonly method;
|
|
545
|
-
|
|
546
|
-
private readonly renderer;
|
|
547
|
-
dataSource: TableDataSourceDirective<Data>;
|
|
396
|
+
readonly dataSource: _angular_core.InputSignal<TableDataSourceDirective<Data>>;
|
|
548
397
|
private _createObservable?;
|
|
549
|
-
constructor(method: Method<any, Data | Observable<Data>>, elementRef: ElementRef, renderer: Renderer2);
|
|
550
|
-
ngOnInit(): void;
|
|
551
398
|
ngOnDestroy(): void;
|
|
552
399
|
onClick(): Promise<void>;
|
|
553
|
-
static ɵfac:
|
|
554
|
-
static ɵdir:
|
|
400
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCreateButtonDirective<any>, never>;
|
|
401
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableCreateButtonDirective<any>, "button[rxapTableCreate]", never, { "dataSource": { "alias": "rxapTableCreate"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
555
402
|
}
|
|
556
403
|
|
|
557
404
|
declare const TABLE_CREATE_REMOTE_METHOD: InjectionToken<Method<any, any>>;
|
|
558
405
|
|
|
559
|
-
declare class
|
|
406
|
+
declare class TableShowArchivedSlideComponent {
|
|
407
|
+
private readonly tableFilter;
|
|
408
|
+
private readonly tableColumnMenu;
|
|
409
|
+
private readonly selectRows;
|
|
410
|
+
readonly paginator: _angular_core.InputSignal<MatPaginator | undefined>;
|
|
411
|
+
onChange($event: MatSlideToggleChange): void;
|
|
412
|
+
constructor();
|
|
413
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableShowArchivedSlideComponent, never>;
|
|
414
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableShowArchivedSlideComponent, "rxap-table-show-archived-slide", never, { "paginator": { "alias": "paginator"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
declare class TableColumnOptionComponent {
|
|
560
418
|
private _element;
|
|
561
419
|
private readonly router;
|
|
562
|
-
name: string
|
|
563
|
-
|
|
420
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
421
|
+
/**
|
|
422
|
+
* The initial active state. Use the inactive input as shorthand for active = false
|
|
423
|
+
*/
|
|
424
|
+
readonly activeInput: _angular_core.InputSignal<boolean>;
|
|
425
|
+
readonly inactive: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
426
|
+
readonly hidden: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
427
|
+
readonly show: _angular_core.InputSignal<boolean>;
|
|
428
|
+
/**
|
|
429
|
+
* The current active state. Initialised from the active/inactive inputs
|
|
430
|
+
* and the cached value, can be changed with toggle/activate/deactivate.
|
|
431
|
+
*/
|
|
432
|
+
readonly active: _angular_core.WritableSignal<boolean>;
|
|
433
|
+
readonly isHidden: _angular_core.Signal<boolean>;
|
|
564
434
|
/**
|
|
565
435
|
* The displayed value of the option. It is necessary to show the selected option in the
|
|
566
436
|
* select's trigger.
|
|
567
437
|
*/
|
|
568
438
|
get display(): string;
|
|
569
|
-
set inactive(value: boolean | '');
|
|
570
|
-
set hidden(value: boolean | '');
|
|
571
|
-
get hidden(): boolean | '';
|
|
572
|
-
private _hidden;
|
|
573
|
-
set show(value: boolean);
|
|
574
439
|
private get cacheId();
|
|
575
|
-
|
|
576
|
-
ngOnInit(): void;
|
|
440
|
+
private cachedValue;
|
|
577
441
|
toggle(): void;
|
|
578
442
|
activate(): void;
|
|
579
443
|
deactivate(): void;
|
|
580
|
-
static ɵfac:
|
|
581
|
-
static ɵcmp:
|
|
444
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableColumnOptionComponent, never>;
|
|
445
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableColumnOptionComponent, "rxap-table-column-option", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "activeInput": { "alias": "active"; "required": false; "isSignal": true; }; "inactive": { "alias": "inactive"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "show": { "alias": "show"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
582
446
|
}
|
|
583
447
|
|
|
584
|
-
declare class TableColumnMenuComponent
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
448
|
+
declare class TableColumnMenuComponent {
|
|
449
|
+
readonly columns: _angular_core.Signal<readonly TableColumnOptionComponent[]>;
|
|
450
|
+
readonly visibleColumns: _angular_core.Signal<TableColumnOptionComponent[]>;
|
|
451
|
+
/**
|
|
452
|
+
* The names of all currently active columns
|
|
453
|
+
*/
|
|
454
|
+
readonly displayColumns: _angular_core.Signal<string[]>;
|
|
590
455
|
/**
|
|
591
456
|
* true - the menu is displayed inline and not absolute
|
|
592
|
-
* @param value
|
|
593
457
|
*/
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
private _matCardMode;
|
|
597
|
-
ngAfterContentInit(): void;
|
|
598
|
-
updateDisplayColumns(): void;
|
|
458
|
+
readonly inline: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
459
|
+
readonly matCard: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
599
460
|
activate(columnName: string): void;
|
|
600
461
|
deactivate(columnName: string): void;
|
|
601
|
-
static ɵfac:
|
|
602
|
-
static ɵcmp:
|
|
462
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableColumnMenuComponent, never>;
|
|
463
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableColumnMenuComponent, "rxap-table-column-menu", ["rxapTableColumns"], { "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "matCard": { "alias": "matCard"; "required": false; "isSignal": true; }; }, {}, ["columns"], ["[mat-menu-item],mat-divider"], true, never>;
|
|
603
464
|
}
|
|
604
465
|
|
|
605
|
-
declare class
|
|
606
|
-
private readonly
|
|
607
|
-
private readonly
|
|
608
|
-
private readonly
|
|
609
|
-
|
|
610
|
-
constructor(
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableShowArchivedSlideComponent, [{ optional: true; }, null, null]>;
|
|
614
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableShowArchivedSlideComponent, "rxap-table-show-archived-slide", never, { "paginator": { "alias": "paginator"; "required": false; }; }, {}, never, never, true, never>;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
declare class TableColumnMenuModule {
|
|
618
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnMenuModule, never>;
|
|
619
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableColumnMenuModule, never, [typeof TableColumnMenuComponent, typeof TableShowArchivedSlideComponent, typeof TableColumnOptionComponent], [typeof TableColumnMenuComponent, typeof TableShowArchivedSlideComponent, typeof TableColumnOptionComponent]>;
|
|
620
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TableColumnMenuModule>;
|
|
466
|
+
declare class TableColumnFilterInputDirective {
|
|
467
|
+
private readonly ngModel;
|
|
468
|
+
private readonly tableColumnFilterService;
|
|
469
|
+
private readonly destroyRef;
|
|
470
|
+
readonly column: _angular_core.InputSignal<string>;
|
|
471
|
+
constructor();
|
|
472
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableColumnFilterInputDirective, never>;
|
|
473
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableColumnFilterInputDirective, "input[ngModel][rxapTableColumnFilterInput]", never, { "column": { "alias": "column"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
621
474
|
}
|
|
622
475
|
|
|
623
476
|
declare class TableColumnFilterService implements FilterLike {
|
|
624
477
|
readonly change: BehaviorSubject<Record<string, string>>;
|
|
625
478
|
get current(): Record<string, string>;
|
|
626
479
|
setFilter(column: string, value: string | undefined | null): void;
|
|
627
|
-
static ɵfac:
|
|
628
|
-
static ɵprov:
|
|
480
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableColumnFilterService, never>;
|
|
481
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableColumnFilterService>;
|
|
629
482
|
}
|
|
630
483
|
|
|
631
|
-
declare class
|
|
632
|
-
private readonly ngModel;
|
|
633
|
-
private readonly tableColumnFilterService;
|
|
634
|
-
column: string;
|
|
635
|
-
private _subscription?;
|
|
636
|
-
constructor(ngModel: NgModel, tableColumnFilterService: TableColumnFilterService);
|
|
637
|
-
ngOnDestroy(): void;
|
|
638
|
-
ngAfterViewInit(): void;
|
|
639
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnFilterInputDirective, never>;
|
|
640
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnFilterInputDirective, "input[ngModel][rxapTableColumnFilterInput]", never, { "column": { "alias": "column"; "required": true; }; }, {}, never, never, true, never>;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
declare class CheckboxHeaderCellComponent<Data extends Record<string, any>> implements OnInit {
|
|
484
|
+
declare class CheckboxHeaderCellComponent<Data extends Record<string, any>> {
|
|
644
485
|
private readonly cdkTable;
|
|
645
486
|
private readonly selectRow;
|
|
646
|
-
indeterminate
|
|
647
|
-
checked
|
|
648
|
-
isMultipleSelection: boolean;
|
|
649
|
-
constructor(cdkTable: CdkTable<Data>, selectRow: SelectRowService<Data>);
|
|
650
|
-
ngOnInit(): void;
|
|
487
|
+
readonly indeterminate: _angular_core.Signal<boolean>;
|
|
488
|
+
readonly checked: _angular_core.Signal<boolean>;
|
|
489
|
+
readonly isMultipleSelection: boolean;
|
|
651
490
|
onChange($event: MatCheckboxChange): void;
|
|
652
|
-
static ɵfac:
|
|
653
|
-
static ɵcmp:
|
|
491
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxHeaderCellComponent<any>, never>;
|
|
492
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxHeaderCellComponent<any>, "th[rxap-checkbox-header-cell]", never, {}, {}, never, never, true, never>;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* @license
|
|
497
|
+
* Copyright Google LLC All Rights Reserved.
|
|
498
|
+
*
|
|
499
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
500
|
+
* found in the LICENSE file at https://angular.io/license
|
|
501
|
+
*/
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Class to be used to power selecting one or more options from a list.
|
|
505
|
+
*/
|
|
506
|
+
declare class SelectionModel<T> {
|
|
507
|
+
private _multiple;
|
|
508
|
+
private _emitChanges;
|
|
509
|
+
compareWith?: ((o1: T, o2: T) => boolean) | undefined;
|
|
510
|
+
/** Currently-selected values. */
|
|
511
|
+
private _selection;
|
|
512
|
+
/** Keeps track of the deselected options that haven't been emitted by the change event. */
|
|
513
|
+
private _deselectedToEmit;
|
|
514
|
+
/** Keeps track of the selected options that haven't been emitted by the change event. */
|
|
515
|
+
private _selectedToEmit;
|
|
516
|
+
/** Cache for the array value of the selected items. */
|
|
517
|
+
private _selected;
|
|
518
|
+
/** Selected values. */
|
|
519
|
+
get selected(): T[];
|
|
520
|
+
/** Event emitted when the value has changed. */
|
|
521
|
+
readonly changed: Subject<SelectionChange<T>>;
|
|
522
|
+
constructor(_multiple?: boolean, initiallySelectedValues?: T[], _emitChanges?: boolean, compareWith?: ((o1: T, o2: T) => boolean) | undefined);
|
|
523
|
+
/**
|
|
524
|
+
* Selects a value or an array of values.
|
|
525
|
+
* @param values The values to select
|
|
526
|
+
* @return Whether the selection changed as a result of this call
|
|
527
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
528
|
+
*/
|
|
529
|
+
select(...values: T[]): boolean | void;
|
|
530
|
+
/**
|
|
531
|
+
* Deselects a value or an array of values.
|
|
532
|
+
* @param values The values to deselect
|
|
533
|
+
* @return Whether the selection changed as a result of this call
|
|
534
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
535
|
+
*/
|
|
536
|
+
deselect(...values: T[]): boolean | void;
|
|
537
|
+
/**
|
|
538
|
+
* Sets the selected values
|
|
539
|
+
* @param values The new selected values
|
|
540
|
+
* @return Whether the selection changed as a result of this call
|
|
541
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
542
|
+
*/
|
|
543
|
+
setSelection(...values: T[]): boolean | void;
|
|
544
|
+
/**
|
|
545
|
+
* Toggles a value between selected and deselected.
|
|
546
|
+
* @param value The value to toggle
|
|
547
|
+
* @return Whether the selection changed as a result of this call
|
|
548
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
549
|
+
*/
|
|
550
|
+
toggle(value: T): boolean | void;
|
|
551
|
+
/**
|
|
552
|
+
* Clears all of the selected values.
|
|
553
|
+
* @param flushEvent Whether to flush the changes in an event.
|
|
554
|
+
* If false, the changes to the selection will be flushed along with the next event.
|
|
555
|
+
* @return Whether the selection changed as a result of this call
|
|
556
|
+
* @breaking-change 16.0.0 make return type boolean
|
|
557
|
+
*/
|
|
558
|
+
clear(flushEvent?: boolean): boolean | void;
|
|
559
|
+
/**
|
|
560
|
+
* Determines whether a value is selected.
|
|
561
|
+
*/
|
|
562
|
+
isSelected(value: T): boolean;
|
|
563
|
+
/**
|
|
564
|
+
* Determines whether the model does not have a value.
|
|
565
|
+
*/
|
|
566
|
+
isEmpty(): boolean;
|
|
567
|
+
/**
|
|
568
|
+
* Determines whether the model has a value.
|
|
569
|
+
*/
|
|
570
|
+
hasValue(): boolean;
|
|
571
|
+
/**
|
|
572
|
+
* Sorts the selected values based on a predicate function.
|
|
573
|
+
*/
|
|
574
|
+
sort(predicate?: (a: T, b: T) => number): void;
|
|
575
|
+
/**
|
|
576
|
+
* Gets whether multiple values can be selected.
|
|
577
|
+
*/
|
|
578
|
+
isMultipleSelection(): boolean;
|
|
579
|
+
/** Emits a change event and clears the records of selected and deselected values. */
|
|
580
|
+
private _emitChangeEvent;
|
|
581
|
+
/** Selects a value. */
|
|
582
|
+
private _markSelected;
|
|
583
|
+
/** Deselects a value. */
|
|
584
|
+
private _unmarkSelected;
|
|
585
|
+
/** Clears out the selected values. */
|
|
586
|
+
private _unmarkAll;
|
|
587
|
+
/**
|
|
588
|
+
* Verifies the value assignment and throws an error if the specified value array is
|
|
589
|
+
* including multiple values while the selection model is not supporting multiple values.
|
|
590
|
+
*/
|
|
591
|
+
private _verifyValueAssignment;
|
|
592
|
+
/** Whether there are queued up change to be emitted. */
|
|
593
|
+
private _hasQueuedChanges;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Event emitted when the value of a MatSelectionModel has changed.
|
|
597
|
+
* @docs-private
|
|
598
|
+
*/
|
|
599
|
+
interface SelectionChange<T> {
|
|
600
|
+
/** Model that dispatched the event. */
|
|
601
|
+
source: SelectionModel<T>;
|
|
602
|
+
/** Options that were added to the model. */
|
|
603
|
+
added: T[];
|
|
604
|
+
/** Options that were removed from the model. */
|
|
605
|
+
removed: T[];
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* Returns an error that reports that multiple values are passed into a selection model
|
|
609
|
+
* with a single value.
|
|
610
|
+
* @docs-private
|
|
611
|
+
*/
|
|
612
|
+
declare function getMultipleValuesInSingleSelectionError(): Error;
|
|
613
|
+
|
|
614
|
+
declare class SelectRowService<Data = unknown> {
|
|
615
|
+
selectedRows$: Observable<Data[]>;
|
|
616
|
+
readonly selectionModel: SelectionModel<Data>;
|
|
617
|
+
get selectedRows(): Data[];
|
|
618
|
+
constructor();
|
|
619
|
+
clear(): void;
|
|
620
|
+
compareWith(a: Data, b: Data): boolean;
|
|
621
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectRowService<any>, never>;
|
|
622
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SelectRowService<any>>;
|
|
654
623
|
}
|
|
655
624
|
|
|
656
625
|
declare class CheckboxCellComponent<Data extends Record<string, any>> {
|
|
657
626
|
readonly selectRow: SelectRowService<Data>;
|
|
658
|
-
element: Data
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
static
|
|
627
|
+
readonly element: _angular_core.InputSignal<Data>;
|
|
628
|
+
private readonly selectedRows;
|
|
629
|
+
readonly isSelected: _angular_core.Signal<boolean>;
|
|
630
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxCellComponent<any>, never>;
|
|
631
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxCellComponent<any>, "td[rxap-checkbox-cell]", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
interface SelectRowOptions<RowData = unknown> {
|
|
635
|
+
multiple?: boolean;
|
|
636
|
+
selected?: RowData[];
|
|
637
|
+
emitChanges?: boolean;
|
|
638
|
+
compareWith?: (o1: RowData, o2: RowData) => boolean;
|
|
662
639
|
}
|
|
663
640
|
|
|
664
641
|
interface SelectedRowsDirectiveContext<Data extends Record<string, any>> {
|
|
665
642
|
$implicit: Data[];
|
|
666
643
|
}
|
|
667
|
-
declare class SelectedRowsDirective<Data extends Record<string, any>>
|
|
644
|
+
declare class SelectedRowsDirective<Data extends Record<string, any>> {
|
|
668
645
|
private readonly template;
|
|
669
646
|
private readonly viewContainerRef;
|
|
670
|
-
private readonly cdr;
|
|
671
647
|
private readonly selectRowService;
|
|
672
|
-
private
|
|
673
|
-
constructor(
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectedRowsDirective<any>, never>;
|
|
677
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectedRowsDirective<any>, "[rxapSelectedRows]", never, {}, {}, never, never, true, never>;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
declare class SelectRowModule {
|
|
681
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectRowModule, never>;
|
|
682
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectRowModule, never, [typeof SelectedRowsDirective, typeof CheckboxCellComponent, typeof CheckboxHeaderCellComponent], [typeof CheckboxCellComponent, typeof CheckboxHeaderCellComponent, typeof SelectedRowsDirective]>;
|
|
683
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SelectRowModule>;
|
|
648
|
+
private readonly selectedRows;
|
|
649
|
+
constructor();
|
|
650
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectedRowsDirective<any>, never>;
|
|
651
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SelectedRowsDirective<any>, "[rxapSelectedRows]", never, {}, {}, never, never, true, never>;
|
|
684
652
|
}
|
|
685
653
|
|
|
686
654
|
declare const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS: InjectionToken<SelectRowOptions<unknown>>;
|
|
@@ -691,148 +659,130 @@ interface ExpandCellContentDirectiveContext<Data extends Record<string, any>> {
|
|
|
691
659
|
declare class ExpandRowContentDirective<Data extends Record<string, any>> {
|
|
692
660
|
readonly template: TemplateRef<ExpandCellContentDirectiveContext<Data>>;
|
|
693
661
|
static ngTemplateContextGuard<Data extends Record<string, any>>(dir: ExpandRowContentDirective<Data>, ctx: any): ctx is ExpandCellContentDirectiveContext<Data>;
|
|
694
|
-
|
|
695
|
-
static
|
|
696
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandRowContentDirective<any>, "[rxapExpandRowContent]", never, {}, {}, never, never, true, never>;
|
|
662
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExpandRowContentDirective<any>, never>;
|
|
663
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ExpandRowContentDirective<any>, "[rxapExpandRowContent]", never, {}, {}, never, never, true, never>;
|
|
697
664
|
}
|
|
698
665
|
|
|
699
666
|
declare class ExpandRowService<Data extends Record<string, any>> {
|
|
700
667
|
expandedRow: BehaviorSubject<Data | null>;
|
|
668
|
+
readonly expandedRowSignal: _angular_core.Signal<Data | null>;
|
|
701
669
|
toggleRow(row: Data): void;
|
|
702
670
|
isExpanded(row: Data): boolean;
|
|
703
671
|
isExpanded$(row: Data): Observable<boolean>;
|
|
704
|
-
static ɵfac:
|
|
705
|
-
static ɵprov:
|
|
672
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExpandRowService<any>, never>;
|
|
673
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ExpandRowService<any>>;
|
|
706
674
|
}
|
|
707
675
|
|
|
708
|
-
declare class ExpandRowContainerComponent<Data extends Record<string, any>>
|
|
676
|
+
declare class ExpandRowContainerComponent<Data extends Record<string, any>> {
|
|
709
677
|
private readonly viewContainerRef;
|
|
710
678
|
readonly expandCell: ExpandRowService<Data>;
|
|
711
|
-
element: Data
|
|
712
|
-
expandCellContent
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
static
|
|
719
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandRowContainerComponent<any>, "td[rxap-expand-row]", never, { "element": { "alias": "element"; "required": true; }; }, {}, ["expandCellContent"], ["*"], true, never>;
|
|
679
|
+
readonly element: _angular_core.InputSignal<Data>;
|
|
680
|
+
readonly expandCellContent: _angular_core.Signal<ExpandRowContentDirective<any> | undefined>;
|
|
681
|
+
/**
|
|
682
|
+
* The portal is created with the first expand of the row and then kept.
|
|
683
|
+
*/
|
|
684
|
+
readonly portal: _angular_core.WritableSignal<TemplatePortal<ExpandCellContentDirectiveContext<Data>> | null>;
|
|
685
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExpandRowContainerComponent<any>, never>;
|
|
686
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ExpandRowContainerComponent<any>, "td[rxap-expand-row]", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; }, {}, ["expandCellContent"], ["*"], true, never>;
|
|
720
687
|
}
|
|
721
688
|
|
|
722
689
|
declare class ExpandControlsCellComponent<Data extends Record<string, any>> {
|
|
723
690
|
readonly expandCell: ExpandRowService<Data>;
|
|
724
|
-
element: Data
|
|
725
|
-
|
|
726
|
-
static
|
|
727
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandControlsCellComponent<any>, "td[rxap-expand-controls-cell]", never, { "element": { "alias": "element"; "required": true; }; }, {}, never, never, true, never>;
|
|
691
|
+
readonly element: _angular_core.InputSignal<Data>;
|
|
692
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExpandControlsCellComponent<any>, never>;
|
|
693
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ExpandControlsCellComponent<any>, "td[rxap-expand-controls-cell]", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
728
694
|
}
|
|
729
695
|
|
|
730
696
|
declare class ExpandRowDirective<Data extends Record<string, any>> {
|
|
731
697
|
private readonly expandCell;
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
constructor(expandCell: ExpandRowService<Data>);
|
|
698
|
+
readonly element: _angular_core.InputSignal<Data>;
|
|
699
|
+
readonly isExpanded: _angular_core.Signal<boolean>;
|
|
735
700
|
onClick(): void;
|
|
736
|
-
static ɵfac:
|
|
737
|
-
static ɵdir:
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
declare class ExpandRowModule {
|
|
741
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowModule, never>;
|
|
742
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ExpandRowModule, never, [typeof ExpandRowDirective], [typeof ExpandRowDirective]>;
|
|
743
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ExpandRowModule>;
|
|
701
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExpandRowDirective<any>, never>;
|
|
702
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ExpandRowDirective<any>, "tr[rxapExpandRow]", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
744
703
|
}
|
|
745
704
|
|
|
746
|
-
declare class TreeControlCellComponent implements
|
|
747
|
-
offset: string
|
|
705
|
+
declare class TreeControlCellComponent implements DoCheck {
|
|
706
|
+
readonly offset: _angular_core.Signal<string>;
|
|
748
707
|
icon: IconConfig;
|
|
749
708
|
expandIcon: string;
|
|
750
|
-
element:
|
|
751
|
-
ngOnInit(): void;
|
|
709
|
+
readonly element: _angular_core.InputSignal<any>;
|
|
752
710
|
ngDoCheck(): void;
|
|
753
711
|
toggleExpand(): any;
|
|
754
712
|
private updateIcon;
|
|
755
|
-
static ɵfac:
|
|
756
|
-
static ɵcmp:
|
|
713
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeControlCellComponent, never>;
|
|
714
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeControlCellComponent, "rxap-tree-control-cell, td[rxap-tree-control-cell]", never, { "element": { "alias": "rxap-tree-control-cell"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
757
715
|
}
|
|
758
716
|
|
|
759
|
-
declare class OptionsCellComponent
|
|
717
|
+
declare class OptionsCellComponent {
|
|
760
718
|
private readonly renderer;
|
|
761
|
-
value: any
|
|
762
|
-
defaultViewValue: string
|
|
763
|
-
emptyViewValue: string
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
constructor(renderer: Renderer2);
|
|
768
|
-
options: QueryList<MatOption>;
|
|
769
|
-
ngAfterContentInit(): void;
|
|
770
|
-
setViewValue(): void;
|
|
771
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
719
|
+
readonly value: _angular_core.InputSignal<any>;
|
|
720
|
+
readonly defaultViewValue: _angular_core.InputSignal<string>;
|
|
721
|
+
readonly emptyViewValue: _angular_core.InputSignal<string>;
|
|
722
|
+
readonly options: _angular_core.Signal<readonly MatOption<any>[]>;
|
|
723
|
+
readonly viewValue: _angular_core.Signal<string>;
|
|
724
|
+
constructor();
|
|
772
725
|
getViewValue(): string;
|
|
773
|
-
|
|
774
|
-
static
|
|
775
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionsCellComponent, "td[rxap-options-cell]", never, { "value": { "alias": "rxap-options-cell"; "required": false; }; "defaultViewValue": { "alias": "default"; "required": false; }; "emptyViewValue": { "alias": "empty"; "required": false; }; }, {}, ["options"], ["*"], true, never>;
|
|
726
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OptionsCellComponent, never>;
|
|
727
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OptionsCellComponent, "td[rxap-options-cell]", never, { "value": { "alias": "rxap-options-cell"; "required": false; "isSignal": true; }; "defaultViewValue": { "alias": "default"; "required": false; "isSignal": true; }; "emptyViewValue": { "alias": "empty"; "required": false; "isSignal": true; }; }, {}, ["options"], ["*"], true, never>;
|
|
776
728
|
}
|
|
777
729
|
|
|
778
730
|
declare class LinkCellComponent {
|
|
779
|
-
value: any
|
|
731
|
+
readonly value: _angular_core.InputSignal<any>;
|
|
780
732
|
get href(): string;
|
|
781
|
-
protocol
|
|
782
|
-
short: boolean
|
|
783
|
-
static ɵfac:
|
|
784
|
-
static ɵcmp:
|
|
733
|
+
readonly protocol: _angular_core.InputSignal<"tel" | "mailto" | undefined>;
|
|
734
|
+
readonly short: _angular_core.InputSignal<boolean>;
|
|
735
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LinkCellComponent, never>;
|
|
736
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LinkCellComponent, "td[rxap-link-cell]", never, { "value": { "alias": "rxap-link-cell"; "required": false; "isSignal": true; }; "protocol": { "alias": "protocol"; "required": false; "isSignal": true; }; "short": { "alias": "short"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
785
737
|
}
|
|
786
738
|
|
|
787
739
|
declare class ImageCellComponent {
|
|
788
|
-
preset
|
|
789
|
-
size:
|
|
790
|
-
repeat: BackgroundRepeat
|
|
791
|
-
position:
|
|
792
|
-
value: string | null
|
|
793
|
-
static ɵfac:
|
|
794
|
-
static ɵcmp:
|
|
740
|
+
readonly preset: _angular_core.InputSignal<string | undefined>;
|
|
741
|
+
readonly size: _angular_core.InputSignal<string>;
|
|
742
|
+
readonly repeat: _angular_core.InputSignal<BackgroundRepeat>;
|
|
743
|
+
readonly position: _angular_core.InputSignal<string>;
|
|
744
|
+
readonly value: _angular_core.InputSignal<string | null>;
|
|
745
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ImageCellComponent, never>;
|
|
746
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImageCellComponent, "td[rxap-image-cell]", never, { "preset": { "alias": "preset"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "repeat": { "alias": "repeat"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "value": { "alias": "rxap-image-cell"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
795
747
|
}
|
|
796
748
|
|
|
797
749
|
declare class IconCellComponent {
|
|
798
|
-
icon: IconConfig | null
|
|
799
|
-
static ɵfac:
|
|
800
|
-
static ɵcmp:
|
|
750
|
+
readonly icon: _angular_core.InputSignal<IconConfig | null>;
|
|
751
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconCellComponent, never>;
|
|
752
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconCellComponent, "td[rxap-icon-cell]", never, { "icon": { "alias": "rxap-icon-cell"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
801
753
|
}
|
|
802
754
|
|
|
803
755
|
declare class DateCellComponent {
|
|
804
|
-
date:
|
|
805
|
-
format: string
|
|
806
|
-
static ɵfac:
|
|
807
|
-
static ɵcmp:
|
|
756
|
+
readonly date: _angular_core.InputSignal<string | number | Date | null>;
|
|
757
|
+
readonly format: _angular_core.InputSignal<string>;
|
|
758
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateCellComponent, never>;
|
|
759
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateCellComponent, "td[rxap-date-cell]", never, { "date": { "alias": "rxap-date-cell"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
808
760
|
}
|
|
809
761
|
|
|
810
762
|
declare class CopyToClipboardCellComponent {
|
|
811
|
-
value: any
|
|
812
|
-
static ɵfac:
|
|
813
|
-
static ɵcmp:
|
|
763
|
+
readonly value: _angular_core.InputSignal<any>;
|
|
764
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopyToClipboardCellComponent, never>;
|
|
765
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopyToClipboardCellComponent, "td[rxap-copy-to-clipboard-cell]", never, { "value": { "alias": "rxap-copy-to-clipboard-cell"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
814
766
|
}
|
|
815
767
|
|
|
816
768
|
declare class BooleanCellComponent {
|
|
817
|
-
value: any
|
|
818
|
-
static ɵfac:
|
|
819
|
-
static ɵcmp:
|
|
769
|
+
readonly value: _angular_core.InputSignal<any>;
|
|
770
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BooleanCellComponent, never>;
|
|
771
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BooleanCellComponent, "td[rxap-boolean-cell]", never, { "value": { "alias": "rxap-boolean-cell"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
820
772
|
}
|
|
821
773
|
|
|
822
|
-
declare class PersistentPaginatorDirective implements OnInit
|
|
774
|
+
declare class PersistentPaginatorDirective implements OnInit {
|
|
823
775
|
private readonly matPaginator;
|
|
824
|
-
id
|
|
825
|
-
private
|
|
826
|
-
constructor(matPaginator: MatPaginator);
|
|
776
|
+
readonly id: _angular_core.InputSignal<string | undefined>;
|
|
777
|
+
private readonly destroyRef;
|
|
827
778
|
ngOnInit(): void;
|
|
828
|
-
ngOnDestroy(): void;
|
|
829
779
|
getKey(): string;
|
|
830
780
|
storeConfig(): void;
|
|
831
781
|
restoreConfig(): {
|
|
832
782
|
pageSize: number;
|
|
833
783
|
} | null;
|
|
834
|
-
static ɵfac:
|
|
835
|
-
static ɵdir:
|
|
784
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PersistentPaginatorDirective, never>;
|
|
785
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PersistentPaginatorDirective, "mat-paginator[rxapPersistent]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
836
786
|
}
|
|
837
787
|
|
|
838
788
|
declare const RowAnimation: _angular_animations.AnimationTriggerMetadata;
|
|
@@ -864,5 +814,5 @@ type RowIdMapperFunction<T extends TableRowMetadata> = (row: RawTableRow<T>) =>
|
|
|
864
814
|
declare function NormalizeTableRow<T extends TableRowMetadata>(row: RawTableRow<T>, rowId: string): T;
|
|
865
815
|
declare function NormalizeTableRow<T extends TableRowMetadata>(row: RawTableRow<T>, rowIdMapper: RowIdMapperFunction<T>): T;
|
|
866
816
|
|
|
867
|
-
export { AbstractTableRowAction, BooleanCellComponent, CheckboxCellComponent, CheckboxHeaderCellComponent, CopyToClipboardCellComponent, DateCellComponent, ExpandControlsCellComponent, ExpandRowContainerComponent, ExpandRowContentDirective, ExpandRowDirective,
|
|
817
|
+
export { AbstractTableRowAction, BooleanCellComponent, CheckboxCellComponent, CheckboxHeaderCellComponent, CopyToClipboardCellComponent, DateCellComponent, ExpandControlsCellComponent, ExpandRowContainerComponent, ExpandRowContentDirective, ExpandRowDirective, ExpandRowService, FilterHeaderRowDirective, GetTableHeaderButtonMetadata, GetTableRowActionCheckFunction, GetTableRowActionMetadata, HasTableRowActionCheckFunction, HasTableRowActionMetadata, IconCellComponent, ImageCellComponent, IsTableRowActionTypeMethod, IsTableRowActionTypeSwitchMethod, LinkCellComponent, NormalizeTableRow, OptionsCellComponent, PersistentPaginatorDirective, RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS, RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA, RXAP_TABLE_ACTION_METHOD_METADATA, RXAP_TABLE_ACTION_METHOD_TYPE_METADATA, RXAP_TABLE_FILTER, RXAP_TABLE_FILTER_FORM_DEFINITION, RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA, RXAP_TABLE_ROW_ACTION_METHOD, RowActionCheckPipe, RowAnimation, SelectRowService, SelectedRowsDirective, SelectionModel, TABLE_CREATE_REMOTE_METHOD, TABLE_DATA_SOURCE, TABLE_HEADER_BUTTON_METHOD, TABLE_REMOTE_METHOD, TABLE_REMOTE_METHOD_ADAPTER_FACTORY, TableActionMethod, TableColumnFilterInputDirective, TableColumnFilterService, TableColumnMenuComponent, TableColumnOptionComponent, TableCreateButtonDirective, TableDataSourceDirective, TableFilterService, TableHeaderButtonActionStatus, TableHeaderButtonDirective, TableHeaderButtonMethod, TableRowActionDirective, TableRowActionExecutingDirective, TableRowActionStatus, TableRowHeaderActionDirective, TableSelectControlsComponent, TableShowArchivedSlideComponent, ToFilterColumnNamesPipe, TreeControlCellComponent, getMultipleValuesInSingleSelectionError };
|
|
868
818
|
export type { ExpandCellContentDirectiveContext, RawTableRow, RowActionCheckFunction, RowIdMapperFunction, SelectRowOptions, SelectedRowsDirectiveContext, SelectionChange, TableActionMethodOptions, TableHeaderButtonMethodOptions, TableRemoteMethodAdapterFactory, TableRowActionMethod, TableRowActionTypeMethod, TableRowActionTypeSwitchMethod, TableRowMetadata };
|