Menu: register el-tooltip

This commit is contained in:
Leopoldthecoder 2017-11-03 10:46:00 +08:00 committed by 杨奕
parent c30d4b11d2
commit 03ccdb4fbc
37 changed files with 144 additions and 1 deletions

View File

@ -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.
:::

View File

@ -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,

View File

@ -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',

View File

@ -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: 'فبراير',

View File

@ -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: 'Февруари',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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: 'Φεβρουάριος',

View File

@ -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: 'فوریه',

View File

@ -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',

View File

@ -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',

View File

@ -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: 'פברואר',

View File

@ -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',

View File

@ -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',

View File

@ -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月',

View File

@ -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월',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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: 'Февраль',

View File

@ -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',

View File

@ -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',

View File

@ -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',

View File

@ -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: 'பிப்ரவரி',

View File

@ -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: 'กุมภาพันธ์',

View File

@ -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',

View File

@ -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',

View File

@ -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: 'Лютий',

View File

@ -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',

View File

@ -16,6 +16,10 @@ export default {
startTime: '开始时间',
endDate: '结束日期',
endTime: '结束时间',
prevYear: '前一年',
nextYear: '后一年',
prevMonth: '上个月',
nextMonth: '下个月',
year: '年',
month1: '1 月',
month2: '2 月',

View File

@ -16,6 +16,10 @@ export default {
startTime: '開始時間',
endDate: '結束日期',
endTime: '結束時間',
prevYear: '前一年',
nextYear: '後一年',
prevMonth: '上個月',
nextMonth: '下個月',
year: '年',
month1: '1 月',
month2: '2 月',