@zohodesk/svg
Version:
This Bundle Contains EmptyState Images.
111 lines (83 loc) • 8.62 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 Export = /*#__PURE__*/function (_React$Component) {
_inherits(Export, _React$Component);
var _super = _createSuper(Export);
function Export() {
_classCallCheck(this, Export);
return _super.apply(this, arguments);
}
_createClass(Export, [{
key: "render",
value: function render() {
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
viewBox: "0 0 200 200",
name: "export"
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, '.cls-2{fill:var(--zd_emptysvg_plus)}.cls-3{fill:var(--zd_emptysvg_medium_circle)}.cls-4{fill:var(--zd_emptysvg_cross)}')), /*#__PURE__*/_react["default"].createElement("path", {
d: "M80.46 58s46.65-31.17 70.27-21.79 39.74 88.3-25.92 123.72-95.36-41.62-95.62-55.27C29 91.42 29.19 59.93 80.46 58Z",
style: {
fill: 'var(--zd_emptysvg_primary_fill)',
opacity: 0.1
}
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "cls-2",
d: "M14.22 119.11a.51.51 0 0 1-.47-.53l.42-7.47a.48.48 0 0 1 .52-.47.51.51 0 0 1 .47.53l-.41 7.47a.51.51 0 0 1-.53.47Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "cls-2",
d: "m18.1 115.58-7.34-.42a.49.49 0 0 1-.47-.52.49.49 0 0 1 .52-.47l7.35.42a.5.5 0 0 1 0 1Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "cls-3",
d: "M171.41 22.61a4.75 4.75 0 1 0 4.67 4.74 4.72 4.72 0 0 0-4.67-4.74Zm0 8.5a3.76 3.76 0 1 1 3.68-3.76 3.73 3.73 0 0 1-3.68 3.76ZM124.66 174.88a3.45 3.45 0 1 0 3.39 3.45 3.43 3.43 0 0 0-3.39-3.45Zm0 5.9a2.45 2.45 0 1 1 2.4-2.45 2.43 2.43 0 0 1-2.4 2.45Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "cls-4",
d: "M81.16 21.77a3 3 0 1 0 3 3 3 3 0 0 0-3-3Zm0 5.09a2 2 0 1 1 2-2.05 2 2 0 0 1-2 2.05ZM190.08 131.62a.49.49 0 0 0-.7 0l-2.38 2.11-2.11-2.4a.5.5 0 1 0-.75.65l2.13 2.42-2.38 2.17a.49.49 0 0 0 0 .7.49.49 0 0 0 .37.16.46.46 0 0 0 .33-.13l2.37-2.15 2.12 2.41a.5.5 0 0 0 .7.05.51.51 0 0 0 .05-.71l-2.13-2.42 2.38-2.16a.49.49 0 0 0 0-.7Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M53.45 128.89c-5.58-3.24-7.84-12.38-4.89-19.6 2.15-5.25 5.78-10.27 11.79-10 12.39.57 9.29 18.31 6.19 18s7-39.72 24.18-38.87 27.48 20.28 24.79 26.76-.62-21.1 26.49-10.39-7.17 48.8-53.72 43.38c-18.44-2.17-28.9-5.84-34.83-9.28Z",
style: {
fill: 'var(--zd_emptysvg_secondary_fill)'
}
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M176 115.21h-68.14l-.52-17.59c5.47-.73 17.21-2.53 14.5 1.58-1 1.51-22.85-18.41-20.3-18S81.32 100 79.86 98.52s15-.73 15-.73l-.37 16.4-42.14 1s-22.72.85-22.13-20.64c.26-9.2 6.89-17.2 16-18.27 5.52-.65 12.12 1.14 18.79 8.89 0 0-10.32 15.21.36-8.69s47.76-37.24 69.31-12.73c23.61 26.86 2.56 38.62 2.38 36.63s2.5-7.37 15.56-1.27c16.91 7.89 11.26 41.8-21 29.29 0 0-54.89 29.46-89.6-5.46",
style: {
fill: 'none',
stroke: 'var(--zd_emptysvg_primary_stroke)',
strokeLinecap: 'round',
strokeLinejoin: 'round'
}
}));
}
}]);
return Export;
}(_react["default"].Component);
exports["default"] = Export;
Export.propTypes = _propTypes.EmptyStateProps;
Export.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, {
dataId: 'emptyExport'
}); // if (__DOCS__) {
// Export.docs = {
// componentGroup: 'Emptystate'
// };
// }