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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/compodoc/changelog.html +52 -0
  3. package/compodoc/components/BooleanCellComponent.html +58 -43
  4. package/compodoc/components/CheckboxCellComponent.html +79 -88
  5. package/compodoc/components/CheckboxHeaderCellComponent.html +68 -152
  6. package/compodoc/components/CopyToClipboardCellComponent.html +48 -36
  7. package/compodoc/components/DateCellComponent.html +72 -68
  8. package/compodoc/components/ExpandControlsCellComponent.html +39 -96
  9. package/compodoc/components/ExpandRowContainerComponent.html +95 -173
  10. package/compodoc/components/IconCellComponent.html +47 -35
  11. package/compodoc/components/ImageCellComponent.html +170 -128
  12. package/compodoc/components/LinkCellComponent.html +140 -80
  13. package/compodoc/components/OptionsCellComponent.html +119 -250
  14. package/compodoc/components/TableColumnMenuComponent.html +146 -455
  15. package/compodoc/components/TableColumnOptionComponent.html +280 -378
  16. package/compodoc/components/TableSelectControlsComponent.html +30 -93
  17. package/compodoc/components/TableShowArchivedSlideComponent.html +67 -102
  18. package/compodoc/components/TreeControlCellComponent.html +63 -71
  19. package/compodoc/dependencies.html +19 -19
  20. package/compodoc/directives/AbstractTableRowAction.html +1568 -0
  21. package/compodoc/directives/ExpandRowContentDirective.html +7 -77
  22. package/compodoc/directives/ExpandRowDirective.html +76 -184
  23. package/compodoc/directives/FilterHeaderRowDirective.html +67 -177
  24. package/compodoc/directives/PersistentPaginatorDirective.html +60 -83
  25. package/compodoc/directives/SelectedRowsDirective.html +17 -115
  26. package/compodoc/directives/TableColumnFilterInputDirective.html +67 -100
  27. package/compodoc/directives/TableCreateButtonDirective.html +53 -194
  28. package/compodoc/directives/TableDataSourceDirective.html +298 -350
  29. package/compodoc/directives/TableHeaderButtonDirective.html +290 -435
  30. package/compodoc/directives/TableRowActionDirective.html +816 -105
  31. package/compodoc/directives/TableRowActionExecutingDirective.html +11 -80
  32. package/compodoc/directives/TableRowHeaderActionDirective.html +772 -335
  33. package/compodoc/graph/dependencies.svg +15 -433
  34. package/compodoc/injectables/ExpandRowService.html +43 -8
  35. package/compodoc/injectables/SelectRowService.html +17 -52
  36. package/compodoc/interfaces/ExpandCellContentDirectiveContext.html +3 -11
  37. package/compodoc/interfaces/SelectedRowsDirectiveContext.html +15 -40
  38. package/compodoc/js/menu-wc.js +4 -166
  39. package/compodoc/js/menu-wc_es5.js +1 -1
  40. package/compodoc/js/search/search_index.js +2 -2
  41. package/compodoc/modules/ExpandRowModule/dependencies.svg +20 -20
  42. package/compodoc/modules/ExpandRowModule.html +20 -20
  43. package/compodoc/modules/SelectRowModule/dependencies.svg +4 -4
  44. package/compodoc/modules/SelectRowModule.html +4 -4
  45. package/compodoc/modules.html +0 -85
  46. package/compodoc/overview.html +3 -467
  47. package/compodoc/pipes/RowActionCheckPipe.html +6 -13
  48. package/compodoc/properties.html +1 -1
  49. package/docs/documentation.json +10427 -11802
  50. package/docs/html/assets/hierarchy.js +1 -1
  51. package/docs/html/assets/navigation.js +1 -1
  52. package/docs/html/assets/search.js +1 -1
  53. package/docs/html/classes/AbstractTableRowAction.html +22 -20
  54. package/docs/html/classes/BooleanCellComponent.html +2 -2
  55. package/docs/html/classes/CheckboxCellComponent.html +3 -2
  56. package/docs/html/classes/CheckboxHeaderCellComponent.html +5 -11
  57. package/docs/html/classes/CopyToClipboardCellComponent.html +2 -2
  58. package/docs/html/classes/DateCellComponent.html +2 -2
  59. package/docs/html/classes/ExpandControlsCellComponent.html +2 -2
  60. package/docs/html/classes/ExpandRowContainerComponent.html +4 -11
  61. package/docs/html/classes/ExpandRowContentDirective.html +2 -2
  62. package/docs/html/classes/ExpandRowDirective.html +3 -3
  63. package/docs/html/classes/ExpandRowService.html +3 -2
  64. package/docs/html/classes/FilterHeaderRowDirective.html +74 -58
  65. package/docs/html/classes/IconCellComponent.html +2 -2
  66. package/docs/html/classes/ImageCellComponent.html +3 -3
  67. package/docs/html/classes/LinkCellComponent.html +3 -3
  68. package/docs/html/classes/OptionsCellComponent.html +2 -17
  69. package/docs/html/classes/PersistentPaginatorDirective.html +4 -7
  70. package/docs/html/classes/RowActionCheckPipe.html +2 -2
  71. package/docs/html/classes/SelectRowService.html +2 -2
  72. package/docs/html/classes/SelectedRowsDirective.html +2 -11
  73. package/docs/html/classes/SelectionModel.html +15 -15
  74. package/docs/html/classes/TableColumnFilterInputDirective.html +2 -9
  75. package/docs/html/classes/TableColumnFilterService.html +2 -2
  76. package/docs/html/classes/TableColumnMenuComponent.html +8 -13
  77. package/docs/html/classes/TableColumnOptionComponent.html +11 -12
  78. package/docs/html/classes/TableCreateButtonDirective.html +3 -9
  79. package/docs/html/classes/TableDataSourceDirective.html +14 -11
  80. package/docs/html/classes/TableFilterService.html +3 -3
  81. package/docs/html/classes/TableHeaderButtonDirective.html +18 -20
  82. package/docs/html/classes/TableRowActionDirective.html +22 -20
  83. package/docs/html/classes/TableRowActionExecutingDirective.html +2 -2
  84. package/docs/html/classes/TableRowHeaderActionDirective.html +23 -21
  85. package/docs/html/classes/TableSelectControlsComponent.html +3 -3
  86. package/docs/html/classes/TableShowArchivedSlideComponent.html +4 -8
  87. package/docs/html/classes/ToFilterColumnNamesPipe.html +2 -2
  88. package/docs/html/classes/TreeControlCellComponent.html +3 -9
  89. package/docs/html/enums/TableHeaderButtonActionStatus.html +2 -2
  90. package/docs/html/enums/TableRowActionStatus.html +2 -2
  91. package/docs/html/functions/GetTableHeaderButtonMetadata.html +1 -1
  92. package/docs/html/functions/GetTableRowActionCheckFunction.html +1 -1
  93. package/docs/html/functions/GetTableRowActionMetadata.html +1 -1
  94. package/docs/html/functions/HasTableRowActionCheckFunction.html +1 -1
  95. package/docs/html/functions/HasTableRowActionMetadata.html +1 -1
  96. package/docs/html/functions/IsTableRowActionTypeMethod.html +1 -1
  97. package/docs/html/functions/IsTableRowActionTypeSwitchMethod.html +1 -1
  98. package/docs/html/functions/NormalizeTableRow.html +3 -3
  99. package/docs/html/functions/TableActionMethod.html +1 -1
  100. package/docs/html/functions/TableHeaderButtonMethod.html +1 -1
  101. package/docs/html/functions/getMultipleValuesInSingleSelectionError.html +2 -2
  102. package/docs/html/hierarchy.html +1 -1
  103. package/docs/html/index.html +2 -2
  104. package/docs/html/interfaces/ExpandCellContentDirectiveContext.html +2 -2
  105. package/docs/html/interfaces/SelectRowOptions.html +2 -2
  106. package/docs/html/interfaces/SelectedRowsDirectiveContext.html +2 -2
  107. package/docs/html/interfaces/SelectionChange.html +5 -5
  108. package/docs/html/interfaces/TableActionMethodOptions.html +9 -9
  109. package/docs/html/interfaces/TableHeaderButtonMethodOptions.html +6 -6
  110. package/docs/html/interfaces/TableRowMetadata.html +3 -3
  111. package/docs/html/modules.html +1 -1
  112. package/docs/html/types/RawTableRow.html +1 -1
  113. package/docs/html/types/RowActionCheckFunction.html +1 -1
  114. package/docs/html/types/RowIdMapperFunction.html +1 -1
  115. package/docs/html/types/TableRemoteMethodAdapterFactory.html +1 -1
  116. package/docs/html/types/TableRowActionMethod.html +1 -1
  117. package/docs/html/types/TableRowActionTypeMethod.html +1 -1
  118. package/docs/html/types/TableRowActionTypeSwitchMethod.html +1 -1
  119. package/docs/html/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.html +1 -1
  120. package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.html +2 -2
  121. package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_METADATA.html +1 -1
  122. package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.html +2 -2
  123. package/docs/html/variables/RXAP_TABLE_FILTER.html +1 -1
  124. package/docs/html/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.html +1 -1
  125. package/docs/html/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.html +1 -1
  126. package/docs/html/variables/RXAP_TABLE_METHOD.html +1 -1
  127. package/docs/html/variables/RXAP_TABLE_ROW_ACTION_METHOD.html +1 -1
  128. package/docs/html/variables/RowAnimation.html +1 -1
  129. package/docs/html/variables/TABLE_CREATE_REMOTE_METHOD.html +1 -1
  130. package/docs/html/variables/TABLE_DATA_SOURCE.html +1 -1
  131. package/docs/html/variables/TABLE_HEADER_BUTTON_METHOD.html +1 -1
  132. package/docs/html/variables/TABLE_REMOTE_METHOD.html +2 -2
  133. package/docs/html/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.html +1 -1
  134. package/docs/markdown/README.md +1 -1
  135. package/docs/markdown/classes/AbstractTableRowAction.md +107 -147
  136. package/docs/markdown/classes/BooleanCellComponent.md +4 -4
  137. package/docs/markdown/classes/CheckboxCellComponent.md +14 -14
  138. package/docs/markdown/classes/CheckboxHeaderCellComponent.md +12 -50
  139. package/docs/markdown/classes/CopyToClipboardCellComponent.md +4 -4
  140. package/docs/markdown/classes/DateCellComponent.md +6 -6
  141. package/docs/markdown/classes/ExpandControlsCellComponent.md +6 -14
  142. package/docs/markdown/classes/ExpandRowContainerComponent.md +12 -67
  143. package/docs/markdown/classes/ExpandRowContentDirective.md +5 -13
  144. package/docs/markdown/classes/ExpandRowDirective.md +9 -23
  145. package/docs/markdown/classes/ExpandRowService.md +14 -6
  146. package/docs/markdown/classes/FilterHeaderRowDirective.md +339 -227
  147. package/docs/markdown/classes/IconCellComponent.md +4 -4
  148. package/docs/markdown/classes/ImageCellComponent.md +13 -13
  149. package/docs/markdown/classes/LinkCellComponent.md +10 -10
  150. package/docs/markdown/classes/OptionsCellComponent.md +15 -108
  151. package/docs/markdown/classes/PersistentPaginatorDirective.md +10 -38
  152. package/docs/markdown/classes/RowActionCheckPipe.md +5 -11
  153. package/docs/markdown/classes/SelectRowService.md +9 -15
  154. package/docs/markdown/classes/SelectedRowsDirective.md +4 -68
  155. package/docs/markdown/classes/SelectionModel.md +16 -16
  156. package/docs/markdown/classes/TableColumnFilterInputDirective.md +6 -60
  157. package/docs/markdown/classes/TableColumnFilterService.md +5 -5
  158. package/docs/markdown/classes/TableColumnMenuComponent.md +18 -93
  159. package/docs/markdown/classes/TableColumnOptionComponent.md +40 -103
  160. package/docs/markdown/classes/TableCreateButtonDirective.md +7 -46
  161. package/docs/markdown/classes/TableDataSourceDirective.md +49 -84
  162. package/docs/markdown/classes/TableFilterService.md +11 -11
  163. package/docs/markdown/classes/TableHeaderButtonDirective.md +88 -124
  164. package/docs/markdown/classes/TableRowActionDirective.md +136 -160
  165. package/docs/markdown/classes/TableRowActionExecutingDirective.md +6 -18
  166. package/docs/markdown/classes/TableRowHeaderActionDirective.md +133 -174
  167. package/docs/markdown/classes/TableSelectControlsComponent.md +8 -20
  168. package/docs/markdown/classes/TableShowArchivedSlideComponent.md +8 -46
  169. package/docs/markdown/classes/ToFilterColumnNamesPipe.md +3 -3
  170. package/docs/markdown/classes/TreeControlCellComponent.md +10 -33
  171. package/docs/markdown/enumerations/TableHeaderButtonActionStatus.md +6 -6
  172. package/docs/markdown/enumerations/TableRowActionStatus.md +6 -6
  173. package/docs/markdown/functions/GetTableHeaderButtonMetadata.md +2 -2
  174. package/docs/markdown/functions/GetTableRowActionCheckFunction.md +2 -2
  175. package/docs/markdown/functions/GetTableRowActionMetadata.md +2 -2
  176. package/docs/markdown/functions/HasTableRowActionCheckFunction.md +2 -2
  177. package/docs/markdown/functions/HasTableRowActionMetadata.md +2 -2
  178. package/docs/markdown/functions/IsTableRowActionTypeMethod.md +2 -2
  179. package/docs/markdown/functions/IsTableRowActionTypeSwitchMethod.md +2 -2
  180. package/docs/markdown/functions/NormalizeTableRow.md +3 -3
  181. package/docs/markdown/functions/TableActionMethod.md +3 -3
  182. package/docs/markdown/functions/TableHeaderButtonMethod.md +2 -2
  183. package/docs/markdown/functions/getMultipleValuesInSingleSelectionError.md +2 -2
  184. package/docs/markdown/globals.md +2 -7
  185. package/docs/markdown/interfaces/ExpandCellContentDirectiveContext.md +3 -3
  186. package/docs/markdown/interfaces/SelectRowOptions.md +6 -6
  187. package/docs/markdown/interfaces/SelectedRowsDirectiveContext.md +3 -3
  188. package/docs/markdown/interfaces/SelectionChange.md +5 -5
  189. package/docs/markdown/interfaces/TableActionMethodOptions.md +11 -11
  190. package/docs/markdown/interfaces/TableHeaderButtonMethodOptions.md +7 -7
  191. package/docs/markdown/interfaces/TableRowMetadata.md +4 -4
  192. package/docs/markdown/type-aliases/RawTableRow.md +2 -2
  193. package/docs/markdown/type-aliases/RowActionCheckFunction.md +2 -2
  194. package/docs/markdown/type-aliases/RowIdMapperFunction.md +2 -2
  195. package/docs/markdown/type-aliases/TableRemoteMethodAdapterFactory.md +2 -2
  196. package/docs/markdown/type-aliases/TableRowActionMethod.md +2 -2
  197. package/docs/markdown/type-aliases/TableRowActionTypeMethod.md +2 -2
  198. package/docs/markdown/type-aliases/TableRowActionTypeSwitchMethod.md +2 -2
  199. package/docs/markdown/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +2 -2
  200. package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +2 -2
  201. package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_METADATA.md +2 -2
  202. package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +2 -2
  203. package/docs/markdown/variables/RXAP_TABLE_FILTER.md +2 -2
  204. package/docs/markdown/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.md +2 -2
  205. package/docs/markdown/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +2 -2
  206. package/docs/markdown/variables/RXAP_TABLE_METHOD.md +2 -2
  207. package/docs/markdown/variables/RXAP_TABLE_ROW_ACTION_METHOD.md +2 -2
  208. package/docs/markdown/variables/RowAnimation.md +2 -2
  209. package/docs/markdown/variables/TABLE_CREATE_REMOTE_METHOD.md +2 -2
  210. package/docs/markdown/variables/TABLE_DATA_SOURCE.md +2 -2
  211. package/docs/markdown/variables/TABLE_HEADER_BUTTON_METHOD.md +2 -2
  212. package/docs/markdown/variables/TABLE_REMOTE_METHOD.md +2 -2
  213. package/docs/markdown/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +2 -2
  214. package/docs/wiki/Class.AbstractTableRowAction.md +106 -146
  215. package/docs/wiki/Class.BooleanCellComponent.md +3 -3
  216. package/docs/wiki/Class.CheckboxCellComponent.md +13 -13
  217. package/docs/wiki/Class.CheckboxHeaderCellComponent.md +11 -49
  218. package/docs/wiki/Class.CopyToClipboardCellComponent.md +3 -3
  219. package/docs/wiki/Class.DateCellComponent.md +5 -5
  220. package/docs/wiki/Class.ExpandControlsCellComponent.md +5 -13
  221. package/docs/wiki/Class.ExpandRowContainerComponent.md +11 -66
  222. package/docs/wiki/Class.ExpandRowContentDirective.md +4 -12
  223. package/docs/wiki/Class.ExpandRowDirective.md +8 -22
  224. package/docs/wiki/Class.ExpandRowService.md +13 -5
  225. package/docs/wiki/Class.FilterHeaderRowDirective.md +338 -226
  226. package/docs/wiki/Class.IconCellComponent.md +3 -3
  227. package/docs/wiki/Class.ImageCellComponent.md +12 -12
  228. package/docs/wiki/Class.LinkCellComponent.md +9 -9
  229. package/docs/wiki/Class.OptionsCellComponent.md +14 -107
  230. package/docs/wiki/Class.PersistentPaginatorDirective.md +9 -37
  231. package/docs/wiki/Class.RowActionCheckPipe.md +4 -10
  232. package/docs/wiki/Class.SelectRowService.md +8 -14
  233. package/docs/wiki/Class.SelectedRowsDirective.md +3 -67
  234. package/docs/wiki/Class.SelectionModel.md +15 -15
  235. package/docs/wiki/Class.TableColumnFilterInputDirective.md +5 -59
  236. package/docs/wiki/Class.TableColumnFilterService.md +4 -4
  237. package/docs/wiki/Class.TableColumnMenuComponent.md +17 -92
  238. package/docs/wiki/Class.TableColumnOptionComponent.md +39 -102
  239. package/docs/wiki/Class.TableCreateButtonDirective.md +6 -45
  240. package/docs/wiki/Class.TableDataSourceDirective.md +48 -83
  241. package/docs/wiki/Class.TableFilterService.md +10 -10
  242. package/docs/wiki/Class.TableHeaderButtonDirective.md +87 -123
  243. package/docs/wiki/Class.TableRowActionDirective.md +135 -159
  244. package/docs/wiki/Class.TableRowActionExecutingDirective.md +5 -17
  245. package/docs/wiki/Class.TableRowHeaderActionDirective.md +132 -173
  246. package/docs/wiki/Class.TableSelectControlsComponent.md +7 -19
  247. package/docs/wiki/Class.TableShowArchivedSlideComponent.md +7 -45
  248. package/docs/wiki/Class.ToFilterColumnNamesPipe.md +2 -2
  249. package/docs/wiki/Class.TreeControlCellComponent.md +9 -32
  250. package/docs/wiki/Enumeration.TableHeaderButtonActionStatus.md +5 -5
  251. package/docs/wiki/Enumeration.TableRowActionStatus.md +5 -5
  252. package/docs/wiki/Function.GetTableHeaderButtonMetadata.md +1 -1
  253. package/docs/wiki/Function.GetTableRowActionCheckFunction.md +1 -1
  254. package/docs/wiki/Function.GetTableRowActionMetadata.md +1 -1
  255. package/docs/wiki/Function.HasTableRowActionCheckFunction.md +1 -1
  256. package/docs/wiki/Function.HasTableRowActionMetadata.md +1 -1
  257. package/docs/wiki/Function.IsTableRowActionTypeMethod.md +1 -1
  258. package/docs/wiki/Function.IsTableRowActionTypeSwitchMethod.md +1 -1
  259. package/docs/wiki/Function.NormalizeTableRow.md +2 -2
  260. package/docs/wiki/Function.TableActionMethod.md +2 -2
  261. package/docs/wiki/Function.TableHeaderButtonMethod.md +1 -1
  262. package/docs/wiki/Function.getMultipleValuesInSingleSelectionError.md +1 -1
  263. package/docs/wiki/Interface.ExpandCellContentDirectiveContext.md +2 -2
  264. package/docs/wiki/Interface.SelectRowOptions.md +5 -5
  265. package/docs/wiki/Interface.SelectedRowsDirectiveContext.md +2 -2
  266. package/docs/wiki/Interface.SelectionChange.md +4 -4
  267. package/docs/wiki/Interface.TableActionMethodOptions.md +10 -10
  268. package/docs/wiki/Interface.TableHeaderButtonMethodOptions.md +6 -6
  269. package/docs/wiki/Interface.TableRowMetadata.md +3 -3
  270. package/docs/wiki/TypeAlias.RawTableRow.md +1 -1
  271. package/docs/wiki/TypeAlias.RowActionCheckFunction.md +1 -1
  272. package/docs/wiki/TypeAlias.RowIdMapperFunction.md +1 -1
  273. package/docs/wiki/TypeAlias.TableRemoteMethodAdapterFactory.md +1 -1
  274. package/docs/wiki/TypeAlias.TableRowActionMethod.md +1 -1
  275. package/docs/wiki/TypeAlias.TableRowActionTypeMethod.md +1 -1
  276. package/docs/wiki/TypeAlias.TableRowActionTypeSwitchMethod.md +1 -1
  277. package/docs/wiki/Variable.RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +1 -1
  278. package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +1 -1
  279. package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_METADATA.md +1 -1
  280. package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +1 -1
  281. package/docs/wiki/Variable.RXAP_TABLE_FILTER.md +1 -1
  282. package/docs/wiki/Variable.RXAP_TABLE_FILTER_FORM_DEFINITION.md +1 -1
  283. package/docs/wiki/Variable.RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +1 -1
  284. package/docs/wiki/Variable.RXAP_TABLE_METHOD.md +1 -1
  285. package/docs/wiki/Variable.RXAP_TABLE_ROW_ACTION_METHOD.md +1 -1
  286. package/docs/wiki/Variable.RowAnimation.md +1 -1
  287. package/docs/wiki/Variable.TABLE_CREATE_REMOTE_METHOD.md +1 -1
  288. package/docs/wiki/Variable.TABLE_DATA_SOURCE.md +1 -1
  289. package/docs/wiki/Variable.TABLE_HEADER_BUTTON_METHOD.md +1 -1
  290. package/docs/wiki/Variable.TABLE_REMOTE_METHOD.md +1 -1
  291. package/docs/wiki/Variable.TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +1 -1
  292. package/docs/wiki/_Sidebar.md +0 -5
  293. package/docs/wiki/globals.md +1 -6
  294. package/fesm2022/rxap-material-table-system.mjs +619 -1198
  295. package/fesm2022/rxap-material-table-system.mjs.map +1 -1
  296. package/package.json +49 -48
  297. package/types/rxap-material-table-system.d.ts +818 -0
  298. package/docs/html/classes/ExpandRowModule.html +0 -2
  299. package/docs/html/classes/SelectRowModule.html +0 -2
  300. package/docs/html/classes/TableColumnMenuModule.html +0 -2
  301. package/docs/html/classes/TableFilterModule.html +0 -2
  302. package/docs/html/classes/TableRowActionsModule.html +0 -2
  303. package/docs/markdown/classes/ExpandRowModule.md +0 -19
  304. package/docs/markdown/classes/SelectRowModule.md +0 -19
  305. package/docs/markdown/classes/TableColumnMenuModule.md +0 -19
  306. package/docs/markdown/classes/TableFilterModule.md +0 -19
  307. package/docs/markdown/classes/TableRowActionsModule.md +0 -19
  308. package/docs/wiki/Class.ExpandRowModule.md +0 -15
  309. package/docs/wiki/Class.SelectRowModule.md +0 -15
  310. package/docs/wiki/Class.TableColumnMenuModule.md +0 -15
  311. package/docs/wiki/Class.TableFilterModule.md +0 -15
  312. package/docs/wiki/Class.TableRowActionsModule.md +0 -15
  313. package/index.d.ts +0 -55
  314. package/lib/cells/boolean-cell/boolean-cell.component.d.ts +0 -6
  315. package/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.d.ts +0 -6
  316. package/lib/cells/date-cell/date-cell.component.d.ts +0 -7
  317. package/lib/cells/icon-cell/icon-cell.component.d.ts +0 -7
  318. package/lib/cells/image-cell/image-cell.component.d.ts +0 -11
  319. package/lib/cells/link-cell/link-cell.component.d.ts +0 -9
  320. package/lib/cells/options-cell/options-cell.component.d.ts +0 -22
  321. package/lib/cells/tree-control-cell/tree-control-cell.component.d.ts +0 -16
  322. package/lib/expand-row/expand-controls-cell/expand-controls-cell.component.d.ts +0 -9
  323. package/lib/expand-row/expand-row-container/expand-row-container.component.d.ts +0 -18
  324. package/lib/expand-row/expand-row-container/expand-row-content.directive.d.ts +0 -12
  325. package/lib/expand-row/expand-row.directive.d.ts +0 -11
  326. package/lib/expand-row/expand-row.module.d.ts +0 -7
  327. package/lib/expand-row/expand-row.service.d.ts +0 -11
  328. package/lib/persistent-paginator.directive.d.ts +0 -18
  329. package/lib/row-animation.d.ts +0 -1
  330. package/lib/select-row/checkbox-cell/checkbox-cell.component.d.ts +0 -9
  331. package/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.d.ts +0 -18
  332. package/lib/select-row/select-row.module.d.ts +0 -9
  333. package/lib/select-row/select-row.options.d.ts +0 -6
  334. package/lib/select-row/select-row.service.d.ts +0 -14
  335. package/lib/select-row/selected-rows.directive.d.ts +0 -18
  336. package/lib/select-row/selection-model.d.ts +0 -118
  337. package/lib/select-row/tokens.d.ts +0 -3
  338. package/lib/table-column-filter/table-column-filter-input.directive.d.ts +0 -15
  339. package/lib/table-column-filter/table-column-filter.service.d.ts +0 -10
  340. package/lib/table-column-menu/table-column-menu.component.d.ts +0 -24
  341. package/lib/table-column-menu/table-column-menu.module.d.ts +0 -9
  342. package/lib/table-column-menu/table-column-option/table-column-option.component.d.ts +0 -27
  343. package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.d.ts +0 -18
  344. package/lib/table-create-button/table-create-button.directive.d.ts +0 -18
  345. package/lib/table-create-button/tokens.d.ts +0 -3
  346. package/lib/table-data-source.directive.d.ts +0 -61
  347. package/lib/table-filter/filter-header-row.directive.d.ts +0 -14
  348. package/lib/table-filter/table-filter.module.d.ts +0 -8
  349. package/lib/table-filter/table-filter.service.d.ts +0 -25
  350. package/lib/table-filter/to-filter-column-names.pipe.d.ts +0 -7
  351. package/lib/table-filter/tokens.d.ts +0 -2
  352. package/lib/table-header-button/decorators.d.ts +0 -26
  353. package/lib/table-header-button/table-header-button-action-status.d.ts +0 -6
  354. package/lib/table-header-button/table-header-button.directive.d.ts +0 -55
  355. package/lib/table-header-button/tokens.d.ts +0 -3
  356. package/lib/table-row-actions/abstract-table-row-action.d.ts +0 -76
  357. package/lib/table-row-actions/decorators.d.ts +0 -47
  358. package/lib/table-row-actions/row-action-check.pipe.d.ts +0 -10
  359. package/lib/table-row-actions/table-row-action-executing.directive.d.ts +0 -11
  360. package/lib/table-row-actions/table-row-action-status.d.ts +0 -6
  361. package/lib/table-row-actions/table-row-action.directive.d.ts +0 -9
  362. package/lib/table-row-actions/table-row-action.method.d.ts +0 -8
  363. package/lib/table-row-actions/table-row-actions.module.d.ts +0 -16
  364. package/lib/table-row-actions/table-row-header-action.directive.d.ts +0 -22
  365. package/lib/table-row-actions/tokens.d.ts +0 -2
  366. package/lib/table-row-actions/types.d.ts +0 -8
  367. package/lib/table-row-metadata.d.ts +0 -27
  368. package/lib/table-select-controls/table-select-controls.component.d.ts +0 -14
