@syncfusion/ej2-vue-popups 20.4.53 → 21.1.35

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.
Files changed (54) hide show
  1. package/CHANGELOG.md +11 -33
  2. package/dist/ej2-vue-popups.umd.min.js +2 -2
  3. package/dist/ej2-vue-popups.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-vue-popups.es2015.js +228 -307
  5. package/dist/es6/ej2-vue-popups.es2015.js.map +1 -1
  6. package/dist/es6/ej2-vue-popups.es5.js +257 -358
  7. package/dist/es6/ej2-vue-popups.es5.js.map +1 -1
  8. package/dist/global/ej2-vue-popups.min.js +2 -2
  9. package/package.json +9 -9
  10. package/src/dialog/buttons.directive.d.ts +2 -12
  11. package/src/dialog/buttons.directive.js +22 -71
  12. package/src/dialog/dialog.component.d.ts +3 -31
  13. package/src/dialog/dialog.component.js +137 -168
  14. package/src/tooltip/tooltip.component.d.ts +3 -25
  15. package/src/tooltip/tooltip.component.js +93 -122
  16. package/styles/bootstrap-dark.css +10 -7
  17. package/styles/bootstrap.css +7 -4
  18. package/styles/bootstrap4.css +7 -4
  19. package/styles/bootstrap5-dark.css +11 -8
  20. package/styles/bootstrap5.css +11 -8
  21. package/styles/dialog/bootstrap-dark.css +1 -1
  22. package/styles/dialog/bootstrap.css +1 -1
  23. package/styles/dialog/bootstrap4.css +1 -1
  24. package/styles/dialog/bootstrap5-dark.css +5 -5
  25. package/styles/dialog/bootstrap5.css +5 -5
  26. package/styles/dialog/fluent-dark.css +13 -15
  27. package/styles/dialog/fluent.css +13 -15
  28. package/styles/dialog/tailwind-dark.css +4 -4
  29. package/styles/dialog/tailwind.css +4 -4
  30. package/styles/fabric-dark.css +6 -3
  31. package/styles/fabric.css +6 -3
  32. package/styles/fluent-dark.css +19 -18
  33. package/styles/fluent.css +19 -18
  34. package/styles/highcontrast-light.css +6 -3
  35. package/styles/highcontrast.css +6 -3
  36. package/styles/material-dark.css +6 -3
  37. package/styles/material.css +6 -3
  38. package/styles/spinner/bootstrap-dark.css +9 -6
  39. package/styles/spinner/bootstrap.css +6 -3
  40. package/styles/spinner/bootstrap4.css +6 -3
  41. package/styles/spinner/bootstrap5-dark.css +6 -3
  42. package/styles/spinner/bootstrap5.css +6 -3
  43. package/styles/spinner/fabric-dark.css +6 -3
  44. package/styles/spinner/fabric.css +6 -3
  45. package/styles/spinner/fluent-dark.css +6 -3
  46. package/styles/spinner/fluent.css +6 -3
  47. package/styles/spinner/highcontrast-light.css +6 -3
  48. package/styles/spinner/highcontrast.css +6 -3
  49. package/styles/spinner/material-dark.css +6 -3
  50. package/styles/spinner/material.css +6 -3
  51. package/styles/spinner/tailwind-dark.css +6 -3
  52. package/styles/spinner/tailwind.css +6 -3
  53. package/styles/tailwind-dark.css +10 -7
  54. package/styles/tailwind.css +10 -7
package/CHANGELOG.md CHANGED
@@ -2,59 +2,37 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ### Dialog
6
-
7
- #### Bug Fixes
8
-
9
- - `#I441169` - Now, the Dialog Component `ESC` key works properly.
10
-
11
- ## 20.4.52 (2023-02-28)
5
+ ### Tooltip
12
6
 
13
- ### Dialog
7
+ #### New Features
14
8
 
15
- #### Bug Fixes
9
+ - `#I434633` - Provided the htmlAttributes support for the Tooltip component which allows to add attributes for the root element of Tooltip popup.
16
10
 
17
- - `#I430348` - Fixed an issue where pressing the enter key triggered the button click event multiple times.
11
+ #### Breaking Changes
18
12
 
19
- ## 20.4.49 (2023-02-07)
13
+ - The tooltip target's tabindex and aria-describedby attributes, which were handled by the built-in source, were removed. Now, you can add these attributes directly to a target element.
20
14
 
