@zohodesk/svg
Version:
This Bundle Contains EmptyState Images.
111 lines (83 loc) • 10.3 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 EmptyReply = /*#__PURE__*/function (_React$Component) {
_inherits(EmptyReply, _React$Component);
var _super = _createSuper(EmptyReply);
function EmptyReply() {
_classCallCheck(this, EmptyReply);
return _super.apply(this, arguments);
}
_createClass(EmptyReply, [{
key: "render",
value: function render() {
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
viewBox: "0 0 200 200",
name: "Reply"
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, '.EmptyReply_svg-3{fill:var(--zd_emptysvg_tiny_circle)}.EmptyReply_svg-4{fill:var(--zd_emptysvg_plus)}')), /*#__PURE__*/_react["default"].createElement("path", {
d: "M85.42 67.4s41.2-27.13 62.06-19 35.09 76.86-22.89 107.68S40.37 119.89 40.15 108c-.21-11.5 0-38.9 45.27-40.6z",
fill: "var(--zd_emptysvg_primary_fill)",
opacity: 0.05
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M155.12 150.45a2.5 2.5 0 112.52-2.5 2.51 2.51 0 01-2.52 2.5zm0-4.28a1.78 1.78 0 101.8 1.78 1.79 1.79 0 00-1.8-1.78z",
fill: "var(--zd_emptysvg_small_circle)"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M146.48 43.73a3.45 3.45 0 113.52-3.45 3.47 3.47 0 01-3.52 3.45zm0-6.17a2.73 2.73 0 102.75 2.72 2.74 2.74 0 00-2.75-2.72z",
fill: "var(--zd_emptysvg_medium_circle)"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "EmptyReply_svg-3",
d: "M79.36 40.64a2.21 2.21 0 112.22-2.2 2.2 2.2 0 01-2.22 2.2zm0-3.68a1.48 1.48 0 101.5 1.48 1.49 1.49 0 00-1.5-1.44z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "EmptyReply_svg-4",
d: "M29.58 106.9a.36.36 0 01-.34-.38l.31-5.42a.36.36 0 01.72 0l-.31 5.42a.35.35 0 01-.38.38z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "EmptyReply_svg-4",
d: "M32.47 104.34L27 104a.36.36 0 110-.72l5.46.3a.37.37 0 01.34.38.35.35 0 01-.33.38z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "EmptyReply_svg-3",
d: "M167.3 119.92a.35.35 0 01-.26-.12l-3.65-4a.36.36 0 01.54-.49l3.64 4a.36.36 0 010 .51.35.35 0 01-.27.1z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "EmptyReply_svg-3",
d: "M163.44 119.7a.36.36 0 01-.27-.12.37.37 0 010-.51l4.08-3.62a.36.36 0 01.48.54l-4.08 3.62a.36.36 0 01-.21.09z"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M98.94 143.5c-10.1 0-19.79-.57-26.76-2.19a11.33 11.33 0 01-4.11-1.16l-.12-.08a11.61 11.61 0 01-5.39-3.5c-7.36-10-5.18-40.08-3.9-52.56a6.06 6.06 0 016-5.44l28-.35a.49.49 0 01.51.47.5.5 0 01-.45.52L64.35 82c5.76 4.06 32.42 22.69 38.43 24.14 5.24 1.28 23-12.31 31.62-19.67a.5.5 0 01.65.76c-1 .88-25.47 21.6-32.51 19.88S64 83 62.68 82a.48.48 0 01-.19-.53.49.49 0 01.43-.37l18-1.78-16.3.21a5 5 0 00-5 4.54c-1.27 12.37-3.45 42.19 3.7 51.87a9.64 9.64 0 004 2.8c.43-4.22 15-17.71 25.87-25 6.23-4.15 10.45-5.81 12.55-4.94 5.19 2.16 28 20 37.52 27.53 5.61-3.28 2.88-37.75 1.32-51.08-1.1-1.64-16.13-23.42-36.47-22.06a.51.51 0 01-.51-.33c-.46-1.26-1.87-5.19-2.84-9-3.62 6.59-10.82 15.65-15.71 19.73 5.83 2.89 15.07 10.63 18 17.45.4-7.3 2.25-11.62 5.5-12.86 7.6-2.88 16.08-1 28.39 6.2a.51.51 0 01.17.69.49.49 0 01-.68.17c-15.1-8.86-22.39-8.07-27.52-6.12-3.14 1.19-4.8 5.93-4.94 14.09 0 .92 0 1.23-.5 1.27s-.55-.44-.59-.64c-1.22-7-12.65-16.67-18.71-19.57a6.22 6.22 0 01-3 1.47 1.32 1.32 0 01-1.44-1.3c-.25-1.57.77-1.91 1.22-2a6.12 6.12 0 013 .68 65.61 65.61 0 008.78-9.37 72.66 72.66 0 007.6-11.32c-.66-2.92-.94-5.52-.16-6.42a1.27 1.27 0 011.27-.38c.63.14 1.65.64 1.48 2.49a13.82 13.82 0 01-1.53 4.38 95.82 95.82 0 002.94 9.62c21.38-1.14 36.91 22.39 37.07 22.63a.54.54 0 01.08.21c.57 4.87 5.27 46.55-1.49 52 1.87 1.47 3.08 2.44 3.32 2.64a.5.5 0 01.17.53.51.51 0 01-.42.36c-1.67.28-25.9 3.01-48.12 3.01zM84.78 142c22.38 1.57 54.45-1.63 61-2.33-.63-.51-1.56-1.25-2.72-2.16-5.75 2.06-37.8 4.71-58.28 4.49zm-12.72-1.7c5.83.91 17.83 1 33.41.27 16.53-.81 32-2.41 36.69-3.77-9.73-7.68-31.88-25-36.81-27-1.7-.7-5.92 1.07-11.6 4.86-11.42 7.6-25.44 21-25.44 24.33 0 .08.09.19.24.3a30.06 30.06 0 003.51 1.01zm13.39-66.78a1.32 1.32 0 00-.29 0c-.2 0-.52.09-.39.84.07.47.25.47.41.46a4.19 4.19 0 002-.93 5 5 0 00-1.73-.37zm19.73-26.82a.22.22 0 00-.18.08c-.43.49-.31 2.12.12 4.27a10.17 10.17 0 00.88-2.91c.11-1.24-.45-1.37-.69-1.42z",
fill: "var(--zd_emptysvg_primary_stroke)"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M107 51.86a58.65 58.65 0 01-17.11 22.28c10.19 5.19 16.46 11.83 19.35 19.71 0 0-9.18-35.37 34.43-7.79 0 0-8.93-22.43-33.79-23.31z",
fill: "var(--zd_emptysvg_secondary_fill)"
}));
}
}]);
return EmptyReply;
}(_react["default"].Component);
exports["default"] = EmptyReply;
EmptyReply.propTypes = _propTypes.EmptyStateProps;
EmptyReply.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, {
dataId: 'EmptyReply'
}); // if (__DOCS__) {
// EmptyReply.docs = {
// componentGroup: 'Emptystate'
// };
// }