@@ -1,18 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { MatPaginator } from '@angular/material/paginator';
3
- import * as i0 from "@angular/core";
4
- export declare class PersistentPaginatorDirective implements OnInit, OnDestroy {
5
- private readonly matPaginator;
6
- id?: string;
7
- private _subscription?;
8
- constructor(matPaginator: MatPaginator);
9
- ngOnInit(): void;
10
- ngOnDestroy(): void;
11
- getKey(): string;
12
- storeConfig(): void;
13
- restoreConfig(): {
14
- pageSize: number;
15
- } | null;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<PersistentPaginatorDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<PersistentPaginatorDirective, "mat-paginator[rxapPersistent]", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
18
- }
@@ -1 +0,0 @@
1
- export declare const RowAnimation: import("@angular/animations").AnimationTriggerMetadata;
@@ -1,9 +0,0 @@
1
- import { SelectRowService } from '../select-row.service';
2
- import * as i0 from "@angular/core";
3
- export declare class CheckboxCellComponent<Data extends Record<string, any>> {
4
- readonly selectRow: SelectRowService<Data>;
5
- element: Data;
6
- constructor(selectRow: SelectRowService<Data>);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxCellComponent<any>, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxCellComponent<any>, "td[rxap-checkbox-cell]", never, { "element": { "alias": "element"; "required": true; }; }, {}, never, never, true, never>;
9
- }
@@ -1,18 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { SelectRowService } from '../select-row.service';
3
- import type { Observable } from 'rxjs';
4
- import { MatCheckboxChange } from '@angular/material/checkbox';
5
- import { CdkTable } from '@angular/cdk/table';
6
- import * as i0 from "@angular/core";
7
- export declare class CheckboxHeaderCellComponent<Data extends Record<string, any>> implements OnInit {
8
- private readonly cdkTable;
9
- private readonly selectRow;
10
- indeterminate$: Observable<boolean>;
11
- checked$: Observable<boolean>;
12
- isMultipleSelection: boolean;
13
- constructor(cdkTable: CdkTable<Data>, selectRow: SelectRowService<Data>);
14
- ngOnInit(): void;
15
- onChange($event: MatCheckboxChange): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxHeaderCellComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxHeaderCellComponent<any>, "th[rxap-checkbox-header-cell]", never, {}, {}, never, never, true, never>;
18
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./selected-rows.directive";
3
- import * as i2 from "./checkbox-cell/checkbox-cell.component";
4
- import * as i3 from "./checkbox-header-cell/checkbox-header-cell.component";
5
- export declare class SelectRowModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectRowModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<SelectRowModule, never, [typeof i1.SelectedRowsDirective, typeof i2.CheckboxCellComponent, typeof i3.CheckboxHeaderCellComponent], [typeof i2.CheckboxCellComponent, typeof i3.CheckboxHeaderCellComponent, typeof i1.SelectedRowsDirective]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<SelectRowModule>;
9
- }
@@ -1,6 +0,0 @@
1
- export interface SelectRowOptions<RowData = unknown> {
2
- multiple?: boolean;
3
- selected?: RowData[];
4
- emitChanges?: boolean;
5
- compareWith?: (o1: RowData, o2: RowData) => boolean;
6
- }
@@ -1,14 +0,0 @@
1
- import type { Observable } from 'rxjs';
2
- import { SelectRowOptions } from './select-row.options';
3
- import { SelectionModel } from './selection-model';
4
- import * as i0 from "@angular/core";
5
- export declare class SelectRowService<Data = unknown> {
6
- selectedRows$: Observable<Data[]>;
7
- readonly selectionModel: SelectionModel<Data>;
8
- get selectedRows(): Data[];
9
- constructor(options?: SelectRowOptions<Data> | null);
10
- clear(): void;
11
- compareWith(a: Data, b: Data): boolean;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectRowService<any>, [{ optional: true; }]>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<SelectRowService<any>>;
14
- }
@@ -1,18 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { SelectRowService } from './select-row.service';
3
- import * as i0 from "@angular/core";
4
- export interface SelectedRowsDirectiveContext<Data extends Record<string, any>> {
5
- $implicit: Data[];
6
- }
7
- export declare class SelectedRowsDirective<Data extends Record<string, any>> implements OnInit, OnDestroy {
8
- private readonly template;
9
- private readonly viewContainerRef;
10
- private readonly cdr;
11
- private readonly selectRowService;
12
- private _subscription?;
13
- constructor(template: TemplateRef<SelectedRowsDirectiveContext<Data>>, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef, selectRowService: SelectRowService<Data>);
14
- ngOnDestroy(): void;
15
- ngOnInit(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectedRowsDirective<any>, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectedRowsDirective<any>, "[rxapSelectedRows]", never, {}, {}, never, never, true, never>;
18
- }
@@ -1,118 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { Subject } from 'rxjs';
9
- /**
10
- * Class to be used to power selecting one or more options from a list.
11
- */
12
- export declare class SelectionModel<T> {
13
- private _multiple;
14
- private _emitChanges;
15
- compareWith?: ((o1: T, o2: T) => boolean) | undefined;
16
- /** Currently-selected values. */
17
- private _selection;
18
- /** Keeps track of the deselected options that haven't been emitted by the change event. */
19
- private _deselectedToEmit;
20
- /** Keeps track of the selected options that haven't been emitted by the change event. */
21
- private _selectedToEmit;
22
- /** Cache for the array value of the selected items. */
23
- private _selected;
24
- /** Selected values. */
25
- get selected(): T[];
26
- /** Event emitted when the value has changed. */
27
- readonly changed: Subject<SelectionChange<T>>;
28
- constructor(_multiple?: boolean, initiallySelectedValues?: T[], _emitChanges?: boolean, compareWith?: ((o1: T, o2: T) => boolean) | undefined);
29
- /**
30
- * Selects a value or an array of values.
31
- * @param values The values to select
32
- * @return Whether the selection changed as a result of this call
33
- * @breaking-change 16.0.0 make return type boolean
34
- */
35
- select(...values: T[]): boolean | void;
36
- /**
37
- * Deselects a value or an array of values.
38
- * @param values The values to deselect
39
- * @return Whether the selection changed as a result of this call
40
- * @breaking-change 16.0.0 make return type boolean
41
- */
42
- deselect(...values: T[]): boolean | void;
43
- /**
44
- * Sets the selected values
45
- * @param values The new selected values
46
- * @return Whether the selection changed as a result of this call
47
- * @breaking-change 16.0.0 make return type boolean
48
- */
49
- setSelection(...values: T[]): boolean | void;
50
- /**
51
- * Toggles a value between selected and deselected.
52
- * @param value The value to toggle
53
- * @return Whether the selection changed as a result of this call
54
- * @breaking-change 16.0.0 make return type boolean
55
- */
56
- toggle(value: T): boolean | void;
57
- /**
58
- * Clears all of the selected values.
59
- * @param flushEvent Whether to flush the changes in an event.
60
- * If false, the changes to the selection will be flushed along with the next event.
61
- * @return Whether the selection changed as a result of this call
62
- * @breaking-change 16.0.0 make return type boolean
63
- */
64
- clear(flushEvent?: boolean): boolean | void;
65
- /**
66
- * Determines whether a value is selected.
67
- */
68
- isSelected(value: T): boolean;
69
- /**
70
- * Determines whether the model does not have a value.
71
- */
72
- isEmpty(): boolean;
73
- /**
74
- * Determines whether the model has a value.
75
- */
76
- hasValue(): boolean;
77
- /**
78
- * Sorts the selected values based on a predicate function.
79
- */
80
- sort(predicate?: (a: T, b: T) => number): void;
81
- /**
82
- * Gets whether multiple values can be selected.
83
- */
84
- isMultipleSelection(): boolean;
85
- /** Emits a change event and clears the records of selected and deselected values. */
86
- private _emitChangeEvent;
87
- /** Selects a value. */
88
- private _markSelected;
89
- /** Deselects a value. */
90
- private _unmarkSelected;
91
- /** Clears out the selected values. */
92
- private _unmarkAll;
93
- /**
94
- * Verifies the value assignment and throws an error if the specified value array is
95
- * including multiple values while the selection model is not supporting multiple values.
96
- */
97
- private _verifyValueAssignment;
98
- /** Whether there are queued up change to be emitted. */
99
- private _hasQueuedChanges;
100
- }
101
- /**
102
- * Event emitted when the value of a MatSelectionModel has changed.
103
- * @docs-private
104
- */
105
- export interface SelectionChange<T> {
106
- /** Model that dispatched the event. */
107
- source: SelectionModel<T>;
108
- /** Options that were added to the model. */
109
- added: T[];
110
- /** Options that were removed from the model. */
111
- removed: T[];
112
- }
113
- /**
114
- * Returns an error that reports that multiple values are passed into a selection model
115
- * with a single value.
116
- * @docs-private
117
- */
118
- export declare function getMultipleValuesInSingleSelectionError(): Error;
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { SelectRowOptions } from './select-row.options';
3
- export declare const RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS: InjectionToken<SelectRowOptions<unknown>>;
@@ -1,15 +0,0 @@
1
- import { AfterViewInit, OnDestroy } from '@angular/core';
2
- import { NgModel } from '@angular/forms';
3
- import { TableColumnFilterService } from './table-column-filter.service';
4
- import * as i0 from "@angular/core";
5
- export declare class TableColumnFilterInputDirective implements AfterViewInit, OnDestroy {
6
- private readonly ngModel;
7
- private readonly tableColumnFilterService;
8
- column: string;
9
- private _subscription?;
10
- constructor(ngModel: NgModel, tableColumnFilterService: TableColumnFilterService);
11
- ngOnDestroy(): void;
12
- ngAfterViewInit(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnFilterInputDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnFilterInputDirective, "input[ngModel][rxapTableColumnFilterInput]", never, { "column": { "alias": "column"; "required": true; }; }, {}, never, never, true, never>;
15
- }
@@ -1,10 +0,0 @@
1
- import { FilterLike } from '@rxap/data-source/table';
2
- import { BehaviorSubject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class TableColumnFilterService implements FilterLike {
5
- readonly change: BehaviorSubject<Record<string, string>>;
6
- get current(): Record<string, string>;
7
- setFilter(column: string, value: string | undefined | null): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnFilterService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<TableColumnFilterService>;
10
- }
@@ -1,24 +0,0 @@
1
- import type { QueryList } from '@angular/core';
2
- import { AfterContentInit } from '@angular/core';
3
- import { TableColumnOptionComponent } from './table-column-option/table-column-option.component';
4
- import * as i0 from "@angular/core";
5
- export declare class TableColumnMenuComponent implements AfterContentInit {
6
- get visibleColumns(): TableColumnOptionComponent[] | undefined;
7
- columns?: QueryList<TableColumnOptionComponent>;
8
- displayColumns: string[];
9
- private _inline;
10
- get inline(): boolean | '';
11
- /**
12
- * true - the menu is displayed inline and not absolute
13
- * @param value
14
- */
15
- set inline(value: boolean | '');
16
- set matCard(value: boolean | '');
17
- private _matCardMode;
18
- ngAfterContentInit(): void;
19
- updateDisplayColumns(): void;
20
- activate(columnName: string): void;
21
- deactivate(columnName: string): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnMenuComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnMenuComponent, "rxap-table-column-menu", ["rxapTableColumns"], { "inline": { "alias": "inline"; "required": false; }; "matCard": { "alias": "matCard"; "required": false; }; }, {}, ["columns"], ["[mat-menu-item],mat-divider"], true, never>;
24
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./table-column-menu.component";
3
- import * as i2 from "./table-show-archived-slide/table-show-archived-slide.component";
4
- import * as i3 from "./table-column-option/table-column-option.component";
5
- export declare class TableColumnMenuModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnMenuModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableColumnMenuModule, never, [typeof i1.TableColumnMenuComponent, typeof i2.TableShowArchivedSlideComponent, typeof i3.TableColumnOptionComponent], [typeof i1.TableColumnMenuComponent, typeof i2.TableShowArchivedSlideComponent, typeof i3.TableColumnOptionComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<TableColumnMenuModule>;
9
- }
@@ -1,27 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import * as i0 from "@angular/core";
4
- export declare class TableColumnOptionComponent implements OnInit {
5
- private _element;
6
- private readonly router;
7
- name: string;
8
- active: boolean;
9
- /**
10
- * The displayed value of the option. It is necessary to show the selected option in the
11
- * select's trigger.
12
- */
13
- get display(): string;
14
- set inactive(value: boolean | '');
15
- set hidden(value: boolean | '');
16
- get hidden(): boolean | '';
17
- private _hidden;
18
- set show(value: boolean);
19
- private get cacheId();
20
- constructor(_element: ElementRef<HTMLElement>, router: Router);
21
- ngOnInit(): void;
22
- toggle(): void;
23
- activate(): void;
24
- deactivate(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnOptionComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnOptionComponent, "rxap-table-column-option", never, { "name": { "alias": "name"; "required": true; }; "active": { "alias": "active"; "required": false; }; "inactive": { "alias": "inactive"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "show": { "alias": "show"; "required": false; }; }, {}, never, ["*"], true, never>;
27
- }
@@ -1,18 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { MatPaginator } from '@angular/material/paginator';
3
- import { MatSlideToggleChange } from '@angular/material/slide-toggle';
4
- import { SelectRowService } from '../../select-row/select-row.service';
5
- import { TableFilterService } from '../../table-filter/table-filter.service';
6
- import { TableColumnMenuComponent } from '../table-column-menu.component';
7
- import * as i0 from "@angular/core";
8
- export declare class TableShowArchivedSlideComponent implements AfterViewInit {
9
- private readonly tableFilter;
10
- private readonly tableColumnMenu;
11
- private readonly selectRows;
12
- paginator?: MatPaginator;
13
- constructor(tableFilter: TableFilterService | null, tableColumnMenu: TableColumnMenuComponent, selectRows: SelectRowService | null);
14
- onChange($event: MatSlideToggleChange): void;
15
- ngAfterViewInit(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TableShowArchivedSlideComponent, [{ optional: true; }, null, null]>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TableShowArchivedSlideComponent, "rxap-table-show-archived-slide", never, { "paginator": { "alias": "paginator"; "required": false; }; }, {}, never, never, true, never>;
18
- }
@@ -1,18 +0,0 @@
1
- import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
- import { Method } from '@rxap/pattern';
3
- import { Observable } from 'rxjs';
4
- import { TableDataSourceDirective } from '../table-data-source.directive';
5
- import * as i0 from "@angular/core";
6
- export declare class TableCreateButtonDirective<Data extends Record<string, any>> implements OnInit, OnDestroy {
7
- private readonly method;
8
- private readonly elementRef;
9
- private readonly renderer;
10
- dataSource: TableDataSourceDirective<Data>;
11
- private _createObservable?;
12
- constructor(method: Method<any, Data | Observable<Data>>, elementRef: ElementRef, renderer: Renderer2);
13
- ngOnInit(): void;
14
- ngOnDestroy(): void;
15
- onClick(): Promise<void>;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TableCreateButtonDirective<any>, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableCreateButtonDirective<any>, "button[rxapTableCreate]", never, { "dataSource": { "alias": "rxapTableCreate"; "required": true; }; }, {}, never, never, true, never>;
18
- }
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { Method } from '@rxap/pattern';
3
- export declare const TABLE_CREATE_REMOTE_METHOD: InjectionToken<Method<any, any>>;
@@ -1,61 +0,0 @@
1
- import { CdkTable } from '@angular/cdk/table';
2
- import { ChangeDetectorRef, InjectionToken, OnDestroy, OnInit } from '@angular/core';
3
- import type { MatPaginator } from '@angular/material/paginator';
4
- import { MatSort } from '@angular/material/sort';
5
- import { PaginatorLike } from '@rxap/data-source/pagination';
6
- import { AbstractTableDataSource, FilterLike, SortLike, TableEvent } from '@rxap/data-source/table';
7
- import { Method } from '@rxap/pattern';
8
- import { ToggleSubject } from '@rxap/rxjs';
9
- import { Observable, Subject, Subscription } from 'rxjs';
10
- import { TableFilterService } from './table-filter/table-filter.service';
11
- import * as i0 from "@angular/core";
12
- export { RXAP_TABLE_METHOD } from '@rxap/data-source/table';
13
- /**
14
- * @deprecated use TABLE_METHOD instead
15
- */
16
- export declare const TABLE_REMOTE_METHOD: InjectionToken<unknown>;
17
- export declare const TABLE_REMOTE_METHOD_ADAPTER_FACTORY: InjectionToken<unknown>;
18
- export declare const RXAP_TABLE_FILTER: InjectionToken<unknown>;
19
- export declare const TABLE_DATA_SOURCE: InjectionToken<unknown>;
20
- 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>;
21
- export declare class TableDataSourceDirective<Data extends Record<string, any> = any> implements OnInit, OnDestroy {
22
- private readonly matTable;
23
- protected readonly cdr: ChangeDetectorRef;
24
- private readonly sourceMethod;
25
- private readonly sourceDataSource;
26
- private readonly matSort;
27
- private readonly tableFilter;
28
- private readonly _tableFilter;
29
- /**
30
- * @deprecated use dataSource instead
31
- */
32
- set setDataSource(dataSource: AbstractTableDataSource<Data> | '');
33
- paginator?: MatPaginator;
34
- readonly loading$: ToggleSubject;
35
- id: string;
36
- parameters?: Observable<Record<string, any>>;
37
- dataSource?: AbstractTableDataSource<Data>;
38
- method?: Method<Data[], TableEvent>;
39
- readonly hasError$: ToggleSubject;
40
- readonly error$: Subject<unknown>;
41
- get lastRefreshed(): Date | null;
42
- /**
43
- * @deprecated use method instead
44
- */
45
- get remoteMethod(): Method<Data[], TableEvent> | undefined;
46
- /**
47
- * @deprecated use sourceMethod instead
48
- */
49
- get sourceRemoteMethod(): Method<Data[] | any, TableEvent | any> | null;
50
- protected _subscription: Subscription;
51
- private readonly adapterFactory;
52
- constructor(matTable: CdkTable<Data>, cdr: ChangeDetectorRef, sourceMethod: Method<Data[] | any, TableEvent | any> | null, sourceDataSource: AbstractTableDataSource<Data> | null, adapterFactory: any, matSort: MatSort | null, tableFilter: TableFilterService | null, _tableFilter: FilterLike | null);
53
- private trackBy;
54
- ngOnInit(): void;
55
- ngOnDestroy(): void;
56
- refresh(): void;
57
- retry(): void;
58
- reset(): void;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<TableDataSourceDirective<any>, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
60
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableDataSourceDirective<any>, "table[mat-table][rxapTableDataSource],mat-table[rxapTableDataSource]", ["rxapTableDataSource"], { "setDataSource": { "alias": "rxapTableDataSource"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "id": { "alias": "id"; "required": true; }; "parameters": { "alias": "parameters"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, {}, never, never, true, never>;
61
- }
@@ -1,14 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { FormDefinition, FormDirective } from '@rxap/forms';
3
- import { TableFilterService } from './table-filter.service';
4
- import * as i0 from "@angular/core";
5
- export declare class FilterHeaderRowDirective extends FormDirective implements OnInit, OnDestroy {
6
- private readonly tableFilter;
7
- set useFormDefinition(value: FormDefinition | '');
8
- private _subscription?;
9
- constructor(tableFilter: TableFilterService, cdr: ChangeDetectorRef, formDefinition: FormDefinition | null);
10
- ngOnInit(): void;
11
- ngOnDestroy(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterHeaderRowDirective, [null, null, { optional: true; }]>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<FilterHeaderRowDirective, "table[rxap-filter-header-row]", never, { "useFormDefinition": { "alias": "rxap-filter-header-row"; "required": false; }; }, {}, never, never, true, never>;
14
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./to-filter-column-names.pipe";
3
- import * as i2 from "./filter-header-row.directive";
4
- export declare class TableFilterModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<TableFilterModule, never, [typeof i1.ToFilterColumnNamesPipe, typeof i2.FilterHeaderRowDirective], [typeof i1.ToFilterColumnNamesPipe, typeof i2.FilterHeaderRowDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<TableFilterModule>;
8
- }
@@ -1,25 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { FilterLike } from '@rxap/data-source/table';
3
- import { ReplaySubject, Subject } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class TableFilterService implements FilterLike, OnDestroy {
6
- readonly change: ReplaySubject<Record<string, any>>;
7
- current: Record<string, any>;
8
- private _subscription;
9
- readonly reset$: Subject<void>;
10
- /**
11
- * a flag to indicate whether any value was already send to the change subject
12
- * true - a value was send
13
- * false - no value was send
14
- * @private
15
- */
16
- private _init;
17
- constructor();
18
- reset(): void;
19
- setMap(map: Record<string, any>): void;
20
- set(key: string, value: any): void;
21
- remove(key: string): void;
22
- ngOnDestroy(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TableFilterService, never>;
24
- static ɵprov: i0.ɵɵInjectableDeclaration<TableFilterService>;
25
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ToFilterColumnNamesPipe implements PipeTransform {
4
- transform(columns: string[]): string[];
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ToFilterColumnNamesPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<ToFilterColumnNamesPipe, "toFilterColumnNames", true>;
7
- }
@@ -1,2 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const RXAP_TABLE_FILTER_FORM_DEFINITION: InjectionToken<unknown>;
@@ -1,26 +0,0 @@
1
- import { Method } from '@rxap/pattern';
2
- export declare const RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA = "rxap-table-header-button-method-metadata";
3
- export interface TableHeaderButtonMethodOptions {
4
- /**
5
- * If true, the table will be refreshed after the action is executed.
6
- */
7
- refresh?: boolean;
8
- /**
9
- * If true, the user will be asked to confirm the action before execution.
10
- */
11
- confirm?: boolean;
12
- /**
13
- * The tooltip of the action button.
14
- */
15
- tooltip?: string;
16
- /**
17
- * The error message that will be displayed if the action fails.
18
- */
19
- errorMessage?: string;
20
- /**
21
- * The success message that will be displayed if the action succeeds.
22
- */
23
- successMessage?: string;
24
- }
25
- export declare function TableHeaderButtonMethod(options?: TableHeaderButtonMethodOptions): ClassDecorator;
26
- export declare function GetTableHeaderButtonMetadata(method: Method): TableHeaderButtonMethodOptions;
@@ -1,6 +0,0 @@
1
- export declare enum TableHeaderButtonActionStatus {
2
- EXECUTING = "executing",
3
- DONE = "done",
4
- ERROR = "error",
5
- SUCCESS = "success"
6
- }
@@ -1,55 +0,0 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
- import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
3
- import { MatMiniFabButton } from '@angular/material/button';
4
- import { MatSnackBar } from '@angular/material/snack-bar';
5
- import { MatTooltip } from '@angular/material/tooltip';
6
- import { ConfirmDirective } from '@rxap/components';
7
- import { Method } from '@rxap/pattern';
8
- import { TableDataSourceDirective } from '../table-data-source.directive';
9
- import { TableHeaderButtonMethodOptions } from './decorators';
10
- import * as i0 from "@angular/core";
11
- export declare class TableHeaderButtonDirective<Data extends Record<string, any>> extends ConfirmDirective implements OnInit {
12
- private readonly method;
13
- private readonly snackBar;
14
- private readonly matTooltip;
15
- private readonly matButton;
16
- protected readonly cdr: ChangeDetectorRef;
17
- tableDataSourceDirective: TableDataSourceDirective<Data>;
18
- errorMessage?: string;
19
- successMessage?: string;
20
- /**
21
- * true - after the action is executed the table datasource is refreshed
22
- */
23
- refresh?: boolean;
24
- protected options: TableHeaderButtonMethodOptions | null;
25
- private _actionDisabled;
26
- private _currentStatus;
27
- constructor(overlay: Overlay, elementRef: ElementRef, method: Method, snackBar: MatSnackBar, matTooltip: MatTooltip | null, matButton: MatMiniFabButton | null, cdr: ChangeDetectorRef);
28
- private _hasConfirmDirective;
29
- set hasConfirmDirective(value: any);
30
- onConfirmed(): Promise<void>;
31
- onClick($event: Event): Promise<void>;
32
- execute(): Promise<void>;
33
- ngOnInit(): void;
34
- /**
35
- * Disables the action. If the button is pressed the action is NOT executed
36
- *
37
- * Hint: the button is set to disabled = true to prevent any conflict with
38
- * extern button enable features linke : rxapHasEnablePermission
39
- * @protected
40
- */
41
- protected setButtonDisabled(): void;
42
- /**
43
- * Enables the action. If the button is pressed the action is executed
44
- *
45
- * TODO : find a way to communicate the disabled state between the features
46
- * Hint: the button is set to disabled = false to prevent any conflict with
47
- * extern button enable features linke : rxapHasEnablePermission
48
- * @protected
49
- */
50
- protected setButtonEnabled(): void;
51
- private setStatus;
52
- private getTableHeaderButtonOptions;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderButtonDirective<any>, [null, null, null, null, { optional: true; }, { optional: true; }, null]>;
54
- static ɵdir: i0.ɵɵDirectiveDeclaration<TableHeaderButtonDirective<any>, "button[mat-mini-fab][rxapTableHeaderButton]", never, { "tableDataSourceDirective": { "alias": "rxapTableHeaderButton"; "required": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "successMessage": { "alias": "successMessage"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "hasConfirmDirective": { "alias": "rxapConfirm"; "required": false; }; }, {}, never, never, true, never>;
55
- }
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { Method } from '@rxap/pattern';
3
- export declare const TABLE_HEADER_BUTTON_METHOD: InjectionToken<Method<any, any>>;