{"version":3,"sources":["kendo.datetimepicker.js"],"names":["f","define","$","undefined","lastTimeOption","interval","date","Date","setMinutes","preventDefault","e","normalize","options","timeFormat","patterns","kendo","getCulture","culture","calendars","standard","parseFormats","length","format","extractFormat","g","t","DateView","unshift","inArray","push","window","TimeView","parse","parseDate","support","activeElement","_activeElement","_extractFormat","calendar","isInRange","restrictValue","isEqualDatePart","getMilliseconds","ui","Widget","OPEN","CLOSE","CHANGE","ns","CLICK","UP","mouseAndTouchPresent","applyEventMap","slice","DISABLED","READONLY","DEFAULT","FOCUSED","HOVER","STATEDISABLED","HOVEREVENTS","MOUSEDOWN","MONTH","SPAN","ARIA_ACTIVEDESCENDANT","ARIA_EXPANDED","ARIA_HIDDEN","ARIA_OWNS","ARIA_DISABLED","ARIA_READONLY","DATE","MIN","MAX","dateViewParams","view","timeViewParams","extend","SINGLE_POPUP_TEMPLATE","STATE_ACTIVE","DateTimePicker","init","element","disabled","that","this","componentType","fn","call","disableDates","min","attr","max","_specifiedRange","_initialOptions","_wrapper","singlePopup","_popup","_views","_icons","_reset","_template","setAttribute","type","addClass","role","aria-expanded","autocomplete","_midnight","_calculateMidnight","is","parents","enable","readonly","_createDateInput","_old","_update","value","val","_oldText","notify","name","dates","height","footer","start","depth","animation","month","ARIATemplate","dateButtonText","timeButtonText","dateInput","weekNumber","messages","set","cancel","hour","minute","second","millisecond","now","time","today","events","componentTypes","classic","timeView","list","modern","setOptions","currentValue","_value","dateView","_current","_dateInput","toString","_updateARIA","_editable","off","dateIcon","_dateIcon","timeIcon","_timeIcon","wrapper","_inputWrapper","disable","removeClass","on","_toggleHover","removeAttribute","proxy","_keydown","_change","current","getToday","close","toggle","_focusElement","eventType","touch","match","trigger","destroy","popup","_form","_resetHandler","open","popupHovered","_calendar","ul","find","bind","_hovered","_switchToTimeView","_switchToDateView","setTimeout","_option","visible","secondView","dateChanged","valueUpdated","textFormatted","oldValue","_typing","option","minDateEqual","maxDateEqual","timeViewOptions","getTime","dataBind","currentTarget","toggleClass","rebind","old","skip","formattedValue","isSameType","String","grep","d","isDateViewVisible","stopPropagation","stopImmediatePropagation","altKey","keyCode","keys","DOWN","move","ENTER","div","msMin","timeDiv","omitPopup","id","dateDiv","anchor","change","_applyDateValue","_currentlySelected","setFullYear","getFullYear","setMonth","getMonth","setDate","getDate","_toggleIcons","_dateViewID","validateDate","_applyTimeValue","_timeSelected","_adjustListWidth","_updateTitle","_timeViewID","active","_optionID","useValueToRender","specifiedRange","adjustedDate","msValue","msMax","setHours","_parse","icons","next","insertAfter","children","eq","hide","wrap","parent","style","cssText","css","width","className","firstChild","formId","form","closest","disabledDate","optionsValue","initialValue","defaultValue","_ariaTemplate","template","DateInput","cell","_cell","appendTo","document","body","append","Popup","isRtl","activate","addTranslate","applyValue","_updateRanges","_groupChangeClick","_cancelClickHandler","_setClickHandler","button","index","_updateCurrentlySelected","getHours","getMinutes","setSeconds","getSeconds","plugin","jQuery","amd","a1","a2","a3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;CAwBC,SAAUA,EAAGC,QACVA,OAAO,wBACH,mBACA,oBACDD,IACL,WA+wBE,MApwBC,UAAUE,EAAGC,GA8uBV,QAASC,GAAeC,GACpB,GAAIC,GAAO,GAAIC,MAAK,KAAM,EAAG,EAE7B,OADAD,GAAKE,YAAYH,GACVC,EAEX,QAASG,GAAeC,GACpBA,EAAED,iBAEN,QAASE,GAAUC,GACf,GAA2HC,GAAvHC,EAAWC,EAAMC,WAAWJ,EAAQK,SAASC,UAAUC,SAASL,SAAUM,GAAgBR,EAAQQ,aAAaC,MACnHT,GAAQU,OAASC,EAAcX,EAAQU,QAAUR,EAASU,GAC1DZ,EAAQC,WAAaA,EAAaU,EAAcX,EAAQC,YAAcC,EAASW,GAC/EV,EAAMW,SAASf,UAAUC,GACrBQ,GACAR,EAAQQ,aAAaO,QAAQ,uBAE7BzB,EAAE0B,QAAQf,EAAYD,EAAQQ,oBAC9BR,EAAQQ,aAAaS,KAAKhB,GA/vBrC,GACOE,G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GM,KAAKmG,MAAMtG,QAAQ6G,KAAK,oBAAoBxB,YAAY,cAAc/D,SAAS,eAEnF8I,aAAc,WACVjK,KAAK4E,UAAUgB,SACf5F,KAAK8E,UAAUc,UAEnB2H,oBAAqB,WACbvN,KAAKmE,SACLnE,KAAKgC,MAAMhC,KAAKmE,QAChBnE,KAAKoE,SAASpC,MAAMhC,KAAKmE,SAE7BnE,KAAKmG,MAAMR,SAEf6H,iBAAkB,WAAA,GACVxL,GAAQhC,KAAKyJ,kBACbhG,EAAOzD,KAAK8D,SAAS4F,oBAAsB,GAAIvO,KACnD6G,GAAQA,GAAS,GAAI7G,MACrB6E,KAAK8D,SAAS6J,2BACd3L,EAAMgJ,SAASvH,EAAKmK,YACpB5L,EAAM5G,WAAWqI,EAAKoK,cACtB7L,EAAM8L,WAAWrK,EAAKsK,cACtB/L,EAAQhC,KAAKoK,gBAAgBpI,GAC7BhC,KAAKwF,QAAQxD,GACbhC,KAAKmG,MAAMR,UAuBnBpI,GAAGyQ,OAAOrO,IACZjD,OAAOf,MAAMsS,QACRvR,OAAOf,OACE,kBAAVd,SAAwBA,OAAOqT,IAAMrT,OAAS,SAAUsT,EAAIC,EAAIC,IACrEA,GAAMD","file":"kendo.datetimepicker.min.js","sourcesContent":["/*!\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n*/\n(function (f, define) {\n define('kendo.datetimepicker', [\n 'kendo.datepicker',\n 'kendo.timepicker'\n ], f);\n}(function () {\n var __meta__ = {\n id: 'datetimepicker',\n name: 'DateTimePicker',\n category: 'web',\n description: 'The DateTimePicker allows the end user to select a value from a calendar or a time drop-down list.',\n depends: [\n 'datepicker',\n 'timepicker'\n ]\n };\n (function ($, undefined) {\n var kendo = window.kendo, TimeView = kendo.TimeView, parse = kendo.parseDate, support = kendo.support, activeElement = kendo._activeElement, extractFormat = kendo._extractFormat, calendar = kendo.calendar, isInRange = calendar.isInRange, restrictValue = calendar.restrictValue, isEqualDatePart = calendar.isEqualDatePart, getMilliseconds = TimeView.getMilliseconds, ui = kendo.ui, Widget = ui.Widget, OPEN = 'open', CLOSE = 'close', CHANGE = 'change', ns = '.kendoDateTimePicker', CLICK = 'click' + ns, UP = support.mouseAndTouchPresent ? kendo.applyEventMap('up', ns.slice(1)) : CLICK, DISABLED = 'disabled', READONLY = 'readonly', DEFAULT = 'k-state-default', FOCUSED = 'k-state-focused', HOVER = 'k-state-hover', STATEDISABLED = 'k-state-disabled', HOVEREVENTS = 'mouseenter' + ns + ' mouseleave' + ns, MOUSEDOWN = 'mousedown' + ns, MONTH = 'month', SPAN = '', ARIA_ACTIVEDESCENDANT = 'aria-activedescendant', ARIA_EXPANDED = 'aria-expanded', ARIA_HIDDEN = 'aria-hidden', ARIA_OWNS = 'aria-owns', ARIA_DISABLED = 'aria-disabled', ARIA_READONLY = 'aria-readonly', DATE = Date, MIN = new DATE(1800, 0, 1), MAX = new DATE(2099, 11, 31), dateViewParams = { view: 'date' }, timeViewParams = { view: 'time' }, extend = $.extend, SINGLE_POPUP_TEMPLATE = '
' + '
' + '
' + '' + '' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '' + '
', STATE_ACTIVE = 'k-state-active';\n var DateTimePicker = Widget.extend({\n init: function (element, options) {\n var that = this, disabled;\n options = options || {};\n options.componentType = options.componentType || 'classic';\n Widget.fn.init.call(that, element, options);\n element = that.element;\n options = that.options;\n options.disableDates = kendo.calendar.disabled(options.disableDates);\n options.min = parse(element.attr('min')) || parse(options.min);\n options.max = parse(element.attr('max')) || parse(options.max);\n if (+options.max != +MAX || +options.min != +MIN) {\n this._specifiedRange = true;\n }\n normalize(options);\n that._initialOptions = extend({}, options);\n that._wrapper();\n if (options.singlePopup) {\n that._popup();\n }\n that._views();\n that._icons();\n that._reset();\n that._template();\n try {\n element[0].setAttribute('type', 'text');\n } catch (e) {\n element[0].type = 'text';\n }\n element.addClass('k-input').attr({\n 'role': 'combobox',\n 'aria-expanded': false,\n 'autocomplete': 'off'\n });\n that._midnight = that._calculateMidnight(options.min, options.max);\n disabled = element.is('[disabled]') || $(that.element).parents('fieldset').is(':disabled');\n if (disabled) {\n that.enable(false);\n } else {\n that.readonly(element.is('[readonly]'));\n }\n that._createDateInput(options);\n that._old = that._update(options.value || that.element.val());\n that._oldText = element.val();\n kendo.notify(that);\n },\n options: {\n name: 'DateTimePicker',\n value: null,\n format: '',\n timeFormat: '',\n culture: '',\n parseFormats: [],\n dates: [],\n disableDates: null,\n min: new DATE(MIN),\n max: new DATE(MAX),\n interval: 30,\n height: 200,\n footer: '',\n start: MONTH,\n depth: MONTH,\n animation: {},\n month: {},\n ARIATemplate: 'Current focused date is #=kendo.toString(data.current, \"d\")#',\n dateButtonText: 'Open the date view',\n timeButtonText: 'Open the time view',\n dateInput: false,\n weekNumber: false,\n messages: {\n set: 'Set',\n cancel: 'Cancel',\n hour: 'hour',\n minute: 'minute',\n second: 'second',\n millisecond: 'millisecond',\n now: 'Now',\n date: 'Date',\n time: 'Time',\n today: 'Today'\n },\n componentType: 'classic'\n },\n events: [\n OPEN,\n CLOSE,\n CHANGE\n ],\n componentTypes: {\n 'classic': {\n singlePopup: false,\n timeView: { list: 'list' }\n },\n 'modern': {\n singlePopup: true,\n timeView: { list: 'scroll' }\n }\n },\n setOptions: function (options) {\n var that = this, value = that._value, min, max, currentValue;\n Widget.fn.setOptions.call(that, options);\n options = that.options;\n options.min = min = parse(options.min);\n options.max = max = parse(options.max);\n normalize(options);\n that._midnight = that._calculateMidnight(options.min, options.max);\n currentValue = options.value || that._value || that.dateView._current;\n if (min && !isEqualDatePart(min, currentValue)) {\n min = new DATE(MIN);\n }\n if (max && !isEqualDatePart(max, currentValue)) {\n max = new DATE(MAX);\n }\n that.dateView.setOptions(options);\n that.timeView.setOptions(extend({}, options, {\n format: options.timeFormat,\n min: min,\n max: max\n }));\n that._createDateInput(options);\n if (!that._dateInput) {\n that.element.val(kendo.toString(value, options.format, options.culture));\n }\n if (value) {\n that._updateARIA(value);\n }\n },\n _editable: function (options) {\n var that = this, element = that.element.off(ns), dateIcon = that._dateIcon.off(ns), timeIcon = that._timeIcon.off(ns), wrapper = that._inputWrapper.off(ns), readonly = options.readonly, disable = options.disable;\n if (!readonly && !disable) {\n wrapper.addClass(DEFAULT).removeClass(STATEDISABLED).on(HOVEREVENTS, that._toggleHover);\n if (element && element.length) {\n element[0].removeAttribute(DISABLED);\n element[0].removeAttribute(READONLY, false);\n element[0].removeAttribute(ARIA_DISABLED, false);\n element[0].removeAttribute(ARIA_READONLY, false);\n }\n element.on('keydown' + ns, $.proxy(that._keydown, that)).on('focus' + ns, function () {\n that._inputWrapper.addClass(FOCUSED);\n }).on('focusout' + ns, function () {\n that._inputWrapper.removeClass(FOCUSED);\n if (element.val() !== that._oldText) {\n that._change(element.val());\n if (!element.val()) {\n that.dateView.current(kendo.calendar.getToday());\n }\n }\n if (that.options.singlePopup) {\n return;\n }\n that.close('date');\n that.close('time');\n });\n dateIcon.on(MOUSEDOWN, preventDefault).on(UP, function (e) {\n that.toggle('date');\n that._focusElement(e.type);\n });\n timeIcon.on(MOUSEDOWN, preventDefault).on(UP, function (e) {\n that.toggle('time');\n that._focusElement(e.type);\n });\n } else {\n wrapper.addClass(disable ? STATEDISABLED : DEFAULT).removeClass(disable ? DEFAULT : STATEDISABLED);\n element.attr(DISABLED, disable).attr(READONLY, readonly).attr(ARIA_DISABLED, disable).attr(ARIA_READONLY, readonly);\n }\n },\n _focusElement: function (eventType) {\n var element = this.element;\n if ((!support.touch || support.mouseAndTouchPresent && !(eventType || '').match(/touch/i)) && element[0] !== activeElement()) {\n element.trigger('focus');\n }\n },\n readonly: function (readonly) {\n this._editable({\n readonly: readonly === undefined ? true : readonly,\n disable: false\n });\n },\n enable: function (enable) {\n this._editable({\n readonly: false,\n disable: !(enable = enable === undefined ? true : enable)\n });\n },\n destroy: function () {\n var that = this;\n Widget.fn.destroy.call(that);\n that.dateView.destroy();\n that.timeView.destroy();\n if (that.options.singlePopup) {\n that.popup.element.off(ns);\n that.popup.destroy();\n }\n that.element.off(ns);\n that._dateIcon.off(ns);\n that._timeIcon.off(ns);\n that._inputWrapper.off(ns);\n if (that._form) {\n that._form.off('reset', that._resetHandler);\n }\n },\n close: function (view) {\n if (this.options.singlePopup) {\n this.popup.close();\n } else {\n if (view !== 'time') {\n view = 'date';\n }\n this[view + 'View'].close();\n }\n },\n open: function (view) {\n var that = this;\n var popupHovered;\n if (that.options.singlePopup) {\n that.dateView._calendar();\n if (that.timeView.ul.find('li').length < 1) {\n that.timeView.bind();\n }\n popupHovered = that.popup._hovered;\n that.popup._hovered = true;\n that.popup.open();\n if (view === 'time') {\n that._switchToTimeView();\n } else {\n that._switchToDateView();\n }\n this._dateIcon.toggle(view !== 'time');\n this._timeIcon.toggle(view === 'time');\n setTimeout(function () {\n that.popup._hovered = popupHovered;\n }, 1);\n } else {\n if (view !== 'time') {\n view = 'date';\n }\n this[view + 'View'].open();\n }\n },\n min: function (value) {\n return this._option('min', value);\n },\n max: function (value) {\n return this._option('max', value);\n },\n toggle: function (view) {\n if (this.options.singlePopup) {\n if (this.popup.visible()) {\n this.close();\n } else {\n this.open(view);\n }\n } else {\n var secondView = 'timeView';\n if (view !== 'time') {\n view = 'date';\n } else {\n secondView = 'dateView';\n }\n this[view + 'View'].toggle();\n this[secondView].close();\n }\n },\n value: function (value) {\n var that = this;\n if (value === undefined) {\n return that._value;\n }\n that._old = that._update(value);\n if (that._old === null) {\n that.element.val('');\n }\n that._oldText = that.element.val();\n },\n _change: function (value) {\n var that = this, oldValue = that.element.val(), dateChanged;\n value = that._update(value);\n dateChanged = +that._old != +value;\n var valueUpdated = dateChanged && !that._typing;\n var textFormatted = oldValue !== that.element.val();\n if (valueUpdated || textFormatted) {\n that.element.trigger(CHANGE);\n }\n if (dateChanged) {\n that._old = value;\n that._oldText = that.element.val();\n that.trigger(CHANGE);\n }\n that._typing = false;\n },\n _option: function (option, value) {\n var that = this;\n var options = that.options;\n var timeView = that.timeView;\n var timeViewOptions = timeView.options;\n var current = that._value || that._old;\n var minDateEqual;\n var maxDateEqual;\n if (value === undefined) {\n return options[option];\n }\n value = parse(value, options.parseFormats, options.culture);\n if (!value) {\n return;\n }\n if (options.min.getTime() === options.max.getTime()) {\n timeViewOptions.dates = [];\n }\n options[option] = new DATE(value.getTime());\n that.dateView[option](value);\n that._midnight = that._calculateMidnight(options.min, options.max);\n if (current) {\n minDateEqual = isEqualDatePart(options.min, current);\n maxDateEqual = isEqualDatePart(options.max, current);\n }\n if (minDateEqual || maxDateEqual) {\n timeViewOptions[option] = value;\n if (minDateEqual && !maxDateEqual) {\n timeViewOptions.max = lastTimeOption(options.interval);\n }\n if (maxDateEqual) {\n if (that._midnight) {\n timeView.dataBind([MAX]);\n return;\n } else if (!minDateEqual) {\n timeViewOptions.min = MIN;\n }\n }\n } else {\n timeViewOptions.max = MAX;\n timeViewOptions.min = MIN;\n }\n timeView.bind();\n },\n _toggleHover: function (e) {\n $(e.currentTarget).toggleClass(HOVER, e.type === 'mouseenter');\n },\n _update: function (value) {\n var that = this, options = that.options, min = options.min, max = options.max, dates = options.dates, timeView = that.timeView, current = that._value, date = parse(value, options.parseFormats, options.culture), isSameType = date === null && current === null || date instanceof Date && current instanceof Date, rebind, timeViewOptions, old, skip, formattedValue;\n if (options.disableDates && options.disableDates(date)) {\n date = null;\n if (!that._old && !that.element.val()) {\n value = null;\n }\n }\n if (+date === +current && isSameType) {\n formattedValue = kendo.toString(date, options.format, options.culture);\n if (formattedValue !== value) {\n that.element.val(date === null ? value : formattedValue);\n if (value instanceof String) {\n that.element.trigger(CHANGE);\n }\n }\n return date;\n }\n if (date !== null && isEqualDatePart(date, min)) {\n date = restrictValue(date, min, max);\n } else if (!isInRange(date, min, max)) {\n date = null;\n }\n that._value = date;\n timeView.value(date);\n that.dateView.value(date);\n if (date) {\n old = that._old;\n timeViewOptions = timeView.options;\n if (dates[0]) {\n dates = $.grep(dates, function (d) {\n return isEqualDatePart(date, d);\n });\n if (dates[0]) {\n timeView.dataBind(dates);\n skip = true;\n }\n }\n if (!skip) {\n if (isEqualDatePart(date, min)) {\n timeViewOptions.min = min;\n timeViewOptions.max = lastTimeOption(options.interval);\n rebind = true;\n }\n if (isEqualDatePart(date, max)) {\n if (that._midnight) {\n timeView.dataBind([MAX]);\n skip = true;\n } else {\n timeViewOptions.max = max;\n if (!rebind) {\n timeViewOptions.min = MIN;\n }\n rebind = true;\n }\n }\n }\n if (!skip && (!old && rebind || old && !isEqualDatePart(old, date))) {\n if (!rebind) {\n timeViewOptions.max = MAX;\n timeViewOptions.min = MIN;\n }\n timeView.bind();\n }\n }\n if (that._dateInput && date) {\n that._dateInput.value(date || value);\n } else {\n that.element.val(kendo.toString(date || value, options.format, options.culture));\n }\n that._updateARIA(date);\n return date;\n },\n _keydown: function (e) {\n var that = this, dateView = that.dateView, timeView = that.timeView, value = that.element.val(), isDateViewVisible = that.options.singlePopup ? that.popup.visible() : dateView.popup.visible();\n var stopPropagation = that._dateInput && e.stopImmediatePropagation;\n if (e.altKey && e.keyCode === kendo.keys.DOWN) {\n that.toggle(isDateViewVisible ? 'time' : 'date');\n } else if (isDateViewVisible) {\n dateView.move(e);\n that._updateARIA(dateView._current);\n } else if (!that.options.singlePopup && timeView.popup.visible()) {\n timeView.move(e);\n } else if (e.keyCode === kendo.keys.ENTER && value !== that._oldText) {\n that._change(value);\n } else {\n that._typing = true;\n stopPropagation = false;\n }\n if (stopPropagation) {\n e.stopImmediatePropagation();\n }\n },\n _views: function () {\n var that = this, element = that.element, options = that.options, id = element.attr('id'), dateView, timeView, div, ul, msMin, date, timeDiv, omitPopup, timeViewOptions;\n if (options.singlePopup) {\n options.dateDiv = that.popup.element.find('.k-datetime-calendar-wrap');\n timeDiv = that.popup.element.find('.k-datetime-time-wrap');\n options.omitPopup = omitPopup = true;\n timeViewOptions = options.timeView;\n }\n that.dateView = dateView = new kendo.DateView(extend({}, options, {\n id: id,\n anchor: that.wrapper,\n change: function () {\n var value = that._applyDateValue();\n if (options.singlePopup) {\n if (!that.timeView._currentlySelected) {\n that.timeView._currentlySelected = new Date();\n }\n that.timeView._currentlySelected.setFullYear(value.getFullYear());\n that.timeView._currentlySelected.setMonth(value.getMonth());\n that.timeView._currentlySelected.setDate(value.getDate());\n that._switchToTimeView();\n that._toggleIcons();\n } else {\n that._change(value);\n that.close('date');\n }\n },\n close: function (e) {\n if (that.trigger(CLOSE, dateViewParams)) {\n e.preventDefault();\n } else {\n element.attr(ARIA_EXPANDED, false);\n div.attr(ARIA_HIDDEN, true);\n if (!that.options.singlePopup && !timeView.popup.visible()) {\n if (element && element.length) {\n element[0].removeAttribute(ARIA_OWNS);\n }\n }\n }\n },\n open: function (e) {\n if (that.trigger(OPEN, dateViewParams)) {\n e.preventDefault();\n } else {\n if (element.val() !== that._oldText) {\n date = parse(element.val(), options.parseFormats, options.culture);\n that.dateView[date ? 'current' : 'value'](date);\n }\n div.attr(ARIA_HIDDEN, false);\n element.attr(ARIA_EXPANDED, true).attr(ARIA_OWNS, dateView._dateViewID);\n that._updateARIA(date);\n }\n }\n }));\n div = dateView.div;\n msMin = options.min.getTime();\n that.timeView = timeView = new TimeView({\n id: id,\n value: options.value,\n anchor: that.wrapper,\n animation: options.animation,\n format: options.timeFormat,\n culture: options.culture,\n height: options.componentType === 'modern' ? null : options.height,\n interval: options.interval,\n min: options.componentType === 'modern' ? options.min : new DATE(MIN),\n max: options.componentType === 'modern' ? options.max : new DATE(MAX),\n dates: msMin === options.max.getTime() ? [new Date(msMin)] : [],\n parseFormats: options.parseFormats,\n validateDate: true,\n change: function (value, trigger) {\n value = that._applyTimeValue(value);\n if (trigger) {\n that._timeSelected = true;\n that._change(value);\n } else {\n element.val(kendo.toString(value, options.format, options.culture));\n dateView.value(value);\n that._updateARIA(value);\n }\n },\n close: function (e) {\n if (that.trigger(CLOSE, timeViewParams)) {\n e.preventDefault();\n } else {\n ul.attr(ARIA_HIDDEN, true);\n element.attr(ARIA_EXPANDED, false);\n if (!dateView.popup.visible()) {\n if (element && element.length) {\n element[0].removeAttribute(ARIA_OWNS);\n }\n }\n }\n },\n open: function (e) {\n if (that.options.componentType !== 'modern') {\n timeView._adjustListWidth();\n } else {\n that.timeView._updateTitle();\n }\n if (that.trigger(OPEN, timeViewParams)) {\n e.preventDefault();\n } else {\n if (element.val() !== that._oldText) {\n date = parse(element.val(), options.parseFormats, options.culture);\n that.timeView.value(date);\n }\n ul.attr(ARIA_HIDDEN, false);\n element.attr(ARIA_EXPANDED, true).attr(ARIA_OWNS, timeView._timeViewID);\n timeView.options.active(timeView.current());\n }\n },\n active: function (current) {\n if (element && element.length) {\n element[0].removeAttribute(ARIA_ACTIVEDESCENDANT);\n }\n if (current) {\n element.attr(ARIA_ACTIVEDESCENDANT, timeView._optionID);\n }\n },\n popup: options.popup,\n useValueToRender: true,\n specifiedRange: that._specifiedRange,\n omitPopup: omitPopup,\n timeDiv: timeDiv,\n timeView: timeViewOptions,\n messages: that.options.messages\n });\n ul = timeView.ul;\n },\n _applyDateValue: function () {\n var that = this;\n var options = that.options;\n var dateView = that.dateView;\n var value = dateView.calendar.value();\n var msValue = +value;\n var msMin = +options.min;\n var msMax = +options.max;\n var current, adjustedDate;\n if (msValue === msMin || msValue === msMax) {\n current = msValue === msMin ? msMin : msMax;\n current = new DATE(that._value || current);\n current.setFullYear(value.getFullYear(), value.getMonth(), value.getDate());\n if (isInRange(current, msMin, msMax)) {\n value = current;\n }\n }\n if (that._value) {\n adjustedDate = kendo.date.setHours(new Date(value), that._value);\n if (isInRange(adjustedDate, msMin, msMax)) {\n value = adjustedDate;\n }\n }\n return value;\n },\n _applyTimeValue: function (value) {\n var timeView = this.timeView;\n var options = this.options;\n value = timeView._parse(value);\n if (value < options.min) {\n value = new DATE(+options.min);\n timeView.options.min = value;\n } else if (value > options.max) {\n value = new DATE(+options.max);\n timeView.options.max = value;\n }\n return value;\n },\n _icons: function () {\n var that = this;\n var element = that.element;\n var options = that.options;\n var icons;\n icons = element.next('span.k-select');\n if (!icons[0]) {\n icons = $('' + '' + '' + '').insertAfter(element);\n }\n icons = icons.children();\n that._dateIcon = icons.eq(0).attr('aria-controls', that.dateView._dateViewID);\n that._timeIcon = icons.eq(1).attr('aria-controls', that.timeView._timeViewID);\n if (options.singlePopup) {\n that._timeIcon.hide();\n }\n },\n _wrapper: function () {\n var that = this, element = that.element, wrapper;\n wrapper = element.parents('.k-datetimepicker');\n if (!wrapper[0]) {\n wrapper = element.wrap(SPAN).parent().addClass('k-picker-wrap k-state-default');\n wrapper = wrapper.wrap(SPAN).parent();\n }\n wrapper[0].style.cssText = element[0].style.cssText;\n element.css({\n width: '100%',\n height: element[0].style.height\n });\n that.wrapper = wrapper.addClass('k-widget k-datetimepicker').addClass(element[0].className).removeClass('input-validation-error');\n that._inputWrapper = $(wrapper[0].firstChild);\n },\n _reset: function () {\n var that = this, element = that.element, formId = element.attr('form'), form = formId ? $('#' + formId) : element.closest('form'), options = that.options, disabledDate = options.disableDates, parseFormats = options.parseFormats.length ? options.parseFormats : null, optionsValue = that._initialOptions.value, initialValue = element[0].defaultValue;\n if (optionsValue && (disabledDate && disabledDate(optionsValue))) {\n optionsValue = null;\n }\n if ((!initialValue || !kendo.parseDate(initialValue, parseFormats, options.culture)) && optionsValue) {\n element.attr('value', kendo.toString(optionsValue, options.format, options.culture));\n }\n if (form[0]) {\n that._resetHandler = function () {\n that.value(optionsValue || element[0].defaultValue);\n that.max(that._initialOptions.max);\n that.min(that._initialOptions.min);\n };\n that._form = form.on('reset', that._resetHandler);\n }\n },\n _template: function () {\n this._ariaTemplate = kendo.template(this.options.ARIATemplate);\n },\n _createDateInput: function (options) {\n if (this._dateInput) {\n this._dateInput.destroy();\n this._dateInput = null;\n }\n if (options.dateInput) {\n this._dateInput = new ui.DateInput(this.element, {\n culture: options.culture,\n format: options.format,\n min: options.min,\n max: options.max,\n interval: options.interval\n });\n }\n },\n _calculateMidnight: function (min, max) {\n return getMilliseconds(min) + getMilliseconds(max) === 0;\n },\n _updateARIA: function (date) {\n var cell;\n var that = this;\n var calendar = that.dateView.calendar;\n if (that.element && that.element.length) {\n that.element[0].removeAttribute(ARIA_ACTIVEDESCENDANT);\n }\n if (calendar) {\n cell = calendar._cell;\n cell.attr('aria-label', that._ariaTemplate({ current: date || calendar.current() }));\n that.element.attr(ARIA_ACTIVEDESCENDANT, cell.attr('id'));\n }\n },\n _popup: function () {\n var that = this;\n var options = that.options;\n var div = $('
').attr(ARIA_HIDDEN, 'true').addClass('k-datetime-container k-group k-reset').appendTo(document.body);\n div.append(kendo.template(SINGLE_POPUP_TEMPLATE)(that.options));\n that.popup = new ui.Popup(div, extend(options.popup, options, {\n name: 'Popup',\n isRtl: kendo.support.isRtl(that.wrapper),\n anchor: that.wrapper,\n activate: function () {\n if (that.options.timeView && that.options.timeView.list === 'scroll') {\n that.timeView.addTranslate();\n that.timeView.applyValue(that._value);\n that.timeView._updateRanges();\n }\n },\n open: function () {\n that.timeView._updateTitle();\n }\n }));\n div.on(CLICK + ns, '.k-datetime-buttongroup .k-button', $.proxy(that._groupChangeClick, that));\n div.on(CLICK + ns, '.k-datetime-footer button.k-time-cancel', $.proxy(that._cancelClickHandler, that));\n div.on(CLICK + ns, '.k-datetime-footer button.k-time-accept', $.proxy(that._setClickHandler, that));\n },\n _groupChangeClick: function (e) {\n preventDefault(e);\n var button = $(e.currentTarget);\n var index = button.index();\n if (index) {\n this._switchToTimeView();\n } else {\n this._switchToDateView();\n }\n this._toggleIcons();\n },\n _switchToDateView: function () {\n this.popup.element.find('.k-group-start, .k-group-end').removeClass(STATE_ACTIVE).eq(0).addClass(STATE_ACTIVE);\n this.popup.element.find('.k-datetime-wrap').removeClass('k-time-tab').addClass('k-date-tab');\n },\n _switchToTimeView: function () {\n this.timeView._updateRanges();\n this.popup.element.find('.k-group-start, .k-group-end').removeClass(STATE_ACTIVE).eq(1).addClass(STATE_ACTIVE);\n this.popup.element.find('.k-datetime-wrap').removeClass('k-date-tab').addClass('k-time-tab');\n },\n _toggleIcons: function () {\n this._dateIcon.toggle();\n this._timeIcon.toggle();\n },\n _cancelClickHandler: function () {\n if (this._value) {\n this.value(this._value);\n this.dateView.value(this._value);\n }\n this.popup.close();\n },\n _setClickHandler: function () {\n var value = this._applyDateValue();\n var time = this.timeView._currentlySelected || new Date();\n value = value || new Date();\n this.timeView._updateCurrentlySelected();\n value.setHours(time.getHours());\n value.setMinutes(time.getMinutes());\n value.setSeconds(time.getSeconds());\n value = this._applyTimeValue(value);\n this._change(value);\n this.popup.close();\n }\n });\n function lastTimeOption(interval) {\n var date = new Date(2100, 0, 1);\n date.setMinutes(-interval);\n return date;\n }\n function preventDefault(e) {\n e.preventDefault();\n }\n function normalize(options) {\n var patterns = kendo.getCulture(options.culture).calendars.standard.patterns, parseFormats = !options.parseFormats.length, timeFormat;\n options.format = extractFormat(options.format || patterns.g);\n options.timeFormat = timeFormat = extractFormat(options.timeFormat || patterns.t);\n kendo.DateView.normalize(options);\n if (parseFormats) {\n options.parseFormats.unshift('yyyy-MM-ddTHH:mm:ss');\n }\n if ($.inArray(timeFormat, options.parseFormats) === -1) {\n options.parseFormats.push(timeFormat);\n }\n }\n ui.plugin(DateTimePicker);\n }(window.kendo.jQuery));\n return window.kendo;\n}, typeof define == 'function' && define.amd ? define : function (a1, a2, a3) {\n (a3 || a2)();\n}));"]}