UNPKG

@zohodesk/svg

Version:

This Bundle Contains EmptyState Images.

114 lines (86 loc) 10.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 EmptyIntegration = /*#__PURE__*/function (_React$Component) { _inherits(EmptyIntegration, _React$Component); var _super = _createSuper(EmptyIntegration); function EmptyIntegration() { _classCallCheck(this, EmptyIntegration); return _super.apply(this, arguments); } _createClass(EmptyIntegration, [{ key: "render", value: function render() { return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({ viewBox: "0 0 150 150", name: "inbox" }, this.props), /*#__PURE__*/_react["default"].createElement("g", { clipPath: "url(#a)", fill: "none" }, /*#__PURE__*/_react["default"].createElement("path", { fill: "var(--zd_emptysvg_primary_fill)", d: "M60.15 42.15s35.026-23.4 52.726-16.35c17.7 7.05 29.775 66.226-19.425 92.776-49.2 26.55-71.55-31.2-71.775-41.4-.15-9.975 0-33.525 38.475-35.025Z", opacity: 0.1 }), /*#__PURE__*/_react["default"].createElement("path", { fill: "var(--zd_emptysvg_plus)", d: "M10.5 87.975c-.075 0 0 0 0 0-.225 0-.375-.225-.375-.375l.3-5.625c0-.225.15-.375.375-.375s.375.15.375.375l-.3 5.625c-.075.225-.225.375-.375.375Z" }), /*#__PURE__*/_react["default"].createElement("path", { fill: "var(--zd_emptysvg_plus)", d: "m13.35 85.35-5.55-.3c-.225 0-.375-.225-.375-.375 0-.225.225-.375.375-.375l5.475.3c.225 0 .375.225.375.375.075.225-.075.375-.3.375Z" }), /*#__PURE__*/_react["default"].createElement("path", { fill: "var(--zd_emptysvg_medium_circle)", d: "M128.4 15.6a3.52 3.52 0 0 0-3.525 3.525 3.52 3.52 0 0 0 3.525 3.525 3.52 3.52 0 0 0 3.525-3.525c0-1.95-1.65-3.525-3.525-3.525Zm0 6.375c-1.5 0-2.775-1.275-2.775-2.85 0-1.575 1.275-2.85 2.775-2.85s2.775 1.275 2.775 2.85c0 1.575-1.275 2.85-2.775 2.85ZM93.3 129.824a2.529 2.529 0 0 0-2.55 2.55 2.529 2.529 0 0 0 2.55 2.55 2.529 2.529 0 0 0 2.55-2.55c0-1.35-1.125-2.55-2.55-2.55Zm0 4.425c-.975 0-1.8-.825-1.8-1.875s.825-1.875 1.8-1.875c.975 0 1.8.825 1.8 1.875s-.825 1.875-1.8 1.875Z" }), /*#__PURE__*/_react["default"].createElement("path", { fill: "var(--zd_emptysvg_tiny_circle)", d: "M60.675 15a2.256 2.256 0 0 0-2.25 2.25c0 1.2.975 2.25 2.25 2.25s2.25-1.05 2.25-2.25S61.95 15 60.675 15Zm0 3.825c-.825 0-1.5-.675-1.5-1.5s.675-1.5 1.5-1.5 1.5.675 1.5 1.5-.675 1.5-1.5 1.5ZM142.35 97.35a.363.363 0 0 0-.525 0l-1.8 1.65-1.575-1.8a.362.362 0 0 0-.525 0 .362.362 0 0 0 0 .525l1.575 1.8-1.8 1.65a.363.363 0 0 0 0 .525c.075.075.15.15.3.15.075 0 .15 0 .225-.075l1.8-1.65 1.575 1.8c.075.075.15.15.3.15.075 0 .15 0 .225-.075a.362.362 0 0 0 0-.525l-1.575-1.8 1.8-1.65c.15-.225.15-.525 0-.675Z" }), /*#__PURE__*/_react["default"].createElement("path", { fill: "var(--zd_emptysvg_primary_fill)", d: "M86.85 48.75S58.877 30.075 44.7 35.7c-14.174 5.625-23.85 52.95 15.526 74.175C99.6 131.1 117.45 84.9 117.6 76.725c.15-7.95 0-26.85-30.75-27.975Z", opacity: 0.1 }), /*#__PURE__*/_react["default"].createElement("path", { fill: "var(--zd_emptysvg_secondary_fill)", d: "M28.773 37.462c0-1.38-1.252-.628-1.753-1.13-.5-.627-1.002-1.757.376-2.887 2.38-1.884 6.512-2.26 7.389 2.008.876 4.143-5.01 6.278-6.387 4.394-.501-.753.375-2.008.375-2.385ZM41.297 37.462c0-1.38-1.252-.628-1.753-1.13-.626-.753-1.127-1.757.25-2.887 2.38-1.884 6.513-2.26 7.39 2.008.876 4.143-5.01 6.278-6.387 4.394-.376-.753.5-2.008.5-2.385ZM33.908 77.512S45.18 95.465 50.566 90.317c5.385-5.147 7.89-13.308 15.528-13.308 7.64 0 25.423 18.079 31.058 15.945 5.636-2.135 21.54 2.762 22.292-1.13.876-3.767 1.127-29.378-1.378-29.629-2.505-.251-83.155-.753-84.282 1.883-1.127 2.637.125 13.434.125 13.434Z" }), /*#__PURE__*/_react["default"].createElement("path", { stroke: "var(--zd_emptysvg_primary_stroke)", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 10, strokeWidth: 0.75, d: "m131.59 91.698-.626-44.82S27.647 45.121 29.65 48.26c1.754 2.762 83.781-3.013 101.69-4.394 0 0 1.252-12.805 0-14.814-1.253-2.009-108.577-.628-111.207-.251-2.63.377-.626 85.747 2.63 91.02 3.13 5.273 107.951-.628 107.951-.628 1.878-.502 1.252-16.948.876-21.468l-54.601.377c.25 6.528.5 15.442.5 15.442l4.384-5.273 7.388.502-15.654-13.308 49.593-.376c3.506-3.516-.126-7.03-2.255-5.022-2.129 2.009.501 4.77 1.378 4.143.877-.628.376-29.629.25-32.642-.25-3.013-5.76-4.77-6.512-1.255-.751 3.515 3.006 4.268 4.759 3.264 1.753-1.005-1.878-4.52-1.878-4.52s-83.03 1.632-85.159 0c-2.129-1.632-5.76 1.13-5.76 3.139s5.009 2.385 5.885.628c.877-1.758-1.377-2.511-2.38-2.386-1 .126-.876 28.75-1.377 29.378-.5.627-1.252 4.77-.375 7.532.876 2.762 7.388-3.264 1.002-4.77-3.256-.502-3.758 1.883-3.758 1.883s-.25 3.264 8.892 1.13l34.815.25" })), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", { id: "a" }, /*#__PURE__*/_react["default"].createElement("path", { fill: "var(--zd_emptysvg_primary_fill)", d: "M7.5 15h135v120H7.5z" })))); } }]); return EmptyIntegration; }(_react["default"].Component); exports["default"] = EmptyIntegration; EmptyIntegration.propTypes = _propTypes.EmptyStateProps; EmptyIntegration.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, { dataId: 'emptyIntegration' });