mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* AAE-4241 Fix date and date time not being populated when node metadata is retrieved * AAE-4241 Fix unit tests * [AAE-4241] Fix validation messages * [AAE-4241] Fix unit tests * [AAE-4241] Fix error log messages * [AAE-4241] Fix unit tests * [AAE-4241] Fix e2e tests
96 lines
2.8 KiB
TypeScript
96 lines
2.8 KiB
TypeScript
/*!
|
|
* @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 { FileSizePipe } from './file-size.pipe';
|
|
import { MimeTypeIconPipe } from './mime-type-icon.pipe';
|
|
import { NodeNameTooltipPipe } from './node-name-tooltip.pipe';
|
|
import { HighlightPipe } from './text-highlight.pipe';
|
|
import { TimeAgoPipe } from './time-ago.pipe';
|
|
import { InitialUsernamePipe } from './user-initial.pipe';
|
|
import { FullNamePipe } from './full-name.pipe';
|
|
import { FormatSpacePipe } from './format-space.pipe';
|
|
import { FileTypePipe } from './file-type.pipe';
|
|
import { MultiValuePipe } from './multi-value.pipe';
|
|
import { LocalizedDatePipe } from './localized-date.pipe';
|
|
import { DecimalNumberPipe } from './decimal-number.pipe';
|
|
import { LocalizedRolePipe } from './localized-role.pipe';
|
|
import { TranslateModule } from '@ngx-translate/core';
|
|
import { MomentDatePipe } from './moment-date.pipe';
|
|
import { MomentDateTimePipe } from './moment-datetime.pipe';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
TranslateModule
|
|
],
|
|
declarations: [
|
|
FileSizePipe,
|
|
HighlightPipe,
|
|
TimeAgoPipe,
|
|
MimeTypeIconPipe,
|
|
InitialUsernamePipe,
|
|
FullNamePipe,
|
|
NodeNameTooltipPipe,
|
|
FormatSpacePipe,
|
|
FileTypePipe,
|
|
MultiValuePipe,
|
|
LocalizedDatePipe,
|
|
DecimalNumberPipe,
|
|
LocalizedRolePipe,
|
|
MomentDatePipe,
|
|
MomentDateTimePipe
|
|
],
|
|
providers: [
|
|
FileSizePipe,
|
|
HighlightPipe,
|
|
TimeAgoPipe,
|
|
MimeTypeIconPipe,
|
|
InitialUsernamePipe,
|
|
NodeNameTooltipPipe,
|
|
FormatSpacePipe,
|
|
FileTypePipe,
|
|
MultiValuePipe,
|
|
LocalizedDatePipe,
|
|
DecimalNumberPipe,
|
|
LocalizedRolePipe,
|
|
MomentDatePipe,
|
|
MomentDateTimePipe
|
|
],
|
|
exports: [
|
|
FileSizePipe,
|
|
HighlightPipe,
|
|
TimeAgoPipe,
|
|
MimeTypeIconPipe,
|
|
InitialUsernamePipe,
|
|
FullNamePipe,
|
|
NodeNameTooltipPipe,
|
|
FormatSpacePipe,
|
|
FileTypePipe,
|
|
MultiValuePipe,
|
|
LocalizedDatePipe,
|
|
DecimalNumberPipe,
|
|
LocalizedRolePipe,
|
|
MomentDatePipe,
|
|
MomentDateTimePipe
|
|
]
|
|
})
|
|
export class PipeModule {
|
|
}
|