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

@progress/kendo-react-barcodes

Package Overview
Dependencies
Maintainers
1
Versions
613
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 5.1.0-dev.202202221154 to 5.1.0-dev.202202230642

2

dist/es/package-metadata.js

@@ -8,5 +8,5 @@ /**

productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
publishDate: 1645530767,
publishDate: 1645598426,
version: '',
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
};

@@ -10,5 +10,5 @@ "use strict";

productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
publishDate: 1645530767,
publishDate: 1645598426,
version: '',
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
};

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

System.register("@progress/kendo-react-barcodes",["@progress/kendo-charts","@progress/kendo-drawing","@progress/kendo-react-common","react","prop-types"],function(i){var s,c,a,u,p;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){s=t(e)},function(e){c=t(e)},function(e){a=t(e)},function(e){u=t(e)},function(e){p=t(e)}],execute:function(){function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var r,n;r=[function(e,t){e.exports=u},function(e,t){e.exports=a},function(p,e,t){"use strict";var n,r,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__rest||function(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&(r[o[n]]=e[o[n]]);return r},i=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),c=t(7),a=t(8),d=t(9),l=t(10),f=t(11),b=t(1),h=t(12),t=(r=i.Component,o(u,r),Object.defineProperty(u.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),u.prototype.componentDidMount=function(){this.instantiateCoreBarcode(),window.addEventListener("resize",this.onWindowResize),this.trigger("render",{sender:this})},u.prototype.componentDidUpdate=function(e){var t=this.props,r=(t.children,t.deriveOptionsFromParent,t.getTarget,t.barcodeConstructor,t.className,t.renderAs),t=s(t,["children","deriveOptionsFromParent","getTarget","barcodeConstructor","className","renderAs"]),n=(e.children,e.deriveOptionsFromParent,e.getTarget,e.barcodeConstructor,e.className,e.renderAs),e=s(e,["children","deriveOptionsFromParent","getTarget","barcodeConstructor","className","renderAs"]);null!==this.barcodeInstance&&(e=l.isOptionsChanged(e,t),(r||"svg")!==(n||"svg")?(null!==this.barcodeInstance&&(this.barcodeInstance.destroy(),this.barcodeInstance=null),this.instantiateCoreBarcode()):e&&this.refresh(),this.trigger("render",{sender:this}))},u.prototype.componentWillUnmount=function(){null!==this.barcodeInstance&&(this.barcodeInstance.destroy(),this.barcodeInstance=null),window.removeEventListener("resize",this.onWindowResize)},u.prototype.render=function(){var t=this,e=this.props,r=e.style,n=e.className,e=e.children;return i.createElement(f.BarcodeContext.Provider,{value:this.contextValue},i.createElement("div",{style:void 0===r?{}:r,ref:function(e){return t._element=e},className:n},e))},u.prototype.instantiateCoreBarcode=function(){var e=this.props.barcodeConstructor,t=this.getBarcodeOptions();this.barcodeInstance=new e(this.element,t,function(e){console.warn(e)})},u.prototype.refresh=function(){var e;null!==this.barcodeInstance&&(e=this.getBarcodeOptions(),this.barcodeInstance.setOptions(e))},u.prototype.getBarcodeOptions=function(){var e=this.props,t=e.renderAs,e=e.deriveOptionsFromParent,t={renderAs:t};return t=e?e(t):t},u.prototype.trigger=function(e,t){for(var r=this.observersStore.getState(),n=0;n<r.length;n++)r[n].trigger(e,t)},u.propTypes={dir:c.string,renderAs:c.oneOf(["svg","canvas"])},u.defaultProps={renderAs:"svg"},u);function u(e){var t=r.call(this,e)||this;return t.barcodeInstance=null,t._element=null,t.observersStore={},t.onWindowResize=function(){null!==t.barcodeInstance&&(t.barcodeInstance.redraw(),t.trigger("render",{sender:t}))},b.validatePackage(h.packageMetadata),t.observersStore=a.default(d.observersReducer),t.contextValue={observersStore:t.observersStore},t}e.BaseBarcode=t},function(e,t){e.exports=s},function(e,t){e.exports=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r(6),o=(t.Barcode=o.Barcode,r(13)),s=(t.QRCode=o.QRCode,t);for(n in s)i(n,s[n])},function(p,e,t){"use strict";var n,r,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&(r[o[n]]=e[o[n]]);return r},c=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),d=t(2),l=t(3),a=t(4),f=t(1),t=(r=c.Component,o(u,r),Object.defineProperty(u.prototype,"barcodeInstance",{get:function(){return null!==this._baseBarcode?this._baseBarcode.barcodeInstance:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"surface",{get:function(){return null!==this._baseBarcode?this._baseBarcode.surface:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"element",{get:function(){return null!==this._baseBarcode?this._baseBarcode.element:null},enumerable:!0,configurable:!0}),u.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.className,e=i(e,["children","className"]);return c.createElement(d.BaseBarcode,s({},e,{deriveOptionsFromParent:this.deriveOptionsFromParent,ref:function(e){return t._baseBarcode=e},barcodeConstructor:l.Barcode,getTarget:this.getTarget,className:f.classNames("k-barcode",n)}),r)},u.prototype.exportImage=function(e){return void 0===e&&(e={}),a.exportImage(this.exportVisual(),e)},u.prototype.exportSVG=function(e){return void 0===e&&(e={}),a.exportSVG(this.exportVisual(),e)},u.prototype.exportVisual=function(e){return null!==this.barcodeInstance?this.barcodeInstance.exportVisual(e):new a.Group},u);function u(){var t=null!==r&&r.apply(this,arguments)||this;return t.getTarget=function(){return t},t.deriveOptionsFromParent=function(e){return Object.assign({},e,{background:t.props.background,border:t.props.border,checksum:t.props.checksum,color:t.props.color,height:t.props.height,padding:t.props.padding,text:t.props.text,type:t.props.type,value:t.props.value,width:t.props.width})},t}e.Barcode=t},function(e,t){e.exports=p},function(e,s,t){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=t(1);s.THROTTLE_MS=1e3/60,s.default=function(t){function e(e){r=t(r,e),i.canUseDOM&&(window.clearTimeout(n),n=window.setTimeout(function(){return o.forEach(function(e){return e()})},s.THROTTLE_MS))}var r,n,o=[];return e({}),{getState:function(){return r},dispatch:e,subscribe:function(t){return o.push(t),function(){return o=o.filter(function(e){return e!==t})}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.optionsReducer=function(e,t){return t.barcodeKey?n.configurationItem(e,t):{}},t.observersReducer=function(e,t){if(!t.type)return[];switch(t.type){case"add":return e.concat([t.payload]);case"remove":return e.filter(function(e){return e!==t.payload});default:return e}};var n={configurationItem:function(e,t){return Object.assign(e,((e={})[t.barcodeKey]=t.payload,e))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function o(e){return"object"==typeof e}function s(e,t){if(Object.keys(e).length!==Object.keys(t).length)return 1;for(var r in e)if(e.hasOwnProperty(r)){var n=e[r],r=t[r];if(o(n)&&o(r)?s(n,r):n!==r)return 1}}t.isOptionsChanged=function(e,t){if(!e||!t)return!0;if(e=[].concat(e),t=[].concat(t),e.length!==t.length)return!0;for(var r=0;r<e.length;r++)if(s(e[r],t[r]))return!0;return!1}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(0);t.BarcodeContext=r.createContext(null),t.BarcodeContext.displayName="BarcodeContext"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-barcodes",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1645530767,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(p,e,t){"use strict";var n,r,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&(r[o[n]]=e[o[n]]);return r},c=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),d=t(2),l=t(3),a=t(4),f=t(1),t=(r=c.Component,o(u,r),Object.defineProperty(u.prototype,"barcodeInstance",{get:function(){return null!==this._baseBarcode?this._baseBarcode.barcodeInstance:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"surface",{get:function(){return null!==this._baseBarcode?this._baseBarcode.surface:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"element",{get:function(){return null!==this._baseBarcode?this._baseBarcode.element:null},enumerable:!0,configurable:!0}),u.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.className,e=i(e,["children","className"]);return c.createElement(d.BaseBarcode,s({},e,{deriveOptionsFromParent:this.deriveOptionsFromParent,ref:function(e){return t._baseBarcode=e},barcodeConstructor:l.QRCode,getTarget:this.getTarget,className:f.classNames("k-qrcode",n)}),r)},u.prototype.exportImage=function(e){return void 0===e&&(e={}),a.exportImage(this.exportVisual(),e)},u.prototype.exportSVG=function(e){return void 0===e&&(e={}),a.exportSVG(this.exportVisual(),e)},u.prototype.exportVisual=function(e){return null!==this.barcodeInstance?this.barcodeInstance.exportVisual(e):new a.Group},u);function u(){var t=null!==r&&r.apply(this,arguments)||this;return t.getTarget=function(){return t},t.deriveOptionsFromParent=function(e){return Object.assign({},e,{background:t.props.background||"#fff",border:t.props.border,color:t.props.color||"#000",encoding:t.props.encoding,errorCorrection:t.props.errorCorrection||"L",overlay:t.props.overlay||{},padding:t.props.padding,renderAs:t.props.renderAs,size:t.props.size,value:t.props.value})},t}e.QRCode=t}],n={},o.m=r,o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},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=5)}}});
System.register("@progress/kendo-react-barcodes",["@progress/kendo-charts","react","@progress/kendo-drawing","@progress/kendo-react-common","prop-types"],function(i){var s,c,a,u,p;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){s=t(e)},function(e){c=t(e)},function(e){a=t(e)},function(e){u=t(e)},function(e){p=t(e)}],execute:function(){function o(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}var r,n;r=[function(e,t){e.exports=c},function(e,t){e.exports=u},function(p,e,t){"use strict";var n,r,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__rest||function(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&(r[o[n]]=e[o[n]]);return r},i=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),c=t(7),a=t(8),d=t(9),l=t(10),f=t(11),b=t(1),h=t(12),t=(r=i.Component,o(u,r),Object.defineProperty(u.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),u.prototype.componentDidMount=function(){this.instantiateCoreBarcode(),window.addEventListener("resize",this.onWindowResize),this.trigger("render",{sender:this})},u.prototype.componentDidUpdate=function(e){var t=this.props,r=(t.children,t.deriveOptionsFromParent,t.getTarget,t.barcodeConstructor,t.className,t.renderAs),t=s(t,["children","deriveOptionsFromParent","getTarget","barcodeConstructor","className","renderAs"]),n=(e.children,e.deriveOptionsFromParent,e.getTarget,e.barcodeConstructor,e.className,e.renderAs),e=s(e,["children","deriveOptionsFromParent","getTarget","barcodeConstructor","className","renderAs"]);null!==this.barcodeInstance&&(e=l.isOptionsChanged(e,t),(r||"svg")!==(n||"svg")?(null!==this.barcodeInstance&&(this.barcodeInstance.destroy(),this.barcodeInstance=null),this.instantiateCoreBarcode()):e&&this.refresh(),this.trigger("render",{sender:this}))},u.prototype.componentWillUnmount=function(){null!==this.barcodeInstance&&(this.barcodeInstance.destroy(),this.barcodeInstance=null),window.removeEventListener("resize",this.onWindowResize)},u.prototype.render=function(){var t=this,e=this.props,r=e.style,n=e.className,e=e.children;return i.createElement(f.BarcodeContext.Provider,{value:this.contextValue},i.createElement("div",{style:void 0===r?{}:r,ref:function(e){return t._element=e},className:n},e))},u.prototype.instantiateCoreBarcode=function(){var e=this.props.barcodeConstructor,t=this.getBarcodeOptions();this.barcodeInstance=new e(this.element,t,function(e){console.warn(e)})},u.prototype.refresh=function(){var e;null!==this.barcodeInstance&&(e=this.getBarcodeOptions(),this.barcodeInstance.setOptions(e))},u.prototype.getBarcodeOptions=function(){var e=this.props,t=e.renderAs,e=e.deriveOptionsFromParent,t={renderAs:t};return t=e?e(t):t},u.prototype.trigger=function(e,t){for(var r=this.observersStore.getState(),n=0;n<r.length;n++)r[n].trigger(e,t)},u.propTypes={dir:c.string,renderAs:c.oneOf(["svg","canvas"])},u.defaultProps={renderAs:"svg"},u);function u(e){var t=r.call(this,e)||this;return t.barcodeInstance=null,t._element=null,t.observersStore={},t.onWindowResize=function(){null!==t.barcodeInstance&&(t.barcodeInstance.redraw(),t.trigger("render",{sender:t}))},b.validatePackage(h.packageMetadata),t.observersStore=a.default(d.observersReducer),t.contextValue={observersStore:t.observersStore},t}e.BaseBarcode=t},function(e,t){e.exports=s},function(e,t){e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r(6),o=(t.Barcode=o.Barcode,r(13)),s=(t.QRCode=o.QRCode,t);for(n in s)i(n,s[n])},function(p,e,t){"use strict";var n,r,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&(r[o[n]]=e[o[n]]);return r},c=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),d=t(2),l=t(3),a=t(4),f=t(1),t=(r=c.Component,o(u,r),Object.defineProperty(u.prototype,"barcodeInstance",{get:function(){return null!==this._baseBarcode?this._baseBarcode.barcodeInstance:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"surface",{get:function(){return null!==this._baseBarcode?this._baseBarcode.surface:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"element",{get:function(){return null!==this._baseBarcode?this._baseBarcode.element:null},enumerable:!0,configurable:!0}),u.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.className,e=i(e,["children","className"]);return c.createElement(d.BaseBarcode,s({},e,{deriveOptionsFromParent:this.deriveOptionsFromParent,ref:function(e){return t._baseBarcode=e},barcodeConstructor:l.Barcode,getTarget:this.getTarget,className:f.classNames("k-barcode",n)}),r)},u.prototype.exportImage=function(e){return void 0===e&&(e={}),a.exportImage(this.exportVisual(),e)},u.prototype.exportSVG=function(e){return void 0===e&&(e={}),a.exportSVG(this.exportVisual(),e)},u.prototype.exportVisual=function(e){return null!==this.barcodeInstance?this.barcodeInstance.exportVisual(e):new a.Group},u);function u(){var t=null!==r&&r.apply(this,arguments)||this;return t.getTarget=function(){return t},t.deriveOptionsFromParent=function(e){return Object.assign({},e,{background:t.props.background,border:t.props.border,checksum:t.props.checksum,color:t.props.color,height:t.props.height,padding:t.props.padding,text:t.props.text,type:t.props.type,value:t.props.value,width:t.props.width})},t}e.Barcode=t},function(e,t){e.exports=p},function(e,s,t){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=t(1);s.THROTTLE_MS=1e3/60,s.default=function(t){function e(e){r=t(r,e),i.canUseDOM&&(window.clearTimeout(n),n=window.setTimeout(function(){return o.forEach(function(e){return e()})},s.THROTTLE_MS))}var r,n,o=[];return e({}),{getState:function(){return r},dispatch:e,subscribe:function(t){return o.push(t),function(){return o=o.filter(function(e){return e!==t})}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.optionsReducer=function(e,t){return t.barcodeKey?n.configurationItem(e,t):{}},t.observersReducer=function(e,t){if(!t.type)return[];switch(t.type){case"add":return e.concat([t.payload]);case"remove":return e.filter(function(e){return e!==t.payload});default:return e}};var n={configurationItem:function(e,t){return Object.assign(e,((e={})[t.barcodeKey]=t.payload,e))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function o(e){return"object"==typeof e}function s(e,t){if(Object.keys(e).length!==Object.keys(t).length)return 1;for(var r in e)if(e.hasOwnProperty(r)){var n=e[r],r=t[r];if(o(n)&&o(r)?s(n,r):n!==r)return 1}}t.isOptionsChanged=function(e,t){if(!e||!t)return!0;if(e=[].concat(e),t=[].concat(t),e.length!==t.length)return!0;for(var r=0;r<e.length;r++)if(s(e[r],t[r]))return!0;return!1}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(0);t.BarcodeContext=r.createContext(null),t.BarcodeContext.displayName="BarcodeContext"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-barcodes",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1645598426,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(p,e,t){"use strict";var n,r,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&(r[o[n]]=e[o[n]]);return r},c=(Object.defineProperty(e,"__esModule",{value:!0}),t(0)),d=t(2),l=t(3),a=t(4),f=t(1),t=(r=c.Component,o(u,r),Object.defineProperty(u.prototype,"barcodeInstance",{get:function(){return null!==this._baseBarcode?this._baseBarcode.barcodeInstance:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"surface",{get:function(){return null!==this._baseBarcode?this._baseBarcode.surface:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"element",{get:function(){return null!==this._baseBarcode?this._baseBarcode.element:null},enumerable:!0,configurable:!0}),u.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.className,e=i(e,["children","className"]);return c.createElement(d.BaseBarcode,s({},e,{deriveOptionsFromParent:this.deriveOptionsFromParent,ref:function(e){return t._baseBarcode=e},barcodeConstructor:l.QRCode,getTarget:this.getTarget,className:f.classNames("k-qrcode",n)}),r)},u.prototype.exportImage=function(e){return void 0===e&&(e={}),a.exportImage(this.exportVisual(),e)},u.prototype.exportSVG=function(e){return void 0===e&&(e={}),a.exportSVG(this.exportVisual(),e)},u.prototype.exportVisual=function(e){return null!==this.barcodeInstance?this.barcodeInstance.exportVisual(e):new a.Group},u);function u(){var t=null!==r&&r.apply(this,arguments)||this;return t.getTarget=function(){return t},t.deriveOptionsFromParent=function(e){return Object.assign({},e,{background:t.props.background||"#fff",border:t.props.border,color:t.props.color||"#000",encoding:t.props.encoding,errorCorrection:t.props.errorCorrection||"L",overlay:t.props.overlay||{},padding:t.props.padding,renderAs:t.props.renderAs,size:t.props.size,value:t.props.value})},t}e.QRCode=t}],n={},o.m=r,o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},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=5)}}});
{
"name": "@progress/kendo-react-barcodes",
"description": "KendoReact Barcodes package",
"version": "5.1.0-dev.202202221154",
"version": "5.1.0-dev.202202230642",
"repository": {

@@ -44,3 +44,3 @@ "type": "git",

"@progress/kendo-charts": "^1.21.0",
"@progress/kendo-react-common": "5.1.0-dev.202202221154",
"@progress/kendo-react-common": "5.1.0-dev.202202230642",
"prop-types": "^15.6.0"

@@ -53,7 +53,7 @@ },

"@progress/kendo-licensing": "^1.0.1",
"@progress/kendo-react-buttons": "5.1.0-dev.202202221154",
"@progress/kendo-react-dropdowns": "5.1.0-dev.202202221154",
"@progress/kendo-react-inputs": "5.1.0-dev.202202221154",
"@progress/kendo-react-intl": "5.1.0-dev.202202221154",
"@progress/kendo-react-pdf": "5.1.0-dev.202202221154",
"@progress/kendo-react-buttons": "5.1.0-dev.202202230642",
"@progress/kendo-react-dropdowns": "5.1.0-dev.202202230642",
"@progress/kendo-react-inputs": "5.1.0-dev.202202230642",
"@progress/kendo-react-intl": "5.1.0-dev.202202230642",
"@progress/kendo-react-pdf": "5.1.0-dev.202202230642",
"cldr-core": "^36.0.0",

@@ -60,0 +60,0 @@ "cldr-dates-full": "^36.0.0",

Sorry, the diff of this file is too big to display

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