Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pomahtri committed Dec 3, 2024
1 parent aa15373 commit 365be91
Show file tree
Hide file tree
Showing 29 changed files with 93 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class CompactAppointmentsHelper {
dragBehavior: options.allowDrag && this._createTooltipDragBehavior($appointmentCollector).bind(this),
dropDownAppointmentTemplate: this.instance.option().dropDownAppointmentTemplate, // TODO deprecated option
isButtonClick: true,
_loopFocus: true,
};
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import messageLocalization from '@js/localization/message';
import supportUtils from '@ts/core/utils/m_support';
import Tooltip from '@ts/ui/m_tooltip';

Expand Down Expand Up @@ -40,17 +41,24 @@ export class DesktopTooltipStrategy extends TooltipStrategyBase {
}

_createTooltip(target, dataList) {
const tooltip = this._createTooltipElement(APPOINTMENT_TOOLTIP_WRAPPER_CLASS);
const tooltipElement = this._createTooltipElement(APPOINTMENT_TOOLTIP_WRAPPER_CLASS);

return this._options.createComponent(tooltip, Tooltip, {
const tooltip = this._options.createComponent(tooltipElement, Tooltip, {
target,
maxHeight: MAX_TOOLTIP_HEIGHT,
rtlEnabled: this._extraOptions.rtlEnabled,
onShown: this._onShown.bind(this),
contentTemplate: this._getContentTemplate(dataList),
wrapperAttr: { class: APPOINTMENT_TOOLTIP_WRAPPER_CLASS },
_loopFocus: true,
_loopFocus: this._extraOptions._loopFocus,
});

tooltip.setAria({
role: 'dialog',
label: messageLocalization.format('dxScheduler-appointmentListAriaLabel'),
});

return tooltip;
}

_onListRender(e) {
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "الموضوع",
"dxScheduler-editorLabelStartDate": "تاريخ البدء",
"dxScheduler-editorLabelEndDate": "تاريخ الانتهاء",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Assignatura",
"dxScheduler-editorLabelStartDate": "Data d'inici",
"dxScheduler-editorLabelEndDate": "Data de finalització",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Předmět",
"dxScheduler-editorLabelStartDate": "Počáteční datum",
"dxScheduler-editorLabelEndDate": "Koncové datum",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Betreff",
"dxScheduler-editorLabelStartDate": "Anfangszeit",
"dxScheduler-editorLabelEndDate": "Endzeit",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Θέμα",
"dxScheduler-editorLabelStartDate": "Ημερομηνία έναρξης",
"dxScheduler-editorLabelEndDate": "Ημερομηνία λήξης",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Subject",
"dxScheduler-editorLabelStartDate": "Start Date",
"dxScheduler-editorLabelEndDate": "End Date",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Asunto",
"dxScheduler-editorLabelStartDate": "Fecha inicial",
"dxScheduler-editorLabelEndDate": "Fecha final",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "موضوع",
"dxScheduler-editorLabelStartDate": "تاریخ شروع",
"dxScheduler-editorLabelEndDate": "تاریخ پایان",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Aihe",
"dxScheduler-editorLabelStartDate": "Alkamispäivä",
"dxScheduler-editorLabelEndDate": "Päättymispäivä",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Titre",
"dxScheduler-editorLabelStartDate": "Date de début",
"dxScheduler-editorLabelEndDate": "Date de fin",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Tárgy",
"dxScheduler-editorLabelStartDate": "Kezdés dátuma",
"dxScheduler-editorLabelEndDate": "Befejezés dátuma",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Oggetto",
"dxScheduler-editorLabelStartDate": "Data inizio",
"dxScheduler-editorLabelEndDate": "Data fine",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "件名",
"dxScheduler-editorLabelStartDate": "開始時刻",
"dxScheduler-editorLabelEndDate": "終了時刻",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/lt.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Tema",
"dxScheduler-editorLabelStartDate": "Pradžios data",
"dxScheduler-editorLabelEndDate": "Pabaigos data",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/lv.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Nosaukums",
"dxScheduler-editorLabelStartDate": "Sākuma Datums",
"dxScheduler-editorLabelEndDate": "Beigu Datums",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Emne",
"dxScheduler-editorLabelStartDate": "Startdato",
"dxScheduler-editorLabelEndDate": "Sluttdato",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Onderwerp",
"dxScheduler-editorLabelStartDate": "Startdatum",
"dxScheduler-editorLabelEndDate": "Einddatum",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Dotyczy",
"dxScheduler-editorLabelStartDate": "Czas rozpoczęcia",
"dxScheduler-editorLabelEndDate": "Czas zakończenia",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Assunto",
"dxScheduler-editorLabelStartDate": "Data de Início",
"dxScheduler-editorLabelEndDate": "Data Final",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Subiect",
"dxScheduler-editorLabelStartDate": "Data de început",
"dxScheduler-editorLabelEndDate": "Data de încheiere",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Название",
"dxScheduler-editorLabelStartDate": "Дата начала",
"dxScheduler-editorLabelEndDate": "Дата завершения",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Predmet",
"dxScheduler-editorLabelStartDate": "Datum začetka",
"dxScheduler-editorLabelEndDate": "Datum konca",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Ämne",
"dxScheduler-editorLabelStartDate": "Startdatum",
"dxScheduler-editorLabelEndDate": "Slutdatum",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Konu",
"dxScheduler-editorLabelStartDate": "Başlangıç Tarihi",
"dxScheduler-editorLabelEndDate": "Bitiş Tarihi",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "Chủ đề",
"dxScheduler-editorLabelStartDate": "Ngày bắt đầu",
"dxScheduler-editorLabelEndDate": "Ngày kết thúc",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "標題",
"dxScheduler-editorLabelStartDate": "開始日期",
"dxScheduler-editorLabelEndDate": "結束日期",
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/messages/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@
"dxScheduler-appointmentAriaLabel-group": "Group: {0}",
"dxScheduler-appointmentAriaLabel-recurring": "Recurring appointment",

"dxScheduler-appointmentListAriaLabel": "Appointment list",


"dxScheduler-editorLabelTitle": "标题",
"dxScheduler-editorLabelStartDate": "开始日期",
"dxScheduler-editorLabelEndDate": "结束日期",
Expand Down

0 comments on commit 365be91

Please sign in to comment.