Commit 560e6100 authored by Kristian Ntavidi's avatar Kristian Ntavidi
Browse files

Dataset Profile Editor: when "select" is created it appends as well an empy...

Dataset Profile Editor: when "select" is created it appends as well an empy option. Recent edited activity "LoadMore" fix. Table of contents: selected entry updates.
parent 6e70071a
import { FormBuilder, FormGroup } from '@angular/forms';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { FieldDataOption } from '../../../../../core/model/dataset-profile-definition/field-data/field-data';
import { FieldDataEditorModel } from './field-data-editor-model';
......@@ -9,8 +9,8 @@ export class FieldDataOptionEditorModel extends FieldDataEditorModel<FieldDataOp
buildForm(disabled: boolean = false, skipDisable: Array<String> = []): FormGroup {
return new FormBuilder().group({
label: [{ value: this.label, disabled: (disabled && !skipDisable.includes('FieldDataOptionEditorModel.label')) }],
value: [{ value: this.value, disabled: (disabled && !skipDisable.includes('FieldDataOptionEditorModel.value')) }],
label: [{ value: this.label, disabled: (disabled && !skipDisable.includes('FieldDataOptionEditorModel.label')) },[Validators.required]],
value: [{ value: this.value, disabled: (disabled && !skipDisable.includes('FieldDataOptionEditorModel.value')) },[Validators.required]],
source: [{ value: this.source, disabled: (disabled && !skipDisable.includes('FieldDataOptionEditorModel.source')) }]
});
}
......
......@@ -36,7 +36,7 @@ import { EditorCustomValidators } from '../../custom-validators/editor-custom-va
import { Field, FieldSet } from '@app/core/model/admin/dataset-profile/dataset-profile';
import { DatasetProfileComboBoxType } from '@app/core/common/enum/dataset-profile-combo-box-type';
import { DatasetProfileInternalDmpEntitiesType } from '@app/core/common/enum/dataset-profile-internal-dmp-entities-type';
import { AutoCompleteFieldData, BooleanDecisionFieldData, CheckBoxFieldData, CurrencyFieldData, DataRepositoriesFieldData, DatasetIdentifierFieldData, DatePickerFieldData, DmpsAutoCompleteFieldData, ExternalDatasetsFieldData, FreeTextFieldData, OrganizationsFieldData, RadioBoxFieldData, RegistriesFieldData, ResearchersAutoCompleteFieldData, ServicesFieldData, TagsFieldData, TextAreaFieldData, ValidationFieldData, WordListFieldData } from '@app/core/model/dataset-profile-definition/field-data/field-data';
import { AutoCompleteFieldData, BooleanDecisionFieldData, CheckBoxFieldData, CurrencyFieldData, DataRepositoriesFieldData, DatasetIdentifierFieldData, DatePickerFieldData, DmpsAutoCompleteFieldData, ExternalDatasetsFieldData, FieldDataOption, FreeTextFieldData, OrganizationsFieldData, RadioBoxFieldData, RegistriesFieldData, ResearchersAutoCompleteFieldData, ServicesFieldData, TagsFieldData, TextAreaFieldData, ValidationFieldData, WordListFieldData } from '@app/core/model/dataset-profile-definition/field-data/field-data';
import { CompositeField } from '@app/core/model/dataset-profile-definition/composite-field';
import {Field as FieldDefinition} from '@app/core/model/dataset-profile-definition/field';
import { Subject } from 'rxjs';
......@@ -539,10 +539,13 @@ export class DatasetProfileEditorCompositeFieldComponent implements OnInit, OnCh
// fieldForm.get('data').setValidators(EditorCustomValidators.atLeastOneElementListValidator('options'));
// fieldForm.get('data').updateValueAndValidity();
const firstOption = {label:'', value:''} as FieldDataOption;
const data:WordListFieldData = {
label:'',
multiList:false,
options:[],
options:[firstOption],
type:DatasetProfileComboBoxType.WordList
}
......
......@@ -285,5 +285,3 @@
</div>
</ng-container> -->
<!-- {{form.touched|json}} -->
<!-- {{form.value |json}} -->
\ No newline at end of file
......@@ -40,7 +40,7 @@ import { EditorCustomValidators } from '../../custom-validators/editor-custom-va
import { Field } from '@app/core/model/admin/dataset-profile/dataset-profile';
import { DatasetProfileInternalDmpEntitiesType } from '@app/core/common/enum/dataset-profile-internal-dmp-entities-type';
import { FieldEditorModel } from '../../../admin/field-editor-model';
import { AutoCompleteFieldData, BooleanDecisionFieldData, CheckBoxFieldData, CurrencyFieldData, DataRepositoriesFieldData, DatasetIdentifierFieldData, DatePickerFieldData, DmpsAutoCompleteFieldData, ExternalDatasetsFieldData, FreeTextFieldData, OrganizationsFieldData, RadioBoxFieldData, RegistriesFieldData, ResearchersAutoCompleteFieldData, ServicesFieldData, TagsFieldData, TextAreaFieldData, ValidationFieldData, WordListFieldData } from '@app/core/model/dataset-profile-definition/field-data/field-data';
import { AutoCompleteFieldData, BooleanDecisionFieldData, CheckBoxFieldData, CurrencyFieldData, DataRepositoriesFieldData, DatasetIdentifierFieldData, DatePickerFieldData, DmpsAutoCompleteFieldData, ExternalDatasetsFieldData, FieldDataOption, FreeTextFieldData, OrganizationsFieldData, RadioBoxFieldData, RegistriesFieldData, ResearchersAutoCompleteFieldData, ServicesFieldData, TagsFieldData, TextAreaFieldData, ValidationFieldData, WordListFieldData } from '@app/core/model/dataset-profile-definition/field-data/field-data';
@Component({
selector: 'app-dataset-profile-editor-field-component',
......@@ -488,12 +488,12 @@ export class DatasetProfileEditorFieldComponent extends BaseComponent implements
// this.form.get('data').setValidators(EditorCustomValidators.atLeastOneElementListValidator('options'));
// this.form.get('data').updateValueAndValidity();
const option1 = {label:'', value:''} as FieldDataOption;
const data:WordListFieldData = {
label:'',
multiList:false,
options:[],
options:[option1],
type:DatasetProfileComboBoxType.WordList
}
......
......@@ -165,7 +165,7 @@
</div>
</div>
</div>
<div *ngIf="allRecentActivities && allRecentActivities.length > 0 && allRecentActivities.length >= startIndex + pageSize" class="d-flex justify-content-center">
<div *ngIf="allRecentActivities && allRecentActivities.length > 0 && (allRecentActivities.length >= startIndex + pageSize) && hasMoreActivity" class="d-flex justify-content-center">
<button type="button" class="btn-load-more" (click)="loadMore()">{{'GENERAL.ACTIONS.LOAD-MORE' | translate}}</button>
</div>
</div>
......
......@@ -62,6 +62,7 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
datasetOffset: number = 0;
pageSize: number = 5;
dmpFormGroup: FormGroup;
hasMoreActivity:boolean = true;
public formGroup = new FormBuilder().group({
like: new FormControl(),
order: new FormControl()
......@@ -605,6 +606,10 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
}
refresh(): void {
this.hasMoreActivity = true;
this.datasetOffset = 0;
this.dmpOffset = 0;
const fields: Array<string> = [((this.formGroup.get('order').value === 'status') || (this.formGroup.get('order').value === 'label') ? '+' : "-") + this.formGroup.get('order').value];
// const fields: Array<string> = ["-modified"];
this.startIndex = 0;
......@@ -623,6 +628,8 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
this.dmpOffset = this.dmpOffset + 1;
}
});
if(response.length< this.pageSize) {this.hasMoreActivity = false;}
this.totalCountRecentEdited.emit(this.allRecentActivities.length);
});
}
......@@ -636,7 +643,7 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
request.criteria.order = this.formGroup.get("order").value;
this.dashboardService.getRecentActivity(request).pipe(takeUntil(this._destroyed)).subscribe(result => {
if (!result) { return []; }
if (!result) { this.hasMoreActivity = false; return []; }
result.forEach(recentActivity => {
if (recentActivity.type === RecentActivityType.Dataset) {
this.datasetOffset = this.datasetOffset + 1;
......@@ -644,6 +651,8 @@ export class RecentEditedActivityComponent extends BaseComponent implements OnIn
this.dmpOffset = this.dmpOffset + 1;
}
});
if(result.length<this.pageSize) this.hasMoreActivity = false;
// this.allRecentActivities = this.allRecentActivities.concat(result);
this.allRecentActivities = this.allRecentActivities.length > 0 ? this.mergeTwoSortedLists(this.allRecentActivities, result, this.formGroup.get('order').value) : result;
this.totalCountRecentEdited.emit(this.allRecentActivities.length);
......
......@@ -54,7 +54,7 @@
<div (click)="changeStep(0)" *ngIf="datasetInfoValid()" class="main-info" [ngClass]="{'active': this.step === 0}">0. {{'DMP-EDITOR.STEPPER.MAIN-INFO' | translate}} (<mat-icon class="done-icon">done</mat-icon>)</div>
<div class="row toc-pane-container" #boundary (click)="changeStep(1)">
<div #spacer></div>
<table-of-contents #table0fContents [showErrors]="showtocentriesErrors" [TOCENTRY_ID_PREFIX]="TOCENTRY_ID_PREFIX" [hasFocus]="step === 1" [formGroup]="formGroup" *ngIf="formGroup && formGroup.get('datasetProfileDefinition')" [links]="links" [boundary]="boundary" [spacer]="spacer" [isActive]="step !== 0" stickyThing (stepFound)="onStepFound($event)" (currentLinks)="getLinks($event)" [visibilityRules]="formGroup.get('datasetProfileDefinition').get('rules').value"></table-of-contents>
<table-of-contents [selectedFieldsetId]="fieldsetIdWithFocus" #table0fContents [showErrors]="showtocentriesErrors" [TOCENTRY_ID_PREFIX]="TOCENTRY_ID_PREFIX" [hasFocus]="step === 1" [formGroup]="formGroup" *ngIf="formGroup && formGroup.get('datasetProfileDefinition')" [links]="links" [boundary]="boundary" [spacer]="spacer" [isActive]="step !== 0" stickyThing (stepFound)="onStepFound($event)" (currentLinks)="getLinks($event)" [visibilityRules]="formGroup.get('datasetProfileDefinition').get('rules').value"></table-of-contents>
</div>
</div>
</div>
......@@ -81,7 +81,7 @@
</div>
<div class="col-auto form" id="dataset-editor-form">
<app-dataset-editor-component [hidden]="this.step !== 0" [formGroup]="formGroup" [dmpId]="formGroup.get('dmp').value.id" [availableProfiles]="formGroup.get('dmp').value.profiles" (formChanged)="formChanged()"></app-dataset-editor-component>
<app-dataset-description [TOCENTRY_ID_PREFIX]="TOCENTRY_ID_PREFIX" [hidden]="this.step === 0" *ngIf="formGroup && formGroup.get('datasetProfileDefinition')" [form]="this.formGroup.get('datasetProfileDefinition')" [visibilityRules]="formGroup.get('datasetProfileDefinition').get('rules').value" [datasetProfileId]="formGroup.get('profile').value" [linkToScroll]="linkToScroll"></app-dataset-description>
<app-dataset-description [TOCENTRY_ID_PREFIX]="TOCENTRY_ID_PREFIX" [hidden]="this.step === 0" *ngIf="formGroup && formGroup.get('datasetProfileDefinition')" [form]="this.formGroup.get('datasetProfileDefinition')" [visibilityRules]="formGroup.get('datasetProfileDefinition').get('rules').value" [datasetProfileId]="formGroup.get('profile').value" [linkToScroll]="linkToScroll" (fieldsetFocusChange)="fieldsetIdWithFocus = $event"></app-dataset-description>
</div>
</div>
</form>
......
......@@ -96,6 +96,8 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr
@ViewChild('table0fContents', {static: false}) table0fContents: TableOfContents;
hintErrors: boolean = false;
fieldsetIdWithFocus:string;
constructor(
private datasetWizardService: DatasetWizardService,
private route: ActivatedRoute,
......@@ -1042,8 +1044,13 @@ export class DatasetWizardComponent extends BaseComponent implements OnInit, IBr
this.hintErrors = false;
if (this.isNew) {
Object.keys(this.formGroup['controls']).forEach((key: string) => {
if (key !== 'dmp') {
this.formGroup.get(key).reset();
if (key !== 'dmp' && (key!== 'profile')) {
if(key === 'datasetProfileDefinition'){
this.formGroup.get(key).patchValue(this.datasetProfileDefinitionModel.buildForm().getRawValue);
}else{
this.formGroup.get(key).reset();
}
}
});
} else {
......
......@@ -75,7 +75,7 @@
<ng-container *ngSwitchCase="tocentriesType.FieldSet">
<!-- FIELDSET CASE -->
<div *ngFor="let fieldsetEntry of tocentry.subEntries; let i = index;" class="col-12" [id]="TOCENTRY_ID_PREFIX+fieldsetEntry.id" (click)="onAskedToScroll()">
<div *ngFor="let fieldsetEntry of tocentry.subEntries; let i = index;" class="col-12" [id]="TOCENTRY_ID_PREFIX+fieldsetEntry.id" (click)="onAskedToScroll(fieldsetEntry.id)">
<!-- <div *ngIf="isElementVisible(compositeField)" class="row"> -->
<!-- *ngIf="this.visibilityRulesService.checkElementVisibility(compositeFieldFormGroup.get('id').value)" -->
<div class="row" *ngIf="this.visibilityRulesService.checkElementVisibility(fieldsetEntry.form.get('id').value) && this.visibilityRulesService.scanIfChildsOfCompositeFieldHasVisibleItems(fieldsetEntry.form)">
......@@ -124,7 +124,7 @@
<div *ngFor="let sectionEntry of tocentry.subEntries; let j = index;" class="row">
<app-form-section [TOCENTRY_ID_PREFIX]="TOCENTRY_ID_PREFIX" class="col-12" [tocentry]="sectionEntry" [form]="sectionEntry.form" [path]="path+'.'+(j+1)" [pathName]="pathName+'.sections.'+j" [linkToScroll]="subsectionLinkToScroll"
[datasetProfileId]="datasetProfileId"
(askedToScroll)="onAskedToScroll()"
(askedToScroll)="onAskedToScroll($event)"
></app-form-section>
</div>
</div>
......
......@@ -28,7 +28,7 @@ export class FormSectionComponent implements OnInit, OnChanges {
subsectionLinkToScroll: LinkToScroll;
@Output() askedToScroll = new EventEmitter<void>();
@Output() askedToScroll = new EventEmitter<string>();
tocentriesType = ToCEntryType;
@Input() TOCENTRY_ID_PREFIX="";
......@@ -96,8 +96,8 @@ export class FormSectionComponent implements OnInit, OnChanges {
onAskedToScroll(){
onAskedToScroll(id:string){
this.panelExpanded = true;
this.askedToScroll.emit();
this.askedToScroll.emit(id);
}
}
......@@ -39,7 +39,7 @@
<app-form-section [TOCENTRY_ID_PREFIX]="TOCENTRY_ID_PREFIX" class="col-12" [tocentry]="sectionEntry" [path]="z+1"
[pathName]="'pages.'+z+'.sections.'+i" [datasetProfileId]="datasetProfileId"
[linkToScroll]="linkToScroll"
(askedToScroll)="onAskedToScroll(expansionPanel)"
(askedToScroll)="onAskedToScroll(expansionPanel, $event)"
></app-form-section>
</div>
</div>
......
......@@ -22,6 +22,8 @@ export class DatasetDescriptionComponent extends BaseComponent implements OnInit
@Input() datasetProfileId: String;
@Input() linkToScroll: LinkToScroll;
@Output() formChanged: EventEmitter<any> = new EventEmitter();
@Output() fieldsetFocusChange: EventEmitter<string> = new EventEmitter<string>();
tocentries: ToCEntry[];
@Input() form: FormGroup;
......@@ -68,8 +70,9 @@ export class DatasetDescriptionComponent extends BaseComponent implements OnInit
onAskedToScroll(panel: MatExpansionPanel){
onAskedToScroll(panel: MatExpansionPanel, id?:string){
panel.open();
this.fieldsetFocusChange.emit(id);
}
......
......@@ -35,10 +35,30 @@ export class TableOfContentsInternal implements OnInit {
// console.log('component created');
if(this.tocentries){
this.expandChildren = this.tocentries.map(()=>false);
if(this.selected){
for(let i=0; i<this.tocentries.length;i++ ){
if(this._findTocEntryById(this.selected.id, this.tocentries[i].subEntries)){
if(this.expandChildren){
this.expandChildren[i] = true;
}
break;
}
}
}
}
}
ngOnChanges(changes: SimpleChanges) {
if(changes.selected && this.selected){
for(let i=0; i<this.tocentries.length;i++ ){
if(this._findTocEntryById(this.selected.id, this.tocentries[i].subEntries)){
if(this.expandChildren){
this.expandChildren[i] = true;
}
break;
}
}
}
// if (!this.isActive && this.links && this.links.length > 0) {
// this.links.forEach(link => {
// link.selected = false;
......@@ -97,4 +117,26 @@ export class TableOfContentsInternal implements OnInit {
return myClass;
}
private _findTocEntryById(id: string, tocentries: ToCEntry[]): ToCEntry{
if(!tocentries || !tocentries.length){
return null;
}
let tocEntryFound = tocentries.find(entry=>entry.id === id);
if(tocEntryFound){
return tocEntryFound;
}
for(let entry of tocentries){
const result = this._findTocEntryById(id, entry.subEntries);
if(result){
tocEntryFound = result;
break;
}
}
return tocEntryFound? tocEntryFound: null;
}
}
import { DOCUMENT } from '@angular/common';
import { Component, EventEmitter, Inject, OnInit, Output, Input } from '@angular/core';
import { Component, EventEmitter, Inject, OnInit, Output, Input, OnChanges } from '@angular/core';
import { BaseComponent } from '@common/base/base.component';
import { interval, Subject, Subscription } from 'rxjs';
import { distinctUntilChanged } from 'rxjs/operators';
......@@ -32,7 +32,7 @@ export interface Link {
styleUrls: ['./table-of-contents.scss'],
templateUrl: './table-of-contents.html'
})
export class TableOfContents extends BaseComponent implements OnInit {
export class TableOfContents extends BaseComponent implements OnInit, OnChanges {
@Input() links: Link[];
container: string;
......@@ -49,6 +49,7 @@ export class TableOfContents extends BaseComponent implements OnInit {
// visibilityRules:Rule[] = [];
@Input() visibilityRules:Rule[] = [];
@Input() showErrors: boolean = false;
@Input() selectedFieldsetId:string;
private _tocentrySelected:ToCEntry = null;
get tocentrySelected(){
......@@ -143,6 +144,11 @@ export class TableOfContents extends BaseComponent implements OnInit {
}
ngOnChanges(changes: SimpleChanges) {
if(this.selectedFieldsetId){
this.tocentrySelected = this._findTocEntryById(this.selectedFieldsetId,this.tocentries);
}
// if (!this.isActive && this.links && this.links.length > 0) {
// this.links.forEach(link => {
// link.selected = false;
......@@ -316,6 +322,28 @@ export class TableOfContents extends BaseComponent implements OnInit {
}
}
private _findTocEntryById(id: string, tocentries: ToCEntry[]): ToCEntry{
if(!tocentries || !tocentries.length){
return null;
}
let tocEntryFound = tocentries.find(entry=>entry.id === id);
if(tocEntryFound){
return tocEntryFound;
}
for(let entry of tocentries){
const result = this._findTocEntryById(id, entry.subEntries);
if(result){
tocEntryFound = result;
break;
}
}
return tocEntryFound? tocEntryFound: null;
}
}
export interface LinkToScroll {
......
......@@ -381,29 +381,29 @@
"VALIDATION": "Validation",
"MULTIPLICITY-CHECKBOX": "Multiplicity",
"FIELD-TEXT-AREA-TITLE": "Text Area Data",
"FIELD-TEXT-AREA-PLACEHOLDER": "Input Placeholder",
"FIELD-TEXT-AREA-PLACEHOLDER": "Input Placeholder Text",
"FIELD-BOOLEAN-DECISION-TITLE": "Boolean Decision Data",
"FIELD-BOOLEAN-DECISION-PLACEHOLDER": "Input Placeholder",
"FIELD-CHECKBOX-TITLE": "Checkbox Data",
"FIELD-CHECKBOX-PLACEHOLDER": "Input Placeholder",
"FIELD-CHECKBOX-PLACEHOLDER": "Input Placeholder Text",
"FIELD-FREE-TEXT-TITLE": "Free Text Data",
"FIELD-FREE-TEXT-PLACEHOLDER": "Input Placeholder",
"FIELD-FREE-TEXT-PLACEHOLDER": "Input Placeholder Text",
"FIELD-COMBO-BOX-TYPE": "Type of Combo Box",
"FIELD-WORD-LIST-TITLE": "Word List Data",
"FIELD-WORD-LIST-PLACEHOLDER": "Input Placeholder",
"FIELD-WORD-LIST-PLACEHOLDER": "Input Placeholder Text",
"FIELD-WORD-LIST-LABEL": "Label",
"FIELD-WORD-LIST-VALUE": "Value",
"FIELD-INTERNAL-DMP-ENTITIES-TYPE": "Type of Internal DMP Entity",
"FIELD-RESEARCHERS-TITLE": "Researchers Autocomplete",
"FIELD-RESEARCHERS-PLACEHOLDER": "Input Placeholder",
"FIELD-DATASETS-PLACEHOLDER": "Input Placeholder",
"FIELD-DMPS-PLACEHOLDER": "Input Placeholder",
"FIELD-RESEARCHERS-PLACEHOLDER": "Input Placeholder Text",
"FIELD-DATASETS-PLACEHOLDER": "Input Placeholder Text",
"FIELD-DMPS-PLACEHOLDER": "Input Placeholder Text",
"FIELD-RADIO-BOX-TITLE": "Radio Box Data",
"FIELD-RADIO-BOX-PLACEHOLDER": "Input Placeholder",
"FIELD-RADIO-BOX-PLACEHOLDER": "Input Placeholder Text",
"FIELD-RADIO-BOX-LABEL": "Label",
"FIELD-RADIO-BOX-VALUE": "Value",
"FIELD-AUTOCOMPLETE-TITLE": "Autocomplete Data",
"FIELD-AUTOCOMPLETE-PLACEHOLDER": "Input Placeholder",
"FIELD-AUTOCOMPLETE-PLACEHOLDER": "Input Placeholder Text",
"FIELD-AUTOCOMPLETE-SOURCE-TITLE": "Sources",
"FIELD-AUTOCOMPLETE-ADD_SOURCE": "Add Source",
"FIELD-AUTOCOMPLETE-TYPE": "Source Type",
......@@ -415,29 +415,29 @@
"FIELD-AUTOCOMPLETE-URL": "Url",
"FIELD-AUTOCOMPLETE-OPTIONS-ROOT": "Options Root",
"FIELD-DATE-PICKER-TITLE": "Date Picker",
"FIELD-DATE-PICKER-PLACEHOLDER": "Input Placeholder",
"FIELD-DATE-PICKER-PLACEHOLDER": "Input Placeholder Text",
"FIELD-DATE-PICKER-LABEL": "Label",
"FIELD-DATE-PICKER-VALUE": "Value",
"FIELD-MULTIPLE-AUTOCOMPLETE": "Multiple Autocomplete",
"FIELD-MULTIPLE-WORDLIST": "Multiple Selection",
"FIELD-CURRENCY-TITLE": "Currency Data",
"FIELD-CURRENCY-PLACEHOLDER": "Input Placeholder",
"FIELD-CURRENCY-PLACEHOLDER": "Input Placeholder Text",
"FIELD-REGISTRIES-TITLE": "Registries Data",
"FIELD-REGISTRIES-PLACEHOLDER": "Input Placeholder",
"FIELD-REGISTRIES-PLACEHOLDER": "Input Placeholder Text",
"FIELD-SERVICES-TITLE": "Services Data",
"FIELD-SERVICES-PLACEHOLDER": "Input Placeholder",
"FIELD-SERVICES-PLACEHOLDER": "Input Placeholder Text",
"FIELD-ORGANIZATIONS-TITLE": "Organizations Data",
"FIELD-ORGANIZATIONS-PLACEHOLDER": "Input placeholder",
"FIELD-ORGANIZATIONS-PLACEHOLDER": "Input placeholder Text",
"FIELD-EXTERNAL-DATASETS-TITLE": "External Datasets Data",
"FIELD-EXTERNAL-DATASETS-PLACEHOLDER": "Input placeholder",
"FIELD-DATA-REPOSITORIES-TITLE": "Data Repositories Data",
"FIELD-DATA-REPOSITORIES-TITLE": "Data Repositories Data Text",
"FIELD-DATA-REPOSITORIES-PLACEHOLDER": "Input placeholder",
"FIELD-TAGS-TITLE": "Tags Data",
"FIELD-TAGS-PLACEHOLDER": "Input placeholder",
"FIELD-TAGS-PLACEHOLDER": "Input placeholder Text",
"FIELD-DATASET-IDENTIFIER-TITLE": "Dataset Identifier Data",
"FIELD-DATASET-IDENTIFIER-PLACEHOLDER": "Input placeholder",
"FIELD-VALIDATOR-TITLE": "Validator Data",
"FIELD-VALIDATOR-PLACEHOLDER": "Input placeholder"
"FIELD-VALIDATOR-PLACEHOLDER": "Input placeholder Text"
},
"ERROR-MESSAGES":{
"FIELD-OTHER-SOURCES-REQUIRED": "At least one source must be provided.",
......
......@@ -381,29 +381,29 @@
"VALIDATION": "Validation",
"MULTIPLICITY-CHECKBOX": "Multiplicity",
"FIELD-TEXT-AREA-TITLE": "Text Area Data",
"FIELD-TEXT-AREA-PLACEHOLDER": "Input Placeholder",
"FIELD-TEXT-AREA-PLACEHOLDER": "Input Placeholder Text",
"FIELD-BOOLEAN-DECISION-TITLE": "Boolean Decision Data",
"FIELD-BOOLEAN-DECISION-PLACEHOLDER": "Input Placeholder",
"FIELD-BOOLEAN-DECISION-PLACEHOLDER": "Input Placeholder Text",
"FIELD-CHECKBOX-TITLE": "Checkbox Data",
"FIELD-CHECKBOX-PLACEHOLDER": "Input Placeholder",
"FIELD-CHECKBOX-PLACEHOLDER": "Input Placeholder Text",
"FIELD-FREE-TEXT-TITLE": "Free Text Data",
"FIELD-FREE-TEXT-PLACEHOLDER": "Input Placeholder",
"FIELD-FREE-TEXT-PLACEHOLDER": "Input Placeholder Text",
"FIELD-COMBO-BOX-TYPE": "Type of Combo Box",
"FIELD-WORD-LIST-TITLE": "Word List Data",
"FIELD-WORD-LIST-PLACEHOLDER": "Input Placeholder",
"FIELD-WORD-LIST-PLACEHOLDER": "Input Placeholder Text",
"FIELD-WORD-LIST-LABEL": "Label",
"FIELD-WORD-LIST-VALUE": "Value",
"FIELD-INTERNAL-DMP-ENTITIES-TYPE": "Type of Internal DMP Entity",
"FIELD-RESEARCHERS-TITLE": "Researchers Autocomplete",
"FIELD-RESEARCHERS-PLACEHOLDER": "Input Placeholder",
"FIELD-DATASETS-PLACEHOLDER": "Input Placeholder",
"FIELD-DMPS-PLACEHOLDER": "Input Placeholder",
"FIELD-RESEARCHERS-PLACEHOLDER": "Input Placeholder Text",
"FIELD-DATASETS-PLACEHOLDER": "Input Placeholder Text",
"FIELD-DMPS-PLACEHOLDER": "Input Placeholder Text",
"FIELD-RADIO-BOX-TITLE": "Radio Box Data",
"FIELD-RADIO-BOX-PLACEHOLDER": "Input Placeholder",
"FIELD-RADIO-BOX-PLACEHOLDER": "Input Placeholder Text",
"FIELD-RADIO-BOX-LABEL": "Label",
"FIELD-RADIO-BOX-VALUE": "Value",
"FIELD-AUTOCOMPLETE-TITLE": "Autocomplete Data",
"FIELD-AUTOCOMPLETE-PLACEHOLDER": "Input Placeholder",
"FIELD-AUTOCOMPLETE-PLACEHOLDER": "Input Placeholder Text",
"FIELD-AUTOCOMPLETE-SOURCE-TITLE": "Sources",
"FIELD-AUTOCOMPLETE-ADD_SOURCE": "Add Source",
"FIELD-AUTOCOMPLETE-TYPE": "Source Type",
......@@ -415,29 +415,29 @@
"FIELD-AUTOCOMPLETE-URL": "Url",
"FIELD-AUTOCOMPLETE-OPTIONS-ROOT": "Options Root",
"FIELD-DATE-PICKER-TITLE": "Date Picker",
"FIELD-DATE-PICKER-PLACEHOLDER": "Input Placeholder",
"FIELD-DATE-PICKER-PLACEHOLDER": "Input Placeholder Text",
"FIELD-DATE-PICKER-LABEL": "Label",
"FIELD-DATE-PICKER-VALUE": "Value",
"FIELD-MULTIPLE-AUTOCOMPLETE": "Multiple Autocomplete",
"FIELD-MULTIPLE-WORDLIST": "Multiple Selection",
"FIELD-CURRENCY-TITLE": "Currency Data",
"FIELD-CURRENCY-PLACEHOLDER": "Input Placeholder",
"FIELD-CURRENCY-PLACEHOLDER": "Input Placeholder Text",
"FIELD-REGISTRIES-TITLE": "Registries Data",
"FIELD-REGISTRIES-PLACEHOLDER": "Input Placeholder",
"FIELD-REGISTRIES-PLACEHOLDER": "Input Placeholder Text",
"FIELD-SERVICES-TITLE": "Services Data",
"FIELD-SERVICES-PLACEHOLDER": "Input Placeholder",
"FIELD-SERVICES-PLACEHOLDER": "Input Placeholder Text",
"FIELD-ORGANIZATIONS-TITLE": "Organizations Data",
"FIELD-ORGANIZATIONS-PLACEHOLDER": "Input placeholder",
"FIELD-ORGANIZATIONS-PLACEHOLDER": "Input placeholder Text",
"FIELD-EXTERNAL-DATASETS-TITLE": "External Datasets Data",
"FIELD-EXTERNAL-DATASETS-PLACEHOLDER": "Input placeholder",
"FIELD-EXTERNAL-DATASETS-PLACEHOLDER": "Input placeholder Text",
"FIELD-DATA-REPOSITORIES-TITLE": "Data Repositories Data",
"FIELD-DATA-REPOSITORIES-PLACEHOLDER": "Input placeholder",
"FIELD-DATA-REPOSITORIES-PLACEHOLDER": "Input placeholder Text",
"FIELD-TAGS-TITLE": "Tags Data",
"FIELD-TAGS-PLACEHOLDER": "Input placeholder",
"FIELD-TAGS-PLACEHOLDER": "Input placeholder Text",
"FIELD-DATASET-IDENTIFIER-TITLE": "Dataset Identifier Data",
"FIELD-DATASET-IDENTIFIER-PLACEHOLDER": "Input placeholder",
"FIELD-DATASET-IDENTIFIER-PLACEHOLDER": "Input placeholder Text",
"FIELD-VALIDATOR-TITLE": "Validator Data",
"FIELD-VALIDATOR-PLACEHOLDER": "Input placeholder"
"FIELD-VALIDATOR-PLACEHOLDER": "Input placeholder Text"
},
"ERROR-MESSAGES":{
"FIELD-OTHER-SOURCES-REQUIRED": "At least one source must be provided.",
......
......@@ -421,23 +421,23 @@
"FIELD-MULTIPLE-AUTOCOMPLETE": "Autocompeltado múltiple",
"FIELD-MULTIPLE-WORDLIST": "Multiple Selection",
"FIELD-CURRENCY-TITLE": "Currency Data",
"FIELD-CURRENCY-PLACEHOLDER": "Input Placeholder",
"FIELD-CURRENCY-PLACEHOLDER": "Input Placeholder Text",
"FIELD-REGISTRIES-TITLE": "Registries Data",
"FIELD-REGISTRIES-PLACEHOLDER": "Input Placeholder",
"FIELD-REGISTRIES-PLACEHOLDER": "Input Placeholder Text",
"FIELD-SERVICES-TITLE": "Services Data",
"FIELD-SERVICES-PLACEHOLDER": "Input Placeholder",
"FIELD-SERVICES-PLACEHOLDER": "Input Placeholder Text",
"FIELD-ORGANIZATIONS-TITLE": "Organizations Data",
"FIELD-ORGANIZATIONS-PLACEHOLDER": "Input placeholder",
"FIELD-ORGANIZATIONS-PLACEHOLDER": "Input placeholder Text",
"FIELD-EXTERNAL-DATASETS-TITLE": "External Datasets Data",
"FIELD-EXTERNAL-DATASETS-PLACEHOLDER": "Input placeholder",
"FIELD-EXTERNAL-DATASETS-PLACEHOLDER": "Input placeholder Text",
"FIELD-DATA-REPOSITORIES-TITLE": "Data Repositories Data",
"FIELD-DATA-REPOSITORIES-PLACEHOLDER": "Input placeholder",
"FIELD-DATA-REPOSITORIES-PLACEHOLDER": "Input placeholder Text",
"FIELD-TAGS-TITLE": "Tags Data",
"FIELD-TAGS-PLACEHOLDER": "Input placeholder",
"FIELD-TAGS-PLACEHOLDER": "Input placeholder Text",
"FIELD-DATASET-IDENTIFIER-TITLE": "Dataset Identifier Data",
"FIELD-DATASET-IDENTIFIER-PLACEHOLDER": "Input placeholder",
"FIELD-DATASET-IDENTIFIER-PLACEHOLDER": "Input placeholder Text",
"FIELD-VALIDATOR-TITLE": "Validator Data",
"FIELD-VALIDATOR-PLACEHOLDER": "Input placeholder"
"FIELD-VALIDATOR-PLACEHOLDER": "Input placeholder Text"