Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/devextreme/eslint-scheduler-allowlist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ const schedulerLegacyMembers = [
// appointment_popup/m_legacy_popup.ts
'_ignorePreventScrollEventsDeprecation',

// header/m_header.ts
// header/header.ts
'_useShortDateFormat',

// header/m_view_switcher.ts
// header/view_switcher.ts
'_wrapperClassExternal',

// utils/options/constants.ts, utils/options/types.ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import type { ToolbarItem } from '@js/ui/scheduler';

import {
CLASS, DEFAULT_ITEMS, getDateNavigator, ITEMS_NAME,
} from './m_date_navigator';
import type { SchedulerHeader } from './m_header';
} from './date_navigator';
import type { SchedulerHeader } from './header';

describe('getDateNavigator', () => {
it('should return default options in case of item is empty', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { current, isMaterialBased } from '@js/ui/themes';
import type { Item as ToolbarItem } from '@js/ui/toolbar';
import { dateUtilsTs } from '@ts/core/utils/date';
import { extend } from '@ts/core/utils/m_extend';
import type { SchedulerHeader } from '@ts/scheduler/header/m_header';
import type { SchedulerHeader } from '@ts/scheduler/header/header';

import { Direction } from './constants';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@ import type { OptionChanged } from '@ts/core/widget/types';
import Widget from '@ts/core/widget/widget';
import type { NormalizedView, SafeSchedulerOptions } from '@ts/scheduler/utils/options/types';

import SchedulerCalendar from './calendar';
import type { Direction } from './constants';
import SchedulerCalendar from './m_calendar';
import {
getDateNavigator,
getTodayButtonOptions,
} from './m_date_navigator';
} from './date_navigator';
import type {
EventMapHandler,
HeaderOptions, IntervalOptions,
} from './types';
import {
getCaption,
getNextIntervalDate,
getStep,
nextWeek,
} from './m_utils';
} from './utils';
import {
getDropDownViewSwitcher,
getTabViewSwitcher,
} from './m_view_switcher';
import type {
EventMapHandler,
HeaderOptions, IntervalOptions,
} from './types';
} from './view_switcher';

const CLASSES = {
component: 'dx-scheduler-header',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, expect, it } from '@jest/globals';

import { getCaptionInterval, getNextIntervalDate } from './m_utils';
import { getCaptionInterval, getNextIntervalDate } from './utils';

describe('agenda hiddenWeekDays support in header utils', () => {
const skippedDays: number[] = [0, 6];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { current, isFluent } from '@js/ui/themes';
import type { Item as ToolbarItem } from '@js/ui/toolbar';

import type { NormalizedView } from '../utils/options/types';
import type { SchedulerHeader } from './m_header';
import type { SchedulerHeader } from './header';
import {
formatViews,
getViewName,
} from './m_utils';
} from './utils';

const ClASS = {
container: 'dx-scheduler-view-switcher',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import AppointmentCollection from './appointments/m_appointment_collection';
import type { AppointmentsProperties } from './appointments_new/appointments';
import { Appointments } from './appointments_new/appointments';
import NotifyScheduler from './base/m_widget_notify_scheduler';
import { SchedulerHeader } from './header/m_header';
import { SchedulerHeader } from './header/header';
import type { HeaderOptions } from './header/types';
import { CompactAppointmentsHelper } from './m_compact_appointments_helper';
import { hide as hideLoading, show as showLoading } from './m_loading';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import $ from 'jquery';
import { createWrapper, initTestMarkup } from '../../helpers/scheduler/helpers.js';
const { testStart, test, module } = QUnit;
import themes from 'ui/themes';
import { getCaption } from '__internal/scheduler/header/m_utils';
import { getCaption } from '__internal/scheduler/header/utils';

testStart(() => initTestMarkup());

Expand Down
Loading