mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-5572] Add deprecated attribute to Like and Rating components (#8756)
This commit is contained in:
committed by
GitHub
parent
e37b03cbb4
commit
574bff2d8d
@@ -17,6 +17,9 @@
|
|||||||
|
|
||||||
import { Component, ViewEncapsulation } from '@angular/core';
|
import { Component, ViewEncapsulation } from '@angular/core';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated This component uses Like and Rating components that are not used in ACA/ADW/ACC and can be removed.
|
||||||
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-social',
|
selector: 'app-social',
|
||||||
templateUrl: './social.component.html',
|
templateUrl: './social.component.html',
|
||||||
|
@@ -29,6 +29,9 @@ const routes: Routes = [
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated This module uses Like and Rating components that are not used in ACA/ADW/ACC and can be removed.
|
||||||
|
*/
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
@@ -19,6 +19,9 @@ import { Component, EventEmitter, Input, OnChanges, Output, ViewEncapsulation }
|
|||||||
import { RatingService } from './services/rating.service';
|
import { RatingService } from './services/rating.service';
|
||||||
import { RatingEntry } from '@alfresco/js-api';
|
import { RatingEntry } from '@alfresco/js-api';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Like component is not used in ACA/ADW/ACC, can be removed.
|
||||||
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'adf-like',
|
selector: 'adf-like',
|
||||||
styleUrls: ['./like.component.scss'],
|
styleUrls: ['./like.component.scss'],
|
||||||
|
@@ -21,6 +21,9 @@ import { RatingEntry } from '@alfresco/js-api';
|
|||||||
import { takeUntil } from 'rxjs/operators';
|
import { takeUntil } from 'rxjs/operators';
|
||||||
import { Subject } from 'rxjs';
|
import { Subject } from 'rxjs';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Rating component is not used in ACA/ADW/ACC, can be removed.
|
||||||
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'adf-rating',
|
selector: 'adf-rating',
|
||||||
styleUrls: ['./rating.component.scss'],
|
styleUrls: ['./rating.component.scss'],
|
||||||
|
@@ -22,6 +22,9 @@ import { MaterialModule } from '../material.module';
|
|||||||
import { LikeComponent } from './like.component';
|
import { LikeComponent } from './like.component';
|
||||||
import { RatingComponent } from './rating.component';
|
import { RatingComponent } from './rating.component';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated This module uses Like and Rating components are not used in ACA/ADW/ACC and can be removed.
|
||||||
|
*/
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
Reference in New Issue
Block a user