diff --git a/package-lock.json b/package-lock.json index 9c7af015632b1b077417c91ba155cfbc58e1a62c..e1e11f0456d3cf05529766575b5669344708bf90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3088,8 +3088,7 @@ "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "dev": true, - "optional": true + "dev": true }, "coa": { "version": "2.0.2", @@ -5384,8 +5383,7 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "aproba": { "version": "1.2.0", @@ -5406,14 +5404,12 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, - "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -5428,20 +5424,17 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "core-util-is": { "version": "1.0.2", @@ -5558,8 +5551,7 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "ini": { "version": "1.3.5", @@ -5571,7 +5563,6 @@ "version": "1.0.0", "bundled": true, "dev": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -5586,7 +5577,6 @@ "version": "3.0.4", "bundled": true, "dev": true, - "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -5594,14 +5584,12 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -5620,7 +5608,6 @@ "version": "0.5.1", "bundled": true, "dev": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -5701,8 +5688,7 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "object-assign": { "version": "4.1.1", @@ -5714,7 +5700,6 @@ "version": "1.4.0", "bundled": true, "dev": true, - "optional": true, "requires": { "wrappy": "1" } @@ -5800,8 +5785,7 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "safer-buffer": { "version": "2.1.2", @@ -5837,7 +5821,6 @@ "version": "1.0.2", "bundled": true, "dev": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -5857,7 +5840,6 @@ "version": "3.0.1", "bundled": true, "dev": true, - "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -5901,14 +5883,12 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true } } }, @@ -9660,8 +9640,7 @@ "version": "4.0.8", "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", - "dev": true, - "optional": true + "dev": true }, "rx-lite-aggregates": { "version": "4.0.8", diff --git a/src/components/input/pharma-input-fields/PhEntity.vue b/src/components/input/pharma-input-fields/PhEntity.vue index de50dbec93977a6e1e2fd9570425a8026c2804e2..b18261a77a0529796e4a390b52e51aa7ed1b5e2a 100644 --- a/src/components/input/pharma-input-fields/PhEntity.vue +++ b/src/components/input/pharma-input-fields/PhEntity.vue @@ -1,7 +1,7 @@ <template> <v-form lazy-validation ref="form" v-model="valid"> - <v-layout row justify-space-between fill-height> - <v-flex> + <v-layout row> + <v-flex xs11> <v-expansion-panel v-model="panel"> <v-expansion-panel-content class="blue-grey lighten-5"> <div slot="header"> @@ -24,7 +24,7 @@ </v-layout> </div> <v-card> - <v-layout row> + <v-layout row wrap> <v-flex x6> <v-text-field outline @@ -48,7 +48,7 @@ ></v-text-field> </v-flex> </v-layout> - <v-layout row> + <v-layout row wrap> <v-flex xs12> <v-autocomplete v-on:input="$emit('input-role', $event);validate();$emit('entity-validation', validationWarning)" @@ -74,7 +74,7 @@ </v-autocomplete> </v-flex> </v-layout> - <v-layout row> + <v-layout row wrap> <v-flex xs6> <v-text-field outline @@ -92,16 +92,21 @@ label="ORCID (format xxxx-xxxx-xxxx-xxxx)." :rules="[validationrules.orcid]" v-on:input="$emit('input-orcid', $event);validate();$emit('entity-validation', validationWarning)" - background-color="blue-grey lighten-5"> - <template v-slot:prepend> - <v-tooltip bottom> - <v-btn slot="activator" small icon :href="'https://orcid.org/'" target="_blank"> - <v-icon color="blue">info</v-icon> - </v-btn> - ORCID: Open Researcher and Contributor ID - </v-tooltip> - </template> - + background-color="blue-grey lighten-5" + > + <template v-slot:prepend> + <v-tooltip bottom> + <v-btn + slot="activator" + small + icon + :href="'https://orcid.org/'" + target="_blank" + > + <v-icon color="blue">info</v-icon> + </v-btn>ORCID: Open Researcher and Contributor ID + </v-tooltip> + </template> </v-text-field> </v-flex> </v-layout> diff --git a/src/components/input/pharma-input-fields/PhProject.vue b/src/components/input/pharma-input-fields/PhProject.vue index 957867bcc96d18e164fcfcbc93a00d21c91b594f..4bc0f2a9b2a698c059b614a47a91452b21195519 100644 --- a/src/components/input/pharma-input-fields/PhProject.vue +++ b/src/components/input/pharma-input-fields/PhProject.vue @@ -1,7 +1,7 @@ <template> <v-form lazy-validation ref="form" v-model="valid"> - <v-layout row justify-space-between fill-height> - <v-flex> + <v-layout row> + <v-flex xs11> <v-expansion-panel v-model="panel"> <v-expansion-panel-content class="blue-grey lighten-5"> <div slot="header"> diff --git a/src/utils/fields.js b/src/utils/fields.js index 001f2996e8266bad6b574cb19c069a948738b4d2..b50df093d1d06a0dad06f9251b36dcad4ea18f16 100644 --- a/src/utils/fields.js +++ b/src/utils/fields.js @@ -1391,7 +1391,6 @@ const fields = [ infoRef: "BAO:0000551", }, - { id: "0-cell-line", predicate: "dcterms:subject", @@ -1658,11 +1657,11 @@ const predicateOrder = [ ]; export default { - getFields: function () { + getFields: function() { return fields; }, - getEditableFields: function () { + getEditableFields: function() { var editable = fields.filter((item) => !item.readonly); // hack: some bug in vuetify autocomplete can't handle the value property var newarr = []; @@ -1673,7 +1672,7 @@ export default { } return newarr; }, - getField: function (id, ordergroup) { + getField: function(id, ordergroup) { for (var i = 0; i < fields.length; i++) { if (fields[i]["id"] === id) { var field = JSON.parse(JSON.stringify(fields[i])); @@ -1683,7 +1682,7 @@ export default { } } }, - getFieldbySubject: function (subject) { + getFieldbySubject: function(subject) { for (var i = 0; i < fields.length; i++) { if (fields[i]["type"] === subject) { var field = JSON.parse(JSON.stringify(fields[i])); @@ -1692,7 +1691,7 @@ export default { } } }, - getFieldsLabelsbyCateg: function (categ) { + getFieldsLabelsbyCateg: function(categ) { var ar = []; for (var i = 0; i < fields.length; i++) { @@ -1707,7 +1706,7 @@ export default { } return ar; }, - getPredicateOrder: function () { + getPredicateOrder: function() { return predicateOrder; }, }; diff --git a/src/utils/json-ld.js b/src/utils/json-ld.js index 3920b0e14f661adb431e61fc52aca6670bac02c8..217a6f73e54d6dc2d18f2496ec92758757659205 100644 --- a/src/utils/json-ld.js +++ b/src/utils/json-ld.js @@ -2001,7 +2001,7 @@ export default { break; case "dcterms:type": //poor man's method leider for now - make a function - if (f.value) { + /*if (f.value) { var mycontent = { "@type": "skos:Concept", "skos:prefLabel": [ @@ -2010,13 +2010,13 @@ export default { "@language": "eng", }, ], - "skos: exactMatch": [ + "skos:exactMatch": [ "https://pid.phaidra.org/vocabulary/8MY0-BQDQ", ], }; this.push_object(jsonld, f.predicate, mycontent); - } + }*/ break; case "frapo:hasFundingAgency": if (f.name || f.identifier) {