Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@progress/kendo-react-dialogs

Package Overview
Dependencies
Maintainers
1
Versions
1450
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-dialogs - npm Package Compare versions

Comparing version
2.4.0-dev.201811160909
to
2.4.0-dev.201811191355
+1
-1
dist/cdn/js/kendo-react-dialogs.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","prop-types"],t):"object"==typeof exports?exports.KendoReactDialogs=t(require("react"),require("prop-types")):e.KendoReactDialogs=t(e.React,e.PropTypes)}(window,function(e,t){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.DialogActionsBar=function(e){var t=e.children;return o.createElement("div",{className:"k-button-group k-dialog-buttongroup k-dialog-button-layout-stretched"},t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4);t.Dialog=o.Dialog;var r=n(2);t.DialogActionsBar=r.DialogActionsBar},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var 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])};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)}}(),r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(1),l=n(5),c=n(2),u=n(6),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.titleId=t.generateTitleId(),t.handleCloseDialog=function(e){e.preventDefault(),u.dispatchEvent(t.props.onClose,e,t,void 0)},t.handleKeyDown=function(e){e.keyCode===u.Keys.esc&&t.props.onClose&&(e.preventDefault(),t.handleCloseDialog(e))},t}return o(t,e),t.prototype.render=function(){var e=void 0!==this.props.id?this.props.id:this.titleId,t=this.props,n=t.title,o=t.width,a=t.height,c=t.children,u=t.minWidth,s=i.Children.toArray(c),p=this.getContent(s),d=this.getActionBar(s),f=n?{"aria-labelledby":e}:null,y=void 0===this.props.closeIcon||this.props.closeIcon;return i.createElement("div",{className:"k-dialog-wrapper",onKeyDown:this.handleKeyDown,tabIndex:0},i.createElement("div",{className:"k-overlay"}),i.createElement("div",r({},f,{className:"k-widget k-window k-dialog",role:"dialog",style:{width:o,height:a,minWidth:u}}),this.props.title&&i.createElement(l.DialogTitleBar,{closeIcon:y,onCloseButtonClick:this.handleCloseDialog,id:e},n),i.createElement("div",{className:"k-content k-window-content k-dialog-content"},p),d))},t.prototype.getActionBar=function(e){return e.filter(function(e){return e&&e.type===c.DialogActionsBar})},t.prototype.getContent=function(e){return e.filter(function(e){return e&&e.type!==c.DialogActionsBar})},t.prototype.generateTitleId=function(){return"dialog-title"+u.guid()},t.propTypes={title:a.any,id:a.string,closeIcon:a.bool,width:a.oneOfType([a.number,a.string]),height:a.oneOfType([a.number,a.string]),minWidth:a.oneOfType([a.number,a.string])},t}(i.Component);t.Dialog=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.DialogTitleBar=function(e){var t=e.children,n=e.onCloseButtonClick,r=e.id,i=e.closeIcon;return o.createElement("div",{className:"k-window-titlebar k-dialog-titlebar k-header",id:r},o.createElement("div",{className:"k-window-title k-dialog-title"},t),o.createElement("div",{className:"k-window-actions k-dialog-actions"},i&&o.createElement("a",{href:"#",role:"button","aria-label":"Close",onClick:n,className:"k-button k-bare k-button-icon k-window-action k-dialog-action k-dialog-close"},o.createElement("span",{className:"k-icon k-i-x"}))))}},function(e,t,n){"use strict";n.r(t);var o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return!0!==e&&!!e}).map(function(e){return Array.isArray(e)?o.apply(void 0,e):"object"==typeof e?Object.keys(e).map(function(t,n){return e[n]||e[t]&&t||null}).filter(function(e){return null!==e}).join(" "):e}).filter(function(e){return!!e}).join(" ")},r=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},i={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},a=function(){},l=function(){return function(){}}(),c=n(0),u=n(1),s=function(){var 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])};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)}}(),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={focused:!1},t.handleFocus=function(e){t.setState({focused:!0})},t.handleBlur=function(e){t.setState({focused:!1})},t}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,r=e.className,i=e.value,a=e.placeholder,l=e.valid,u=e.style,s=o({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(i||a),"k-state-invalid":!l&&void 0!==l},r);return c.createElement("span",{className:s,onFocus:this.handleFocus,onBlur:this.handleBlur,style:u},this.props.children,t?n?c.createElement("label",{htmlFor:n,className:"k-label"},t):c.createElement("span",{className:"k-label"},t):null)},t.propTypes={label:u.string,id:u.string,value:u.string,placeholder:u.string,valid:u.bool},t}(c.Component);function d(e,t,n,o){if(e){var r={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(r,o))}}var f=function(){return"undefined"==typeof window};n.d(t,"classNames",function(){return o}),n.d(t,"guid",function(){return r}),n.d(t,"Keys",function(){return i}),n.d(t,"noop",function(){return a}),n.d(t,"FloatingLabel",function(){return p}),n.d(t,"FormComponent",function(){return l}),n.d(t,"dispatchEvent",function(){return d}),n.d(t,"isServerRendering",function(){return f})}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["react","prop-types"],t):"object"==typeof exports?exports.KendoReactDialogs=t(require("react"),require("prop-types")):e.KendoReactDialogs=t(e.React,e.PropTypes)}(window,function(e,t){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.DialogActionsBar=function(e){var t=e.children;return o.createElement("div",{className:"k-button-group k-dialog-buttongroup k-dialog-button-layout-stretched"},t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4);t.Dialog=o.Dialog;var r=n(2);t.DialogActionsBar=r.DialogActionsBar},function(e,t,n){"use strict";var o,r=this&&this.__extends||(o=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])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),l=n(1),c=n(5),s=n(2),u=n(6),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.titleId=t.generateTitleId(),t.handleCloseDialog=function(e){e.preventDefault(),u.dispatchEvent(t.props.onClose,e,t,void 0)},t.handleKeyDown=function(e){e.keyCode===u.Keys.esc&&t.props.onClose&&(e.preventDefault(),t.handleCloseDialog(e))},t}return r(t,e),t.prototype.render=function(){var e=void 0!==this.props.id?this.props.id:this.titleId,t=this.props,n=t.title,o=t.width,r=t.height,l=t.children,s=t.minWidth,u=a.Children.toArray(l),p=this.getContent(u),d=this.getActionBar(u),f=n?{"aria-labelledby":e}:null,y=void 0===this.props.closeIcon||this.props.closeIcon;return a.createElement("div",{className:"k-dialog-wrapper",onKeyDown:this.handleKeyDown,tabIndex:0},a.createElement("div",{className:"k-overlay"}),a.createElement("div",i({},f,{className:"k-widget k-window k-dialog",role:"dialog",style:{width:o,height:r,minWidth:s}}),this.props.title&&a.createElement(c.DialogTitleBar,{closeIcon:y,onCloseButtonClick:this.handleCloseDialog,id:e},n),a.createElement("div",{className:"k-content k-window-content k-dialog-content"},p),d))},t.prototype.getActionBar=function(e){return e.filter(function(e){return e&&e.type===s.DialogActionsBar})},t.prototype.getContent=function(e){return e.filter(function(e){return e&&e.type!==s.DialogActionsBar})},t.prototype.generateTitleId=function(){return"dialog-title"+u.guid()},t.propTypes={title:l.any,id:l.string,closeIcon:l.bool,width:l.oneOfType([l.number,l.string]),height:l.oneOfType([l.number,l.string]),minWidth:l.oneOfType([l.number,l.string])},t}(a.Component);t.Dialog=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);t.DialogTitleBar=function(e){var t=e.children,n=e.onCloseButtonClick,r=e.id,i=e.closeIcon;return o.createElement("div",{className:"k-window-titlebar k-dialog-titlebar k-header",id:r},o.createElement("div",{className:"k-window-title k-dialog-title"},t),o.createElement("div",{className:"k-window-actions k-dialog-actions"},i&&o.createElement("a",{href:"#",role:"button","aria-label":"Close",onClick:n,className:"k-button k-bare k-button-icon k-window-action k-dialog-action k-dialog-close"},o.createElement("span",{className:"k-icon k-i-x"}))))}},function(e,t,n){"use strict";n.r(t);var o,r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return!0!==e&&!!e}).map(function(e){return Array.isArray(e)?r.apply(void 0,e):"object"==typeof e?Object.keys(e).map(function(t,n){return e[n]||e[t]&&t||null}).filter(function(e){return null!==e}).join(" "):e}).filter(function(e){return!!e}).join(" ")},i=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},a={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},l=function(){},c=function(){return function(){}}(),s=n(0),u=n(1),p=(o=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])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={focused:!1},t.handleFocus=function(e){t.setState({focused:!0})},t.handleBlur=function(e){t.setState({focused:!1})},t}return p(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,o=e.className,i=e.value,a=e.placeholder,l=e.valid,c=e.style,u=r({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(i||a),"k-state-invalid":!l&&void 0!==l},o);return s.createElement("span",{className:u,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,t?n?s.createElement("label",{htmlFor:n,className:"k-label"},t):s.createElement("span",{className:"k-label"},t):null)},t.propTypes={label:u.string,id:u.string,value:u.string,placeholder:u.string,valid:u.bool},t}(s.Component);function f(e,t,n,o){if(e){var r={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(r,o))}}var y=function(){return"undefined"==typeof window};n.d(t,"classNames",function(){return r}),n.d(t,"guid",function(){return i}),n.d(t,"Keys",function(){return a}),n.d(t,"noop",function(){return l}),n.d(t,"FloatingLabel",function(){return d}),n.d(t,"FormComponent",function(){return c}),n.d(t,"dispatchEvent",function(){return f}),n.d(t,"isServerRendering",function(){return y})}])});
{
"name": "@progress/kendo-react-dialogs",
"version": "2.4.0-dev.201811160909",
"version": "2.4.0-dev.201811191355",
"description": "KendoReact Dialogs package",

@@ -30,3 +30,3 @@ "repository": {

"dependencies": {
"@progress/kendo-react-common": "2.4.0-dev.201811160909",
"@progress/kendo-react-common": "2.4.0-dev.201811191355",
"prop-types": "^15.6.0"

@@ -33,0 +33,0 @@ },