UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

21 lines (20 loc) 940 B
/** * DevExtreme (renovation/ui/scheduler/appointment_tooltip/utils/get_current_appointment.js) * Version: 22.1.9 * Build date: Tue Apr 18 2023 * * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; exports.default = void 0; var _default = function(appointmentItem) { var _ref, _settings$targetedApp; var currentData = appointmentItem.currentData, data = appointmentItem.data, settings = appointmentItem.settings; return null !== (_ref = null !== (_settings$targetedApp = null === settings || void 0 === settings ? void 0 : settings.targetedAppointmentData) && void 0 !== _settings$targetedApp ? _settings$targetedApp : currentData) && void 0 !== _ref ? _ref : data }; exports.default = _default; module.exports = exports.default; module.exports.default = exports.default;