@zohodesk/svg
Version:
This Bundle Contains EmptyState Images.
108 lines (80 loc) • 9.85 kB
JavaScript
;
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 GCBot = /*#__PURE__*/function (_React$Component) {
_inherits(GCBot, _React$Component);
var _super = _createSuper(GCBot);
function GCBot() {
_classCallCheck(this, GCBot);
return _super.apply(this, arguments);
}
_createClass(GCBot, [{
key: "render",
value: function render() {
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
viewBox: "0 0 200 200",
name: "GCBot"
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, '.GCBot_svg__cls-2{fill:var(--zd_emptysvg_plus)}.GCBot_svg__cls-3{fill:var(--zd_emptysvg_medium_circle)}.GCBot_svg__cls-4{fill:var(--zd_emptysvg_cross)}.GCBot_svg__cls-5{fill:var(--zd_emptysvg_secondary_fill);}.GCBot_svg__cls-6{fill:none;stroke:var(--zd_emptysvg_primary_stroke);stroke-linecap:round;stroke-linejoin:round}')), /*#__PURE__*/_react["default"].createElement("path", {
d: "M84.12 58.19S130.78 27 154.39 36.4s39.74 88.3-25.92 123.72-95.36-41.65-95.57-55.3c-.28-13.21 0-44.7 51.22-46.63Z",
style: {
fill: 'var(--zd_emptysvg_primary_fill)',
isolation: 'isolate',
opacity: 0.1
}
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "GCBot_svg__cls-2",
d: "M17.9 119.3a.5.5 0 0 1-.47-.52l.41-7.47a.52.52 0 0 1 .53-.47.5.5 0 0 1 .47.53l-.41 7.47a.49.49 0 0 1-.5.48Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "GCBot_svg__cls-2",
d: "m21.76 115.77-7.34-.42a.5.5 0 0 1-.47-.53.52.52 0 0 1 .53-.47l7.34.42a.49.49 0 0 1 .48.51.49.49 0 0 1-.51.48Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "GCBot_svg__cls-3",
d: "M175.07 22.8a4.75 4.75 0 1 0 4.68 4.82v-.08a4.72 4.72 0 0 0-4.68-4.74Zm0 8.5a3.76 3.76 0 1 1 3.69-3.83v.07a3.72 3.72 0 0 1-3.69 3.76ZM128.32 175.07a3.45 3.45 0 1 0 3.4 3.5 3.42 3.42 0 0 0-3.4-3.5Zm0 5.9a2.45 2.45 0 1 1 2.4-2.5v.05a2.42 2.42 0 0 1-2.4 2.48Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "GCBot_svg__cls-4",
d: "M84.83 22a3 3 0 1 0 3 3 3 3 0 0 0-3-3Zm0 5.09a2 2 0 1 1 .06 0ZM193.75 131.81a.49.49 0 0 0-.69 0l-2.38 2.19-2.12-2.4a.5.5 0 0 0-.7 0 .51.51 0 0 0-.05.61l2.09 2.38-2.38 2.17a.5.5 0 0 0 0 .7.45.45 0 0 0 .37.16.44.44 0 0 0 .33-.13l2.37-2.15 2.11 2.41a.52.52 0 0 0 .38.17.48.48 0 0 0 .33-.12.5.5 0 0 0 0-.71l-2.13-2.42 2.38-2.16a.48.48 0 0 0 .11-.68Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "GCBot_svg__cls-5",
d: "M137.93 125.8c-.09-9.55 8.73-4.26 11.57-7.44 4.31-4.82 7.48-12.16-1.88-19.72-16.13-13-44.75-15.13-50.71 13.29s34.45 42.32 43.66 29.52c3.43-4.8-2.57-12.94-2.64-15.65Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "GCBot_svg__cls-5",
d: "M125.63 119.48c0-1.24 1.13-.55 1.5-1a1.58 1.58 0 0 0-.24-2.56c-2.1-1.69-5.81-2-6.58 1.72s4.47 5.49 5.66 3.83c.45-.58-.34-1.64-.34-1.99ZM138.7 120.82c0-1.24 1.13-.56 1.5-1a1.58 1.58 0 0 0-.24-2.56c-2.09-1.69-5.81-2-6.58 1.73s4.47 5.49 5.66 3.83c.45-.6-.34-1.65-.34-2ZM109.48 119.48c0-1.24 1.14-.55 1.51-1a1.58 1.58 0 0 0-.25-2.56c-2.09-1.69-5.8-2-6.58 1.72s4.47 5.49 5.67 3.83c.45-.58-.34-1.64-.35-1.99Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "GCBot_svg__cls-6",
d: "M108.43 122.26c5.17-1.7 2.12-10.64-1.92-7.87s-4.61 11.06 7.16 12 14.75-6.1 13.9-9.5-6.45-4.54-6.95 1.27 7.3 8.94 14.32 7.54 4.89-10.65 1.84-10.51-5.6 5.6 2.71 10.87 13.95.59 12.3-16.85c-2-20.84-43.54-31.28-55.41-.88-8.49 21.74 9.29 31.54 12.44 33.69S96 156 97.38 156.43s26.43-10 26.43-10a29.06 29.06 0 0 0 21.63-5.43 34.1 34.1 0 0 0 12.21-38.62 36 36 0 0 0-13.88-18c-1.55-8.82-9.93-13.69-19.12-14.32l-.25-5.14c-4.65-1.47-4-5.19-2.32-6.72a2.75 2.75 0 0 1 4.46 2.5c-.25 2.69-3.74 3.43-3.74 3.43v5.86h-1.38a17.77 17.77 0 0 0-16.87 13s25.77-.1 28.83-.31a2.37 2.37 0 0 0 2.23-2.52 5.08 5.08 0 0 0-.7-2.19c-1.52-2.67-19-1.05-19-1.05s-2.32.48-2.29 3.85l.08 1.23c-8 .24-22.31 6.76-26.53 21.89 0 0-8.29 22.8 13.62 38.69M76 83.34a13.39 13.39 0 0 0 6 7.49s-6.51.38-9.37-3.75c0 0-14.8 8.23-24.31-2.09s1.5-31.78 18.34-26.48c0 0 5.5 2.78 4.28 7.74s-6 2-3.67-.43 9.28-2.11 9.56 7.87S68 83.49 67 83.06c-2-1-3.14-4.86-1.37-7.73s-.75 7.52-4.71 7.18.27-8.93-3.15-7.59c-2.33.92-5 8.34-4.44 8.55s1.48-18.32 5.19-21c5.4-3.9 7.87 8.75-6.7 12.65"
}));
}
}]);
return GCBot;
}(_react["default"].Component);
exports["default"] = GCBot;
GCBot.propTypes = _propTypes.EmptyStateProps;
GCBot.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, {
dataId: 'emptyGCBot'
}); // if (__DOCS__) {
// GCBot.docs = {
// componentGroup: 'Emptystate'
// };
// }