[AAE-4384] Add blank page component (#6567)

This commit is contained in:
Thomas Hunter
2021-01-26 16:29:26 +01:00
committed by GitHub
parent 4b99691466
commit 06b041fbf5
6 changed files with 98 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* 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 { Component } from '@angular/core';
@Component({
selector: 'adf-blank-page',
template: ``
})
export class BlankPageComponent {}

View File

@@ -0,0 +1,31 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* 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 { BlankPageComponent } from './blank-page.component';
@NgModule({
declarations: [
BlankPageComponent
],
exports: [
BlankPageComponent
]
})
export class BlankPageModule {
}

View File

@@ -0,0 +1,18 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* 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.
*/
export * from './public-api';

View File

@@ -0,0 +1,19 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* 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.
*/
export * from './blank-page.component';
export * from './blank-page.module';

View File

@@ -42,6 +42,7 @@ import { ButtonsMenuModule } from './buttons-menu/buttons-menu.module';
import { TemplateModule } from './templates/template.module'; import { TemplateModule } from './templates/template.module';
import { ClipboardModule } from './clipboard/clipboard.module'; import { ClipboardModule } from './clipboard/clipboard.module';
import { NotificationHistoryModule } from './notifications/notification-history.module'; import { NotificationHistoryModule } from './notifications/notification-history.module';
import { BlankPageModule } from './blank-page/blank-page.module';
import { DirectiveModule } from './directives/directive.module'; import { DirectiveModule } from './directives/directive.module';
import { DialogModule } from './dialogs/dialog.module'; import { DialogModule } from './dialogs/dialog.module';
@@ -93,7 +94,8 @@ import { VersionCompatibilityService } from './services/version-compatibility.se
IconModule, IconModule,
SortingPickerModule, SortingPickerModule,
NotificationHistoryModule, NotificationHistoryModule,
SearchTextModule SearchTextModule,
BlankPageModule
], ],
exports: [ exports: [
AboutModule, AboutModule,
@@ -127,7 +129,8 @@ import { VersionCompatibilityService } from './services/version-compatibility.se
SortingPickerModule, SortingPickerModule,
IconModule, IconModule,
NotificationHistoryModule, NotificationHistoryModule,
SearchTextModule SearchTextModule,
BlankPageModule
] ]
}) })
export class CoreModule { export class CoreModule {

View File

@@ -43,6 +43,7 @@ export * from './dialogs/index';
export * from './icon/index'; export * from './icon/index';
export * from './notifications/index'; export * from './notifications/index';
export * from './search-text/index'; export * from './search-text/index';
export * from './blank-page/index';
export * from './utils/index'; export * from './utils/index';
export * from './interface/index'; export * from './interface/index';