21
15
  ### Dialog
22
16
 
23
- #### Bug Fixes
24
-
25
- - `#I428772` - Fixed alignment issue with Dialog component header content and close icon.
26
-
27
- ## 20.4.48 (2023-02-01)
28
-
29
- ### Tooltip
30
-
31
- #### Bug Fixes
17
+ #### New Features
32
18
 
33
- - `#I424071` - The issue of the Tooltip component throwing a script error when setting content as '${}' has been resolved.
19
+ - **State persistence**: Provide support to preserve the updated values of the dialog width and height when performing a page reload.
34
20
 
35
- ## 20.4.44 (2023-01-18)
21
+ ## 20.4.53 (2023-03-07)
36
22
 
37
23
  ### Dialog
38
24
 
39
25
  #### Bug Fixes
40
26
 
41
- - `#I427261` - The Dialog component now closes properly when the escape key is pressed while the Rich Text Editor toolbar is extended and the Image Dialog is open.
27
+ - `#I441169` - Now, the Dialog Component `ESC` key works properly.
42
28
 
43
- ## 20.4.43 (2023-01-10)
29
+ ## 20.4.52 (2023-02-28)
44
30
 
45
31
  ### Dialog
46
32
 
47
33
  #### Bug Fixes
48
34
 
49
- - `#I422249` - Now, Removed the "aria-describedby" attribute from Dialog element.
50
-
51
- ## 20.4.40 (2022-12-28)
52
-
53
- ### Popup
54
-
55
- #### Bug Fixes
56
-
57
- - `#I423129` - Now, when Rich Text Editor is placed inside the modal dialog the hyperlink quickToolbar popup is visible.
35
+ - `#I430348` - Fixed an issue where pressing the enter key triggered the button click event multiple times.
58
36
 
59
37
  ## 20.4.38 (2022-12-21)
