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 4.14.0-dev.202112141518 to 4.14.0-dev.202112150919

2

dist/es/package-metadata.js

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

productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
publishDate: 1639495006,
publishDate: 1639559843,
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: 1639495006,
publishDate: 1639559843,
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(s){var i,c,a,u,p;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){i=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;n={},o.m=r=[function(e,t){e.exports=u},function(e,t){e.exports=a},function(e,t,r){"use strict";var n,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};Object.defineProperty(t,"__esModule",{value:!0});var i,c=r(0),a=r(7),u=r(8),p=r(9),d=r(10),l=r(11),f=r(1),b=r(12),a=(i=c.Component,o(h,i),Object.defineProperty(h.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),h.prototype.componentDidMount=function(){this.instantiateCoreBarcode(),window.addEventListener("resize",this.onWindowResize),this.trigger("render",{sender:this})},h.prototype.componentDidUpdate=function(e){var t=this.props,r=(t.children,t.deriveOptionsFromParent,t.getTarget,t.barcodeConstructor,t.className,t.renderAs),n=s(t,["children","deriveOptionsFromParent","getTarget","barcodeConstructor","className","renderAs"]),t=(e.children,e.deriveOptionsFromParent,e.getTarget,e.barcodeConstructor,e.className,e.renderAs),e=s(e,["children","deriveOptionsFromParent","getTarget","barcodeConstructor","className","renderAs"]);null!==this.barcodeInstance&&(n=d.isOptionsChanged(e,n),(r||"svg")!==(t||"svg")?(null!==this.barcodeInstance&&(this.barcodeInstance.destroy(),this.barcodeInstance=null),this.instantiateCoreBarcode()):n&&this.refresh(),this.trigger("render",{sender:this}))},h.prototype.componentWillUnmount=function(){null!==this.barcodeInstance&&(this.barcodeInstance.destroy(),this.barcodeInstance=null),window.removeEventListener("resize",this.onWindowResize)},h.prototype.render=function(){var t=this,e=this.props,r=e.style,n=e.className,e=e.children;return c.createElement(l.BarcodeContext.Provider,{value:this.contextValue},c.createElement("div",{style:void 0===r?{}:r,ref:function(e){return t._element=e},className:n},e))},h.prototype.instantiateCoreBarcode=function(){var e=this.props.barcodeConstructor,t=this.getBarcodeOptions();this.barcodeInstance=new e(this.element,t,function(e){console.warn(e)})},h.prototype.refresh=function(){var e;null!==this.barcodeInstance&&(e=this.getBarcodeOptions(),this.barcodeInstance.setOptions(e))},h.prototype.getBarcodeOptions=function(){var e=this.props,t=e.renderAs,e=e.deriveOptionsFromParent,t={renderAs:t};return t=e?e(t):t},h.prototype.trigger=function(e,t){for(var r=this.observersStore.getState(),n=0;n<r.length;n++)r[n].trigger(e,t)},h.propTypes={dir:a.string,renderAs:a.oneOf(["svg","canvas"])},h.defaultProps={renderAs:"svg"},h);function h(e){var t=i.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}))},f.validatePackage(b.packageMetadata),t.observersStore=u.default(p.observersReducer),t.contextValue={observersStore:t.observersStore},t}t.BaseBarcode=a},function(e,t){e.exports=i},function(e,t){e.exports=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6);t.Barcode=n.Barcode;r=r(13);t.QRCode=r.QRCode,function(e){for(var t in e)s(t,e[t])}(t)},function(e,t,r){"use strict";var n,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};Object.defineProperty(t,"__esModule",{value:!0});var c,a=r(0),u=r(2),p=r(3),d=r(4),l=r(1),o=(c=a.Component,o(f,c),Object.defineProperty(f.prototype,"barcodeInstance",{get:function(){return null!==this._baseBarcode?this._baseBarcode.barcodeInstance:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"surface",{get:function(){return null!==this._baseBarcode?this._baseBarcode.surface:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"element",{get:function(){return null!==this._baseBarcode?this._baseBarcode.element:null},enumerable:!0,configurable:!0}),f.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.className,e=i(e,["children","className"]);return a.createElement(u.BaseBarcode,s({},e,{deriveOptionsFromParent:this.deriveOptionsFromParent,ref:function(e){return t._baseBarcode=e},barcodeConstructor:p.Barcode,getTarget:this.getTarget,className:l.classNames("k-barcode",n)}),r)},f.prototype.exportImage=function(e){return void 0===e&&(e={}),d.exportImage(this.exportVisual(),e)},f.prototype.exportSVG=function(e){return void 0===e&&(e={}),d.exportSVG(this.exportVisual(),e)},f.prototype.exportVisual=function(e){return null!==this.barcodeInstance?this.barcodeInstance.exportVisual(e):new d.Group},f);function f(){var t=null!==c&&c.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}t.Barcode=o},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:1639495006,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(e,t,r){"use strict";var n,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};Object.defineProperty(t,"__esModule",{value:!0});var c,a=r(0),u=r(2),p=r(3),d=r(4),l=r(1),o=(c=a.Component,o(f,c),Object.defineProperty(f.prototype,"barcodeInstance",{get:function(){return null!==this._baseBarcode?this._baseBarcode.barcodeInstance:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"surface",{get:function(){return null!==this._baseBarcode?this._baseBarcode.surface:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"element",{get:function(){return null!==this._baseBarcode?this._baseBarcode.element:null},enumerable:!0,configurable:!0}),f.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.className,e=i(e,["children","className"]);return a.createElement(u.BaseBarcode,s({},e,{deriveOptionsFromParent:this.deriveOptionsFromParent,ref:function(e){return t._baseBarcode=e},barcodeConstructor:p.QRCode,getTarget:this.getTarget,className:l.classNames("k-qrcode",n)}),r)},f.prototype.exportImage=function(e){return void 0===e&&(e={}),d.exportImage(this.exportVisual(),e)},f.prototype.exportSVG=function(e){return void 0===e&&(e={}),d.exportSVG(this.exportVisual(),e)},f.prototype.exportVisual=function(e){return null!==this.barcodeInstance?this.barcodeInstance.exportVisual(e):new d.Group},f);function f(){var t=null!==c&&c.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}t.QRCode=o}],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",["react","@progress/kendo-charts","@progress/kendo-drawing","@progress/kendo-react-common","prop-types"],function(s){var i,c,a,u,p;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){i=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;n={},o.m=r=[function(e,t){e.exports=i},function(e,t){e.exports=u},function(e,t,r){"use strict";var n,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};Object.defineProperty(t,"__esModule",{value:!0});var i,c=r(0),a=r(7),u=r(8),p=r(9),d=r(10),l=r(11),f=r(1),b=r(12),a=(i=c.Component,o(h,i),Object.defineProperty(h.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),h.prototype.componentDidMount=function(){this.instantiateCoreBarcode(),window.addEventListener("resize",this.onWindowResize),this.trigger("render",{sender:this})},h.prototype.componentDidUpdate=function(e){var t=this.props,r=(t.children,t.deriveOptionsFromParent,t.getTarget,t.barcodeConstructor,t.className,t.renderAs),n=s(t,["children","deriveOptionsFromParent","getTarget","barcodeConstructor","className","renderAs"]),t=(e.children,e.deriveOptionsFromParent,e.getTarget,e.barcodeConstructor,e.className,e.renderAs),e=s(e,["children","deriveOptionsFromParent","getTarget","barcodeConstructor","className","renderAs"]);null!==this.barcodeInstance&&(n=d.isOptionsChanged(e,n),(r||"svg")!==(t||"svg")?(null!==this.barcodeInstance&&(this.barcodeInstance.destroy(),this.barcodeInstance=null),this.instantiateCoreBarcode()):n&&this.refresh(),this.trigger("render",{sender:this}))},h.prototype.componentWillUnmount=function(){null!==this.barcodeInstance&&(this.barcodeInstance.destroy(),this.barcodeInstance=null),window.removeEventListener("resize",this.onWindowResize)},h.prototype.render=function(){var t=this,e=this.props,r=e.style,n=e.className,e=e.children;return c.createElement(l.BarcodeContext.Provider,{value:this.contextValue},c.createElement("div",{style:void 0===r?{}:r,ref:function(e){return t._element=e},className:n},e))},h.prototype.instantiateCoreBarcode=function(){var e=this.props.barcodeConstructor,t=this.getBarcodeOptions();this.barcodeInstance=new e(this.element,t,function(e){console.warn(e)})},h.prototype.refresh=function(){var e;null!==this.barcodeInstance&&(e=this.getBarcodeOptions(),this.barcodeInstance.setOptions(e))},h.prototype.getBarcodeOptions=function(){var e=this.props,t=e.renderAs,e=e.deriveOptionsFromParent,t={renderAs:t};return t=e?e(t):t},h.prototype.trigger=function(e,t){for(var r=this.observersStore.getState(),n=0;n<r.length;n++)r[n].trigger(e,t)},h.propTypes={dir:a.string,renderAs:a.oneOf(["svg","canvas"])},h.defaultProps={renderAs:"svg"},h);function h(e){var t=i.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}))},f.validatePackage(b.packageMetadata),t.observersStore=u.default(p.observersReducer),t.contextValue={observersStore:t.observersStore},t}t.BaseBarcode=a},function(e,t){e.exports=c},function(e,t){e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6);t.Barcode=n.Barcode;r=r(13);t.QRCode=r.QRCode,function(e){for(var t in e)s(t,e[t])}(t)},function(e,t,r){"use strict";var n,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};Object.defineProperty(t,"__esModule",{value:!0});var c,a=r(0),u=r(2),p=r(3),d=r(4),l=r(1),o=(c=a.Component,o(f,c),Object.defineProperty(f.prototype,"barcodeInstance",{get:function(){return null!==this._baseBarcode?this._baseBarcode.barcodeInstance:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"surface",{get:function(){return null!==this._baseBarcode?this._baseBarcode.surface:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"element",{get:function(){return null!==this._baseBarcode?this._baseBarcode.element:null},enumerable:!0,configurable:!0}),f.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.className,e=i(e,["children","className"]);return a.createElement(u.BaseBarcode,s({},e,{deriveOptionsFromParent:this.deriveOptionsFromParent,ref:function(e){return t._baseBarcode=e},barcodeConstructor:p.Barcode,getTarget:this.getTarget,className:l.classNames("k-barcode",n)}),r)},f.prototype.exportImage=function(e){return void 0===e&&(e={}),d.exportImage(this.exportVisual(),e)},f.prototype.exportSVG=function(e){return void 0===e&&(e={}),d.exportSVG(this.exportVisual(),e)},f.prototype.exportVisual=function(e){return null!==this.barcodeInstance?this.barcodeInstance.exportVisual(e):new d.Group},f);function f(){var t=null!==c&&c.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}t.Barcode=o},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:1639559843,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(e,t,r){"use strict";var n,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};Object.defineProperty(t,"__esModule",{value:!0});var c,a=r(0),u=r(2),p=r(3),d=r(4),l=r(1),o=(c=a.Component,o(f,c),Object.defineProperty(f.prototype,"barcodeInstance",{get:function(){return null!==this._baseBarcode?this._baseBarcode.barcodeInstance:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"surface",{get:function(){return null!==this._baseBarcode?this._baseBarcode.surface:null},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"element",{get:function(){return null!==this._baseBarcode?this._baseBarcode.element:null},enumerable:!0,configurable:!0}),f.prototype.render=function(){var t=this,e=this.props,r=e.children,n=e.className,e=i(e,["children","className"]);return a.createElement(u.BaseBarcode,s({},e,{deriveOptionsFromParent:this.deriveOptionsFromParent,ref:function(e){return t._baseBarcode=e},barcodeConstructor:p.QRCode,getTarget:this.getTarget,className:l.classNames("k-qrcode",n)}),r)},f.prototype.exportImage=function(e){return void 0===e&&(e={}),d.exportImage(this.exportVisual(),e)},f.prototype.exportSVG=function(e){return void 0===e&&(e={}),d.exportSVG(this.exportVisual(),e)},f.prototype.exportVisual=function(e){return null!==this.barcodeInstance?this.barcodeInstance.exportVisual(e):new d.Group},f);function f(){var t=null!==c&&c.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}t.QRCode=o}],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": "4.14.0-dev.202112141518",
"version": "4.14.0-dev.202112150919",
"repository": {

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

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