@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.
- package/CHANGELOG.md +54 -0
- package/compodoc/changelog.html +52 -0
- package/compodoc/components/BooleanCellComponent.html +58 -43
- package/compodoc/components/CheckboxCellComponent.html +79 -88
- package/compodoc/components/CheckboxHeaderCellComponent.html +68 -152
- package/compodoc/components/CopyToClipboardCellComponent.html +48 -36
- package/compodoc/components/DateCellComponent.html +72 -68
- package/compodoc/components/ExpandControlsCellComponent.html +39 -96
- package/compodoc/components/ExpandRowContainerComponent.html +95 -173
- package/compodoc/components/IconCellComponent.html +47 -35
- package/compodoc/components/ImageCellComponent.html +170 -128
- package/compodoc/components/LinkCellComponent.html +140 -80
- package/compodoc/components/OptionsCellComponent.html +119 -250
- package/compodoc/components/TableColumnMenuComponent.html +146 -455
- package/compodoc/components/TableColumnOptionComponent.html +280 -378
- package/compodoc/components/TableSelectControlsComponent.html +30 -93
- package/compodoc/components/TableShowArchivedSlideComponent.html +67 -102
- package/compodoc/components/TreeControlCellComponent.html +63 -71
- package/compodoc/dependencies.html +19 -19
- package/compodoc/directives/AbstractTableRowAction.html +1568 -0
- package/compodoc/directives/ExpandRowContentDirective.html +7 -77
- package/compodoc/directives/ExpandRowDirective.html +76 -184
- package/compodoc/directives/FilterHeaderRowDirective.html +67 -177
- package/compodoc/directives/PersistentPaginatorDirective.html +60 -83
- package/compodoc/directives/SelectedRowsDirective.html +17 -115
- package/compodoc/directives/TableColumnFilterInputDirective.html +67 -100
- package/compodoc/directives/TableCreateButtonDirective.html +53 -194
- package/compodoc/directives/TableDataSourceDirective.html +298 -350
- package/compodoc/directives/TableHeaderButtonDirective.html +290 -435
- package/compodoc/directives/TableRowActionDirective.html +816 -105
- package/compodoc/directives/TableRowActionExecutingDirective.html +11 -80
- package/compodoc/directives/TableRowHeaderActionDirective.html +772 -335
- package/compodoc/graph/dependencies.svg +15 -433
- package/compodoc/injectables/ExpandRowService.html +43 -8
- package/compodoc/injectables/SelectRowService.html +17 -52
- package/compodoc/interfaces/ExpandCellContentDirectiveContext.html +3 -11
- package/compodoc/interfaces/SelectedRowsDirectiveContext.html +15 -40
- package/compodoc/js/menu-wc.js +4 -166
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules/ExpandRowModule/dependencies.svg +20 -20
- package/compodoc/modules/ExpandRowModule.html +20 -20
- package/compodoc/modules/SelectRowModule/dependencies.svg +4 -4
- package/compodoc/modules/SelectRowModule.html +4 -4
- package/compodoc/modules.html +0 -85
- package/compodoc/overview.html +3 -467
- package/compodoc/pipes/RowActionCheckPipe.html +6 -13
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +10427 -11802
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AbstractTableRowAction.html +22 -20
- package/docs/html/classes/BooleanCellComponent.html +2 -2
- package/docs/html/classes/CheckboxCellComponent.html +3 -2
- package/docs/html/classes/CheckboxHeaderCellComponent.html +5 -11
- package/docs/html/classes/CopyToClipboardCellComponent.html +2 -2
- package/docs/html/classes/DateCellComponent.html +2 -2
- package/docs/html/classes/ExpandControlsCellComponent.html +2 -2
- package/docs/html/classes/ExpandRowContainerComponent.html +4 -11
- package/docs/html/classes/ExpandRowContentDirective.html +2 -2
- package/docs/html/classes/ExpandRowDirective.html +3 -3
- package/docs/html/classes/ExpandRowService.html +3 -2
- package/docs/html/classes/FilterHeaderRowDirective.html +74 -58
- package/docs/html/classes/IconCellComponent.html +2 -2
- package/docs/html/classes/ImageCellComponent.html +3 -3
- package/docs/html/classes/LinkCellComponent.html +3 -3
- package/docs/html/classes/OptionsCellComponent.html +2 -17
- package/docs/html/classes/PersistentPaginatorDirective.html +4 -7
- package/docs/html/classes/RowActionCheckPipe.html +2 -2
- package/docs/html/classes/SelectRowService.html +2 -2
- package/docs/html/classes/SelectedRowsDirective.html +2 -11
- package/docs/html/classes/SelectionModel.html +15 -15
- package/docs/html/classes/TableColumnFilterInputDirective.html +2 -9
- package/docs/html/classes/TableColumnFilterService.html +2 -2
- package/docs/html/classes/TableColumnMenuComponent.html +8 -13
- package/docs/html/classes/TableColumnOptionComponent.html +11 -12
- package/docs/html/classes/TableCreateButtonDirective.html +3 -9
- package/docs/html/classes/TableDataSourceDirective.html +14 -11
- package/docs/html/classes/TableFilterService.html +3 -3
- package/docs/html/classes/TableHeaderButtonDirective.html +18 -20
- package/docs/html/classes/TableRowActionDirective.html +22 -20
- package/docs/html/classes/TableRowActionExecutingDirective.html +2 -2
- package/docs/html/classes/TableRowHeaderActionDirective.html +23 -21
- package/docs/html/classes/TableSelectControlsComponent.html +3 -3
- package/docs/html/classes/TableShowArchivedSlideComponent.html +4 -8
- package/docs/html/classes/ToFilterColumnNamesPipe.html +2 -2
- package/docs/html/classes/TreeControlCellComponent.html +3 -9
- package/docs/html/enums/TableHeaderButtonActionStatus.html +2 -2
- package/docs/html/enums/TableRowActionStatus.html +2 -2
- package/docs/html/functions/GetTableHeaderButtonMetadata.html +1 -1
- package/docs/html/functions/GetTableRowActionCheckFunction.html +1 -1
- package/docs/html/functions/GetTableRowActionMetadata.html +1 -1
- package/docs/html/functions/HasTableRowActionCheckFunction.html +1 -1
- package/docs/html/functions/HasTableRowActionMetadata.html +1 -1
- package/docs/html/functions/IsTableRowActionTypeMethod.html +1 -1
- package/docs/html/functions/IsTableRowActionTypeSwitchMethod.html +1 -1
- package/docs/html/functions/NormalizeTableRow.html +3 -3
- package/docs/html/functions/TableActionMethod.html +1 -1
- package/docs/html/functions/TableHeaderButtonMethod.html +1 -1
- package/docs/html/functions/getMultipleValuesInSingleSelectionError.html +2 -2
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ExpandCellContentDirectiveContext.html +2 -2
- package/docs/html/interfaces/SelectRowOptions.html +2 -2
- package/docs/html/interfaces/SelectedRowsDirectiveContext.html +2 -2
- package/docs/html/interfaces/SelectionChange.html +5 -5
- package/docs/html/interfaces/TableActionMethodOptions.html +9 -9
- package/docs/html/interfaces/TableHeaderButtonMethodOptions.html +6 -6
- package/docs/html/interfaces/TableRowMetadata.html +3 -3
- package/docs/html/modules.html +1 -1
- package/docs/html/types/RawTableRow.html +1 -1
- package/docs/html/types/RowActionCheckFunction.html +1 -1
- package/docs/html/types/RowIdMapperFunction.html +1 -1
- package/docs/html/types/TableRemoteMethodAdapterFactory.html +1 -1
- package/docs/html/types/TableRowActionMethod.html +1 -1
- package/docs/html/types/TableRowActionTypeMethod.html +1 -1
- package/docs/html/types/TableRowActionTypeSwitchMethod.html +1 -1
- package/docs/html/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.html +2 -2
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_METADATA.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.html +2 -2
- package/docs/html/variables/RXAP_TABLE_FILTER.html +1 -1
- package/docs/html/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.html +1 -1
- package/docs/html/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.html +1 -1
- package/docs/html/variables/RXAP_TABLE_METHOD.html +1 -1
- package/docs/html/variables/RXAP_TABLE_ROW_ACTION_METHOD.html +1 -1
- package/docs/html/variables/RowAnimation.html +1 -1
- package/docs/html/variables/TABLE_CREATE_REMOTE_METHOD.html +1 -1
- package/docs/html/variables/TABLE_DATA_SOURCE.html +1 -1
- package/docs/html/variables/TABLE_HEADER_BUTTON_METHOD.html +1 -1
- package/docs/html/variables/TABLE_REMOTE_METHOD.html +2 -2
- package/docs/html/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AbstractTableRowAction.md +107 -147
- package/docs/markdown/classes/BooleanCellComponent.md +4 -4
- package/docs/markdown/classes/CheckboxCellComponent.md +14 -14
- package/docs/markdown/classes/CheckboxHeaderCellComponent.md +12 -50
- package/docs/markdown/classes/CopyToClipboardCellComponent.md +4 -4
- package/docs/markdown/classes/DateCellComponent.md +6 -6
- package/docs/markdown/classes/ExpandControlsCellComponent.md +6 -14
- package/docs/markdown/classes/ExpandRowContainerComponent.md +12 -67
- package/docs/markdown/classes/ExpandRowContentDirective.md +5 -13
- package/docs/markdown/classes/ExpandRowDirective.md +9 -23
- package/docs/markdown/classes/ExpandRowService.md +14 -6
- package/docs/markdown/classes/FilterHeaderRowDirective.md +339 -227
- package/docs/markdown/classes/IconCellComponent.md +4 -4
- package/docs/markdown/classes/ImageCellComponent.md +13 -13
- package/docs/markdown/classes/LinkCellComponent.md +10 -10
- package/docs/markdown/classes/OptionsCellComponent.md +15 -108
- package/docs/markdown/classes/PersistentPaginatorDirective.md +10 -38
- package/docs/markdown/classes/RowActionCheckPipe.md +5 -11
- package/docs/markdown/classes/SelectRowService.md +9 -15
- package/docs/markdown/classes/SelectedRowsDirective.md +4 -68
- package/docs/markdown/classes/SelectionModel.md +16 -16
- package/docs/markdown/classes/TableColumnFilterInputDirective.md +6 -60
- package/docs/markdown/classes/TableColumnFilterService.md +5 -5
- package/docs/markdown/classes/TableColumnMenuComponent.md +18 -93
- package/docs/markdown/classes/TableColumnOptionComponent.md +40 -103
- package/docs/markdown/classes/TableCreateButtonDirective.md +7 -46
- package/docs/markdown/classes/TableDataSourceDirective.md +49 -84
- package/docs/markdown/classes/TableFilterService.md +11 -11
- package/docs/markdown/classes/TableHeaderButtonDirective.md +88 -124
- package/docs/markdown/classes/TableRowActionDirective.md +136 -160
- package/docs/markdown/classes/TableRowActionExecutingDirective.md +6 -18
- package/docs/markdown/classes/TableRowHeaderActionDirective.md +133 -174
- package/docs/markdown/classes/TableSelectControlsComponent.md +8 -20
- package/docs/markdown/classes/TableShowArchivedSlideComponent.md +8 -46
- package/docs/markdown/classes/ToFilterColumnNamesPipe.md +3 -3
- package/docs/markdown/classes/TreeControlCellComponent.md +10 -33
- package/docs/markdown/enumerations/TableHeaderButtonActionStatus.md +6 -6
- package/docs/markdown/enumerations/TableRowActionStatus.md +6 -6
- package/docs/markdown/functions/GetTableHeaderButtonMetadata.md +2 -2
- package/docs/markdown/functions/GetTableRowActionCheckFunction.md +2 -2
- package/docs/markdown/functions/GetTableRowActionMetadata.md +2 -2
- package/docs/markdown/functions/HasTableRowActionCheckFunction.md +2 -2
- package/docs/markdown/functions/HasTableRowActionMetadata.md +2 -2
- package/docs/markdown/functions/IsTableRowActionTypeMethod.md +2 -2
- package/docs/markdown/functions/IsTableRowActionTypeSwitchMethod.md +2 -2
- package/docs/markdown/functions/NormalizeTableRow.md +3 -3
- package/docs/markdown/functions/TableActionMethod.md +3 -3
- package/docs/markdown/functions/TableHeaderButtonMethod.md +2 -2
- package/docs/markdown/functions/getMultipleValuesInSingleSelectionError.md +2 -2
- package/docs/markdown/globals.md +2 -7
- package/docs/markdown/interfaces/ExpandCellContentDirectiveContext.md +3 -3
- package/docs/markdown/interfaces/SelectRowOptions.md +6 -6
- package/docs/markdown/interfaces/SelectedRowsDirectiveContext.md +3 -3
- package/docs/markdown/interfaces/SelectionChange.md +5 -5
- package/docs/markdown/interfaces/TableActionMethodOptions.md +11 -11
- package/docs/markdown/interfaces/TableHeaderButtonMethodOptions.md +7 -7
- package/docs/markdown/interfaces/TableRowMetadata.md +4 -4
- package/docs/markdown/type-aliases/RawTableRow.md +2 -2
- package/docs/markdown/type-aliases/RowActionCheckFunction.md +2 -2
- package/docs/markdown/type-aliases/RowIdMapperFunction.md +2 -2
- package/docs/markdown/type-aliases/TableRemoteMethodAdapterFactory.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionMethod.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionTypeMethod.md +2 -2
- package/docs/markdown/type-aliases/TableRowActionTypeSwitchMethod.md +2 -2
- package/docs/markdown/variables/RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_FILTER_FORM_DEFINITION.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_METHOD.md +2 -2
- package/docs/markdown/variables/RXAP_TABLE_ROW_ACTION_METHOD.md +2 -2
- package/docs/markdown/variables/RowAnimation.md +2 -2
- package/docs/markdown/variables/TABLE_CREATE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_DATA_SOURCE.md +2 -2
- package/docs/markdown/variables/TABLE_HEADER_BUTTON_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_REMOTE_METHOD.md +2 -2
- package/docs/markdown/variables/TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +2 -2
- package/docs/wiki/Class.AbstractTableRowAction.md +106 -146
- package/docs/wiki/Class.BooleanCellComponent.md +3 -3
- package/docs/wiki/Class.CheckboxCellComponent.md +13 -13
- package/docs/wiki/Class.CheckboxHeaderCellComponent.md +11 -49
- package/docs/wiki/Class.CopyToClipboardCellComponent.md +3 -3
- package/docs/wiki/Class.DateCellComponent.md +5 -5
- package/docs/wiki/Class.ExpandControlsCellComponent.md +5 -13
- package/docs/wiki/Class.ExpandRowContainerComponent.md +11 -66
- package/docs/wiki/Class.ExpandRowContentDirective.md +4 -12
- package/docs/wiki/Class.ExpandRowDirective.md +8 -22
- package/docs/wiki/Class.ExpandRowService.md +13 -5
- package/docs/wiki/Class.FilterHeaderRowDirective.md +338 -226
- package/docs/wiki/Class.IconCellComponent.md +3 -3
- package/docs/wiki/Class.ImageCellComponent.md +12 -12
- package/docs/wiki/Class.LinkCellComponent.md +9 -9
- package/docs/wiki/Class.OptionsCellComponent.md +14 -107
- package/docs/wiki/Class.PersistentPaginatorDirective.md +9 -37
- package/docs/wiki/Class.RowActionCheckPipe.md +4 -10
- package/docs/wiki/Class.SelectRowService.md +8 -14
- package/docs/wiki/Class.SelectedRowsDirective.md +3 -67
- package/docs/wiki/Class.SelectionModel.md +15 -15
- package/docs/wiki/Class.TableColumnFilterInputDirective.md +5 -59
- package/docs/wiki/Class.TableColumnFilterService.md +4 -4
- package/docs/wiki/Class.TableColumnMenuComponent.md +17 -92
- package/docs/wiki/Class.TableColumnOptionComponent.md +39 -102
- package/docs/wiki/Class.TableCreateButtonDirective.md +6 -45
- package/docs/wiki/Class.TableDataSourceDirective.md +48 -83
- package/docs/wiki/Class.TableFilterService.md +10 -10
- package/docs/wiki/Class.TableHeaderButtonDirective.md +87 -123
- package/docs/wiki/Class.TableRowActionDirective.md +135 -159
- package/docs/wiki/Class.TableRowActionExecutingDirective.md +5 -17
- package/docs/wiki/Class.TableRowHeaderActionDirective.md +132 -173
- package/docs/wiki/Class.TableSelectControlsComponent.md +7 -19
- package/docs/wiki/Class.TableShowArchivedSlideComponent.md +7 -45
- package/docs/wiki/Class.ToFilterColumnNamesPipe.md +2 -2
- package/docs/wiki/Class.TreeControlCellComponent.md +9 -32
- package/docs/wiki/Enumeration.TableHeaderButtonActionStatus.md +5 -5
- package/docs/wiki/Enumeration.TableRowActionStatus.md +5 -5
- package/docs/wiki/Function.GetTableHeaderButtonMetadata.md +1 -1
- package/docs/wiki/Function.GetTableRowActionCheckFunction.md +1 -1
- package/docs/wiki/Function.GetTableRowActionMetadata.md +1 -1
- package/docs/wiki/Function.HasTableRowActionCheckFunction.md +1 -1
- package/docs/wiki/Function.HasTableRowActionMetadata.md +1 -1
- package/docs/wiki/Function.IsTableRowActionTypeMethod.md +1 -1
- package/docs/wiki/Function.IsTableRowActionTypeSwitchMethod.md +1 -1
- package/docs/wiki/Function.NormalizeTableRow.md +2 -2
- package/docs/wiki/Function.TableActionMethod.md +2 -2
- package/docs/wiki/Function.TableHeaderButtonMethod.md +1 -1
- package/docs/wiki/Function.getMultipleValuesInSingleSelectionError.md +1 -1
- package/docs/wiki/Interface.ExpandCellContentDirectiveContext.md +2 -2
- package/docs/wiki/Interface.SelectRowOptions.md +5 -5
- package/docs/wiki/Interface.SelectedRowsDirectiveContext.md +2 -2
- package/docs/wiki/Interface.SelectionChange.md +4 -4
- package/docs/wiki/Interface.TableActionMethodOptions.md +10 -10
- package/docs/wiki/Interface.TableHeaderButtonMethodOptions.md +6 -6
- package/docs/wiki/Interface.TableRowMetadata.md +3 -3
- package/docs/wiki/TypeAlias.RawTableRow.md +1 -1
- package/docs/wiki/TypeAlias.RowActionCheckFunction.md +1 -1
- package/docs/wiki/TypeAlias.RowIdMapperFunction.md +1 -1
- package/docs/wiki/TypeAlias.TableRemoteMethodAdapterFactory.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionMethod.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionTypeMethod.md +1 -1
- package/docs/wiki/TypeAlias.TableRowActionTypeSwitchMethod.md +1 -1
- package/docs/wiki/Variable.RXAP_MATERIAL_TABLE_SYSTEM_SELECT_ROW_OPTIONS.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_CHECK_FUNCTION_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ACTION_METHOD_TYPE_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_FILTER_FORM_DEFINITION.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_HEADER_BUTTON_METHOD_METADATA.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_METHOD.md +1 -1
- package/docs/wiki/Variable.RXAP_TABLE_ROW_ACTION_METHOD.md +1 -1
- package/docs/wiki/Variable.RowAnimation.md +1 -1
- package/docs/wiki/Variable.TABLE_CREATE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_DATA_SOURCE.md +1 -1
- package/docs/wiki/Variable.TABLE_HEADER_BUTTON_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_REMOTE_METHOD.md +1 -1
- package/docs/wiki/Variable.TABLE_REMOTE_METHOD_ADAPTER_FACTORY.md +1 -1
- package/docs/wiki/_Sidebar.md +0 -5
- package/docs/wiki/globals.md +1 -6
- package/fesm2022/rxap-material-table-system.mjs +619 -1198
- package/fesm2022/rxap-material-table-system.mjs.map +1 -1
- package/package.json +49 -48
- package/types/rxap-material-table-system.d.ts +818 -0
- package/docs/html/classes/ExpandRowModule.html +0 -2
- package/docs/html/classes/SelectRowModule.html +0 -2
- package/docs/html/classes/TableColumnMenuModule.html +0 -2
- package/docs/html/classes/TableFilterModule.html +0 -2
- package/docs/html/classes/TableRowActionsModule.html +0 -2
- package/docs/markdown/classes/ExpandRowModule.md +0 -19
- package/docs/markdown/classes/SelectRowModule.md +0 -19
- package/docs/markdown/classes/TableColumnMenuModule.md +0 -19
- package/docs/markdown/classes/TableFilterModule.md +0 -19
- package/docs/markdown/classes/TableRowActionsModule.md +0 -19
- package/docs/wiki/Class.ExpandRowModule.md +0 -15
- package/docs/wiki/Class.SelectRowModule.md +0 -15
- package/docs/wiki/Class.TableColumnMenuModule.md +0 -15
- package/docs/wiki/Class.TableFilterModule.md +0 -15
- package/docs/wiki/Class.TableRowActionsModule.md +0 -15
- package/index.d.ts +0 -55
- package/lib/cells/boolean-cell/boolean-cell.component.d.ts +0 -6
- package/lib/cells/copy-to-clipboard-cell/copy-to-clipboard-cell.component.d.ts +0 -6
- package/lib/cells/date-cell/date-cell.component.d.ts +0 -7
- package/lib/cells/icon-cell/icon-cell.component.d.ts +0 -7
- package/lib/cells/image-cell/image-cell.component.d.ts +0 -11
- package/lib/cells/link-cell/link-cell.component.d.ts +0 -9
- package/lib/cells/options-cell/options-cell.component.d.ts +0 -22
- package/lib/cells/tree-control-cell/tree-control-cell.component.d.ts +0 -16
- package/lib/expand-row/expand-controls-cell/expand-controls-cell.component.d.ts +0 -9
- package/lib/expand-row/expand-row-container/expand-row-container.component.d.ts +0 -18
- package/lib/expand-row/expand-row-container/expand-row-content.directive.d.ts +0 -12
- package/lib/expand-row/expand-row.directive.d.ts +0 -11
- package/lib/expand-row/expand-row.module.d.ts +0 -7
- package/lib/expand-row/expand-row.service.d.ts +0 -11
- package/lib/persistent-paginator.directive.d.ts +0 -18
- package/lib/row-animation.d.ts +0 -1
- package/lib/select-row/checkbox-cell/checkbox-cell.component.d.ts +0 -9
- package/lib/select-row/checkbox-header-cell/checkbox-header-cell.component.d.ts +0 -18
- package/lib/select-row/select-row.module.d.ts +0 -9
- package/lib/select-row/select-row.options.d.ts +0 -6
- package/lib/select-row/select-row.service.d.ts +0 -14
- package/lib/select-row/selected-rows.directive.d.ts +0 -18
- package/lib/select-row/selection-model.d.ts +0 -118
- package/lib/select-row/tokens.d.ts +0 -3
- package/lib/table-column-filter/table-column-filter-input.directive.d.ts +0 -15
- package/lib/table-column-filter/table-column-filter.service.d.ts +0 -10
- package/lib/table-column-menu/table-column-menu.component.d.ts +0 -24
- package/lib/table-column-menu/table-column-menu.module.d.ts +0 -9
- package/lib/table-column-menu/table-column-option/table-column-option.component.d.ts +0 -27
- package/lib/table-column-menu/table-show-archived-slide/table-show-archived-slide.component.d.ts +0 -18
- package/lib/table-create-button/table-create-button.directive.d.ts +0 -18
- package/lib/table-create-button/tokens.d.ts +0 -3
- package/lib/table-data-source.directive.d.ts +0 -61
- package/lib/table-filter/filter-header-row.directive.d.ts +0 -14
- package/lib/table-filter/table-filter.module.d.ts +0 -8
- package/lib/table-filter/table-filter.service.d.ts +0 -25
- package/lib/table-filter/to-filter-column-names.pipe.d.ts +0 -7
- package/lib/table-filter/tokens.d.ts +0 -2
- package/lib/table-header-button/decorators.d.ts +0 -26
- package/lib/table-header-button/table-header-button-action-status.d.ts +0 -6
- package/lib/table-header-button/table-header-button.directive.d.ts +0 -55
- package/lib/table-header-button/tokens.d.ts +0 -3
- package/lib/table-row-actions/abstract-table-row-action.d.ts +0 -76
- package/lib/table-row-actions/decorators.d.ts +0 -47
- package/lib/table-row-actions/row-action-check.pipe.d.ts +0 -10
- package/lib/table-row-actions/table-row-action-executing.directive.d.ts +0 -11
- package/lib/table-row-actions/table-row-action-status.d.ts +0 -6
- package/lib/table-row-actions/table-row-action.directive.d.ts +0 -9
- package/lib/table-row-actions/table-row-action.method.d.ts +0 -8
- package/lib/table-row-actions/table-row-actions.module.d.ts +0 -16
- package/lib/table-row-actions/table-row-header-action.directive.d.ts +0 -22
- package/lib/table-row-actions/tokens.d.ts +0 -2
- package/lib/table-row-actions/types.d.ts +0 -8
- package/lib/table-row-metadata.d.ts +0 -27
- package/lib/table-select-controls/table-select-controls.component.d.ts +0 -14
|
@@ -131,6 +131,7 @@
|
|
|
131
131
|
</p>
|
|
132
132
|
<p class="comment">
|
|
133
133
|
<code>OnInit</code>
|
|
134
|
+
<code>OnChanges</code>
|
|
134
135
|
<code>OnDestroy</code>
|
|
135
136
|
</p>
|
|
136
137
|
|
|
@@ -170,18 +171,18 @@
|
|
|
170
171
|
<h3 id="index">Index</h3>
|
|
171
172
|
<table class="table table-sm table-bordered index-table">
|
|
172
173
|
<tbody>
|
|
173
|
-
|
|
174
|
-
|
|
175
174
|
<tr>
|
|
176
175
|
<td class="col-md-4">
|
|
177
|
-
<h6><b>
|
|
176
|
+
<h6><b>Properties</b></h6>
|
|
178
177
|
</td>
|
|
179
178
|
</tr>
|
|
180
179
|
<tr>
|
|
181
180
|
<td class="col-md-4">
|
|
182
181
|
<ul class="index-list">
|
|
183
182
|
<li>
|
|
184
|
-
|
|
183
|
+
<span class="modifier">Public</span>
|
|
184
|
+
<span class="modifier">Readonly</span>
|
|
185
|
+
<a href="#filterFormDefinition" >filterFormDefinition</a>
|
|
185
186
|
</li>
|
|
186
187
|
</ul>
|
|
187
188
|
</td>
|
|
@@ -190,20 +191,8 @@
|
|
|
190
191
|
|
|
191
192
|
|
|
192
193
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
<h6><b>Accessors</b></h6>
|
|
196
|
-
</td>
|
|
197
|
-
</tr>
|
|
198
|
-
<tr>
|
|
199
|
-
<td class="col-md-4">
|
|
200
|
-
<ul class="index-list">
|
|
201
|
-
<li>
|
|
202
|
-
<a href="#useFormDefinition" >useFormDefinition</a>
|
|
203
|
-
</li>
|
|
204
|
-
</ul>
|
|
205
|
-
</td>
|
|
206
|
-
</tr>
|
|
194
|
+
|
|
195
|
+
|
|
207
196
|
</tbody>
|
|
208
197
|
</table>
|
|
209
198
|
</section>
|
|
@@ -214,181 +203,70 @@
|
|
|
214
203
|
<tbody>
|
|
215
204
|
<tr>
|
|
216
205
|
<td class="col-md-4">
|
|
217
|
-
<code>constructor(
|
|
206
|
+
<code>constructor()</code>
|
|
218
207
|
</td>
|
|
219
208
|
</tr>
|
|
220
209
|
<tr>
|
|
221
210
|
<td class="col-md-4">
|
|
222
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
211
|
+
<div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/lib/table-filter/filter-header-row.directive.ts:39</a></div>
|
|
223
212
|
</td>
|
|
224
213
|
</tr>
|
|
225
214
|
|
|
226
|
-
<tr>
|
|
227
|
-
<td class="col-md-4">
|
|
228
|
-
<div>
|
|
229
|
-
<b>Parameters :</b>
|
|
230
|
-
<table class="params">
|
|
231
|
-
<thead>
|
|
232
|
-
<tr>
|
|
233
|
-
<td>Name</td>
|
|
234
|
-
<td>Type</td>
|
|
235
|
-
<td>Optional</td>
|
|
236
|
-
</tr>
|
|
237
|
-
</thead>
|
|
238
|
-
<tbody>
|
|
239
|
-
<tr>
|
|
240
|
-
<td>tableFilter</td>
|
|
241
|
-
|
|
242
|
-
<td>
|
|
243
|
-
<code><a href="../injectables/TableFilterService.html" target="_self" >TableFilterService</a></code>
|
|
244
|
-
</td>
|
|
245
|
-
|
|
246
|
-
<td>
|
|
247
|
-
No
|
|
248
|
-
</td>
|
|
249
|
-
|
|
250
|
-
</tr>
|
|
251
|
-
<tr>
|
|
252
|
-
<td>cdr</td>
|
|
253
|
-
|
|
254
|
-
<td>
|
|
255
|
-
<code>ChangeDetectorRef</code>
|
|
256
|
-
</td>
|
|
257
|
-
|
|
258
|
-
<td>
|
|
259
|
-
No
|
|
260
|
-
</td>
|
|
261
|
-
|
|
262
|
-
</tr>
|
|
263
|
-
<tr>
|
|
264
|
-
<td>formDefinition</td>
|
|
265
|
-
|
|
266
|
-
<td>
|
|
267
|
-
<code>FormDefinition | null</code>
|
|
268
|
-
</td>
|
|
269
|
-
|
|
270
|
-
<td>
|
|
271
|
-
No
|
|
272
|
-
</td>
|
|
273
|
-
|
|
274
|
-
</tr>
|
|
275
|
-
</tbody>
|
|
276
|
-
</table>
|
|
277
|
-
</div>
|
|
278
|
-
</td>
|
|
279
|
-
</tr>
|
|
280
215
|
</tbody>
|
|
281
216
|
</table>
|
|
282
217
|
</section>
|
|
283
218
|
|
|
284
|
-
<section data-compodoc="block-inputs">
|
|
285
|
-
<h3 id="inputs">Inputs</h3>
|
|
286
|
-
<table class="table table-sm table-bordered">
|
|
287
|
-
<tbody>
|
|
288
|
-
<tr>
|
|
289
|
-
<td class="col-md-4">
|
|
290
|
-
<a name="rxap-filter-header-row"></a>
|
|
291
|
-
<b>rxap-filter-header-row</b>
|
|
292
|
-
</td>
|
|
293
|
-
</tr>
|
|
294
|
-
<tr>
|
|
295
|
-
<td class="col-md-4">
|
|
296
|
-
<i>Type : </i> <code>FormDefinition | string</code>
|
|
297
|
-
|
|
298
|
-
</td>
|
|
299
|
-
</tr>
|
|
300
|
-
<tr>
|
|
301
|
-
<td class="col-md-2" colspan="2">
|
|
302
|
-
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/table-filter/filter-header-row.directive.ts:43</a></div>
|
|
303
|
-
</td>
|
|
304
|
-
</tr>
|
|
305
|
-
</tbody>
|
|
306
|
-
</table>
|
|
307
|
-
</section>
|
|
308
219
|
|
|
309
220
|
|
|
310
221
|
|
|
311
222
|
|
|
312
223
|
|
|
313
|
-
<section data-compodoc="block-
|
|
314
|
-
|
|
315
|
-
|
|
224
|
+
<section data-compodoc="block-properties">
|
|
225
|
+
|
|
226
|
+
<h3 id="inputs">
|
|
227
|
+
Properties
|
|
316
228
|
</h3>
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
229
|
+
<table class="table table-sm table-bordered">
|
|
230
|
+
<tbody>
|
|
231
|
+
<tr>
|
|
232
|
+
<td class="col-md-4">
|
|
233
|
+
<a name="filterFormDefinition"></a>
|
|
234
|
+
<span class="name">
|
|
235
|
+
<span class="modifier">Public</span>
|
|
236
|
+
<span class="modifier">Readonly</span>
|
|
237
|
+
<span ><b>filterFormDefinition</b></span>
|
|
238
|
+
<a href="#filterFormDefinition"><span class="icon ion-ios-link"></span></a>
|
|
239
|
+
</span>
|
|
240
|
+
</td>
|
|
241
|
+
</tr>
|
|
327
242
|
<tr>
|
|
328
243
|
<td class="col-md-4">
|
|
329
|
-
<
|
|
244
|
+
<i>Default value : </i><code>input<FormDefinition | ''>('', { alias: 'rxap-filter-header-row' })</code>
|
|
330
245
|
</td>
|
|
331
246
|
</tr>
|
|
332
|
-
<tr>
|
|
333
|
-
<td class="col-md-4">
|
|
334
|
-
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/table-filter/filter-header-row.directive.ts:43</a></div>
|
|
335
|
-
</td>
|
|
336
|
-
</tr>
|
|
337
247
|
<tr>
|
|
338
248
|
<td class="col-md-4">
|
|
339
|
-
|
|
340
|
-
<div class="io-description">
|
|
341
|
-
<b>Parameters :</b>
|
|
342
|
-
<table class="params">
|
|
343
|
-
<thead>
|
|
344
|
-
<tr>
|
|
345
|
-
<td>Name</td>
|
|
346
|
-
<td>Type</td>
|
|
347
|
-
<td>Optional</td>
|
|
348
|
-
</tr>
|
|
349
|
-
</thead>
|
|
350
|
-
<tbody>
|
|
351
|
-
<tr>
|
|
352
|
-
<td>value</td>
|
|
353
|
-
|
|
354
|
-
<td>
|
|
355
|
-
<code>FormDefinition | string</code>
|
|
356
|
-
</td>
|
|
357
|
-
|
|
358
|
-
<td>
|
|
359
|
-
No
|
|
360
|
-
</td>
|
|
361
|
-
|
|
362
|
-
</tr>
|
|
363
|
-
</tbody>
|
|
364
|
-
</table>
|
|
365
|
-
</div>
|
|
366
|
-
<div>
|
|
367
|
-
</div>
|
|
368
|
-
<div class="io-description">
|
|
369
|
-
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
370
|
-
|
|
371
|
-
</div>
|
|
249
|
+
<div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/lib/table-filter/filter-header-row.directive.ts:37</a></div>
|
|
372
250
|
</td>
|
|
373
251
|
</tr>
|
|
374
|
-
|
|
375
|
-
|
|
252
|
+
|
|
253
|
+
<tr>
|
|
254
|
+
<td class="col-md-4">
|
|
255
|
+
<div class="io-description"><p>Optional form definition bound with the selector attribute. Falls back to RXAP_TABLE_FILTER_FORM_DEFINITION.</p>
|
|
256
|
+
</div>
|
|
257
|
+
</td>
|
|
258
|
+
</tr>
|
|
259
|
+
|
|
260
|
+
</tbody>
|
|
261
|
+
</table>
|
|
376
262
|
</section>
|
|
377
263
|
|
|
264
|
+
|
|
378
265
|
</div>
|
|
379
266
|
|
|
380
267
|
|
|
381
268
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
382
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
383
|
-
ChangeDetectorRef,
|
|
384
|
-
Directive,
|
|
385
|
-
forwardRef,
|
|
386
|
-
Inject,
|
|
387
|
-
Input,
|
|
388
|
-
OnDestroy,
|
|
389
|
-
OnInit,
|
|
390
|
-
Optional,
|
|
391
|
-
} from '@angular/core';
|
|
269
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, forwardRef, inject, input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
392
270
|
import { ControlContainer } from '@angular/forms';
|
|
393
271
|
import {
|
|
394
272
|
FormDefinition,
|
|
@@ -418,29 +296,41 @@ import { RXAP_TABLE_FILTER_FORM_DEFINITION } from './tokens';
|
|
|
418
296
|
})
|
|
419
297
|
export class FilterHeaderRowDirective
|
|
420
298
|
extends FormDirective
|
|
421
|
-
implements OnInit, OnDestroy {
|
|
299
|
+
implements OnInit, OnChanges, OnDestroy {
|
|
300
|
+
private readonly tableFilter = inject(TableFilterService);
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Optional form definition bound with the selector attribute. Falls back to RXAP_TABLE_FILTER_FORM_DEFINITION.
|
|
304
|
+
*/
|
|
305
|
+
public readonly filterFormDefinition = input<FormDefinition | ''>('', { alias: 'rxap-filter-header-row' });
|
|
306
|
+
|
|
307
|
+
private _subscription?: Subscription;
|
|
422
308
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
this.
|
|
309
|
+
constructor() {
|
|
310
|
+
super();
|
|
311
|
+
const formDefinition = inject<FormDefinition | null>(RXAP_TABLE_FILTER_FORM_DEFINITION, { optional: true });
|
|
312
|
+
if (formDefinition) {
|
|
313
|
+
this._formDefinition = formDefinition as any;
|
|
314
|
+
this.form = formDefinition.rxapFormGroup as any;
|
|
428
315
|
}
|
|
429
316
|
}
|
|
430
317
|
|
|
431
|
-
private
|
|
318
|
+
private applyFilterFormDefinition() {
|
|
319
|
+
const formDefinition = this.filterFormDefinition();
|
|
320
|
+
if (formDefinition) {
|
|
321
|
+
this._formDefinition = formDefinition as any;
|
|
322
|
+
this.form = formDefinition.rxapFormGroup as any;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
432
325
|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
@Inject(RXAP_TABLE_FILTER_FORM_DEFINITION)
|
|
438
|
-
formDefinition: FormDefinition | null,
|
|
439
|
-
) {
|
|
440
|
-
super(cdr, formDefinition);
|
|
326
|
+
public override ngOnChanges(changes: SimpleChanges) {
|
|
327
|
+
// the form must be set before the FormGroupDirective validates its presence
|
|
328
|
+
this.applyFilterFormDefinition();
|
|
329
|
+
super.ngOnChanges(changes);
|
|
441
330
|
}
|
|
442
331
|
|
|
443
332
|
public override ngOnInit() {
|
|
333
|
+
this.applyFilterFormDefinition();
|
|
444
334
|
super.ngOnInit();
|
|
445
335
|
this._subscription = new Subscription();
|
|
446
336
|
this._subscription.add(this.tableFilter.reset$.subscribe(() => this.form.reset()));
|
|
@@ -125,7 +125,6 @@
|
|
|
125
125
|
</p>
|
|
126
126
|
<p class="comment">
|
|
127
127
|
<code>OnInit</code>
|
|
128
|
-
<code>OnDestroy</code>
|
|
129
128
|
</p>
|
|
130
129
|
|
|
131
130
|
|
|
@@ -154,6 +153,22 @@
|
|
|
154
153
|
<h3 id="index">Index</h3>
|
|
155
154
|
<table class="table table-sm table-bordered index-table">
|
|
156
155
|
<tbody>
|
|
156
|
+
<tr>
|
|
157
|
+
<td class="col-md-4">
|
|
158
|
+
<h6><b>Properties</b></h6>
|
|
159
|
+
</td>
|
|
160
|
+
</tr>
|
|
161
|
+
<tr>
|
|
162
|
+
<td class="col-md-4">
|
|
163
|
+
<ul class="index-list">
|
|
164
|
+
<li>
|
|
165
|
+
<span class="modifier">Public</span>
|
|
166
|
+
<span class="modifier">Readonly</span>
|
|
167
|
+
<a href="#id" >id</a>
|
|
168
|
+
</li>
|
|
169
|
+
</ul>
|
|
170
|
+
</td>
|
|
171
|
+
</tr>
|
|
157
172
|
|
|
158
173
|
<tr>
|
|
159
174
|
<td class="col-md-4">
|
|
@@ -201,54 +216,6 @@
|
|
|
201
216
|
</table>
|
|
202
217
|
</section>
|
|
203
218
|
|
|
204
|
-
<section data-compodoc="block-constructor">
|
|
205
|
-
<h3 id="constructor">Constructor</h3>
|
|
206
|
-
<table class="table table-sm table-bordered">
|
|
207
|
-
<tbody>
|
|
208
|
-
<tr>
|
|
209
|
-
<td class="col-md-4">
|
|
210
|
-
<code>constructor(matPaginator: MatPaginator)</code>
|
|
211
|
-
</td>
|
|
212
|
-
</tr>
|
|
213
|
-
<tr>
|
|
214
|
-
<td class="col-md-4">
|
|
215
|
-
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/lib/persistent-paginator.directive.ts:20</a></div>
|
|
216
|
-
</td>
|
|
217
|
-
</tr>
|
|
218
|
-
|
|
219
|
-
<tr>
|
|
220
|
-
<td class="col-md-4">
|
|
221
|
-
<div>
|
|
222
|
-
<b>Parameters :</b>
|
|
223
|
-
<table class="params">
|
|
224
|
-
<thead>
|
|
225
|
-
<tr>
|
|
226
|
-
<td>Name</td>
|
|
227
|
-
<td>Type</td>
|
|
228
|
-
<td>Optional</td>
|
|
229
|
-
</tr>
|
|
230
|
-
</thead>
|
|
231
|
-
<tbody>
|
|
232
|
-
<tr>
|
|
233
|
-
<td>matPaginator</td>
|
|
234
|
-
|
|
235
|
-
<td>
|
|
236
|
-
<code>MatPaginator</code>
|
|
237
|
-
</td>
|
|
238
|
-
|
|
239
|
-
<td>
|
|
240
|
-
No
|
|
241
|
-
</td>
|
|
242
|
-
|
|
243
|
-
</tr>
|
|
244
|
-
</tbody>
|
|
245
|
-
</table>
|
|
246
|
-
</div>
|
|
247
|
-
</td>
|
|
248
|
-
</tr>
|
|
249
|
-
</tbody>
|
|
250
|
-
</table>
|
|
251
|
-
</section>
|
|
252
219
|
|
|
253
220
|
<section data-compodoc="block-inputs">
|
|
254
221
|
<h3 id="inputs">Inputs</h3>
|
|
@@ -259,16 +226,10 @@
|
|
|
259
226
|
<a name="id"></a>
|
|
260
227
|
<b>id</b>
|
|
261
228
|
</td>
|
|
262
|
-
</tr>
|
|
263
|
-
<tr>
|
|
264
|
-
<td class="col-md-4">
|
|
265
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
266
|
-
|
|
267
|
-
</td>
|
|
268
229
|
</tr>
|
|
269
230
|
<tr>
|
|
270
231
|
<td class="col-md-2" colspan="2">
|
|
271
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
232
|
+
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">src/lib/persistent-paginator.directive.ts:14</a></div>
|
|
272
233
|
</td>
|
|
273
234
|
</tr>
|
|
274
235
|
</tbody>
|
|
@@ -304,8 +265,8 @@
|
|
|
304
265
|
|
|
305
266
|
<tr>
|
|
306
267
|
<td class="col-md-4">
|
|
307
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
308
|
-
class="link-to-prism">src/lib/persistent-paginator.directive.ts:
|
|
268
|
+
<div class="io-line">Defined in <a href="" data-line="29"
|
|
269
|
+
class="link-to-prism">src/lib/persistent-paginator.directive.ts:29</a></div>
|
|
309
270
|
</td>
|
|
310
271
|
</tr>
|
|
311
272
|
|
|
@@ -343,8 +304,8 @@
|
|
|
343
304
|
|
|
344
305
|
<tr>
|
|
345
306
|
<td class="col-md-4">
|
|
346
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
347
|
-
class="link-to-prism">src/lib/persistent-paginator.directive.ts:
|
|
307
|
+
<div class="io-line">Defined in <a href="" data-line="38"
|
|
308
|
+
class="link-to-prism">src/lib/persistent-paginator.directive.ts:38</a></div>
|
|
348
309
|
</td>
|
|
349
310
|
</tr>
|
|
350
311
|
|
|
@@ -382,8 +343,8 @@
|
|
|
382
343
|
|
|
383
344
|
<tr>
|
|
384
345
|
<td class="col-md-4">
|
|
385
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
386
|
-
class="link-to-prism">src/lib/persistent-paginator.directive.ts:
|
|
346
|
+
<div class="io-line">Defined in <a href="" data-line="33"
|
|
347
|
+
class="link-to-prism">src/lib/persistent-paginator.directive.ts:33</a></div>
|
|
387
348
|
</td>
|
|
388
349
|
</tr>
|
|
389
350
|
|
|
@@ -400,54 +361,70 @@
|
|
|
400
361
|
</tbody>
|
|
401
362
|
</table>
|
|
402
363
|
</section>
|
|
364
|
+
<section data-compodoc="block-properties">
|
|
365
|
+
|
|
366
|
+
<h3 id="inputs">
|
|
367
|
+
Properties
|
|
368
|
+
</h3>
|
|
369
|
+
<table class="table table-sm table-bordered">
|
|
370
|
+
<tbody>
|
|
371
|
+
<tr>
|
|
372
|
+
<td class="col-md-4">
|
|
373
|
+
<a name="id"></a>
|
|
374
|
+
<span class="name">
|
|
375
|
+
<span class="modifier">Public</span>
|
|
376
|
+
<span class="modifier">Readonly</span>
|
|
377
|
+
<span ><b>id</b></span>
|
|
378
|
+
<a href="#id"><span class="icon ion-ios-link"></span></a>
|
|
379
|
+
</span>
|
|
380
|
+
</td>
|
|
381
|
+
</tr>
|
|
382
|
+
<tr>
|
|
383
|
+
<td class="col-md-4">
|
|
384
|
+
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">src/lib/persistent-paginator.directive.ts:14</a></div>
|
|
385
|
+
</td>
|
|
386
|
+
</tr>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
</tbody>
|
|
390
|
+
</table>
|
|
391
|
+
</section>
|
|
403
392
|
|
|
404
393
|
|
|
405
394
|
</div>
|
|
406
395
|
|
|
407
396
|
|
|
408
397
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
409
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
410
|
-
|
|
411
|
-
Input,
|
|
412
|
-
OnDestroy,
|
|
413
|
-
OnInit,
|
|
414
|
-
} from '@angular/core';
|
|
398
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { DestroyRef, Directive, OnInit, input, inject } from '@angular/core';
|
|
399
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
415
400
|
import { MatPaginator } from '@angular/material/paginator';
|
|
416
|
-
import { Subscription } from 'rxjs';
|
|
417
401
|
import { tap } from 'rxjs/operators';
|
|
418
402
|
|
|
419
403
|
@Directive({
|
|
420
404
|
selector: 'mat-paginator[rxapPersistent]',
|
|
421
405
|
standalone: true,
|
|
422
406
|
})
|
|
423
|
-
export class PersistentPaginatorDirective implements OnInit
|
|
407
|
+
export class PersistentPaginatorDirective implements OnInit {
|
|
408
|
+
private readonly matPaginator = inject(MatPaginator);
|
|
424
409
|
|
|
425
|
-
@Input()
|
|
426
|
-
public id?: string;
|
|
427
410
|
|
|
428
|
-
|
|
411
|
+
public readonly id = input<string>();
|
|
429
412
|
|
|
430
|
-
|
|
431
|
-
private readonly matPaginator: MatPaginator,
|
|
432
|
-
) {
|
|
433
|
-
}
|
|
413
|
+
private readonly destroyRef = inject(DestroyRef);
|
|
434
414
|
|
|
435
415
|
public ngOnInit() {
|
|
436
416
|
const config = this.restoreConfig();
|
|
437
417
|
if (config) {
|
|
438
418
|
this.matPaginator.pageSize = config.pageSize;
|
|
439
419
|
}
|
|
440
|
-
this.
|
|
420
|
+
this.matPaginator.page.pipe(
|
|
441
421
|
tap(() => this.storeConfig()),
|
|
422
|
+
takeUntilDestroyed(this.destroyRef),
|
|
442
423
|
).subscribe();
|
|
443
424
|
}
|
|
444
425
|
|
|
445
|
-
public ngOnDestroy() {
|
|
446
|
-
this._subscription?.unsubscribe();
|
|
447
|
-
}
|
|
448
|
-
|
|
449
426
|
public getKey() {
|
|
450
|
-
return 'rxap_mat-paginator-persistent' + this.id;
|
|
427
|
+
return 'rxap_mat-paginator-persistent' + this.id();
|
|
451
428
|
}
|
|
452
429
|
|
|
453
430
|
public storeConfig() {
|