Begins replacemento of v-tooltip by floating-vue. #649

This commit is contained in:
mateuswetah 2022-02-08 17:55:02 -03:00
parent 23c01efad7
commit 3b98d5bb67
39 changed files with 220 additions and 240 deletions

88
package-lock.json generated
View File

@ -1256,6 +1256,19 @@
"to-fast-properties": "^2.0.0" "to-fast-properties": "^2.0.0"
} }
}, },
"@floating-ui/core": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-0.3.1.tgz",
"integrity": "sha512-ensKY7Ub59u16qsVIFEo2hwTCqZ/r9oZZFh51ivcLGHfUwTn8l1Xzng8RJUe91H/UP8PeqeBronAGx0qmzwk2g=="
},
"@floating-ui/dom": {
"version": "0.1.10",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-0.1.10.tgz",
"integrity": "sha512-4kAVoogvQm2N0XE0G6APQJuCNuErjOfPW8Ux7DFxh8+AfugWflwVJ5LDlHOwrwut7z/30NUvdtHzQ3zSip4EzQ==",
"requires": {
"@floating-ui/core": "^0.3.0"
}
},
"@npmcli/move-file": { "@npmcli/move-file": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.0.1.tgz", "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.0.1.tgz",
@ -1901,9 +1914,9 @@
}, },
"dependencies": { "dependencies": {
"follow-redirects": { "follow-redirects": {
"version": "1.14.4", "version": "1.14.8",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz",
"integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==" "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA=="
} }
} }
}, },
@ -4541,6 +4554,15 @@
"integrity": "sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==", "integrity": "sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==",
"dev": true "dev": true
}, },
"floating-vue": {
"version": "1.0.0-beta.8",
"resolved": "https://registry.npmjs.org/floating-vue/-/floating-vue-1.0.0-beta.8.tgz",
"integrity": "sha512-z/UWtu6gOEWfMNHfPP3RCH3+C0mIq3p7ZISg2R/LCjXzYzeyZwQLz5m7iWRGso9/cpZUiOuU576fgCopA0nkvA==",
"requires": {
"@floating-ui/dom": "^0.1.10",
"vue-resize": "^1.0.0"
}
},
"flush-write-stream": { "flush-write-stream": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz",
@ -4584,9 +4606,9 @@
} }
}, },
"follow-redirects": { "follow-redirects": {
"version": "1.14.4", "version": "1.14.8",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.8.tgz",
"integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==", "integrity": "sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==",
"dev": true "dev": true
}, },
"for-in": { "for-in": {
@ -4891,8 +4913,7 @@
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", "resolved": "",
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
@ -6524,9 +6545,9 @@
"dev": true "dev": true
}, },
"json-schema": { "json-schema": {
"version": "0.2.3", "version": "0.4.0",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA=="
}, },
"json-schema-traverse": { "json-schema-traverse": {
"version": "0.4.1", "version": "0.4.1",
@ -6557,13 +6578,13 @@
"dev": true "dev": true
}, },
"jsprim": { "jsprim": {
"version": "1.4.1", "version": "1.4.2",
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
"integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
"requires": { "requires": {
"assert-plus": "1.0.0", "assert-plus": "1.0.0",
"extsprintf": "1.3.0", "extsprintf": "1.3.0",
"json-schema": "0.2.3", "json-schema": "0.4.0",
"verror": "1.10.0" "verror": "1.10.0"
} }
}, },
@ -7757,11 +7778,6 @@
} }
} }
}, },
"popper.js": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz",
"integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ=="
},
"portfinder": { "portfinder": {
"version": "1.0.28", "version": "1.0.28",
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz",
@ -10500,32 +10516,6 @@
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
}, },
"v-tooltip": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/v-tooltip/-/v-tooltip-2.1.3.tgz",
"integrity": "sha512-xXngyxLQTOx/yUEy50thb8te7Qo4XU6h4LZB6cvEfVd9mnysUxLEoYwGWDdqR+l69liKsy3IPkdYff3J1gAJ5w==",
"requires": {
"@babel/runtime": "^7.13.10",
"lodash": "^4.17.21",
"popper.js": "^1.16.1",
"vue-resize": "^1.0.1"
},
"dependencies": {
"@babel/runtime": {
"version": "7.14.0",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.0.tgz",
"integrity": "sha512-JELkvo/DlpNdJ7dlyw/eY7E0suy5i5GQH+Vlxaq1nsNJ+H7f4Vtv3jMeCEgRhZZQFXTjldYfQgv2qmM6M1v5wA==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
},
"lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
}
}
},
"v8-compile-cache": { "v8-compile-cache": {
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",
@ -10663,9 +10653,9 @@
}, },
"dependencies": { "dependencies": {
"@babel/runtime": { "@babel/runtime": {
"version": "7.14.0", "version": "7.17.2",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.0.tgz", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.2.tgz",
"integrity": "sha512-JELkvo/DlpNdJ7dlyw/eY7E0suy5i5GQH+Vlxaq1nsNJ+H7f4Vtv3jMeCEgRhZZQFXTjldYfQgv2qmM6M1v5wA==", "integrity": "sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw==",
"requires": { "requires": {
"regenerator-runtime": "^0.13.4" "regenerator-runtime": "^0.13.4"
} }

View File

@ -16,6 +16,7 @@
"conditioner-core": "^2.3.3", "conditioner-core": "^2.3.3",
"countup.js": "^2.0.8", "countup.js": "^2.0.8",
"css-vars-ponyfill": "^2.4.7", "css-vars-ponyfill": "^2.4.7",
"floating-vue": "^1.0.0-beta.8",
"moment": "^2.29.1", "moment": "^2.29.1",
"node-sass": "^4.14.1", "node-sass": "^4.14.1",
"photoswipe": "^4.1.3", "photoswipe": "^4.1.3",
@ -24,7 +25,6 @@
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"swiper": "^5.2.0", "swiper": "^5.2.0",
"t": "^0.5.1", "t": "^0.5.1",
"v-tooltip": "^2.1.3",
"vue": "^2.6.14", "vue": "^2.6.14",
"vue-apexcharts": "^1.6.2", "vue-apexcharts": "^1.6.2",
"vue-awesome-swiper": "^4.1.1", "vue-awesome-swiper": "^4.1.1",

View File

@ -25,7 +25,7 @@
content: $i18n.get('label_shrink_menu'), content: $i18n.get('label_shrink_menu'),
autoHide: true, autoHide: true,
placement: 'auto-end', placement: 'auto-end',
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'] popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip']
}" }"
class="icon"> class="icon">
<i <i

View File

@ -54,7 +54,7 @@
content: $i18n.get('remove_value'), content: $i18n.get('remove_value'),
autoHide: true, autoHide: true,
placement: 'bottom', placement: 'bottom',
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
}" }"
class="icon"> class="icon">
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close"/> <i class="tainacan-icon tainacan-icon-18px tainacan-icon-close"/>

View File

@ -111,7 +111,7 @@
class="icon has-text-success" class="icon has-text-success"
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_document_uploaded'), content: $i18n.get('label_document_uploaded'),
@ -127,7 +127,7 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_button_delete_document'), content: $i18n.get('label_button_delete_document'),

View File

@ -86,7 +86,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('edit'), content: $i18n.get('edit'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'bottom' placement: 'bottom'
}" }"
class="icon is-small"> class="icon is-small">
@ -102,7 +102,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('delete'), content: $i18n.get('delete'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'bottom' placement: 'bottom'
}" }"
class="icon is-small"> class="icon is-small">

View File

@ -12,7 +12,7 @@
:aria-expanded="open" :aria-expanded="open"
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: filter.name, content: filter.name,

View File

@ -35,12 +35,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: activity.title, content: activity.title,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
{{ activity.title }} {{ activity.title }}
@ -55,12 +55,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: activity.user_name, content: activity.user_name,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-html="activity.user_name"/> v-html="activity.user_name"/>
@ -74,12 +74,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: activity.date, content: activity.date,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-html="activity.date"/> v-html="activity.date"/>

View File

@ -34,12 +34,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 120, hide: 120,
}, },
content: capability.display_name, content: capability.display_name,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
{{ capability.display_name }} {{ capability.display_name }}
@ -53,12 +53,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 120, hide: 120,
}, },
content: capability.description, content: capability.description,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-html="capability.description"/> v-html="capability.description"/>
@ -75,12 +75,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 120, hide: 120,
}, },
content: props['complete-roles-list'], content: props['complete-roles-list'],
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-html="props['complete-roles-list']"/> v-html="props['complete-roles-list']"/>
@ -99,7 +99,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('edit'), content: $i18n.get('edit'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto' placement: 'auto'
}" }"
class="icon"> class="icon">

