{"version":3,"file":"kendo.popover.min.js","names":["factory","define","amd","$","kendo","Popup","TooltipBase","extend","DOCUMENT","NS","SHOW","HIDE","REVERSE","POSITIONS","DIRCLASSES","EVENTSCOUNTERPART","DIMENSIONS","Popover","window","jQuery","ui","document","top","bottom","left","right","center","origin","position","collision","mouseenter","focus","focusin","horizontal","offset","size","vertical","init","element","options","axis","that","this","fn","call","match","dimensions","_saveTitle","noop","_documentKeyDownHandler","_documentKeyDown","bind","_actionsHandler","_actionsClick","toggleOnClick","_isShownOnClick","on","support","touch","mousedown","showOn","filter","_showAction","_dismissAction","name","actions","actionsLayout","width","height","animation","open","effects","duration","close","hide","events","_addAria","id","wrapper","find","length","attr","_isDialog","header","guid","body","_appendContent","target","template","children","remove","append","_buildActions","positioning","e","button","currentTarget","action","parseInt","click","sender","_attachActions","_dettachActions","off","html","index","text","iconClass","keyCode","keys","ESC","_shown","TAB","allFocusables","firstFocusable","first","lastFocusable","last","shiftKey","activeElement","trigger","preventDefault","_initPopup","callout","dir","popup","activate","_offset","_positionCallout","_addDescribedBy","_hovered","copyAnchorStyles","css","_isShownOnMouseEnter","arrow","clearTimeout","timeout","setTimeout","hideAfter","_show","current","kendoStop","anchor","one","_removeDescribedBy","removeAttr","_openPopup","cssClass","flipped","removeClass","addClass","destroy","plugin"],"sources":["kendo.popover.js"],"mappings":"CAAA,SAAWA,GACW,mBAAXC,QAAyBA,OAAOC,IAAMD,OAAO,CAAC,qBAAsBD,GAC3EA,IAFJ,EAGG,WACC,IAcUG,EACFC,EACAC,EACAC,EACAC,EACAC,EACAC,EAcAC,EACAC,EACAC,EAOAC,EAwBAC,EAOAC,EAKAC,EAKAC,EAtEEd,EAgXPe,OAAOd,MAAMe,OA/WRf,EAAQc,OAAOd,MACfC,EAAQD,EAAMgB,GAAGf,MACjBC,EAAcF,EAAMgB,GAAGd,YACvBC,EAASJ,EAAEI,OACXC,EAAWL,EAAEkB,UACbZ,EAAK,gBAcLC,EAAO,OACPC,EAAO,OACPC,E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AGoI,OAAOvI","sourcesContent":["(function (factory) {\n typeof define === 'function' && define.amd ? define(['kendo.tooltip'], factory) :\n factory();\n})((function () {\n var __meta__ = {\n id: \"popover\",\n name: \"Popover\",\n category: \"web\",\n description: \"The Popover widget displays a popup with additional information for an element.\",\n depends: [ \"tooltip\"],\n features: [ {\n id: \"popover-fx\",\n name: \"Animation\",\n description: \"Support for animation\",\n depends: [ \"fx\" ]\n } ]\n };\n\n (function($, undefined$1) {\n var kendo = window.kendo,\n Popup = kendo.ui.Popup,\n TooltipBase = kendo.ui.TooltipBase,\n extend = $.extend,\n DOCUMENT = $(document),\n NS = \".kendoPopover\",\n ARROWWIDTH = 28,\n TEXTBUTTONTEMPLATE = '',\n ICONTEXTBUTTONTEMPLATE = '',\n ICONBUTTON = '',\n CARDTEMPLATE = '#if (header) {#
#=header#
#}#' +\n '
#=body#
' +\n '#if (actions){ #
#=actions#
#}#',\n TEMPLATE = '
' +\n '#if (callout){ #
#}#' +\n '
',\n SHOW = \"show\",\n HIDE = \"hide\",\n REVERSE = {\n \"top\": \"bottom\",\n \"bottom\": \"top\",\n \"left\": \"right\",\n \"right\": \"left\",\n \"center\": \"center\"\n },\n POSITIONS = {\n bottom: {\n origin: \"bottom center\",\n position: \"top center\"\n },\n top: {\n origin: \"top center\",\n position: \"bottom center\"\n },\n left: {\n origin: \"center left\",\n position: \"center right\",\n collision: \"fit flip\"\n },\n right: {\n origin: \"center right\",\n position: \"center left\",\n collision: \"fit flip\"\n },\n center: {\n position: \"center center\",\n origin: \"center center\"\n }\n },\n DIRCLASSES = {\n bottom: \"n\",\n top: \"s\",\n left: \"e\",\n right: \"w\",\n center: \"n\"\n },\n EVENTSCOUNTERPART = {\n \"mouseenter\": \"mouseleave\",\n \"focus\": \"blur\",\n \"focusin\": \"focusout\"\n },\n DIMENSIONS = {\n \"horizontal\": { offset: \"top\", size: \"outerHeight\" },\n \"vertical\": { offset: \"left\", size: \"outerWidth\" }\n };\n\n var Popover = TooltipBase.extend({\n init: function(element, options) {\n var that = this,\n axis;\n\n TooltipBase.fn.init.call(that, element, options);\n\n axis = that.options.position.match(/left|right/) ? \"horizontal\" : \"vertical\";\n\n that.dimensions = DIMENSIONS[axis];\n that._saveTitle = $.noop;\n\n that._documentKeyDownHandler = that._documentKeyDown.bind(that);\n that._actionsHandler = that._actionsClick.bind(that);\n\n if (that.options.toggleOnClick && that._isShownOnClick()) {\n that.element.on((kendo.support.touch ? kendo.support.mousedown : that.options.showOn) + NS, that.options.filter, that._showAction.bind(that));\n }\n\n if (!that._isShownOnClick()) {\n that.element.on(EVENTSCOUNTERPART[that.options.showOn], that.options.filter, that._dismissAction.bind(that));\n }\n },\n\n options: {\n name: \"Popover\",\n filter: \"\",\n actions: [],\n actionsLayout: \"center\",\n position: \"bottom\",\n showOn: \"mouseenter\",\n toggleOnClick: false,\n width: null,\n height: null,\n animation: {\n open: {\n effects: \"fade:in\",\n duration: 0\n },\n close: {\n duration: 40,\n hide: true\n }\n }\n },\n\n events: [ SHOW, HIDE ],\n\n _addAria: function() {\n var that = this;\n var options = that.options;\n var id;\n\n if (that._isShownOnClick() && that.wrapper.find(\"a,input,select,textarea,button\").length) {\n that.wrapper.attr(\"role\", \"dialog\");\n that._isDialog = true;\n\n if (options.header) {\n id = kendo.guid();\n that.wrapper\n .attr(\"aria-labelledby\", id)\n .find(\".k-popover-header\").attr(\"id\", id);\n }\n\n if (options.body) {\n id = kendo.guid();\n that.wrapper\n .attr(\"aria-describedby\", id)\n .find(\".k-popover-body\").attr(\"id\", id);\n }\n } else {\n that.wrapper.attr(\"role\", \"tooltip\");\n }\n },\n\n _appendContent: function(target) {\n var that = this,\n options = that.options,\n element = that.wrapper.find(\".k-popover-inner\"),\n template = that.options.template;\n\n if (element.length) {\n element.children().remove();\n } else {\n that.wrapper.children(\":not(.k-popover-callout)\").remove();\n }\n\n element = element.length ? element : that.wrapper;\n\n if (template) {\n element.append(kendo.template(template)({ target: target }));\n } else {\n element.append(kendo.template(CARDTEMPLATE)({\n header: kendo.template(options.header || \"\")({ target: target }),\n body: kendo.template(options.body || \"\")({ target: target }),\n actions: that._buildActions(options.actions),\n positioning: options.actionsLayout\n }));\n }\n },\n\n _actionsClick: function(e) {\n var that = this;\n var actions = that.options.actions;\n var button = $(e.currentTarget);\n\n var action = actions[parseInt(button.attr(kendo.attr(\"index\")), 10)];\n\n if (action.click) {\n action.click.call(that, {\n sender: that,\n target: button\n });\n }\n },\n\n _attachActions: function() {\n var that = this;\n\n that.wrapper.on(\"click\" + NS, \".k-popover-actions .k-button\", that._actionsHandler);\n },\n\n _dettachActions: function() {\n var that = this;\n\n if (that.wrapper) {\n that.wrapper.off(\"click\" + NS, that._actionsHandler);\n }\n },\n\n _buildActions: function(actions) {\n if (!actions.length) {\n return;\n }\n\n var html = \"\";\n var action;\n for (var index = 0; index < actions.length; index++) {\n action = actions[index];\n\n if (action.text && action.iconClass) {\n html += kendo.template(ICONTEXTBUTTONTEMPLATE)( { text: action.text, index: kendo.attr(\"index\") + \"=\" + index, iconClass: action.iconClass });\n } else if (action.iconClass && !action.text) {\n html += kendo.template(ICONBUTTON)( { index: kendo.attr(\"index\") + \"=\" + index, iconClass: action.iconClass });\n } else {\n html += kendo.template(TEXTBUTTONTEMPLATE)( { text: action.text, index: kendo.attr(\"index\") + \"=\" + index });\n }\n }\n\n return html;\n },\n\n _documentKeyDown: function(e) {\n if (e.keyCode === kendo.keys.ESC) {\n this._shown = false;\n this._dismissAction();\n }\n\n if (e.keyCode === kendo.keys.TAB) {\n var allFocusables = this.wrapper.find(\":kendoFocusable\");\n var firstFocusable = allFocusables.first();\n var lastFocusable = allFocusables.last();\n if (e.shiftKey) {\n if (document.activeElement === firstFocusable[0]) {\n lastFocusable.trigger(\"focus\");\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusable[0]) {\n firstFocusable.trigger(\"focus\");\n e.preventDefault();\n }\n }\n }\n },\n\n _initPopup: function() {\n var that = this,\n options = that.options,\n wrapper = $(kendo.template(TEMPLATE)({\n callout: options.callout && options.position !== \"center\",\n dir: DIRCLASSES[options.position]\n }));\n\n that.wrapper = wrapper;\n that.popup = new Popup(wrapper, extend({\n activate: function() {\n that._offset(that.options.position, that.options.offset, ARROWWIDTH);\n that._positionCallout();\n\n that._attachActions();\n\n DOCUMENT.on(\"keydown\" + NS, that._documentKeyDownHandler);\n if (that._isDialog) {\n that.wrapper.find(\":kendoFocusable\").first().trigger(\"focus\");\n } else {\n that._addDescribedBy();\n }\n that.trigger(SHOW);\n that.popup._hovered = undefined$1;\n },\n close: function(e) {\n if (that.options.toggleOnClick && that._shown) {\n e.preventDefault();\n return;\n }\n that.trigger(HIDE);\n },\n copyAnchorStyles: false,\n animation: options.animation\n }, POSITIONS[options.position]));\n\n wrapper.css({\n width: options.width,\n height: options.height\n });\n\n if (that._isShownOnMouseEnter()) {\n wrapper.on(\"mouseleave\" + NS, that._dismissAction.bind(that));\n }\n\n that.arrow = wrapper.find(\".k-popover-callout\");\n },\n\n _dismissAction: function() {\n var that = this;\n\n clearTimeout(that.timeout);\n\n that.timeout = setTimeout(function() {\n if (that.popup && !that.popup._hovered) {\n that.popup.close();\n }\n }, that.options.hideAfter);\n },\n\n _showAction: function() {\n var that = this;\n that._shown = !that._shown;\n\n if (!that._shown) {\n that.popup.close();\n }\n },\n\n _show: function(target) {\n var that = this,\n current = that.target();\n\n if (!that.popup) {\n that._initPopup();\n }\n\n if (current && current[0] != target[0]) {\n that.popup.close();\n that.popup.element.kendoStop(true, true);\n }\n\n if (!current || current[0] != target[0]) {\n that._appendContent(target);\n that._addAria();\n that.popup.options.anchor = target;\n }\n\n that.popup.one(\"deactivate\", function() {\n DOCUMENT.off(\"keydown\" + NS, that._documentKeyDownHandler);\n\n if (!that._isDialog) {\n that._removeDescribedBy(that.target());\n this.element.removeAttr(\"id\");\n }\n that._dettachActions();\n });\n\n that._openPopup();\n },\n\n _positionCallout: function() {\n var that = this,\n position = that.options.position,\n popup = that.popup,\n cssClass = DIRCLASSES[popup.flipped ? REVERSE[position] : position];\n\n that.arrow.removeClass(\"k-callout-s k-callout-w k-callout-e k-callout-n\")\n .addClass(\"k-callout-\" + cssClass);\n },\n\n destroy: function() {\n this.element.off(NS);\n\n this._dettachActions();\n clearTimeout(this.timeout);\n DOCUMENT.off(\"keydown\" + NS, this._documentKeyDownHandler);\n TooltipBase.fn.destroy.call(this);\n }\n });\n\n kendo.ui.plugin(Popover);\n })(window.kendo.jQuery);\n\n}));\n"]}