Skip to content

Commit 3e224aa

Browse files
fix: update external references to renamed members (appointmentForm, allowResizing, allowAllDayResizing)
1 parent c92ba4a commit 3e224aa

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/devextreme/js/__internal/scheduler/appointment_popup/appointment_popup.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ describe('Appointment popup form', () => {
730730

731731
scheduler.showAppointmentPopup();
732732

733-
const appointmentForm = scheduler._appointmentForm.dxForm;
733+
const appointmentForm = scheduler.appointmentForm.dxForm;
734734
const startDate = appointmentForm.getEditor('startDate');
735735
const toolbarItemsBefore = startDate._getPopupToolbarItems();
736736

packages/devextreme/js/__internal/scheduler/m_scheduler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class Scheduler extends SchedulerOptionsBaseWidget {
209209

210210
_layoutManager!: AppointmentLayoutManager;
211211

212-
private appointmentForm: any;
212+
appointmentForm: any;
213213

214214
private mainContainer: any;
215215

@@ -563,11 +563,11 @@ class Scheduler extends SchedulerOptionsBaseWidget {
563563
return this.editing.allowDragging && !this.isAgenda();
564564
}
565565

566-
private allowResizing() {
566+
allowResizing() {
567567
return this.editing.allowResizing && !this.isAgenda();
568568
}
569569

570-
private allowAllDayResizing() {
570+
allowAllDayResizing() {
571571
return this.editing.allowResizing && this.supportAllDayResizing();
572572
}
573573

packages/devextreme/js/__internal/scheduler/view_model/m_appointments_layout_manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ class AppointmentLayoutManager {
116116
rowCount,
117117
appointmentCountPerCell: this.instance.option('_appointmentCountPerCell'),
118118
appointmentOffset: this.instance.option('_appointmentOffset'),
119-
allowResizing: this.instance._allowResizing(),
120-
allowAllDayResizing: this.instance._allowAllDayResizing(),
119+
allowResizing: this.instance.allowResizing(),
120+
allowAllDayResizing: this.instance.allowAllDayResizing(),
121121
startViewDate: workspace.getStartViewDate(),
122122
groupOrientation: workspace.getRealGroupOrientation(),
123123
cellWidth: getCellWidth(DOMMetaData),

0 commit comments

Comments
 (0)