mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ACS-7678] Convert content pipes to standalone (#9562)
* standalone pipes for content services * remove useless module [ci:force] * bug fixes [ci:force] * bug fixes and cleanup [ci:force] * cleanup unused/dead code [ci:force]
This commit is contained in:
@@ -15,33 +15,19 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { NodeNameTooltipPipe } from './node-name-tooltip.pipe';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { IsIncludedPipe } from './is-included.pipe';
|
||||
import { TabLabelsPipe } from './tab-labels.pipe';
|
||||
|
||||
export const CONTENT_PIPES = [NodeNameTooltipPipe, IsIncludedPipe, TabLabelsPipe] as const;
|
||||
|
||||
/**
|
||||
* @deprecated Use the individual pipe modules instead.
|
||||
*/
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
TranslateModule
|
||||
],
|
||||
declarations: [
|
||||
NodeNameTooltipPipe,
|
||||
IsIncludedPipe,
|
||||
TabLabelsPipe
|
||||
],
|
||||
providers: [
|
||||
NodeNameTooltipPipe,
|
||||
IsIncludedPipe,
|
||||
TabLabelsPipe
|
||||
],
|
||||
exports: [
|
||||
NodeNameTooltipPipe,
|
||||
IsIncludedPipe,
|
||||
TabLabelsPipe
|
||||
]
|
||||
imports: [...CONTENT_PIPES],
|
||||
providers: [...CONTENT_PIPES],
|
||||
exports: [...CONTENT_PIPES]
|
||||
})
|
||||
export class ContentPipeModule {
|
||||
}
|
||||
export class ContentPipeModule {}
|
||||
|
Reference in New Issue
Block a user