60
38
 
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-popups.umd.min.js
3
- * version : 20.4.53
3
+ * version : 21.1.35
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
- !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 a=e.length-1;a>=0;a--)(r=e[a])&&(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},a=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),c={name:"e-buttons",install:function(e){e.component(c.name,a)}},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),l={name:"e-dialogbutton",install:function(e){e.component(l.name,p)}},u=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 a=e.length-1;a>=0;a--)(r=e[a])&&(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},d=["isLazyUpdate","plugins","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"],h=["visible"],m=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=d,n.models=h,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.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return u(n,e),n.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],s=this.templateCollection[o];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var c=a[i];r.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},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.custom=function(){this.updated()},n.prototype.getButtons=function(e){return this.ej2Instances.getButtons(e)},n.prototype.getDimension=function(){return this.ej2Instances.getDimension()},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:d,model:{event:"modelchanged"}})],n)}(o.ComponentBase),y={name:"ejs-dialog",install:function(e){e.component(y.name,m),e.component(l.name,p),e.component(c.name,a)}},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 a=e.length-1;a>=0;a--)(r=e[a])&&(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},_=["isLazyUpdate","plugins","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"],b=[],v=function(e){function n(){var n=e.call(this,arguments)||this;return n.propKeys=_,n.models=b,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.ej2Instances.clearTemplate=n.clearTemplate,n.updated=n.updated,n}return g(n,e),n.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],s=this.templateCollection[o];if(s&&s.length){for(var i=0,a=s;i<a.length;i++){var c=a[i];r.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[o]}}},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.custom=function(){this.updated()},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:_})],n)}(o.ComponentBase),P={name:"ejs-tooltip",install:function(e){e.component(P.name,v)}};e.ButtonsDirective=a,e.DialogButtonDirective=p,e.ButtonsPlugin=c,e.DialogButtonPlugin=l,e.DialogComponent=m,e.DialogPlugin=y,e.TooltipComponent=v,e.TooltipPlugin=P,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("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-popups","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Popups,e.ej2VueBase,e.ej2Base)}(this,function(e,t,s,n){"use strict";var i=s.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!s.isExecute){var t=s.isExecute?e:s.gh,i=null;return n.isNullOrUndefined(this.$slots.default)||(i=s.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!s.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-buttons"}}}),o={name:"e-buttons",install:function(e){e.component(o.name,i)}},a=s.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-dialogbutton"}}}),r={name:"e-dialogbutton",install:function(e){e.component(r.name,a)}},l=["isLazyUpdate","plugins","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"],c=["visible"],u=s.getProps({props:l}),h=u[0],d=u[1],p=Object.keys(d);p.push("modelchanged","update:modelValue");for(var m=0,f=c;m<f.length;m++){var g=f[m];p.push("update:"+g)}var j=s.vueDefineComponent({name:"DialogComponent",mixins:[s.ComponentBase],props:h,watch:d,emits:p,model:{event:"modelchanged"},provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.Dialog({}),propKeys:l,models:c,hasChildDirective:!0,hasInjectedModules:!1,tagMapper:{"e-buttons":"e-dialogbutton"},tagNameMapper:{},isVue3:!s.isExecute,templateCollection:{}}},created:function(){this.ej2Instances._trigger=this.ej2Instances.trigger,this.ej2Instances.trigger=this.trigger,this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=s.isExecute?e:s.gh,i=null;return n.isNullOrUndefined(this.$slots.default)||(i=s.isExecute?this.$slots.default:this.$slots.default()),t("div",i)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var i=s[t],o=this.templateCollection[i];if(o&&o.length){for(var a=0,r=o;a<r.length;a++){var l=r[a];n.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[i]}}},setProperties:function(e,t){var s=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){s.models.map(function(n){t!==n||/datasource/i.test(t)||(s.isVue3?s.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(s.$emit("update:"+t,e[t]),s.$emit("modelchanged",e[t])))})})},trigger:function(e,t,i){if(s.isExecute||(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){a=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!n.isUndefined(t[a])&&(s.isExecute?(this.$emit("update:"+a,t[a]),this.$emit("modelchanged",t[a])):(this.ej2Instances.vueInstance.$emit("update:"+a,t[a]),this.ej2Instances.vueInstance.$emit("modelchanged",t[a])))}}else{var o,a=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!n.isUndefined(t[a])&&(s.isExecute?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+a,t[a]),this.$emit("modelchanged",t[a])):(this.ej2Instances.vueInstance.$emit("update:"+a,t[a]),this.ej2Instances.vueInstance.$emit("modelchanged",t[a]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[a])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,i)},custom:function(){this.updated()},getButtons:function(e){return this.ej2Instances.getButtons(e)},getDimension:function(){return this.ej2Instances.getDimension()},hide:function(e){return this.ej2Instances.hide(e)},refreshPosition:function(){return this.ej2Instances.refreshPosition()},sanitizeHelper:function(e){return this.ej2Instances.sanitizeHelper(e)},show:function(e){return this.ej2Instances.show(e)}}}),v={name:"ejs-dialog",install:function(e){e.component(v.name,j),e.component(r.name,a),e.component(o.name,i)}},I=["isLazyUpdate","plugins","animation","closeDelay","container","content","cssClass","enableHtmlParse","enableHtmlSanitizer","enablePersistence","enableRtl","height","htmlAttributes","isSticky","locale","mouseTrail","offsetX","offsetY","openDelay","opensOn","position","showTipPointer","target","tipPointerPosition","width","windowCollision","afterClose","afterOpen","beforeClose","beforeCollision","beforeOpen","beforeRender","created","destroyed"],b=[],y=s.getProps({props:I}),P=y[0],C=y[1],$=Object.keys(C);$.push("modelchanged","update:modelValue");for(var _=0,D=b;_<D.length;_++){var T=D[_];$.push("update:"+T)}var x=s.vueDefineComponent({name:"TooltipComponent",mixins:[s.ComponentBase],props:P,watch:C,emits:$,provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.Tooltip({}),propKeys:I,models:b,hasChildDirective:!1,hasInjectedModules:!1,tagMapper:{},tagNameMapper:{},isVue3:!s.isExecute,templateCollection:{}}},created:function(){this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=s.isExecute?e:s.gh,i=null;return n.isNullOrUndefined(this.$slots.default)||(i=s.isExecute?this.$slots.default:this.$slots.default()),t("div",i)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,s=e;t<s.length;t++){var i=s[t],o=this.templateCollection[i];if(o&&o.length){for(var a=0,r=o;a<r.length;a++){var l=r[a];n.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[i]}}},setProperties:function(e,t){var s=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){s.models.map(function(n){t!==n||/datasource/i.test(t)||(s.isVue3?s.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(s.$emit("update:"+t,e[t]),s.$emit("modelchanged",e[t])))})})},custom:function(){this.updated()},close:function(e){return this.ej2Instances.close(e)},open:function(e,t){return this.ej2Instances.open(e,t)},refresh:function(e){return this.ej2Instances.refresh(e)}}}),O={name:"ejs-tooltip",install:function(e){e.component(O.name,x)}};e.ButtonsDirective=i,e.DialogButtonDirective=a,e.ButtonsPlugin=o,e.DialogButtonPlugin=r,e.DialogComponent=j,e.DialogPlugin=v,e.TooltipComponent=x,e.TooltipPlugin=O,Object.keys(t).forEach(function(s){e[s]=t[s]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-vue-popups.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-popups.umd.min.js","sources":["../vue2/src/dialog/buttons.directive.js","../vue2/src/dialog/dialog.component.js","../vue2/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 { getValue } from '@syncfusion/ej2-base';\nimport { Dialog } from '@syncfusion/ej2-popups';\nimport { ButtonsDirective, DialogButtonDirective, ButtonsPlugin, DialogButtonPlugin } from './buttons.directive';\nexport var properties = ['isLazyUpdate', 'plugins', '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, 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.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.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.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 })\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 { getValue } from '@syncfusion/ej2-base';\nimport { Tooltip } from '@syncfusion/ej2-popups';\nexport var properties = ['isLazyUpdate', 'plugins', '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 = [];\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.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.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.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 })\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","clearTemplate","updated","templateNames","keys","templateCollection","_i","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","map","model","test","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","createElement","$slots","default","custom","getButtons","index","getDimension","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,GA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O2D,KAAKa,GAAME,IAAI,SAAU5D,GAC5B0B,EAAMG,OAAO+B,IAAI,SAAUC,GAClB7D,IAAQ6D,GAAY,cAAcC,KAAK9D,IACxC0B,EAAMqC,MAAM,UAAY/D,EAAK0D,EAAK1D,SAMtDyF,EAAiB9F,UAAUmB,OAAS,SAAU0D,GAC1C,OAAOA,EAAc,MAAO/E,KAAKgF,OAAOC,UAE5Ce,EAAiB9F,UAAUgF,OAAS,WAChClF,KAAKkD,WAET8C,EAAiB9F,UAAUgG,MAAQ,SAAUC,GACzC,OAAOnG,KAAK0C,aAAawD,MAAMC,IAEnCH,EAAiB9F,UAAUkG,KAAO,SAAUC,EAASF,GACjD,OAAOnG,KAAK0C,aAAa0D,KAAKC,EAASF,IAE3CH,EAAiB9F,UAAUoG,QAAU,SAAUhG,GAC3C,OAAON,KAAK0C,aAAa4D,QAAQhG,IAErC0F,EAAmB5F,GACfkB,wBACIuE,MAAO/D,KAEZkE,IAELF,iBAESS,GACP9E,KAAM,cACNC,QAAS,SAAUH,GACfA,EAAII,UAAU4E,EAAc9E,KAAMuE"}
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":["import { gh, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\nexport var ButtonsDirective = vueDefineComponent({\n inject: { custom: { default: null } },\n render: function (createElement) {\n if (!isExecute) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', { class: 'e-directive' }, slots);\n }\n return;\n },\n updated: function () {\n if (!isExecute && this.custom) {\n this.custom();\n }\n },\n methods: {\n getTag: function () {\n return 'e-buttons';\n }\n }\n});\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 */\nexport var DialogButtonDirective = vueDefineComponent({\n render: function () {\n return;\n },\n methods: {\n getTag: function () {\n return 'e-dialogbutton';\n }\n }\n});\nexport var DialogButtonPlugin = {\n name: 'e-dialogbutton',\n install: function (Vue) {\n Vue.component(DialogButtonPlugin.name, DialogButtonDirective);\n }\n};\n","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { isUndefined } from '@syncfusion/ej2-base';\nimport { Dialog } from '@syncfusion/ej2-popups';\nimport { ButtonsDirective, DialogButtonDirective, ButtonsPlugin, DialogButtonPlugin } from './buttons.directive';\nexport var properties = ['isLazyUpdate', 'plugins', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\n/**\n * Represents the VueJS Dialog component\n * ```html\n * <ejs-dialog></ejs-dialog>\n * ```\n */\nexport var DialogComponent = vueDefineComponent({\n name: 'DialogComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n model: { event: 'modelchanged' },\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new Dialog({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: true,\n hasInjectedModules: false,\n tagMapper: { \"e-buttons\": \"e-dialogbutton\" },\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 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 custom: function () {\n this.updated();\n },\n getButtons: function (index) {\n return this.ej2Instances.getButtons(index);\n },\n getDimension: function () {\n return this.ej2Instances.getDimension();\n },\n hide: function (event) {\n return this.ej2Instances.hide(event);\n },\n refreshPosition: function () {\n return this.ej2Instances.refreshPosition();\n },\n sanitizeHelper: function (value) {\n return this.ej2Instances.sanitizeHelper(value);\n },\n show: function (isFullScreen) {\n return this.ej2Instances.show(isFullScreen);\n },\n }\n});\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","import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { Tooltip } from '@syncfusion/ej2-popups';\nexport var properties = ['isLazyUpdate', 'plugins', 'animation', 'closeDelay', 'container', 'content', 'cssClass', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'htmlAttributes', '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], watch = testProp[1], emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged', 'update:modelValue');\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}\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 */\nexport var TooltipComponent = vueDefineComponent({\n name: 'TooltipComponent',\n mixins: [ComponentBase],\n props: props,\n watch: watch,\n emits: emitProbs,\n provide: function () { return { custom: this.custom }; },\n data: function () {\n return {\n ej2Instances: new Tooltip({}),\n propKeys: properties,\n models: modelProps,\n hasChildDirective: false,\n hasInjectedModules: false,\n tagMapper: {},\n tagNameMapper: {},\n isVue3: !isExecute,\n templateCollection: {},\n };\n },\n created: function () {\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 },\n render: function (createElement) {\n var h = !isExecute ? gh : createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = !isExecute ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n },\n methods: {\n 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 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 custom: function () {\n this.updated();\n },\n close: function (animation) {\n return this.ej2Instances.close(animation);\n },\n open: function (element, animation) {\n return this.ej2Instances.open(element, animation);\n },\n refresh: function (target) {\n return this.ej2Instances.refresh(target);\n },\n }\n});\nexport var TooltipPlugin = {\n name: 'ejs-tooltip',\n install: function (Vue) {\n Vue.component(TooltipPlugin.name, TooltipComponent);\n }\n};\n"],"names":["ButtonsDirective","vueDefineComponent","inject","custom","default","render","createElement","isExecute","h","gh","slots","isNullOrUndefined","this","$slots","class","updated","methods","getTag","ButtonsPlugin","name","install","Vue","component","DialogButtonDirective","DialogButtonPlugin","properties","modelProps","testProp","getProps","props","watch","emitProbs","Object","keys","push","_i","modelProps_1","length","props_1","DialogComponent","mixins","ComponentBase","emits","model","event","provide","data","ej2Instances","Dialog","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","e-buttons","tagNameMapper","isVue3","templateCollection","created","_trigger","trigger","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","_this","referModels","map","key","test","vueInstance","$emit","eventName","eventProp","successHandler","requestType","propKey","toString","match","isUndefined","$props","isLazyUpdate","getButtons","index","getDimension","hide","refreshPosition","sanitizeHelper","value","show","isFullScreen","DialogPlugin","TooltipComponent","Tooltip","close","animation","open","element","refresh","target","TooltipPlugin"],"mappings":"+YAEO,IAAIA,EAAmBC,sBAC1BC,QAAUC,QAAUC,QAAS,OAC7BC,OAAQ,SAAUC,GACd,IAAKC,YAAW,CACZ,IAAIC,EAAKD,YAAiBD,EAALG,KACjBC,EAAQ,KAIZ,OAHKC,oBAAkBC,KAAKC,OAAOT,WAC/BM,EAASH,YAAoCK,KAAKC,OAAOT,QAApCQ,KAAKC,OAAOT,WAE9BI,EAAE,OAASM,MAAO,eAAiBJ,KAIlDK,QAAS,YACAR,aAAaK,KAAKT,QACnBS,KAAKT,UAGba,SACIC,OAAQ,WACJ,MA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