You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
6.4 KiB
1 lines
6.4 KiB
{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar _propTypes = require(\"prop-types\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require(\"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n}\n\nvar propTypes = {\n children: _propTypes2.default.array.isRequired,\n size: _propTypes2.default.number.isRequired,\n title: _propTypes2.default.string,\n xmlns: _propTypes2.default.string\n};\nvar defaultProps = {\n title: undefined,\n xmlns: \"http://www.w3.org/2000/svg\"\n};\n\nvar QRCodeSurface = function QRCodeSurface(_ref) {\n var children = _ref.children,\n size = _ref.size,\n title = _ref.title,\n xmlns = _ref.xmlns,\n props = _objectWithoutProperties(_ref, [\"children\", \"size\", \"title\", \"xmlns\"]);\n\n return _react2.default.createElement(\"svg\", _extends({}, props, {\n height: size,\n width: size,\n xmlns: xmlns\n }), title ? _react2.default.createElement(\"title\", null, title) : null, children);\n};\n\nQRCodeSurface.propTypes = propTypes;\nQRCodeSurface.defaultProps = defaultProps;\nexports.default = QRCodeSurface;","map":{"version":3,"names":["Object","defineProperty","exports","value","_extends","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","_propTypes","require","_propTypes2","_interopRequireDefault","_react","_react2","obj","__esModule","default","_objectWithoutProperties","keys","indexOf","propTypes","children","array","isRequired","size","number","title","string","xmlns","defaultProps","undefined","QRCodeSurface","_ref","props","createElement","height","width"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-qr-code/lib/components/QRCodeSurface/index.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _propTypes = require(\"prop-types\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _react = require(\"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nvar propTypes = {\n children: _propTypes2.default.array.isRequired,\n size: _propTypes2.default.number.isRequired,\n title: _propTypes2.default.string,\n xmlns: _propTypes2.default.string\n};\n\nvar defaultProps = {\n title: undefined,\n xmlns: \"http://www.w3.org/2000/svg\"\n};\n\nvar QRCodeSurface = function QRCodeSurface(_ref) {\n var children = _ref.children,\n size = _ref.size,\n title = _ref.title,\n xmlns = _ref.xmlns,\n props = _objectWithoutProperties(_ref, [\"children\", \"size\", \"title\", \"xmlns\"]);\n\n return _react2.default.createElement(\n \"svg\",\n _extends({}, props, { height: size, width: size, xmlns: xmlns }),\n title ? _react2.default.createElement(\n \"title\",\n null,\n title\n ) : null,\n children\n );\n};\n\nQRCodeSurface.propTypes = propTypes;\nQRCodeSurface.defaultProps = defaultProps;\n\nexports.default = QRCodeSurface;"],"mappings":"AAAA;;AAEAA,MAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/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