mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
refactor: remove upload module and clean up imports in ContentModule
- Deleted UploadModule and its associated exports. - Removed CONTENT_UPLOAD_DIRECTIVES from ContentModule imports. - Updated public API to exclude UploadModule exports. [ci:force]
This commit is contained in:
@@ -29,7 +29,6 @@ import { versionCompatibilityFactory } from './version-compatibility/version-com
|
|||||||
import { VersionCompatibilityService } from './version-compatibility/version-compatibility.service';
|
import { VersionCompatibilityService } from './version-compatibility/version-compatibility.service';
|
||||||
import { contentAuthLoaderFactory } from './auth-loader/content-auth-loader-factory';
|
import { contentAuthLoaderFactory } from './auth-loader/content-auth-loader-factory';
|
||||||
import { ContentAuthLoaderService } from './auth-loader/content-auth-loader.service';
|
import { ContentAuthLoaderService } from './auth-loader/content-auth-loader.service';
|
||||||
import { CONTENT_UPLOAD_DIRECTIVES } from './upload';
|
|
||||||
import { MaterialModule } from './material.module';
|
import { MaterialModule } from './material.module';
|
||||||
import { AlfrescoApiService } from './services/alfresco-api.service';
|
import { AlfrescoApiService } from './services/alfresco-api.service';
|
||||||
import { AlfrescoApiNoAuthService } from './api-factories/alfresco-api-no-auth.service';
|
import { AlfrescoApiNoAuthService } from './api-factories/alfresco-api-no-auth.service';
|
||||||
@@ -43,7 +42,6 @@ import { AlfrescoApiLoaderService, createAlfrescoApiInstance } from './api-facto
|
|||||||
...CONTENT_TAG_DIRECTIVES,
|
...CONTENT_TAG_DIRECTIVES,
|
||||||
...CONTENT_SEARCH_DIRECTIVES,
|
...CONTENT_SEARCH_DIRECTIVES,
|
||||||
...DOCUMENT_LIST_DIRECTIVES,
|
...DOCUMENT_LIST_DIRECTIVES,
|
||||||
...CONTENT_UPLOAD_DIRECTIVES,
|
|
||||||
...CONTENT_NODE_SHARE_DIRECTIVES,
|
...CONTENT_NODE_SHARE_DIRECTIVES,
|
||||||
...CONTENT_DIRECTIVES,
|
...CONTENT_DIRECTIVES,
|
||||||
...CONTENT_PERMISSION_MANAGER_DIRECTIVES,
|
...CONTENT_PERMISSION_MANAGER_DIRECTIVES,
|
||||||
@@ -54,7 +52,6 @@ import { AlfrescoApiLoaderService, createAlfrescoApiInstance } from './api-facto
|
|||||||
MaterialModule,
|
MaterialModule,
|
||||||
...CONTENT_TAG_DIRECTIVES,
|
...CONTENT_TAG_DIRECTIVES,
|
||||||
...DOCUMENT_LIST_DIRECTIVES,
|
...DOCUMENT_LIST_DIRECTIVES,
|
||||||
...CONTENT_UPLOAD_DIRECTIVES,
|
|
||||||
...CONTENT_SEARCH_DIRECTIVES,
|
...CONTENT_SEARCH_DIRECTIVES,
|
||||||
...CONTENT_NODE_SHARE_DIRECTIVES,
|
...CONTENT_NODE_SHARE_DIRECTIVES,
|
||||||
...CONTENT_DIRECTIVES,
|
...CONTENT_DIRECTIVES,
|
||||||
|
|||||||
@@ -26,5 +26,3 @@ export * from './components/upload-files.event';
|
|||||||
export * from './directives/file-draggable.directive';
|
export * from './directives/file-draggable.directive';
|
||||||
|
|
||||||
export * from './components/base-upload/upload-base';
|
export * from './components/base-upload/upload-base';
|
||||||
|
|
||||||
export * from './upload.module';
|
|
||||||
|
|||||||
@@ -1,42 +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 { FileUploadingDialogComponent } from './components/file-uploading-dialog.component';
|
|
||||||
import { FileUploadingListRowComponent } from './components/file-uploading-list-row.component';
|
|
||||||
import { FileUploadingListComponent } from './components/file-uploading-list.component';
|
|
||||||
import { UploadButtonComponent } from './components/upload-button.component';
|
|
||||||
import { UploadVersionButtonComponent } from './components/upload-version-button.component';
|
|
||||||
import { UploadDragAreaComponent } from './components/upload-drag-area.component';
|
|
||||||
import { FileDraggableDirective } from './directives/file-draggable.directive';
|
|
||||||
|
|
||||||
export const CONTENT_UPLOAD_DIRECTIVES = [
|
|
||||||
FileDraggableDirective,
|
|
||||||
UploadDragAreaComponent,
|
|
||||||
UploadButtonComponent,
|
|
||||||
UploadVersionButtonComponent,
|
|
||||||
FileUploadingListRowComponent,
|
|
||||||
FileUploadingListComponent,
|
|
||||||
FileUploadingDialogComponent
|
|
||||||
] as const;
|
|
||||||
|
|
||||||
/** @deprecated use `...CONTENT_UPLOAD_DIRECTIVES` instead or import standalone components directly */
|
|
||||||
@NgModule({
|
|
||||||
imports: [...CONTENT_UPLOAD_DIRECTIVES],
|
|
||||||
exports: [...CONTENT_UPLOAD_DIRECTIVES]
|
|
||||||
})
|
|
||||||
export class UploadModule {}
|
|
||||||
Reference in New Issue
Block a user