@rxap/material-table-system 21.0.1-dev.1 → 22.0.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/compodoc/changelog.html +41 -0
  3. package/compodoc/dependencies.html +18 -18
  4. package/compodoc/js/search/search_index.js +2 -2
  5. package/compodoc/properties.html +1 -1
  6. package/docs/documentation.json +707 -707
  7. package/docs/html/classes/AbstractTableRowAction.html +7 -7
  8. package/docs/html/classes/BooleanCellComponent.html +2 -2
  9. package/docs/html/classes/CheckboxCellComponent.html +2 -2
  10. package/docs/html/classes/CheckboxHeaderCellComponent.html +2 -2
  11. package/docs/html/classes/CopyToClipboardCellComponent.html +2 -2
  12. package/docs/html/classes/DateCellComponent.html +2 -2
  13. package/docs/html/classes/ExpandControlsCellComponent.html +2 -2
  14. package/docs/html/classes/ExpandRowContainerComponent.html +3 -3
  15. package/docs/html/classes/ExpandRowContentDirective.html +2 -2
  16. package/docs/html/classes/ExpandRowDirective.html +2 -2
  17. package/docs/html/classes/ExpandRowService.html +2 -2
  18. package/docs/html/classes/FilterHeaderRowDirective.html +48 -48
  19. package/docs/html/classes/IconCellComponent.html +2 -2
  20. package/docs/html/classes/ImageCellComponent.html +2 -2
  21. package/docs/html/classes/LinkCellComponent.html +2 -2
  22. package/docs/html/classes/OptionsCellComponent.html +2 -2
  23. package/docs/html/classes/PersistentPaginatorDirective.html +3 -3
  24. package/docs/html/classes/RowActionCheckPipe.html +2 -2
  25. package/docs/html/classes/SelectRowService.html +2 -2
  26. package/docs/html/classes/SelectedRowsDirective.html +2 -2
  27. package/docs/html/classes/SelectionModel.html +15 -15
  28. package/docs/html/classes/TableColumnFilterInputDirective.html +2 -2
  29. package/docs/html/classes/TableColumnFilterService.html +2 -2
  30. package/docs/html/classes/TableColumnMenuComponent.html +4 -4
  31. package/docs/html/classes/TableColumnOptionComponent.html +4 -4
  32. package/docs/html/classes/TableCreateButtonDirective.html +3 -3
  33. package/docs/html/classes/TableDataSourceDirective.html +8 -8
  34. package/docs/html/classes/TableFilterService.html +3 -3
  35. package/docs/html/classes/TableHeaderButtonDirective.html +6 -6
  36. package/docs/html/classes/TableRowActionDirective.html +7 -7
  37. package/docs/html/classes/TableRowActionExecutingDirective.html +2 -2
  38. package/docs/html/classes/TableRowHeaderActionDirective.html +7 -7
  39. package/docs/html/classes/TableSelectControlsComponent.html +2 -2
  40. package/docs/html/classes/TableShowArchivedSlideComponent.html +2 -2
  41. package/docs/html/classes/ToFilterColumnNamesPipe.html +2 -2
  42. package/docs/html/classes/TreeControlCellComponent.html +5 -4
  43. package/docs/html/enums/TableHeaderButtonActionStatus.html +2 -2
  44. package/docs/html/enums/TableRowActionStatus.html +2 -2
  45. package/docs/html/functions/GetTableHeaderButtonMetadata.html +1 -1
  46. package/docs/html/functions/GetTableRowActionCheckFunction.html +1 -1
  47. package/docs/html/functions/GetTableRowActionMetadata.html +1 -1
  48. package/docs/html/functions/HasTableRowActionCheckFunction.html +1 -1
  49. package/docs/html/functions/HasTableRowActionMetadata.html +1 -1
  50. package/docs/html/functions/IsTableRowActionTypeMethod.html +1 -1
  51. package/docs/html/functions/IsTableRowActionTypeSwitchMethod.html +1 -1
  52. package/docs/html/functions/NormalizeTableRow.html +3 -3
  53. package/docs/html/functions/TableActionMethod.html +1 -1
  54. package/docs/html/functions/TableHeaderButtonMethod.html +1 -1
  55. package/docs/html/functions/getMultipleValuesInSingleSelectionError.html +2 -2
  56. package/docs/html/hierarchy.html +1 -1
  57. package/docs/html/index.html +2 -2
  58. package/docs/html/interfaces/ExpandCellContentDirectiveContext.html +2 -2
  59. package/docs/html/interfaces/SelectRowOptions.html +2 -2
  60. package/docs/html/interfaces/SelectedRowsDirectiveContext.html +2 -2
  61. package/docs/html/interfaces/SelectionChange.html +5 -5
  62. package/docs/html/interfaces/TableActionMethodOptions.html +9 -9
  63. package/docs/html/interfaces/TableHeaderButtonMethodOptions.html +6 -6
  64. package/docs/html/interfaces/TableRowMetadata.html +3 -3
  65. package/docs/html/modules.html +1 -1
  66. package/docs/html/types/RawTableRow.html +1 -1
  67. package/docs/html/types/RowActionCheckFunction.html +1 -1
  68. package/docs/html/types/RowIdMapperFunction.html +1 -1
  69. package/docs/html/types/TableRemoteMethodAdapterFactory.html +1 -1
  70. package/docs/html/types/TableRowActionMethod.html +1 -1
  71. package/docs/html/types/TableRowActionTypeMethod.html +1 -1
  72. package/docs/html/types/TableRowActionTypeSwitchMethod.html +1 -1
  73. package/docs/html/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.html +1 -1
  74. package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.html +2 -2
  75. package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_METADATA.html +1 -1
  76. package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.html +2 -2
  77. package/docs/html/variables/RXAP_TABLE_FILTER.html +1 -1
  78. package/docs/html/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.html +1 -1
  79. package/docs/html/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.html +1 -1
  80. package/docs/html/variables/RXAP_TABLE_METHOD.html +1 -1
  81. package/docs/html/variables/RXAP_TABLE_ROW_ACTION_METHOD.html +1 -1
  82. package/docs/html/variables/RowAnimation.html +1 -1
  83. package/docs/html/variables/TABLE_CREATE_REMOTE_METHOD.html +1 -1
  84. package/docs/html/variables/TABLE_DATA_SOURCE.html +1 -1
  85. package/docs/html/variables/TABLE_HEADER_BUTTON_METHOD.html +1 -1
  86. package/docs/html/variables/TABLE_REMOTE_METHOD.html +2 -2
  87. package/docs/html/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.html +1 -1
  88. package/docs/markdown/README.md +1 -1
  89. package/docs/markdown/classes/AbstractTableRowAction.md +40 -40
  90. package/docs/markdown/classes/BooleanCellComponent.md +3 -3
  91. package/docs/markdown/classes/CheckboxCellComponent.md +5 -5
  92. package/docs/markdown/classes/CheckboxHeaderCellComponent.md +6 -6
  93. package/docs/markdown/classes/CopyToClipboardCellComponent.md +3 -3
  94. package/docs/markdown/classes/DateCellComponent.md +4 -4
  95. package/docs/markdown/classes/ExpandControlsCellComponent.md +4 -4
  96. package/docs/markdown/classes/ExpandRowContainerComponent.md +6 -6
  97. package/docs/markdown/classes/ExpandRowContentDirective.md +4 -4
  98. package/docs/markdown/classes/ExpandRowDirective.md +5 -5
  99. package/docs/markdown/classes/ExpandRowService.md +7 -7
  100. package/docs/markdown/classes/FilterHeaderRowDirective.md +94 -94
  101. package/docs/markdown/classes/IconCellComponent.md +3 -3
  102. package/docs/markdown/classes/ImageCellComponent.md +7 -7
  103. package/docs/markdown/classes/LinkCellComponent.md +6 -6
  104. package/docs/markdown/classes/OptionsCellComponent.md +9 -9
  105. package/docs/markdown/classes/PersistentPaginatorDirective.md +7 -7
  106. package/docs/markdown/classes/RowActionCheckPipe.md +4 -4
  107. package/docs/markdown/classes/SelectRowService.md +8 -8
  108. package/docs/markdown/classes/SelectedRowsDirective.md +3 -3
  109. package/docs/markdown/classes/SelectionModel.md +16 -16
  110. package/docs/markdown/classes/TableColumnFilterInputDirective.md +4 -4
  111. package/docs/markdown/classes/TableColumnFilterService.md +5 -5
  112. package/docs/markdown/classes/TableColumnMenuComponent.md +9 -9
  113. package/docs/markdown/classes/TableColumnOptionComponent.md +13 -13
  114. package/docs/markdown/classes/TableCreateButtonDirective.md +5 -5
  115. package/docs/markdown/classes/TableDataSourceDirective.md +23 -23
  116. package/docs/markdown/classes/TableFilterService.md +11 -11
  117. package/docs/markdown/classes/TableHeaderButtonDirective.md +29 -29
  118. package/docs/markdown/classes/TableRowActionDirective.md +41 -41
  119. package/docs/markdown/classes/TableRowActionExecutingDirective.md +5 -5
  120. package/docs/markdown/classes/TableRowHeaderActionDirective.md +40 -40
  121. package/docs/markdown/classes/TableSelectControlsComponent.md +5 -5
  122. package/docs/markdown/classes/TableShowArchivedSlideComponent.md +5 -5
  123. package/docs/markdown/classes/ToFilterColumnNamesPipe.md +3 -3
  124. package/docs/markdown/classes/TreeControlCellComponent.md +10 -9
  125. package/docs/markdown/enumerations/TableHeaderButtonActionStatus.md +6 -6
  126. package/docs/markdown/enumerations/TableRowActionStatus.md +6 -6
  127. package/docs/markdown/functions/GetTableHeaderButtonMetadata.md +2 -2
  128. package/docs/markdown/functions/GetTableRowActionCheckFunction.md +2 -2
  129. package/docs/markdown/functions/GetTableRowActionMetadata.md +2 -2
  130. package/docs/markdown/functions/HasTableRowActionCheckFunction.md +2 -2
  131. package/docs/markdown/functions/HasTableRowActionMetadata.md +2 -2
  132. package/docs/markdown/functions/IsTableRowActionTypeMethod.md +2 -2
  133. package/docs/markdown/functions/IsTableRowActionTypeSwitchMethod.md +2 -2
  134. package/docs/markdown/functions/NormalizeTableRow.md +3 -3
  135. package/docs/markdown/functions/TableActionMethod.md +3 -3
  136. package/docs/markdown/functions/TableHeaderButtonMethod.md +2 -2
  137. package/docs/markdown/functions/getMultipleValuesInSingleSelectionError.md +2 -2
  138. package/docs/markdown/globals.md +2 -2
  139. package/docs/markdown/interfaces/ExpandCellContentDirectiveContext.md +3 -3
  140. package/docs/markdown/interfaces/SelectRowOptions.md +6 -6
  141. package/docs/markdown/interfaces/SelectedRowsDirectiveContext.md +3 -3
  142. package/docs/markdown/interfaces/SelectionChange.md +5 -5
  143. package/docs/markdown/interfaces/TableActionMethodOptions.md +11 -11
  144. package/docs/markdown/interfaces/TableHeaderButtonMethodOptions.md +7 -7
  145. package/docs/markdown/interfaces/TableRowMetadata.md +4 -4
  146. package/docs/markdown/type-aliases/RawTableRow.md +2 -2
  147. package/docs/markdown/type-aliases/RowActionCheckFunction.md +2 -2
  148. package/docs/markdown/type-aliases/RowIdMapperFunction.md +2 -2
  149. package/docs/markdown/type-aliases/TableRemoteMethodAdapterFactory.md +2 -2
  150. package/docs/markdown/type-aliases/TableRowActionMethod.md +2 -2
  151. package/docs/markdown/type-aliases/TableRowActionTypeMethod.md +2 -2
  152. package/docs/markdown/type-aliases/TableRowActionTypeSwitchMethod.md +2 -2
  153. package/docs/markdown/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +2 -2
  154. package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +2 -2
  155. package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_METADATA.md +2 -2
  156. package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +2 -2
  157. package/docs/markdown/variables/RXAP_TABLE_FILTER.md +2 -2
  158. package/docs/markdown/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.md +2 -2
  159. package/docs/markdown/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +2 -2
  160. package/docs/markdown/variables/RXAP_TABLE_METHOD.md +2 -2
  161. package/docs/markdown/variables/RXAP_TABLE_ROW_ACTION_METHOD.md +2 -2
  162. package/docs/markdown/variables/RowAnimation.md +2 -2
  163. package/docs/markdown/variables/TABLE_CREATE_REMOTE_METHOD.md +2 -2
  164. package/docs/markdown/variables/TABLE_DATA_SOURCE.md +2 -2
  165. package/docs/markdown/variables/TABLE_HEADER_BUTTON_METHOD.md +2 -2
  166. package/docs/markdown/variables/TABLE_REMOTE_METHOD.md +2 -2
  167. package/docs/markdown/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +2 -2
  168. package/docs/wiki/Class.AbstractTableRowAction.md +39 -39
  169. package/docs/wiki/Class.BooleanCellComponent.md +2 -2
  170. package/docs/wiki/Class.CheckboxCellComponent.md +4 -4
  171. package/docs/wiki/Class.CheckboxHeaderCellComponent.md +5 -5
  172. package/docs/wiki/Class.CopyToClipboardCellComponent.md +2 -2
  173. package/docs/wiki/Class.DateCellComponent.md +3 -3
  174. package/docs/wiki/Class.ExpandControlsCellComponent.md +3 -3
  175. package/docs/wiki/Class.ExpandRowContainerComponent.md +5 -5
  176. package/docs/wiki/Class.ExpandRowContentDirective.md +3 -3
  177. package/docs/wiki/Class.ExpandRowDirective.md +4 -4
  178. package/docs/wiki/Class.ExpandRowService.md +6 -6
  179. package/docs/wiki/Class.FilterHeaderRowDirective.md +93 -93
  180. package/docs/wiki/Class.IconCellComponent.md +2 -2
  181. package/docs/wiki/Class.ImageCellComponent.md +6 -6
  182. package/docs/wiki/Class.LinkCellComponent.md +5 -5
  183. package/docs/wiki/Class.OptionsCellComponent.md +8 -8
  184. package/docs/wiki/Class.PersistentPaginatorDirective.md +6 -6
  185. package/docs/wiki/Class.RowActionCheckPipe.md +3 -3
  186. package/docs/wiki/Class.SelectRowService.md +7 -7
  187. package/docs/wiki/Class.SelectedRowsDirective.md +2 -2
  188. package/docs/wiki/Class.SelectionModel.md +15 -15
  189. package/docs/wiki/Class.TableColumnFilterInputDirective.md +3 -3
  190. package/docs/wiki/Class.TableColumnFilterService.md +4 -4
  191. package/docs/wiki/Class.TableColumnMenuComponent.md +8 -8
  192. package/docs/wiki/Class.TableColumnOptionComponent.md +12 -12
  193. package/docs/wiki/Class.TableCreateButtonDirective.md +4 -4
  194. package/docs/wiki/Class.TableDataSourceDirective.md +22 -22
  195. package/docs/wiki/Class.TableFilterService.md +10 -10
  196. package/docs/wiki/Class.TableHeaderButtonDirective.md +28 -28
  197. package/docs/wiki/Class.TableRowActionDirective.md +40 -40
  198. package/docs/wiki/Class.TableRowActionExecutingDirective.md +4 -4
  199. package/docs/wiki/Class.TableRowHeaderActionDirective.md +39 -39
  200. package/docs/wiki/Class.TableSelectControlsComponent.md +4 -4
  201. package/docs/wiki/Class.TableShowArchivedSlideComponent.md +4 -4
  202. package/docs/wiki/Class.ToFilterColumnNamesPipe.md +2 -2
  203. package/docs/wiki/Class.TreeControlCellComponent.md +9 -8
  204. package/docs/wiki/Enumeration.TableHeaderButtonActionStatus.md +5 -5
  205. package/docs/wiki/Enumeration.TableRowActionStatus.md +5 -5
  206. package/docs/wiki/Function.GetTableHeaderButtonMetadata.md +1 -1
  207. package/docs/wiki/Function.GetTableRowActionCheckFunction.md +1 -1
  208. package/docs/wiki/Function.GetTableRowActionMetadata.md +1 -1
  209. package/docs/wiki/Function.HasTableRowActionCheckFunction.md +1 -1
  210. package/docs/wiki/Function.HasTableRowActionMetadata.md +1 -1
  211. package/docs/wiki/Function.IsTableRowActionTypeMethod.md +1 -1
  212. package/docs/wiki/Function.IsTableRowActionTypeSwitchMethod.md +1 -1
  213. package/docs/wiki/Function.NormalizeTableRow.md +2 -2
  214. package/docs/wiki/Function.TableActionMethod.md +2 -2
  215. package/docs/wiki/Function.TableHeaderButtonMethod.md +1 -1
  216. package/docs/wiki/Function.getMultipleValuesInSingleSelectionError.md +1 -1
  217. package/docs/wiki/Interface.ExpandCellContentDirectiveContext.md +2 -2
  218. package/docs/wiki/Interface.SelectRowOptions.md +5 -5
  219. package/docs/wiki/Interface.SelectedRowsDirectiveContext.md +2 -2
  220. package/docs/wiki/Interface.SelectionChange.md +4 -4
  221. package/docs/wiki/Interface.TableActionMethodOptions.md +10 -10
  222. package/docs/wiki/Interface.TableHeaderButtonMethodOptions.md +6 -6
  223. package/docs/wiki/Interface.TableRowMetadata.md +3 -3
  224. package/docs/wiki/TypeAlias.RawTableRow.md +1 -1
  225. package/docs/wiki/TypeAlias.RowActionCheckFunction.md +1 -1
  226. package/docs/wiki/TypeAlias.RowIdMapperFunction.md +1 -1
  227. package/docs/wiki/TypeAlias.TableRemoteMethodAdapterFactory.md +1 -1
  228. package/docs/wiki/TypeAlias.TableRowActionMethod.md +1 -1
  229. package/docs/wiki/TypeAlias.TableRowActionTypeMethod.md +1 -1
  230. package/docs/wiki/TypeAlias.TableRowActionTypeSwitchMethod.md +1 -1
  231. package/docs/wiki/Variable.RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +1 -1
  232. package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +1 -1
  233. package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_METADATA.md +1 -1
  234. package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +1 -1
  235. package/docs/wiki/Variable.RXAP_TABLE_FILTER.md +1 -1
  236. package/docs/wiki/Variable.RXAP_TABLE_FILTER_FORM_DEFINITION.md +1 -1
  237. package/docs/wiki/Variable.RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +1 -1
  238. package/docs/wiki/Variable.RXAP_TABLE_METHOD.md +1 -1
  239. package/docs/wiki/Variable.RXAP_TABLE_ROW_ACTION_METHOD.md +1 -1
  240. package/docs/wiki/Variable.RowAnimation.md +1 -1
  241. package/docs/wiki/Variable.TABLE_CREATE_REMOTE_METHOD.md +1 -1
  242. package/docs/wiki/Variable.TABLE_DATA_SOURCE.md +1 -1
  243. package/docs/wiki/Variable.TABLE_HEADER_BUTTON_METHOD.md +1 -1
  244. package/docs/wiki/Variable.TABLE_REMOTE_METHOD.md +1 -1
  245. package/docs/wiki/Variable.TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +1 -1
  246. package/docs/wiki/globals.md +1 -1
  247. package/fesm2022/rxap-material-table-system.mjs +2943 -932
  248. package/fesm2022/rxap-material-table-system.mjs.map +1 -1
  249. package/package.json +44 -44
  250. package/types/rxap-material-table-system.d.ts +999 -779
