diff --git a/lib/core/blank-page/blank-page.component.ts b/lib/core/blank-page/blank-page.component.ts new file mode 100644 index 0000000000..8b45235161 --- /dev/null +++ b/lib/core/blank-page/blank-page.component.ts @@ -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 {} diff --git a/lib/core/blank-page/blank-page.module.ts b/lib/core/blank-page/blank-page.module.ts new file mode 100644 index 0000000000..0e23d6ad15 --- /dev/null +++ b/lib/core/blank-page/blank-page.module.ts @@ -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 { +} diff --git a/lib/core/blank-page/index.ts b/lib/core/blank-page/index.ts new file mode 100644 index 0000000000..a7e30cc675 --- /dev/null +++ b/lib/core/blank-page/index.ts @@ -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'; diff --git a/lib/core/blank-page/public-api.ts b/lib/core/blank-page/public-api.ts new file mode 100644 index 0000000000..f48888c5df --- /dev/null +++ b/lib/core/blank-page/public-api.ts @@ -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'; diff --git a/lib/core/core.module.ts b/lib/core/core.module.ts index 224c258b90..c3c8841084 100644 --- a/lib/core/core.module.ts +++ b/lib/core/core.module.ts @@ -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 { diff --git a/lib/core/index.ts b/lib/core/index.ts index a87db9865a..679146759a 100644 --- a/lib/core/index.ts +++ b/lib/core/index.ts @@ -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';