UNPKG

@zohodesk/svg

Version:

This Bundle Contains EmptyState Images.

131 lines (103 loc) 12.4 kB
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireDefault(require("react")); var _propTypes = require("./../props/propTypes"); var _defaultProps = require("./../props/defaultProps"); var _SVG = _interopRequireDefault(require("./../../SVG/SVG")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _extends() { _extends = Object.assign ? Object.assign.bind() : 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; }; return _extends.apply(this, arguments); } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); } function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } var EmptyBlueprint = /*#__PURE__*/function (_React$Component) { _inherits(EmptyBlueprint, _React$Component); var _super = _createSuper(EmptyBlueprint); function EmptyBlueprint() { _classCallCheck(this, EmptyBlueprint); return _super.apply(this, arguments); } _createClass(EmptyBlueprint, [{ key: "render", value: function render() { return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({ viewBox: "0 0 200 200", name: "blueprint" }, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, '.EmptyBlueprint_svg__cls-4{fill:var(--zd_emptysvg_plus)}.EmptyBlueprint_svg__cls-3{fill:var(--zd_emptysvg_tiny_circle)}.EmptyBlueprint_svg__cls-7{fill:var(--zd_emptysvg_cross)}.EmptyBlueprint_svg__cls-5{fill:var(--zd_emptysvg_primary_stroke)}.EmptyBlueprint_svg__cls-8{fill:var(--zd_emptysvg_small_circle)}.EmptyBlueprint_svg__cls-6{fill:var(--zd_emptysvg_secondary_fill)}')), /*#__PURE__*/_react["default"].createElement("path", { d: "M86.5 67.37s42.51-27.95 64-19.54 36.24 79.17-23.59 110.92S40 121.44 39.8 109.2c-.22-11.85 0-40.08 46.7-41.83z", opacity: 0.05, fill: "var(--zd_emptysvg_primary_fill)" }), /*#__PURE__*/_react["default"].createElement("path", { d: "M149.5 43a3.51 3.51 0 113.5-3.56 3.53 3.53 0 01-3.5 3.56zm0-6.36a2.85 2.85 0 102.88 2.85 2.87 2.87 0 00-2.88-2.9z", fill: "var(--zd_emptysvg_medium_circle)" }), /*#__PURE__*/_react["default"].createElement("path", { className: "EmptyBlueprint_svg__cls-3", d: "M80.25 39.77a2.23 2.23 0 112.25-2.23 2.24 2.24 0 01-2.25 2.23zm0-3.8a1.58 1.58 0 101.6 1.57 1.58 1.58 0 00-1.6-1.54z" }), /*#__PURE__*/_react["default"].createElement("path", { className: "EmptyBlueprint_svg__cls-4", d: "M28.89 108a.32.32 0 01-.31-.34l.32-5.59a.32.32 0 11.64 0l-.31 5.58a.32.32 0 01-.34.35z" }), /*#__PURE__*/_react["default"].createElement("path", { className: "EmptyBlueprint_svg__cls-4", d: "M31.87 105.38l-5.63-.31a.33.33 0 110-.65l5.64.31a.33.33 0 01.3.35.32.32 0 01-.31.3z" }), /*#__PURE__*/_react["default"].createElement("path", { className: "EmptyBlueprint_svg__cls-8", d: "M171.1 152.88a2.54 2.54 0 112.55-2.53 2.54 2.54 0 01-2.55 2.53zm0-4.42a1.89 1.89 0 101.9 1.89 1.89 1.89 0 00-1.9-1.89z" }), /*#__PURE__*/_react["default"].createElement("path", { className: "EmptyBlueprint_svg__cls-7", transform: "rotate(-42.01 169.123 119.012)", d: "M168.78 116.2h.65v5.62h-.65z" }), /*#__PURE__*/_react["default"].createElement("path", { className: "EmptyBlueprint_svg__cls-7", transform: "rotate(-41.59 169.115 119.015)", d: "M166.3 118.69h5.62v.65h-5.62z" }), /*#__PURE__*/_react["default"].createElement("path", { className: "EmptyBlueprint_svg__cls-5", d: "M121.09 83.39h1.31v1.32a.33.33 0 00.66 0v-1.32h1.32a.32.32 0 00.32-.33.32.32 0 00-.32-.32h-1.32v-1.32a.33.33 0 00-.66 0v1.32h-1.31a.32.32 0 00-.33.32.33.33 0 00.33.33z" }), /*#__PURE__*/_react["default"].createElement("path", { className: "EmptyBlueprint_svg__cls-5", d: "M140.77 49.62c-.22-1.15-4.7-1.17-19-.63-5.45.21-10.6.41-13.52.28a1.16 1.16 0 00-.86.35c-1.1 1.12-.9 5-.72 8.42.06 1.12.11 2.17.11 3a.63.63 0 00.23.48c2.13 2 27.55.14 30.44-.07a.32.32 0 00.3-.35.31.31 0 00-.34-.3c-14.23 1.06-29.34 1.44-30 .24 0-.84 0-1.9-.11-3-.15-3-.37-7 .54-7.93a.49.49 0 01.37-.16c2.94.13 8.1-.07 13.56-.28 7.44-.28 17.62-.67 18.32.12.4 1.65.56 10.37-.67 12.24a.52.52 0 01-.28.25c-.9.15-4.45.27-7.88.38-6.54.22-7.6.3-7.89.48s-.27.38-.24 7.19v3a.9.9 0 01-.77.89c-1.42.17-8.49 1.42-8 9.63a5.78 5.78 0 003.12 4l.1.14a6.41 6.41 0 003.91 2.67.73.73 0 01.7.73v5.3c0 2.65.05 5.6.05 7.65a.47.47 0 01-.08.32c-.12.11-.48.09-.83.07h-.55c-1.32 0-3.24 0-5.24-.08-3.88-.08-7.88-.16-8.92 0a1 1 0 00-.63.45 5.16 5.16 0 00-.6 1.6h-.58a1.24 1.24 0 00-1.3 1.2l-.23 4.88-9.9-.16a.33.33 0 00-.33.32 3.83 3.83 0 01-.26 1.32 6.15 6.15 0 00.1-1.15c0-4.7-1.69-6.26-12.23-6.81-10.27-.53-14.69.14-15.42 5.72a5 5 0 001.46 4.39c3.33 3.1 11.23 2 12.83 1.68.58 2 .13 19.2-.2 21.11-.75.09-4.11-.09-6.85-.23a78.15 78.15 0 00-8.59-.23 1.07 1.07 0 00-.71.52c-1.45 2.08-1.47 11.13-1.17 12.67.21 1.14 4.64 1.27 18.76 1.13 5.55-.06 10.8-.11 13.72.1h.09a1.17 1.17 0 00.82-.34c1.11-1.05 1-4.51.93-7.85v-2.82a.73.73 0 00-.25-.53c-2-1.89-21.41-.74-23.61-.61a.33.33 0 00-.31.35.32.32 0 00.35.3c12.55-.78 22.94-.56 23.17.48v2.84c.08 2.91.17 6.52-.73 7.37a.51.51 0 01-.42.16c-2.94-.22-8.2-.17-13.77-.11-7.36.08-17.44.18-18.12-.6-.26-1.42-.22-10.31 1.07-12.18.1-.15.2-.24.29-.25a81.63 81.63 0 018.45.24c7 .37 7.24.31 7.37.07.65-.65.87-20.82.24-22a.41.41 0 00-.44-.25c-.37.07-9.14 1.62-12.48-1.48a4.33 4.33 0 01-1.14-3.88c.6-4.67 3.63-5.73 14.74-5.15s11.61 2.41 11.61 6.16a4.49 4.49 0 01-1 3c-3.29 2.27-9.94 1.72-10 1.72a.31.31 0 00-.35.28.33.33 0 00.28.36c4.83.67 8.23.19 10.09-1.43a6.09 6.09 0 00.44-.44c.17-.13.34-.26.5-.4a4.3 4.3 0 001.48-2.91l9.18.16h.73a.33.33 0 00.33-.31l.24-5.21a.6.6 0 01.65-.56h.44a62.89 62.89 0 00-.52 13.44c.08.43.27 1.41 14.25 1.78 7 .18 15.39.13 19.5-.13.77-.07.9-1.64.75-8.85 0-1.65-.07-3.22 0-4.29a.64.64 0 00-.19-.45c-1.86-1.93-26.48-2.13-32.95-2.15a4.12 4.12 0 01.48-1.23c.11-.16.18-.18.19-.18 1-.16 5.14-.07 8.81 0 2 0 3.93.08 5.25.08h.51a1.73 1.73 0 001.32-.25 1 1 0 00.28-.79v-7.65-5.3a1.37 1.37 0 00-1.36-1.37 5.25 5.25 0 01-2.68-1.48 14.52 14.52 0 003.16.84 5.5 5.5 0 003.67-.67 7.42 7.42 0 003.54-5.79 6 6 0 00-2.58-5.21 6.85 6.85 0 00-6.25-.66 6.33 6.33 0 00-4 4.88 7.71 7.71 0 00.39 4.72 4.48 4.48 0 01-1.81-2.88c-.49-7.41 5.52-8.7 7.39-8.91a1.56 1.56 0 001.33-1.54v-3-6.66c.81-.13 4.48-.26 7.46-.36 3.61-.12 7-.23 8-.39a1.09 1.09 0 00.71-.53c1.39-2.12 1.11-11.28.76-12.74zm-2.1 59.64v4.32c.06 3 .16 7.53-.23 8.19-8.5.53-31.93.21-33-1.12a64.4 64.4 0 01.53-13.32c15.55.03 31.97.72 32.7 1.93zM117.16 82a5.72 5.72 0 013.6-4.4 6.2 6.2 0 015.63.57 5.32 5.32 0 012.32 4.66 6.75 6.75 0 01-3.23 5.26 4.9 4.9 0 01-3.23.59 14 14 0 01-4.25-1.33 6.92 6.92 0 01-.84-5.35z" }), /*#__PURE__*/_react["default"].createElement("path", { className: "EmptyBlueprint_svg__cls-6", d: "M138.46 108.57L107 107.13a1.08 1.08 0 00-1.08 1.08l.72 12.2a1.08 1.08 0 001.08 1.08l30.76.72a1.08 1.08 0 001.08-1.08v-11.48a1.09 1.09 0 00-1.1-1.08zM122.74 88.16a5.25 5.25 0 10-5.25-5.25 5.25 5.25 0 005.25 5.25z" }), /*#__PURE__*/_react["default"].createElement("circle", { className: "EmptyBlueprint_svg__cls-6", cx: 79.42, cy: 112.4, r: 1.49 }), /*#__PURE__*/_react["default"].createElement("circle", { className: "EmptyBlueprint_svg__cls-6", cx: 72.55, cy: 112.4, r: 1.49 }), /*#__PURE__*/_react["default"].createElement("circle", { className: "EmptyBlueprint_svg__cls-6", cx: 85.93, cy: 112.4, r: 1.49 })); } }]); return EmptyBlueprint; }(_react["default"].Component); exports["default"] = EmptyBlueprint; EmptyBlueprint.propTypes = _propTypes.EmptyStateProps; EmptyBlueprint.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, { dataId: 'emptyBlueprint' }); // if (__DOCS__) { // EmptyBlueprint.docs = { // componentGroup: 'Emptystate' // }; // }