From 54247ce98bfb77acf161bcc8bcc19d8269424d12 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Fri, 27 Feb 2026 12:55:54 +0000 Subject: [PATCH] remove deprecated tag module [ci:force] --- .../src/lib/content.module.ts | 3 -- .../src/lib/tag/public-api.ts | 2 -- .../src/lib/tag/tag.module.ts | 31 ------------------- 3 files changed, 36 deletions(-) delete mode 100644 lib/content-services/src/lib/tag/tag.module.ts diff --git a/lib/content-services/src/lib/content.module.ts b/lib/content-services/src/lib/content.module.ts index 3cc995cfc8..cd10028199 100644 --- a/lib/content-services/src/lib/content.module.ts +++ b/lib/content-services/src/lib/content.module.ts @@ -18,7 +18,6 @@ import { NgModule, ModuleWithProviders, APP_INITIALIZER } from '@angular/core'; import { provideTranslations } from '@alfresco/adf-core'; import { MatDatetimepickerModule, MatNativeDatetimeModule } from '@mat-datetimepicker/core'; -import { CONTENT_TAG_DIRECTIVES } from './tag/tag.module'; import { DOCUMENT_LIST_DIRECTIVES } from './document-list/document-list.module'; import { CONTENT_SEARCH_DIRECTIVES } from './search/search.module'; import { CONTENT_VERSION_DIRECTIVES } from './version-manager/version-manager.module'; @@ -39,7 +38,6 @@ import { AlfrescoApiLoaderService, createAlfrescoApiInstance } from './api-facto MaterialModule, MatDatetimepickerModule, MatNativeDatetimeModule, - ...CONTENT_TAG_DIRECTIVES, ...CONTENT_SEARCH_DIRECTIVES, ...DOCUMENT_LIST_DIRECTIVES, ...CONTENT_NODE_SHARE_DIRECTIVES, @@ -50,7 +48,6 @@ import { AlfrescoApiLoaderService, createAlfrescoApiInstance } from './api-facto providers: [provideTranslations('adf-content-services', 'assets/adf-content-services')], exports: [ MaterialModule, - ...CONTENT_TAG_DIRECTIVES, ...DOCUMENT_LIST_DIRECTIVES, ...CONTENT_SEARCH_DIRECTIVES, ...CONTENT_NODE_SHARE_DIRECTIVES, diff --git a/lib/content-services/src/lib/tag/public-api.ts b/lib/content-services/src/lib/tag/public-api.ts index 234783450b..ed0a601bbc 100644 --- a/lib/content-services/src/lib/tag/public-api.ts +++ b/lib/content-services/src/lib/tag/public-api.ts @@ -21,7 +21,5 @@ export * from './tag-node-list/tag-node-list.component'; export * from './services/tag.service'; -export * from './tag.module'; - export * from './tags-creator/tags-creator-mode'; export * from './tags-creator/tags-creator.component'; diff --git a/lib/content-services/src/lib/tag/tag.module.ts b/lib/content-services/src/lib/tag/tag.module.ts deleted file mode 100644 index 741561ebf2..0000000000 --- a/lib/content-services/src/lib/tag/tag.module.ts +++ /dev/null @@ -1,31 +0,0 @@ -/*! - * @license - * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import { NgModule } from '@angular/core'; -import { TagActionsComponent } from './tag-actions/tag-actions.component'; -import { TagListComponent } from './tag-list/tag-list.component'; -import { TagNodeListComponent } from './tag-node-list/tag-node-list.component'; -import { TagsCreatorComponent } from './tags-creator/tags-creator.component'; - -export const CONTENT_TAG_DIRECTIVES = [TagsCreatorComponent, TagActionsComponent, TagListComponent, TagNodeListComponent] as const; - -/** @deprecated use `...CONTENT_TAG_DIRECTIVES` instead or import standalone components directly */ -@NgModule({ - imports: [...CONTENT_TAG_DIRECTIVES], - exports: [...CONTENT_TAG_DIRECTIVES] -}) -export class TagModule {}