Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-react-common

Package Overview
Dependencies
Maintainers
1
Versions
1218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.3.0 to 2.0.0-dev.201809031411

dist/es/serverRendering.d.ts

2

dist/cdn/js/kendo-react-common.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.KendoReactCommon=t(require("react"),require("prop-types")):e.KendoReactCommon=t(e.React,e.PropTypes)}(window,function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=1)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.filter(function(e){return!0!==e&&!!e}).map(function(e){return Array.isArray(e)?t.classNames.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(" ")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.classNames=r.classNames;var o=n(2);t.guid=o.guid;var u=n(3);t.Keys=u.Keys;var i=n(4);t.noop=i.noop;var a=n(5);t.FormComponent=a.FormComponent;var s=n(6);t.FloatingLabel=s.default;var c=n(9);t.dispatchEvent=c.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.guid=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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Keys={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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.noop=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(){}}();t.FormComponent=r},function(e,t,n){"use strict";var r=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(7),u=n(8),i=n(0),a=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 r(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,r=e.className,u=e.value,a=e.placeholder,s=e.valid,c=e.style,l=i.classNames({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(u||a),"k-state-invalid":!s&&void 0!==s},r);return o.createElement("span",{className:l,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,t?n?o.createElement("label",{htmlFor:n,className:"k-label"},t):o.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}(o.Component);t.default=a},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}}])});
!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.KendoReactCommon=t(require("react"),require("prop-types")):e.KendoReactCommon=t(e.React,e.PropTypes)}(window,function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=1)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classNames=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.filter(function(e){return!0!==e&&!!e}).map(function(e){return Array.isArray(e)?t.classNames.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(" ")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.classNames=r.classNames;var o=n(2);t.guid=o.guid;var u=n(3);t.Keys=u.Keys;var i=n(4);t.noop=i.noop;var a=n(5);t.FormComponent=a.FormComponent;var s=n(6);t.FloatingLabel=s.default;var c=n(9);t.dispatchEvent=c.default;var l=n(10);t.isServerRendering=l.isServerRendering},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.guid=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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Keys={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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.noop=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(){}}();t.FormComponent=r},function(e,t,n){"use strict";var r=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(7),u=n(8),i=n(0),a=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 r(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,r=e.className,u=e.value,a=e.placeholder,s=e.valid,c=e.style,l=i.classNames({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(u||a),"k-state-invalid":!s&&void 0!==s},r);return o.createElement("span",{className:l,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,t?n?o.createElement("label",{htmlFor:n,className:"k-label"},t):o.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}(o.Component);t.default=a},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.isServerRendering=function(){return"undefined"==typeof window}}])});

@@ -9,2 +9,3 @@ import { classNames } from './classNames';

import dispatchEvent from './events/dispatchEvent';
export { classNames, guid, Keys, noop, FloatingLabel, FormComponent, FormComponentProps, FormComponentValidity, BaseEvent, dispatchEvent };
import { isServerRendering } from './serverRendering';
export { classNames, guid, Keys, noop, FloatingLabel, FormComponent, FormComponentProps, FormComponentValidity, BaseEvent, dispatchEvent, isServerRendering };

@@ -8,3 +8,4 @@ import { classNames } from './classNames';

import dispatchEvent from './events/dispatchEvent';
export { classNames, guid, Keys, noop, FloatingLabel, FormComponent, dispatchEvent };
import { isServerRendering } from './serverRendering';
export { classNames, guid, Keys, noop, FloatingLabel, FormComponent, dispatchEvent, isServerRendering };
//# sourceMappingURL=main.js.map

@@ -9,2 +9,3 @@ import { classNames } from './classNames';

import dispatchEvent from './events/dispatchEvent';
export { classNames, guid, Keys, noop, FloatingLabel, FormComponent, FormComponentProps, FormComponentValidity, BaseEvent, dispatchEvent };
import { isServerRendering } from './serverRendering';
export { classNames, guid, Keys, noop, FloatingLabel, FormComponent, FormComponentProps, FormComponentValidity, BaseEvent, dispatchEvent, isServerRendering };

@@ -17,2 +17,4 @@ "use strict";

exports.dispatchEvent = dispatchEvent_1.default;
var serverRendering_1 = require("./serverRendering");
exports.isServerRendering = serverRendering_1.isServerRendering;
//# sourceMappingURL=main.js.map

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

System.register("@progress/kendo-react-common",["prop-types","react"],function(l){var n,r;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){r=t(e)}],execute:function(){!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=1)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.classNames=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(n){return Array.isArray(n)?r.classNames.apply(void 0,n):"object"==typeof n?Object.keys(n).map(function(e,t){return n[t]||n[e]&&e||null}).filter(function(e){return null!==e}).join(" "):n}).filter(function(e){return!!e}).join(" ")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.classNames=r.classNames;var o=n(2);t.guid=o.guid;var u=n(3);t.Keys=u.Keys;var a=n(4);t.noop=a.noop;var i=n(5);t.FormComponent=i.FormComponent;var s=n(6);t.FloatingLabel=s.default;var c=n(9);t.dispatchEvent=c.default,function(e){for(var t in e)l(t,e[t])}(t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Keys={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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){};t.FormComponent=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var c=n(7),u=n(8),l=n(0),a=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 o(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,r=e.className,o=e.value,u=e.placeholder,a=e.valid,i=e.style,s=l.classNames({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(o||u),"k-state-invalid":!a&&void 0!==a},r);return c.createElement("span",{className:s,onFocus:this.handleFocus,onBlur:this.handleBlur,style:i},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);t.default=a},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}}])}}});
System.register("@progress/kendo-react-common",["react","prop-types"],function(f){var n,r;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){r=t(e)}],execute:function(){!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=1)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.classNames=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(n){return Array.isArray(n)?r.classNames.apply(void 0,n):"object"==typeof n?Object.keys(n).map(function(e,t){return n[t]||n[e]&&e||null}).filter(function(e){return null!==e}).join(" "):n}).filter(function(e){return!!e}).join(" ")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.classNames=r.classNames;var o=n(2);t.guid=o.guid;var u=n(3);t.Keys=u.Keys;var i=n(4);t.noop=i.noop;var a=n(5);t.FormComponent=a.FormComponent;var s=n(6);t.FloatingLabel=s.default;var c=n(9);t.dispatchEvent=c.default;var l=n(10);t.isServerRendering=l.isServerRendering,function(e){for(var t in e)f(t,e[t])}(t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Keys={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}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){};t.FormComponent=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var c=n(7),u=n(8),l=n(0),i=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 o(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,r=e.className,o=e.value,u=e.placeholder,i=e.valid,a=e.style,s=l.classNames({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(o||u),"k-state-invalid":!i&&void 0!==i},r);return c.createElement("span",{className:s,onFocus:this.handleFocus,onBlur:this.handleBlur,style:a},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);t.default=i},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isServerRendering=function(){return"undefined"==typeof window}}])}}});
{
"name": "@progress/kendo-react-common",
"description": "Kendo UI for React Common Utilities package",
"version": "1.3.0",
"version": "2.0.0-dev.201809031411",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc