@progress/kendo-react-dialogs
Advanced tools
@@ -1,1 +0,1 @@ | ||
| System.register("@progress/kendo-react-dialogs",["@progress/kendo-react-common","react","prop-types"],function(i){var n,o,r;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){o=t(e)},function(e){r=t(e)}],execute:function(){!function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}([function(e,t){e.exports=o},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){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.DialogTitleBar=function(e){var t=e.children,n=e.onCloseButtonClick,o=e.id;return r.createElement("div",{className:"k-window-titlebar k-dialog-titlebar k-header",id:o},r.createElement("div",{className:"k-window-title k-dialog-title"},t),r.createElement("div",{className:"k-window-actions k-dialog-actions"},r.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"},r.createElement("span",{className:"k-icon k-i-x"}))))}},function(e,t){e.exports=r},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)}),d=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 p=n(0),i=n(4),f=n(3),a=n(1),l=n(2),c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.titleId=n.generateTitleId(),n.handleCloseDialog=function(e){if(e.preventDefault(),n.props.onClose){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:n};n.props.onClose.call(void 0,t)}},n.handleKeyDown=function(e){27===e.keyCode&&n.props.onClose&&(e.preventDefault(),n.handleCloseDialog(e))},n}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,i=t.children,a=t.minWidth,l=p.Children.toArray(i),c=this.getContent(l),s=this.getActionBar(l),u=n?{"aria-labelledby":e}:null;return p.createElement("div",{className:"k-dialog-wrapper",onKeyDown:this.handleKeyDown,tabIndex:0},p.createElement("div",{className:"k-overlay"}),p.createElement("div",d({},u,{className:"k-widget k-window k-dialog",role:"dialog",style:{width:o,height:r,minWidth:a}}),this.props.title&&p.createElement(f.DialogTitleBar,{onCloseButtonClick:this.handleCloseDialog,id:e},n),p.createElement("div",{className:"k-content k-window-content k-dialog-content"},c),s))},t.prototype.getActionBar=function(e){return e.filter(function(e){return e&&e.type===a.DialogActionsBar})},t.prototype.getContent=function(e){return e.filter(function(e){return e&&e.type!==a.DialogActionsBar})},t.prototype.generateTitleId=function(){return"dialog-title"+l.guid()},t.propTypes={title:i.any,id:i.string,width:i.oneOfType([i.number,i.string]),height:i.oneOfType([i.number,i.string]),minWidth:i.oneOfType([i.number,i.string])},t}(p.Component);t.Dialog=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.Dialog=o.Dialog;var r=n(1);t.DialogActionsBar=r.DialogActionsBar,function(e){for(var t in e)i(t,e[t])}(t)}])}}}); | ||
| System.register("@progress/kendo-react-dialogs",["react","prop-types","@progress/kendo-react-common"],function(i){var n,o,r;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){o=t(e)},function(e){r=t(e)}],execute:function(){!function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}([function(e,t){e.exports=n},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){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.DialogTitleBar=function(e){var t=e.children,n=e.onCloseButtonClick,o=e.id;return r.createElement("div",{className:"k-window-titlebar k-dialog-titlebar k-header",id:o},r.createElement("div",{className:"k-window-title k-dialog-title"},t),r.createElement("div",{className:"k-window-actions k-dialog-actions"},r.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"},r.createElement("span",{className:"k-icon k-i-x"}))))}},function(e,t){e.exports=o},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)}),d=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 p=n(0),i=n(4),f=n(3),a=n(1),l=n(2),c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.titleId=n.generateTitleId(),n.handleCloseDialog=function(e){if(e.preventDefault(),n.props.onClose){var t={syntheticEvent:e,nativeEvent:e.nativeEvent,target:n};n.props.onClose.call(void 0,t)}},n.handleKeyDown=function(e){27===e.keyCode&&n.props.onClose&&(e.preventDefault(),n.handleCloseDialog(e))},n}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,i=t.children,a=t.minWidth,l=p.Children.toArray(i),c=this.getContent(l),s=this.getActionBar(l),u=n?{"aria-labelledby":e}:null;return p.createElement("div",{className:"k-dialog-wrapper",onKeyDown:this.handleKeyDown,tabIndex:0},p.createElement("div",{className:"k-overlay"}),p.createElement("div",d({},u,{className:"k-widget k-window k-dialog",role:"dialog",style:{width:o,height:r,minWidth:a}}),this.props.title&&p.createElement(f.DialogTitleBar,{onCloseButtonClick:this.handleCloseDialog,id:e},n),p.createElement("div",{className:"k-content k-window-content k-dialog-content"},c),s))},t.prototype.getActionBar=function(e){return e.filter(function(e){return e&&e.type===a.DialogActionsBar})},t.prototype.getContent=function(e){return e.filter(function(e){return e&&e.type!==a.DialogActionsBar})},t.prototype.generateTitleId=function(){return"dialog-title"+l.guid()},t.propTypes={title:i.any,id:i.string,width:i.oneOfType([i.number,i.string]),height:i.oneOfType([i.number,i.string]),minWidth:i.oneOfType([i.number,i.string])},t}(p.Component);t.Dialog=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5);t.Dialog=o.Dialog;var r=n(1);t.DialogActionsBar=r.DialogActionsBar,function(e){for(var t in e)i(t,e[t])}(t)}])}}}); |
+2
-2
| { | ||
| "name": "@progress/kendo-react-dialogs", | ||
| "version": "1.2.0-dev.201806281338", | ||
| "version": "1.2.0-dev.201807090830", | ||
| "description": "Kendo UI for React Dialogs package", | ||
@@ -30,3 +30,3 @@ "repository": { | ||
| "dependencies": { | ||
| "@progress/kendo-react-common": "1.2.0-dev.201806281338", | ||
| "@progress/kendo-react-common": "1.2.0-dev.201807090830", | ||
| "prop-types": "^15.6.0" | ||
@@ -33,0 +33,0 @@ }, |
+ Added
- Removed