mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-4384] Add blank page component (#6567)
This commit is contained in:
24
lib/core/blank-page/blank-page.component.ts
Normal file
24
lib/core/blank-page/blank-page.component.ts
Normal 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 {}
|
31
lib/core/blank-page/blank-page.module.ts
Normal file
31
lib/core/blank-page/blank-page.module.ts
Normal 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 {
|
||||
}
|
18
lib/core/blank-page/index.ts
Normal file
18
lib/core/blank-page/index.ts
Normal 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';
|
19
lib/core/blank-page/public-api.ts
Normal file
19
lib/core/blank-page/public-api.ts
Normal 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';
|
@@ -42,6 +42,7 @@ import { ButtonsMenuModule } from './buttons-menu/buttons-menu.module';
|
||||
import { TemplateModule } from './templates/template.module';
|
||||
import { ClipboardModule } from './clipboard/clipboard.module';
|
||||
import { NotificationHistoryModule } from './notifications/notification-history.module';
|
||||
import { BlankPageModule } from './blank-page/blank-page.module';
|
||||
|
||||
import { DirectiveModule } from './directives/directive.module';
|
||||
import { DialogModule } from './dialogs/dialog.module';
|
||||
@@ -93,7 +94,8 @@ import { VersionCompatibilityService } from './services/version-compatibility.se
|
||||
IconModule,
|
||||
SortingPickerModule,
|
||||
NotificationHistoryModule,
|
||||
SearchTextModule
|
||||
SearchTextModule,
|
||||
BlankPageModule
|
||||
],
|
||||
exports: [
|
||||
AboutModule,
|
||||
@@ -127,7 +129,8 @@ import { VersionCompatibilityService } from './services/version-compatibility.se
|
||||
SortingPickerModule,
|
||||
IconModule,
|
||||
NotificationHistoryModule,
|
||||
SearchTextModule
|
||||
SearchTextModule,
|
||||
BlankPageModule
|
||||
]
|
||||
})
|
||||
export class CoreModule {
|
||||
|
@@ -43,6 +43,7 @@ export * from './dialogs/index';
|
||||
export * from './icon/index';
|
||||
export * from './notifications/index';
|
||||
export * from './search-text/index';
|
||||
export * from './blank-page/index';
|
||||
|
||||
export * from './utils/index';
|
||||
export * from './interface/index';
|
||||
|
Reference in New Issue
Block a user