@@ -1,806 +1,1028 @@
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';
4
- import { ThemePalette, MatOption } from '@angular/material/core';
5
- import { MatSnackBar } from '@angular/material/snack-bar';
6
- import { MatTooltip } from '@angular/material/tooltip';
7
- import { ConfirmDirective } from '@rxap/components';
8
- import { MatPaginator } from '@angular/material/paginator';
9
- import { PaginatorLike } from '@rxap/data-source/pagination';
10
- import { AbstractTableDataSource, TableEvent, SortLike, FilterLike } from '@rxap/data-source/table';
11
- export { RXAP_TABLE_METHOD } from '@rxap/data-source/table';
12
- import { Method } from '@rxap/pattern';
13
- import { ToggleSubject } from '@rxap/rxjs';
14
- import { Observable, Subject, Subscription, ReplaySubject, BehaviorSubject } from 'rxjs';
15
- import { FormDirective, FormDefinition } from '@rxap/forms';
16
- import { MatSlideToggleChange } from '@angular/material/slide-toggle';
17
- import { MatCheckboxChange } from '@angular/material/checkbox';
18
- import { TemplatePortal } from '@angular/cdk/portal';
19
- import { IconConfig } from '@rxap/utilities';
20
- import { BackgroundRepeat } from '@rxap/directives';
21
- import * as _angular_animations from '@angular/animations';
22
-
23
- declare class TableSelectControlsComponent {
24
- private readonly selectRows;
25
- private readonly windowRef;
26
- readonly hasNotSelected: _angular_core.Signal<boolean>;
27
- cancel(): void;
28
- select(): void;
29
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableSelectControlsComponent, never>;
30
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableSelectControlsComponent, "rxap-table-select-controls", never, {}, {}, never, never, true, never>;
31
- }
32
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ import { ChangeDetectorRef, DoCheck, InjectionToken, Injector, OnChanges, OnDestroy, OnInit, PipeTransform, Renderer2, Signal, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
6
+ import { MatButton, MatIconButton } from "@angular/material/button";
7
+ import { MatOption, ThemePalette } from "@angular/material/core";
8
+ import { MatSnackBar } from "@angular/material/snack-bar";
9
+ import { MatTooltip } from "@angular/material/tooltip";
10
+ import { ConfirmDirective } from "@rxap/components";
11
+ import { MatPaginator } from "@angular/material/paginator";
12
+ import { PaginatorLike } from "@rxap/data-source/pagination";
13
+ import { AbstractTableDataSource, FilterLike, RXAP_TABLE_METHOD, SortLike, TableEvent } from "@rxap/data-source/table";
14
+ import { Method } from "@rxap/pattern";
15
+ import { ToggleSubject } from "@rxap/rxjs";
16
+ import { BehaviorSubject, Observable, ReplaySubject, Subject, Subscription } from "rxjs";
17
+ import { FormDefinition, FormDirective } from "@rxap/forms";
18
+ import { MatSlideToggleChange } from "@angular/material/slide-toggle";
19
+ import { MatCheckboxChange } from "@angular/material/checkbox";
20
+ import { TemplatePortal } from "@angular/cdk/portal";
21
+ import { IconConfig } from "@rxap/utilities";
22
+ import { BackgroundRepeat } from "@rxap/directives";
23
+ export declare class TableSelectControlsComponent {
24
+ private readonly selectRows;
25
+ private readonly windowRef;
26
+ readonly hasNotSelected: import("@angular/core").Signal<boolean>;
27
+ cancel(): void;
28
+ select(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableSelectControlsComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableSelectControlsComponent, "rxap-table-select-controls", never, {}, {}, never, never, true, never>;
31
+ }
33
32
  /**
34
33
  * @deprecated use TABLE_METHOD instead
35
34
  */
36
- declare const TABLE_REMOTE_METHOD: InjectionToken<unknown>;
37
- declare const TABLE_REMOTE_METHOD_ADAPTER_FACTORY: InjectionToken<unknown>;
38
- declare const RXAP_TABLE_FILTER: InjectionToken<unknown>;
39
- declare const TABLE_DATA_SOURCE: InjectionToken<unknown>;
40
- type TableRemoteMethodAdapterFactory<Data extends Record<string, any> = Record<string, any>> = (method: Method, paginator?: PaginatorLike, sort?: SortLike | null, filter?: FilterLike | null, parameters?: Observable<Record<string, any>>) => Method<Data[], TableEvent>;
41
- declare class TableDataSourceDirective<Data extends Record<string, any> = any> implements OnInit, OnDestroy {
42
- private readonly matTable;
43
- protected readonly cdr: ChangeDetectorRef;
44
- private readonly sourceMethod;
45
- private readonly sourceDataSource;
46
- private readonly matSort;
47
- private readonly tableFilter;
48
- private readonly _tableFilter;
49
- /**
50
- * @deprecated use dataSource instead
51
- */
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>;
55
- readonly loading$: ToggleSubject;
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>;
63
- method?: Method<Data[], TableEvent>;
64
- readonly hasError$: ToggleSubject;
65
- readonly error$: Subject<unknown>;
66
- get lastRefreshed(): Date | null;
67
- /**
68
- * @deprecated use method instead
69
- */
70
- get remoteMethod(): Method<Data[], TableEvent> | undefined;
71
- /**
72
- * @deprecated use sourceMethod instead
73
- */
74
- get sourceRemoteMethod(): Method<Data[] | any, TableEvent | any> | null;
75
- protected _subscription: Subscription;
76
- private readonly adapterFactory;
77
- constructor();
78
- private trackBy;
79
- ngOnInit(): void;
80
- ngOnDestroy(): void;
81
- refresh(): void;
82
- retry(): void;
83
- reset(): void;
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>;
86
- }
87
-
88
- type RowActionCheckFunction<Data> = (element: Data, index: number, array: Data[]) => boolean;
89
- type TableRowActionTypeSwitchMethod<Data> = Method<any, {
90
- element: Data;
91
- type: string;
35
+ export declare const TABLE_REMOTE_METHOD: InjectionToken<unknown>;
36
+ export declare const TABLE_REMOTE_METHOD_ADAPTER_FACTORY: InjectionToken<unknown>;
37
+ export declare const RXAP_TABLE_FILTER: InjectionToken<unknown>;
38
+ export declare const TABLE_DATA_SOURCE: InjectionToken<unknown>;
39
+ export type TableRemoteMethodAdapterFactory<Data extends Record<string, any> = Record<string, any>> = (method: Method, paginator?: PaginatorLike, sort?: SortLike | null, filter?: FilterLike | null, parameters?: Observable<Record<string, any>>) => Method<Data[], TableEvent>;
40
+ export declare class TableDataSourceDirective<Data extends Record<string, any> = any> implements OnInit, OnDestroy {
41
+ private readonly matTable;
42
+ protected readonly cdr: ChangeDetectorRef;
43
+ private readonly sourceMethod;
44
+ private readonly sourceDataSource;
45
+ private readonly matSort;
46
+ private readonly tableFilter;
47
+ private readonly _tableFilter;
48
+ /**
49
+ * @deprecated use dataSource instead
50
+ */
51
+ readonly deprecatedDataSource: import("@angular/core").InputSignal<"" | AbstractTableDataSource<Data, any>>;
52
+ readonly dataSourceInput: import("@angular/core").InputSignal<AbstractTableDataSource<Data, any> | undefined>;
53
+ readonly paginator: import("@angular/core").InputSignal<MatPaginator | undefined>;
54
+ readonly loading$: ToggleSubject;
55
+ readonly id: import("@angular/core").InputSignal<string>;
56
+ readonly parameters: import("@angular/core").InputSignal<Observable<Record<string, any>> | undefined>;
57
+ /**
58
+ * The current data source. Initialised with the dataSource input - if not defined the
59
+ * data source is created from the TABLE_DATA_SOURCE or RXAP_TABLE_METHOD token on init.
60
+ */
61
+ readonly dataSource: import("@angular/core").WritableSignal<AbstractTableDataSource<Data, any> | undefined>;
62
+ method?: Method<Data[], TableEvent>;
63
+ readonly hasError$: ToggleSubject;
64
+ readonly error$: Subject<unknown>;
65
+ get lastRefreshed(): Date | null;
66
+ /**
67
+ * @deprecated use method instead
68
+ */
69
+ get remoteMethod(): Method<Data[], TableEvent> | undefined;
70
+ /**
71
+ * @deprecated use sourceMethod instead
72
+ */
73
+ get sourceRemoteMethod(): Method<Data[] | any, TableEvent | any> | null;
74
+ protected _subscription: Subscription;
75
+ private readonly adapterFactory;
76
+ constructor();
77
+ private trackBy;
78
+ ngOnInit(): void;
79
+ ngOnDestroy(): void;
80
+ refresh(): void;
81
+ retry(): void;
82
+ reset(): void;
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableDataSourceDirective<any>, never>;
84
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableDataSourceDirective<any>, "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", ["rxapTableDataSource"], {
85
+ "deprecatedDataSource": {
86
+ "alias": "rxapTableDataSource";
87
+ "required": false;
88
+ "isSignal": true;
89
+ };
90
+ "dataSourceInput": {
91
+ "alias": "dataSource";
92
+ "required": false;
93
+ "isSignal": true;
94
+ };
95
+ "paginator": {
96
+ "alias": "paginator";
97
+ "required": false;
98
+ "isSignal": true;
99
+ };
100
+ "id": {
101
+ "alias": "id";
102
+ "required": true;
103
+ "isSignal": true;
104
+ };
105
+ "parameters": {
106
+ "alias": "parameters";
107
+ "required": false;
108
+ "isSignal": true;
109
+ };
110
+ }, {}, never, never, true, never>;
111
+ }
112
+ export type RowActionCheckFunction<Data> = (element: Data, index: number, array: Data[]) => boolean;
113
+ export type TableRowActionTypeSwitchMethod<Data> = Method<any, {
114
+ element: Data;
115
+ type: string;
92
116
  }>;
93
- type TableRowActionTypeMethod<Data> = Method<any, Data>;
94
- type TableRowActionMethod<Data = any> = TableRowActionTypeSwitchMethod<Data> | TableRowActionTypeMethod<Data>;
95
-
117
+ export type TableRowActionTypeMethod<Data> = Method<any, Data>;
118
+ export type TableRowActionMethod<Data = any> = TableRowActionTypeSwitchMethod<Data> | TableRowActionTypeMethod<Data>;
96
119
  /**
97
120
  * @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
98
121
  */
99
- declare const RXAP_TABLE_ACTION_METHOD_TYPE_METADATA = "rxap-table-action-method-type-metadata";
100
- declare const RXAP_TABLE_ACTION_METHOD_METADATA = "rxap-table-action-method-metadata";
122
+ export declare const RXAP_TABLE_ACTION_METHOD_TYPE_METADATA = "rxap-table-action-method-type-metadata";
123
+ export declare const RXAP_TABLE_ACTION_METHOD_METADATA = "rxap-table-action-method-metadata";
101
124
  /**
102
125
  * @deprecated use RXAP_TABLE_ACTION_METHOD_METADATA instead
103
126
  */
104
- declare const RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA = "rxap-table-action-method-check-function-metadata";
105
- interface TableActionMethodOptions<Data = any> {
106
- type?: string;
107
- checkFunction?: RowActionCheckFunction<Data>;
108
- /**
109
- * If true, the table will be refreshed after the action is executed.
110
- */
111
- refresh?: boolean;
112
- /**
113
- * If true, the user will be asked to confirm the action before execution.
114
- */
115
- confirm?: boolean;
116
- /**
117
- * The tooltip of the action button.
118
- */
119
- tooltip?: string;
120
- /**
121
- * The error message that will be displayed if the action fails.
122
- */
123
- errorMessage?: string;
124
- /**
125
- * The success message that will be displayed if the action succeeds.
126
- */
127
- successMessage?: string;
128
- /**
129
- * The priority of the action. If multiple action with the same type exists.
130
- * The action with the highest priority will be used. To set the defaults for
131
- * the directive.
132
- */
133
- priority?: number;
134
- /**
135
- * The color of the action button.
136
- */
137
- color?: ThemePalette;
138
- }
139
- declare function TableActionMethod<Data = any>(options: TableActionMethodOptions): ClassDecorator;
140
- declare function TableActionMethod<Data = any>(type: string, checkFunction?: RowActionCheckFunction<Data>): ClassDecorator;
141
-
127
+ export declare const RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA = "rxap-table-action-method-check-function-metadata";
128
+ export interface TableActionMethodOptions<Data = any> {
129
+ type?: string;
130
+ checkFunction?: RowActionCheckFunction<Data>;
131
+ /**
132
+ * If true, the table will be refreshed after the action is executed.
133
+ */
134
+ refresh?: boolean;
135
+ /**
136
+ * If true, the user will be asked to confirm the action before execution.
137
+ */
138
+ confirm?: boolean;
139
+ /**
140
+ * The tooltip of the action button.
141
+ */
142
+ tooltip?: string;
143
+ /**
144
+ * The error message that will be displayed if the action fails.
145
+ */
146
+ errorMessage?: string;
147
+ /**
148
+ * The success message that will be displayed if the action succeeds.
149
+ */
150
+ successMessage?: string;
151
+ /**
152
+ * The priority of the action. If multiple action with the same type exists.
153
+ * The action with the highest priority will be used. To set the defaults for
154
+ * the directive.
155
+ */
156
+ priority?: number;
157
+ /**
158
+ * The color of the action button.
159
+ */
160
+ color?: ThemePalette;
161
+ }
162
+ export declare function TableActionMethod<Data = any>(options: TableActionMethodOptions): ClassDecorator;
163
+ export declare function TableActionMethod<Data = any>(type: string, checkFunction?: RowActionCheckFunction<Data>): ClassDecorator;
142
164
  /**
143
165
  * Subclasses must be decorated with @Directive, declare the `type` signal input and
144
166
  * implement `getElementList`. No constructor arguments are required anymore - all
145
167
  * dependencies are acquired with inject().
146
168
  */
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>;
151
- /**
152
- * true - after the action is executed the table datasource is refreshed
153
- */
154
- readonly refresh: _angular_core.InputSignal<boolean | undefined>;
155
- readonly color: _angular_core.InputSignal<ThemePalette>;
156
- readonly hasConfirmDirective: _angular_core.InputSignalWithTransform<boolean, any>;
157
- readonly isHeader: boolean;
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;
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;
173
- private _actionDisabled;
174
- protected constructor();
175
- onConfirmed(): Promise<void>;
176
- onClick($event?: Event): Promise<void>;
177
- execute(): Promise<void>;
178
- protected abstract getElementList(): Data[];
179
- /**
180
- * Disables the action. If the button is pressed the action is NOT executed
181
- *
182
- * Hint: the button is set to disabled = true to prevent any conflict with
183
- * extern button enable features linke : rxapHasEnablePermission
184
- * @protected
185
- */
186
- protected setButtonDisabled(): void;
187
- /**
188
- * Enables the action. If the button is pressed the action is executed
189
- *
190
- * TODO : find a way to communicate the disabled state between the features
191
- * Hint: the button is set to disabled = false to prevent any conflict with
192
- * extern button enable features linke : rxapHasEnablePermission
193
- * @protected
194
- */
195
- protected setButtonEnabled(): void;
196
- /**
197
- * find all method instance in the actionMethodList member that
198
- * do not have a @TableActionMethod decorators
199
- * @private
200
- */
201
- private findUntypedActionMethod;
202
- /**
203
- * find all method instance in the actionMethodList member that
204
- * do have a @TableActionMethod decorators with the current type
205
- * @private
206
- */
207
- private findTypedActionMethod;
208
- private setStatus;
209
- private getTableActionOptions;
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>;
212
- }
213
-
214
- declare class RowActionCheckPipe<RowType extends Record<string, unknown> = Record<string, unknown>> implements PipeTransform {
215
- private readonly actionMethodList;
216
- constructor();
217
- transform(value: RowType | RowType[], type: string): boolean;
218
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<RowActionCheckPipe<any>, never>;
219
- static ɵpipe: _angular_core.ɵɵPipeDeclaration<RowActionCheckPipe<any>, "rxapRowActionCheck", true>;
220
- }
221
-
222
- declare class TableRowActionExecutingDirective {
223
- readonly templateRef: TemplateRef<void>;
224
- private readonly vcr;
225
- show(): void;
226
- hide(): void;
227
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowActionExecutingDirective, never>;
228
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableRowActionExecutingDirective, "[rxapTableRowActionExecuting]", never, {}, {}, never, never, true, never>;
229
- }
230
-
231
- declare enum TableRowActionStatus {
232
- EXECUTING = "executing",
233
- DONE = "done",
234
- ERROR = "error",
235
- SUCCESS = "success"
236
- }
237
-
238
- declare class TableRowActionDirective<Data extends Record<string, any>> extends AbstractTableRowAction<Data> {
239
- readonly type: _angular_core.InputSignal<string>;
240
- readonly element: _angular_core.InputSignal<Data>;
241
- constructor();
242
- protected getElementList(): Data[];
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>;
245
- }
246
-
247
- declare function IsTableRowActionTypeSwitchMethod<Data extends Record<string, any>>(method: TableRowActionMethod<Data>): method is TableRowActionTypeSwitchMethod<Data>;
248
- declare function IsTableRowActionTypeMethod<Data extends Record<string, any>>(type: string): (method: TableRowActionMethod<Data>) => method is TableRowActionTypeMethod<Data>;
249
- declare function HasTableRowActionCheckFunction(method: TableRowActionMethod<any>): boolean;
250
- declare function GetTableRowActionCheckFunction<Data extends Record<string, unknown> = Record<string, unknown>>(method: TableRowActionMethod<Data>): RowActionCheckFunction<Data>;
251
- declare function HasTableRowActionMetadata(method: TableRowActionMethod): boolean;
252
- declare function GetTableRowActionMetadata(method: TableRowActionMethod): TableActionMethodOptions;
253
-
254
- declare class TableRowHeaderActionDirective<Data extends Record<string, any>> extends AbstractTableRowAction<Data> {
255
- private readonly selectRowService;
256
- readonly isHeader = true;
257
- readonly type: _angular_core.InputSignal<string>;
258
- private readonly hasSelectedRows;
259
- constructor();
260
- protected getElementList(): Data[];
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>;
263
- }
264
-
265
- declare const RXAP_TABLE_ROW_ACTION_METHOD: InjectionToken<unknown>;
266
-
267
- declare const RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA = "rxap-table-header-button-method-metadata";
268
- interface TableHeaderButtonMethodOptions {
269
- /**
270
- * If true, the table will be refreshed after the action is executed.
271
- */
272
- refresh?: boolean;
273
- /**
274
- * If true, the user will be asked to confirm the action before execution.
275
- */
276
- confirm?: boolean;
277
- /**
278
- * The tooltip of the action button.
279
- */
280
- tooltip?: string;
281
- /**
282
- * The error message that will be displayed if the action fails.
283
- */
284
- errorMessage?: string;
285
- /**
286
- * The success message that will be displayed if the action succeeds.
287
- */
288
- successMessage?: string;
289
- }
290
- declare function TableHeaderButtonMethod(options?: TableHeaderButtonMethodOptions): ClassDecorator;
291
- declare function GetTableHeaderButtonMetadata(method: Method): TableHeaderButtonMethodOptions;
292
-
293
- declare enum TableHeaderButtonActionStatus {
294
- EXECUTING = "executing",
295
- DONE = "done",
296
- ERROR = "error",
297
- SUCCESS = "success"
298
- }
299
-
300
- declare class TableHeaderButtonDirective<Data extends Record<string, any>> extends ConfirmDirective {
301
- private readonly method;
302
- private readonly snackBar;
303
- private readonly matTooltip;
304
- private readonly matButton;
305
- readonly tableDataSourceDirective: _angular_core.InputSignal<TableDataSourceDirective<Data>>;
306
- readonly errorMessage: _angular_core.InputSignal<string | undefined>;
307
- readonly successMessage: _angular_core.InputSignal<string | undefined>;
308
- /**
309
- * true - after the action is executed the table datasource is refreshed
310
- */
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>;
316
- private _actionDisabled;
317
- private _currentStatus;
318
- readonly hasConfirmDirective: _angular_core.InputSignalWithTransform<boolean, any>;
319
- constructor();
320
- onConfirmed(): Promise<void>;
321
- onClick($event?: Event): Promise<void>;
322
- execute(): Promise<void>;
323
- /**
324
- * Disables the action. If the button is pressed the action is NOT executed
325
- *
326
- * Hint: the button is set to disabled = true to prevent any conflict with
327
- * extern button enable features linke : rxapHasEnablePermission
328
- * @protected
329
- */
330
- protected setButtonDisabled(): void;
331
- /**
332
- * Enables the action. If the button is pressed the action is executed
333
- *
334
- * TODO : find a way to communicate the disabled state between the features
335
- * Hint: the button is set to disabled = false to prevent any conflict with
336
- * extern button enable features linke : rxapHasEnablePermission
337
- * @protected
338
- */
339
- protected setButtonEnabled(): void;
340
- private setStatus;
341
- private getTableHeaderButtonOptions;
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>;
344
- }
345
-
346
- declare const TABLE_HEADER_BUTTON_METHOD: InjectionToken<Method<any, any>>;
347
-
348
- declare class FilterHeaderRowDirective extends FormDirective implements OnInit, OnChanges, OnDestroy {
349
- private readonly tableFilter;
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>>;
354
- private _subscription?;
355
- constructor();
356
- private applyFilterFormDefinition;
357
- ngOnChanges(changes: SimpleChanges): void;
358
- ngOnInit(): void;
359
- ngOnDestroy(): void;
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>;
362
- }
363
-
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>;
384
- }
385
-
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>;
390
- }
391
-
392
- declare const RXAP_TABLE_FILTER_FORM_DEFINITION: InjectionToken<unknown>;
393
-
394
- declare class TableCreateButtonDirective<Data extends Record<string, any>> implements OnDestroy {
395
- private readonly method;
396
- readonly dataSource: _angular_core.InputSignal<TableDataSourceDirective<Data>>;
397
- private _createObservable?;
398
- ngOnDestroy(): void;
399
- onClick(): Promise<void>;
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>;
402
- }
403
-
404
- declare const TABLE_CREATE_REMOTE_METHOD: InjectionToken<Method<any, any>>;
405
-
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 {
418
- private _element;
419
- private readonly router;
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>;
434
- /**
435
- * The displayed value of the option. It is necessary to show the selected option in the
436
- * select's trigger.
437
- */
438
- get display(): string;
439
- private get cacheId();
440
- private cachedValue;
441
- toggle(): void;
442
- activate(): void;
443
- deactivate(): void;
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>;
446
- }
447
-
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[]>;
455
- /**
456
- * true - the menu is displayed inline and not absolute
457
- */
458
- readonly inline: _angular_core.InputSignalWithTransform<boolean, any>;
459
- readonly matCard: _angular_core.InputSignalWithTransform<boolean, any>;
460
- activate(columnName: string): void;
461
- deactivate(columnName: string): void;
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>;
464
- }
465
-
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>;
474
- }
475
-
476
- declare class TableColumnFilterService implements FilterLike {
477
- readonly change: BehaviorSubject<Record<string, string>>;
478
- get current(): Record<string, string>;
479
- setFilter(column: string, value: string | undefined | null): void;
480
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableColumnFilterService, never>;
481
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableColumnFilterService>;
482
- }
483
-
484
- declare class CheckboxHeaderCellComponent<Data extends Record<string, any>> {
485
- private readonly cdkTable;
486
- private readonly selectRow;
487
- readonly indeterminate: _angular_core.Signal<boolean>;
488
- readonly checked: _angular_core.Signal<boolean>;
489
- readonly isMultipleSelection: boolean;
490
- onChange($event: MatCheckboxChange): void;
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
-
169
+ export declare abstract class AbstractTableRowAction<Data extends Record<string, any>> extends ConfirmDirective {
170
+ abstract readonly type: Signal<string>;
171
+ readonly errorMessage: import("@angular/core").InputSignal<string | undefined>;
172
+ readonly successMessage: import("@angular/core").InputSignal<string | undefined>;
173
+ /**
174
+ * true - after the action is executed the table datasource is refreshed
175
+ */
176
+ readonly refresh: import("@angular/core").InputSignal<boolean | undefined>;
177
+ readonly color: import("@angular/core").InputSignal<ThemePalette>;
178
+ readonly hasConfirmDirective: import("@angular/core").InputSignalWithTransform<boolean, any>;
179
+ readonly isHeader: boolean;
180
+ protected readonly renderer: Renderer2;
181
+ protected readonly vcr: ViewContainerRef;
182
+ protected readonly tableDataSourceDirective: TableDataSourceDirective<Record<string, any>>;
183
+ protected readonly snackBar: MatSnackBar;
184
+ protected readonly matButton: MatIconButton | MatButton | null;
185
+ protected readonly matTooltip: MatTooltip | null;
186
+ protected readonly injector: Injector;
187
+ private readonly actionMethodList;
188
+ protected readonly options: Signal<TableActionMethodOptions | null>;
189
+ protected readonly effectiveRefresh: Signal<boolean>;
190
+ protected readonly effectiveErrorMessage: Signal<string | undefined>;
191
+ protected readonly effectiveSuccessMessage: Signal<string | undefined>;
192
+ protected readonly effectiveColor: Signal<"primary" | "accent" | "warn" | undefined>;
193
+ private readonly executingDirective;
194
+ private _currentStatus;
195
+ private _actionDisabled;
196
+ protected constructor();
197
+ onConfirmed(): Promise<void>;
198
+ onClick($event?: Event): Promise<void>;
199
+ execute(): Promise<void>;
200
+ protected abstract getElementList(): Data[];
201
+ /**
202
+ * Disables the action. If the button is pressed the action is NOT executed
203
+ *
204
+ * Hint: the button is set to disabled = true to prevent any conflict with
205
+ * extern button enable features linke : rxapHasEnablePermission
206
+ * @protected
207
+ */
208
+ protected setButtonDisabled(): void;
209
+ /**
210
+ * Enables the action. If the button is pressed the action is executed
211
+ *
212
+ * TODO : find a way to communicate the disabled state between the features
213
+ * Hint: the button is set to disabled = false to prevent any conflict with
214
+ * extern button enable features linke : rxapHasEnablePermission
215
+ * @protected
216
+ */
217
+ protected setButtonEnabled(): void;
218
+ /**
219
+ * find all method instance in the actionMethodList member that
220
+ * do not have a @TableActionMethod decorators
221
+ * @private
222
+ */
223
+ private findUntypedActionMethod;
224
+ /**
225
+ * find all method instance in the actionMethodList member that
226
+ * do have a @TableActionMethod decorators with the current type
227
+ * @private
228
+ */
229
+ private findTypedActionMethod;
230
+ private setStatus;
231
+ private getTableActionOptions;
232
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTableRowAction<any>, never>;
233
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractTableRowAction<any>, never, never, {
234
+ "errorMessage": {
235
+ "alias": "errorMessage";
236
+ "required": false;
237
+ "isSignal": true;
238
+ };
239
+ "successMessage": {
240
+ "alias": "successMessage";
241
+ "required": false;
242
+ "isSignal": true;
243
+ };
244
+ "refresh": {
245
+ "alias": "refresh";
246
+ "required": false;
247
+ "isSignal": true;
248
+ };
249
+ "color": {
250
+ "alias": "color";
251
+ "required": false;
252
+ "isSignal": true;
253
+ };
254
+ "hasConfirmDirective": {
255
+ "alias": "rxapConfirm";
256
+ "required": false;
257
+ "isSignal": true;
258
+ };
259
+ }, {}, ["executingDirective"], never, true, never>;
260
+ }
261
+ export declare class RowActionCheckPipe<RowType extends Record<string, unknown> = Record<string, unknown>> implements PipeTransform {
262
+ private readonly actionMethodList;
263
+ constructor();
264
+ transform(value: RowType | RowType[], type: string): boolean;
265
+ static ɵfac: i0.ɵɵFactoryDeclaration<RowActionCheckPipe<any>, never>;
266
+ static ɵpipe: i0.ɵɵPipeDeclaration<RowActionCheckPipe<any>, "rxapRowActionCheck", true>;
267
+ }
268
+ export declare class TableRowActionExecutingDirective {
269
+ readonly templateRef: TemplateRef<void>;
270
+ private readonly vcr;
271
+ show(): void;
272
+ hide(): void;
273
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionExecutingDirective, never>;
274
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowActionExecutingDirective, "[rxapTableRowActionExecuting]", never, {}, {}, never, never, true, never>;
275
+ }
276
+ export declare enum TableRowActionStatus {
277
+ EXECUTING = "executing",
278
+ DONE = "done",
279
+ ERROR = "error",
280
+ SUCCESS = "success"
281
+ }
282
+ export declare class TableRowActionDirective<Data extends Record<string, any>> extends AbstractTableRowAction<Data> {
283
+ readonly type: import("@angular/core").InputSignal<string>;
284
+ readonly element: import("@angular/core").InputSignal<Data>;
285
+ constructor();
286
+ protected getElementList(): Data[];
287
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionDirective<any>, never>;
288
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowActionDirective<any>, "button[rxapTableRowAction]", never, {
289
+ "type": {
290
+ "alias": "rxapTableRowAction";
291
+ "required": true;
292
+ "isSignal": true;
293
+ };
294
+ "element": {
295
+ "alias": "element";
296
+ "required": true;
297
+ "isSignal": true;
298
+ };
299
+ }, {}, never, never, true, never>;
300
+ }
301
+ export declare function IsTableRowActionTypeSwitchMethod<Data extends Record<string, any>>(method: TableRowActionMethod<Data>): method is TableRowActionTypeSwitchMethod<Data>;
302
+ export declare function IsTableRowActionTypeMethod<Data extends Record<string, any>>(type: string): (method: TableRowActionMethod<Data>) => method is TableRowActionTypeMethod<Data>;
303
+ export declare function HasTableRowActionCheckFunction(method: TableRowActionMethod<any>): boolean;
304
+ export declare function GetTableRowActionCheckFunction<Data extends Record<string, unknown> = Record<string, unknown>>(method: TableRowActionMethod<Data>): RowActionCheckFunction<Data>;
305
+ export declare function HasTableRowActionMetadata(method: TableRowActionMethod): boolean;
306
+ export declare function GetTableRowActionMetadata(method: TableRowActionMethod): TableActionMethodOptions;
307
+ export declare class TableRowHeaderActionDirective<Data extends Record<string, any>> extends AbstractTableRowAction<Data> {
308
+ private readonly selectRowService;
309
+ readonly isHeader = true;
310
+ readonly type: import("@angular/core").InputSignal<string>;
311
+ private readonly hasSelectedRows;
312
+ constructor();
313
+ protected getElementList(): Data[];
314
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableRowHeaderActionDirective<any>, never>;
315
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableRowHeaderActionDirective<any>, "button[rxapTableRowHeaderAction]", never, {
316
+ "type": {
317
+ "alias": "rxapTableRowHeaderAction";
318
+ "required": true;
319
+ "isSignal": true;
320
+ };
321
+ }, {}, never, never, true, never>;
322
+ }
323
+ export declare const RXAP_TABLE_ROW_ACTION_METHOD: InjectionToken<unknown>;
324
+ export declare const RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA = "rxap-table-header-button-method-metadata";
325
+ export interface TableHeaderButtonMethodOptions {
326
+ /**
327
+ * If true, the table will be refreshed after the action is executed.
328
+ */
329
+ refresh?: boolean;
330
+ /**
331
+ * If true, the user will be asked to confirm the action before execution.
332
+ */
333
+ confirm?: boolean;
334
+ /**
335
+ * The tooltip of the action button.
336
+ */
337
+ tooltip?: string;
338
+ /**
339
+ * The error message that will be displayed if the action fails.
340
+ */
341
+ errorMessage?: string;
342
+ /**
343
+ * The success message that will be displayed if the action succeeds.
344
+ */
345
+ successMessage?: string;
346
+ }
347
+ export declare function TableHeaderButtonMethod(options?: TableHeaderButtonMethodOptions): ClassDecorator;
348
+ export declare function GetTableHeaderButtonMetadata(method: Method): TableHeaderButtonMethodOptions;
349
+ export declare enum TableHeaderButtonActionStatus {
350
+ EXECUTING = "executing",
351
+ DONE = "done",
352
+ ERROR = "error",
353
+ SUCCESS = "success"
354
+ }
355
+ export declare class TableHeaderButtonDirective<Data extends Record<string, any>> extends ConfirmDirective {
356
+ private readonly method;
357
+ private readonly snackBar;
358
+ private readonly matTooltip;
359
+ private readonly matButton;
360
+ readonly tableDataSourceDirective: import("@angular/core").InputSignal<TableDataSourceDirective<Data>>;
361
+ readonly errorMessage: import("@angular/core").InputSignal<string | undefined>;
362
+ readonly successMessage: import("@angular/core").InputSignal<string | undefined>;
363
+ /**
364
+ * true - after the action is executed the table datasource is refreshed
365
+ */
366
+ readonly refresh: import("@angular/core").InputSignal<boolean | undefined>;
367
+ protected readonly options: import("@angular/core").Signal<TableHeaderButtonMethodOptions | null>;
368
+ protected readonly effectiveRefresh: import("@angular/core").Signal<boolean>;
369
+ protected readonly effectiveErrorMessage: import("@angular/core").Signal<string | undefined>;
370
+ protected readonly effectiveSuccessMessage: import("@angular/core").Signal<string | undefined>;
371
+ private _actionDisabled;
372
+ private _currentStatus;
373
+ readonly hasConfirmDirective: import("@angular/core").InputSignalWithTransform<boolean, any>;
374
+ constructor();
375
+ onConfirmed(): Promise<void>;
376
+ onClick($event?: Event): Promise<void>;
377
+ execute(): Promise<void>;
378
+ /**
379
+ * Disables the action. If the button is pressed the action is NOT executed
380
+ *
381
+ * Hint: the button is set to disabled = true to prevent any conflict with
382
+ * extern button enable features linke : rxapHasEnablePermission
383
+ * @protected
384
+ */
385
+ protected setButtonDisabled(): void;
386
+ /**
387
+ * Enables the action. If the button is pressed the action is executed
388
+ *
389
+ * TODO : find a way to communicate the disabled state between the features
390
+ * Hint: the button is set to disabled = false to prevent any conflict with
391
+ * extern button enable features linke : rxapHasEnablePermission
392
+ * @protected
393
+ */
394
+ protected setButtonEnabled(): void;
395
+ private setStatus;
396
+ private getTableHeaderButtonOptions;
397
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderButtonDirective<any>, never>;
398
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderButtonDirective<any>, "button[mat-mini-fab][rxapTableHeaderButton]", never, {
399
+ "tableDataSourceDirective": {
400
+ "alias": "rxapTableHeaderButton";
401
+ "required": true;
402
+ "isSignal": true;
403
+ };
404
+ "errorMessage": {
405
+ "alias": "errorMessage";
406
+ "required": false;
407
+ "isSignal": true;
408
+ };
409
+ "successMessage": {
410
+ "alias": "successMessage";
411
+ "required": false;
412
+ "isSignal": true;
413
+ };
414
+ "refresh": {
415
+ "alias": "refresh";
416
+ "required": false;
417
+ "isSignal": true;
418
+ };
419
+ "hasConfirmDirective": {
420
+ "alias": "rxapConfirm";
421
+ "required": false;
422
+ "isSignal": true;
423
+ };
424
+ }, {}, never, never, true, never>;
425
+ }
426
+ export declare const TABLE_HEADER_BUTTON_METHOD: InjectionToken<Method<any, any>>;
427
+ export declare class FilterHeaderRowDirective extends FormDirective implements OnInit, OnChanges, OnDestroy {
428
+ private readonly tableFilter;
429
+ /**
430
+ * Optional form definition bound with the selector attribute. Falls back to RXAP_TABLE_FILTER_FORM_DEFINITION.
431
+ */
432
+ readonly filterFormDefinition: import("@angular/core").InputSignal<"" | FormDefinition<any, any, any>>;
433
+ private _subscription?;
434
+ constructor();
435
+ private applyFilterFormDefinition;
436
+ ngOnChanges(changes: SimpleChanges): void;
437
+ ngOnInit(): void;
438
+ ngOnDestroy(): void;
439
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterHeaderRowDirective, never>;
440
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FilterHeaderRowDirective, "table[rxap-filter-header-row]", never, {
441
+ "filterFormDefinition": {
442
+ "alias": "rxap-filter-header-row";
443
+ "required": false;
444
+ "isSignal": true;
445
+ };
446
+ }, {}, never, never, true, never>;
447
+ }
448
+ export declare class TableFilterService implements FilterLike, OnDestroy {
449
+ readonly change: ReplaySubject<Record<string, any>>;
450
+ current: Record<string, any>;
451
+ private _subscription;
452
+ readonly reset$: Subject<void>;
453
+ /**
454
+ * a flag to indicate whether any value was already send to the change subject
455
+ * true - a value was send
456
+ * false - no value was send
457
+ * @private
458
+ */
459
+ private _init;
460
+ constructor();
461
+ reset(): void;
462
+ setMap(map: Record<string, any>): void;
463
+ set(key: string, value: any): void;
464
+ remove(key: string): void;
465
+ ngOnDestroy(): void;
466
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterService, never>;
467
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
468
+ }
469
+ export declare class ToFilterColumnNamesPipe implements PipeTransform {
470
+ transform(columns: string[]): string[];
471
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToFilterColumnNamesPipe, never>;
472
+ static ɵpipe: i0.ɵɵPipeDeclaration<ToFilterColumnNamesPipe, "toFilterColumnNames", true>;
473
+ }
474
+ export declare const RXAP_TABLE_FILTER_FORM_DEFINITION: InjectionToken<unknown>;
475
+ export declare class TableCreateButtonDirective<Data extends Record<string, any>> implements OnDestroy {
476
+ private readonly method;
477
+ readonly dataSource: import("@angular/core").InputSignal<TableDataSourceDirective<Data>>;
478
+ private _createObservable?;
479
+ ngOnDestroy(): void;
480
+ onClick(): Promise<void>;
481
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableCreateButtonDirective<any>, never>;
482
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableCreateButtonDirective<any>, "button[rxapTableCreate]", never, {
483
+ "dataSource": {
484
+ "alias": "rxapTableCreate";
485
+ "required": true;
486
+ "isSignal": true;
487
+ };
488
+ }, {}, never, never, true, never>;
489
+ }
490
+ export declare const TABLE_CREATE_REMOTE_METHOD: InjectionToken<Method<any, any>>;
491
+ export declare class TableShowArchivedSlideComponent {
492
+ private readonly tableFilter;
493
+ private readonly tableColumnMenu;
494
+ private readonly selectRows;
495
+ readonly paginator: import("@angular/core").InputSignal<MatPaginator | undefined>;
496
+ onChange($event: MatSlideToggleChange): void;
497
+ constructor();
498
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableShowArchivedSlideComponent, never>;
499
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableShowArchivedSlideComponent, "rxap-table-show-archived-slide", never, {
500
+ "paginator": {
501
+ "alias": "paginator";
502
+ "required": false;
503
+ "isSignal": true;
504
+ };
505
+ }, {}, never, never, true, never>;
506
+ }
507
+ export declare class TableColumnOptionComponent {
508
+ private _element;
509
+ private readonly router;
510
+ readonly name: import("@angular/core").InputSignal<string>;
511
+ /**
512
+ * The initial active state. Use the inactive input as shorthand for active = false
513
+ */
514
+ readonly activeInput: import("@angular/core").InputSignal<boolean>;
515
+ readonly inactive: import("@angular/core").InputSignalWithTransform<boolean, any>;
516
+ readonly hidden: import("@angular/core").InputSignalWithTransform<boolean, any>;
517
+ readonly show: import("@angular/core").InputSignal<boolean>;
518
+ /**
519
+ * The current active state. Initialised from the active/inactive inputs
520
+ * and the cached value, can be changed with toggle/activate/deactivate.
521
+ */
522
+ readonly active: import("@angular/core").WritableSignal<boolean>;
523
+ readonly isHidden: import("@angular/core").Signal<boolean>;
524
+ /**
525
+ * The displayed value of the option. It is necessary to show the selected option in the
526
+ * select's trigger.
527
+ */
528
+ get display(): string;
529
+ private get cacheId();
530
+ private cachedValue;
531
+ toggle(): void;
532
+ activate(): void;
533
+ deactivate(): void;
534
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnOptionComponent, never>;
535
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnOptionComponent, "rxap-table-column-option", never, {
536
+ "name": {
537
+ "alias": "name";
538
+ "required": true;
539
+ "isSignal": true;
540
+ };
541
+ "activeInput": {
542
+ "alias": "active";
543
+ "required": false;
544
+ "isSignal": true;
545
+ };
546
+ "inactive": {
547
+ "alias": "inactive";
548
+ "required": false;
549
+ "isSignal": true;
550
+ };
551
+ "hidden": {
552
+ "alias": "hidden";
553
+ "required": false;
554
+ "isSignal": true;
555
+ };
556
+ "show": {
557
+ "alias": "show";
558
+ "required": false;
559
+ "isSignal": true;
560
+ };
561
+ }, {}, never, ["*"], true, never>;
562
+ }
563
+ export declare class TableColumnMenuComponent {
564
+ readonly columns: import("@angular/core").Signal<readonly TableColumnOptionComponent[]>;
565
+ readonly visibleColumns: import("@angular/core").Signal<TableColumnOptionComponent[]>;
566
+ /**
567
+ * The names of all currently active columns
568
+ */
569
+ readonly displayColumns: import("@angular/core").Signal<string[]>;
570
+ /**
571
+ * true - the menu is displayed inline and not absolute
572
+ */
573
+ readonly inline: import("@angular/core").InputSignalWithTransform<boolean, any>;
574
+ readonly matCard: import("@angular/core").InputSignalWithTransform<boolean, any>;
575
+ activate(columnName: string): void;
576
+ deactivate(columnName: string): void;
577
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnMenuComponent, never>;
578
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnMenuComponent, "rxap-table-column-menu", ["rxapTableColumns"], {
579
+ "inline": {
580
+ "alias": "inline";
581
+ "required": false;
582
+ "isSignal": true;
583
+ };
584
+ "matCard": {
585
+ "alias": "matCard";
586
+ "required": false;
587
+ "isSignal": true;
588
+ };
589
+ }, {}, ["columns"], ["[mat-menu-item],mat-divider"], true, never>;
590
+ }
591
+ export declare class TableColumnFilterInputDirective {
592
+ private readonly ngModel;
593
+ private readonly tableColumnFilterService;
594
+ private readonly destroyRef;
595
+ readonly column: import("@angular/core").InputSignal<string>;
596
+ constructor();
597
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnFilterInputDirective, never>;
598
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnFilterInputDirective, "input[ngModel][rxapTableColumnFilterInput]", never, {
599
+ "column": {
600
+ "alias": "column";
601
+ "required": true;
602
+ "isSignal": true;
603
+ };
604
+ }, {}, never, never, true, never>;
605
+ }
606
+ export declare class TableColumnFilterService implements FilterLike {
607
+ readonly change: BehaviorSubject<Record<string, string>>;
608
+ get current(): Record<string, string>;
609
+ setFilter(column: string, value: string | undefined | null): void;
610
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnFilterService, never>;
611
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
612
+ }
613
+ export declare class CheckboxHeaderCellComponent<Data extends Record<string, any>> {
614
+ private readonly cdkTable;
615
+ private readonly selectRow;
616
+ readonly indeterminate: import("@angular/core").Signal<boolean>;
617
+ readonly checked: import("@angular/core").Signal<boolean>;
618
+ readonly isMultipleSelection: boolean;
619
+ onChange($event: MatCheckboxChange): void;
620
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxHeaderCellComponent<any>, never>;
621
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxHeaderCellComponent<any>, "th[rxap-checkbox-header-cell]", never, {}, {}, never, never, true, never>;
622
+ }
503
623
  /**
504
624
  * Class to be used to power selecting one or more options from a list.
505
625
  */
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;
626
+ export declare class SelectionModel<T> {
627
+ private _multiple;
628
+ private _emitChanges;
629
+ compareWith?: ((o1: T, o2: T) => boolean) | undefined;
630
+ /** Currently-selected values. */
631
+ private _selection;
632
+ /** Keeps track of the deselected options that haven't been emitted by the change event. */
633
+ private _deselectedToEmit;
634
+ /** Keeps track of the selected options that haven't been emitted by the change event. */
635
+ private _selectedToEmit;
636
+ /** Cache for the array value of the selected items. */
637
+ private _selected;
638
+ /** Selected values. */
639
+ get selected(): T[];
640
+ /** Event emitted when the value has changed. */
641
+ readonly changed: Subject<SelectionChange<T>>;
642
+ constructor(_multiple?: boolean, initiallySelectedValues?: T[], _emitChanges?: boolean, compareWith?: ((o1: T, o2: T) => boolean) | undefined);
643
+ /**
644
+ * Selects a value or an array of values.
645
+ * @param values The values to select
646
+ * @return Whether the selection changed as a result of this call
647
+ * @breaking-change 16.0.0 make return type boolean
648
+ */
649
+ select(...values: T[]): boolean | void;
650
+ /**
651
+ * Deselects a value or an array of values.
652
+ * @param values The values to deselect
653
+ * @return Whether the selection changed as a result of this call
654
+ * @breaking-change 16.0.0 make return type boolean
655
+ */
656
+ deselect(...values: T[]): boolean | void;
657
+ /**
658
+ * Sets the selected values
659
+ * @param values The new selected values
660
+ * @return Whether the selection changed as a result of this call
661
+ * @breaking-change 16.0.0 make return type boolean
662
+ */
663
+ setSelection(...values: T[]): boolean | void;
664
+ /**
665
+ * Toggles a value between selected and deselected.
666
+ * @param value The value to toggle
667
+ * @return Whether the selection changed as a result of this call
668
+ * @breaking-change 16.0.0 make return type boolean
669
+ */
670
+ toggle(value: T): boolean | void;
671
+ /**
672
+ * Clears all of the selected values.
673
+ * @param flushEvent Whether to flush the changes in an event.
674
+ * If false, the changes to the selection will be flushed along with the next event.
675
+ * @return Whether the selection changed as a result of this call
676
+ * @breaking-change 16.0.0 make return type boolean
677
+ */
678
+ clear(flushEvent?: boolean): boolean | void;
679
+ /**
680
+ * Determines whether a value is selected.
681
+ */
682
+ isSelected(value: T): boolean;
683
+ /**
684
+ * Determines whether the model does not have a value.
685
+ */
686
+ isEmpty(): boolean;
687
+ /**
688
+ * Determines whether the model has a value.
689
+ */
690
+ hasValue(): boolean;
691
+ /**
692
+ * Sorts the selected values based on a predicate function.
693
+ */
694
+ sort(predicate?: (a: T, b: T) => number): void;
695
+ /**
696
+ * Gets whether multiple values can be selected.
697
+ */
698
+ isMultipleSelection(): boolean;
699
+ /** Emits a change event and clears the records of selected and deselected values. */
700
+ private _emitChangeEvent;
701
+ /** Selects a value. */
702
+ private _markSelected;
703
+ /** Deselects a value. */
704
+ private _unmarkSelected;
705
+ /** Clears out the selected values. */
706
+ private _unmarkAll;
707
+ /**
708
+ * Verifies the value assignment and throws an error if the specified value array is
709
+ * including multiple values while the selection model is not supporting multiple values.
710
+ */
711
+ private _verifyValueAssignment;
712
+ /** Whether there are queued up change to be emitted. */
713
+ private _hasQueuedChanges;
594
714
  }
595
715
  /**
596
716
  * Event emitted when the value of a MatSelectionModel has changed.
597
717
  * @docs-private
598
718
  */
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[];
719
+ export interface SelectionChange<T> {
720
+ /** Model that dispatched the event. */
721
+ source: SelectionModel<T>;
722
+ /** Options that were added to the model. */
723
+ added: T[];
724
+ /** Options that were removed from the model. */
725
+ removed: T[];
606
726
  }
607
727
  /**
608
728
  * Returns an error that reports that multiple values are passed into a selection model
609
729
  * with a single value.
610
730
  * @docs-private
611
731
  */
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>>;
623
- }
624
-
625
- declare class CheckboxCellComponent<Data extends Record<string, any>> {
626
- readonly selectRow: SelectRowService<Data>;
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;
639
- }
640
-
641
- interface SelectedRowsDirectiveContext<Data extends Record<string, any>> {
642
- $implicit: Data[];
643
- }
644
- declare class SelectedRowsDirective<Data extends Record<string, any>> {
645
- private readonly template;
646
- private readonly viewContainerRef;
647
- private readonly selectRowService;
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>;
652
- }
653
-
654
- declare const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS: InjectionToken<SelectRowOptions<unknown>>;
655
-
656
- interface ExpandCellContentDirectiveContext<Data extends Record<string, any>> {
657
- $implicit: Data;
658
- }
659
- declare class ExpandRowContentDirective<Data extends Record<string, any>> {
660
- readonly template: TemplateRef<ExpandCellContentDirectiveContext<Data>>;
661
- static ngTemplateContextGuard<Data extends Record<string, any>>(dir: ExpandRowContentDirective<Data>, ctx: any): ctx is ExpandCellContentDirectiveContext<Data>;
662
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExpandRowContentDirective<any>, never>;
663
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ExpandRowContentDirective<any>, "[rxapExpandRowContent]", never, {}, {}, never, never, true, never>;
664
- }
665
-
666
- declare class ExpandRowService<Data extends Record<string, any>> {
667
- expandedRow: BehaviorSubject<Data | null>;
668
- readonly expandedRowSignal: _angular_core.Signal<Data | null>;
669
- toggleRow(row: Data): void;
670
- isExpanded(row: Data): boolean;
671
- isExpanded$(row: Data): Observable<boolean>;
672
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExpandRowService<any>, never>;
673
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<ExpandRowService<any>>;
674
- }
675
-
676
- declare class ExpandRowContainerComponent<Data extends Record<string, any>> {
677
- private readonly viewContainerRef;
678
- readonly expandCell: ExpandRowService<Data>;
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>;
687
- }
688
-
689
- declare class ExpandControlsCellComponent<Data extends Record<string, any>> {
690
- readonly expandCell: ExpandRowService<Data>;
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>;
694
- }
695
-
696
- declare class ExpandRowDirective<Data extends Record<string, any>> {
697
- private readonly expandCell;
698
- readonly element: _angular_core.InputSignal<Data>;
699
- readonly isExpanded: _angular_core.Signal<boolean>;
700
- onClick(): void;
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>;
703
- }
704
-
705
- declare class TreeControlCellComponent implements DoCheck {
706
- readonly offset: _angular_core.Signal<string>;
707
- icon: IconConfig;
708
- expandIcon: string;
709
- readonly element: _angular_core.InputSignal<any>;
710
- ngDoCheck(): void;
711
- toggleExpand(): any;
712
- private updateIcon;
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>;
715
- }
716
-
717
- declare class OptionsCellComponent {
718
- private readonly renderer;
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();
725
- getViewValue(): string;
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>;
728
- }
729
-
730
- declare class LinkCellComponent {
731
- readonly value: _angular_core.InputSignal<any>;
732
- get href(): string;
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>;
737
- }
738
-
739
- declare class ImageCellComponent {
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>;
747
- }
748
-
749
- declare class IconCellComponent {
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>;
753
- }
754
-
755
- declare class DateCellComponent {
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>;
760
- }
761
-
762
- declare class CopyToClipboardCellComponent {
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>;
766
- }
767
-
768
- declare class BooleanCellComponent {
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>;
772
- }
773
-
774
- declare class PersistentPaginatorDirective implements OnInit {
775
- private readonly matPaginator;
776
- readonly id: _angular_core.InputSignal<string | undefined>;
777
- private readonly destroyRef;
778
- ngOnInit(): void;
779
- getKey(): string;
780
- storeConfig(): void;
781
- restoreConfig(): {
782
- pageSize: number;
783
- } | null;
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>;
786
- }
787
-
788
- declare const RowAnimation: _angular_animations.AnimationTriggerMetadata;
789
-
790
- interface TableRowMetadata {
791
- /**
792
- * the unique id of the row. Use to track the row in the table for change detection and other purposes
793
- */
794
- __rowId: string;
795
- /**
796
- * metadata for the row. Added by the table system to facilitate some features
797
- */
798
- __metadata__: {
799
- loading$: ToggleSubject;
800
- };
801
- }
802
- type RawTableRow<T extends TableRowMetadata> = Omit<T, '__metadata__' | '__rowId'> & Partial<Pick<TableRowMetadata, '__rowId' | '__metadata__'>>;
803
- type RowIdMapperFunction<T extends TableRowMetadata> = (row: RawTableRow<T>) => string;
732
+ export declare function getMultipleValuesInSingleSelectionError(): Error;
733
+ export declare class SelectRowService<Data = unknown> {
734
+ selectedRows$: Observable<Data[]>;
735
+ readonly selectionModel: SelectionModel<Data>;
736
+ get selectedRows(): Data[];
737
+ constructor();
738
+ clear(): void;
739
+ compareWith(a: Data, b: Data): boolean;
740
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectRowService<any>, never>;
741
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
742
+ }
743
+ export declare class CheckboxCellComponent<Data extends Record<string, any>> {
744
+ readonly selectRow: SelectRowService<Data>;
745
+ readonly element: import("@angular/core").InputSignal<Data>;
746
+ private readonly selectedRows;
747
+ readonly isSelected: import("@angular/core").Signal<boolean>;
748
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxCellComponent<any>, never>;
749
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxCellComponent<any>, "td[rxap-checkbox-cell]", never, {
750
+ "element": {
751
+ "alias": "element";
752
+ "required": true;
753
+ "isSignal": true;
754
+ };
755
+ }, {}, never, never, true, never>;
756
+ }
757
+ export interface SelectRowOptions<RowData = unknown> {
758
+ multiple?: boolean;
759
+ selected?: RowData[];
760
+ emitChanges?: boolean;
761
+ compareWith?: (o1: RowData, o2: RowData) => boolean;
762
+ }
763
+ export interface SelectedRowsDirectiveContext<Data extends Record<string, any>> {
764
+ $implicit: Data[];
765
+ }
766
+ export declare class SelectedRowsDirective<Data extends Record<string, any>> {
767
+ private readonly template;
768
+ private readonly viewContainerRef;
769
+ private readonly selectRowService;
770
+ private readonly selectedRows;
771
+ constructor();
772
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectedRowsDirective<any>, never>;
773
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectedRowsDirective<any>, "[rxapSelectedRows]", never, {}, {}, never, never, true, never>;
774
+ }
775
+ export declare const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS: InjectionToken<SelectRowOptions<unknown>>;
776
+ export interface ExpandCellContentDirectiveContext<Data extends Record<string, any>> {
777
+ $implicit: Data;
778
+ }
779
+ export declare class ExpandRowContentDirective<Data extends Record<string, any>> {
780
+ readonly template: TemplateRef<ExpandCellContentDirectiveContext<Data>>;
781
+ static ngTemplateContextGuard<Data extends Record<string, any>>(dir: ExpandRowContentDirective<Data>, ctx: any): ctx is ExpandCellContentDirectiveContext<Data>;
782
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowContentDirective<any>, never>;
783
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandRowContentDirective<any>, "[rxapExpandRowContent]", never, {}, {}, never, never, true, never>;
784
+ }
785
+ export declare class ExpandRowService<Data extends Record<string, any>> {
786
+ expandedRow: BehaviorSubject<Data | null>;
787
+ readonly expandedRowSignal: import("@angular/core").Signal<Data | null>;
788
+ toggleRow(row: Data): void;
789
+ isExpanded(row: Data): boolean;
790
+ isExpanded$(row: Data): Observable<boolean>;
791
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowService<any>, never>;
792
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
793
+ }
794
+ export declare class ExpandRowContainerComponent<Data extends Record<string, any>> {
795
+ private readonly viewContainerRef;
796
+ readonly expandCell: ExpandRowService<Data>;
797
+ readonly element: import("@angular/core").InputSignal<Data>;
798
+ readonly expandCellContent: import("@angular/core").Signal<ExpandRowContentDirective<any> | undefined>;
799
+ /**
800
+ * The portal is created with the first expand of the row and then kept.
801
+ */
802
+ readonly portal: import("@angular/core").WritableSignal<TemplatePortal<ExpandCellContentDirectiveContext<Data>> | null>;
803
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowContainerComponent<any>, never>;
804
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpandRowContainerComponent<any>, "td[rxap-expand-row]", never, {
805
+ "element": {
806
+ "alias": "element";
807
+ "required": true;
808
+ "isSignal": true;
809
+ };
810
+ }, {}, ["expandCellContent"], ["*"], true, never>;
811
+ }
812
+ export declare class ExpandControlsCellComponent<Data extends Record<string, any>> {
813
+ readonly expandCell: ExpandRowService<Data>;
814
+ readonly element: import("@angular/core").InputSignal<Data>;
815
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpandControlsCellComponent<any>, never>;
816
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpandControlsCellComponent<any>, "td[rxap-expand-controls-cell]", never, {
817
+ "element": {
818
+ "alias": "element";
819
+ "required": true;
820
+ "isSignal": true;
821
+ };
822
+ }, {}, never, never, true, never>;
823
+ }
824
+ export declare class ExpandRowDirective<Data extends Record<string, any>> {
825
+ private readonly expandCell;
826
+ readonly element: import("@angular/core").InputSignal<Data>;
827
+ readonly isExpanded: import("@angular/core").Signal<boolean>;
828
+ onClick(): void;
829
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowDirective<any>, never>;
830
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandRowDirective<any>, "tr[rxapExpandRow]", never, {
831
+ "element": {
832
+ "alias": "element";
833
+ "required": true;
834
+ "isSignal": true;
835
+ };
836
+ }, {}, never, never, true, never>;
837
+ }
838
+ export declare class TreeControlCellComponent implements DoCheck {
839
+ readonly offset: import("@angular/core").Signal<string>;
840
+ icon: IconConfig;
841
+ expandIcon: string;
842
+ readonly element: import("@angular/core").InputSignal<any>;
843
+ ngDoCheck(): void;
844
+ toggleExpand(): any;
845
+ private updateIcon;
846
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeControlCellComponent, never>;
847
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeControlCellComponent, "rxap-tree-control-cell, td[rxap-tree-control-cell]", never, {
848
+ "element": {
849
+ "alias": "rxap-tree-control-cell";
850
+ "required": false;
851
+ "isSignal": true;
852
+ };
853
+ }, {}, never, ["*"], true, never>;
854
+ }
855
+ export declare class OptionsCellComponent {
856
+ private readonly renderer;
857
+ readonly value: import("@angular/core").InputSignal<any>;
858
+ readonly defaultViewValue: import("@angular/core").InputSignal<string>;
859
+ readonly emptyViewValue: import("@angular/core").InputSignal<string>;
860
+ readonly options: import("@angular/core").Signal<readonly MatOption<any>[]>;
861
+ readonly viewValue: import("@angular/core").Signal<string>;
862
+ constructor();
863
+ getViewValue(): string;
864
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionsCellComponent, never>;
865
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionsCellComponent, "td[rxap-options-cell]", never, {
866
+ "value": {
867
+ "alias": "rxap-options-cell";
868
+ "required": false;
869
+ "isSignal": true;
870
+ };
871
+ "defaultViewValue": {
872
+ "alias": "default";
873
+ "required": false;
874
+ "isSignal": true;
875
+ };
876
+ "emptyViewValue": {
877
+ "alias": "empty";
878
+ "required": false;
879
+ "isSignal": true;
880
+ };
881
+ }, {}, ["options"], ["*"], true, never>;
882
+ }
883
+ export declare class LinkCellComponent {
884
+ readonly value: import("@angular/core").InputSignal<any>;
885
+ get href(): string;
886
+ readonly protocol: import("@angular/core").InputSignal<"tel" | "mailto" | undefined>;
887
+ readonly short: import("@angular/core").InputSignal<boolean>;
888
+ static ɵfac: i0.ɵɵFactoryDeclaration<LinkCellComponent, never>;
889
+ static ɵcmp: i0.ɵɵComponentDeclaration<LinkCellComponent, "td[rxap-link-cell]", never, {
890
+ "value": {
891
+ "alias": "rxap-link-cell";
892
+ "required": false;
893
+ "isSignal": true;
894
+ };
895
+ "protocol": {
896
+ "alias": "protocol";
897
+ "required": false;
898
+ "isSignal": true;
899
+ };
900
+ "short": {
901
+ "alias": "short";
902
+ "required": false;
903
+ "isSignal": true;
904
+ };
905
+ }, {}, never, ["*"], true, never>;
906
+ }
907
+ export declare class ImageCellComponent {
908
+ readonly preset: import("@angular/core").InputSignal<string | undefined>;
909
+ readonly size: import("@angular/core").InputSignal<string>;
910
+ readonly repeat: import("@angular/core").InputSignal<BackgroundRepeat>;
911
+ readonly position: import("@angular/core").InputSignal<string>;
912
+ readonly value: import("@angular/core").InputSignal<string | null>;
913
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageCellComponent, never>;
914
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageCellComponent, "td[rxap-image-cell]", never, {
915
+ "preset": {
916
+ "alias": "preset";
917
+ "required": false;
918
+ "isSignal": true;
919
+ };
920
+ "size": {
921
+ "alias": "size";
922
+ "required": false;
923
+ "isSignal": true;
924
+ };
925
+ "repeat": {
926
+ "alias": "repeat";
927
+ "required": false;
928
+ "isSignal": true;
929
+ };
930
+ "position": {
931
+ "alias": "position";
932
+ "required": false;
933
+ "isSignal": true;
934
+ };
935
+ "value": {
936
+ "alias": "rxap-image-cell";
937
+ "required": false;
938
+ "isSignal": true;
939
+ };
940
+ }, {}, never, ["*"], true, never>;
941
+ }
942
+ export declare class IconCellComponent {
943
+ readonly icon: import("@angular/core").InputSignal<IconConfig | null>;
944
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconCellComponent, never>;
945
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconCellComponent, "td[rxap-icon-cell]", never, {
946
+ "icon": {
947
+ "alias": "rxap-icon-cell";
948
+ "required": true;
949
+ "isSignal": true;
950
+ };
951
+ }, {}, never, ["*"], true, never>;
952
+ }
953
+ export declare class DateCellComponent {
954
+ readonly date: import("@angular/core").InputSignal<string | number | Date | null>;
955
+ readonly format: import("@angular/core").InputSignal<string>;
956
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateCellComponent, never>;
957
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateCellComponent, "td[rxap-date-cell]", never, {
958
+ "date": {
959
+ "alias": "rxap-date-cell";
960
+ "required": false;
961
+ "isSignal": true;
962
+ };
963
+ "format": {
964
+ "alias": "format";
965
+ "required": false;
966
+ "isSignal": true;
967
+ };
968
+ }, {}, never, ["*"], true, never>;
969
+ }
970
+ export declare class CopyToClipboardCellComponent {
971
+ readonly value: import("@angular/core").InputSignal<any>;
972
+ static ɵfac: i0.ɵɵFactoryDeclaration<CopyToClipboardCellComponent, never>;
973
+ static ɵcmp: i0.ɵɵComponentDeclaration<CopyToClipboardCellComponent, "td[rxap-copy-to-clipboard-cell]", never, {
974
+ "value": {
975
+ "alias": "rxap-copy-to-clipboard-cell";
976
+ "required": false;
977
+ "isSignal": true;
978
+ };
979
+ }, {}, never, ["*"], true, never>;
980
+ }
981
+ export declare class BooleanCellComponent {
982
+ readonly value: import("@angular/core").InputSignal<any>;
983
+ static ɵfac: i0.ɵɵFactoryDeclaration<BooleanCellComponent, never>;
984
+ static ɵcmp: i0.ɵɵComponentDeclaration<BooleanCellComponent, "td[rxap-boolean-cell]", never, {
985
+ "value": {
986
+ "alias": "rxap-boolean-cell";
987
+ "required": false;
988
+ "isSignal": true;
989
+ };
990
+ }, {}, never, ["*"], true, never>;
991
+ }
992
+ export declare class PersistentPaginatorDirective implements OnInit {
993
+ private readonly matPaginator;
994
+ readonly id: import("@angular/core").InputSignal<string | undefined>;
995
+ private readonly destroyRef;
996
+ ngOnInit(): void;
997
+ getKey(): string;
998
+ storeConfig(): void;
999
+ restoreConfig(): {
1000
+ pageSize: number;
1001
+ } | null;
1002
+ static ɵfac: i0.ɵɵFactoryDeclaration<PersistentPaginatorDirective, never>;
1003
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PersistentPaginatorDirective, "mat-paginator[rxapPersistent]", never, {
1004
+ "id": {
1005
+ "alias": "id";
1006
+ "required": false;
1007
+ "isSignal": true;
1008
+ };
1009
+ }, {}, never, never, true, never>;
1010
+ }
1011
+ export declare const RowAnimation: import("@angular/animations").AnimationTriggerMetadata;
1012
+ export interface TableRowMetadata {
1013
+ /**
1014
+ * the unique id of the row. Use to track the row in the table for change detection and other purposes
1015
+ */
1016
+ __rowId: string;
1017
+ /**
1018
+ * metadata for the row. Added by the table system to facilitate some features
1019
+ */
1020
+ __metadata__: {
1021
+ loading$: ToggleSubject;
1022
+ };
1023
+ }
1024
+ export type RawTableRow<T extends TableRowMetadata> = Omit<T, '__metadata__' | '__rowId'> & Partial<Pick<TableRowMetadata, '__rowId' | '__metadata__'>>;
1025
+ export type RowIdMapperFunction<T extends TableRowMetadata> = (row: RawTableRow<T>) => string;
804
1026
  /**
805
1027
  * Normalize the table row. Add the __rowId and __metadata__ properties to the row.
806
1028
  *
@@ -811,8 +1033,6 @@ type RowIdMapperFunction<T extends TableRowMetadata> = (row: RawTableRow<T>) =>
811
1033
  * @param rowId
812
1034
  * @returns T the normalized row
813
1035
  */
814
- declare function NormalizeTableRow<T extends TableRowMetadata>(row: RawTableRow<T>, rowId: string): T;
815
- declare function NormalizeTableRow<T extends TableRowMetadata>(row: RawTableRow<T>, rowIdMapper: RowIdMapperFunction<T>): T;
816
-
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 };
818
- export type { ExpandCellContentDirectiveContext, RawTableRow, RowActionCheckFunction, RowIdMapperFunction, SelectRowOptions, SelectedRowsDirectiveContext, SelectionChange, TableActionMethodOptions, TableHeaderButtonMethodOptions, TableRemoteMethodAdapterFactory, TableRowActionMethod, TableRowActionTypeMethod, TableRowActionTypeSwitchMethod, TableRowMetadata };
1036
+ export declare function NormalizeTableRow<T extends TableRowMetadata>(row: RawTableRow<T>, rowId: string): T;
1037
+ export declare function NormalizeTableRow<T extends TableRowMetadata>(row: RawTableRow<T>, rowIdMapper: RowIdMapperFunction<T>): T;
1038
+ export { RXAP_TABLE_METHOD };