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