mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-01 03:38:30 +08:00
Menu: register el-tooltip
This commit is contained in:
parent
c30d4b11d2
commit
03ccdb4fbc
@ -219,7 +219,7 @@ In fact, Tooltip is an extension based on [Vue-popper](https://github.com/elemen
|
||||
:::tip
|
||||
The `router-link` component is not supported in tooltip, please use `vm.$router.push`.
|
||||
|
||||
Disabled form elements are not supported in tooltip, see more information at [MDN](https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter), please wrap disabled form elements.
|
||||
Disabled form elements are not supported for Tooltip, more information can be found at [MDN](https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter). You need to wrap the disabled form element with a container element for Tooltip to work.
|
||||
:::
|
||||
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import Menu from './menu-mixin';
|
||||
import ElTooltip from 'element-ui/packages/tooltip';
|
||||
import Emitter from 'element-ui/src/mixins/emitter';
|
||||
|
||||
export default {
|
||||
@ -39,6 +40,8 @@
|
||||
|
||||
mixins: [Menu, Emitter],
|
||||
|
||||
components: { ElTooltip },
|
||||
|
||||
props: {
|
||||
index: {
|
||||
type: String,
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Begintyd',
|
||||
endDate: 'Einddatum',
|
||||
endTime: 'Eindtyd',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'Jaar',
|
||||
month1: 'Jan',
|
||||
month2: 'Feb',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'وقت البدء',
|
||||
endDate: 'تاريخ الانتهاء',
|
||||
endTime: 'وقت الانتهاء',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'يناير',
|
||||
month2: 'فبراير',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Начален час',
|
||||
endDate: 'Крайна дата',
|
||||
endTime: 'Краен час',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Януари',
|
||||
month2: 'Февруари',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Hora Inici',
|
||||
endDate: 'Data Final',
|
||||
endTime: 'Hora Final',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'Any',
|
||||
month1: 'Gener',
|
||||
month2: 'Febrer',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Čas Začátku',
|
||||
endDate: 'Datum Konce',
|
||||
endTime: 'Čas Konce',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
day: 'Den',
|
||||
week: 'Týden',
|
||||
month: 'Měsíc',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Starttidspunkt',
|
||||
endDate: 'Slutdato',
|
||||
endTime: 'Sluttidspunkt',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'År',
|
||||
month1: 'Januar',
|
||||
month2: 'Februar',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Startzeit',
|
||||
endDate: 'Enddatum',
|
||||
endTime: 'Endzeit',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
day: 'Tag',
|
||||
week: 'Woche',
|
||||
month: 'Monat',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Algusaeg',
|
||||
endDate: 'Lõpukuupäev',
|
||||
endTime: 'Lõpuaeg',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Jaanuar',
|
||||
month2: 'Veebruar',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Ωρα Έναρξης',
|
||||
endDate: 'Ημερομηνία Λήξης',
|
||||
endTime: 'Ωρα Λήξης',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'Έτος',
|
||||
month1: 'Ιανουάριος',
|
||||
month2: 'Φεβρουάριος',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'زمان شروع',
|
||||
endDate: 'تاریخ پایان',
|
||||
endTime: 'زمان پایان',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'سال',
|
||||
month1: 'ژانویه',
|
||||
month2: 'فوریه',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Aloitusaika',
|
||||
endDate: 'Lopetuspäivä',
|
||||
endTime: 'Lopetusaika',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'tammikuu',
|
||||
month2: 'helmikuu',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Horaire début',
|
||||
endDate: 'Date fin',
|
||||
endTime: 'Horaire fin',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Janvier',
|
||||
month2: 'Février',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'זמן התחלה',
|
||||
endDate: 'תאריך סיום',
|
||||
endTime: 'זמן סיום',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'ינואר',
|
||||
month2: 'פברואר',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Waktu Mulai',
|
||||
endDate: 'Tanggal Selesai',
|
||||
endTime: 'Waktu Selesai',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'Tahun',
|
||||
month1: 'Januari',
|
||||
month2: 'Februari',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Ora inizio',
|
||||
endDate: 'Data fine',
|
||||
endTime: 'Ora fine',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'Anno',
|
||||
month1: 'Gennaio',
|
||||
month2: 'Febbraio',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: '開始時間',
|
||||
endDate: '終了日',
|
||||
endTime: '終了時間',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '年',
|
||||
month1: '1月',
|
||||
month2: '2月',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: '시작 시간',
|
||||
endDate: '종료 날짜',
|
||||
endTime: '종료 시간',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '년',
|
||||
month1: '1월',
|
||||
month2: '2월',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Sākuma laiks',
|
||||
endDate: 'Beigu datums',
|
||||
endTime: 'Beigu laiks',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Janvāris',
|
||||
month2: 'Februāris',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Start Tidspunkt',
|
||||
endDate: 'Sluttdato',
|
||||
endTime: 'Sluttidspunkt',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Januar',
|
||||
month2: 'Februar',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Starttijd',
|
||||
endDate: 'Einddatum',
|
||||
endTime: 'Eindtijd',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'januari',
|
||||
month2: 'februari',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Godzina początkowa',
|
||||
endDate: 'Data końcowa',
|
||||
endTime: 'Czas końcowa',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'rok',
|
||||
month1: 'styczeń',
|
||||
month2: 'luty',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Hora inicial',
|
||||
endDate: 'Data final',
|
||||
endTime: 'Hora final',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Janeiro',
|
||||
month2: 'Fevereiro',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Hora de inicio',
|
||||
endDate: 'Data de fim',
|
||||
endTime: 'Hora de fim',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Janeiro',
|
||||
month2: 'Fevereiro',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Время начала',
|
||||
endDate: 'Дата окончания',
|
||||
endTime: 'Время окончания',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Январь',
|
||||
month2: 'Февраль',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Čas začiatku',
|
||||
endDate: 'Dátum konca',
|
||||
endTime: 'Čas konca',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
day: 'Deň',
|
||||
week: 'Týždeň',
|
||||
month: 'Mesiac',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Začetni čas',
|
||||
endDate: 'Končni datum',
|
||||
endTime: 'Končni čas',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'Leto',
|
||||
month1: 'Jan',
|
||||
month2: 'Feb',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Starttid',
|
||||
endDate: 'Slutdatum',
|
||||
endTime: 'Sluttid',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'År',
|
||||
month1: 'Januari',
|
||||
month2: 'Februari',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'தொடங்கும் நேரம்',
|
||||
endDate: 'முடியும் தேதி',
|
||||
endTime: 'முடியும் நேரம்',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'வருடம்',
|
||||
month1: 'ஜனவரி',
|
||||
month2: 'பிப்ரவரி',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'เวลาเริ่มต้น',
|
||||
endDate: 'วันที่สิ้นสุด',
|
||||
endTime: 'เวลาสิ้นสุด',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'ปี',
|
||||
month1: 'มกราคม',
|
||||
month2: 'กุมภาพันธ์',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Başlaýan wagty',
|
||||
endDate: 'Gutarýan güni',
|
||||
endTime: 'Gutarýan wagty',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Ýan',
|
||||
month2: 'Few',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Başlangıç Saati',
|
||||
endDate: 'Bitiş Tarihi',
|
||||
endTime: 'Bitiş Saati',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Ocak',
|
||||
month2: 'Şubat',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Час початку',
|
||||
endDate: 'Дата завершення',
|
||||
endTime: 'Час завершення',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: '',
|
||||
month1: 'Січень',
|
||||
month2: 'Лютий',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: 'Thời gian bắt đầu',
|
||||
endDate: 'Ngày kết thúc',
|
||||
endTime: 'Thời gian kết thúc',
|
||||
prevYear: 'Previous Year', // to be translated
|
||||
nextYear: 'Next Year', // to be translated
|
||||
prevMonth: 'Previous Month', // to be translated
|
||||
nextMonth: 'Next Month', // to be translated
|
||||
year: 'Năm',
|
||||
month1: 'Tháng 1',
|
||||
month2: 'Tháng 2',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: '开始时间',
|
||||
endDate: '结束日期',
|
||||
endTime: '结束时间',
|
||||
prevYear: '前一年',
|
||||
nextYear: '后一年',
|
||||
prevMonth: '上个月',
|
||||
nextMonth: '下个月',
|
||||
year: '年',
|
||||
month1: '1 月',
|
||||
month2: '2 月',
|
||||
|
@ -16,6 +16,10 @@ export default {
|
||||
startTime: '開始時間',
|
||||
endDate: '結束日期',
|
||||
endTime: '結束時間',
|
||||
prevYear: '前一年',
|
||||
nextYear: '後一年',
|
||||
prevMonth: '上個月',
|
||||
nextMonth: '下個月',
|
||||
year: '年',
|
||||
month1: '1 月',
|
||||
month2: '2 月',
|
||||
|
Loading…
Reference in New Issue
Block a user