@syncfusion/ej2-vue-popups
Advanced tools
Comparing version 18.1.36-beta to 18.1.42
@@ -5,2 +5,4 @@ # Changelog | ||
## 18.1.36-beta (2020-03-19) | ||
### Tooltip | ||
@@ -7,0 +9,0 @@ |
/*! | ||
* filename: ej2-vue-popups.umd.min.js | ||
* version : 18.1.36-beta | ||
* version : 18.1.42 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -10,3 +10,3 @@ * Use of this code is subject to the terms of our license. | ||
*/ | ||
!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","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){var o=this.models.toString().match(/checked|value/)||[],s=o[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.show=function(e){return this.ej2Instances.show(e)},n=f([o.EJComponentDecorator({props:h,model:{event:"modelchanged"}})],n)}(o.ComponentBase),g={name:"ejs-dialog",install:function(e){e.component(g.name,y),e.component(u.name,p),e.component(a.name,c)}},j=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 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","enableHtmlSanitizer","enablePersistence","enableRtl","height","isSticky","locale","mouseTrail","offsetX","offsetY","openDelay","opensOn","position","showTipPointer","target","tipPointerPosition","width","afterClose","afterOpen","beforeClose","beforeCollision","beforeOpen","beforeRender","created","destroyed"],P=[],_=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 j(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=m([o.EJComponentDecorator({props:b})],n)}(o.ComponentBase),v={name:"ejs-tooltip",install:function(e){e.component(v.name,_)}};e.ButtonsDirective=c,e.DialogButtonDirective=p,e.ButtonsPlugin=a,e.DialogButtonPlugin=u,e.DialogComponent=y,e.DialogPlugin=g,e.TooltipComponent=_,e.TooltipPlugin=v,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!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","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.show=function(e){return this.ej2Instances.show(e)},n=f([o.EJComponentDecorator({props:h,model:{event:"modelchanged"}})],n)}(o.ComponentBase),g={name:"ejs-dialog",install:function(e){e.component(g.name,y),e.component(u.name,p),e.component(a.name,c)}},m=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","enableHtmlSanitizer","enablePersistence","enableRtl","height","isSticky","locale","mouseTrail","offsetX","offsetY","openDelay","opensOn","position","showTipPointer","target","tipPointerPosition","width","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 m(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=g,e.TooltipComponent=v,e.TooltipPlugin=_,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-vue-popups.umd.min.js.map |
@@ -106,2 +106,10 @@ import { Dialog, Tooltip } from '@syncfusion/ej2-popups'; | ||
} | ||
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) { | ||
let key = this.models.toString().match(/currentView|selectedDate/) || []; | ||
let propKey = key[0]; | ||
if (eventProp && key && !isUndefined(eventProp[propKey])) { | ||
this.$emit('update:' + propKey, eventProp[propKey]); | ||
this.$emit('modelchanged', eventProp[propKey]); | ||
} | ||
} | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
@@ -108,0 +116,0 @@ this.ej2Instances._trigger(eventName, eventProp, successHandler); |
@@ -145,2 +145,10 @@ import { Dialog, Tooltip } from '@syncfusion/ej2-popups'; | ||
} | ||
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) { | ||
var key = this.models.toString().match(/currentView|selectedDate/) || []; | ||
var propKey = key[0]; | ||
if (eventProp && key && !isUndefined(eventProp[propKey])) { | ||
this.$emit('update:' + propKey, eventProp[propKey]); | ||
this.$emit('modelchanged', eventProp[propKey]); | ||
} | ||
} | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
@@ -147,0 +155,0 @@ this.ej2Instances._trigger(eventName, eventProp, successHandler); |
{ | ||
"_from": "@syncfusion/ej2-vue-popups@*", | ||
"_id": "@syncfusion/ej2-vue-popups@17.2.48", | ||
"_id": "@syncfusion/ej2-vue-popups@18.1.36", | ||
"_inBundle": false, | ||
"_integrity": "sha512-wzWWJJ2du1z91X1UCLZJwWrV4xWwr2Srovfuc0J02pFI8PSscKBWx9XdrcxKkoZkinT1kWINNYZE5E2RBKJs5A==", | ||
"_integrity": "sha512-2Q2HUqUJToDL75tAYons7KqFejBdE11i+AUwj9e6RExJcrw8tdYoYj7wDheQxl7fR7QvZmOOawVgJx1hu3R0Ng==", | ||
"_location": "/@syncfusion/ej2-vue-popups", | ||
@@ -22,4 +22,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-popups/-/ej2-vue-popups-17.2.48.tgz", | ||
"_shasum": "fb681a0db4eb44cf60b31e1af31398dfb23b01a8", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-popups/-/ej2-vue-popups-18.1.36.tgz", | ||
"_shasum": "6c0203b3a8204c8291feb889091795e304155bc3", | ||
"_spec": "@syncfusion/ej2-vue-popups@*", | ||
@@ -35,5 +35,5 @@ "_where": "/jenkins/workspace/automation_release_18.1.0.1-52JLNOGRCDHXRVQM3W564VPLFCPHWUYDYU3I3DVRABSR7F6AIFYQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~18.1.36-beta", | ||
"@syncfusion/ej2-popups": "18.1.36-beta", | ||
"@syncfusion/ej2-vue-base": "~18.1.36-beta" | ||
"@syncfusion/ej2-base": "~18.1.42", | ||
"@syncfusion/ej2-popups": "18.1.42", | ||
"@syncfusion/ej2-vue-base": "~18.1.42" | ||
}, | ||
@@ -91,4 +91,4 @@ "deprecated": false, | ||
}, | ||
"version": "18.1.36-beta", | ||
"version": "18.1.42", | ||
"sideEffects": false | ||
} |
@@ -74,2 +74,10 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) { | ||
var key = this.models.toString().match(/currentView|selectedDate/) || []; | ||
var propKey = key[0]; | ||
if (eventProp && key && !isUndefined(eventProp[propKey])) { | ||
this.$emit('update:' + propKey, eventProp[propKey]); | ||
this.$emit('modelchanged', eventProp[propKey]); | ||
} | ||
} | ||
if (this.ej2Instances && this.ej2Instances._trigger) { | ||
@@ -76,0 +84,0 @@ this.ej2Instances._trigger(eventName, eventProp, successHandler); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
431367
13778
1
+ Added@syncfusion/ej2-popups@18.1.42(transitive)
- Removed@syncfusion/ej2-popups@18.1.36-beta(transitive)