@progress/kendo-vue-dialogs
Advanced tools
Comparing version 0.4.1 to 0.4.2-dev.202001141335
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-vue-dialogs",["vue-class-component","@progress/kendo-vue-common"],function(i){var l,c;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){l=e(t)},function(t){c=e(t)}],execute:function(){function r(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,n;n={},r.m=o=[function(t,e){t.exports=l},function(t,e){t.exports=c},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(3);e.Dialog=n.Dialog;var r=o(5);e.DialogActionsBar=r.DialogActionsBar,function(t){for(var e in t)i(e,t[e])}(e)},function(t,e,o){"use strict";var n,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var i,l,c=(l=o(0))&&l.__esModule?l:{default:l},y=o(4),b=o(1),u=(i=b.VueComponent,r(a,i),a.prototype.render=function(t){var e=void 0!==this.$props.id?this.$props.id:this.titleId,o=this.$props,n=o.title,r=o.width,i=o.height,l=o.minWidth,c=o.dir,s=o.contentStyle,u=this.$props.titleRender?b.templateRendering.call(this,this.$props.titleRender,this.$listeners):null,a=this.$slots.default||[];r=this.transformDimesion(r),i=this.transformDimesion(i),l=this.transformDimesion(l);var p,f=this.getActionBarIndex(a);-1!==f&&(p=a[f],a.splice(f,1));var d=void 0===this.$props.closeIcon||this.$props.closeIcon;return t("div",{class:"k-dialog-wrapper",on:{keydown:this.handleKeyDown},attrs:{tabIndex:0,dir:c}},[t("div",{class:"k-overlay"}),t("div",{attrs:{"aria-labelledby":n||u?e:void 0,role:"dialog"},class:"k-widget k-window k-dialog",style:{width:r,height:i,minWidth:l}},[(n||u)&&t(y.DialogTitleBar,{attrs:{closeIcon:d,id:e,title:n,titleRender:u},on:{closebuttonclick:this.handleCloseDialog}}),t("div",{class:"k-content k-window-content k-dialog-content",style:s},[a]),p])])},a.prototype.handleCloseDialog=function(t){t.preventDefault(),this.$emit("close",{event:t,target:this})},a.prototype.handleKeyDown=function(t){t.keyCode===b.Keys.esc&&this.$listeners.close&&(t.preventDefault(),this.handleCloseDialog(t))},a.prototype.transformDimesion=function(t){return"string"==typeof t&&t.endsWith("px")?t:t+"px"},a.prototype.getActionBarIndex=function(t){return t.findIndex(function(t){return t&&t.tag&&-1!==t.tag.toLowerCase().indexOf("dialogactionsbar")||t.componentOptions&&t.componentOptions.tag&&-1!==t.componentOptions.tag.toLowerCase().indexOf("kendo-dialog-actions-bar")})},a.prototype.generateTitleId=function(){return"dialog-title"+b.guid()},a.propTypes={},function(t,e,o,n){var r,i=arguments.length,l=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;0<=c;c--)(r=t[c])&&(l=(i<3?r(l):3<i?r(e,o,l):r(e,o))||l);return 3<i&&l&&Object.defineProperty(e,o,l),l}([c.default({props:{title:String,titleRender:[String,Function,Object],id:String,dir:String,closeIcon:{type:Boolean,default:!0},width:[String,Number],height:[String,Number],minWidth:[String,Number]}})],a));function a(){var t=null!==i&&i.apply(this,arguments)||this;return t.titleId=t.generateTitleId(),t}e.Dialog=u},function(t,e,o){"use strict";var n,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),u=function(){return(u=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var i,l,c=(l=o(0))&&l.__esModule?l:{default:l},a=(i=o(1).VueComponent,r(p,i),p.prototype.onCloseButtonClick=function(t){this.$emit("closebuttonclick",t)},p.prototype.render=function(t){var e,o=this.$props,n=o.id,r=o.closeIcon,i=o.titleRender,l=o.title;if(i){var c=u({},i.listeners);e="slot"===i.type?i.render({props:this.$props,listeners:c,methods:c})[0]:"renderFunction"===i.type?i.render(t,l,this.$props,c):t(i.render,{props:{},on:c})}else e=l;return t("div",{class:"k-window-titlebar k-dialog-titlebar k-header",attrs:{id:n}},[t("div",{class:"k-window-title k-dialog-title"},[e]),t("div",{class:"k-window-actions k-dialog-actions"},[r&&t("a",{attrs:{href:"#",role:"button","aria-label":"Close"},on:{click:this.onCloseButtonClick},class:"k-button k-bare k-button-icon k-window-action k-dialog-action k-dialog-close"},[t("span",{class:"k-icon k-i-x"})])])])},function(t,e,o,n){var r,i=arguments.length,l=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;0<=c;c--)(r=t[c])&&(l=(i<3?r(l):3<i?r(e,o,l):r(e,o))||l);return 3<i&&l&&Object.defineProperty(e,o,l),l}([c.default({props:{id:String,closeIcon:{type:Boolean,default:!0},title:String,titleRender:[String,Function,Object]}})],p));function p(){return null!==i&&i.apply(this,arguments)||this}e.DialogTitleBar=a},function(t,e,o){"use strict";var n,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var i,l,c=(l=o(0))&&l.__esModule?l:{default:l},u=(i=o(1).VueComponent,r(a,i),a.prototype.render=function(t){return t("div",{class:"k-dialog-buttongroup k-dialog-button-layout-stretched"},[this.$slots.default])},function(t,e,o,n){var r,i=arguments.length,l=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;0<=c;c--)(r=t[c])&&(l=(i<3?r(l):3<i?r(e,o,l):r(e,o))||l);return 3<i&&l&&Object.defineProperty(e,o,l),l}([c.default({})],a));function a(){return null!==i&&i.apply(this,arguments)||this}e.DialogActionsBar=u}],r.c=n,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2)}}}); | ||
System.register("@progress/kendo-vue-dialogs",["@progress/kendo-vue-common","vue-class-component"],function(i){var l,c;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){l=e(t)},function(t){c=e(t)}],execute:function(){function r(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,n;n={},r.m=o=[function(t,e){t.exports=c},function(t,e){t.exports=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(3);e.Dialog=n.Dialog;var r=o(5);e.DialogActionsBar=r.DialogActionsBar,function(t){for(var e in t)i(e,t[e])}(e)},function(t,e,o){"use strict";var n,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var i,l,c=(l=o(0))&&l.__esModule?l:{default:l},y=o(4),b=o(1),u=(i=b.VueComponent,r(a,i),a.prototype.render=function(t){var e=void 0!==this.$props.id?this.$props.id:this.titleId,o=this.$props,n=o.title,r=o.width,i=o.height,l=o.minWidth,c=o.dir,s=o.contentStyle,u=this.$props.titleRender?b.templateRendering.call(this,this.$props.titleRender,this.$listeners):null,a=this.$slots.default||[];r=this.transformDimesion(r),i=this.transformDimesion(i),l=this.transformDimesion(l);var p,f=this.getActionBarIndex(a);-1!==f&&(p=a[f],a.splice(f,1));var d=void 0===this.$props.closeIcon||this.$props.closeIcon;return t("div",{class:"k-dialog-wrapper",on:{keydown:this.handleKeyDown},attrs:{tabIndex:0,dir:c}},[t("div",{class:"k-overlay"}),t("div",{attrs:{"aria-labelledby":n||u?e:void 0,role:"dialog"},class:"k-widget k-window k-dialog",style:{width:r,height:i,minWidth:l}},[(n||u)&&t(y.DialogTitleBar,{attrs:{closeIcon:d,id:e,title:n,titleRender:u},on:{closebuttonclick:this.handleCloseDialog}}),t("div",{class:"k-content k-window-content k-dialog-content",style:s},[a]),p])])},a.prototype.handleCloseDialog=function(t){t.preventDefault(),this.$emit("close",{event:t,target:this})},a.prototype.handleKeyDown=function(t){t.keyCode===b.Keys.esc&&this.$listeners.close&&(t.preventDefault(),this.handleCloseDialog(t))},a.prototype.transformDimesion=function(t){return"string"==typeof t&&t.endsWith("px")?t:t+"px"},a.prototype.getActionBarIndex=function(t){return t.findIndex(function(t){return t&&t.tag&&-1!==t.tag.toLowerCase().indexOf("dialogactionsbar")||t.componentOptions&&t.componentOptions.tag&&-1!==t.componentOptions.tag.toLowerCase().indexOf("kendo-dialog-actions-bar")})},a.prototype.generateTitleId=function(){return"dialog-title"+b.guid()},a.propTypes={},function(t,e,o,n){var r,i=arguments.length,l=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;0<=c;c--)(r=t[c])&&(l=(i<3?r(l):3<i?r(e,o,l):r(e,o))||l);return 3<i&&l&&Object.defineProperty(e,o,l),l}([c.default({props:{title:String,titleRender:[String,Function,Object],id:String,dir:String,closeIcon:{type:Boolean,default:!0},width:[String,Number],height:[String,Number],minWidth:[String,Number]}})],a));function a(){var t=null!==i&&i.apply(this,arguments)||this;return t.titleId=t.generateTitleId(),t}e.Dialog=u},function(t,e,o){"use strict";var n,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),u=function(){return(u=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var r in e=arguments[o])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var i,l,c=(l=o(0))&&l.__esModule?l:{default:l},a=(i=o(1).VueComponent,r(p,i),p.prototype.onCloseButtonClick=function(t){this.$emit("closebuttonclick",t)},p.prototype.render=function(t){var e,o=this.$props,n=o.id,r=o.closeIcon,i=o.titleRender,l=o.title;if(i){var c=u({},i.listeners);e="slot"===i.type?i.render({props:this.$props,listeners:c,methods:c})[0]:"renderFunction"===i.type?i.render(t,l,this.$props,c):t(i.render,{props:{},on:c})}else e=l;return t("div",{class:"k-window-titlebar k-dialog-titlebar k-header",attrs:{id:n}},[t("div",{class:"k-window-title k-dialog-title"},[e]),t("div",{class:"k-window-actions k-dialog-actions"},[r&&t("a",{attrs:{href:"#",role:"button","aria-label":"Close"},on:{click:this.onCloseButtonClick},class:"k-button k-bare k-button-icon k-window-action k-dialog-action k-dialog-close"},[t("span",{class:"k-icon k-i-x"})])])])},function(t,e,o,n){var r,i=arguments.length,l=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;0<=c;c--)(r=t[c])&&(l=(i<3?r(l):3<i?r(e,o,l):r(e,o))||l);return 3<i&&l&&Object.defineProperty(e,o,l),l}([c.default({props:{id:String,closeIcon:{type:Boolean,default:!0},title:String,titleRender:[String,Function,Object]}})],p));function p(){return null!==i&&i.apply(this,arguments)||this}e.DialogTitleBar=a},function(t,e,o){"use strict";var n,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var i,l,c=(l=o(0))&&l.__esModule?l:{default:l},u=(i=o(1).VueComponent,r(a,i),a.prototype.render=function(t){return t("div",{class:"k-dialog-buttongroup k-dialog-button-layout-stretched"},[this.$slots.default])},function(t,e,o,n){var r,i=arguments.length,l=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"===("undefined"==typeof Reflect?"undefined":s(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;0<=c;c--)(r=t[c])&&(l=(i<3?r(l):3<i?r(e,o,l):r(e,o))||l);return 3<i&&l&&Object.defineProperty(e,o,l),l}([c.default({})],a));function a(){return null!==i&&i.apply(this,arguments)||this}e.DialogActionsBar=u}],r.c=n,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2)}}}); |
{ | ||
"name": "@progress/kendo-vue-dialogs", | ||
"description": "KendoVue Dialogs package", | ||
"version": "0.4.1", | ||
"version": "0.4.2-dev.202001141335", | ||
"repository": { | ||
@@ -37,6 +37,6 @@ "type": "git", | ||
"vue": "^2.5.16", | ||
"vue-class-component": "^7.0.2" | ||
"vue-class-component": "^7.2.2" | ||
}, | ||
"dependencies": { | ||
"@progress/kendo-vue-common": "0.4.1" | ||
"@progress/kendo-vue-common": "0.4.2-dev.202001141335" | ||
}, | ||
@@ -43,0 +43,0 @@ "author": "Progress", |
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
129551
+ Added@progress/kendo-vue-common@0.4.2-dev.202001141335(transitive)
- Removed@progress/kendo-vue-common@0.4.1(transitive)