mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
refactor: remove dialog module and clean up imports in ContentModule
- Deleted DialogModule and its associated exports. - Removed CONTENT_DIALOG_DIRECTIVES from ContentModule imports. - Updated public API to exclude dialog module exports.
This commit is contained in:
@@ -25,7 +25,6 @@ import { CONTENT_VERSION_DIRECTIVES } from './version-manager/version-manager.mo
|
|||||||
import { CONTENT_NODE_SELECTOR_DIRECTIVES } from './content-node-selector/content-node-selector.module';
|
import { CONTENT_NODE_SELECTOR_DIRECTIVES } from './content-node-selector/content-node-selector.module';
|
||||||
import { CONTENT_NODE_SHARE_DIRECTIVES } from './content-node-share/content-node-share.module';
|
import { CONTENT_NODE_SHARE_DIRECTIVES } from './content-node-share/content-node-share.module';
|
||||||
import { CONTENT_DIRECTIVES } from './directives/content-directive.module';
|
import { CONTENT_DIRECTIVES } from './directives/content-directive.module';
|
||||||
import { CONTENT_DIALOG_DIRECTIVES } from './dialogs/dialog.module';
|
|
||||||
import { CONTENT_METADATA_DIRECTIVES } from './content-metadata/content-metadata.module';
|
import { CONTENT_METADATA_DIRECTIVES } from './content-metadata/content-metadata.module';
|
||||||
import { CONTENT_PERMISSION_MANAGER_DIRECTIVES } from './permission-manager/permission-manager.module';
|
import { CONTENT_PERMISSION_MANAGER_DIRECTIVES } from './permission-manager/permission-manager.module';
|
||||||
import { versionCompatibilityFactory } from './version-compatibility/version-compatibility-factory';
|
import { versionCompatibilityFactory } from './version-compatibility/version-compatibility-factory';
|
||||||
@@ -44,7 +43,6 @@ import { AlfrescoApiLoaderService, createAlfrescoApiInstance } from './api-facto
|
|||||||
MatDatetimepickerModule,
|
MatDatetimepickerModule,
|
||||||
MatNativeDatetimeModule,
|
MatNativeDatetimeModule,
|
||||||
...CONTENT_TAG_DIRECTIVES,
|
...CONTENT_TAG_DIRECTIVES,
|
||||||
...CONTENT_DIALOG_DIRECTIVES,
|
|
||||||
...CONTENT_SEARCH_DIRECTIVES,
|
...CONTENT_SEARCH_DIRECTIVES,
|
||||||
...DOCUMENT_LIST_DIRECTIVES,
|
...DOCUMENT_LIST_DIRECTIVES,
|
||||||
...CONTENT_UPLOAD_DIRECTIVES,
|
...CONTENT_UPLOAD_DIRECTIVES,
|
||||||
@@ -65,7 +63,6 @@ import { AlfrescoApiLoaderService, createAlfrescoApiInstance } from './api-facto
|
|||||||
...CONTENT_NODE_SELECTOR_DIRECTIVES,
|
...CONTENT_NODE_SELECTOR_DIRECTIVES,
|
||||||
...CONTENT_NODE_SHARE_DIRECTIVES,
|
...CONTENT_NODE_SHARE_DIRECTIVES,
|
||||||
...CONTENT_METADATA_DIRECTIVES,
|
...CONTENT_METADATA_DIRECTIVES,
|
||||||
...CONTENT_DIALOG_DIRECTIVES,
|
|
||||||
...CONTENT_DIRECTIVES,
|
...CONTENT_DIRECTIVES,
|
||||||
...CONTENT_PERMISSION_MANAGER_DIRECTIVES,
|
...CONTENT_PERMISSION_MANAGER_DIRECTIVES,
|
||||||
...CONTENT_VERSION_DIRECTIVES
|
...CONTENT_VERSION_DIRECTIVES
|
||||||
|
|||||||
@@ -1,39 +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 { FolderDialogComponent } from './folder/folder.dialog';
|
|
||||||
import { NodeLockDialogComponent } from './node-lock/node-lock.dialog';
|
|
||||||
import { LibraryDialogComponent } from './library/library.dialog';
|
|
||||||
import { CategorySelectorDialogComponent } from './category-selector/category-selector.dialog';
|
|
||||||
import { DownloadZipDialogComponent } from './download-zip/download-zip.dialog';
|
|
||||||
|
|
||||||
/** @deprecated use standalone component imports instead */
|
|
||||||
export const CONTENT_DIALOG_DIRECTIVES = [
|
|
||||||
DownloadZipDialogComponent,
|
|
||||||
FolderDialogComponent,
|
|
||||||
NodeLockDialogComponent,
|
|
||||||
LibraryDialogComponent,
|
|
||||||
CategorySelectorDialogComponent
|
|
||||||
];
|
|
||||||
|
|
||||||
/** @deprecated use standalone component imports instead */
|
|
||||||
@NgModule({
|
|
||||||
imports: [...CONTENT_DIALOG_DIRECTIVES],
|
|
||||||
exports: [...CONTENT_DIALOG_DIRECTIVES]
|
|
||||||
})
|
|
||||||
export class DialogModule {}
|
|
||||||
@@ -1,27 +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 { DownloadZipDialogComponent } from './download-zip.dialog';
|
|
||||||
|
|
||||||
/** @deprecated use DownloadZipDialogComponent instead */
|
|
||||||
@NgModule({
|
|
||||||
declarations: [],
|
|
||||||
imports: [DownloadZipDialogComponent],
|
|
||||||
exports: [DownloadZipDialogComponent]
|
|
||||||
})
|
|
||||||
export class DownloadZipDialogModule {}
|
|
||||||
@@ -18,11 +18,6 @@
|
|||||||
export * from './folder/folder.dialog';
|
export * from './folder/folder.dialog';
|
||||||
export * from './node-lock/node-lock.dialog';
|
export * from './node-lock/node-lock.dialog';
|
||||||
export * from './category-selector/category-selector.dialog';
|
export * from './category-selector/category-selector.dialog';
|
||||||
|
|
||||||
export * from './dialog.module';
|
|
||||||
export * from './library/library.dialog';
|
export * from './library/library.dialog';
|
||||||
|
|
||||||
export * from './download-zip/download-zip.dialog';
|
export * from './download-zip/download-zip.dialog';
|
||||||
export * from './download-zip/download-zip.dialog.module';
|
|
||||||
|
|
||||||
export * from './folder/folder-name.validators';
|
export * from './folder/folder-name.validators';
|
||||||
|
|||||||
Reference in New Issue
Block a user