mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
remove deprecated ng modules [ci:force]
This commit is contained in:
@@ -20,7 +20,6 @@ import { provideTranslations } from '@alfresco/adf-core';
|
||||
import { MatDatetimepickerModule, MatNativeDatetimeModule } from '@mat-datetimepicker/core';
|
||||
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';
|
||||
import { CONTENT_NODE_SHARE_DIRECTIVES } from './content-node-share/content-node-share.module';
|
||||
import { CONTENT_DIRECTIVES } from './directives/content-directive.module';
|
||||
import { CONTENT_PERMISSION_MANAGER_DIRECTIVES } from './permission-manager/permission-manager.module';
|
||||
@@ -42,8 +41,7 @@ import { AlfrescoApiLoaderService, createAlfrescoApiInstance } from './api-facto
|
||||
...DOCUMENT_LIST_DIRECTIVES,
|
||||
...CONTENT_NODE_SHARE_DIRECTIVES,
|
||||
...CONTENT_DIRECTIVES,
|
||||
...CONTENT_PERMISSION_MANAGER_DIRECTIVES,
|
||||
...CONTENT_VERSION_DIRECTIVES
|
||||
...CONTENT_PERMISSION_MANAGER_DIRECTIVES
|
||||
],
|
||||
providers: [provideTranslations('adf-content-services', 'assets/adf-content-services')],
|
||||
exports: [
|
||||
@@ -52,8 +50,7 @@ import { AlfrescoApiLoaderService, createAlfrescoApiInstance } from './api-facto
|
||||
...CONTENT_SEARCH_DIRECTIVES,
|
||||
...CONTENT_NODE_SHARE_DIRECTIVES,
|
||||
...CONTENT_DIRECTIVES,
|
||||
...CONTENT_PERMISSION_MANAGER_DIRECTIVES,
|
||||
...CONTENT_VERSION_DIRECTIVES
|
||||
...CONTENT_PERMISSION_MANAGER_DIRECTIVES
|
||||
]
|
||||
})
|
||||
export class ContentModule {
|
||||
|
||||
@@ -20,4 +20,3 @@ export * from './version-manager.component';
|
||||
export * from './version-upload.component';
|
||||
export * from './version-comparison.component';
|
||||
export * from './content-version.service';
|
||||
export * from './version-manager.module';
|
||||
|
||||
@@ -1,36 +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 { VersionUploadComponent } from './version-upload.component';
|
||||
import { VersionManagerComponent } from './version-manager.component';
|
||||
import { VersionListComponent } from './version-list.component';
|
||||
import { VersionComparisonComponent } from './version-comparison.component';
|
||||
|
||||
export const CONTENT_VERSION_DIRECTIVES = [
|
||||
VersionUploadComponent,
|
||||
VersionManagerComponent,
|
||||
VersionListComponent,
|
||||
VersionComparisonComponent
|
||||
] as const;
|
||||
|
||||
/** @deprecated use `...CONTENT_VERSION_DIRECTIVES` instead */
|
||||
@NgModule({
|
||||
imports: [...CONTENT_VERSION_DIRECTIVES],
|
||||
exports: [...CONTENT_VERSION_DIRECTIVES]
|
||||
})
|
||||
export class VersionManagerModule {}
|
||||
Reference in New Issue
Block a user