@syncfusion/ej2-vue-popups 20.1.57 → 20.1.58

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### Popup
6
+
7
+ #### Bug Fixes
8
+
9
+ - `#I376806` - Now, the drop down list popup will close properly even after interaction with more than one drop down component.
10
+
5
11
  ## 19.4.38 (2021-12-17)
6
12
 
7
13
  ### Tooltip
@@ -1,38 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-popups.umd.min.js
3
- * version : 20.1.57
3
+ * version : 20.1.58
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- /*!
11
- * filename: ej2-vue-popups.umd.min.js
12
- * version : 20.1.47
13
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
14
- * Use of this code is subject to the terms of our license.
15
- * A copy of the current license can be obtained at any time by e-mailing
16
- * licensing@syncfusion.com. Any infringement will be prosecuted under
17
- * applicable laws.
18
- */
19
- /*!
20
- * filename: ej2-vue-popups.umd.min.js
21
- * version : 19.4.38
22
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
23
- * Use of this code is subject to the terms of our license.
24
- * A copy of the current license can be obtained at any time by e-mailing
25
- * licensing@syncfusion.com. Any infringement will be prosecuted under
26
- * applicable laws.
27
- */
28
- /*!
29
- * filename: ej2-vue-popups.umd.min.js
30
- * version : 19.1.63
31
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
32
- * Use of this code is subject to the terms of our license.
33
- * A copy of the current license can be obtained at any time by e-mailing
34
- * licensing@syncfusion.com. Any infringement will be prosecuted under
35
- * applicable laws.
36
- */
37
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-popups"),require("vue"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-popups","vue","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Popups,e.Vue,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o,r){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),a={name:"e-buttons",install:function(e){e.component(a.name,c)}},p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){},t=i([o.EJComponentDecorator({})],t)}(n),u={name:"e-dialogbutton",install:function(e){e.component(u.name,p)}},l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},h=["allowDragging","animationSettings","buttons","closeOnEscape","content","cssClass","enableHtmlSanitizer","enablePersistence","enableResize","enableRtl","footerTemplate","header","height","isModal","locale","minHeight","position","resizeHandles","showCloseIcon","target","visible","width","zIndex","beforeClose","beforeOpen","beforeSanitizeHtml","close","created","destroyed","drag","dragStart","dragStop","open","overlayClick","resizeStart","resizeStop","resizing"],d=["visible"],y=function(e){function n(){var n=e.call(this)||this;return n.propKeys=h,n.models=d,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-buttons":"e-dialogbutton"},n.tagNameMapper={},n.ej2Instances=new t.Dialog({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return l(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.trigger=function(e,t,n){if("change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){s=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!r.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}}else{var o,s=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!r.isUndefined(t[s])&&(this.$emit("update:"+s,t[s]),this.$emit("modelchanged",t[s]))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,n)},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.getButtons=function(e){return this.ej2Instances.getButtons(e)},n.prototype.hide=function(e){return this.ej2Instances.hide(e)},n.prototype.refreshPosition=function(){return this.ej2Instances.refreshPosition()},n.prototype.sanitizeHelper=function(e){return this.ej2Instances.sanitizeHelper(e)},n.prototype.show=function(e){return this.ej2Instances.show(e)},n=f([o.EJComponentDecorator({props:h,model:{event:"modelchanged"}})],n)}(o.ComponentBase),m={name:"ejs-dialog",install:function(e){e.component(m.name,y),e.component(u.name,p),e.component(a.name,c)}},g=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),j=function(e,t,n,o){var r,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},b=["animation","closeDelay","content","cssClass","enableHtmlParse","enableHtmlSanitizer","enablePersistence","enableRtl","height","isSticky","locale","mouseTrail","offsetX","offsetY","openDelay","opensOn","position","showTipPointer","target","tipPointerPosition","width","windowCollision","afterClose","afterOpen","beforeClose","beforeCollision","beforeOpen","beforeRender","created","destroyed"],P=[],v=function(e){function n(){var n=e.call(this)||this;return n.propKeys=b,n.models=P,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.Tooltip({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return g(n,e),n.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},n.prototype.render=function(e){return e("div",this.$slots.default)},n.prototype.close=function(e){return this.ej2Instances.close(e)},n.prototype.open=function(e,t){return this.ej2Instances.open(e,t)},n.prototype.refresh=function(e){return this.ej2Instances.refresh(e)},n=j([o.EJComponentDecorator({props:b})],n)}(o.ComponentBase),_={name:"ejs-tooltip",install:function(e){e.component(_.name,v)}};e.ButtonsDirective=c,e.DialogButtonDirective=p,e.ButtonsPlugin=a,e.DialogButtonPlugin=u,e.DialogComponent=y,e.DialogPlugin=m,e.TooltipComponent=v,e.TooltipPlugin=_,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-popups"),require("@syncfusion/ej2-vue-base"),require("vue-class-component"),require("@syncfusion/ej2-base"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-popups","@syncfusion/ej2-vue-base","vue-class-component","@syncfusion/ej2-base","vue"],t):t(e.ej={},e.ej2Popups,e.ej2VueBase,e.Vue3,e.ej2Base,e.Vue$1)}(this,function(e,t,n,o,s,i){"use strict";i=i&&i.hasOwnProperty("default")?i.default:i;var r,a=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),c=function(e,t,n,o){var s,i=arguments.length,r=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(i<3?s(r):i>3?s(t,n,r):s(t,n))||r);return i>3&&r&&Object.defineProperty(t,n,r),r},l=!n.gh,p=function(e){function t(){return e.call(this,arguments)||this}return a(t,e),t.prototype.render=function(e){if(n.gh){var t=n.gh||e,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.gh?this.$slots.default():this.$slots.default),t("div",{class:"e-directive"},o)}},t.prototype.updated=function(){n.gh&&this.custom&&this.custom()},t.prototype.getTag=function(){return"e-buttons"},t=c([n.EJComponentDecorator({},l)],t)}(r=!l||parseInt(n.allVue.version)<3?o.Vue:i),u={name:"e-buttons",install:function(e){e.component(u.name,p)}},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){},t.prototype.getTag=function(){return"e-dialogbutton"},t=c([n.EJComponentDecorator({},l)],t)}(r),f={name:"e-dialogbutton",install:function(e){e.component(f.name,h)}},d=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(e,t,n,o){var s,i=arguments.length,r=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(i<3?s(r):i>3?s(t,n,r):s(t,n))||r);return i>3&&r&&Object.defineProperty(t,n,r),r},g=["isLazyUpdate","allowDragging","animationSettings","buttons","closeOnEscape","content","cssClass","enableHtmlSanitizer","enablePersistence","enableResize","enableRtl","footerTemplate","header","height","isModal","locale","minHeight","position","resizeHandles","showCloseIcon","target","visible","width","zIndex","beforeClose","beforeOpen","beforeSanitizeHtml","close","created","destroyed","drag","dragStart","dragStop","open","overlayClick","resizeStart","resizeStop","resizing"],y=["visible"],j=n.getProps({props:g}),v=(j[0],j[1]),b=Object.keys(v);b.push("modelchanged");for(var I=0,_=y;I<_.length;I++){var P=_[I];b.push("update:"+P)}var O=!n.gh,$=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=g,n.models=y,n.hasChildDirective=!0,n.hasInjectedModules=!1,n.tagMapper={"e-buttons":"e-dialogbutton"},n.tagNameMapper={},n.isVue3=!O,n.ej2Instances=new t.Dialog({}),n.ej2Instances._trigger=n.ej2Instances.trigger,n.ej2Instances.trigger=n.trigger,n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return d(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],i=this.templateCollection[o];if(i&&i.length){for(var r=0,a=i;r<a.length;r++){var c=a[r];s.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.trigger=function(e,t,n){if(O||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){i=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!s.isUndefined(t[i])&&(O?(this.$emit("update:"+i,t[i]),this.$emit("modelchanged",t[i])):(this.ej2Instances.vueInstance.$emit("update:"+i,t[i]),this.ej2Instances.vueInstance.$emit("modelchanged",t[i])))}}else{var o,i=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!s.isUndefined(t[i])&&(O?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+i,t[i]),this.$emit("modelchanged",t[i])):(this.ej2Instances.vueInstance.$emit("update:"+i,t[i]),this.ej2Instances.vueInstance.$emit("modelchanged",t[i]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[i])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,n)},o.prototype.render=function(e){var t=n.gh||e,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.gh?this.$slots.default():this.$slots.default),t("div",o)},o.prototype.custom=function(){this.updated()},o.prototype.getButtons=function(e){return this.ej2Instances.getButtons(e)},o.prototype.getDimension=function(){return this.ej2Instances.getDimension()},o.prototype.hide=function(e){return this.ej2Instances.hide(e)},o.prototype.refreshPosition=function(){return this.ej2Instances.refreshPosition()},o.prototype.sanitizeHelper=function(e){return this.ej2Instances.sanitizeHelper(e)},o.prototype.show=function(e){return this.ej2Instances.show(e)},o=m([n.EJComponentDecorator({props:g,model:{event:"modelchanged"}},O)],o)}(n.ComponentBase),C={name:"ejs-dialog",install:function(e){e.component(C.name,$),e.component(f.name,h),e.component(u.name,p)}},w=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),D=function(e,t,n,o){var s,i=arguments.length,r=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(i<3?s(r):i>3?s(t,n,r):s(t,n))||r);return i>3&&r&&Object.defineProperty(t,n,r),r},T=["isLazyUpdate","animation","closeDelay","container","content","cssClass","enableHtmlParse","enableHtmlSanitizer","enablePersistence","enableRtl","height","isSticky","locale","mouseTrail","offsetX","offsetY","openDelay","opensOn","position","showTipPointer","target","tipPointerPosition","width","windowCollision","afterClose","afterOpen","beforeClose","beforeCollision","beforeOpen","beforeRender","created","destroyed"],M=[],V=n.getProps({props:T}),z=(V[0],V[1]),R=Object.keys(z);R.push("modelchanged");for(var H=0,B=M;H<B.length;H++){var S=B[H];R.push("update:"+S)}var k=!n.gh,U=function(e){function o(){var n=e.call(this,arguments)||this;return n.propKeys=T,n.models=M,n.hasChildDirective=!1,n.hasInjectedModules=!1,n.tagMapper={},n.tagNameMapper={},n.isVue3=!k,n.ej2Instances=new t.Tooltip({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return w(o,e),o.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var o=n[t],i=this.templateCollection[o];if(i&&i.length){for(var r=0,a=i;r<a.length;r++){var c=a[r];s.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},o.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},o.prototype.render=function(e){var t=n.gh||e,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.gh?this.$slots.default():this.$slots.default),t("div",o)},o.prototype.custom=function(){this.updated()},o.prototype.close=function(e){return this.ej2Instances.close(e)},o.prototype.open=function(e,t){return this.ej2Instances.open(e,t)},o.prototype.refresh=function(e){return this.ej2Instances.refresh(e)},o=D([n.EJComponentDecorator({props:T},k)],o)}(n.ComponentBase),L={name:"ejs-tooltip",install:function(e){e.component(L.name,U)}};e.ButtonsDirective=p,e.DialogButtonDirective=h,e.ButtonsPlugin=u,e.DialogButtonPlugin=f,e.DialogComponent=$,e.DialogPlugin=C,e.TooltipComponent=U,e.TooltipPlugin=L,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
38
11
  //# sourceMappingURL=ej2-vue-popups.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-popups.umd.min.js","sources":["../src/dialog/buttons.directive.js","../src/dialog/dialog.component.js","../src/tooltip/tooltip.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport Vue from 'vue';\nimport { EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nvar ButtonsDirective = /** @class */ (function (_super) {\n __extends(ButtonsDirective, _super);\n function ButtonsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ButtonsDirective.prototype.render = function () {\n return;\n };\n ButtonsDirective = __decorate([\n EJComponentDecorator({})\n ], ButtonsDirective);\n return ButtonsDirective;\n}(Vue));\nexport { ButtonsDirective };\nexport var ButtonsPlugin = {\n name: 'e-buttons',\n install: function (Vue) {\n Vue.component(ButtonsPlugin.name, ButtonsDirective);\n }\n};\n/**\n * 'e-button' directive represent a button of Vue Dialog\n * It must be contained in a Dialog component(`ejs-dialog`).\n * ```html\n * <ejs-Dialog id='dialog' :showCloseIcon=true>\n * <e-buttons>\n * <e-dialogbutton :buttonModal='okButton'></e-dialogbutton>\n * <e-dialogbutton :buttonModal='cancelButton'></e-dialogbutton>\n * </e-buttons>\n * </ejs-Dialog>\n * ```\n */\nvar DialogButtonDirective = /** @class */ (function (_super) {\n __extends(DialogButtonDirective, _super);\n function DialogButtonDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DialogButtonDirective.prototype.render = function () {\n return;\n };\n DialogButtonDirective = __decorate([\n EJComponentDecorator({})\n ], DialogButtonDirective);\n return DialogButtonDirective;\n}(Vue));\nexport { DialogButtonDirective };\nexport var DialogButtonPlugin = {\n name: 'e-dialogbutton',\n install: function (Vue) {\n Vue.component(DialogButtonPlugin.name, DialogButtonDirective);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { Dialog } from '@syncfusion/ej2-popups';\nimport { ButtonsDirective, DialogButtonDirective, ButtonsPlugin, DialogButtonPlugin } from './buttons.directive';\nexport var properties = ['allowDragging', 'animationSettings', 'buttons', 'closeOnEscape', 'content', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'footerTemplate', 'header', 'height', 'isModal', 'locale', 'minHeight', 'position', 'resizeHandles', 'showCloseIcon', 'target', 'visible', 'width', 'zIndex', 'beforeClose', 'beforeOpen', 'beforeSanitizeHtml', 'close', 'created', 'destroyed', 'drag', 'dragStart', 'dragStop', 'open', 'overlayClick', 'resizeStart', 'resizeStop', 'resizing'];\nexport var modelProps = ['visible'];\n/**\n * Represents the VueJS Dialog component\n * ```html\n * <ejs-dialog></ejs-dialog>\n * ```\n */\nvar DialogComponent = /** @class */ (function (_super) {\n __extends(DialogComponent, _super);\n function DialogComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = true;\n _this.hasInjectedModules = false;\n _this.tagMapper = { \"e-buttons\": \"e-dialogbutton\" };\n _this.tagNameMapper = {};\n _this.ej2Instances = new Dialog({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n DialogComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n DialogComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n if (this.ej2Instances && this.ej2Instances._trigger) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n DialogComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n DialogComponent.prototype.getButtons = function (index) {\n return this.ej2Instances.getButtons(index);\n };\n DialogComponent.prototype.hide = function (event) {\n return this.ej2Instances.hide(event);\n };\n DialogComponent.prototype.refreshPosition = function () {\n return this.ej2Instances.refreshPosition();\n };\n DialogComponent.prototype.sanitizeHelper = function (value) {\n return this.ej2Instances.sanitizeHelper(value);\n };\n DialogComponent.prototype.show = function (isFullScreen) {\n return this.ej2Instances.show(isFullScreen);\n };\n DialogComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n })\n ], DialogComponent);\n return DialogComponent;\n}(ComponentBase));\nexport { DialogComponent };\nexport var DialogPlugin = {\n name: 'ejs-dialog',\n install: function (Vue) {\n Vue.component(DialogPlugin.name, DialogComponent);\n Vue.component(DialogButtonPlugin.name, DialogButtonDirective);\n Vue.component(ButtonsPlugin.name, ButtonsDirective);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { Tooltip } from '@syncfusion/ej2-popups';\nexport var properties = ['animation', 'closeDelay', 'content', 'cssClass', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'isSticky', 'locale', 'mouseTrail', 'offsetX', 'offsetY', 'openDelay', 'opensOn', 'position', 'showTipPointer', 'target', 'tipPointerPosition', 'width', 'windowCollision', 'afterClose', 'afterOpen', 'beforeClose', 'beforeCollision', 'beforeOpen', 'beforeRender', 'created', 'destroyed'];\nexport var modelProps = [];\n/**\n * Represents the VueJS Tooltip component that displays a piece of information about the target element on mouse hover.\n * ```html\n * <ejs-tooltip content='Tooltip content'>Show Tooltip</ejs-tooltip>\n * ```\n */\nvar TooltipComponent = /** @class */ (function (_super) {\n __extends(TooltipComponent, _super);\n function TooltipComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = false;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new Tooltip({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n TooltipComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n TooltipComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n TooltipComponent.prototype.close = function (animation) {\n return this.ej2Instances.close(animation);\n };\n TooltipComponent.prototype.open = function (element, animation) {\n return this.ej2Instances.open(element, animation);\n };\n TooltipComponent.prototype.refresh = function (target) {\n return this.ej2Instances.refresh(target);\n };\n TooltipComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], TooltipComponent);\n return TooltipComponent;\n}(ComponentBase));\nexport { TooltipComponent };\nexport var TooltipPlugin = {\n name: 'ejs-tooltip',\n install: function (Vue) {\n Vue.component(TooltipPlugin.name, TooltipComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","ButtonsDirective","_super","apply","render","EJComponentDecorator","Vue","ButtonsPlugin","name","install","component","DialogButtonDirective","DialogButtonPlugin","properties","modelProps","DialogComponent","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-buttons","tagNameMapper","ej2Instances","Dialog","_trigger","trigger","bindProperties","_setProperties","setProperties","prop","muteOnChange","keys","map","model","test","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","createElement","$slots","default","getButtons","index","hide","event","refreshPosition","sanitizeHelper","value","show","isFullScreen","props","ComponentBase","DialogPlugin","TooltipComponent","Tooltip","close","animation","open","element","refresh","TooltipPlugin"],"mappings":"ydAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAaxCK,EAA0C,SAAUC,EAAYC,EAAQC,EAAKC,GAC7E,IAA2HjB,EAAvHkB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOf,OAAOoB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAASzB,EAAIc,EAAWW,MAAIJ,GAAKH,EAAI,EAAIlB,EAAEqB,GAAKH,EAAI,EAAIlB,EAAEe,EAAQC,EAAKK,GAAKrB,EAAEe,EAAQC,KAASK,GAChJ,OAAOH,E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,SAAUC,GACzC,OAAOlF,KAAK0C,aAAauC,MAAMC,IAEnCH,EAAiB7E,UAAUiF,KAAO,SAAUC,EAASF,GACjD,OAAOlF,KAAK0C,aAAayC,KAAKC,EAASF,IAE3CH,EAAiB7E,UAAUmF,QAAU,SAAU/E,GAC3C,OAAON,KAAK0C,aAAa2C,QAAQ/E,IAErCyE,EAAmB3E,GACfkB,wBACIsD,MAAO9C,KAEZiD,IAELF,iBAESS,GACP7D,KAAM,cACNC,QAAS,SAAUH,GACfA,EAAII,UAAU2D,EAAc7D,KAAMsD"}
1
+ {"version":3,"file":"ej2-vue-popups.umd.min.js","sources":["../src/dialog/buttons.directive.js","../src/dialog/dialog.component.js","../src/tooltip/tooltip.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { EJComponentDecorator, allVue, gh } from '@syncfusion/ej2-vue-base';\nimport * as Vue3 from 'vue-class-component';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nimport Vue from 'vue';\n// {{VueImport}}\nexport var isExecute = gh ? false : true;\nvar vueImport;\nif (!isExecute || parseInt(allVue.version) < 3) {\n vueImport = Vue3.Vue;\n}\nelse {\n vueImport = Vue;\n}\nvar ButtonsDirective = /** @class */ (function (_super) {\n __extends(ButtonsDirective, _super);\n function ButtonsDirective() {\n return _super.call(this, arguments) || this;\n }\n ButtonsDirective.prototype.render = function (createElement) {\n if (gh) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n };\n ButtonsDirective.prototype.updated = function () {\n if (gh && this.custom) {\n this.custom();\n }\n };\n ButtonsDirective.prototype.getTag = function () {\n return 'e-buttons';\n };\n ButtonsDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n /* Start Options({\n inject: {\n custom: {\n default: null\n }\n }\n }) End */\n ], ButtonsDirective);\n return ButtonsDirective;\n}(vueImport));\nexport { ButtonsDirective };\nexport var ButtonsPlugin = {\n name: 'e-buttons',\n install: function (Vue) {\n Vue.component(ButtonsPlugin.name, ButtonsDirective);\n }\n};\n/**\n * 'e-button' directive represent a button of Vue Dialog\n * It must be contained in a Dialog component(`ejs-dialog`).\n * ```html\n * <ejs-Dialog id='dialog' :showCloseIcon=true>\n * <e-buttons>\n * <e-dialogbutton :buttonModal='okButton'></e-dialogbutton>\n * <e-dialogbutton :buttonModal='cancelButton'></e-dialogbutton>\n * </e-buttons>\n * </ejs-Dialog>\n * ```\n */\nvar DialogButtonDirective = /** @class */ (function (_super) {\n __extends(DialogButtonDirective, _super);\n function DialogButtonDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DialogButtonDirective.prototype.render = function () {\n return;\n };\n DialogButtonDirective.prototype.getTag = function () {\n return 'e-dialogbutton';\n };\n DialogButtonDirective = __decorate([\n EJComponentDecorator({}, isExecute)\n ], DialogButtonDirective);\n return DialogButtonDirective;\n}(vueImport));\nexport { DialogButtonDirective };\nexport var DialogButtonPlugin = {\n name: 'e-dialogbutton',\n install: function (Vue) {\n Vue.component(DialogButtonPlugin.name, DialogButtonDirective);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { Dialog } from '@syncfusion/ej2-popups';\nimport { ButtonsDirective, DialogButtonDirective, ButtonsPlugin, DialogButtonPlugin } from './buttons.directive';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'allowDragging', 'animationSettings', 'buttons', 'closeOnEscape', 'content', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'footerTemplate', 'header', 'height', 'isModal', 'locale', 'minHeight', 'position', 'resizeHandles', 'showCloseIcon', 'target', 'visible', 'width', 'zIndex', 'beforeClose', 'beforeOpen', 'beforeSanitizeHtml', 'close', 'created', 'destroyed', 'drag', 'dragStart', 'dragStop', 'open', 'overlayClick', 'resizeStart', 'resizeStop', 'resizing'];\nexport var modelProps = ['visible'];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * Represents the VueJS Dialog component\n * ```html\n * <ejs-dialog></ejs-dialog>\n * ```\n */\nvar DialogComponent = /** @class */ (function (_super) {\n __extends(DialogComponent, _super);\n function DialogComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = true;\n _this.hasInjectedModules = false;\n _this.tagMapper = { \"e-buttons\": \"e-dialogbutton\" };\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new Dialog({});\n _this.ej2Instances._trigger = _this.ej2Instances.trigger;\n _this.ej2Instances.trigger = _this.trigger;\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n DialogComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n DialogComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n DialogComponent.prototype.trigger = function (eventName, eventProp, successHandler) {\n if (!isExecute) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/checked|value/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);\n }\n else {\n if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n }\n else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {\n var key = this.models.toString().match(/currentView|selectedDate/) || [];\n var propKey = key[0];\n if (eventProp && key && !isUndefined(eventProp[propKey])) {\n if (!isExecute) {\n this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);\n this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);\n }\n else {\n this.$emit('update:' + propKey, eventProp[propKey]);\n this.$emit('modelchanged', eventProp[propKey]);\n }\n }\n }\n if ((this.ej2Instances && this.ej2Instances._trigger)) {\n this.ej2Instances._trigger(eventName, eventProp, successHandler);\n }\n };\n DialogComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n DialogComponent.prototype.custom = function () {\n this.updated();\n };\n DialogComponent.prototype.getButtons = function (index) {\n return this.ej2Instances.getButtons(index);\n };\n DialogComponent.prototype.getDimension = function () {\n return this.ej2Instances.getDimension();\n };\n DialogComponent.prototype.hide = function (event) {\n return this.ej2Instances.hide(event);\n };\n DialogComponent.prototype.refreshPosition = function () {\n return this.ej2Instances.refreshPosition();\n };\n DialogComponent.prototype.sanitizeHelper = function (value) {\n return this.ej2Instances.sanitizeHelper(value);\n };\n DialogComponent.prototype.show = function (isFullScreen) {\n return this.ej2Instances.show(isFullScreen);\n };\n DialogComponent = __decorate([\n EJComponentDecorator({\n props: properties,\n model: {\n event: 'modelchanged'\n }\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], DialogComponent);\n return DialogComponent;\n}(ComponentBase));\nexport { DialogComponent };\nexport var DialogPlugin = {\n name: 'ejs-dialog',\n install: function (Vue) {\n Vue.component(DialogPlugin.name, DialogComponent);\n Vue.component(DialogButtonPlugin.name, DialogButtonDirective);\n Vue.component(ButtonsPlugin.name, ButtonsDirective);\n }\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { Tooltip } from '@syncfusion/ej2-popups';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'animation', 'closeDelay', 'container', 'content', 'cssClass', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'isSticky', 'locale', 'mouseTrail', 'offsetX', 'offsetY', 'openDelay', 'opensOn', 'position', 'showTipPointer', 'target', 'tipPointerPosition', 'width', 'windowCollision', 'afterClose', 'afterOpen', 'beforeClose', 'beforeCollision', 'beforeOpen', 'beforeRender', 'created', 'destroyed'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * Represents the VueJS Tooltip component that displays a piece of information about the target element on mouse hover.\n * ```html\n * <ejs-tooltip content='Tooltip content'>Show Tooltip</ejs-tooltip>\n * ```\n */\nvar TooltipComponent = /** @class */ (function (_super) {\n __extends(TooltipComponent, _super);\n function TooltipComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = false;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new Tooltip({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n _this.updated = _this.updated;\n return _this;\n }\n TooltipComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n TooltipComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n TooltipComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n TooltipComponent.prototype.custom = function () {\n this.updated();\n };\n TooltipComponent.prototype.close = function (animation) {\n return this.ej2Instances.close(animation);\n };\n TooltipComponent.prototype.open = function (element, animation) {\n return this.ej2Instances.open(element, animation);\n };\n TooltipComponent.prototype.refresh = function (target) {\n return this.ej2Instances.refresh(target);\n };\n TooltipComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function provide() {\n return {\n custom: this.custom\n };\n }\n }) End */\n ], TooltipComponent);\n return TooltipComponent;\n}(ComponentBase));\nexport { TooltipComponent };\nexport var TooltipPlugin = {\n name: 'ejs-tooltip',\n install: function (Vue) {\n Vue.component(TooltipPlugin.name, TooltipComponent);\n }\n};\n"],"names":["vueImport","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","isExecute","gh","ButtonsDirective","_super","call","render","createElement","h","slots","isNullOrUndefined","$slots","default","class","updated","custom","getTag","EJComponentDecorator","parseInt","allVue","version","Vue3.Vue","Vue","ButtonsPlugin","name","install","component","DialogButtonDirective","apply","DialogButtonPlugin","properties","modelProps","testProp","getProps","props","watch","emitProbs","keys","push","_i","modelProps_1","props_1","DialogComponent","_this","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-buttons","tagNameMapper","isVue3","ej2Instances","Dialog","_trigger","trigger","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateCollection","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","referModels","map","model","test","vueInstance","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","$props","isLazyUpdate","getButtons","index","getDimension","hide","event","refreshPosition","sanitizeHelper","value","show","isFullScreen","ComponentBase","DialogPlugin","TooltipComponent","Tooltip","close","animation","open","element","refresh","TooltipPlugin"],"mappings":"yhBAAA,IAyBIA,EAzBAC,EAAwC,WACxC,IAAIC,EAAgB,SAAU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