mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
ACS-10936: Remove unused LANDING_PAGE_TOKEN (#11503)
* ACS-10936: Remove unused LANDING_PAGE_TOKEN [ci:force] * delete unused enum [ci:force]
This commit is contained in:
@@ -29,7 +29,6 @@ export * from './services/download.service';
|
|||||||
export * from './services/url.service';
|
export * from './services/url.service';
|
||||||
|
|
||||||
export * from './models/log-levels.model';
|
export * from './models/log-levels.model';
|
||||||
export * from './models/user-info-mode.enum';
|
|
||||||
export * from './models/default-languages.model';
|
export * from './models/default-languages.model';
|
||||||
|
|
||||||
export * from './interface/search-component.interface';
|
export * from './interface/search-component.interface';
|
||||||
|
|||||||
@@ -1,24 +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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
export enum UserInfoMode {
|
|
||||||
ALL = 'ALL',
|
|
||||||
CONTENT = 'CONTENT',
|
|
||||||
PROCESS = 'PROCESS',
|
|
||||||
SSO = 'SSO',
|
|
||||||
CONTENT_SSO = 'CONTENT_SSO'
|
|
||||||
}
|
|
||||||
@@ -1,18 +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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
export * from './public-api';
|
|
||||||
@@ -1,32 +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 { InjectionToken, Provider, Type } from '@angular/core';
|
|
||||||
|
|
||||||
export const LANDING_PAGE_TOKEN = new InjectionToken<Type<any>>('LANDING_PAGE_TOKEN');
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @param componentClass The component class to be registered as the landing page.
|
|
||||||
* @returns A provider that registers the landing page component class.
|
|
||||||
*/
|
|
||||||
export function provideLandingPage(componentClass: Type<any>): Provider {
|
|
||||||
return {
|
|
||||||
provide: LANDING_PAGE_TOKEN,
|
|
||||||
useValue: componentClass
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,18 +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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
export * from './provider';
|
|
||||||
@@ -24,7 +24,6 @@ export * from './lib/toolbar/index';
|
|||||||
export * from './lib/header/index';
|
export * from './lib/header/index';
|
||||||
export * from './lib/pagination/index';
|
export * from './lib/pagination/index';
|
||||||
export * from './lib/login/index';
|
export * from './lib/login/index';
|
||||||
export * from './lib/landing-page/index';
|
|
||||||
export * from './lib/language-menu/index';
|
export * from './lib/language-menu/index';
|
||||||
export * from './lib/info-drawer/index';
|
export * from './lib/info-drawer/index';
|
||||||
export * from './lib/identity-user-info/index';
|
export * from './lib/identity-user-info/index';
|
||||||
|
|||||||
Reference in New Issue
Block a user