@progress/kendo-angular-tooltip 3.0.3-dev.202110221210 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/js/kendo-angular-tooltip.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/fesm2015/index.js +1 -1
- package/dist/fesm5/index.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-angular-tooltip.js +1 -1
- package/package.json +1 -1
|
@@ -17,4 +17,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
17
17
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
18
18
|
PERFORMANCE OF THIS SOFTWARE.
|
|
19
19
|
***************************************************************************** */
|
|
20
|
-
var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var r=function(){return(r=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(n[o[i]]=t[o[i]])}return n}function a(t,e,n,o){var i,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,n,s):i(e,n))||s);return r>3&&s&&Object.defineProperty(e,n,s),s}function c(t,e){return function(n,o){e(n,o,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function p(t,e,n,o){return new(n||(n=Promise))((function(i,r){function s(t){try{c(o.next(t))}catch(t){r(t)}}function a(t){try{c(o.throw(t))}catch(t){r(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((o=o.apply(t,e||[])).next())}))}function l(t,e){var n,o,i,r,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,o=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){s.label=r[1];break}if(6===r[0]&&s.label<i[1]){s.label=i[1],i=r;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(r);break}i[2]&&s.ops.pop(),s.trys.pop();continue}r=e.call(t,s)}catch(t){r=[6,t],o=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}function h(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}function d(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])}function f(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(t){i={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return s}function g(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(m(arguments[e]));return t}function v(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var o=Array(t),i=0;for(e=0;e<n;e++)for(var r=arguments[e],s=0,a=r.length;s<a;s++,i++)o[i]=r[s];return o}function y(t){return this instanceof y?(this.v=t,this):new y(t)}function b(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=n.apply(t,e||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(t){i[t]&&(o[t]=function(e){return new Promise((function(n,o){r.push([t,e,n,o])>1||a(t,e)}))})}function a(t,e){try{(n=i[t](e)).value instanceof y?Promise.resolve(n.value.v).then(c,u):p(r[0][2],n)}catch(t){p(r[0][3],t)}var n}function c(t){a("next",t)}function u(t){a("throw",t)}function p(t,e){t(e),r.shift(),r.length&&a(r[0][0],r[0][1])}}function _(t){var e,n;return e={},o("next"),o("throw",(function(t){throw t})),o("return"),e[Symbol.iterator]=function(){return this},e;function o(o,i){e[o]=t[o]?function(e){return(n=!n)?{value:y(t[o](e)),done:"return"===o}:i?i(e):e}:i}}function O(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=f(t),e={},o("next"),o("throw"),o("return"),e[Symbol.asyncIterator]=function(){return this},e);function o(n){e[n]=t[n]&&function(e){return new Promise((function(o,i){(function(t,e,n,o){Promise.resolve(o).then((function(e){t({value:e,done:n})}),e)})(o,i,(e=t[n](e)).done,e.value)}))}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function j(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function E(t){return t&&t.__esModule?t:{default:t}}function x(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function C(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){"use strict";n.r(e),n.d(e,"setScriptKey",(function(){return u})),n.d(e,"validatePackage",(function(){return p}));var o,i,r=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];o=r,i=131,function(t){for(;--t;)o.push(o.shift())}(++i);var s=function(t,e){var n=r[t-=0];if(void 0===s.eVebMg){s.JsjtEd=function(t){for(var e=function(t){for(var e,n,o=String(t).replace(/=+$/,""),i="",r=0,s=0;n=o.charAt(s++);~n&&(e=r%4?64*e+n:n,r++%4)?i+=String.fromCharCode(255&e>>(-2*r&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return i}(t),n=[],o=0,i=e.length;o<i;o++)n+="%"+("00"+e.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(n)},s.rqrXoU={},s.eVebMg=!0}var o=s.rqrXoU[t];return void 0===o?(n=s.JsjtEd(n),s.rqrXoU[t]=n):n=o,n},a={data:' {"timestamp":1620193668,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1636570800},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1636570800},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1636570800},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1636570800}],"integrity":"6o9Eceda8u2pJ18VFwLR1BgEfgk="} '},c=new Map;function u(t){}function p(t){if(c[s("0x14")](t[s("0x4")])){if(s("0x35")==s("0x35"))return c[s("0x36")](t[s("0x4")])}var e,n=t[s("0x1")]?" v"+t[s("0x1")]:"",o=t[s("0x4")]+n,i=JSON[s("0x9")](a[s("0x34")]),r=!i[s("0x26")]&&!i[s("0x38")],u=i[s("0x26")]&&typeof KendoLicensing===s("0x2b"),p=function(t,e){var n=t[s("0x8")];if(!n||!n[s("0x2d")]){if(s("0x11")==s("0x11"))return null}var o=new Set(e);return n[s("0x2a")]((function(t){if(s("0xa")!==s("0x18"))return o[s("0x14")](t[s("0x39")])}))}(i,t[s("0x2")]);if(r||u)if(s("0x29")!=s("0x29")){}else e={type:0,packageName:o,docsUrl:t[s("0x27")]};else if(s("0xf")===s("0x24")){}else if(p){if(s("0x12")!=s("0x12")){}else if(p[s("0x37")]<t[s("0x1c")])if(s("0x21")===s("0x32")){}else e={type:2,packageName:o,publishDate:l(t[s("0x1c")]),expiryDate:l(p[s("0x37")]),docsUrl:t[s("0x27")]}}else if(s("0x6")!=s("0x6")){}else e={type:1,packageName:o,docsUrl:t[s("0x27")]};if(e&&typeof console===s("0x30"))if(s("0x5")===s("0x3")){}else{var h=s("0x1b")+t[s("0xe")],d=typeof console[s("0x7")]===s("0x33");if(d)if(s("0xc")!=s("0xc")){}else console[s("0x7")](h);else if(s("0x17")!=s("0x17")){}else console[s("0x1e")](h);if(console[s("0x1e")](function(t){var e=s("0x28")+t[s("0x16")]+"\n";if(2===t[s("0x3a")])if(s("0x20")!=s("0x20")){}else e+=s("0x25")+t[s("0x15")][s("0x2c")]()+s("0xb")+t[s("0x1c")][s("0x2c")]()+".\n";else if(0===t[s("0x3a")])if(s("0x13")!==s("0x10"))e+=s("0xd");else{}else if(1===t[s("0x3a")])if(s("0x2e")===s("0x23")){}else e+=s("0x1d");return e+=s("0x31")+t[s("0x1a")]+s("0x22")}(e)),d)if(s("0x1f")!==s("0x19"))console[s("0x2f")]();else{}}var f=!e;return c[s("0x0")](t[s("0x4")],f),f}function l(t){return new Date(1e3*t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(3),s=n(2),a=n(12),c=n(6),u=n(14),p=n(8),l=n(9),h=n(11),d=function(){function t(t,e,n,o,i,a){var p=this;this.tooltipWrapper=t,this.ngZone=e,this.renderer=n,this.popupService=o,this.filter="[title]",this.position="top",this.showAfter=100,this.callout=!0,this.closable=!1,this.offset=6,this.anchor=null,this.validPositions=["top","bottom","right","left"],this.validShowOptions=["hover","click","none"],c.validatePackage(u.packageMetadata),Object.assign(this,i,a),this.ngZone.runOutsideAngular((function(){var t=p.tooltipWrapper.nativeElement;p.anchorTitleSubscription=s.fromEvent(t,"mouseover").pipe(r.filter((function(){return""!==p.filter}))).subscribe((function(t){var e=h.closest(t.target,p.filter);e&&p.hideElementTitle({nativeElement:e})})),p.mouseOverSubscription=s.fromEvent(t,"mouseover").pipe(r.debounceTime(100),r.filter((function(){return""!==p.filter}))).subscribe((function(t){return p.onMouseOver(t)})),p.mouseOutSubscription=s.fromEvent(t,"mouseout").pipe(r.debounceTime(100)).subscribe((function(t){return p.onMouseOut(t)}))}))}return Object.defineProperty(t.prototype,"tooltipTemplate",{get:function(){return this.template},set:function(t){this.template=t},enumerable:!0,configurable:!0}),t.prototype.show=function(t){var e=this;if(!this.popupRef)if(t instanceof Element&&(t={nativeElement:t}),this.anchor=t,"hover"===this.showOn){if(this.popupRef)return;clearTimeout(this.showTimeout),this.showTimeout=window.setTimeout((function(){return e.showContent(e.anchor)}),this.showAfter)}else this.hideElementTitle(this.anchor),this.showContent(this.anchor)},t.prototype.hide=function(){clearTimeout(this.showTimeout);var t=this.anchor&&this.anchor.nativeElement;t&&t.getAttribute("data-title")&&(!t.getAttribute("title")&&t.hasAttribute("title")&&t.setAttribute("title",t.getAttribute("data-title")),t.setAttribute("data-title","")),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe(),this.closeClickSubscription&&this.closeClickSubscription.unsubscribe(),this.closePopup()},t.prototype.toggle=function(t,e){var n=this.anchor&&this.anchor.nativeElement;t instanceof Element&&(t={nativeElement:t}),n!==t.nativeElement&&this.hide(),n===t.nativeElement&&"click"===this.showOn&&this.hide(),void 0===e&&(e=!this.popupRef),e?this.show(t):this.hide()},t.prototype.ngOnInit=function(){void 0===this.showOn&&(this.showOn="hover"),this.verifyProperties()},t.prototype.ngOnChanges=function(t){t.showOn&&this.subscribeClick()},t.prototype.ngAfterViewChecked=function(){this.popupRef&&this.anchor&&!h.hasParent(this.anchor.nativeElement||this.anchor,this.tooltipWrapper.nativeElement)&&(this.anchor=null,this.hide())},t.prototype.ngOnDestroy=function(){this.hide(),this.template=null,this.anchorTitleSubscription.unsubscribe(),this.mouseOverSubscription.unsubscribe(),this.mouseOutSubscription.unsubscribe(),this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe(),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe()},t.prototype.showContent=function(t){var e=this;(t.nativeElement.getAttribute("data-title")||this.template)&&(this.ngZone.run((function(){e.openPopup(t),e.bindContent(e.popupRef.content,t)})),this.popupRef.popupAnchorViewportLeave.pipe(r.take(1)).subscribe((function(){return e.hide()})))},t.prototype.bindContent=function(t,e){var n=this,o=t.instance;this.closeClickSubscription=o.close.subscribe((function(){n.hide()})),this.template?o.templateRef=this.template:o.templateString=this.anchor.nativeElement.getAttribute("data-title"),this.titleTemplate&&(o.titleTemplate=this.titleTemplate),o.closeTitle=this.closeTitle,o.anchor=e,o.callout=this.callout,o.closable=this.closable,o.position=this.position,o.tooltipWidth=this.tooltipWidth,o.tooltipHeight=this.tooltipHeight,this.popupRef.content.changeDetectorRef.detectChanges()},t.prototype.hideElementTitle=function(t){var e=t.nativeElement;e.getAttribute("title")&&(e.setAttribute("data-title",e.getAttribute("title")),e.setAttribute("title",""))},t.prototype.openPopup=function(t){var e=this,n=h.align(this.position,this.offset),o=n.anchorAlign,i=n.popupAlign,r=n.popupMargin;this.popupRef=this.popupService.open({anchor:t,anchorAlign:o,animate:!1,content:l.TooltipContentComponent,collision:h.collision(this.collision,this.position),margin:r,popupAlign:i,popupClass:"k-popup-transparent"}),this.renderer.addClass(this.popupRef.popupElement,"k-tooltip-wrapper"),this.tooltipClass&&this.renderer.addClass(this.popupRef.popupElement,this.tooltipClass);var a=this.popupRef.content.instance;a.callout&&(this.popupPositionChangeSubscription=this.popupRef.popupPositionChange.subscribe((function(t){var n=t.flip,o=!0===n.horizontal||!0===n.vertical;a.updateCalloutPosition(e.position,o)}))),"hover"===this.showOn&&this.ngZone.runOutsideAngular((function(){var t=e.popupRef.popupElement;e.popupMouseOutSubscription=s.fromEvent(t,"mouseout").subscribe((function(t){return e.onMouseOut(t)}))}))},t.prototype.closePopup=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe()},t.prototype.subscribeClick=function(){var t=this;this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),"click"===this.showOn&&(this.mouseClickSubscription=s.fromEvent(document,"click").pipe(r.filter((function(){return""!==t.filter}))).subscribe((function(e){return t.onMouseClick(e,t.tooltipWrapper.nativeElement)})))},t.prototype.onMouseClick=function(t,e){var n=t.target,o=h.closest(n,this.filter),i=this.popupRef&&this.popupRef.popupElement;if(i){if(i.contains(n))return;if(this.closable)return}e.contains(n)&&o?this.toggle(o,!0):i&&this.hide()},t.prototype.onMouseOver=function(t){var e=h.closest(t.target,this.filter);"hover"===this.showOn&&e&&this.toggle(e,!0)},t.prototype.onMouseOut=function(t){if("hover"===this.showOn&&!this.closable){var e=this.popupRef&&this.popupRef.popupElement,n=t.relatedTarget;n&&this.anchor&&h.contains(this.anchor.nativeElement,n)||n&&h.contains(e,n)||this.hide()}},t.prototype.verifyProperties=function(){if(i.isDevMode()){if(!h.containsItem(this.validPositions,this.position))throw new Error("Invalid value provided for position property.The available options are 'top', 'bottom', 'left', or 'right'.");if(!h.containsItem(this.validShowOptions,this.showOn))throw new Error("Invalid value provided for showOn property.The available options are 'hover' or 'none'.")}},o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"filter",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"position",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.TemplateRef)],t.prototype,"titleTemplate",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"showOn",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"showAfter",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],t.prototype,"callout",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],t.prototype,"closable",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"offset",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"tooltipWidth",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"tooltipHeight",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"tooltipClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],t.prototype,"collision",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"closeTitle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.TemplateRef),o.__metadata("design:paramtypes",[i.TemplateRef])],t.prototype,"tooltipTemplate",null),t=o.__decorate([i.Directive({selector:"[kendoTooltip]",exportAs:"kendoTooltip"}),o.__param(4,i.Optional()),o.__param(5,i.Optional()),o.__param(5,i.Inject(p.TOOLTIP_SETTINGS)),o.__metadata("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2,a.PopupService,p.TooltipSettings,p.TooltipSettings])],t)}();e.TooltipDirective=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0);e.TOOLTIP_SETTINGS=new i.InjectionToken("kendo-ui-tooltip-settings");var r=function(){function t(){}return t=o.__decorate([i.Injectable()],t)}();e.TooltipSettings=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(10),s=n(11),a=function(){function t(t,e){this.content=t,this.localizationService=e,this.close=new i.EventEmitter,this.tooltipWidth=null,this.tooltipHeight=null,this.callout=!0,this.calloutStyles=function(t,e,n){var o={},i="top"===t||"bottom"===t;return n?("top"===t?o.bottom="unset":"bottom"===t?o.top="unset":"left"===t?o.right="unset":"right"===t&&(o.left="unset"),o[t]=-e+"px",o.transform=i?"rotateX(180deg)":"rotateY(180deg)",o):(o.transform=i?"rotateX(0deg)":"rotateY(0deg)",o)},this.direction=e.rtl?"rtl":"ltr"}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return"k-widget k-tooltip"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this.closable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cssPosition",{get:function(){return"relative"},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var n=e.rtl;return t.direction=n?"rtl":"ltr"}))},t.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},Object.defineProperty(t.prototype,"closeButtonTitle",{get:function(){return this.closeTitle||this.localizationService.get("closeTitle")},enumerable:!0,configurable:!0}),t.prototype.calloutPositionClass=function(){return{top:"k-callout-s",left:"k-callout-e",bottom:"k-callout-n",right:"k-callout-w"}[this.position]},t.prototype.onCloseClick=function(t){t.preventDefault(),this.close.emit()},t.prototype.updateCalloutPosition=function(t,e){if(this.callout){var n=this.content.nativeElement.querySelector(".k-callout"),o="top"===t||"bottom"===t,i=o?"width":"height",r=o?"left":"top",a=o?"marginLeft":"marginTop",c=n.getBoundingClientRect()[i],u=s.getCenterOffset(this.anchor.nativeElement,r,i),p=s.getCenterOffset(this.content.nativeElement,r,i),l=Math.abs(p-u);if(l>1||0===l||0===Math.round(l)){var h=p-u+c/2;n.style[a]=-h+"px"}var d=this.calloutStyles(t,c,e);Object.keys(d).forEach((function(t){n.style[t]=d[t]}))}},o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],t.prototype,"direction",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],t.prototype,"close",void 0),o.__decorate([i.HostBinding("class"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],t.prototype,"cssClasses",null),o.__decorate([i.HostBinding("class.k-tooltip-closable"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],t.prototype,"className",null),o.__decorate([i.HostBinding("style.position"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],t.prototype,"cssPosition",null),o.__decorate([i.HostBinding("style.width.px"),i.Input(),o.__metadata("design:type",Number)],t.prototype,"tooltipWidth",void 0),o.__decorate([i.HostBinding("style.height.px"),i.Input(),o.__metadata("design:type",Number)],t.prototype,"tooltipHeight",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.TemplateRef)],t.prototype,"titleTemplate",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.ElementRef)],t.prototype,"anchor",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],t.prototype,"closable",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.TemplateRef)],t.prototype,"templateRef",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"templateString",void 0),t=o.__decorate([i.Component({selector:"kendo-tooltip",template:'\n <ng-container kendoTooltipLocalizedMessages\n i18n-closeTitle="kendo.tooltip.closeTitle|The title of the close button"\n closeTitle="Close"\n >\n </ng-container>\n\n <div class="k-tooltip-content">\n <div class="k-tooltip-title" *ngIf="titleTemplate">\n <ng-template\n [ngIf]="titleTemplate"\n [ngTemplateOutlet]="titleTemplate"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n </div>\n\n <ng-template\n [ngIf]="templateRef"\n [ngTemplateOutlet]="templateRef"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n <ng-template\n [ngIf]="templateString">\n {{ templateString }}\n </ng-template>\n </div>\n\n <div *ngIf="closable" class="k-tooltip-button" (click)="onCloseClick($event)">\n <a href="#" class="k-icon k-i-close" [attr.title]="closeButtonTitle"></a>\n </div>\n\n <div class="k-callout" *ngIf="callout" [ngClass]="calloutPositionClass()"></div>\n ',providers:[r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.tooltip"}]}),o.__metadata("design:paramtypes",[i.ElementRef,r.LocalizationService])],t)}();e.TooltipContentComponent=a},function(t,e){t.exports=r},function(t,e,n){"use strict";function o(t){return 9===t.nodeType}Object.defineProperty(e,"__esModule",{value:!0}),e.align=function(t,e){var n={},o={},i={};switch(t){case"top":n={horizontal:"center",vertical:"top"},o={horizontal:"center",vertical:"bottom"},i={horizontal:0,vertical:e};break;case"bottom":n={horizontal:"center",vertical:"bottom"},o={horizontal:"center",vertical:"top"},i={horizontal:0,vertical:e};break;case"right":n={horizontal:"right",vertical:"center"},o={horizontal:"left",vertical:"center"},i={horizontal:e,vertical:0};break;case"left":n={horizontal:"left",vertical:"center"},o={horizontal:"right",vertical:"center"},i={horizontal:e,vertical:0}}return{anchorAlign:n,popupAlign:o,popupMargin:i}},e.collision=function(t,e){return t||("top"===e||"bottom"===e?{horizontal:"fit",vertical:"flip"}:{horizontal:"flip",vertical:"fit"})},e.closest=function(t,e){if(t.closest)return t.closest(e);for(var n=Element.prototype.matches?function(t,e){return t.matches(e)}:function(t,e){return t.msMatchesSelector(e)},i=t;i&&!o(i);){if(n(i,e))return i;i=i.parentNode}},e.contains=function(t,e){return!!t&&(!o(t)&&(t.contains?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY):void 0))},e.hasParent=function(t,e){for(;t&&t!==e;)t=t.parentNode;return t},e.getCenterOffset=function(t,e,n){var o=t.getBoundingClientRect();return o[e]+o[n]/2},e.containsItem=function(t,e){return-1!==t.indexOf(e)}},function(t,e,n){"use strict";n.r(e),n.d(e,"AlignService",(function(){return wt})),n.d(e,"AnimationService",(function(){return St})),n.d(e,"DOMService",(function(){return _t})),n.d(e,"PositionService",(function(){return jt})),n.d(e,"ResizeService",(function(){return Et})),n.d(e,"ScrollableService",(function(){return xt})),n.d(e,"PopupService",(function(){return kt})),n.d(e,"POPUP_CONTAINER",(function(){return At})),n.d(e,"PopupComponent",(function(){return Tt})),n.d(e,"PopupModule",(function(){return Dt})),n.d(e,"SCALE",(function(){return Ot}));var o=n(1),i=n(0),r="bottom",s="center",a="middle",c="left",u="right",p="top",l=function(t){var e=t.anchorRect,n=t.anchorAlign,o=t.elementRect,i=t.elementAlign,c=t.margin;void 0===c&&(c={});var p=n.horizontal,l=n.vertical,h=i.horizontal,d=i.vertical,f=c.horizontal||0,m=c.vertical||0,g=e.top,v=e.left;return l===r&&(g+=e.height),l!==s&&l!==a||(g+=Math.round(e.height/2)),d===r&&(g-=o.height,m*=-1),d!==s&&d!==a||(g-=Math.round(o.height/2),m*=-1),p===u&&(v+=e.width),p!==s&&p!==a||(v+=Math.round(e.width/2)),h===u&&(v-=o.width,f*=-1),h!==s&&h!==a||(v-=Math.round(o.width/2),f*=-1),{top:g+m,left:v+f}};function h(t){return t.ownerDocument||t.document||t}var d=function(t){return h(t).defaultView},f=function(t){return h(t).documentElement},m=0;function g(){if(!m&&"undefined"!=typeof document){var t=document.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML=" ",document.body.appendChild(t),m=t.offsetWidth-t.scrollWidth,document.body.removeChild(t)}return m}function v(t){var e=d(t),n=f(t),o={height:e.innerHeight,width:e.innerWidth};return n.scrollHeight-n.clientHeight>0&&(o.width-=g()),o}var y=function(t){if(!t.getBoundingClientRect){var e=v(t);return{bottom:e.height,left:0,right:e.width,top:0}}var n=t.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},b=function(t){for(var e=t.offsetParent;e&&"static"===e.style.position;)e=e.offsetParent;return e||f(t)},_=function(t){var e=t.getBoundingClientRect(),n=e.left,o=e.top;return e.height||e.width||(e=function(t){var e=t.style,n=e.display,o=e.left,i=e.position;t.style.display="",t.style.left="-10000px",t.style.position="absolute";var r=t.getBoundingClientRect();return t.style.display=n,t.style.left=o,t.style.position=i,r}(t)),{top:o,left:n,height:e.height,width:e.width}},O=function(t,e){for(var n=[],o=t.parentNode;o&&(n.push(o),o!==e);)o=o.parentNode;return n};function w(t){var e=f(t),n=d(t);return{x:n.pageXOffset||e.scrollLeft||0,y:n.pageYOffset||e.scrollTop||0}}var j=function(t){return t===(t.ownerDocument||{}).body?w(t):{x:t.scrollLeft,y:t.scrollTop}};var E=function(t,e){var n=d(t),o=n.getComputedStyle(t),i=_(t),r=e||b(t),s=t.ownerDocument,a=r!==s.body&&r!==s.documentElement,c={top:0,left:0};if("fixed"!==o.position&&a){var u=n.getComputedStyle(r);(c=_(r)).top+=parseInt(u.borderTopWidth,10),c.left+=parseInt(u.borderLeftWidth,10)}return{top:i.top-c.top,left:i.left-c.left,height:i.height,width:i.width}},x=function(t,e){return t?j(t):function(t){var e=b(t);return e?j(e):{x:0,y:0}}(e)};var C="fit",S="flip",z=function(t,e,n){var o=0;return t+e>n&&(o=n-(t+e)),t<0&&(o=-t),o},P=function(t){var e=t.offset,n=t.size,o=t.anchorSize,i=t.viewPortSize,r=t.anchorAlignPoint,u=t.elementAlignPoint,l=0,h=2*t.margin;if(u!==r&&!(u===s||u===a)&&!(r===s||r===a)){var d=r===p||r===c;e<0&&d?e+(l=n+o+h)+n>i&&(l=0):e>=0&&!d&&(e+n>i&&(l+=-(o+n+h)),e+l<0&&(l=0))}return l},T=function(t){var e=t.anchorRect,n=t.anchorAlign,o=t.elementRect,i=t.elementAlign,r=t.collisions,s=t.viewPort,a=t.margin;void 0===a&&(a={});var c=o.top,u=o.left,p=o.height,l=o.width,h=s.height,d=s.width,f=a.horizontal||0,m=a.vertical||0,g=0,v=0,y=r.horizontal===S,b=r.vertical===S;r.vertical===C&&(v+=z(c,p,h)),r.horizontal===C&&(g+=z(u,l,d)),b&&(v+=P({margin:m,offset:c,size:p,anchorSize:e.height,viewPortSize:h,anchorAlignPoint:n.vertical,elementAlignPoint:i.vertical})),y&&(g+=P({margin:f,offset:u,size:l,anchorSize:e.width,viewPortSize:d,anchorAlignPoint:n.horizontal,elementAlignPoint:i.horizontal}));var _=y&&0!==g,O=b&&0!==v;return{flipped:_||O,flip:{horizontal:_,vertical:O},offset:{left:g,top:v}}},A=function(t){for(var e=[],n=t.parentNode.firstElementChild;n;)n!==t&&e.push(n),n=n.nextElementSibling;return e},k=function(t,e){for(var n,o,i=O(t),r=e;r&&(n=A(r),!(o=i.reduce((function(t,e){return t.concat(n.filter((function(t){return t===e})))}),[])[0]));)r=r.parentElement;return o};var I=function(t,e){return function(n){return e(t(n))}},D=function(t,e,n){return t.addEventListener&&t.addEventListener(e,n)},R=function(t,e,n){return t&&t.removeEventListener&&t.removeEventListener(e,n)},M=function(){},L=function(t){return t.preventDefault()},K=/touch/;function N(t){return t.type.match(K)?{pageX:t.changedTouches[0].pageX,pageY:t.changedTouches[0].pageY,clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,type:t.type,originalEvent:t,isTouch:!0}:{pageX:t.pageX,pageY:t.pageY,clientX:t.clientX,clientY:t.clientY,offsetX:t.offsetX,offsetY:t.offsetY,type:t.type,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,originalEvent:t}}var B=function(t){var e=this,n=t.press;void 0===n&&(n=M);var o=t.drag;void 0===o&&(o=M);var i=t.release;void 0===i&&(i=M);var r=t.mouseOnly;void 0===r&&(r=!1),this._pressHandler=I(N,n),this._dragHandler=I(N,o),this._releaseHandler=I(N,i),this._ignoreMouse=!1,this._mouseOnly=r,this._touchstart=function(t){1===t.touches.length&&e._pressHandler(t)},this._touchmove=function(t){1===t.touches.length&&e._dragHandler(t)},this._touchend=function(t){0===t.touches.length&&1===t.changedTouches.length&&(e._releaseHandler(t),e._ignoreMouse=!0,setTimeout(e._restoreMouse,2e3))},this._restoreMouse=function(){e._ignoreMouse=!1},this._mousedown=function(t){var n=t.which;n&&n>1||e._ignoreMouse||(D(e.document,"mousemove",e._mousemove),D(e.document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){R(e.document,"mousemove",e._mousemove),R(e.document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(D(e.document,"pointermove",e._pointermove),D(e.document,"pointerup",e._pointerup),D(e.document,"pointercancel",e._pointerup),D(e.document,"contextmenu",L),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(R(e.document,"pointermove",e._pointermove),R(e.document,"pointerup",e._pointerup),R(e.document,"pointercancel",e._pointerup),R(e.document,"contextmenu",L),e._releaseHandler(t))}},H={document:{configurable:!0}};B.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},H.document.get=function(){return this._element?this._element.ownerDocument:document},B.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},B.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?D(t,"pointerdown",this._pointerdown):(D(t,"mousedown",this._mousedown),this._mouseOnly||(D(t,"touchstart",this._touchstart),D(t,"touchmove",this._touchmove),D(t,"touchend",this._touchend)))},B.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return R(t,"pointerdown",this._pointerdown),R(this.document,"pointermove",this._pointermove),R(this.document,"pointerup",this._pointerup),R(this.document,"contextmenu",L),void R(this.document,"pointercancel",this._pointerup);R(t,"mousedown",this._mousedown),this._mouseOnly||(R(t,"touchstart",this._touchstart),R(t,"touchmove",this._touchmove),R(t,"touchend",this._touchend))},B.prototype._usePointers=function(){return!this._mouseOnly&&B.supportPointerEvent()},B.prototype.update=function(t){var e=t.press;void 0===e&&(e=M);var n=t.drag;void 0===n&&(n=M);var o=t.release;void 0===o&&(o=M);var i=t.mouseOnly;void 0===i&&(i=!1),this._pressHandler=I(N,e),this._dragHandler=I(N,n),this._releaseHandler=I(N,o),this._mouseOnly=i},B.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(B.prototype,H),B.default=B;var V=B,U=n(4),F=n(3),Z=n(2),q=function(){return"undefined"!=typeof document},Y=function(t,e,n){return void 0===n&&(n=!0),!(void 0===e[t]||e[t].isFirstChange()&&n||e[t].previousValue===e[t].currentValue)},W=function(t){return t&&t.observers.length>0},G=function(){function t(t,e){this.element=t,this.ngZone=e,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return t.prototype.ngOnInit=function(){this.toggleDraggable()},t.prototype.ngOnChanges=function(t){Y("enableDrag",t)&&this.toggleDraggable()},t.prototype.ngOnDestroy=function(){this.destroyDraggable()},t.prototype.toggleDraggable=function(){var t=this;q()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new V({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular((function(){return t.draggable.bindTo(t.element.nativeElement)}))))},t.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Boolean)],t.prototype,"enableDrag",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"kendoPress",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"kendoDrag",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"kendoRelease",void 0),t=Object(o.__decorate)([Object(i.Directive)({selector:"[kendoDraggable]"}),Object(o.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone])],t)}();!function(){function t(){}t=Object(o.__decorate)([Object(i.NgModule)({declarations:[G],exports:[G],imports:[U.CommonModule]})],t)}();var X,J=function(){function t(t,e,n){this.element=t,this.ngZone=e,this.renderer=n,this.events={}}return t.prototype.ngOnInit=function(){var t=this;if(this.element&&this.element.nativeElement){var e=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in e)e.hasOwnProperty(n)&&t.subscriptions.push(t.renderer.listen(t.element.nativeElement,n,t.scope?e[n].bind(t.scope):e[n]))}))}},t.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var t=0;t<this.subscriptions.length;t++)this.subscriptions[t]();this.subscriptions=null}},Object(o.__decorate)([Object(i.Input)("kendoEventsOutsideAngular"),Object(o.__metadata)("design:type",Object)],t.prototype,"events",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"scope",void 0),t=Object(o.__decorate)([Object(i.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(o.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],t)}(),Q=(function(){function t(){}t=Object(o.__decorate)([Object(i.NgModule)({declarations:[J],exports:[J]})],t)}(),function(){function t(t){this.resizeBatchService=t,this.resize=new i.EventEmitter,this.acceptedSize=!1,this.state=0}return t.prototype.acceptSize=function(t){void 0===t&&(t=this.measure()),this.lastWidth=t.width,this.lastHeight=t.height,this.acceptedSize=!0},t.prototype.checkChanges=function(){q()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},t.prototype.destroy=function(){this.resizeBatchService.cancel(this)},t.prototype.checkSize=function(){if(this.parentElement){var t=this.measure(),e=t.width,n=t.height;if(!(e===this.lastWidth&&n===this.lastHeight))return this.lastWidth=e,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},t.prototype.initSize=function(){var t=this.measure();this.lastWidth=t.width,this.lastHeight=t.height},t.prototype.measure=function(){var t=0,e=0;return this.parentElement&&(e=this.parentElement.offsetHeight,t=this.parentElement.offsetWidth),{height:e,width:t}},t}()),$=function(t){var e=document.createElement("div");return e.style.cssText=t,e},tt="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",et=function(t){function e(e,n,o){var i=t.call(this,e)||this;return i.element=n,i.ngZone=o,i}return Object(o.__extends)(e,t),e.prototype.checkChanges=function(){2!==this.state?t.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},e.prototype.destroy=function(){if(t.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var e=this.element.nativeElement;e.removeChild(this.expand),e.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},e.prototype.checkSize=function(){if(t.prototype.checkSize.call(this))return this.reset(),!0},e.prototype.init=function(){var t,e=this.parentElement=this.element.nativeElement.parentElement;"static"===(t="position",getComputedStyle(e,null).getPropertyValue(t))&&(e.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},e.prototype.render=function(){var t=this.element.nativeElement;t.style.cssText=tt,t.setAttribute("dir","ltr"),this.expand=$(tt),this.expandChild=$("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),t.appendChild(this.expand),this.shrink=$(tt);var e=$("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(e),t.appendChild(this.shrink)},e.prototype.reset=function(){var t=this.expandChild;t.style.width="100000px",t.style.height="100000px";var e=this.expand;e.scrollLeft=1e5,e.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},e.prototype.subscribe=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.subscription=Object(Z.merge)(Object(Z.fromEvent)(t.shrink,"scroll"),Object(Z.fromEvent)(t.expand,"scroll")).subscribe((function(){t.checkSize()}))}))},e}(Q),nt="undefined"!=typeof ResizeObserver,ot=function(t){function e(e,n,o){var i=t.call(this,e)||this;return i.element=n,i.ngZone=o,i}return Object(o.__extends)(e,t),e.supported=function(){return nt},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},e.prototype.init=function(){var t=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){t.resizeObserver=new ResizeObserver((function(){t.checkSize()})),t.resizeObserver.observe(t.parentElement)}))},e}(Q),it=function(){function t(t){this.ngZone=t,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return t.prototype.schedule=function(t,e){var n=this;this.scheduled.push({instance:t,method:e}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=Object(Z.from)(n.resolvedPromise).subscribe(n.flush)}))},t.prototype.isScheduled=function(t){return Boolean(this.scheduled.find((function(e){return e.instance===t})))},t.prototype.cancel=function(t){for(var e=this.scheduled,n=e.length,o=0;o<n;o++)if(e[o].instance===t)return e.splice(o,1),void(e.length||this.unsubscribe())},t.prototype.ngOnDestroy=function(){this.unsubscribe()},t.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},t.prototype.flush=function(){this.scheduled.forEach((function(t){t.method.call(t.instance)})),this.scheduled=[],this.unsubscribe()},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__metadata)("design:paramtypes",[i.NgZone])],t)}(),rt=function(){function t(t,e,n){var o=this;this.rateLimit=10,this.resize=new i.EventEmitter;var r=ot.supported()?ot:et;this.resizeService=new r(t,e,n);var s=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(F.auditTime)(s)).subscribe((function(){o.resizeService.acceptedSize||o.resize.emit()}))}return t.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},t.prototype.acceptSize=function(t){this.resizeService.acceptSize(t)},Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Number)],t.prototype,"rateLimit",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"resize",void 0),t=Object(o.__decorate)([Object(i.Component)({selector:"kendo-resize-sensor",template:""}),Object(o.__metadata)("design:paramtypes",[it,i.ElementRef,i.NgZone])],t)}(),st=[rt],at=function(){function t(){}return t=Object(o.__decorate)([Object(i.NgModule)({declarations:[st],exports:[st],providers:[it]})],t)}();!function(t){t[t.Alt=18]="Alt",t[t.ArrowDown=40]="ArrowDown",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowUp=38]="ArrowUp",t[t.Backspace=8]="Backspace",t[t.Control=17]="Control",t[t.Delete=46]="Delete",t[t.Digit0=48]="Digit0",t[t.Digit1=49]="Digit1",t[t.Digit2=50]="Digit2",t[t.Digit3=51]="Digit3",t[t.Digit4=52]="Digit4",t[t.Digit5=53]="Digit5",t[t.Digit6=54]="Digit6",t[t.Digit7=55]="Digit7",t[t.Digit8=56]="Digit8",t[t.Digit9=57]="Digit9",t[t.End=35]="End",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.F1=112]="F1",t[t.F2=113]="F2",t[t.F10=121]="F10",t[t.Home=36]="Home",t[t.Insert=45]="Insert",t[t.KeyA=65]="KeyA",t[t.KeyB=66]="KeyB",t[t.KeyC=67]="KeyC",t[t.KeyD=68]="KeyD",t[t.KeyE=69]="KeyE",t[t.KeyF=70]="KeyF",t[t.KeyG=71]="KeyG",t[t.KeyH=72]="KeyH",t[t.KeyI=73]="KeyI",t[t.KeyJ=74]="KeyJ",t[t.KeyK=75]="KeyK",t[t.KeyL=76]="KeyL",t[t.KeyM=77]="KeyM",t[t.KeyN=78]="KeyN",t[t.KeyO=79]="KeyO",t[t.KeyP=80]="KeyP",t[t.KeyQ=81]="KeyQ",t[t.KeyR=82]="KeyR",t[t.KeyS=83]="KeyS",t[t.KeyT=84]="KeyT",t[t.KeyU=85]="KeyU",t[t.KeyV=86]="KeyV",t[t.KeyW=87]="KeyW",t[t.KeyX=88]="KeyX",t[t.KeyY=89]="KeyY",t[t.KeyZ=90]="KeyZ",t[t.NumpadDecimal=110]="NumpadDecimal",t[t.PageDown=34]="PageDown",t[t.PageUp=33]="PageUp",t[t.Shift=16]="Shift",t[t.Space=32]="Space",t[t.Tab=9]="Tab"}(X||(X={}));!function(){function t(){this.prevented=!1}t.prototype.preventDefault=function(){this.prevented=!0},t.prototype.isDefaultPrevented=function(){return this.prevented}}();var ct=n(5),ut=n(6),pt=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},lt=function(){return"undefined"!=typeof window},ht=/auto|scroll/,dt=function(t){return function(t){return""+t.style.overflow+t.style.overflowX+t.style.overflowY}(t)||function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY}(t)};var ft,mt,gt,vt=(ft=function(){if(!q()&&null!==document.body)return!1;var t=document.createElement("div");t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(t);var e=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),e},gt=!1,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return gt||(mt=ft.apply(void 0,t),gt=!0),mt}),yt=function(t,e){return t&&1!==e?{height:t.height/e,left:t.left/e,top:t.top/e,width:t.width/e}:t},bt=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],_t=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.addScroll=function(t,e){return function(t,e){return{top:t.top+e.y,left:t.left+e.x,height:t.height,width:t.width}}(t,e)},t.prototype.align=function(t){return l(t)},t.prototype.boundingOffset=function(t){return y(this.nativeElement(t))},t.prototype.getFontStyles=function(t){var e=this.getWindow();if(!e||!t)return[];var n=e.getComputedStyle(this.nativeElement(t));return bt.map((function(t){return{key:t,value:n[t]}}))},t.prototype.getWindow=function(){return lt()?window:null},t.prototype.hasOffsetParent=function(t){return!!t&&!!this.nativeElement(t).offsetParent},t.prototype.offset=function(t){return t?_(this.nativeElement(t)):null},t.prototype.offsetAtPoint=function(t,e){if(!t)return null;var n=this.nativeElement(t),o=n.style,i=o.left,r=o.top,s=o.transition;n.style.transition="none",n.style.left=e.left+"px",n.style.top=e.top+"px";var a=_(n);return n.style.left=i,n.style.top=r,n.offsetHeight,n.style.transition=s,a},t.prototype.nativeElement=function(t){return t?t.nativeElement||t:null},t.prototype.position=function(t,e,n){return void 0===n&&(n=1),t&&e?function(t,e,n){void 0===n&&(n=1);var o=e?b(e):null,i=E(t,o),r=i.top,s=i.left,a=i.height,c=i.width,u=x(o,t),p=u.x,l=u.y,h=t.ownerDocument,d=o===h.body||o===h.documentElement?1:n;return{top:r+l*d,left:s+p*d,height:a,width:c}}(this.nativeElement(t),this.nativeElement(e),n):null},t.prototype.removeScroll=function(t,e){return function(t,e){return{top:t.top-e.y,left:t.left-e.x,height:t.height,width:t.width}}(t,e)},t.prototype.restrictToView=function(t){return T(t)},t.prototype.scrollPosition=function(t){return w(this.nativeElement(t))},t.prototype.scrollableParents=function(t){return function(t){var e=[];if(!q()||!lt())return e;for(var n=t.parentElement;n;)(ht.test(dt(n))||n.hasAttribute("data-scrollable"))&&e.push(n),n=n.parentElement;return e.push(window),e}(this.nativeElement(t))},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?_(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.getRelativeContextElement=function(t){if(!t||!vt())return null;for(var e=this.nativeElement(t).parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return v(this.nativeElement(t))},t.prototype.zIndex=function(t,e){return function(t,e){if(!t||!q()||!lt())return null;var n=k(t,e);if(!n)return null;var o=[t].concat(O(t,n)).reduce((function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,o=parseInt(n,10);return o>t?o:t}),0);return o?o+1:null}(this.nativeElement(t),this.nativeElement(e))},t.prototype.zoomLevel=function(){return q()&<()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},t.prototype.isZoomed=function(){return this.zoomLevel()>1},t=Object(o.__decorate)([Object(i.Injectable)()],t)}(),Ot=new i.InjectionToken("Popup Document Scale"),wt=function(){function t(t,e){void 0===e&&(e=1),this._dom=t,this.scale=e}return t.prototype.alignElement=function(t){var e=t.anchor,n=t.element,o=t.anchorAlign,i=t.elementAlign,r=t.margin,s=t.offset,a=t.positionMode,c=this.scale||1,u="fixed"===a||!this._dom.hasOffsetParent(n)?this.absoluteRect(e,n,s,c):this.relativeRect(e,n,s,c),p=yt(this._dom.offset(n),c);return this._dom.align({anchorAlign:o,anchorRect:u,elementAlign:i,elementRect:p,margin:r})},t.prototype.absoluteRect=function(t,e,n,o){var i=this.elementScrollPosition(t,e),r=pt(this._dom.offset(t),n),s=2*o,a=this._dom.stackingElementScroll(e);1!==o&&a&&(a.x/=s,a.y/=s);var c=this._dom.stackingElementOffset(e);return 1!==o&&c&&(c.left/=s,c.top/=s),this._dom.removeScroll(this._dom.addScroll(function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t}(yt(r,o),c),a),i)},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,n,o){var i=pt(this._dom.position(t,e,o),n);return yt(i,o)},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__param)(1,Object(i.Inject)(Ot)),Object(o.__param)(1,Object(i.Optional)()),Object(o.__metadata)("design:paramtypes",[_t,Number])],t)}(),jt=function(){function t(t,e){void 0===e&&(e=1),this._dom=t,this.scale=e}return t.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,o=t.element,i=t.anchorAlign,r=t.elementAlign,s=t.collisions,a=t.margin,c=this._dom,u=this.scale||1,p=c.offsetAtPoint(o,n),l=yt(p,u),h=yt(c.offset(e),u),d=pt(h,n),f=t.viewPort||c.windowViewPort(o);f.width=f.width/u,f.height=f.height/u;var m=c.restrictToView({anchorAlign:i,anchorRect:d,collisions:s,elementAlign:r,elementRect:l,margin:a,viewPort:f}),g=c.addOffset(n,m.offset);return{flip:m.flip,flipped:m.flipped,offset:g}},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__param)(1,Object(i.Inject)(Ot)),Object(o.__param)(1,Object(i.Optional)()),Object(o.__metadata)("design:paramtypes",[_t,Number])],t)}(),Et=function(){function t(t,e){this._dom=t,this._zone=e}return t.prototype.subscribe=function(t){var e=this;q()&&this._zone.runOutsideAngular((function(){e.subscription=Object(Z.fromEvent)(e._dom.getWindow(),"resize").pipe(Object(F.auditTime)(1e3/60)).subscribe((function(){return t()}))}))},t.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.isUnsubscribed=function(){return this.subscription&&this.subscription.closed},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__metadata)("design:paramtypes",[_t,i.NgZone])],t)}(),xt=function(){function t(t,e){this._dom=t,this._zone=e}return t.prototype.forElement=function(t){return this.unsubscribe(),this.element=t,this},t.prototype.subscribe=function(t){var e=this;if(t&&q()&&this.element){var n=this._dom.nativeElement(this.element),o=this._dom.scrollableParents(this.element);this._zone.runOutsideAngular((function(){var i=o.map((function(t){return Object(Z.fromEvent)(t,"scroll").pipe(Object(F.auditTime)(1e3/60))}));e.subscription=Z.merge.apply(void 0,i).subscribe((function(i){var r=i.target,s=o.filter((function(t){return t===r})).length>0,a=r===document,c=r===window;(s||a||c)&&t(e.isVisible(n,r))}))}))}},t.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.isVisible=function(t,e){var n=this._dom.boundingOffset(t),o=this._dom.boundingOffset(e);return!(1<o.top-n.bottom)&&(!(1<n.top-o.bottom)&&(!(1<n.left-o.right)&&!(1<o.left-n.right)))},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__metadata)("design:paramtypes",[_t,i.NgZone])],t)}(),Ct={expand:function(t){var e="up"===t||"down"===t?"scaleY":"scaleX";return{start:{transform:e+"(0)",transformOrigin:"down"===t?"top":"left"===t?"right":"right"===t?"left":"bottom"},end:{transform:e+"(1)"}}},slide:function(t){var e="left"===t||"right"===t?"translateX":"translateY";return{start:{transform:e+"("+("right"===t||"down"===t?-100:100)+"%)"},end:{transform:e+"(0%)"}}},fade:function(){return{start:{opacity:0},end:{opacity:1}}},zoom:function(){return{start:{transform:"scale(0)"},end:{transform:"scale(1)"}}}},St=function(){function t(t){this.animationBuilder=t,this.start=new i.EventEmitter,this.end=new i.EventEmitter}return t.prototype.play=function(t,e,n){if(!this.flip||this.flip.horizontal!==n.horizontal||this.flip.vertical!==n.vertical){this.flip=n;var o=e.type||"slide",r=Ct[o];if(r){var s=r(this.getDirection(n,e));this.playStates(t,s,e)}else if(Object(i.isDevMode)())throw new Error('Unsupported animation type: "'+o+'". The supported types are slide, expand, fade and zoom.')}},t.prototype.ngOnDestroy=function(){this.stopPlayer()},t.prototype.playStates=function(t,e,n){var o=this;this.stopPlayer();var i=n.duration||100,r=this.animationBuilder.build([Object(ct.style)(e.start),Object(ct.animate)(i+"ms ease-in",Object(ct.style)(e.end))]),s=this.player=r.create(t);s.onDone((function(){o.end.emit(),o.stopPlayer()})),this.start.emit(),s.play()},t.prototype.getDirection=function(t,e){var n=e.direction||"down";return t.horizontal&&("left"===n?n="right":"right"===n&&(n="left")),t.vertical&&("down"===n?n="up":"up"===n&&(n="down")),n},t.prototype.stopPlayer=function(){this.player&&(this.player.destroy(),this.player=null)},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__metadata)("design:paramtypes",[ct.AnimationBuilder])],t)}(),zt={name:"@progress/kendo-angular-popup",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1620213546,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},Pt={left:-1e4,top:0},Tt=function(){function t(t,e,n,o,r,s,a,c,u){this.container=t,this._alignService=e,this.domService=n,this._positionService=o,this._resizeService=r,this._scrollableService=s,this.animationService=a,this._renderer=c,this._zone=u,this.animate=!0,this.anchorAlign={horizontal:"left",vertical:"bottom"},this.collision={horizontal:"fit",vertical:"flip"},this.popupAlign={horizontal:"left",vertical:"top"},this.copyAnchorStyles=!1,this.positionMode="fixed",this.offset=Pt,this.anchorViewportLeave=new i.EventEmitter,this.close=new i.EventEmitter,this.open=new i.EventEmitter,this.positionChange=new i.EventEmitter,this.resolvedPromise=Promise.resolve(null),this.initialCheck=!0,Object(ut.validatePackage)(zt),this._renderer.addClass(t.nativeElement,"k-animation-container"),this.updateFixedClass()}return t.prototype.ngOnInit=function(){this.reposition=this.reposition.bind(this),this._resizeService.subscribe(this.reposition),this.animationSubscriptions=this.animationService.start.subscribe(this.onAnimationStart.bind(this)),this.animationSubscriptions.add(this.animationService.end.subscribe(this.onAnimationEnd.bind(this))),this._scrollableService.forElement(this.anchor||this.container).subscribe(this.onScroll.bind(this)),this.currentOffset=Pt,this.setZIndex(),this.copyFontStyles(),this.updateFixedClass()},t.prototype.ngOnChanges=function(t){t.copyAnchorStyles&&this.copyFontStyles(),t.positionMode&&this.updateFixedClass()},t.prototype.ngAfterViewInit=function(){var t=this;this.reposition(),this.animate||this.resolvedPromise.then((function(){t.onAnimationEnd()}))},t.prototype.ngAfterViewChecked=function(){var t=this;this.initialCheck?this.initialCheck=!1:this._zone.runOutsideAngular((function(){t.unsubscribeReposition(),t.repositionSubscription=Object(Z.from)(t.resolvedPromise).subscribe(t.reposition)}))},t.prototype.ngOnDestroy=function(){this.anchorViewportLeave.complete(),this.positionChange.complete(),this.close.emit(),this.close.complete(),this._resizeService.unsubscribe(),this._scrollableService.unsubscribe(),this.animationSubscriptions.unsubscribe(),this.unsubscribeReposition()},t.prototype.onResize=function(){this.reposition()},t.prototype.onAnimationStart=function(){this._renderer.removeClass(this.container.nativeElement,"k-animation-container-shown")},t.prototype.onAnimationEnd=function(){this._renderer.addClass(this.container.nativeElement,"k-animation-container-shown"),this.open.emit(),this.open.complete()},Object.defineProperty(t.prototype,"currentOffset",{get:function(){return this._currentOffset},set:function(t){this.setContainerStyle("left",t.left+"px"),this.setContainerStyle("top",t.top+"px"),this._currentOffset=t},enumerable:!0,configurable:!0}),t.prototype.setZIndex=function(){this.anchor&&this.setContainerStyle("z-index",String(this.domService.zIndex(this.anchor,this.container)))},t.prototype.reposition=function(){var t=this;if(q()){var e,n,o,i,r,s,a=this.position(),c=a.flip,u=a.offset;(!this.currentOffset||(e=this.currentOffset,n=u,o=e.left,i=e.top,r=n.left,s=n.top,Math.abs(o-r)>=1||Math.abs(i-s)>=1))&&(this.currentOffset=u,W(this.positionChange)&&this._zone.run((function(){return t.positionChange.emit({offset:u,flip:c})}))),this.animate&&this.animationService.play(this.contentContainer.nativeElement,this.animate,c),this.resizeSensor.acceptSize()}},t.prototype.position=function(){var t=this._alignService.alignElement({anchor:this.anchor,anchorAlign:this.anchorAlign,element:this.container,elementAlign:this.popupAlign,margin:this.margin,offset:this.offset,positionMode:this.positionMode});return this._positionService.positionElement({anchor:this.anchor,anchorAlign:this.anchorAlign,collisions:this.collision,currentLocation:t,element:this.container,elementAlign:this.popupAlign,margin:this.margin})},t.prototype.onScroll=function(t){var e=this,n=W(this.anchorViewportLeave);t||!n?this.reposition():n&&this._zone.run((function(){e.anchorViewportLeave.emit()}))},t.prototype.copyFontStyles=function(){var t=this;this.anchor&&this.copyAnchorStyles&&this.domService.getFontStyles(this.anchor).forEach((function(e){return t.setContainerStyle(e.key,e.value)}))},t.prototype.updateFixedClass=function(){var t="fixed"===this.positionMode?"addClass":"removeClass";this._renderer[t](this.container.nativeElement,"k-animation-container-fixed")},t.prototype.setContainerStyle=function(t,e){this._renderer.setStyle(this.container.nativeElement,t,e)},t.prototype.unsubscribeReposition=function(){this.repositionSubscription&&this.repositionSubscription.unsubscribe()},Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"animate",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",i.ElementRef)],t.prototype,"anchor",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"anchorAlign",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"collision",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"popupAlign",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Boolean)],t.prototype,"copyAnchorStyles",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"popupClass",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",String)],t.prototype,"positionMode",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"offset",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"margin",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"anchorViewportLeave",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"close",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"open",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"positionChange",void 0),Object(o.__decorate)([Object(i.ViewChild)("container",{static:!0}),Object(o.__metadata)("design:type",i.ElementRef)],t.prototype,"contentContainer",void 0),Object(o.__decorate)([Object(i.ViewChild)(rt,{static:!0}),Object(o.__metadata)("design:type",rt)],t.prototype,"resizeSensor",void 0),t=Object(o.__decorate)([Object(i.Component)({exportAs:"kendo-popup",providers:[wt,St,_t,jt,Et,xt],selector:"kendo-popup",template:'\n <div class="k-popup" [ngClass]="popupClass" #container>\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]="content" [ngIf]="content"></ng-template>\n <kendo-resize-sensor [rateLimit]="100" (resize)="onResize()">\n </kendo-resize-sensor>\n </div>\n '}),Object(o.__metadata)("design:paramtypes",[i.ElementRef,wt,_t,jt,Et,xt,St,i.Renderer2,i.NgZone])],t)}(),At=new i.InjectionToken("Popup Container"),kt=function(){function t(t,e,n,o){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n,this.container=o}return Object.defineProperty(t.prototype,"rootViewContainer",{get:function(){var t=this.applicationRef.components||[];if(t[0])return t[0];throw new Error("\n View Container not found! Inject the POPUP_CONTAINER or define a specific ViewContainerRef via the appendTo option.\n See http://www.telerik.com/kendo-angular-ui/components/popup/api/POPUP_CONTAINER/ for more details.\n ")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootViewContainerNode",{get:function(){return this.container?this.container.nativeElement:this.getComponentRootNode(this.rootViewContainer)},enumerable:!0,configurable:!0}),t.prototype.open=function(t){void 0===t&&(t={});var e=this.contentFrom(t.content),n=e.component,o=e.nodes,i=this.appendPopup(o,t.appendTo),r=i.instance;this.projectComponentInputs(i,t),i.changeDetectorRef.detectChanges(),n&&n.changeDetectorRef.detectChanges();var s=this.getComponentRootNode(i);return{close:function(){var t;n&&n.destroy(),i.destroy(),(t=s)&&t.parentNode&&t.parentNode.removeChild(t)},content:n,popup:i,popupAnchorViewportLeave:r.anchorViewportLeave,popupClose:r.close,popupElement:s,popupOpen:r.open,popupPositionChange:r.positionChange}},t.prototype.appendPopup=function(t,e){var n=this.createComponent(Tt,t,e);return e||this.rootViewContainerNode.appendChild(this.getComponentRootNode(n)),n},t.prototype.getComponentRootNode=function(t){return t.location.nativeElement},t.prototype.getComponentFactory=function(t){return this.componentFactoryResolver.resolveComponentFactory(t)},t.prototype.createComponent=function(t,e,n){var o=this.getComponentFactory(t);if(n)return n.createComponent(o,void 0,this.injector,e);var i=o.create(this.injector,e);return this.applicationRef.attachView(i.hostView),i},t.prototype.projectComponentInputs=function(t,e){return Object.getOwnPropertyNames(e).filter((function(t){return"content"!==t||e.content instanceof i.TemplateRef})).map((function(n){t.instance[n]=e[n]})),t},t.prototype.contentFrom=function(t){if(!t||t instanceof i.TemplateRef)return{component:null,nodes:[[]]};var e=this.createComponent(t);return{component:e,nodes:[e?[e.location.nativeElement]:[]]}},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__param)(3,Object(i.Inject)(At)),Object(o.__param)(3,Object(i.Optional)()),Object(o.__metadata)("design:paramtypes",[i.ApplicationRef,i.ComponentFactoryResolver,i.Injector,i.ElementRef])],t)}(),It=[Tt],Dt=function(){function t(){}return t=Object(o.__decorate)([Object(i.NgModule)({declarations:[It],entryComponents:[It],exports:[It],imports:[U.CommonModule,at],providers:[kt]})],t)}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(7);e.TooltipDirective=o.TooltipDirective;var i=n(15);e.TooltipModule=i.TooltipModule;var r=n(8);e.TooltipSettings=r.TooltipSettings,e.TOOLTIP_SETTINGS=r.TOOLTIP_SETTINGS},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-tooltip",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1634904566,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(4),s=n(7),a=n(12),c=n(9),u=n(16),p=[s.TooltipDirective,c.TooltipContentComponent,u.LocalizedMessagesDirective],l=[a.PopupModule],h=function(){function t(){}return t=o.__decorate([i.NgModule({declarations:[p],entryComponents:[c.TooltipContentComponent],imports:[r.CommonModule].concat(l),exports:[p]})],t)}();e.TooltipModule=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(10),s=function(t){function e(e){var n=t.call(this)||this;return n.service=e,n}var n;return o.__extends(e,t),n=e,o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"closeTitle",void 0),e=n=o.__decorate([i.Directive({providers:[{provide:r.ComponentMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"[kendoTooltipLocalizedMessages]"}),o.__metadata("design:paramtypes",[r.LocalizationService])],e)}(r.ComponentMessages);e.LocalizedMessagesDirective=s}])}));
|
|
20
|
+
var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var r=function(){return(r=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(n[o[i]]=t[o[i]])}return n}function a(t,e,n,o){var i,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(r<3?i(s):r>3?i(e,n,s):i(e,n))||s);return r>3&&s&&Object.defineProperty(e,n,s),s}function c(t,e){return function(n,o){e(n,o,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function p(t,e,n,o){return new(n||(n=Promise))((function(i,r){function s(t){try{c(o.next(t))}catch(t){r(t)}}function a(t){try{c(o.throw(t))}catch(t){r(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((o=o.apply(t,e||[])).next())}))}function l(t,e){var n,o,i,r,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,o=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){s.label=r[1];break}if(6===r[0]&&s.label<i[1]){s.label=i[1],i=r;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(r);break}i[2]&&s.ops.pop(),s.trys.pop();continue}r=e.call(t,s)}catch(t){r=[6,t],o=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}function h(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}function d(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])}function f(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(t){i={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return s}function g(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(m(arguments[e]));return t}function v(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var o=Array(t),i=0;for(e=0;e<n;e++)for(var r=arguments[e],s=0,a=r.length;s<a;s++,i++)o[i]=r[s];return o}function y(t){return this instanceof y?(this.v=t,this):new y(t)}function b(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=n.apply(t,e||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(t){i[t]&&(o[t]=function(e){return new Promise((function(n,o){r.push([t,e,n,o])>1||a(t,e)}))})}function a(t,e){try{(n=i[t](e)).value instanceof y?Promise.resolve(n.value.v).then(c,u):p(r[0][2],n)}catch(t){p(r[0][3],t)}var n}function c(t){a("next",t)}function u(t){a("throw",t)}function p(t,e){t(e),r.shift(),r.length&&a(r[0][0],r[0][1])}}function _(t){var e,n;return e={},o("next"),o("throw",(function(t){throw t})),o("return"),e[Symbol.iterator]=function(){return this},e;function o(o,i){e[o]=t[o]?function(e){return(n=!n)?{value:y(t[o](e)),done:"return"===o}:i?i(e):e}:i}}function O(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=f(t),e={},o("next"),o("throw"),o("return"),e[Symbol.asyncIterator]=function(){return this},e);function o(n){e[n]=t[n]&&function(e){return new Promise((function(o,i){(function(t,e,n,o){Promise.resolve(o).then((function(e){t({value:e,done:n})}),e)})(o,i,(e=t[n](e)).done,e.value)}))}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function j(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function E(t){return t&&t.__esModule?t:{default:t}}function x(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function C(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){"use strict";n.r(e),n.d(e,"setScriptKey",(function(){return u})),n.d(e,"validatePackage",(function(){return p}));var o,i,r=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];o=r,i=131,function(t){for(;--t;)o.push(o.shift())}(++i);var s=function(t,e){var n=r[t-=0];if(void 0===s.eVebMg){s.JsjtEd=function(t){for(var e=function(t){for(var e,n,o=String(t).replace(/=+$/,""),i="",r=0,s=0;n=o.charAt(s++);~n&&(e=r%4?64*e+n:n,r++%4)?i+=String.fromCharCode(255&e>>(-2*r&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return i}(t),n=[],o=0,i=e.length;o<i;o++)n+="%"+("00"+e.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(n)},s.rqrXoU={},s.eVebMg=!0}var o=s.rqrXoU[t];return void 0===o?(n=s.JsjtEd(n),s.rqrXoU[t]=n):n=o,n},a={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},c=new Map;function u(t){}function p(t){if(c[s("0x14")](t[s("0x4")])){if(s("0x35")==s("0x35"))return c[s("0x36")](t[s("0x4")])}var e,n=t[s("0x1")]?" v"+t[s("0x1")]:"",o=t[s("0x4")]+n,i=JSON[s("0x9")](a[s("0x34")]),r=!i[s("0x26")]&&!i[s("0x38")],u=i[s("0x26")]&&typeof KendoLicensing===s("0x2b"),p=function(t,e){var n=t[s("0x8")];if(!n||!n[s("0x2d")]){if(s("0x11")==s("0x11"))return null}var o=new Set(e);return n[s("0x2a")]((function(t){if(s("0xa")!==s("0x18"))return o[s("0x14")](t[s("0x39")])}))}(i,t[s("0x2")]);if(r||u)if(s("0x29")!=s("0x29")){}else e={type:0,packageName:o,docsUrl:t[s("0x27")]};else if(s("0xf")===s("0x24")){}else if(p){if(s("0x12")!=s("0x12")){}else if(p[s("0x37")]<t[s("0x1c")])if(s("0x21")===s("0x32")){}else e={type:2,packageName:o,publishDate:l(t[s("0x1c")]),expiryDate:l(p[s("0x37")]),docsUrl:t[s("0x27")]}}else if(s("0x6")!=s("0x6")){}else e={type:1,packageName:o,docsUrl:t[s("0x27")]};if(e&&typeof console===s("0x30"))if(s("0x5")===s("0x3")){}else{var h=s("0x1b")+t[s("0xe")],d=typeof console[s("0x7")]===s("0x33");if(d)if(s("0xc")!=s("0xc")){}else console[s("0x7")](h);else if(s("0x17")!=s("0x17")){}else console[s("0x1e")](h);if(console[s("0x1e")](function(t){var e=s("0x28")+t[s("0x16")]+"\n";if(2===t[s("0x3a")])if(s("0x20")!=s("0x20")){}else e+=s("0x25")+t[s("0x15")][s("0x2c")]()+s("0xb")+t[s("0x1c")][s("0x2c")]()+".\n";else if(0===t[s("0x3a")])if(s("0x13")!==s("0x10"))e+=s("0xd");else{}else if(1===t[s("0x3a")])if(s("0x2e")===s("0x23")){}else e+=s("0x1d");return e+=s("0x31")+t[s("0x1a")]+s("0x22")}(e)),d)if(s("0x1f")!==s("0x19"))console[s("0x2f")]();else{}}var f=!e;return c[s("0x0")](t[s("0x4")],f),f}function l(t){return new Date(1e3*t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(3),s=n(2),a=n(12),c=n(6),u=n(14),p=n(8),l=n(9),h=n(11),d=function(){function t(t,e,n,o,i,a){var p=this;this.tooltipWrapper=t,this.ngZone=e,this.renderer=n,this.popupService=o,this.filter="[title]",this.position="top",this.showAfter=100,this.callout=!0,this.closable=!1,this.offset=6,this.anchor=null,this.validPositions=["top","bottom","right","left"],this.validShowOptions=["hover","click","none"],c.validatePackage(u.packageMetadata),Object.assign(this,i,a),this.ngZone.runOutsideAngular((function(){var t=p.tooltipWrapper.nativeElement;p.anchorTitleSubscription=s.fromEvent(t,"mouseover").pipe(r.filter((function(){return""!==p.filter}))).subscribe((function(t){var e=h.closest(t.target,p.filter);e&&p.hideElementTitle({nativeElement:e})})),p.mouseOverSubscription=s.fromEvent(t,"mouseover").pipe(r.debounceTime(100),r.filter((function(){return""!==p.filter}))).subscribe((function(t){return p.onMouseOver(t)})),p.mouseOutSubscription=s.fromEvent(t,"mouseout").pipe(r.debounceTime(100)).subscribe((function(t){return p.onMouseOut(t)}))}))}return Object.defineProperty(t.prototype,"tooltipTemplate",{get:function(){return this.template},set:function(t){this.template=t},enumerable:!0,configurable:!0}),t.prototype.show=function(t){var e=this;if(!this.popupRef)if(t instanceof Element&&(t={nativeElement:t}),this.anchor=t,"hover"===this.showOn){if(this.popupRef)return;clearTimeout(this.showTimeout),this.showTimeout=window.setTimeout((function(){return e.showContent(e.anchor)}),this.showAfter)}else this.hideElementTitle(this.anchor),this.showContent(this.anchor)},t.prototype.hide=function(){clearTimeout(this.showTimeout);var t=this.anchor&&this.anchor.nativeElement;t&&t.getAttribute("data-title")&&(!t.getAttribute("title")&&t.hasAttribute("title")&&t.setAttribute("title",t.getAttribute("data-title")),t.setAttribute("data-title","")),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe(),this.closeClickSubscription&&this.closeClickSubscription.unsubscribe(),this.closePopup()},t.prototype.toggle=function(t,e){var n=this.anchor&&this.anchor.nativeElement;t instanceof Element&&(t={nativeElement:t}),n!==t.nativeElement&&this.hide(),n===t.nativeElement&&"click"===this.showOn&&this.hide(),void 0===e&&(e=!this.popupRef),e?this.show(t):this.hide()},t.prototype.ngOnInit=function(){void 0===this.showOn&&(this.showOn="hover"),this.verifyProperties()},t.prototype.ngOnChanges=function(t){t.showOn&&this.subscribeClick()},t.prototype.ngAfterViewChecked=function(){this.popupRef&&this.anchor&&!h.hasParent(this.anchor.nativeElement||this.anchor,this.tooltipWrapper.nativeElement)&&(this.anchor=null,this.hide())},t.prototype.ngOnDestroy=function(){this.hide(),this.template=null,this.anchorTitleSubscription.unsubscribe(),this.mouseOverSubscription.unsubscribe(),this.mouseOutSubscription.unsubscribe(),this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe(),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe()},t.prototype.showContent=function(t){var e=this;(t.nativeElement.getAttribute("data-title")||this.template)&&(this.ngZone.run((function(){e.openPopup(t),e.bindContent(e.popupRef.content,t)})),this.popupRef.popupAnchorViewportLeave.pipe(r.take(1)).subscribe((function(){return e.hide()})))},t.prototype.bindContent=function(t,e){var n=this,o=t.instance;this.closeClickSubscription=o.close.subscribe((function(){n.hide()})),this.template?o.templateRef=this.template:o.templateString=this.anchor.nativeElement.getAttribute("data-title"),this.titleTemplate&&(o.titleTemplate=this.titleTemplate),o.closeTitle=this.closeTitle,o.anchor=e,o.callout=this.callout,o.closable=this.closable,o.position=this.position,o.tooltipWidth=this.tooltipWidth,o.tooltipHeight=this.tooltipHeight,this.popupRef.content.changeDetectorRef.detectChanges()},t.prototype.hideElementTitle=function(t){var e=t.nativeElement;e.getAttribute("title")&&(e.setAttribute("data-title",e.getAttribute("title")),e.setAttribute("title",""))},t.prototype.openPopup=function(t){var e=this,n=h.align(this.position,this.offset),o=n.anchorAlign,i=n.popupAlign,r=n.popupMargin;this.popupRef=this.popupService.open({anchor:t,anchorAlign:o,animate:!1,content:l.TooltipContentComponent,collision:h.collision(this.collision,this.position),margin:r,popupAlign:i,popupClass:"k-popup-transparent"}),this.renderer.addClass(this.popupRef.popupElement,"k-tooltip-wrapper"),this.tooltipClass&&this.renderer.addClass(this.popupRef.popupElement,this.tooltipClass);var a=this.popupRef.content.instance;a.callout&&(this.popupPositionChangeSubscription=this.popupRef.popupPositionChange.subscribe((function(t){var n=t.flip,o=!0===n.horizontal||!0===n.vertical;a.updateCalloutPosition(e.position,o)}))),"hover"===this.showOn&&this.ngZone.runOutsideAngular((function(){var t=e.popupRef.popupElement;e.popupMouseOutSubscription=s.fromEvent(t,"mouseout").subscribe((function(t){return e.onMouseOut(t)}))}))},t.prototype.closePopup=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe()},t.prototype.subscribeClick=function(){var t=this;this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),"click"===this.showOn&&(this.mouseClickSubscription=s.fromEvent(document,"click").pipe(r.filter((function(){return""!==t.filter}))).subscribe((function(e){return t.onMouseClick(e,t.tooltipWrapper.nativeElement)})))},t.prototype.onMouseClick=function(t,e){var n=t.target,o=h.closest(n,this.filter),i=this.popupRef&&this.popupRef.popupElement;if(i){if(i.contains(n))return;if(this.closable)return}e.contains(n)&&o?this.toggle(o,!0):i&&this.hide()},t.prototype.onMouseOver=function(t){var e=h.closest(t.target,this.filter);"hover"===this.showOn&&e&&this.toggle(e,!0)},t.prototype.onMouseOut=function(t){if("hover"===this.showOn&&!this.closable){var e=this.popupRef&&this.popupRef.popupElement,n=t.relatedTarget;n&&this.anchor&&h.contains(this.anchor.nativeElement,n)||n&&h.contains(e,n)||this.hide()}},t.prototype.verifyProperties=function(){if(i.isDevMode()){if(!h.containsItem(this.validPositions,this.position))throw new Error("Invalid value provided for position property.The available options are 'top', 'bottom', 'left', or 'right'.");if(!h.containsItem(this.validShowOptions,this.showOn))throw new Error("Invalid value provided for showOn property.The available options are 'hover' or 'none'.")}},o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"filter",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"position",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.TemplateRef)],t.prototype,"titleTemplate",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"showOn",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"showAfter",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],t.prototype,"callout",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],t.prototype,"closable",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"offset",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"tooltipWidth",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"tooltipHeight",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"tooltipClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],t.prototype,"collision",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"closeTitle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.TemplateRef),o.__metadata("design:paramtypes",[i.TemplateRef])],t.prototype,"tooltipTemplate",null),t=o.__decorate([i.Directive({selector:"[kendoTooltip]",exportAs:"kendoTooltip"}),o.__param(4,i.Optional()),o.__param(5,i.Optional()),o.__param(5,i.Inject(p.TOOLTIP_SETTINGS)),o.__metadata("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2,a.PopupService,p.TooltipSettings,p.TooltipSettings])],t)}();e.TooltipDirective=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0);e.TOOLTIP_SETTINGS=new i.InjectionToken("kendo-ui-tooltip-settings");var r=function(){function t(){}return t=o.__decorate([i.Injectable()],t)}();e.TooltipSettings=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(10),s=n(11),a=function(){function t(t,e){this.content=t,this.localizationService=e,this.close=new i.EventEmitter,this.tooltipWidth=null,this.tooltipHeight=null,this.callout=!0,this.calloutStyles=function(t,e,n){var o={},i="top"===t||"bottom"===t;return n?("top"===t?o.bottom="unset":"bottom"===t?o.top="unset":"left"===t?o.right="unset":"right"===t&&(o.left="unset"),o[t]=-e+"px",o.transform=i?"rotateX(180deg)":"rotateY(180deg)",o):(o.transform=i?"rotateX(0deg)":"rotateY(0deg)",o)},this.direction=e.rtl?"rtl":"ltr"}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return"k-widget k-tooltip"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this.closable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cssPosition",{get:function(){return"relative"},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var n=e.rtl;return t.direction=n?"rtl":"ltr"}))},t.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},Object.defineProperty(t.prototype,"closeButtonTitle",{get:function(){return this.closeTitle||this.localizationService.get("closeTitle")},enumerable:!0,configurable:!0}),t.prototype.calloutPositionClass=function(){return{top:"k-callout-s",left:"k-callout-e",bottom:"k-callout-n",right:"k-callout-w"}[this.position]},t.prototype.onCloseClick=function(t){t.preventDefault(),this.close.emit()},t.prototype.updateCalloutPosition=function(t,e){if(this.callout){var n=this.content.nativeElement.querySelector(".k-callout"),o="top"===t||"bottom"===t,i=o?"width":"height",r=o?"left":"top",a=o?"marginLeft":"marginTop",c=n.getBoundingClientRect()[i],u=s.getCenterOffset(this.anchor.nativeElement,r,i),p=s.getCenterOffset(this.content.nativeElement,r,i),l=Math.abs(p-u);if(l>1||0===l||0===Math.round(l)){var h=p-u+c/2;n.style[a]=-h+"px"}var d=this.calloutStyles(t,c,e);Object.keys(d).forEach((function(t){n.style[t]=d[t]}))}},o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],t.prototype,"direction",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],t.prototype,"close",void 0),o.__decorate([i.HostBinding("class"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],t.prototype,"cssClasses",null),o.__decorate([i.HostBinding("class.k-tooltip-closable"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],t.prototype,"className",null),o.__decorate([i.HostBinding("style.position"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],t.prototype,"cssPosition",null),o.__decorate([i.HostBinding("style.width.px"),i.Input(),o.__metadata("design:type",Number)],t.prototype,"tooltipWidth",void 0),o.__decorate([i.HostBinding("style.height.px"),i.Input(),o.__metadata("design:type",Number)],t.prototype,"tooltipHeight",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.TemplateRef)],t.prototype,"titleTemplate",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.ElementRef)],t.prototype,"anchor",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],t.prototype,"closable",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.TemplateRef)],t.prototype,"templateRef",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"templateString",void 0),t=o.__decorate([i.Component({selector:"kendo-tooltip",template:'\n <ng-container kendoTooltipLocalizedMessages\n i18n-closeTitle="kendo.tooltip.closeTitle|The title of the close button"\n closeTitle="Close"\n >\n </ng-container>\n\n <div class="k-tooltip-content">\n <div class="k-tooltip-title" *ngIf="titleTemplate">\n <ng-template\n [ngIf]="titleTemplate"\n [ngTemplateOutlet]="titleTemplate"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n </div>\n\n <ng-template\n [ngIf]="templateRef"\n [ngTemplateOutlet]="templateRef"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n <ng-template\n [ngIf]="templateString">\n {{ templateString }}\n </ng-template>\n </div>\n\n <div *ngIf="closable" class="k-tooltip-button" (click)="onCloseClick($event)">\n <a href="#" class="k-icon k-i-close" [attr.title]="closeButtonTitle"></a>\n </div>\n\n <div class="k-callout" *ngIf="callout" [ngClass]="calloutPositionClass()"></div>\n ',providers:[r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.tooltip"}]}),o.__metadata("design:paramtypes",[i.ElementRef,r.LocalizationService])],t)}();e.TooltipContentComponent=a},function(t,e){t.exports=r},function(t,e,n){"use strict";function o(t){return 9===t.nodeType}Object.defineProperty(e,"__esModule",{value:!0}),e.align=function(t,e){var n={},o={},i={};switch(t){case"top":n={horizontal:"center",vertical:"top"},o={horizontal:"center",vertical:"bottom"},i={horizontal:0,vertical:e};break;case"bottom":n={horizontal:"center",vertical:"bottom"},o={horizontal:"center",vertical:"top"},i={horizontal:0,vertical:e};break;case"right":n={horizontal:"right",vertical:"center"},o={horizontal:"left",vertical:"center"},i={horizontal:e,vertical:0};break;case"left":n={horizontal:"left",vertical:"center"},o={horizontal:"right",vertical:"center"},i={horizontal:e,vertical:0}}return{anchorAlign:n,popupAlign:o,popupMargin:i}},e.collision=function(t,e){return t||("top"===e||"bottom"===e?{horizontal:"fit",vertical:"flip"}:{horizontal:"flip",vertical:"fit"})},e.closest=function(t,e){if(t.closest)return t.closest(e);for(var n=Element.prototype.matches?function(t,e){return t.matches(e)}:function(t,e){return t.msMatchesSelector(e)},i=t;i&&!o(i);){if(n(i,e))return i;i=i.parentNode}},e.contains=function(t,e){return!!t&&(!o(t)&&(t.contains?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY):void 0))},e.hasParent=function(t,e){for(;t&&t!==e;)t=t.parentNode;return t},e.getCenterOffset=function(t,e,n){var o=t.getBoundingClientRect();return o[e]+o[n]/2},e.containsItem=function(t,e){return-1!==t.indexOf(e)}},function(t,e,n){"use strict";n.r(e),n.d(e,"AlignService",(function(){return wt})),n.d(e,"AnimationService",(function(){return St})),n.d(e,"DOMService",(function(){return _t})),n.d(e,"PositionService",(function(){return jt})),n.d(e,"ResizeService",(function(){return Et})),n.d(e,"ScrollableService",(function(){return xt})),n.d(e,"PopupService",(function(){return kt})),n.d(e,"POPUP_CONTAINER",(function(){return At})),n.d(e,"PopupComponent",(function(){return Tt})),n.d(e,"PopupModule",(function(){return Dt})),n.d(e,"SCALE",(function(){return Ot}));var o=n(1),i=n(0),r="bottom",s="center",a="middle",c="left",u="right",p="top",l=function(t){var e=t.anchorRect,n=t.anchorAlign,o=t.elementRect,i=t.elementAlign,c=t.margin;void 0===c&&(c={});var p=n.horizontal,l=n.vertical,h=i.horizontal,d=i.vertical,f=c.horizontal||0,m=c.vertical||0,g=e.top,v=e.left;return l===r&&(g+=e.height),l!==s&&l!==a||(g+=Math.round(e.height/2)),d===r&&(g-=o.height,m*=-1),d!==s&&d!==a||(g-=Math.round(o.height/2),m*=-1),p===u&&(v+=e.width),p!==s&&p!==a||(v+=Math.round(e.width/2)),h===u&&(v-=o.width,f*=-1),h!==s&&h!==a||(v-=Math.round(o.width/2),f*=-1),{top:g+m,left:v+f}};function h(t){return t.ownerDocument||t.document||t}var d=function(t){return h(t).defaultView},f=function(t){return h(t).documentElement},m=0;function g(){if(!m&&"undefined"!=typeof document){var t=document.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML=" ",document.body.appendChild(t),m=t.offsetWidth-t.scrollWidth,document.body.removeChild(t)}return m}function v(t){var e=d(t),n=f(t),o={height:e.innerHeight,width:e.innerWidth};return n.scrollHeight-n.clientHeight>0&&(o.width-=g()),o}var y=function(t){if(!t.getBoundingClientRect){var e=v(t);return{bottom:e.height,left:0,right:e.width,top:0}}var n=t.getBoundingClientRect();return{bottom:n.bottom,left:n.left,right:n.right,top:n.top}},b=function(t){for(var e=t.offsetParent;e&&"static"===e.style.position;)e=e.offsetParent;return e||f(t)},_=function(t){var e=t.getBoundingClientRect(),n=e.left,o=e.top;return e.height||e.width||(e=function(t){var e=t.style,n=e.display,o=e.left,i=e.position;t.style.display="",t.style.left="-10000px",t.style.position="absolute";var r=t.getBoundingClientRect();return t.style.display=n,t.style.left=o,t.style.position=i,r}(t)),{top:o,left:n,height:e.height,width:e.width}},O=function(t,e){for(var n=[],o=t.parentNode;o&&(n.push(o),o!==e);)o=o.parentNode;return n};function w(t){var e=f(t),n=d(t);return{x:n.pageXOffset||e.scrollLeft||0,y:n.pageYOffset||e.scrollTop||0}}var j=function(t){return t===(t.ownerDocument||{}).body?w(t):{x:t.scrollLeft,y:t.scrollTop}};var E=function(t,e){var n=d(t),o=n.getComputedStyle(t),i=_(t),r=e||b(t),s=t.ownerDocument,a=r!==s.body&&r!==s.documentElement,c={top:0,left:0};if("fixed"!==o.position&&a){var u=n.getComputedStyle(r);(c=_(r)).top+=parseInt(u.borderTopWidth,10),c.left+=parseInt(u.borderLeftWidth,10)}return{top:i.top-c.top,left:i.left-c.left,height:i.height,width:i.width}},x=function(t,e){return t?j(t):function(t){var e=b(t);return e?j(e):{x:0,y:0}}(e)};var C="fit",S="flip",z=function(t,e,n){var o=0;return t+e>n&&(o=n-(t+e)),t<0&&(o=-t),o},P=function(t){var e=t.offset,n=t.size,o=t.anchorSize,i=t.viewPortSize,r=t.anchorAlignPoint,u=t.elementAlignPoint,l=0,h=2*t.margin;if(u!==r&&!(u===s||u===a)&&!(r===s||r===a)){var d=r===p||r===c;e<0&&d?e+(l=n+o+h)+n>i&&(l=0):e>=0&&!d&&(e+n>i&&(l+=-(o+n+h)),e+l<0&&(l=0))}return l},T=function(t){var e=t.anchorRect,n=t.anchorAlign,o=t.elementRect,i=t.elementAlign,r=t.collisions,s=t.viewPort,a=t.margin;void 0===a&&(a={});var c=o.top,u=o.left,p=o.height,l=o.width,h=s.height,d=s.width,f=a.horizontal||0,m=a.vertical||0,g=0,v=0,y=r.horizontal===S,b=r.vertical===S;r.vertical===C&&(v+=z(c,p,h)),r.horizontal===C&&(g+=z(u,l,d)),b&&(v+=P({margin:m,offset:c,size:p,anchorSize:e.height,viewPortSize:h,anchorAlignPoint:n.vertical,elementAlignPoint:i.vertical})),y&&(g+=P({margin:f,offset:u,size:l,anchorSize:e.width,viewPortSize:d,anchorAlignPoint:n.horizontal,elementAlignPoint:i.horizontal}));var _=y&&0!==g,O=b&&0!==v;return{flipped:_||O,flip:{horizontal:_,vertical:O},offset:{left:g,top:v}}},A=function(t){for(var e=[],n=t.parentNode.firstElementChild;n;)n!==t&&e.push(n),n=n.nextElementSibling;return e},k=function(t,e){for(var n,o,i=O(t),r=e;r&&(n=A(r),!(o=i.reduce((function(t,e){return t.concat(n.filter((function(t){return t===e})))}),[])[0]));)r=r.parentElement;return o};var I=function(t,e){return function(n){return e(t(n))}},D=function(t,e,n){return t.addEventListener&&t.addEventListener(e,n)},R=function(t,e,n){return t&&t.removeEventListener&&t.removeEventListener(e,n)},M=function(){},L=function(t){return t.preventDefault()},K=/touch/;function N(t){return t.type.match(K)?{pageX:t.changedTouches[0].pageX,pageY:t.changedTouches[0].pageY,clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,type:t.type,originalEvent:t,isTouch:!0}:{pageX:t.pageX,pageY:t.pageY,clientX:t.clientX,clientY:t.clientY,offsetX:t.offsetX,offsetY:t.offsetY,type:t.type,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,originalEvent:t}}var B=function(t){var e=this,n=t.press;void 0===n&&(n=M);var o=t.drag;void 0===o&&(o=M);var i=t.release;void 0===i&&(i=M);var r=t.mouseOnly;void 0===r&&(r=!1),this._pressHandler=I(N,n),this._dragHandler=I(N,o),this._releaseHandler=I(N,i),this._ignoreMouse=!1,this._mouseOnly=r,this._touchstart=function(t){1===t.touches.length&&e._pressHandler(t)},this._touchmove=function(t){1===t.touches.length&&e._dragHandler(t)},this._touchend=function(t){0===t.touches.length&&1===t.changedTouches.length&&(e._releaseHandler(t),e._ignoreMouse=!0,setTimeout(e._restoreMouse,2e3))},this._restoreMouse=function(){e._ignoreMouse=!1},this._mousedown=function(t){var n=t.which;n&&n>1||e._ignoreMouse||(D(e.document,"mousemove",e._mousemove),D(e.document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){R(e.document,"mousemove",e._mousemove),R(e.document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(D(e.document,"pointermove",e._pointermove),D(e.document,"pointerup",e._pointerup),D(e.document,"pointercancel",e._pointerup),D(e.document,"contextmenu",L),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(R(e.document,"pointermove",e._pointermove),R(e.document,"pointerup",e._pointerup),R(e.document,"pointercancel",e._pointerup),R(e.document,"contextmenu",L),e._releaseHandler(t))}},H={document:{configurable:!0}};B.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},H.document.get=function(){return this._element?this._element.ownerDocument:document},B.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},B.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?D(t,"pointerdown",this._pointerdown):(D(t,"mousedown",this._mousedown),this._mouseOnly||(D(t,"touchstart",this._touchstart),D(t,"touchmove",this._touchmove),D(t,"touchend",this._touchend)))},B.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return R(t,"pointerdown",this._pointerdown),R(this.document,"pointermove",this._pointermove),R(this.document,"pointerup",this._pointerup),R(this.document,"contextmenu",L),void R(this.document,"pointercancel",this._pointerup);R(t,"mousedown",this._mousedown),this._mouseOnly||(R(t,"touchstart",this._touchstart),R(t,"touchmove",this._touchmove),R(t,"touchend",this._touchend))},B.prototype._usePointers=function(){return!this._mouseOnly&&B.supportPointerEvent()},B.prototype.update=function(t){var e=t.press;void 0===e&&(e=M);var n=t.drag;void 0===n&&(n=M);var o=t.release;void 0===o&&(o=M);var i=t.mouseOnly;void 0===i&&(i=!1),this._pressHandler=I(N,e),this._dragHandler=I(N,n),this._releaseHandler=I(N,o),this._mouseOnly=i},B.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(B.prototype,H),B.default=B;var V=B,U=n(4),Z=n(3),F=n(2),q=function(){return"undefined"!=typeof document},Y=function(t,e,n){return void 0===n&&(n=!0),!(void 0===e[t]||e[t].isFirstChange()&&n||e[t].previousValue===e[t].currentValue)},W=function(t){return t&&t.observers.length>0},G=function(){function t(t,e){this.element=t,this.ngZone=e,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return t.prototype.ngOnInit=function(){this.toggleDraggable()},t.prototype.ngOnChanges=function(t){Y("enableDrag",t)&&this.toggleDraggable()},t.prototype.ngOnDestroy=function(){this.destroyDraggable()},t.prototype.toggleDraggable=function(){var t=this;q()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new V({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular((function(){return t.draggable.bindTo(t.element.nativeElement)}))))},t.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Boolean)],t.prototype,"enableDrag",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"kendoPress",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"kendoDrag",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"kendoRelease",void 0),t=Object(o.__decorate)([Object(i.Directive)({selector:"[kendoDraggable]"}),Object(o.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone])],t)}();!function(){function t(){}t=Object(o.__decorate)([Object(i.NgModule)({declarations:[G],exports:[G],imports:[U.CommonModule]})],t)}();var X,J=function(){function t(t,e,n){this.element=t,this.ngZone=e,this.renderer=n,this.events={}}return t.prototype.ngOnInit=function(){var t=this;if(this.element&&this.element.nativeElement){var e=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in e)e.hasOwnProperty(n)&&t.subscriptions.push(t.renderer.listen(t.element.nativeElement,n,t.scope?e[n].bind(t.scope):e[n]))}))}},t.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var t=0;t<this.subscriptions.length;t++)this.subscriptions[t]();this.subscriptions=null}},Object(o.__decorate)([Object(i.Input)("kendoEventsOutsideAngular"),Object(o.__metadata)("design:type",Object)],t.prototype,"events",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"scope",void 0),t=Object(o.__decorate)([Object(i.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(o.__metadata)("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],t)}(),Q=(function(){function t(){}t=Object(o.__decorate)([Object(i.NgModule)({declarations:[J],exports:[J]})],t)}(),function(){function t(t){this.resizeBatchService=t,this.resize=new i.EventEmitter,this.acceptedSize=!1,this.state=0}return t.prototype.acceptSize=function(t){void 0===t&&(t=this.measure()),this.lastWidth=t.width,this.lastHeight=t.height,this.acceptedSize=!0},t.prototype.checkChanges=function(){q()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},t.prototype.destroy=function(){this.resizeBatchService.cancel(this)},t.prototype.checkSize=function(){if(this.parentElement){var t=this.measure(),e=t.width,n=t.height;if(!(e===this.lastWidth&&n===this.lastHeight))return this.lastWidth=e,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},t.prototype.initSize=function(){var t=this.measure();this.lastWidth=t.width,this.lastHeight=t.height},t.prototype.measure=function(){var t=0,e=0;return this.parentElement&&(e=this.parentElement.offsetHeight,t=this.parentElement.offsetWidth),{height:e,width:t}},t}()),$=function(t){var e=document.createElement("div");return e.style.cssText=t,e},tt="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",et=function(t){function e(e,n,o){var i=t.call(this,e)||this;return i.element=n,i.ngZone=o,i}return Object(o.__extends)(e,t),e.prototype.checkChanges=function(){2!==this.state?t.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},e.prototype.destroy=function(){if(t.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var e=this.element.nativeElement;e.removeChild(this.expand),e.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},e.prototype.checkSize=function(){if(t.prototype.checkSize.call(this))return this.reset(),!0},e.prototype.init=function(){var t,e=this.parentElement=this.element.nativeElement.parentElement;"static"===(t="position",getComputedStyle(e,null).getPropertyValue(t))&&(e.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},e.prototype.render=function(){var t=this.element.nativeElement;t.style.cssText=tt,t.setAttribute("dir","ltr"),this.expand=$(tt),this.expandChild=$("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),t.appendChild(this.expand),this.shrink=$(tt);var e=$("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(e),t.appendChild(this.shrink)},e.prototype.reset=function(){var t=this.expandChild;t.style.width="100000px",t.style.height="100000px";var e=this.expand;e.scrollLeft=1e5,e.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},e.prototype.subscribe=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.subscription=Object(F.merge)(Object(F.fromEvent)(t.shrink,"scroll"),Object(F.fromEvent)(t.expand,"scroll")).subscribe((function(){t.checkSize()}))}))},e}(Q),nt="undefined"!=typeof ResizeObserver,ot=function(t){function e(e,n,o){var i=t.call(this,e)||this;return i.element=n,i.ngZone=o,i}return Object(o.__extends)(e,t),e.supported=function(){return nt},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},e.prototype.init=function(){var t=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){t.resizeObserver=new ResizeObserver((function(){t.checkSize()})),t.resizeObserver.observe(t.parentElement)}))},e}(Q),it=function(){function t(t){this.ngZone=t,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return t.prototype.schedule=function(t,e){var n=this;this.scheduled.push({instance:t,method:e}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=Object(F.from)(n.resolvedPromise).subscribe(n.flush)}))},t.prototype.isScheduled=function(t){return Boolean(this.scheduled.find((function(e){return e.instance===t})))},t.prototype.cancel=function(t){for(var e=this.scheduled,n=e.length,o=0;o<n;o++)if(e[o].instance===t)return e.splice(o,1),void(e.length||this.unsubscribe())},t.prototype.ngOnDestroy=function(){this.unsubscribe()},t.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},t.prototype.flush=function(){this.scheduled.forEach((function(t){t.method.call(t.instance)})),this.scheduled=[],this.unsubscribe()},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__metadata)("design:paramtypes",[i.NgZone])],t)}(),rt=function(){function t(t,e,n){var o=this;this.rateLimit=10,this.resize=new i.EventEmitter;var r=ot.supported()?ot:et;this.resizeService=new r(t,e,n);var s=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(Z.auditTime)(s)).subscribe((function(){o.resizeService.acceptedSize||o.resize.emit()}))}return t.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},t.prototype.acceptSize=function(t){this.resizeService.acceptSize(t)},Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Number)],t.prototype,"rateLimit",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"resize",void 0),t=Object(o.__decorate)([Object(i.Component)({selector:"kendo-resize-sensor",template:""}),Object(o.__metadata)("design:paramtypes",[it,i.ElementRef,i.NgZone])],t)}(),st=[rt],at=function(){function t(){}return t=Object(o.__decorate)([Object(i.NgModule)({declarations:[st],exports:[st],providers:[it]})],t)}();!function(t){t[t.Alt=18]="Alt",t[t.ArrowDown=40]="ArrowDown",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowUp=38]="ArrowUp",t[t.Backspace=8]="Backspace",t[t.Control=17]="Control",t[t.Delete=46]="Delete",t[t.Digit0=48]="Digit0",t[t.Digit1=49]="Digit1",t[t.Digit2=50]="Digit2",t[t.Digit3=51]="Digit3",t[t.Digit4=52]="Digit4",t[t.Digit5=53]="Digit5",t[t.Digit6=54]="Digit6",t[t.Digit7=55]="Digit7",t[t.Digit8=56]="Digit8",t[t.Digit9=57]="Digit9",t[t.End=35]="End",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.F1=112]="F1",t[t.F2=113]="F2",t[t.F10=121]="F10",t[t.Home=36]="Home",t[t.Insert=45]="Insert",t[t.KeyA=65]="KeyA",t[t.KeyB=66]="KeyB",t[t.KeyC=67]="KeyC",t[t.KeyD=68]="KeyD",t[t.KeyE=69]="KeyE",t[t.KeyF=70]="KeyF",t[t.KeyG=71]="KeyG",t[t.KeyH=72]="KeyH",t[t.KeyI=73]="KeyI",t[t.KeyJ=74]="KeyJ",t[t.KeyK=75]="KeyK",t[t.KeyL=76]="KeyL",t[t.KeyM=77]="KeyM",t[t.KeyN=78]="KeyN",t[t.KeyO=79]="KeyO",t[t.KeyP=80]="KeyP",t[t.KeyQ=81]="KeyQ",t[t.KeyR=82]="KeyR",t[t.KeyS=83]="KeyS",t[t.KeyT=84]="KeyT",t[t.KeyU=85]="KeyU",t[t.KeyV=86]="KeyV",t[t.KeyW=87]="KeyW",t[t.KeyX=88]="KeyX",t[t.KeyY=89]="KeyY",t[t.KeyZ=90]="KeyZ",t[t.NumpadDecimal=110]="NumpadDecimal",t[t.PageDown=34]="PageDown",t[t.PageUp=33]="PageUp",t[t.Shift=16]="Shift",t[t.Space=32]="Space",t[t.Tab=9]="Tab"}(X||(X={}));!function(){function t(){this.prevented=!1}t.prototype.preventDefault=function(){this.prevented=!0},t.prototype.isDefaultPrevented=function(){return this.prevented}}();var ct=n(5),ut=n(6),pt=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},lt=function(){return"undefined"!=typeof window},ht=/auto|scroll/,dt=function(t){return function(t){return""+t.style.overflow+t.style.overflowX+t.style.overflowY}(t)||function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY}(t)};var ft,mt,gt,vt=(ft=function(){if(!q()&&null!==document.body)return!1;var t=document.createElement("div");t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',document.body.appendChild(t);var e=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),e},gt=!1,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return gt||(mt=ft.apply(void 0,t),gt=!0),mt}),yt=function(t,e){return t&&1!==e?{height:t.height/e,left:t.left/e,top:t.top/e,width:t.width/e}:t},bt=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],_t=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.addScroll=function(t,e){return function(t,e){return{top:t.top+e.y,left:t.left+e.x,height:t.height,width:t.width}}(t,e)},t.prototype.align=function(t){return l(t)},t.prototype.boundingOffset=function(t){return y(this.nativeElement(t))},t.prototype.getFontStyles=function(t){var e=this.getWindow();if(!e||!t)return[];var n=e.getComputedStyle(this.nativeElement(t));return bt.map((function(t){return{key:t,value:n[t]}}))},t.prototype.getWindow=function(){return lt()?window:null},t.prototype.hasOffsetParent=function(t){return!!t&&!!this.nativeElement(t).offsetParent},t.prototype.offset=function(t){return t?_(this.nativeElement(t)):null},t.prototype.offsetAtPoint=function(t,e){if(!t)return null;var n=this.nativeElement(t),o=n.style,i=o.left,r=o.top,s=o.transition;n.style.transition="none",n.style.left=e.left+"px",n.style.top=e.top+"px";var a=_(n);return n.style.left=i,n.style.top=r,n.offsetHeight,n.style.transition=s,a},t.prototype.nativeElement=function(t){return t?t.nativeElement||t:null},t.prototype.position=function(t,e,n){return void 0===n&&(n=1),t&&e?function(t,e,n){void 0===n&&(n=1);var o=e?b(e):null,i=E(t,o),r=i.top,s=i.left,a=i.height,c=i.width,u=x(o,t),p=u.x,l=u.y,h=t.ownerDocument,d=o===h.body||o===h.documentElement?1:n;return{top:r+l*d,left:s+p*d,height:a,width:c}}(this.nativeElement(t),this.nativeElement(e),n):null},t.prototype.removeScroll=function(t,e){return function(t,e){return{top:t.top-e.y,left:t.left-e.x,height:t.height,width:t.width}}(t,e)},t.prototype.restrictToView=function(t){return T(t)},t.prototype.scrollPosition=function(t){return w(this.nativeElement(t))},t.prototype.scrollableParents=function(t){return function(t){var e=[];if(!q()||!lt())return e;for(var n=t.parentElement;n;)(ht.test(dt(n))||n.hasAttribute("data-scrollable"))&&e.push(n),n=n.parentElement;return e.push(window),e}(this.nativeElement(t))},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?_(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.getRelativeContextElement=function(t){if(!t||!vt())return null;for(var e=this.nativeElement(t).parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return v(this.nativeElement(t))},t.prototype.zIndex=function(t,e){return function(t,e){if(!t||!q()||!lt())return null;var n=k(t,e);if(!n)return null;var o=[t].concat(O(t,n)).reduce((function(t,e){var n=e.style.zIndex||window.getComputedStyle(e).zIndex,o=parseInt(n,10);return o>t?o:t}),0);return o?o+1:null}(this.nativeElement(t),this.nativeElement(e))},t.prototype.zoomLevel=function(){return q()&<()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1},t.prototype.isZoomed=function(){return this.zoomLevel()>1},t=Object(o.__decorate)([Object(i.Injectable)()],t)}(),Ot=new i.InjectionToken("Popup Document Scale"),wt=function(){function t(t,e){void 0===e&&(e=1),this._dom=t,this.scale=e}return t.prototype.alignElement=function(t){var e=t.anchor,n=t.element,o=t.anchorAlign,i=t.elementAlign,r=t.margin,s=t.offset,a=t.positionMode,c=this.scale||1,u="fixed"===a||!this._dom.hasOffsetParent(n)?this.absoluteRect(e,n,s,c):this.relativeRect(e,n,s,c),p=yt(this._dom.offset(n),c);return this._dom.align({anchorAlign:o,anchorRect:u,elementAlign:i,elementRect:p,margin:r})},t.prototype.absoluteRect=function(t,e,n,o){var i=this.elementScrollPosition(t,e),r=pt(this._dom.offset(t),n),s=2*o,a=this._dom.stackingElementScroll(e);1!==o&&a&&(a.x/=s,a.y/=s);var c=this._dom.stackingElementOffset(e);return 1!==o&&c&&(c.left/=s,c.top/=s),this._dom.removeScroll(this._dom.addScroll(function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t}(yt(r,o),c),a),i)},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,n,o){var i=pt(this._dom.position(t,e,o),n);return yt(i,o)},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__param)(1,Object(i.Inject)(Ot)),Object(o.__param)(1,Object(i.Optional)()),Object(o.__metadata)("design:paramtypes",[_t,Number])],t)}(),jt=function(){function t(t,e){void 0===e&&(e=1),this._dom=t,this.scale=e}return t.prototype.positionElement=function(t){var e=t.anchor,n=t.currentLocation,o=t.element,i=t.anchorAlign,r=t.elementAlign,s=t.collisions,a=t.margin,c=this._dom,u=this.scale||1,p=c.offsetAtPoint(o,n),l=yt(p,u),h=yt(c.offset(e),u),d=pt(h,n),f=t.viewPort||c.windowViewPort(o);f.width=f.width/u,f.height=f.height/u;var m=c.restrictToView({anchorAlign:i,anchorRect:d,collisions:s,elementAlign:r,elementRect:l,margin:a,viewPort:f}),g=c.addOffset(n,m.offset);return{flip:m.flip,flipped:m.flipped,offset:g}},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__param)(1,Object(i.Inject)(Ot)),Object(o.__param)(1,Object(i.Optional)()),Object(o.__metadata)("design:paramtypes",[_t,Number])],t)}(),Et=function(){function t(t,e){this._dom=t,this._zone=e}return t.prototype.subscribe=function(t){var e=this;q()&&this._zone.runOutsideAngular((function(){e.subscription=Object(F.fromEvent)(e._dom.getWindow(),"resize").pipe(Object(Z.auditTime)(1e3/60)).subscribe((function(){return t()}))}))},t.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.isUnsubscribed=function(){return this.subscription&&this.subscription.closed},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__metadata)("design:paramtypes",[_t,i.NgZone])],t)}(),xt=function(){function t(t,e){this._dom=t,this._zone=e}return t.prototype.forElement=function(t){return this.unsubscribe(),this.element=t,this},t.prototype.subscribe=function(t){var e=this;if(t&&q()&&this.element){var n=this._dom.nativeElement(this.element),o=this._dom.scrollableParents(this.element);this._zone.runOutsideAngular((function(){var i=o.map((function(t){return Object(F.fromEvent)(t,"scroll").pipe(Object(Z.auditTime)(1e3/60))}));e.subscription=F.merge.apply(void 0,i).subscribe((function(i){var r=i.target,s=o.filter((function(t){return t===r})).length>0,a=r===document,c=r===window;(s||a||c)&&t(e.isVisible(n,r))}))}))}},t.prototype.unsubscribe=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.isVisible=function(t,e){var n=this._dom.boundingOffset(t),o=this._dom.boundingOffset(e);return!(1<o.top-n.bottom)&&(!(1<n.top-o.bottom)&&(!(1<n.left-o.right)&&!(1<o.left-n.right)))},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__metadata)("design:paramtypes",[_t,i.NgZone])],t)}(),Ct={expand:function(t){var e="up"===t||"down"===t?"scaleY":"scaleX";return{start:{transform:e+"(0)",transformOrigin:"down"===t?"top":"left"===t?"right":"right"===t?"left":"bottom"},end:{transform:e+"(1)"}}},slide:function(t){var e="left"===t||"right"===t?"translateX":"translateY";return{start:{transform:e+"("+("right"===t||"down"===t?-100:100)+"%)"},end:{transform:e+"(0%)"}}},fade:function(){return{start:{opacity:0},end:{opacity:1}}},zoom:function(){return{start:{transform:"scale(0)"},end:{transform:"scale(1)"}}}},St=function(){function t(t){this.animationBuilder=t,this.start=new i.EventEmitter,this.end=new i.EventEmitter}return t.prototype.play=function(t,e,n){if(!this.flip||this.flip.horizontal!==n.horizontal||this.flip.vertical!==n.vertical){this.flip=n;var o=e.type||"slide",r=Ct[o];if(r){var s=r(this.getDirection(n,e));this.playStates(t,s,e)}else if(Object(i.isDevMode)())throw new Error('Unsupported animation type: "'+o+'". The supported types are slide, expand, fade and zoom.')}},t.prototype.ngOnDestroy=function(){this.stopPlayer()},t.prototype.playStates=function(t,e,n){var o=this;this.stopPlayer();var i=n.duration||100,r=this.animationBuilder.build([Object(ct.style)(e.start),Object(ct.animate)(i+"ms ease-in",Object(ct.style)(e.end))]),s=this.player=r.create(t);s.onDone((function(){o.end.emit(),o.stopPlayer()})),this.start.emit(),s.play()},t.prototype.getDirection=function(t,e){var n=e.direction||"down";return t.horizontal&&("left"===n?n="right":"right"===n&&(n="left")),t.vertical&&("down"===n?n="up":"up"===n&&(n="down")),n},t.prototype.stopPlayer=function(){this.player&&(this.player.destroy(),this.player=null)},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__metadata)("design:paramtypes",[ct.AnimationBuilder])],t)}(),zt={name:"@progress/kendo-angular-popup",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1635939378,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"},Pt={left:-1e4,top:0},Tt=function(){function t(t,e,n,o,r,s,a,c,u){this.container=t,this._alignService=e,this.domService=n,this._positionService=o,this._resizeService=r,this._scrollableService=s,this.animationService=a,this._renderer=c,this._zone=u,this.animate=!0,this.anchorAlign={horizontal:"left",vertical:"bottom"},this.collision={horizontal:"fit",vertical:"flip"},this.popupAlign={horizontal:"left",vertical:"top"},this.copyAnchorStyles=!1,this.positionMode="fixed",this.offset=Pt,this.anchorViewportLeave=new i.EventEmitter,this.close=new i.EventEmitter,this.open=new i.EventEmitter,this.positionChange=new i.EventEmitter,this.resolvedPromise=Promise.resolve(null),this.initialCheck=!0,Object(ut.validatePackage)(zt),this._renderer.addClass(t.nativeElement,"k-animation-container"),this.updateFixedClass()}return t.prototype.ngOnInit=function(){this.reposition=this.reposition.bind(this),this._resizeService.subscribe(this.reposition),this.animationSubscriptions=this.animationService.start.subscribe(this.onAnimationStart.bind(this)),this.animationSubscriptions.add(this.animationService.end.subscribe(this.onAnimationEnd.bind(this))),this._scrollableService.forElement(this.anchor||this.container).subscribe(this.onScroll.bind(this)),this.currentOffset=Pt,this.setZIndex(),this.copyFontStyles(),this.updateFixedClass()},t.prototype.ngOnChanges=function(t){t.copyAnchorStyles&&this.copyFontStyles(),t.positionMode&&this.updateFixedClass()},t.prototype.ngAfterViewInit=function(){var t=this;this.reposition(),this.animate||this.resolvedPromise.then((function(){t.onAnimationEnd()}))},t.prototype.ngAfterViewChecked=function(){var t=this;this.initialCheck?this.initialCheck=!1:this._zone.runOutsideAngular((function(){t.unsubscribeReposition(),t.repositionSubscription=Object(F.from)(t.resolvedPromise).subscribe(t.reposition)}))},t.prototype.ngOnDestroy=function(){this.anchorViewportLeave.complete(),this.positionChange.complete(),this.close.emit(),this.close.complete(),this._resizeService.unsubscribe(),this._scrollableService.unsubscribe(),this.animationSubscriptions.unsubscribe(),this.unsubscribeReposition()},t.prototype.onResize=function(){this.reposition()},t.prototype.onAnimationStart=function(){this._renderer.removeClass(this.container.nativeElement,"k-animation-container-shown")},t.prototype.onAnimationEnd=function(){this._renderer.addClass(this.container.nativeElement,"k-animation-container-shown"),this.open.emit(),this.open.complete()},Object.defineProperty(t.prototype,"currentOffset",{get:function(){return this._currentOffset},set:function(t){this.setContainerStyle("left",t.left+"px"),this.setContainerStyle("top",t.top+"px"),this._currentOffset=t},enumerable:!0,configurable:!0}),t.prototype.setZIndex=function(){this.anchor&&this.setContainerStyle("z-index",String(this.domService.zIndex(this.anchor,this.container)))},t.prototype.reposition=function(){var t=this;if(q()){var e,n,o,i,r,s,a=this.position(),c=a.flip,u=a.offset;(!this.currentOffset||(e=this.currentOffset,n=u,o=e.left,i=e.top,r=n.left,s=n.top,Math.abs(o-r)>=1||Math.abs(i-s)>=1))&&(this.currentOffset=u,W(this.positionChange)&&this._zone.run((function(){return t.positionChange.emit({offset:u,flip:c})}))),this.animate&&this.animationService.play(this.contentContainer.nativeElement,this.animate,c),this.resizeSensor.acceptSize()}},t.prototype.position=function(){var t=this._alignService.alignElement({anchor:this.anchor,anchorAlign:this.anchorAlign,element:this.container,elementAlign:this.popupAlign,margin:this.margin,offset:this.offset,positionMode:this.positionMode});return this._positionService.positionElement({anchor:this.anchor,anchorAlign:this.anchorAlign,collisions:this.collision,currentLocation:t,element:this.container,elementAlign:this.popupAlign,margin:this.margin})},t.prototype.onScroll=function(t){var e=this,n=W(this.anchorViewportLeave);t||!n?this.reposition():n&&this._zone.run((function(){e.anchorViewportLeave.emit()}))},t.prototype.copyFontStyles=function(){var t=this;this.anchor&&this.copyAnchorStyles&&this.domService.getFontStyles(this.anchor).forEach((function(e){return t.setContainerStyle(e.key,e.value)}))},t.prototype.updateFixedClass=function(){var t="fixed"===this.positionMode?"addClass":"removeClass";this._renderer[t](this.container.nativeElement,"k-animation-container-fixed")},t.prototype.setContainerStyle=function(t,e){this._renderer.setStyle(this.container.nativeElement,t,e)},t.prototype.unsubscribeReposition=function(){this.repositionSubscription&&this.repositionSubscription.unsubscribe()},Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"animate",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",i.ElementRef)],t.prototype,"anchor",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"anchorAlign",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"collision",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"popupAlign",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Boolean)],t.prototype,"copyAnchorStyles",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"popupClass",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",String)],t.prototype,"positionMode",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"offset",void 0),Object(o.__decorate)([Object(i.Input)(),Object(o.__metadata)("design:type",Object)],t.prototype,"margin",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"anchorViewportLeave",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"close",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"open",void 0),Object(o.__decorate)([Object(i.Output)(),Object(o.__metadata)("design:type",i.EventEmitter)],t.prototype,"positionChange",void 0),Object(o.__decorate)([Object(i.ViewChild)("container",{static:!0}),Object(o.__metadata)("design:type",i.ElementRef)],t.prototype,"contentContainer",void 0),Object(o.__decorate)([Object(i.ViewChild)(rt,{static:!0}),Object(o.__metadata)("design:type",rt)],t.prototype,"resizeSensor",void 0),t=Object(o.__decorate)([Object(i.Component)({exportAs:"kendo-popup",providers:[wt,St,_t,jt,Et,xt],selector:"kendo-popup",template:'\n <div class="k-popup" [ngClass]="popupClass" #container>\n <ng-content></ng-content>\n <ng-template [ngTemplateOutlet]="content" [ngIf]="content"></ng-template>\n <kendo-resize-sensor [rateLimit]="100" (resize)="onResize()">\n </kendo-resize-sensor>\n </div>\n '}),Object(o.__metadata)("design:paramtypes",[i.ElementRef,wt,_t,jt,Et,xt,St,i.Renderer2,i.NgZone])],t)}(),At=new i.InjectionToken("Popup Container"),kt=function(){function t(t,e,n,o){this.applicationRef=t,this.componentFactoryResolver=e,this.injector=n,this.container=o}return Object.defineProperty(t.prototype,"rootViewContainer",{get:function(){var t=this.applicationRef.components||[];if(t[0])return t[0];throw new Error("\n View Container not found! Inject the POPUP_CONTAINER or define a specific ViewContainerRef via the appendTo option.\n See http://www.telerik.com/kendo-angular-ui/components/popup/api/POPUP_CONTAINER/ for more details.\n ")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rootViewContainerNode",{get:function(){return this.container?this.container.nativeElement:this.getComponentRootNode(this.rootViewContainer)},enumerable:!0,configurable:!0}),t.prototype.open=function(t){void 0===t&&(t={});var e=this.contentFrom(t.content),n=e.component,o=e.nodes,i=this.appendPopup(o,t.appendTo),r=i.instance;this.projectComponentInputs(i,t),i.changeDetectorRef.detectChanges(),n&&n.changeDetectorRef.detectChanges();var s=this.getComponentRootNode(i);return{close:function(){var t;n&&n.destroy(),i.destroy(),(t=s)&&t.parentNode&&t.parentNode.removeChild(t)},content:n,popup:i,popupAnchorViewportLeave:r.anchorViewportLeave,popupClose:r.close,popupElement:s,popupOpen:r.open,popupPositionChange:r.positionChange}},t.prototype.appendPopup=function(t,e){var n=this.createComponent(Tt,t,e);return e||this.rootViewContainerNode.appendChild(this.getComponentRootNode(n)),n},t.prototype.getComponentRootNode=function(t){return t.location.nativeElement},t.prototype.getComponentFactory=function(t){return this.componentFactoryResolver.resolveComponentFactory(t)},t.prototype.createComponent=function(t,e,n){var o=this.getComponentFactory(t);if(n)return n.createComponent(o,void 0,this.injector,e);var i=o.create(this.injector,e);return this.applicationRef.attachView(i.hostView),i},t.prototype.projectComponentInputs=function(t,e){return Object.getOwnPropertyNames(e).filter((function(t){return"content"!==t||e.content instanceof i.TemplateRef})).map((function(n){t.instance[n]=e[n]})),t},t.prototype.contentFrom=function(t){if(!t||t instanceof i.TemplateRef)return{component:null,nodes:[[]]};var e=this.createComponent(t);return{component:e,nodes:[e?[e.location.nativeElement]:[]]}},t=Object(o.__decorate)([Object(i.Injectable)(),Object(o.__param)(3,Object(i.Inject)(At)),Object(o.__param)(3,Object(i.Optional)()),Object(o.__metadata)("design:paramtypes",[i.ApplicationRef,i.ComponentFactoryResolver,i.Injector,i.ElementRef])],t)}(),It=[Tt],Dt=function(){function t(){}return t=Object(o.__decorate)([Object(i.NgModule)({declarations:[It],entryComponents:[It],exports:[It],imports:[U.CommonModule,at],providers:[kt]})],t)}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(7);e.TooltipDirective=o.TooltipDirective;var i=n(15);e.TooltipModule=i.TooltipModule;var r=n(8);e.TooltipSettings=r.TooltipSettings,e.TOOLTIP_SETTINGS=r.TOOLTIP_SETTINGS},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-tooltip",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1635939563,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(4),s=n(7),a=n(12),c=n(9),u=n(16),p=[s.TooltipDirective,c.TooltipContentComponent,u.LocalizedMessagesDirective],l=[a.PopupModule],h=function(){function t(){}return t=o.__decorate([i.NgModule({declarations:[p],entryComponents:[c.TooltipContentComponent],imports:[r.CommonModule].concat(l),exports:[p]})],t)}();e.TooltipModule=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),i=n(0),r=n(10),s=function(t){function e(e){var n=t.call(this)||this;return n.service=e,n}var n;return o.__extends(e,t),n=e,o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"closeTitle",void 0),e=n=o.__decorate([i.Directive({providers:[{provide:r.ComponentMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"[kendoTooltipLocalizedMessages]"}),o.__metadata("design:paramtypes",[r.LocalizationService])],e)}(r.ComponentMessages);e.LocalizedMessagesDirective=s}])}));
|
package/dist/cdn/main.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tslib"),require("@angular/core"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-l10n"),require("rxjs/operators"),require("rxjs"),require("@progress/kendo-licensing"),require("@angular/common")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","@progress/kendo-angular-popup","@progress/kendo-angular-l10n","rxjs/operators","rxjs","@progress/kendo-licensing","@angular/common"],e):"object"==typeof exports?exports.KendoAngularTooltip=e(require("tslib"),require("@angular/core"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-l10n"),require("rxjs/operators"),require("rxjs"),require("@progress/kendo-licensing"),require("@angular/common")):t.KendoAngularTooltip=e(t.tslib,t["@angular/core"],t["@progress/kendo-angular-popup"],t["@progress/kendo-angular-l10n"],t["rxjs/operators"],t.rxjs,t["@progress/kendo-licensing"],t["@angular/common"])}(window,(function(t,e,o,i,n,r,s,a){return function(t){var e={};function o(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=t,o.c=e,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=8)}([function(e,o){e.exports=t},function(t,o){t.exports=e},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(9),s=o(10),a=o(3),p=o(11),l=o(12),u=o(4),c=o(5),d=o(7),h=function(){function t(t,e,o,i,n,a){var u=this;this.tooltipWrapper=t,this.ngZone=e,this.renderer=o,this.popupService=i,this.filter="[title]",this.position="top",this.showAfter=100,this.callout=!0,this.closable=!1,this.offset=6,this.anchor=null,this.validPositions=["top","bottom","right","left"],this.validShowOptions=["hover","click","none"],p.validatePackage(l.packageMetadata),Object.assign(this,n,a),this.ngZone.runOutsideAngular((function(){var t=u.tooltipWrapper.nativeElement;u.anchorTitleSubscription=s.fromEvent(t,"mouseover").pipe(r.filter((function(){return""!==u.filter}))).subscribe((function(t){var e=d.closest(t.target,u.filter);e&&u.hideElementTitle({nativeElement:e})})),u.mouseOverSubscription=s.fromEvent(t,"mouseover").pipe(r.debounceTime(100),r.filter((function(){return""!==u.filter}))).subscribe((function(t){return u.onMouseOver(t)})),u.mouseOutSubscription=s.fromEvent(t,"mouseout").pipe(r.debounceTime(100)).subscribe((function(t){return u.onMouseOut(t)}))}))}return Object.defineProperty(t.prototype,"tooltipTemplate",{get:function(){return this.template},set:function(t){this.template=t},enumerable:!0,configurable:!0}),t.prototype.show=function(t){var e=this;if(!this.popupRef)if(t instanceof Element&&(t={nativeElement:t}),this.anchor=t,"hover"===this.showOn){if(this.popupRef)return;clearTimeout(this.showTimeout),this.showTimeout=window.setTimeout((function(){return e.showContent(e.anchor)}),this.showAfter)}else this.hideElementTitle(this.anchor),this.showContent(this.anchor)},t.prototype.hide=function(){clearTimeout(this.showTimeout);var t=this.anchor&&this.anchor.nativeElement;t&&t.getAttribute("data-title")&&(!t.getAttribute("title")&&t.hasAttribute("title")&&t.setAttribute("title",t.getAttribute("data-title")),t.setAttribute("data-title","")),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe(),this.closeClickSubscription&&this.closeClickSubscription.unsubscribe(),this.closePopup()},t.prototype.toggle=function(t,e){var o=this.anchor&&this.anchor.nativeElement;t instanceof Element&&(t={nativeElement:t}),o!==t.nativeElement&&this.hide(),o===t.nativeElement&&"click"===this.showOn&&this.hide(),void 0===e&&(e=!this.popupRef),e?this.show(t):this.hide()},t.prototype.ngOnInit=function(){void 0===this.showOn&&(this.showOn="hover"),this.verifyProperties()},t.prototype.ngOnChanges=function(t){t.showOn&&this.subscribeClick()},t.prototype.ngAfterViewChecked=function(){this.popupRef&&this.anchor&&!d.hasParent(this.anchor.nativeElement||this.anchor,this.tooltipWrapper.nativeElement)&&(this.anchor=null,this.hide())},t.prototype.ngOnDestroy=function(){this.hide(),this.template=null,this.anchorTitleSubscription.unsubscribe(),this.mouseOverSubscription.unsubscribe(),this.mouseOutSubscription.unsubscribe(),this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe(),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe()},t.prototype.showContent=function(t){var e=this;(t.nativeElement.getAttribute("data-title")||this.template)&&(this.ngZone.run((function(){e.openPopup(t),e.bindContent(e.popupRef.content,t)})),this.popupRef.popupAnchorViewportLeave.pipe(r.take(1)).subscribe((function(){return e.hide()})))},t.prototype.bindContent=function(t,e){var o=this,i=t.instance;this.closeClickSubscription=i.close.subscribe((function(){o.hide()})),this.template?i.templateRef=this.template:i.templateString=this.anchor.nativeElement.getAttribute("data-title"),this.titleTemplate&&(i.titleTemplate=this.titleTemplate),i.closeTitle=this.closeTitle,i.anchor=e,i.callout=this.callout,i.closable=this.closable,i.position=this.position,i.tooltipWidth=this.tooltipWidth,i.tooltipHeight=this.tooltipHeight,this.popupRef.content.changeDetectorRef.detectChanges()},t.prototype.hideElementTitle=function(t){var e=t.nativeElement;e.getAttribute("title")&&(e.setAttribute("data-title",e.getAttribute("title")),e.setAttribute("title",""))},t.prototype.openPopup=function(t){var e=this,o=d.align(this.position,this.offset),i=o.anchorAlign,n=o.popupAlign,r=o.popupMargin;this.popupRef=this.popupService.open({anchor:t,anchorAlign:i,animate:!1,content:c.TooltipContentComponent,collision:d.collision(this.collision,this.position),margin:r,popupAlign:n,popupClass:"k-popup-transparent"}),this.renderer.addClass(this.popupRef.popupElement,"k-tooltip-wrapper"),this.tooltipClass&&this.renderer.addClass(this.popupRef.popupElement,this.tooltipClass);var a=this.popupRef.content.instance;a.callout&&(this.popupPositionChangeSubscription=this.popupRef.popupPositionChange.subscribe((function(t){var o=t.flip,i=!0===o.horizontal||!0===o.vertical;a.updateCalloutPosition(e.position,i)}))),"hover"===this.showOn&&this.ngZone.runOutsideAngular((function(){var t=e.popupRef.popupElement;e.popupMouseOutSubscription=s.fromEvent(t,"mouseout").subscribe((function(t){return e.onMouseOut(t)}))}))},t.prototype.closePopup=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe()},t.prototype.subscribeClick=function(){var t=this;this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),"click"===this.showOn&&(this.mouseClickSubscription=s.fromEvent(document,"click").pipe(r.filter((function(){return""!==t.filter}))).subscribe((function(e){return t.onMouseClick(e,t.tooltipWrapper.nativeElement)})))},t.prototype.onMouseClick=function(t,e){var o=t.target,i=d.closest(o,this.filter),n=this.popupRef&&this.popupRef.popupElement;if(n){if(n.contains(o))return;if(this.closable)return}e.contains(o)&&i?this.toggle(i,!0):n&&this.hide()},t.prototype.onMouseOver=function(t){var e=d.closest(t.target,this.filter);"hover"===this.showOn&&e&&this.toggle(e,!0)},t.prototype.onMouseOut=function(t){if("hover"===this.showOn&&!this.closable){var e=this.popupRef&&this.popupRef.popupElement,o=t.relatedTarget;o&&this.anchor&&d.contains(this.anchor.nativeElement,o)||o&&d.contains(e,o)||this.hide()}},t.prototype.verifyProperties=function(){if(n.isDevMode()){if(!d.containsItem(this.validPositions,this.position))throw new Error("Invalid value provided for position property.The available options are 'top', 'bottom', 'left', or 'right'.");if(!d.containsItem(this.validShowOptions,this.showOn))throw new Error("Invalid value provided for showOn property.The available options are 'hover' or 'none'.")}},i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"filter",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],t.prototype,"titleTemplate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"showOn",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],t.prototype,"showAfter",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],t.prototype,"callout",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],t.prototype,"closable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],t.prototype,"offset",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],t.prototype,"tooltipWidth",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],t.prototype,"tooltipHeight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"tooltipClass",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"collision",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"closeTitle",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef),i.__metadata("design:paramtypes",[n.TemplateRef])],t.prototype,"tooltipTemplate",null),t=i.__decorate([n.Directive({selector:"[kendoTooltip]",exportAs:"kendoTooltip"}),i.__param(4,n.Optional()),i.__param(5,n.Optional()),i.__param(5,n.Inject(u.TOOLTIP_SETTINGS)),i.__metadata("design:paramtypes",[n.ElementRef,n.NgZone,n.Renderer2,a.PopupService,u.TooltipSettings,u.TooltipSettings])],t)}();e.TooltipDirective=h},function(t,e){t.exports=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1);e.TOOLTIP_SETTINGS=new n.InjectionToken("kendo-ui-tooltip-settings");var r=function(){function t(){}return t=i.__decorate([n.Injectable()],t)}();e.TooltipSettings=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(6),s=o(7),a=function(){function t(t,e){this.content=t,this.localizationService=e,this.close=new n.EventEmitter,this.tooltipWidth=null,this.tooltipHeight=null,this.callout=!0,this.calloutStyles=function(t,e,o){var i={},n="top"===t||"bottom"===t;return o?("top"===t?i.bottom="unset":"bottom"===t?i.top="unset":"left"===t?i.right="unset":"right"===t&&(i.left="unset"),i[t]=-e+"px",i.transform=n?"rotateX(180deg)":"rotateY(180deg)",i):(i.transform=n?"rotateX(0deg)":"rotateY(0deg)",i)},this.direction=e.rtl?"rtl":"ltr"}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return"k-widget k-tooltip"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this.closable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cssPosition",{get:function(){return"relative"},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var o=e.rtl;return t.direction=o?"rtl":"ltr"}))},t.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},Object.defineProperty(t.prototype,"closeButtonTitle",{get:function(){return this.closeTitle||this.localizationService.get("closeTitle")},enumerable:!0,configurable:!0}),t.prototype.calloutPositionClass=function(){return{top:"k-callout-s",left:"k-callout-e",bottom:"k-callout-n",right:"k-callout-w"}[this.position]},t.prototype.onCloseClick=function(t){t.preventDefault(),this.close.emit()},t.prototype.updateCalloutPosition=function(t,e){if(this.callout){var o=this.content.nativeElement.querySelector(".k-callout"),i="top"===t||"bottom"===t,n=i?"width":"height",r=i?"left":"top",a=i?"marginLeft":"marginTop",p=o.getBoundingClientRect()[n],l=s.getCenterOffset(this.anchor.nativeElement,r,n),u=s.getCenterOffset(this.content.nativeElement,r,n),c=Math.abs(u-l);if(c>1||0===c||0===Math.round(c)){var d=u-l+p/2;o.style[a]=-d+"px"}var h=this.calloutStyles(t,p,e);Object.keys(h).forEach((function(t){o.style[t]=h[t]}))}},i.__decorate([n.HostBinding("attr.dir"),i.__metadata("design:type",String)],t.prototype,"direction",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"close",void 0),i.__decorate([n.HostBinding("class"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],t.prototype,"cssClasses",null),i.__decorate([n.HostBinding("class.k-tooltip-closable"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"className",null),i.__decorate([n.HostBinding("style.position"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],t.prototype,"cssPosition",null),i.__decorate([n.HostBinding("style.width.px"),n.Input(),i.__metadata("design:type",Number)],t.prototype,"tooltipWidth",void 0),i.__decorate([n.HostBinding("style.height.px"),n.Input(),i.__metadata("design:type",Number)],t.prototype,"tooltipHeight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],t.prototype,"titleTemplate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.ElementRef)],t.prototype,"anchor",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],t.prototype,"closable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],t.prototype,"templateRef",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"templateString",void 0),t=i.__decorate([n.Component({selector:"kendo-tooltip",template:'\n <ng-container kendoTooltipLocalizedMessages\n i18n-closeTitle="kendo.tooltip.closeTitle|The title of the close button"\n closeTitle="Close"\n >\n </ng-container>\n\n <div class="k-tooltip-content">\n <div class="k-tooltip-title" *ngIf="titleTemplate">\n <ng-template\n [ngIf]="titleTemplate"\n [ngTemplateOutlet]="titleTemplate"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n </div>\n\n <ng-template\n [ngIf]="templateRef"\n [ngTemplateOutlet]="templateRef"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n <ng-template\n [ngIf]="templateString">\n {{ templateString }}\n </ng-template>\n </div>\n\n <div *ngIf="closable" class="k-tooltip-button" (click)="onCloseClick($event)">\n <a href="#" class="k-icon k-i-close" [attr.title]="closeButtonTitle"></a>\n </div>\n\n <div class="k-callout" *ngIf="callout" [ngClass]="calloutPositionClass()"></div>\n ',providers:[r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.tooltip"}]}),i.__metadata("design:paramtypes",[n.ElementRef,r.LocalizationService])],t)}();e.TooltipContentComponent=a},function(t,e){t.exports=i},function(t,e,o){"use strict";function i(t){return 9===t.nodeType}Object.defineProperty(e,"__esModule",{value:!0}),e.align=function(t,e){var o={},i={},n={};switch(t){case"top":o={horizontal:"center",vertical:"top"},i={horizontal:"center",vertical:"bottom"},n={horizontal:0,vertical:e};break;case"bottom":o={horizontal:"center",vertical:"bottom"},i={horizontal:"center",vertical:"top"},n={horizontal:0,vertical:e};break;case"right":o={horizontal:"right",vertical:"center"},i={horizontal:"left",vertical:"center"},n={horizontal:e,vertical:0};break;case"left":o={horizontal:"left",vertical:"center"},i={horizontal:"right",vertical:"center"},n={horizontal:e,vertical:0}}return{anchorAlign:o,popupAlign:i,popupMargin:n}},e.collision=function(t,e){return t||("top"===e||"bottom"===e?{horizontal:"fit",vertical:"flip"}:{horizontal:"flip",vertical:"fit"})},e.closest=function(t,e){if(t.closest)return t.closest(e);for(var o=Element.prototype.matches?function(t,e){return t.matches(e)}:function(t,e){return t.msMatchesSelector(e)},n=t;n&&!i(n);){if(o(n,e))return n;n=n.parentNode}},e.contains=function(t,e){return!!t&&(!i(t)&&(t.contains?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY):void 0))},e.hasParent=function(t,e){for(;t&&t!==e;)t=t.parentNode;return t},e.getCenterOffset=function(t,e,o){var i=t.getBoundingClientRect();return i[e]+i[o]/2},e.containsItem=function(t,e){return-1!==t.indexOf(e)}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(2);e.TooltipDirective=i.TooltipDirective;var n=o(13);e.TooltipModule=n.TooltipModule;var r=o(4);e.TooltipSettings=r.TooltipSettings,e.TOOLTIP_SETTINGS=r.TOOLTIP_SETTINGS},function(t,e){t.exports=n},function(t,e){t.exports=r},function(t,e){t.exports=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-tooltip",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1634904566,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(14),s=o(2),a=o(3),p=o(5),l=o(15),u=[s.TooltipDirective,p.TooltipContentComponent,l.LocalizedMessagesDirective],c=[a.PopupModule],d=function(){function t(){}return t=i.__decorate([n.NgModule({declarations:[u],entryComponents:[p.TooltipContentComponent],imports:[r.CommonModule].concat(c),exports:[u]})],t)}();e.TooltipModule=d},function(t,e){t.exports=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(6),s=function(t){function e(e){var o=t.call(this)||this;return o.service=e,o}var o;return i.__extends(e,t),o=e,i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"closeTitle",void 0),e=o=i.__decorate([n.Directive({providers:[{provide:r.ComponentMessages,useExisting:n.forwardRef((function(){return o}))}],selector:"[kendoTooltipLocalizedMessages]"}),i.__metadata("design:paramtypes",[r.LocalizationService])],e)}(r.ComponentMessages);e.LocalizedMessagesDirective=s}])}));
|
|
5
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tslib"),require("@angular/core"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-l10n"),require("rxjs/operators"),require("rxjs"),require("@progress/kendo-licensing"),require("@angular/common")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","@progress/kendo-angular-popup","@progress/kendo-angular-l10n","rxjs/operators","rxjs","@progress/kendo-licensing","@angular/common"],e):"object"==typeof exports?exports.KendoAngularTooltip=e(require("tslib"),require("@angular/core"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-l10n"),require("rxjs/operators"),require("rxjs"),require("@progress/kendo-licensing"),require("@angular/common")):t.KendoAngularTooltip=e(t.tslib,t["@angular/core"],t["@progress/kendo-angular-popup"],t["@progress/kendo-angular-l10n"],t["rxjs/operators"],t.rxjs,t["@progress/kendo-licensing"],t["@angular/common"])}(window,(function(t,e,o,i,n,r,s,a){return function(t){var e={};function o(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=t,o.c=e,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=8)}([function(e,o){e.exports=t},function(t,o){t.exports=e},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(9),s=o(10),a=o(3),p=o(11),l=o(12),u=o(4),c=o(5),d=o(7),h=function(){function t(t,e,o,i,n,a){var u=this;this.tooltipWrapper=t,this.ngZone=e,this.renderer=o,this.popupService=i,this.filter="[title]",this.position="top",this.showAfter=100,this.callout=!0,this.closable=!1,this.offset=6,this.anchor=null,this.validPositions=["top","bottom","right","left"],this.validShowOptions=["hover","click","none"],p.validatePackage(l.packageMetadata),Object.assign(this,n,a),this.ngZone.runOutsideAngular((function(){var t=u.tooltipWrapper.nativeElement;u.anchorTitleSubscription=s.fromEvent(t,"mouseover").pipe(r.filter((function(){return""!==u.filter}))).subscribe((function(t){var e=d.closest(t.target,u.filter);e&&u.hideElementTitle({nativeElement:e})})),u.mouseOverSubscription=s.fromEvent(t,"mouseover").pipe(r.debounceTime(100),r.filter((function(){return""!==u.filter}))).subscribe((function(t){return u.onMouseOver(t)})),u.mouseOutSubscription=s.fromEvent(t,"mouseout").pipe(r.debounceTime(100)).subscribe((function(t){return u.onMouseOut(t)}))}))}return Object.defineProperty(t.prototype,"tooltipTemplate",{get:function(){return this.template},set:function(t){this.template=t},enumerable:!0,configurable:!0}),t.prototype.show=function(t){var e=this;if(!this.popupRef)if(t instanceof Element&&(t={nativeElement:t}),this.anchor=t,"hover"===this.showOn){if(this.popupRef)return;clearTimeout(this.showTimeout),this.showTimeout=window.setTimeout((function(){return e.showContent(e.anchor)}),this.showAfter)}else this.hideElementTitle(this.anchor),this.showContent(this.anchor)},t.prototype.hide=function(){clearTimeout(this.showTimeout);var t=this.anchor&&this.anchor.nativeElement;t&&t.getAttribute("data-title")&&(!t.getAttribute("title")&&t.hasAttribute("title")&&t.setAttribute("title",t.getAttribute("data-title")),t.setAttribute("data-title","")),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe(),this.closeClickSubscription&&this.closeClickSubscription.unsubscribe(),this.closePopup()},t.prototype.toggle=function(t,e){var o=this.anchor&&this.anchor.nativeElement;t instanceof Element&&(t={nativeElement:t}),o!==t.nativeElement&&this.hide(),o===t.nativeElement&&"click"===this.showOn&&this.hide(),void 0===e&&(e=!this.popupRef),e?this.show(t):this.hide()},t.prototype.ngOnInit=function(){void 0===this.showOn&&(this.showOn="hover"),this.verifyProperties()},t.prototype.ngOnChanges=function(t){t.showOn&&this.subscribeClick()},t.prototype.ngAfterViewChecked=function(){this.popupRef&&this.anchor&&!d.hasParent(this.anchor.nativeElement||this.anchor,this.tooltipWrapper.nativeElement)&&(this.anchor=null,this.hide())},t.prototype.ngOnDestroy=function(){this.hide(),this.template=null,this.anchorTitleSubscription.unsubscribe(),this.mouseOverSubscription.unsubscribe(),this.mouseOutSubscription.unsubscribe(),this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe(),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe()},t.prototype.showContent=function(t){var e=this;(t.nativeElement.getAttribute("data-title")||this.template)&&(this.ngZone.run((function(){e.openPopup(t),e.bindContent(e.popupRef.content,t)})),this.popupRef.popupAnchorViewportLeave.pipe(r.take(1)).subscribe((function(){return e.hide()})))},t.prototype.bindContent=function(t,e){var o=this,i=t.instance;this.closeClickSubscription=i.close.subscribe((function(){o.hide()})),this.template?i.templateRef=this.template:i.templateString=this.anchor.nativeElement.getAttribute("data-title"),this.titleTemplate&&(i.titleTemplate=this.titleTemplate),i.closeTitle=this.closeTitle,i.anchor=e,i.callout=this.callout,i.closable=this.closable,i.position=this.position,i.tooltipWidth=this.tooltipWidth,i.tooltipHeight=this.tooltipHeight,this.popupRef.content.changeDetectorRef.detectChanges()},t.prototype.hideElementTitle=function(t){var e=t.nativeElement;e.getAttribute("title")&&(e.setAttribute("data-title",e.getAttribute("title")),e.setAttribute("title",""))},t.prototype.openPopup=function(t){var e=this,o=d.align(this.position,this.offset),i=o.anchorAlign,n=o.popupAlign,r=o.popupMargin;this.popupRef=this.popupService.open({anchor:t,anchorAlign:i,animate:!1,content:c.TooltipContentComponent,collision:d.collision(this.collision,this.position),margin:r,popupAlign:n,popupClass:"k-popup-transparent"}),this.renderer.addClass(this.popupRef.popupElement,"k-tooltip-wrapper"),this.tooltipClass&&this.renderer.addClass(this.popupRef.popupElement,this.tooltipClass);var a=this.popupRef.content.instance;a.callout&&(this.popupPositionChangeSubscription=this.popupRef.popupPositionChange.subscribe((function(t){var o=t.flip,i=!0===o.horizontal||!0===o.vertical;a.updateCalloutPosition(e.position,i)}))),"hover"===this.showOn&&this.ngZone.runOutsideAngular((function(){var t=e.popupRef.popupElement;e.popupMouseOutSubscription=s.fromEvent(t,"mouseout").subscribe((function(t){return e.onMouseOut(t)}))}))},t.prototype.closePopup=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe()},t.prototype.subscribeClick=function(){var t=this;this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),"click"===this.showOn&&(this.mouseClickSubscription=s.fromEvent(document,"click").pipe(r.filter((function(){return""!==t.filter}))).subscribe((function(e){return t.onMouseClick(e,t.tooltipWrapper.nativeElement)})))},t.prototype.onMouseClick=function(t,e){var o=t.target,i=d.closest(o,this.filter),n=this.popupRef&&this.popupRef.popupElement;if(n){if(n.contains(o))return;if(this.closable)return}e.contains(o)&&i?this.toggle(i,!0):n&&this.hide()},t.prototype.onMouseOver=function(t){var e=d.closest(t.target,this.filter);"hover"===this.showOn&&e&&this.toggle(e,!0)},t.prototype.onMouseOut=function(t){if("hover"===this.showOn&&!this.closable){var e=this.popupRef&&this.popupRef.popupElement,o=t.relatedTarget;o&&this.anchor&&d.contains(this.anchor.nativeElement,o)||o&&d.contains(e,o)||this.hide()}},t.prototype.verifyProperties=function(){if(n.isDevMode()){if(!d.containsItem(this.validPositions,this.position))throw new Error("Invalid value provided for position property.The available options are 'top', 'bottom', 'left', or 'right'.");if(!d.containsItem(this.validShowOptions,this.showOn))throw new Error("Invalid value provided for showOn property.The available options are 'hover' or 'none'.")}},i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"filter",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],t.prototype,"titleTemplate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"showOn",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],t.prototype,"showAfter",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],t.prototype,"callout",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],t.prototype,"closable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],t.prototype,"offset",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],t.prototype,"tooltipWidth",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],t.prototype,"tooltipHeight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"tooltipClass",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],t.prototype,"collision",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"closeTitle",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef),i.__metadata("design:paramtypes",[n.TemplateRef])],t.prototype,"tooltipTemplate",null),t=i.__decorate([n.Directive({selector:"[kendoTooltip]",exportAs:"kendoTooltip"}),i.__param(4,n.Optional()),i.__param(5,n.Optional()),i.__param(5,n.Inject(u.TOOLTIP_SETTINGS)),i.__metadata("design:paramtypes",[n.ElementRef,n.NgZone,n.Renderer2,a.PopupService,u.TooltipSettings,u.TooltipSettings])],t)}();e.TooltipDirective=h},function(t,e){t.exports=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1);e.TOOLTIP_SETTINGS=new n.InjectionToken("kendo-ui-tooltip-settings");var r=function(){function t(){}return t=i.__decorate([n.Injectable()],t)}();e.TooltipSettings=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(6),s=o(7),a=function(){function t(t,e){this.content=t,this.localizationService=e,this.close=new n.EventEmitter,this.tooltipWidth=null,this.tooltipHeight=null,this.callout=!0,this.calloutStyles=function(t,e,o){var i={},n="top"===t||"bottom"===t;return o?("top"===t?i.bottom="unset":"bottom"===t?i.top="unset":"left"===t?i.right="unset":"right"===t&&(i.left="unset"),i[t]=-e+"px",i.transform=n?"rotateX(180deg)":"rotateY(180deg)",i):(i.transform=n?"rotateX(0deg)":"rotateY(0deg)",i)},this.direction=e.rtl?"rtl":"ltr"}return Object.defineProperty(t.prototype,"cssClasses",{get:function(){return"k-widget k-tooltip"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"className",{get:function(){return this.closable},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cssPosition",{get:function(){return"relative"},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var o=e.rtl;return t.direction=o?"rtl":"ltr"}))},t.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},Object.defineProperty(t.prototype,"closeButtonTitle",{get:function(){return this.closeTitle||this.localizationService.get("closeTitle")},enumerable:!0,configurable:!0}),t.prototype.calloutPositionClass=function(){return{top:"k-callout-s",left:"k-callout-e",bottom:"k-callout-n",right:"k-callout-w"}[this.position]},t.prototype.onCloseClick=function(t){t.preventDefault(),this.close.emit()},t.prototype.updateCalloutPosition=function(t,e){if(this.callout){var o=this.content.nativeElement.querySelector(".k-callout"),i="top"===t||"bottom"===t,n=i?"width":"height",r=i?"left":"top",a=i?"marginLeft":"marginTop",p=o.getBoundingClientRect()[n],l=s.getCenterOffset(this.anchor.nativeElement,r,n),u=s.getCenterOffset(this.content.nativeElement,r,n),c=Math.abs(u-l);if(c>1||0===c||0===Math.round(c)){var d=u-l+p/2;o.style[a]=-d+"px"}var h=this.calloutStyles(t,p,e);Object.keys(h).forEach((function(t){o.style[t]=h[t]}))}},i.__decorate([n.HostBinding("attr.dir"),i.__metadata("design:type",String)],t.prototype,"direction",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],t.prototype,"close",void 0),i.__decorate([n.HostBinding("class"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],t.prototype,"cssClasses",null),i.__decorate([n.HostBinding("class.k-tooltip-closable"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"className",null),i.__decorate([n.HostBinding("style.position"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],t.prototype,"cssPosition",null),i.__decorate([n.HostBinding("style.width.px"),n.Input(),i.__metadata("design:type",Number)],t.prototype,"tooltipWidth",void 0),i.__decorate([n.HostBinding("style.height.px"),n.Input(),i.__metadata("design:type",Number)],t.prototype,"tooltipHeight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],t.prototype,"titleTemplate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.ElementRef)],t.prototype,"anchor",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],t.prototype,"closable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],t.prototype,"templateRef",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],t.prototype,"templateString",void 0),t=i.__decorate([n.Component({selector:"kendo-tooltip",template:'\n <ng-container kendoTooltipLocalizedMessages\n i18n-closeTitle="kendo.tooltip.closeTitle|The title of the close button"\n closeTitle="Close"\n >\n </ng-container>\n\n <div class="k-tooltip-content">\n <div class="k-tooltip-title" *ngIf="titleTemplate">\n <ng-template\n [ngIf]="titleTemplate"\n [ngTemplateOutlet]="titleTemplate"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n </div>\n\n <ng-template\n [ngIf]="templateRef"\n [ngTemplateOutlet]="templateRef"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n <ng-template\n [ngIf]="templateString">\n {{ templateString }}\n </ng-template>\n </div>\n\n <div *ngIf="closable" class="k-tooltip-button" (click)="onCloseClick($event)">\n <a href="#" class="k-icon k-i-close" [attr.title]="closeButtonTitle"></a>\n </div>\n\n <div class="k-callout" *ngIf="callout" [ngClass]="calloutPositionClass()"></div>\n ',providers:[r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.tooltip"}]}),i.__metadata("design:paramtypes",[n.ElementRef,r.LocalizationService])],t)}();e.TooltipContentComponent=a},function(t,e){t.exports=i},function(t,e,o){"use strict";function i(t){return 9===t.nodeType}Object.defineProperty(e,"__esModule",{value:!0}),e.align=function(t,e){var o={},i={},n={};switch(t){case"top":o={horizontal:"center",vertical:"top"},i={horizontal:"center",vertical:"bottom"},n={horizontal:0,vertical:e};break;case"bottom":o={horizontal:"center",vertical:"bottom"},i={horizontal:"center",vertical:"top"},n={horizontal:0,vertical:e};break;case"right":o={horizontal:"right",vertical:"center"},i={horizontal:"left",vertical:"center"},n={horizontal:e,vertical:0};break;case"left":o={horizontal:"left",vertical:"center"},i={horizontal:"right",vertical:"center"},n={horizontal:e,vertical:0}}return{anchorAlign:o,popupAlign:i,popupMargin:n}},e.collision=function(t,e){return t||("top"===e||"bottom"===e?{horizontal:"fit",vertical:"flip"}:{horizontal:"flip",vertical:"fit"})},e.closest=function(t,e){if(t.closest)return t.closest(e);for(var o=Element.prototype.matches?function(t,e){return t.matches(e)}:function(t,e){return t.msMatchesSelector(e)},n=t;n&&!i(n);){if(o(n,e))return n;n=n.parentNode}},e.contains=function(t,e){return!!t&&(!i(t)&&(t.contains?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY):void 0))},e.hasParent=function(t,e){for(;t&&t!==e;)t=t.parentNode;return t},e.getCenterOffset=function(t,e,o){var i=t.getBoundingClientRect();return i[e]+i[o]/2},e.containsItem=function(t,e){return-1!==t.indexOf(e)}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(2);e.TooltipDirective=i.TooltipDirective;var n=o(13);e.TooltipModule=n.TooltipModule;var r=o(4);e.TooltipSettings=r.TooltipSettings,e.TOOLTIP_SETTINGS=r.TOOLTIP_SETTINGS},function(t,e){t.exports=n},function(t,e){t.exports=r},function(t,e){t.exports=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-tooltip",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1635939563,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(14),s=o(2),a=o(3),p=o(5),l=o(15),u=[s.TooltipDirective,p.TooltipContentComponent,l.LocalizedMessagesDirective],c=[a.PopupModule],d=function(){function t(){}return t=i.__decorate([n.NgModule({declarations:[u],entryComponents:[p.TooltipContentComponent],imports:[r.CommonModule].concat(c),exports:[u]})],t)}();e.TooltipModule=d},function(t,e){t.exports=a},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(6),s=function(t){function e(e){var o=t.call(this)||this;return o.service=e,o}var o;return i.__extends(e,t),o=e,i.__decorate([n.Input(),i.__metadata("design:type",String)],e.prototype,"closeTitle",void 0),e=o=i.__decorate([n.Directive({providers:[{provide:r.ComponentMessages,useExisting:n.forwardRef((function(){return o}))}],selector:"[kendoTooltipLocalizedMessages]"}),i.__metadata("design:paramtypes",[r.LocalizationService])],e)}(r.ComponentMessages);e.LocalizedMessagesDirective=s}])}));
|
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-tooltip',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1635939563,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-tooltip',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1635939563,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -18,7 +18,7 @@ const packageMetadata = {
|
|
|
18
18
|
name: '@progress/kendo-angular-tooltip',
|
|
19
19
|
productName: 'Kendo UI for Angular',
|
|
20
20
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
21
|
-
publishDate:
|
|
21
|
+
publishDate: 1635939563,
|
|
22
22
|
version: '',
|
|
23
23
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
24
24
|
};
|
package/dist/fesm5/index.js
CHANGED
|
@@ -18,7 +18,7 @@ var packageMetadata = {
|
|
|
18
18
|
name: '@progress/kendo-angular-tooltip',
|
|
19
19
|
productName: 'Kendo UI for Angular',
|
|
20
20
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
21
|
-
publishDate:
|
|
21
|
+
publishDate: 1635939563,
|
|
22
22
|
version: '',
|
|
23
23
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
24
24
|
};
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-tooltip',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1635939563,
|
|
15
15
|
version: '',
|
|
16
16
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
17
17
|
};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
System.register("@progress/kendo-angular-tooltip",["tslib","@angular/common","@angular/core","@progress/kendo-angular-popup","@progress/kendo-licensing","rxjs/operators","rxjs","@progress/kendo-angular-l10n"],function(r){var s,p,a,l,c,u,h,d;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){s=e(t)},function(t){p=e(t)},function(t){a=e(t)},function(t){l=e(t)},function(t){c=e(t)},function(t){u=e(t)},function(t){h=e(t)},function(t){d=e(t)}],execute:function(){function i(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var o,n;o=[function(t,e){t.exports=a},function(t,e){t.exports=s},function(t,e,o){"use strict";function n(t){return 9===t.nodeType}Object.defineProperty(e,"__esModule",{value:!0}),e.align=function(t,e){var o={},i={},n={};switch(t){case"top":o={horizontal:"center",vertical:"top"},i={horizontal:"center",vertical:"bottom"},n={horizontal:0,vertical:e};break;case"bottom":o={horizontal:"center",vertical:"bottom"},i={horizontal:"center",vertical:"top"},n={horizontal:0,vertical:e};break;case"right":o={horizontal:"right",vertical:"center"},i={horizontal:"left",vertical:"center"},n={horizontal:e,vertical:0};break;case"left":o={horizontal:"left",vertical:"center"},i={horizontal:"right",vertical:"center"},n={horizontal:e,vertical:0}}return{anchorAlign:o,popupAlign:i,popupMargin:n}},e.collision=function(t,e){return t||("top"===e||"bottom"===e?{horizontal:"fit",vertical:"flip"}:{horizontal:"flip",vertical:"fit"})},e.closest=function(t,e){if(t.closest)return t.closest(e);for(var o=Element.prototype.matches?function(t,e){return t.matches(e)}:function(t,e){return t.msMatchesSelector(e)},i=t;i&&!n(i);){if(o(i,e))return i;i=i.parentNode}},e.contains=function(t,e){return!!t&&!n(t)&&(t.contains?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY):void 0)},e.hasParent=function(t,e){for(;t&&t!==e;)t=t.parentNode;return t},e.getCenterOffset=function(t,e,o){t=t.getBoundingClientRect();return t[e]+t[o]/2},e.containsItem=function(t,e){return-1!==t.indexOf(e)}},function(t,e){t.exports=d},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(1),n=o(0),r=o(3),l=o(2),r=(Object.defineProperty(s.prototype,"cssClasses",{get:function(){return"k-widget k-tooltip"},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"className",{get:function(){return this.closable},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"cssPosition",{get:function(){return"relative"},enumerable:!0,configurable:!0}),s.prototype.ngOnInit=function(){var e=this;this.dynamicRTLSubscription=this.localizationService.changes.subscribe(function(t){t=t.rtl;return e.direction=t?"rtl":"ltr"})},s.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},Object.defineProperty(s.prototype,"closeButtonTitle",{get:function(){return this.closeTitle||this.localizationService.get("closeTitle")},enumerable:!0,configurable:!0}),s.prototype.calloutPositionClass=function(){return{top:"k-callout-s",left:"k-callout-e",bottom:"k-callout-n",right:"k-callout-w"}[this.position]},s.prototype.onCloseClick=function(t){t.preventDefault(),this.close.emit()},s.prototype.updateCalloutPosition=function(t,e){var o,i,n,r,s,p,a;this.callout&&(p=(r="top"===t||"bottom"===t)?"width":"height",s=r?"left":"top",i=r?"marginLeft":"marginTop",n=(o=this.content.nativeElement.querySelector(".k-callout")).getBoundingClientRect()[p],r=l.getCenterOffset(this.anchor.nativeElement,s,p),s=l.getCenterOffset(this.content.nativeElement,s,p),(1<(p=Math.abs(s-r))||0===p||0===Math.round(p))&&(o.style[i]=-(s-r+n/2)+"px"),a=this.calloutStyles(t,n,e),Object.keys(a).forEach(function(t){o.style[t]=a[t]}))},i.__decorate([n.HostBinding("attr.dir"),i.__metadata("design:type",String)],s.prototype,"direction",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],s.prototype,"close",void 0),i.__decorate([n.HostBinding("class"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],s.prototype,"cssClasses",null),i.__decorate([n.HostBinding("class.k-tooltip-closable"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],s.prototype,"className",null),i.__decorate([n.HostBinding("style.position"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],s.prototype,"cssPosition",null),i.__decorate([n.HostBinding("style.width.px"),n.Input(),i.__metadata("design:type",Number)],s.prototype,"tooltipWidth",void 0),i.__decorate([n.HostBinding("style.height.px"),n.Input(),i.__metadata("design:type",Number)],s.prototype,"tooltipHeight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],s.prototype,"titleTemplate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.ElementRef)],s.prototype,"anchor",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],s.prototype,"closable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],s.prototype,"templateRef",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],s.prototype,"templateString",void 0),i.__decorate([n.Component({selector:"kendo-tooltip",template:'\n <ng-container kendoTooltipLocalizedMessages\n i18n-closeTitle="kendo.tooltip.closeTitle|The title of the close button"\n closeTitle="Close"\n >\n </ng-container>\n\n <div class="k-tooltip-content">\n <div class="k-tooltip-title" *ngIf="titleTemplate">\n <ng-template\n [ngIf]="titleTemplate"\n [ngTemplateOutlet]="titleTemplate"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n </div>\n\n <ng-template\n [ngIf]="templateRef"\n [ngTemplateOutlet]="templateRef"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n <ng-template\n [ngIf]="templateString">\n {{ templateString }}\n </ng-template>\n </div>\n\n <div *ngIf="closable" class="k-tooltip-button" (click)="onCloseClick($event)">\n <a href="#" class="k-icon k-i-close" [attr.title]="closeButtonTitle"></a>\n </div>\n\n <div class="k-callout" *ngIf="callout" [ngClass]="calloutPositionClass()"></div>\n ',providers:[r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.tooltip"}]}),i.__metadata("design:paramtypes",[n.ElementRef,r.LocalizationService])],s));function s(t,e){this.content=t,this.localizationService=e,this.close=new n.EventEmitter,this.tooltipWidth=null,this.tooltipHeight=null,this.callout=!0,this.calloutStyles=function(t,e,o){var i={},n="top"===t||"bottom"===t;return o?("top"===t?i.bottom="unset":"bottom"===t?i.top="unset":"left"===t?i.right="unset":"right"===t&&(i.left="unset"),i[t]=-e+"px",i.transform=n?"rotateX(180deg)":"rotateY(180deg)"):i.transform=n?"rotateX(0deg)":"rotateY(0deg)",i},this.direction=e.rtl?"rtl":"ltr"}e.TooltipContentComponent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(1),o=o(0);e.TOOLTIP_SETTINGS=new o.InjectionToken("kendo-ui-tooltip-settings");o=i.__decorate([o.Injectable()],n);function n(){}e.TooltipSettings=o},function(t,e){t.exports=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(1),n=o(0),p=o(14),a=o(13),r=o(6),l=o(12),c=o(11),s=o(5),u=o(4),h=o(2),s=(Object.defineProperty(d.prototype,"tooltipTemplate",{get:function(){return this.template},set:function(t){this.template=t},enumerable:!0,configurable:!0}),d.prototype.show=function(t){var e=this;this.popupRef||(t instanceof Element&&(t={nativeElement:t}),this.anchor=t,"hover"===this.showOn?this.popupRef||(clearTimeout(this.showTimeout),this.showTimeout=window.setTimeout(function(){return e.showContent(e.anchor)},this.showAfter)):(this.hideElementTitle(this.anchor),this.showContent(this.anchor)))},d.prototype.hide=function(){clearTimeout(this.showTimeout);var t=this.anchor&&this.anchor.nativeElement;t&&t.getAttribute("data-title")&&(!t.getAttribute("title")&&t.hasAttribute("title")&&t.setAttribute("title",t.getAttribute("data-title")),t.setAttribute("data-title","")),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe(),this.closeClickSubscription&&this.closeClickSubscription.unsubscribe(),this.closePopup()},d.prototype.toggle=function(t,e){var o=this.anchor&&this.anchor.nativeElement;o!==(t=t instanceof Element?{nativeElement:t}:t).nativeElement&&this.hide(),o===t.nativeElement&&"click"===this.showOn&&this.hide(),(e=void 0===e?!this.popupRef:e)?this.show(t):this.hide()},d.prototype.ngOnInit=function(){void 0===this.showOn&&(this.showOn="hover"),this.verifyProperties()},d.prototype.ngOnChanges=function(t){t.showOn&&this.subscribeClick()},d.prototype.ngAfterViewChecked=function(){this.popupRef&&this.anchor&&!h.hasParent(this.anchor.nativeElement||this.anchor,this.tooltipWrapper.nativeElement)&&(this.anchor=null,this.hide())},d.prototype.ngOnDestroy=function(){this.hide(),this.template=null,this.anchorTitleSubscription.unsubscribe(),this.mouseOverSubscription.unsubscribe(),this.mouseOutSubscription.unsubscribe(),this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe(),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe()},d.prototype.showContent=function(t){var e=this;(t.nativeElement.getAttribute("data-title")||this.template)&&(this.ngZone.run(function(){e.openPopup(t),e.bindContent(e.popupRef.content,t)}),this.popupRef.popupAnchorViewportLeave.pipe(p.take(1)).subscribe(function(){return e.hide()}))},d.prototype.bindContent=function(t,e){var o=this,t=t.instance;this.closeClickSubscription=t.close.subscribe(function(){o.hide()}),this.template?t.templateRef=this.template:t.templateString=this.anchor.nativeElement.getAttribute("data-title"),this.titleTemplate&&(t.titleTemplate=this.titleTemplate),t.closeTitle=this.closeTitle,t.anchor=e,t.callout=this.callout,t.closable=this.closable,t.position=this.position,t.tooltipWidth=this.tooltipWidth,t.tooltipHeight=this.tooltipHeight,this.popupRef.content.changeDetectorRef.detectChanges()},d.prototype.hideElementTitle=function(t){t=t.nativeElement;t.getAttribute("title")&&(t.setAttribute("data-title",t.getAttribute("title")),t.setAttribute("title",""))},d.prototype.openPopup=function(t){var e=this,o=h.align(this.position,this.offset),i=o.anchorAlign,n=o.popupAlign,o=o.popupMargin;this.popupRef=this.popupService.open({anchor:t,anchorAlign:i,animate:!1,content:u.TooltipContentComponent,collision:h.collision(this.collision,this.position),margin:o,popupAlign:n,popupClass:"k-popup-transparent"}),this.renderer.addClass(this.popupRef.popupElement,"k-tooltip-wrapper"),this.tooltipClass&&this.renderer.addClass(this.popupRef.popupElement,this.tooltipClass);var r=this.popupRef.content.instance;r.callout&&(this.popupPositionChangeSubscription=this.popupRef.popupPositionChange.subscribe(function(t){t=t.flip,t=!0===t.horizontal||!0===t.vertical;r.updateCalloutPosition(e.position,t)})),"hover"===this.showOn&&this.ngZone.runOutsideAngular(function(){var t=e.popupRef.popupElement;e.popupMouseOutSubscription=a.fromEvent(t,"mouseout").subscribe(function(t){return e.onMouseOut(t)})})},d.prototype.closePopup=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe()},d.prototype.subscribeClick=function(){var e=this;this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),"click"===this.showOn&&(this.mouseClickSubscription=a.fromEvent(document,"click").pipe(p.filter(function(){return""!==e.filter})).subscribe(function(t){return e.onMouseClick(t,e.tooltipWrapper.nativeElement)}))},d.prototype.onMouseClick=function(t,e){var o=t.target,i=h.closest(o,this.filter),t=this.popupRef&&this.popupRef.popupElement;if(t){if(t.contains(o))return;if(this.closable)return}e.contains(o)&&i?this.toggle(i,!0):t&&this.hide()},d.prototype.onMouseOver=function(t){t=h.closest(t.target,this.filter);"hover"===this.showOn&&t&&this.toggle(t,!0)},d.prototype.onMouseOut=function(t){var e;"hover"!==this.showOn||this.closable||(e=this.popupRef&&this.popupRef.popupElement,(t=t.relatedTarget)&&this.anchor&&h.contains(this.anchor.nativeElement,t)||t&&h.contains(e,t)||this.hide())},d.prototype.verifyProperties=function(){if(n.isDevMode()){if(!h.containsItem(this.validPositions,this.position))throw new Error("Invalid value provided for position property.The available options are 'top', 'bottom', 'left', or 'right'.");if(!h.containsItem(this.validShowOptions,this.showOn))throw new Error("Invalid value provided for showOn property.The available options are 'hover' or 'none'.")}},i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"filter",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],d.prototype,"titleTemplate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"showOn",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],d.prototype,"showAfter",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],d.prototype,"callout",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],d.prototype,"closable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],d.prototype,"offset",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],d.prototype,"tooltipWidth",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],d.prototype,"tooltipHeight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"tooltipClass",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],d.prototype,"collision",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"closeTitle",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef),i.__metadata("design:paramtypes",[n.TemplateRef])],d.prototype,"tooltipTemplate",null),i.__decorate([n.Directive({selector:"[kendoTooltip]",exportAs:"kendoTooltip"}),i.__param(4,n.Optional()),i.__param(5,n.Optional()),i.__param(5,n.Inject(s.TOOLTIP_SETTINGS)),i.__metadata("design:paramtypes",[n.ElementRef,n.NgZone,n.Renderer2,r.PopupService,s.TooltipSettings,s.TooltipSettings])],d));function d(t,e,o,i,n,r){var s=this;this.tooltipWrapper=t,this.ngZone=e,this.renderer=o,this.popupService=i,this.filter="[title]",this.position="top",this.showAfter=100,this.callout=!0,this.closable=!1,this.offset=6,this.anchor=null,this.validPositions=["top","bottom","right","left"],this.validShowOptions=["hover","click","none"],l.validatePackage(c.packageMetadata),Object.assign(this,n,r),this.ngZone.runOutsideAngular(function(){var t=s.tooltipWrapper.nativeElement;s.anchorTitleSubscription=a.fromEvent(t,"mouseover").pipe(p.filter(function(){return""!==s.filter})).subscribe(function(t){t=h.closest(t.target,s.filter);t&&s.hideElementTitle({nativeElement:t})}),s.mouseOverSubscription=a.fromEvent(t,"mouseover").pipe(p.debounceTime(100),p.filter(function(){return""!==s.filter})).subscribe(function(t){return s.onMouseOver(t)}),s.mouseOutSubscription=a.fromEvent(t,"mouseout").pipe(p.debounceTime(100)).subscribe(function(t){return s.onMouseOut(t)})})}e.TooltipDirective=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n,r=o(1),s=o(0),o=o(3),o=(i=o.ComponentMessages,r.__extends(p,i),n=p,r.__decorate([s.Input(),r.__metadata("design:type",String)],p.prototype,"closeTitle",void 0),n=r.__decorate([s.Directive({providers:[{provide:o.ComponentMessages,useExisting:s.forwardRef(function(){return n})}],selector:"[kendoTooltipLocalizedMessages]"}),r.__metadata("design:paramtypes",[o.LocalizationService])],p));function p(t){var e=i.call(this)||this;return e.service=t,e}e.LocalizedMessagesDirective=o},function(t,e){t.exports=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(1),n=o(0),r=o(9),s=o(7),p=o(6),a=o(4),o=o(8),o=[s.TooltipDirective,a.TooltipContentComponent,o.LocalizedMessagesDirective],p=[p.PopupModule],o=i.__decorate([n.NgModule({declarations:[o],entryComponents:[a.TooltipContentComponent],imports:[r.CommonModule].concat(p),exports:[o]})],l);function l(){}e.TooltipModule=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-tooltip",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1634904566,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e){t.exports=c},function(t,e){t.exports=h},function(t,e){t.exports=u},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(7);e.TooltipDirective=i.TooltipDirective;i=o(10);e.TooltipModule=i.TooltipModule;o=o(5);e.TooltipSettings=o.TooltipSettings,e.TOOLTIP_SETTINGS=o.TOOLTIP_SETTINGS,function(t){for(var e in t)r(e,t[e])}(e)}],n={},i.m=o,i.c=n,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},i.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=15)}}});
|
|
5
|
+
System.register("@progress/kendo-angular-tooltip",["@angular/core","@progress/kendo-angular-popup","tslib","@angular/common","rxjs","@progress/kendo-licensing","rxjs/operators","@progress/kendo-angular-l10n"],function(r){var s,p,a,l,c,u,h,d;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){s=e(t)},function(t){p=e(t)},function(t){a=e(t)},function(t){l=e(t)},function(t){c=e(t)},function(t){u=e(t)},function(t){h=e(t)},function(t){d=e(t)}],execute:function(){function i(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var o,n;o=[function(t,e){t.exports=s},function(t,e){t.exports=a},function(t,e,o){"use strict";function n(t){return 9===t.nodeType}Object.defineProperty(e,"__esModule",{value:!0}),e.align=function(t,e){var o={},i={},n={};switch(t){case"top":o={horizontal:"center",vertical:"top"},i={horizontal:"center",vertical:"bottom"},n={horizontal:0,vertical:e};break;case"bottom":o={horizontal:"center",vertical:"bottom"},i={horizontal:"center",vertical:"top"},n={horizontal:0,vertical:e};break;case"right":o={horizontal:"right",vertical:"center"},i={horizontal:"left",vertical:"center"},n={horizontal:e,vertical:0};break;case"left":o={horizontal:"left",vertical:"center"},i={horizontal:"right",vertical:"center"},n={horizontal:e,vertical:0}}return{anchorAlign:o,popupAlign:i,popupMargin:n}},e.collision=function(t,e){return t||("top"===e||"bottom"===e?{horizontal:"fit",vertical:"flip"}:{horizontal:"flip",vertical:"fit"})},e.closest=function(t,e){if(t.closest)return t.closest(e);for(var o=Element.prototype.matches?function(t,e){return t.matches(e)}:function(t,e){return t.msMatchesSelector(e)},i=t;i&&!n(i);){if(o(i,e))return i;i=i.parentNode}},e.contains=function(t,e){return!!t&&!n(t)&&(t.contains?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY):void 0)},e.hasParent=function(t,e){for(;t&&t!==e;)t=t.parentNode;return t},e.getCenterOffset=function(t,e,o){t=t.getBoundingClientRect();return t[e]+t[o]/2},e.containsItem=function(t,e){return-1!==t.indexOf(e)}},function(t,e){t.exports=d},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(1),n=o(0),r=o(3),l=o(2),r=(Object.defineProperty(s.prototype,"cssClasses",{get:function(){return"k-widget k-tooltip"},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"className",{get:function(){return this.closable},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"cssPosition",{get:function(){return"relative"},enumerable:!0,configurable:!0}),s.prototype.ngOnInit=function(){var e=this;this.dynamicRTLSubscription=this.localizationService.changes.subscribe(function(t){t=t.rtl;return e.direction=t?"rtl":"ltr"})},s.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},Object.defineProperty(s.prototype,"closeButtonTitle",{get:function(){return this.closeTitle||this.localizationService.get("closeTitle")},enumerable:!0,configurable:!0}),s.prototype.calloutPositionClass=function(){return{top:"k-callout-s",left:"k-callout-e",bottom:"k-callout-n",right:"k-callout-w"}[this.position]},s.prototype.onCloseClick=function(t){t.preventDefault(),this.close.emit()},s.prototype.updateCalloutPosition=function(t,e){var o,i,n,r,s,p,a;this.callout&&(p=(r="top"===t||"bottom"===t)?"width":"height",s=r?"left":"top",i=r?"marginLeft":"marginTop",n=(o=this.content.nativeElement.querySelector(".k-callout")).getBoundingClientRect()[p],r=l.getCenterOffset(this.anchor.nativeElement,s,p),s=l.getCenterOffset(this.content.nativeElement,s,p),(1<(p=Math.abs(s-r))||0===p||0===Math.round(p))&&(o.style[i]=-(s-r+n/2)+"px"),a=this.calloutStyles(t,n,e),Object.keys(a).forEach(function(t){o.style[t]=a[t]}))},i.__decorate([n.HostBinding("attr.dir"),i.__metadata("design:type",String)],s.prototype,"direction",void 0),i.__decorate([n.Output(),i.__metadata("design:type",n.EventEmitter)],s.prototype,"close",void 0),i.__decorate([n.HostBinding("class"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],s.prototype,"cssClasses",null),i.__decorate([n.HostBinding("class.k-tooltip-closable"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],s.prototype,"className",null),i.__decorate([n.HostBinding("style.position"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],s.prototype,"cssPosition",null),i.__decorate([n.HostBinding("style.width.px"),n.Input(),i.__metadata("design:type",Number)],s.prototype,"tooltipWidth",void 0),i.__decorate([n.HostBinding("style.height.px"),n.Input(),i.__metadata("design:type",Number)],s.prototype,"tooltipHeight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],s.prototype,"titleTemplate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.ElementRef)],s.prototype,"anchor",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],s.prototype,"closable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],s.prototype,"templateRef",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],s.prototype,"templateString",void 0),i.__decorate([n.Component({selector:"kendo-tooltip",template:'\n <ng-container kendoTooltipLocalizedMessages\n i18n-closeTitle="kendo.tooltip.closeTitle|The title of the close button"\n closeTitle="Close"\n >\n </ng-container>\n\n <div class="k-tooltip-content">\n <div class="k-tooltip-title" *ngIf="titleTemplate">\n <ng-template\n [ngIf]="titleTemplate"\n [ngTemplateOutlet]="titleTemplate"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n </div>\n\n <ng-template\n [ngIf]="templateRef"\n [ngTemplateOutlet]="templateRef"\n [ngTemplateOutletContext]="{ $implicit: anchor, anchor: anchor }">\n </ng-template>\n <ng-template\n [ngIf]="templateString">\n {{ templateString }}\n </ng-template>\n </div>\n\n <div *ngIf="closable" class="k-tooltip-button" (click)="onCloseClick($event)">\n <a href="#" class="k-icon k-i-close" [attr.title]="closeButtonTitle"></a>\n </div>\n\n <div class="k-callout" *ngIf="callout" [ngClass]="calloutPositionClass()"></div>\n ',providers:[r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.tooltip"}]}),i.__metadata("design:paramtypes",[n.ElementRef,r.LocalizationService])],s));function s(t,e){this.content=t,this.localizationService=e,this.close=new n.EventEmitter,this.tooltipWidth=null,this.tooltipHeight=null,this.callout=!0,this.calloutStyles=function(t,e,o){var i={},n="top"===t||"bottom"===t;return o?("top"===t?i.bottom="unset":"bottom"===t?i.top="unset":"left"===t?i.right="unset":"right"===t&&(i.left="unset"),i[t]=-e+"px",i.transform=n?"rotateX(180deg)":"rotateY(180deg)"):i.transform=n?"rotateX(0deg)":"rotateY(0deg)",i},this.direction=e.rtl?"rtl":"ltr"}e.TooltipContentComponent=r},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(1),o=o(0);e.TOOLTIP_SETTINGS=new o.InjectionToken("kendo-ui-tooltip-settings");o=i.__decorate([o.Injectable()],n);function n(){}e.TooltipSettings=o},function(t,e){t.exports=p},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(1),n=o(0),p=o(14),a=o(13),r=o(6),l=o(12),c=o(11),s=o(5),u=o(4),h=o(2),s=(Object.defineProperty(d.prototype,"tooltipTemplate",{get:function(){return this.template},set:function(t){this.template=t},enumerable:!0,configurable:!0}),d.prototype.show=function(t){var e=this;this.popupRef||(t instanceof Element&&(t={nativeElement:t}),this.anchor=t,"hover"===this.showOn?this.popupRef||(clearTimeout(this.showTimeout),this.showTimeout=window.setTimeout(function(){return e.showContent(e.anchor)},this.showAfter)):(this.hideElementTitle(this.anchor),this.showContent(this.anchor)))},d.prototype.hide=function(){clearTimeout(this.showTimeout);var t=this.anchor&&this.anchor.nativeElement;t&&t.getAttribute("data-title")&&(!t.getAttribute("title")&&t.hasAttribute("title")&&t.setAttribute("title",t.getAttribute("data-title")),t.setAttribute("data-title","")),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe(),this.closeClickSubscription&&this.closeClickSubscription.unsubscribe(),this.closePopup()},d.prototype.toggle=function(t,e){var o=this.anchor&&this.anchor.nativeElement;o!==(t=t instanceof Element?{nativeElement:t}:t).nativeElement&&this.hide(),o===t.nativeElement&&"click"===this.showOn&&this.hide(),(e=void 0===e?!this.popupRef:e)?this.show(t):this.hide()},d.prototype.ngOnInit=function(){void 0===this.showOn&&(this.showOn="hover"),this.verifyProperties()},d.prototype.ngOnChanges=function(t){t.showOn&&this.subscribeClick()},d.prototype.ngAfterViewChecked=function(){this.popupRef&&this.anchor&&!h.hasParent(this.anchor.nativeElement||this.anchor,this.tooltipWrapper.nativeElement)&&(this.anchor=null,this.hide())},d.prototype.ngOnDestroy=function(){this.hide(),this.template=null,this.anchorTitleSubscription.unsubscribe(),this.mouseOverSubscription.unsubscribe(),this.mouseOutSubscription.unsubscribe(),this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe(),this.popupMouseOutSubscription&&this.popupMouseOutSubscription.unsubscribe()},d.prototype.showContent=function(t){var e=this;(t.nativeElement.getAttribute("data-title")||this.template)&&(this.ngZone.run(function(){e.openPopup(t),e.bindContent(e.popupRef.content,t)}),this.popupRef.popupAnchorViewportLeave.pipe(p.take(1)).subscribe(function(){return e.hide()}))},d.prototype.bindContent=function(t,e){var o=this,t=t.instance;this.closeClickSubscription=t.close.subscribe(function(){o.hide()}),this.template?t.templateRef=this.template:t.templateString=this.anchor.nativeElement.getAttribute("data-title"),this.titleTemplate&&(t.titleTemplate=this.titleTemplate),t.closeTitle=this.closeTitle,t.anchor=e,t.callout=this.callout,t.closable=this.closable,t.position=this.position,t.tooltipWidth=this.tooltipWidth,t.tooltipHeight=this.tooltipHeight,this.popupRef.content.changeDetectorRef.detectChanges()},d.prototype.hideElementTitle=function(t){t=t.nativeElement;t.getAttribute("title")&&(t.setAttribute("data-title",t.getAttribute("title")),t.setAttribute("title",""))},d.prototype.openPopup=function(t){var e=this,o=h.align(this.position,this.offset),i=o.anchorAlign,n=o.popupAlign,o=o.popupMargin;this.popupRef=this.popupService.open({anchor:t,anchorAlign:i,animate:!1,content:u.TooltipContentComponent,collision:h.collision(this.collision,this.position),margin:o,popupAlign:n,popupClass:"k-popup-transparent"}),this.renderer.addClass(this.popupRef.popupElement,"k-tooltip-wrapper"),this.tooltipClass&&this.renderer.addClass(this.popupRef.popupElement,this.tooltipClass);var r=this.popupRef.content.instance;r.callout&&(this.popupPositionChangeSubscription=this.popupRef.popupPositionChange.subscribe(function(t){t=t.flip,t=!0===t.horizontal||!0===t.vertical;r.updateCalloutPosition(e.position,t)})),"hover"===this.showOn&&this.ngZone.runOutsideAngular(function(){var t=e.popupRef.popupElement;e.popupMouseOutSubscription=a.fromEvent(t,"mouseout").subscribe(function(t){return e.onMouseOut(t)})})},d.prototype.closePopup=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.popupPositionChangeSubscription&&this.popupPositionChangeSubscription.unsubscribe()},d.prototype.subscribeClick=function(){var e=this;this.mouseClickSubscription&&this.mouseClickSubscription.unsubscribe(),"click"===this.showOn&&(this.mouseClickSubscription=a.fromEvent(document,"click").pipe(p.filter(function(){return""!==e.filter})).subscribe(function(t){return e.onMouseClick(t,e.tooltipWrapper.nativeElement)}))},d.prototype.onMouseClick=function(t,e){var o=t.target,i=h.closest(o,this.filter),t=this.popupRef&&this.popupRef.popupElement;if(t){if(t.contains(o))return;if(this.closable)return}e.contains(o)&&i?this.toggle(i,!0):t&&this.hide()},d.prototype.onMouseOver=function(t){t=h.closest(t.target,this.filter);"hover"===this.showOn&&t&&this.toggle(t,!0)},d.prototype.onMouseOut=function(t){var e;"hover"!==this.showOn||this.closable||(e=this.popupRef&&this.popupRef.popupElement,(t=t.relatedTarget)&&this.anchor&&h.contains(this.anchor.nativeElement,t)||t&&h.contains(e,t)||this.hide())},d.prototype.verifyProperties=function(){if(n.isDevMode()){if(!h.containsItem(this.validPositions,this.position))throw new Error("Invalid value provided for position property.The available options are 'top', 'bottom', 'left', or 'right'.");if(!h.containsItem(this.validShowOptions,this.showOn))throw new Error("Invalid value provided for showOn property.The available options are 'hover' or 'none'.")}},i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"filter",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"position",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef)],d.prototype,"titleTemplate",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"showOn",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],d.prototype,"showAfter",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],d.prototype,"callout",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Boolean)],d.prototype,"closable",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],d.prototype,"offset",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],d.prototype,"tooltipWidth",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Number)],d.prototype,"tooltipHeight",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"tooltipClass",void 0),i.__decorate([n.Input(),i.__metadata("design:type",Object)],d.prototype,"collision",void 0),i.__decorate([n.Input(),i.__metadata("design:type",String)],d.prototype,"closeTitle",void 0),i.__decorate([n.Input(),i.__metadata("design:type",n.TemplateRef),i.__metadata("design:paramtypes",[n.TemplateRef])],d.prototype,"tooltipTemplate",null),i.__decorate([n.Directive({selector:"[kendoTooltip]",exportAs:"kendoTooltip"}),i.__param(4,n.Optional()),i.__param(5,n.Optional()),i.__param(5,n.Inject(s.TOOLTIP_SETTINGS)),i.__metadata("design:paramtypes",[n.ElementRef,n.NgZone,n.Renderer2,r.PopupService,s.TooltipSettings,s.TooltipSettings])],d));function d(t,e,o,i,n,r){var s=this;this.tooltipWrapper=t,this.ngZone=e,this.renderer=o,this.popupService=i,this.filter="[title]",this.position="top",this.showAfter=100,this.callout=!0,this.closable=!1,this.offset=6,this.anchor=null,this.validPositions=["top","bottom","right","left"],this.validShowOptions=["hover","click","none"],l.validatePackage(c.packageMetadata),Object.assign(this,n,r),this.ngZone.runOutsideAngular(function(){var t=s.tooltipWrapper.nativeElement;s.anchorTitleSubscription=a.fromEvent(t,"mouseover").pipe(p.filter(function(){return""!==s.filter})).subscribe(function(t){t=h.closest(t.target,s.filter);t&&s.hideElementTitle({nativeElement:t})}),s.mouseOverSubscription=a.fromEvent(t,"mouseover").pipe(p.debounceTime(100),p.filter(function(){return""!==s.filter})).subscribe(function(t){return s.onMouseOver(t)}),s.mouseOutSubscription=a.fromEvent(t,"mouseout").pipe(p.debounceTime(100)).subscribe(function(t){return s.onMouseOut(t)})})}e.TooltipDirective=s},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n,r=o(1),s=o(0),o=o(3),o=(i=o.ComponentMessages,r.__extends(p,i),n=p,r.__decorate([s.Input(),r.__metadata("design:type",String)],p.prototype,"closeTitle",void 0),n=r.__decorate([s.Directive({providers:[{provide:o.ComponentMessages,useExisting:s.forwardRef(function(){return n})}],selector:"[kendoTooltipLocalizedMessages]"}),r.__metadata("design:paramtypes",[o.LocalizationService])],p));function p(t){var e=i.call(this)||this;return e.service=t,e}e.LocalizedMessagesDirective=o},function(t,e){t.exports=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(1),n=o(0),r=o(9),s=o(7),p=o(6),a=o(4),o=o(8),o=[s.TooltipDirective,a.TooltipContentComponent,o.LocalizedMessagesDirective],p=[p.PopupModule],o=i.__decorate([n.NgModule({declarations:[o],entryComponents:[a.TooltipContentComponent],imports:[r.CommonModule].concat(p),exports:[o]})],l);function l(){}e.TooltipModule=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-tooltip",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1635939563,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e){t.exports=u},function(t,e){t.exports=c},function(t,e){t.exports=h},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o(7);e.TooltipDirective=i.TooltipDirective;i=o(10);e.TooltipModule=i.TooltipModule;o=o(5);e.TooltipSettings=o.TooltipSettings,e.TOOLTIP_SETTINGS=o.TOOLTIP_SETTINGS,function(t){for(var e in t)r(e,t[e])}(e)}],n={},i.m=o,i.c=n,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})},i.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=15)}}});
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Kendo UI Tooltip for Angular",
|
|
4
4
|
"author": "Progress",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"version": "3.0.3
|
|
6
|
+
"version": "3.0.3",
|
|
7
7
|
"main": "dist/npm/index.js",
|
|
8
8
|
"module": "dist/fesm5/index.js",
|
|
9
9
|
"es2015": "dist/fesm2015/index.js",
|