View File

@ -155,7 +155,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_' + collection.status), content: $i18n.get('status_' + collection.status),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i <i
@ -188,12 +188,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: collection.name, content: collection.name,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
{{ collection.name }}</p> {{ collection.name }}</p>
@ -208,12 +208,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: (collection.description != undefined && collection.description != '') ? collection.description : `<span class='has-text-gray is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`, content: (collection.description != undefined && collection.description != '') ? collection.description : `<span class='has-text-gray is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-html="(collection.description != undefined && collection.description != '') ? collection.description : `<span class='has-text-gray is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`"/> v-html="(collection.description != undefined && collection.description != '') ? collection.description : `<span class='has-text-gray is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`"/>
@ -228,12 +228,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: collection.modification_date, content: collection.modification_date,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-html="collection.modification_date" /> v-html="collection.modification_date" />
@ -248,12 +248,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: collection.creation_date, content: collection.creation_date,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-html="collection.creation_date" /> v-html="collection.creation_date" />
@ -268,12 +268,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: collection.author_name, content: collection.author_name,
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-html="collection.author_name" /> v-html="collection.author_name" />
@ -289,12 +289,12 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: getTotalItemsDetailed(collection.total_items), content: getTotalItemsDetailed(collection.total_items),
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-html="getTotalItems(collection.total_items)" /> v-html="getTotalItems(collection.total_items)" />
@ -316,7 +316,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('edit'), content: $i18n.get('edit'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto', placement: 'auto',
html: true html: true
}" }"
@ -333,7 +333,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('delete'), content: $i18n.get('delete'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto' placement: 'auto'
}" }"
class="icon"> class="icon">

View File

@ -199,7 +199,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.title != undefined ? item.title : '', content: item.title != undefined ? item.title : '',
@ -215,7 +215,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_' + item.status), content: $i18n.get('status_' + item.status),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i <i
@ -357,7 +357,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_' + item.status), content: $i18n.get('status_' + item.status),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i <i
@ -479,7 +479,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.title != undefined ? item.title : '', content: item.title != undefined ? item.title : '',
@ -495,7 +495,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_' + item.status), content: $i18n.get('status_' + item.status),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i <i
@ -585,7 +585,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.description != undefined && item.description != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`, content: item.description != undefined && item.description != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`,
@ -599,7 +599,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.author_name != undefined ? item.author_name : '', content: item.author_name != undefined ? item.author_name : '',
@ -614,7 +614,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.creation_date != undefined ? parseDateToNavigatorLanguage(item.creation_date) : '', content: item.creation_date != undefined ? parseDateToNavigatorLanguage(item.creation_date) : '',
@ -684,7 +684,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_' + item.status), content: $i18n.get('status_' + item.status),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i <i
@ -695,7 +695,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.metadata != undefined ? renderMetadata(item.metadata, column) : '', content: item.metadata != undefined ? renderMetadata(item.metadata, column) : '',
@ -712,7 +712,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.title != undefined ? item.title : '', content: item.title != undefined ? item.title : '',
@ -916,7 +916,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_' + item.status), content: $i18n.get('status_' + item.status),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i <i
@ -951,7 +951,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.title != undefined && item.title != '' ? item.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`, content: item.title != undefined && item.title != '' ? item.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`,
@ -966,7 +966,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.description != undefined && item.description != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`, content: item.description != undefined && item.description != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`,
@ -981,10 +981,10 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
classes: [ 'tainacan-tooltip', 'tooltip', column.metadata_type_object != undefined && column.metadata_type_object.component == 'tainacan-textarea' ? 'metadata-type-textarea' : '' ], popperClass: [ 'tainacan-tooltip', 'tooltip', column.metadata_type_object != undefined && column.metadata_type_object.component == 'tainacan-textarea' ? 'metadata-type-textarea' : '' ],
content: renderMetadata(item.metadata, column) != '' ? renderMetadata(item.metadata, column) : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`, content: renderMetadata(item.metadata, column) != '' ? renderMetadata(item.metadata, column) : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`,
html: true, html: true,
autoHide: false, autoHide: false,
@ -1015,7 +1015,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item[column.slug], content: item[column.slug],
@ -1029,7 +1029,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: parseDateToNavigatorLanguage(item[column.slug]), content: parseDateToNavigatorLanguage(item[column.slug]),
@ -1043,7 +1043,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: parseDateToNavigatorLanguage(item[column.slug]), content: parseDateToNavigatorLanguage(item[column.slug]),
@ -1165,7 +1165,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_' + item.status), content: $i18n.get('status_' + item.status),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i <i
@ -1176,7 +1176,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.metadata != undefined ? renderMetadata(item.metadata, column) : '', content: item.metadata != undefined ? renderMetadata(item.metadata, column) : '',

View File

@ -100,7 +100,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('edit'), content: $i18n.get('edit'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon"> class="icon">
@ -117,7 +117,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('delete'), content: $i18n.get('delete'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon"> class="icon">

View File

@ -74,11 +74,11 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: bgProcess.name ? bgProcess.name : $i18n.get('label_unnamed_process'), content: bgProcess.name ? bgProcess.name : $i18n.get('label_unnamed_process'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
{{ bgProcess.name ? bgProcess.name : $i18n.get('label_unnamed_process') }}</p> {{ bgProcess.name ? bgProcess.name : $i18n.get('label_unnamed_process') }}</p>
@ -91,11 +91,11 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: bgProcess.progress_label ? bgProcess.progress_label : $i18n.get('label_no_details_of_process'), content: bgProcess.progress_label ? bgProcess.progress_label : $i18n.get('label_no_details_of_process'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<span :class="{'occluding-content': bgProcess.progress_value }"><span class="has-text-weight-bold">{{ $i18n.get('label_progress') + " " }}</span>{{ bgProcess.progress_label ? bgProcess.progress_label : $i18n.get('label_no_details_of_process') }}</span> <span :class="{'occluding-content': bgProcess.progress_value }"><span class="has-text-weight-bold">{{ $i18n.get('label_progress') + " " }}</span>{{ bgProcess.progress_label ? bgProcess.progress_label : $i18n.get('label_no_details_of_process') }}</span>
@ -110,11 +110,11 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: getDate(bgProcess.queued_on), content: getDate(bgProcess.queued_on),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<span class="has-text-weight-bold">{{ $i18n.get('label_queued_on') + " " }}</span>{{ getDate(bgProcess.queued_on) }}</p> <span class="has-text-weight-bold">{{ $i18n.get('label_queued_on') + " " }}</span>{{ getDate(bgProcess.queued_on) }}</p>
@ -133,11 +133,11 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_stop_process'), content: $i18n.get('label_stop_process'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if=" bgProcess.status === 'running' " v-if=" bgProcess.status === 'running' "
@ -148,11 +148,11 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_process_completed'), content: $i18n.get('label_process_completed'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if=" ( bgProcess.status === 'finished' && !bgProcess.error_log ) || bgProcess.status === null" v-if=" ( bgProcess.status === 'finished' && !bgProcess.error_log ) || bgProcess.status === null"
@ -162,11 +162,11 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_process_completed_with_errors'), content: $i18n.get('label_process_completed_with_errors'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if=" bgProcess.status === 'finished-errors' || ( bgProcess.done > 0 && bgProcess.error_log && bgProcess.status === 'finished' ) " v-if=" bgProcess.status === 'finished-errors' || ( bgProcess.done > 0 && bgProcess.error_log && bgProcess.status === 'finished' ) "
@ -176,11 +176,11 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_process_cancelled'), content: $i18n.get('label_process_cancelled'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if=" bgProcess.status === 'cancelled' " v-if=" bgProcess.status === 'cancelled' "
@ -190,11 +190,11 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_process_paused'), content: $i18n.get('label_process_paused'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if=" bgProcess.status === 'paused' " v-if=" bgProcess.status === 'paused' "
@ -204,11 +204,11 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_process_waiting'), content: $i18n.get('label_process_waiting'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if=" bgProcess.status === 'waiting' " v-if=" bgProcess.status === 'waiting' "
@ -218,11 +218,11 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_delete_process'), content: $i18n.get('label_delete_process'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if=" bgProcess.status === 'waiting' " v-if=" bgProcess.status === 'waiting' "
@ -233,11 +233,11 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_process_failed'), content: $i18n.get('label_process_failed'),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if="bgProcess.status === 'errored'" v-if="bgProcess.status === 'errored'"
@ -296,11 +296,11 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: getDate(bgProcess.processed_last), content: getDate(bgProcess.processed_last),
autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], autoHide: false, popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<span class="has-text-weight-bold">{{ $i18n.get('label_last_processed_on') + " " }}</span>{{ getDate(bgProcess.processed_last) }}</p> <span class="has-text-weight-bold">{{ $i18n.get('label_last_processed_on') + " " }}</span>{{ getDate(bgProcess.processed_last) }}</p>

View File

@ -19,7 +19,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('label_show_children_terms'), content: $i18n.get('label_show_children_terms'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'bottom' placement: 'bottom'
}" }"
class="children-dropdown icon"> class="children-dropdown icon">
@ -58,7 +58,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('label_new_child'), content: $i18n.get('label_new_child'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'bottom' placement: 'bottom'
}" }"
class="icon"> class="icon">
@ -71,7 +71,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('edit'), content: $i18n.get('edit'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'bottom' placement: 'bottom'
}" }"
class="icon"> class="icon">
@ -83,7 +83,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('delete'), content: $i18n.get('delete'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'bottom' placement: 'bottom'
}" }"
class="icon"> class="icon">

View File

@ -92,7 +92,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: relatedItem.title != undefined && relatedItem.title != '' ? relatedItem.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`, content: relatedItem.title != undefined && relatedItem.title != '' ? relatedItem.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`,
@ -115,7 +115,7 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 100, hide: 100,
}, },
content: $i18n.get('edit'), content: $i18n.get('edit'),

View File

@ -100,7 +100,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_' + taxonomy.status), content: $i18n.get('status_' + taxonomy.status),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i <i
@ -118,7 +118,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: taxonomy.name, content: taxonomy.name,
@ -136,7 +136,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: taxonomy.description != undefined && taxonomy.description != '' ? taxonomy.description : `<span class='has-text-gray is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`, content: taxonomy.description != undefined && taxonomy.description != '' ? taxonomy.description : `<span class='has-text-gray is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`,
@ -155,7 +155,7 @@
@click.self="onClickTaxonomy($event, taxonomy.id, index)" @click.self="onClickTaxonomy($event, taxonomy.id, index)"
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: (taxonomy.collections != undefined && taxonomy.collections.length != undefined && taxonomy.collections.length > 0) ? renderListOfCollections(taxonomy.collections, taxonomy.metadata_by_collection) : $i18n.get('label_no_collections_using_taxonomy'), content: (taxonomy.collections != undefined && taxonomy.collections.length != undefined && taxonomy.collections.length > 0) ? renderListOfCollections(taxonomy.collections, taxonomy.metadata_by_collection) : $i18n.get('label_no_collections_using_taxonomy'),
@ -181,7 +181,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('edit'), content: $i18n.get('edit'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'bottom' placement: 'bottom'
}" }"
class="icon"> class="icon">
@ -197,7 +197,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('delete'), content: $i18n.get('delete'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], popperClass: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'],
placement: 'bottom' placement: 'bottom'
}" }"
class="icon"> class="icon">

View File

@ -46,7 +46,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('label_view_metadata_details'), content: $i18n.get('label_view_metadata_details'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
@click="$set(collapses, metadatum.id, !isCollapseOpen(metadatum.id))" @click="$set(collapses, metadatum.id, !isCollapseOpen(metadatum.id))"
@ -59,7 +59,7 @@
v-tooltip="{ v-tooltip="{
content: metadatum.id == undefined || openedMetadatumId != '' || isUpdatingMetadataOrder ? $i18n.get('info_not_allowed_change_order_metadata') : $i18n.get('instruction_drag_and_drop_metadatum_sort'), content: metadatum.id == undefined || openedMetadatumId != '' || isUpdatingMetadataOrder ? $i18n.get('info_not_allowed_change_order_metadata') : $i18n.get('instruction_drag_and_drop_metadatum_sort'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon grip-icon"> class="icon grip-icon">
@ -90,7 +90,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_private'), content: $i18n.get('status_private'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i class="tainacan-icon tainacan-icon-private"/> <i class="tainacan-icon tainacan-icon-private"/>
@ -100,7 +100,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('label_required'), content: $i18n.get('label_required'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
*&nbsp; *&nbsp;
@ -109,7 +109,7 @@
v-tooltip="{ v-tooltip="{
content: (metadatum.collection_id == 'default') || isRepositoryLevel ? $i18n.get('label_repository_metadatum') : $i18n.get('label_collection_metadatum'), content: (metadatum.collection_id == 'default') || isRepositoryLevel ? $i18n.get('label_repository_metadatum') : $i18n.get('label_collection_metadatum'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon icon-level-identifier"> class="icon icon-level-identifier">
@ -141,7 +141,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('edit'), content: $i18n.get('edit'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon"> class="icon">
@ -161,7 +161,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('delete'), content: $i18n.get('delete'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon"> class="icon">

View File

@ -41,7 +41,7 @@
<a <a
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_copy_link_url'), content: $i18n.get('label_copy_link_url'),
@ -74,7 +74,7 @@
<a <a
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_open_externally'), content: $i18n.get('label_open_externally'),
@ -137,7 +137,7 @@
<label <label
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: selectedExposer.name + (exposerMapper.name != undefined ? ': ' + exposerMapper.name + ' ' + $i18n.get('label_mapper') : ''), content: selectedExposer.name + (exposerMapper.name != undefined ? ': ' + exposerMapper.name + ' ' + $i18n.get('label_mapper') : ''),
@ -167,7 +167,7 @@
<a <a
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_copy_link_url'), content: $i18n.get('label_copy_link_url'),
@ -200,7 +200,7 @@
<a <a
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_open_externally'), content: $i18n.get('label_open_externally'),

View File

@ -14,7 +14,7 @@
content: $i18n.get('label_plugin_home_page'), content: $i18n.get('label_plugin_home_page'),
autoHide: true, autoHide: true,
placement: 'auto', placement: 'auto',
classes: ['tainacan-tooltip', 'repository-header-tooltips', 'tooltip'] popperClass: ['tainacan-tooltip', 'repository-header-tooltips', 'tooltip']
}" }"
class="icon"> class="icon">
<i class="tainacan-icon tainacan-icon-home has-text-blue5"/> <i class="tainacan-icon tainacan-icon-home has-text-blue5"/>
@ -102,7 +102,7 @@
content: $i18n.get('processes'), content: $i18n.get('processes'),
autoHide: true, autoHide: true,
placement: 'auto', placement: 'auto',
classes: ['tainacan-tooltip', 'repository-header-tooltips', 'tooltip'] popperClass: ['tainacan-tooltip', 'repository-header-tooltips', 'tooltip']
}" }"
class="icon"> class="icon">
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-processes"/> <i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-processes"/>
@ -119,7 +119,7 @@
content: $i18n.get('label_wordpress_admin_page'), content: $i18n.get('label_wordpress_admin_page'),
autoHide: true, autoHide: true,
placement: 'auto', placement: 'auto',
classes: ['tainacan-tooltip', 'repository-header-tooltips', 'tooltip'] popperClass: ['tainacan-tooltip', 'repository-header-tooltips', 'tooltip']
}" }"
class="icon"> class="icon">
<i class="tainacan-icon tainacan-icon-wordpress"/> <i class="tainacan-icon tainacan-icon-wordpress"/>

View File

@ -33,7 +33,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_' + collection.status), content: $i18n.get('status_' + collection.status),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip'], popperClass: ['tainacan-tooltip', 'tooltip'],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i <i
@ -48,13 +48,13 @@
<li <li
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 30000,
}, },
content: $i18n.get('exporters'), content: $i18n.get('exporters'),
autoHide: false, autoHide: false,
placement: 'bottom-start', placement: 'bottom-start',
classes: ['tainacan-tooltip', 'header-tooltips', 'tooltip'] popperClass: ['tainacan-tooltip', 'header-tooltips', 'tooltip']
}"> }">
<a <a
@click="openAvailableExportersModal" @click="openAvailableExportersModal"
@ -69,13 +69,13 @@
<li <li
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_view_collection_on_website'), content: $i18n.get('label_view_collection_on_website'),
autoHide: false, autoHide: false,
placement: 'bottom-end', placement: 'bottom-end',
classes: ['tainacan-tooltip', 'header-tooltips', 'tooltip'] popperClass: ['tainacan-tooltip', 'header-tooltips', 'tooltip']
}"> }">
<a <a
:href="collection && collection.url ? collection.url : ''" :href="collection && collection.url ? collection.url : ''"
@ -92,13 +92,13 @@
<li <li
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_view_repository'), content: $i18n.get('label_view_repository'),
autoHide: false, autoHide: false,
placement: 'bottom-end', placement: 'bottom-end',
classes: [ 'tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-header-tooltips' : 'header-tooltips'] popperClass: [ 'tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-header-tooltips' : 'header-tooltips']
}"> }">
<a <a
:href="repositoryURL" :href="repositoryURL"

View File

@ -54,12 +54,12 @@
<div <div
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_filters_from') + ' ' + taxonomyFiltersCollectionNames[key] + ': ', content: $i18n.get('label_filters_from') + ' ' + taxonomyFiltersCollectionNames[key] + ': ',
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if="taxonomyFilter.length > 0 && taxonomyFiltersCollectionNames != undefined && taxonomyFiltersCollectionNames[key] != undefined" v-if="taxonomyFilter.length > 0 && taxonomyFiltersCollectionNames != undefined && taxonomyFiltersCollectionNames[key] != undefined"
@ -102,12 +102,12 @@
<div <div
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_filters_from') + ' ' + taxonomyFiltersCollectionNames[key] + ': ', content: $i18n.get('label_filters_from') + ' ' + taxonomyFiltersCollectionNames[key] + ': ',
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if="taxonomyFilter.length > 0 && taxonomyFiltersCollectionNames != undefined && taxonomyFiltersCollectionNames[key] != undefined" v-if="taxonomyFilter.length > 0 && taxonomyFiltersCollectionNames != undefined && taxonomyFiltersCollectionNames[key] != undefined"
@ -154,12 +154,12 @@
<div <div
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_filters_from') + ' ' + repositoryCollectionNames[key] + ': ', content: $i18n.get('label_filters_from') + ' ' + repositoryCollectionNames[key] + ': ',
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if="repositoryCollectionFilter.length > 0 && repositoryCollectionNames != undefined && repositoryCollectionNames[key] != undefined" v-if="repositoryCollectionFilter.length > 0 && repositoryCollectionNames != undefined && repositoryCollectionNames[key] != undefined"
@ -202,12 +202,12 @@
<div <div
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_filters_from') + ' ' + repositoryCollectionNames[key] + ': ', content: $i18n.get('label_filters_from') + ' ' + repositoryCollectionNames[key] + ': ',
autoHide: false, autoHide: false,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
v-if="repositoryCollectionFilter.length > 0 && repositoryCollectionNames != undefined && repositoryCollectionNames[key] != undefined" v-if="repositoryCollectionFilter.length > 0 && repositoryCollectionNames != undefined && repositoryCollectionNames[key] != undefined"

View File

@ -5,7 +5,7 @@
// Main imports // Main imports
import Vue from 'vue'; import Vue from 'vue';
import Buefy from 'buefy'; import Buefy from 'buefy';
import VTooltip from 'v-tooltip'; import VTooltip from 'floating-vue';
import VueMasonry from 'vue-masonry-css'; import VueMasonry from 'vue-masonry-css';
import draggable from 'vuedraggable'; import draggable from 'vuedraggable';
import VueTheMask from 'vue-the-mask'; import VueTheMask from 'vue-the-mask';

View File

@ -78,7 +78,7 @@
v-tooltip="{ v-tooltip="{
content: (isSelectingFilterType || filter.id == undefined || openedFilterId != '' || choosenMetadatum.name == filter.name || isUpdatingFiltersOrder == true) ? $i18n.get('info_not_allowed_change_order_filters') : $i18n.get('instruction_drag_and_drop_filter_sort'), content: (isSelectingFilterType || filter.id == undefined || openedFilterId != '' || choosenMetadatum.name == filter.name || isUpdatingFiltersOrder == true) ? $i18n.get('info_not_allowed_change_order_filters') : $i18n.get('instruction_drag_and_drop_filter_sort'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon grip-icon"> class="icon grip-icon">
@ -105,7 +105,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_private'), content: $i18n.get('status_private'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i class="tainacan-icon tainacan-icon-private"/> <i class="tainacan-icon tainacan-icon-private"/>
@ -114,7 +114,7 @@
v-tooltip="{ v-tooltip="{
content: filter.collection_id != collectionId ? $i18n.get('label_repository_filter') : $i18n.get('label_collection_filter'), content: filter.collection_id != collectionId ? $i18n.get('label_repository_filter') : $i18n.get('label_collection_filter'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon icon-level-identifier"> class="icon icon-level-identifier">
@ -149,7 +149,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('edit'), content: $i18n.get('edit'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'bottom' placement: 'bottom'
}" }"
class="icon"> class="icon">
@ -164,7 +164,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('delete'), content: $i18n.get('delete'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'bottom' placement: 'bottom'
}" }"
class="icon"> class="icon">
@ -233,7 +233,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('instruction_click_or_drag_filter_create'), content: $i18n.get('instruction_click_or_drag_filter_create'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon grip-icon"> class="icon grip-icon">
@ -243,7 +243,7 @@
v-tooltip="{ v-tooltip="{
content: metadatum.name + (metadatum.parent_name ? (' (' + $i18n.get('info_child_of') + ' ' + metadatum.parent_name + ')') : ''), content: metadatum.name + (metadatum.parent_name ? (' (' + $i18n.get('info_child_of') + ' ' + metadatum.parent_name + ')') : ''),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="metadatum-name"> class="metadatum-name">
@ -259,7 +259,7 @@
v-tooltip="{ v-tooltip="{
content: isRepositoryLevel || metadatum.collection_id != collectionId ? $i18n.get('label_repository_filter') : $i18n.get('label_collection_filter'), content: isRepositoryLevel || metadatum.collection_id != collectionId ? $i18n.get('label_repository_filter') : $i18n.get('label_collection_filter'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon icon-level-identifier"> class="icon icon-level-identifier">

View File

@ -58,13 +58,13 @@
@click="isFiltersModalActive = !isFiltersModalActive" @click="isFiltersModalActive = !isFiltersModalActive"
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: !isFiltersModalActive ? $i18n.get('label_show_filters') : $i18n.get('label_hide_filters'), content: !isFiltersModalActive ? $i18n.get('label_show_filters') : $i18n.get('label_hide_filters'),
autoHide: false, autoHide: false,
placement: 'auto-start', placement: 'auto-start',
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''] popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : '']
}"> }">
<span class="icon"> <span class="icon">
<i <i
@ -187,13 +187,13 @@
<b-dropdown <b-dropdown
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: (totalItems <= 0 || adminViewMode == 'grid'|| adminViewMode == 'cards' || adminViewMode == 'masonry') ? (adminViewMode == 'grid'|| adminViewMode == 'cards' || adminViewMode == 'masonry') ? $i18n.get('info_current_view_mode_metadata_not_allowed') : $i18n.get('info_cant_select_metadata_without_items') : '', content: (totalItems <= 0 || adminViewMode == 'grid'|| adminViewMode == 'cards' || adminViewMode == 'masonry') ? (adminViewMode == 'grid'|| adminViewMode == 'cards' || adminViewMode == 'masonry') ? $i18n.get('info_current_view_mode_metadata_not_allowed') : $i18n.get('info_cant_select_metadata_without_items') : '',
autoHide: false, autoHide: false,
placement: 'auto-start', placement: 'auto-start',
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''] popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : '']
}" }"
ref="displayedMetadataDropdown" ref="displayedMetadataDropdown"
:mobile-modal="true" :mobile-modal="true"

View File

@ -135,7 +135,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('label_view_metadata_details'), content: $i18n.get('label_view_metadata_details'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
@click="$set(collapses, metadatum.id, !isCollapseOpen(metadatum.id))" @click="$set(collapses, metadatum.id, !isCollapseOpen(metadatum.id))"
@ -148,7 +148,7 @@
v-tooltip="{ v-tooltip="{
content: isRepositoryLevel || metadatum.id == undefined || openedMetadatumId != '' || isUpdatingMetadataOrder ? $i18n.get('info_not_allowed_change_order_metadata') : $i18n.get('instruction_drag_and_drop_metadatum_sort'), content: isRepositoryLevel || metadatum.id == undefined || openedMetadatumId != '' || isUpdatingMetadataOrder ? $i18n.get('info_not_allowed_change_order_metadata') : $i18n.get('instruction_drag_and_drop_metadatum_sort'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon grip-icon"> class="icon grip-icon">
@ -169,7 +169,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('status_private'), content: $i18n.get('status_private'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
<i class="tainacan-icon tainacan-icon-private"/> <i class="tainacan-icon tainacan-icon-private"/>
@ -179,7 +179,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('label_required'), content: $i18n.get('label_required'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}"> }">
*&nbsp; *&nbsp;
@ -188,7 +188,7 @@
v-tooltip="{ v-tooltip="{
content: (metadatum.collection_id == 'default') || isRepositoryLevel ? $i18n.get('label_repository_metadatum') : $i18n.get('label_collection_metadatum'), content: (metadatum.collection_id == 'default') || isRepositoryLevel ? $i18n.get('label_repository_metadatum') : $i18n.get('label_collection_metadatum'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon icon-level-identifier"> class="icon icon-level-identifier">
@ -226,7 +226,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('edit'), content: $i18n.get('edit'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon"> class="icon">
@ -241,7 +241,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('delete'), content: $i18n.get('delete'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon"> class="icon">
@ -307,7 +307,7 @@
v-tooltip="{ v-tooltip="{
content: $i18n.get('instruction_click_or_drag_metadatum_create'), content: $i18n.get('instruction_click_or_drag_metadatum_create'),
autoHide: true, autoHide: true,
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''], popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''],
placement: 'auto-start' placement: 'auto-start'
}" }"
class="icon grip-icon"> class="icon grip-icon">
@ -317,7 +317,7 @@
{{ metadatum.name }} {{ metadatum.name }}
<span <span
v-tooltip.top="{ v-tooltip.top="{
classes: ['metadata-type-preview-tooltip'], popperClass: ['metadata-type-preview-tooltip'],
content: getPreviewTemplateContent(metadatum), content: getPreviewTemplateContent(metadatum),
html: true html: true
}" }"

View File

@ -101,16 +101,6 @@
margin-right: 0; margin-right: 0;
} }
} }
&[aria-hidden='true'] {
visibility: hidden;
opacity: 0;
transition: opacity .15s, visibility .15s;
}
&[aria-hidden='false'] {
visibility: visible;
opacity: 1;
transition: opacity .15s;
}
// Metadata type Preview tooltips // Metadata type Preview tooltips
&.metadata-type-preview-tooltip[x-placement^="bottom"] { &.metadata-type-preview-tooltip[x-placement^="bottom"] {

View File

@ -44,7 +44,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.title != undefined ? item.title : '', content: item.title != undefined ? item.title : '',
@ -57,7 +57,7 @@
v-if="isSlideshowViewModeEnabled" v-if="isSlideshowViewModeEnabled"
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 100, hide: 100,
}, },
content: $i18n.get('label_see_on_fullscreen'), content: $i18n.get('label_see_on_fullscreen'),
@ -90,7 +90,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.description != undefined && item.description != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`, content: item.description != undefined && item.description != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`,
@ -105,7 +105,7 @@
<!-- <p <!-- <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: column.metadatum == 'row_author' || column.metadatum == 'row_creation', content: column.metadatum == 'row_author' || column.metadatum == 'row_creation',

View File

@ -45,7 +45,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.metadata != undefined ? renderMetadata(item, column) : '', content: item.metadata != undefined ? renderMetadata(item, column) : '',
@ -61,7 +61,7 @@
v-if="isSlideshowViewModeEnabled" v-if="isSlideshowViewModeEnabled"
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 100, hide: 100,
}, },
content: $i18n.get('label_see_on_fullscreen'), content: $i18n.get('label_see_on_fullscreen'),

View File

@ -53,7 +53,7 @@
v-if="isSlideshowViewModeEnabled" v-if="isSlideshowViewModeEnabled"
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 100, hide: 100,
}, },
content: $i18n.get('label_see_on_fullscreen'), content: $i18n.get('label_see_on_fullscreen'),

View File

@ -51,7 +51,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.metadata != undefined ? renderMetadata(item, column) : '', content: item.metadata != undefined ? renderMetadata(item, column) : '',
@ -67,7 +67,7 @@
v-if="isSlideshowViewModeEnabled" v-if="isSlideshowViewModeEnabled"
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 100, hide: 100,
}, },
content: $i18n.get('label_see_on_fullscreen'), content: $i18n.get('label_see_on_fullscreen'),

View File

@ -8,7 +8,7 @@
<button <button
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_slides_help'), content: $i18n.get('label_slides_help'),
@ -27,7 +27,7 @@
<button <button
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: isMetadataCompressed ? $i18n.get('label_show_metadata') : $i18n.get('label_hide_metadata'), content: isMetadataCompressed ? $i18n.get('label_show_metadata') : $i18n.get('label_hide_metadata'),
@ -46,7 +46,7 @@
<a <a
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('label_item_page'), content: $i18n.get('label_item_page'),
@ -66,7 +66,7 @@
<button <button
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: $i18n.get('close'), content: $i18n.get('close'),
@ -85,7 +85,7 @@
<button <button
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: isMetadataCompressed ? $i18n.get('label_show_metadata') : $i18n.get('label_hide_metadata'), content: isMetadataCompressed ? $i18n.get('label_show_metadata') : $i18n.get('label_hide_metadata'),
@ -286,7 +286,7 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: metadatum.name, content: metadatum.name,

View File

@ -119,7 +119,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.title != undefined && item.title != '' ? item.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`, content: item.title != undefined && item.title != '' ? item.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`,
@ -135,7 +135,7 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: item.description != undefined && item.description != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`, content: item.description != undefined && item.description != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`,
@ -150,10 +150,10 @@
<p <p
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
classes: [ 'tainacan-tooltip', 'tooltip', column.metadata_type_object != undefined && column.metadata_type_object.component == 'tainacan-textarea' ? 'metadata-type-textarea' : '' ], popperClass: [ 'tainacan-tooltip', 'tooltip', column.metadata_type_object != undefined && column.metadata_type_object.component == 'tainacan-textarea' ? 'metadata-type-textarea' : '' ],
content: renderMetadataWithLabel(item.metadata, column) != '' ? renderMetadataWithLabel(item.metadata, column) : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`, content: renderMetadataWithLabel(item.metadata, column) != '' ? renderMetadataWithLabel(item.metadata, column) : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`,
html: true, html: true,
autoHide: false, autoHide: false,
@ -187,7 +187,7 @@
<span <span
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 100, hide: 100,
}, },
content: $i18n.get('label_see_on_fullscreen'), content: $i18n.get('label_see_on_fullscreen'),

View File

@ -88,13 +88,13 @@
@click="isFiltersModalActive = !isFiltersModalActive" @click="isFiltersModalActive = !isFiltersModalActive"
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: !isFiltersModalActive ? $i18n.get('label_show_filters') : $i18n.get('label_hide_filters'), content: !isFiltersModalActive ? $i18n.get('label_show_filters') : $i18n.get('label_hide_filters'),
autoHide: false, autoHide: false,
placement: 'auto-start', placement: 'auto-start',
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''] popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : '']
}"> }">
<span class="icon"> <span class="icon">
<i <i
@ -157,13 +157,13 @@
<b-dropdown <b-dropdown
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: totalItems <= 0 ? $i18n.get('info_cant_select_metadata_without_items') : '', content: totalItems <= 0 ? $i18n.get('info_cant_select_metadata_without_items') : '',
autoHide: false, autoHide: false,
placement: 'auto-start', placement: 'auto-start',
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''] popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : '']
}" }"
ref="displayedMetadataDropdown" ref="displayedMetadataDropdown"
:mobile-modal="true" :mobile-modal="true"
@ -344,13 +344,13 @@
v-else v-else
v-tooltip="{ v-tooltip="{
delay: { delay: {
show: 500, shown: 500,
hide: 300, hide: 300,
}, },
content: registeredViewModes[viewModeOption].label, content: registeredViewModes[viewModeOption].label,
autoHide: false, autoHide: false,
placement: 'auto-start', placement: 'auto-start',
classes: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : ''] popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'repository-tooltip' : '']
}" }"
class="gray-icon" class="gray-icon"
v-html="registeredViewModes[viewModeOption].icon"/> v-html="registeredViewModes[viewModeOption].icon"/>

View File

@ -1,7 +1,7 @@
// Main imports // Main imports
import Vue from 'vue'; import Vue from 'vue';
import Buefy from 'buefy'; import Buefy from 'buefy';
import VTooltip from 'v-tooltip'; import VTooltip from 'floating-vue';
import VueMasonry from 'vue-masonry-css'; import VueMasonry from 'vue-masonry-css';
import cssVars from 'css-vars-ponyfill'; import cssVars from 'css-vars-ponyfill';
import qs from 'qs'; import qs from 'qs';

View File

@ -1,7 +1,7 @@
// Main imports // Main imports
import Vue from 'vue'; import Vue from 'vue';
import Buefy from 'buefy'; import Buefy from 'buefy';
import VTooltip from 'v-tooltip'; import VTooltip from 'floating-vue';
import cssVars from 'css-vars-ponyfill'; import cssVars from 'css-vars-ponyfill';
import VueTheMask from 'vue-the-mask'; import VueTheMask from 'vue-the-mask';

View File

@ -1,7 +1,7 @@
import Vue from 'vue'; import Vue from 'vue';
import store from '../../admin/js/store/store'; import store from '../../admin/js/store/store';
import router from './reports-router'; import router from './reports-router';
import VTooltip from 'v-tooltip'; import VTooltip from 'floating-vue';
import { Snackbar, Modal } from 'buefy'; import { Snackbar, Modal } from 'buefy';
import VueApexCharts from 'vue-apexcharts'; import VueApexCharts from 'vue-apexcharts';
import cssVars from 'css-vars-ponyfill'; import cssVars from 'css-vars-ponyfill';

View File

@ -1,7 +1,7 @@
import Vue from 'vue'; import Vue from 'vue';
import store from '../../admin/js/store/store'; import store from '../../admin/js/store/store';
import router from './roles-router'; import router from './roles-router';
import VTooltip from 'v-tooltip'; import VTooltip from 'floating-vue';
import { Snackbar, Modal } from 'buefy'; import { Snackbar, Modal } from 'buefy';
import { I18NPlugin } from './wp-i18n-plugin'; import { I18NPlugin } from './wp-i18n-plugin';

View File

@ -78,7 +78,7 @@
autoHide: true, autoHide: true,
delay: 0, delay: 0,
placement: 'bottom', placement: 'bottom',
classes: ['tainacan-tooltip', 'tainacan-roles-tooltip'] popperClass: ['tainacan-tooltip', 'tainacan-roles-tooltip']
}" }"
:key="index" :key="index"
:id="'capability-' + capability"> :id="'capability-' + capability">
@ -158,7 +158,7 @@
autoHide: true, autoHide: true,
delay: 0, delay: 0,
placement: 'bottom', placement: 'bottom',
classes: ['tainacan-tooltip', 'tainacan-roles-tooltip'] popperClass: ['tainacan-tooltip', 'tainacan-roles-tooltip']
}" }"
:key="index" :key="index"
:id="'capability-' + capability.replace('%d', selectedCollection)"> :id="'capability-' + capability.replace('%d', selectedCollection)">

View File

@ -12,7 +12,7 @@
content: $i18n.get('Create a role based on: '), content: $i18n.get('Create a role based on: '),
autoHide: true, autoHide: true,
placement: 'top', placement: 'top',
classes: ['tainacan-tooltip', 'tainacan-roles-tooltip'] popperClass: ['tainacan-tooltip', 'tainacan-roles-tooltip']
}" }"
@click="showDropdownMenu = !showDropdownMenu" @click="showDropdownMenu = !showDropdownMenu"
class="button button-secondary" class="button button-secondary"