mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name (#7324)
* [AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name * Minor css styling adjustments * [AAE-6165] Changes done for date datatype and table css * [AAE-6165] Changes done as per the comments * [AAE-6165] Changes done as per comments on PR * Resolved failing lints * Updated CSS for attach file widget * Updated css * Updated UT * Resolved e2e failures * Resolved e2e errors Co-authored-by: amohammedalfresco <abdul.mohammed@alfresco.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/*!
|
||||
* @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.
|
||||
*/
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
export interface DisplayableCMProperties {
|
||||
name?: string;
|
||||
prefixedName?: string;
|
||||
title?: string;
|
||||
dataType?: string;
|
||||
defaultValue?: string;
|
||||
}
|
@@ -17,6 +17,7 @@
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
import { DisplayableCMProperties } from './displayable-cm-properties.model';
|
||||
import { FormFieldFileSource } from './form-field-file-source';
|
||||
|
||||
export interface FormFieldMetadata {
|
||||
@@ -35,4 +36,5 @@ export interface FormFieldMetadata {
|
||||
retrieveMetadata?: boolean,
|
||||
remove?: boolean
|
||||
};
|
||||
displayableCMProperties?: DisplayableCMProperties[];
|
||||
}
|
||||
|
@@ -42,6 +42,7 @@
|
||||
"REMOVE_FILE": "Remove",
|
||||
"UPLOAD": "UPLOAD",
|
||||
"REQUIRED": "*Required",
|
||||
"FILE_NAME": "File Name",
|
||||
"NO_FILE_ATTACHED" : "No file attached",
|
||||
"VALIDATOR": {
|
||||
"INVALID_NUMBER": "Use a different number format",
|
||||
|
Reference in New Issue
Block a user