mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-10776] NodeNameTooltipPipe moved in content service pkg (#8048)
* NodeNameTooltipPipe moved in content service pkg * [ci:force] fix lint and build
This commit is contained in:
parent
7fa5c0faa6
commit
9077572199
@ -4,7 +4,7 @@ Added: v2.0.0
|
|||||||
Status: Active
|
Status: Active
|
||||||
---
|
---
|
||||||
|
|
||||||
# [Node Name Tooltip pipe](lib/core/src/lib/pipes/node-name-tooltip.pipe.ts "Defined in node-name-tooltip.pipe.ts")
|
# [Node Name Tooltip pipe](lib/content-services/src/lib/pipes/node-name-tooltip.pipe.ts "Defined in node-name-tooltip.pipe.ts")
|
||||||
|
|
||||||
Formats the tooltip for a [`Node`](https://github.com/Alfresco/alfresco-js-api/blob/develop/src/api/content-rest-api/docs/Node.md).
|
Formats the tooltip for a [`Node`](https://github.com/Alfresco/alfresco-js-api/blob/develop/src/api/content-rest-api/docs/Node.md).
|
||||||
|
|
||||||
|
@ -93,6 +93,32 @@ library. You should modify your code to import these classes from
|
|||||||
- [`NodeRestoreDirective`](lib/content-services/src/lib/directives/node-restore.directive.ts)
|
- [`NodeRestoreDirective`](lib/content-services/src/lib/directives/node-restore.directive.ts)
|
||||||
|
|
||||||
|
|
||||||
|
### NodeNameTooltipPipe
|
||||||
|
|
||||||
|
NodeNameTooltipPipe has been moved in the ```@alfresco/adf-content-services``` in ```ContentPipeModule```
|
||||||
|
|
||||||
|
v6.0.0 and before:
|
||||||
|
|
||||||
|
```
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
````
|
||||||
|
PipeModule
|
||||||
|
````
|
||||||
|
]})
|
||||||
|
```
|
||||||
|
|
||||||
|
v6.0.0 and after:
|
||||||
|
|
||||||
|
```
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
````
|
||||||
|
ContentPipeModule
|
||||||
|
````
|
||||||
|
]})
|
||||||
|
```
|
||||||
|
|
||||||
## Renamed items
|
## Renamed items
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,9 +44,11 @@ import { AspectListModule } from './aspect-list/aspect-list.module';
|
|||||||
import { VersionCompatibilityModule } from './version-compatibility/version-compatibility.module';
|
import { VersionCompatibilityModule } from './version-compatibility/version-compatibility.module';
|
||||||
import { versionCompatibilityFactory } from './version-compatibility/version-compatibility-factory';
|
import { versionCompatibilityFactory } from './version-compatibility/version-compatibility-factory';
|
||||||
import { VersionCompatibilityService } from './version-compatibility/version-compatibility.service';
|
import { VersionCompatibilityService } from './version-compatibility/version-compatibility.service';
|
||||||
|
import { ContentPipeModule } from './pipes/content-pipe.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
|
ContentPipeModule,
|
||||||
CoreModule,
|
CoreModule,
|
||||||
SocialModule,
|
SocialModule,
|
||||||
TagModule,
|
TagModule,
|
||||||
@ -84,6 +86,7 @@ import { VersionCompatibilityService } from './version-compatibility/version-com
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
|
ContentPipeModule,
|
||||||
SocialModule,
|
SocialModule,
|
||||||
TagModule,
|
TagModule,
|
||||||
WebScriptModule,
|
WebScriptModule,
|
||||||
|
@ -22,6 +22,8 @@ import { CoreModule, EditJsonDialogModule } from '@alfresco/adf-core';
|
|||||||
|
|
||||||
import { MaterialModule } from '../material.module';
|
import { MaterialModule } from '../material.module';
|
||||||
import { UploadModule } from '../upload/upload.module';
|
import { UploadModule } from '../upload/upload.module';
|
||||||
|
import { ContentPipeModule } from '../pipes/content-pipe.module';
|
||||||
|
import { SearchModule } from './../search/search.module';
|
||||||
|
|
||||||
import { ContentActionListComponent } from './components/content-action/content-action-list.component';
|
import { ContentActionListComponent } from './components/content-action/content-action-list.component';
|
||||||
import { ContentActionComponent } from './components/content-action/content-action.component';
|
import { ContentActionComponent } from './components/content-action/content-action.component';
|
||||||
@ -33,12 +35,12 @@ import { LibraryRoleColumnComponent } from './components/library-role-column/lib
|
|||||||
import { LibraryNameColumnComponent } from './components/library-name-column/library-name-column.component';
|
import { LibraryNameColumnComponent } from './components/library-name-column/library-name-column.component';
|
||||||
import { NameColumnComponent } from './components/name-column/name-column.component';
|
import { NameColumnComponent } from './components/name-column/name-column.component';
|
||||||
import { FilterHeaderComponent } from './components/filter-header/filter-header.component';
|
import { FilterHeaderComponent } from './components/filter-header/filter-header.component';
|
||||||
import { SearchModule } from './../search/search.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CoreModule,
|
CoreModule,
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
ContentPipeModule,
|
||||||
FlexLayoutModule,
|
FlexLayoutModule,
|
||||||
MaterialModule,
|
MaterialModule,
|
||||||
UploadModule,
|
UploadModule,
|
||||||
|
39
lib/content-services/src/lib/pipes/content-pipe.module.ts
Normal file
39
lib/content-services/src/lib/pipes/content-pipe.module.ts
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
/*!
|
||||||
|
* @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 { CommonModule } from '@angular/common';
|
||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { NodeNameTooltipPipe } from './node-name-tooltip.pipe';
|
||||||
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
TranslateModule
|
||||||
|
],
|
||||||
|
declarations: [
|
||||||
|
NodeNameTooltipPipe
|
||||||
|
],
|
||||||
|
providers: [
|
||||||
|
NodeNameTooltipPipe
|
||||||
|
],
|
||||||
|
exports: [
|
||||||
|
NodeNameTooltipPipe
|
||||||
|
]
|
||||||
|
})
|
||||||
|
export class ContentPipeModule {
|
||||||
|
}
|
18
lib/content-services/src/lib/pipes/index.ts
Normal file
18
lib/content-services/src/lib/pipes/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/content-services/src/lib/pipes/public-api.ts
Normal file
19
lib/content-services/src/lib/pipes/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 './node-name-tooltip.pipe';
|
||||||
|
export * from './content-pipe.module';
|
@ -38,6 +38,7 @@ export * from './lib/content-type/index';
|
|||||||
export * from './lib/new-version-uploader';
|
export * from './lib/new-version-uploader';
|
||||||
export * from './lib/interfaces/index';
|
export * from './lib/interfaces/index';
|
||||||
export * from './lib/version-compatibility/index';
|
export * from './lib/version-compatibility/index';
|
||||||
|
export * from './lib/pipes/index';
|
||||||
export * from './lib/services/index';
|
export * from './lib/services/index';
|
||||||
|
|
||||||
export * from './lib/content.module';
|
export * from './lib/content.module';
|
||||||
|
@ -20,7 +20,6 @@ import { NgModule } from '@angular/core';
|
|||||||
|
|
||||||
import { FileSizePipe } from './file-size.pipe';
|
import { FileSizePipe } from './file-size.pipe';
|
||||||
import { MimeTypeIconPipe } from './mime-type-icon.pipe';
|
import { MimeTypeIconPipe } from './mime-type-icon.pipe';
|
||||||
import { NodeNameTooltipPipe } from './node-name-tooltip.pipe';
|
|
||||||
import { HighlightPipe } from './text-highlight.pipe';
|
import { HighlightPipe } from './text-highlight.pipe';
|
||||||
import { TimeAgoPipe } from './time-ago.pipe';
|
import { TimeAgoPipe } from './time-ago.pipe';
|
||||||
import { InitialUsernamePipe } from './user-initial.pipe';
|
import { InitialUsernamePipe } from './user-initial.pipe';
|
||||||
@ -49,7 +48,6 @@ import { FilterOutArrayObjectsByPropPipe } from './filter-out-every-object-by-pr
|
|||||||
MimeTypeIconPipe,
|
MimeTypeIconPipe,
|
||||||
InitialUsernamePipe,
|
InitialUsernamePipe,
|
||||||
FullNamePipe,
|
FullNamePipe,
|
||||||
NodeNameTooltipPipe,
|
|
||||||
FormatSpacePipe,
|
FormatSpacePipe,
|
||||||
FileTypePipe,
|
FileTypePipe,
|
||||||
MultiValuePipe,
|
MultiValuePipe,
|
||||||
@ -67,7 +65,6 @@ import { FilterOutArrayObjectsByPropPipe } from './filter-out-every-object-by-pr
|
|||||||
TimeAgoPipe,
|
TimeAgoPipe,
|
||||||
MimeTypeIconPipe,
|
MimeTypeIconPipe,
|
||||||
InitialUsernamePipe,
|
InitialUsernamePipe,
|
||||||
NodeNameTooltipPipe,
|
|
||||||
FormatSpacePipe,
|
FormatSpacePipe,
|
||||||
FileTypePipe,
|
FileTypePipe,
|
||||||
MultiValuePipe,
|
MultiValuePipe,
|
||||||
@ -86,7 +83,6 @@ import { FilterOutArrayObjectsByPropPipe } from './filter-out-every-object-by-pr
|
|||||||
MimeTypeIconPipe,
|
MimeTypeIconPipe,
|
||||||
InitialUsernamePipe,
|
InitialUsernamePipe,
|
||||||
FullNamePipe,
|
FullNamePipe,
|
||||||
NodeNameTooltipPipe,
|
|
||||||
FormatSpacePipe,
|
FormatSpacePipe,
|
||||||
FileTypePipe,
|
FileTypePipe,
|
||||||
MultiValuePipe,
|
MultiValuePipe,
|
||||||
|
@ -23,7 +23,6 @@ export * from './full-name.pipe';
|
|||||||
export * from './localized-date.pipe';
|
export * from './localized-date.pipe';
|
||||||
export * from './mime-type-icon.pipe';
|
export * from './mime-type-icon.pipe';
|
||||||
export * from './multi-value.pipe';
|
export * from './multi-value.pipe';
|
||||||
export * from './node-name-tooltip.pipe';
|
|
||||||
export * from './text-highlight.pipe';
|
export * from './text-highlight.pipe';
|
||||||
export * from './time-ago.pipe';
|
export * from './time-ago.pipe';
|
||||||
export * from './user-initial.pipe';
|
export * from './user-initial.pipe';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user