@zohodesk/svg
Version:
This Bundle Contains EmptyState Images.
135 lines (107 loc) • 13.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 AuditLog = /*#__PURE__*/function (_React$Component) {
_inherits(AuditLog, _React$Component);
var _super = _createSuper(AuditLog);
function AuditLog() {
_classCallCheck(this, AuditLog);
return _super.apply(this, arguments);
}
_createClass(AuditLog, [{
key: "render",
value: function render() {
return /*#__PURE__*/_react["default"].createElement(_SVG["default"], _extends({
viewBox: "0 0 500 500",
name: "AuditLog"
}, this.props), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, '.AuditLog_svg__cls-1{opacity: 0.1;fill:var(--zd_emptysvg_primary_fill)}.AuditLog_svg__cls-2{fill:var(--zd_emptysvg_plus)}.AuditLog_svg__cls-3{fill:var(--zd_emptysvg_cross)}.AuditLog_svg__cls-4{fill:none;stroke:var(--zd_emptysvg_primary_stroke);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5}.AuditLog_svg__cls-5{fill:var(--zd_emptysvg_secondary_fill)}')), /*#__PURE__*/_react["default"].createElement("g", {
"clip-path": "url(#clip0_8054_29326)"
}, /*#__PURE__*/_react["default"].createElement("path", {
d: "M200.502 140.5C200.502 140.5 317.252 62.5004 376.252 86.0004C435.252 109.5 475.502 306.75 311.502 395.25C147.502 483.75 73.0016 291.25 72.2516 257.25C71.7516 224 72.2516 145.5 200.502 140.5Z",
className: "AuditLog_svg__cls-1"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "AuditLog_svg__cls-2",
d: "M35 293.249C35 293.249 34.75 293.249 35 293.249C34.25 293.249 33.75 292.499 33.75 291.999L34.75 273.249C34.75 272.499 35.25 271.999 36 271.999C36.75 271.999 37.25 272.499 37.25 273.249L36.25 291.999C36 292.749 35.5 293.249 35 293.249Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "AuditLog_svg__cls-2",
d: "M44.501 284.498L26.001 283.498C25.251 283.498 24.751 282.748 24.751 282.248C24.751 281.498 25.501 280.998 26.001 280.998L44.251 281.998C45.001 281.998 45.501 282.748 45.501 283.248C45.751 283.998 45.251 284.498 44.501 284.498Z"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M428 51.999C421.5 51.999 416.25 57.249 416.25 63.749C416.25 70.249 421.5 75.499 428 75.499C434.5 75.499 439.75 70.249 439.75 63.749C439.75 57.249 434.25 51.999 428 51.999ZM428 73.249C423 73.249 418.75 68.999 418.75 63.749C418.75 58.499 423 54.249 428 54.249C433 54.249 437.25 58.499 437.25 63.749C437.25 68.999 433 73.249 428 73.249Z",
style: {
fill: 'var(--zd_emptysvg_medium_circle)'
}
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M311 432.748C306.25 432.748 302.5 436.498 302.5 441.248C302.5 445.998 306.25 449.748 311 449.748C315.75 449.748 319.5 445.998 319.5 441.248C319.5 436.748 315.75 432.748 311 432.748ZM311 447.498C307.75 447.498 305 444.748 305 441.248C305 437.748 307.75 434.998 311 434.998C314.25 434.998 317 437.748 317 441.248C317 444.748 314.25 447.498 311 447.498Z",
style: {
fill: 'var(--zd_emptysvg_medium_circle)'
}
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M202.251 50C198.001 50 194.751 53.5 194.751 57.5C194.751 61.5 198.001 65 202.251 65C206.501 65 209.751 61.5 209.751 57.5C209.751 53.5 206.501 50 202.251 50ZM202.251 62.75C199.501 62.75 197.251 60.5 197.251 57.75C197.251 55 199.501 52.75 202.251 52.75C205.001 52.75 207.251 55 207.251 57.75C207.251 60.5 205.001 62.75 202.251 62.75Z",
className: "AuditLog_svg__cls-3"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M474.5 324.5C474 324 473.25 324 472.75 324.5L466.75 330L461.5 324C461 323.5 460.25 323.5 459.75 324C459.25 324.5 459.25 325.25 459.75 325.75L465 331.75L459 337.25C458.5 337.75 458.5 338.5 459 339C459.25 339.25 459.5 339.5 460 339.5C460.25 339.5 460.5 339.5 460.75 339.25L466.75 333.75L472 339.75C472.25 340 472.5 340.25 473 340.25C473.25 340.25 473.5 340.25 473.75 340C474.25 339.5 474.25 338.75 473.75 338.25L468.5 332.25L474.5 326.75C475 326 475 325 474.5 324.5Z",
className: "AuditLog_svg__cls-3"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M289.502 162.499C289.502 162.499 196.252 100.249 149.002 118.999C101.752 137.749 69.5017 295.499 200.752 366.249C332.002 436.999 391.502 282.999 392.002 255.749C392.502 229.249 392.002 166.249 289.502 162.499Z",
className: "AuditLog_svg__cls-1"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M143.321 229.819C143.321 229.819 126.185 122.585 152.03 120.604C177.874 118.623 294.175 120.604 289.4 145.786C284.624 170.967 223.384 172.382 249.228 185.114C275.073 197.846 320.582 184.265 320.582 209.73C320.582 235.194 143.321 229.819 143.321 229.819Z",
className: "AuditLog_svg__cls-5"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M150.344 271.128C150.344 271.128 132.084 281.314 151.187 284.709C170.289 287.822 257.656 285.275 251.194 277.636C244.452 269.714 150.344 271.128 150.344 271.128Z",
className: "AuditLog_svg__cls-5"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M152.03 314.699C152.03 314.699 137.141 324.319 152.592 327.148C168.042 329.978 239.115 327.714 233.778 320.641C228.44 313.284 152.03 314.699 152.03 314.699Z",
className: "AuditLog_svg__cls-5"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M152.03 357.14C152.03 357.14 137.141 366.76 152.592 369.59C168.042 372.419 239.115 370.156 233.778 363.082C228.44 355.726 152.03 357.14 152.03 357.14Z",
className: "AuditLog_svg__cls-5"
}), /*#__PURE__*/_react["default"].createElement("path", {
d: "M307.941 313.852C307.941 300.554 295.862 307.911 291.648 303.384C285.749 296.593 281.254 286.407 294.176 275.655C316.65 257.264 356.821 254.435 364.968 294.329C373.396 334.224 316.931 354.03 304.008 335.922C299.233 329.131 307.941 317.53 307.941 313.852Z",
className: "AuditLog_svg__cls-5"
}), /*#__PURE__*/_react["default"].createElement("path", {
className: "AuditLog_svg__cls-4",
d: "M357.101 227.272C357.101 227.272 356.259 97.1199 355.135 92.31C354.292 88.3488 171.694 87.7829 101.183 87.5C86.0134 87.5 73.9338 99.6664 73.6529 114.945L73.372 138.146L74.2147 310.456C74.2147 310.456 70.2819 320.076 68.5963 301.968C67.1917 283.577 69.72 136.166 69.72 136.166C64.9444 134.751 57.3595 135.883 57.9214 158.235C58.4832 190.773 55.1122 358.556 61.2924 362.8C67.4727 367.044 84.0469 380.625 87.1371 339.882C89.9463 305.08 86.5752 157.952 85.4515 114.945C84.8897 105.608 92.4746 97.4029 102.026 97.6858C107.082 97.9687 111.577 100.515 112.701 109.286C115.51 131.356 104.835 406.655 113.824 413.163C122.814 419.671 350.921 425.612 350.921 409.202C350.921 393.074 349.797 358.556 349.797 358.556C349.797 358.556 261.308 382.606 261.027 296.026C261.027 296.026 260.465 258.395 294.175 242.268C321.986 228.97 357.101 237.175 374.799 262.356C377.889 266.883 380.699 271.976 382.946 278.201C391.093 300.553 386.036 325.735 370.585 343.56C367.776 346.955 364.967 348.936 363.001 348.653C356.259 346.955 367.776 333.94 377.328 342.994C386.879 352.048 425.646 385.435 426.769 393.357C427.893 401.28 416.095 405.807 410.757 398.167C405.42 390.528 354.292 342.994 354.292 342.994C354.292 342.994 316.087 361.102 289.119 334.789C262.15 308.476 278.725 270.279 292.771 259.81C292.771 259.81 304.569 249.341 323.672 249.341C346.145 249.624 365.248 265.469 371.709 286.972C375.642 299.704 376.485 314.417 365.81 326.301"
})), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
id: "clip0_8054_29326"
}, /*#__PURE__*/_react["default"].createElement("rect", {
width: "450",
height: "400",
fill: "white",
transform: "translate(25 50)"
}))));
}
}]);
return AuditLog;
}(_react["default"].Component);
exports["default"] = AuditLog;
AuditLog.propTypes = _propTypes.EmptyStateProps;
AuditLog.defaultProps = _objectSpread(_objectSpread({}, _defaultProps.EmptyStateDefaultProps), {}, {
dataId: 'AuditLog'
}); // if (__DOCS__) {
// AuditLog.docs = {
// componentGroup: 'Emptystate'
// };
// }