From b11ef04e735c55688d52ac12abf117af064de8f9 Mon Sep 17 00:00:00 2001 From: Thomas Hunter Date: Fri, 22 Jan 2021 12:57:35 +0100 Subject: [PATCH] [AAE-4384] Add blank page component (#6559) --- lib/core/blank-page/blank-page.component.ts | 24 +++++++++++++++++++++ lib/core/blank-page/index.ts | 18 ++++++++++++++++ lib/core/blank-page/public-api.ts | 18 ++++++++++++++++ lib/core/index.ts | 1 + 4 files changed, 61 insertions(+) create mode 100644 lib/core/blank-page/blank-page.component.ts create mode 100644 lib/core/blank-page/index.ts create mode 100644 lib/core/blank-page/public-api.ts 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/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..f9fd23c483 --- /dev/null +++ b/lib/core/blank-page/public-api.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 './blank-page.component'; 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';