[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:
Denys Vuika
2024-04-17 07:15:31 -04:00
committed by GitHub
parent 74ef7eed1a
commit 5d474d8866
17 changed files with 55 additions and 169 deletions

View File

@@ -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 {}