tntd
Version:
tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。
159 lines (157 loc) • 14.2 kB
JavaScript
"use strict";
function _typeof(o) {
"@babel/helpers - typeof";
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
return typeof o;
} : function (o) {
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
}, _typeof(o);
}
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var React = _interopRequireWildcard(require("react"));
function _getRequireWildcardCache(e) {
if ("function" != typeof WeakMap) return null;
var r = new WeakMap(),
t = new WeakMap();
return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
return e ? t : r;
})(e);
}
function _interopRequireWildcard(e, r) {
if (!r && e && e.__esModule) return e;
if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
"default": e
};
var t = _getRequireWildcardCache(r);
if (t && t.has(e)) return t.get(e);
var n = {
__proto__: null
},
a = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
}
return n["default"] = e, t && t.set(e, n), n;
}
function SvgIllustrationNoAccess(props, svgRef) {
return React.createElement("svg", Object.assign({
viewBox: "0 0 161 160",
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
ref: svgRef
}, props), React.createElement("defs", null, React.createElement("circle", {
id: "illustration-no-access_svg__a",
cx: 72,
cy: 72,
r: 72
})), React.createElement("g", {
fill: "none",
fillRule: "evenodd"
}, React.createElement("path", {
d: "M1 0h160v160H1z"
}), React.createElement("g", {
transform: "translate(1 8.533)"
}, React.createElement("g", {
transform: "translate(15.662)"
}, React.createElement("mask", {
id: "illustration-no-access_svg__b",
fill: "#fff"
}, React.createElement("use", {
xlinkHref: "#illustration-no-access_svg__a"
})), React.createElement("use", {
fill: "#F5F5F5",
xlinkHref: "#illustration-no-access_svg__a"
}), React.createElement("path", {
fill: "#E1E1E1",
mask: "url(#illustration-no-access_svg__b)",
d: "M130.133 100.267L56.993 134.4l-43.57-22.605L73.6 100.267z"
}), React.createElement("g", {
mask: "url(#illustration-no-access_svg__b)"
}, React.createElement("path", {
d: "M101.867 12.8c15.61 0 28.266 12.655 28.266 28.267v59.2H73.6v-59.2c0-15.612 12.655-28.267 28.267-28.267z",
fill: "#FFF"
}), React.createElement("path", {
d: "M101.867 12.8c15.61 0 28.266 12.655 28.266 28.267v59.2H73.6v-59.2c0-15.612 12.655-28.267 28.267-28.267zm0 .533c-15.164 0-27.485 12.17-27.73 27.275l-.004.459v58.666H129.6V41.067c0-15.164-12.17-27.485-27.275-27.73l-.458-.004z",
fill: "#18263C",
fillRule: "nonzero"
}), React.createElement("g", {
transform: "translate(88.533 30.933)"
}, React.createElement("path", {
d: "M13.491.747c-5.157 0-9.34 4.135-9.34 9.237v8.462H7.93V9.984l.003-.183c.095-2.954 2.553-5.313 5.56-5.313 3.072 0 5.562 2.462 5.562 5.496v8.462h3.777V9.984l-.003-.23C22.702 4.745 18.56.746 13.49.746zm0 .64c4.723 0 8.58 3.724 8.697 8.378l.003.223-.001 7.817h-2.497V9.984c0-3.39-2.777-6.136-6.202-6.136-3.35 0-6.093 2.632-6.199 5.937l-.003.194v7.826H4.79V9.984c0-4.747 3.895-8.597 8.7-8.597z",
fill: "#18263C",
fillRule: "nonzero"
}), React.createElement("rect", {
fill: "#126BFB",
y: 15.8,
width: 26.667,
height: 21.712,
rx: 3
}), React.createElement("path", {
d: "M23.467 15.8a3.2 3.2 0 013.2 3.2V34.31a3.2 3.2 0 01-3.2 3.2H3.2a3.2 3.2 0 01-3.2-3.2V19a3.2 3.2 0 013.2-3.2h20.267zm0 .426H3.2a2.773 2.773 0 00-2.768 2.598L.427 19V34.31a2.773 2.773 0 002.598 2.768l.175.005h20.267a2.773 2.773 0 002.768-2.597l.005-.176V19a2.773 2.773 0 00-2.598-2.768l-.175-.006z",
fill: "#18263C",
fillRule: "nonzero"
}), React.createElement("circle", {
fill: "#FFF",
cx: 13.333,
cy: 23.289,
r: 2.667
})), React.createElement("path", {
fill: "#FFF",
d: "M100.977 54.222h1.778v5.333h-1.778z"
})), React.createElement("g", {
mask: "url(#illustration-no-access_svg__b)"
}, React.createElement("path", {
d: "M49.995 74.888c-3.804-.603-5.818-.833-6.04-.69l3.09-13.11 8.807.46v14.288c-.1-.03-2.052-.346-5.857-.948z",
stroke: "#1A1A1A",
strokeWidth: 0.5,
fill: "#FFF"
}), React.createElement("path", {
d: "M56.12 76.192V61.295l-9.283-.486-3.293 13.967.554-.354.019-.007.075-.008h.124l.277.017.53.05.71.082 1.127.148 1.379.198 1.273.195 6.165.995.342.1zM55.584 61.8v13.715l-1.962-.32-4.297-.683-1.637-.248-1.09-.152-.9-.111-.556-.057-.316-.025-.273-.016-.256-.005 2.954-12.535 8.333.437z",
fill: "#1A1A1A",
fillRule: "nonzero"
}), React.createElement("path", {
d: "M49.907 37.199c-7.851 1.473-12.206 4.918-13.064 10.335-.77 4.868.205 10.202 2.928 16.004a4 4 0 003.084 2.265L58.5 67.919a4 4 0 003.837-1.704C69.246 56.12 70.4 48.53 65.8 43.445c-4.904-5.421-6.37-9.213-4.396-11.375l-11.496 5.129z",
fill: "#18263C"
}), React.createElement("path", {
d: "M72.55 97.217c13.562 9.096 24.51 6.785 32.843-6.932 2.333-3.839 4.957-16.435-4.839-23.133-5.481-3.747-17.947-7.531-37.396-11.352-3.706-1.994-6.121-2.377-7.245-1.148-1.685 1.844-2.757 4.993.169 5.457l7.634 1.209c23.476 7.046 30 13.814 19.573 20.306-10.428 6.492-14.007 11.69-10.739 15.593z",
fill: "#FFF"
}), React.createElement("path", {
d: "M55.677 54.436c-.933 1.02-1.611 2.327-1.727 3.429-.142 1.36.559 2.319 2.082 2.56l7.634 1.209 1.254.381 1.22.381 1.188.38 1.154.38.565.19 1.104.38 1.07.378.524.189 1.02.377.988.377.955.377.92.375.888.376c.145.062.289.124.431.187l.837.374c.274.125.542.25.804.374l.77.372c3.015 1.49 5.226 2.965 6.628 4.419 3.1 3.217 2.192 6.302-2.866 9.451l-.42.263-.817.522-.397.258-.772.514-.744.509-.713.503a44.56 44.56 0 00-3.125 2.438l-.536.471c-4.604 4.145-5.732 7.678-3.291 10.593 13.78 9.256 24.933 6.902 33.362-6.971 1.436-2.364 2.424-6.65 2.174-10.68-.326-5.273-2.598-9.802-7.106-12.884a19.73 19.73 0 00-.972-.621l-.533-.311c-.274-.156-.56-.311-.858-.467l-.612-.31-.642-.312-.674-.31-.706-.312-.364-.156-.753-.311a60.217 60.217 0 00-.388-.156l-.8-.311-.831-.312-.863-.312-.894-.312-.925-.311-.957-.312-.49-.157-1.004-.312-.514-.156-1.051-.312-1.083-.313-1.114-.312-1.145-.313-1.177-.313-1.825-.469-1.255-.313-1.288-.313-1.318-.314-1.35-.313-1.382-.314-1.413-.314-1.444-.314-2.226-.471-1.524-.314-2.344-.472-.797-.157c-3.622-1.965-6.125-2.404-7.424-1.17l-.118.12zm7.329 1.645l1.565.312 2.29.467 1.488.31 1.458.311 1.426.31 1.395.31 1.364.31 1.334.31 1.303.308 1.896.463 1.826.463 1.757.462 1.133.307 1.102.307 1.072.307 1.04.307 1.01.306.978.306.948.306.917.305.447.153.871.305.84.305.81.304.778.304c.128.05.253.102.378.152l.733.304.701.303.671.304a33.42 33.42 0 012.106 1.059l.533.302.255.15.486.302.456.302c4.334 2.963 6.514 7.308 6.83 12.394.242 3.904-.717 8.06-2.083 10.308-8.238 13.56-18.98 15.827-32.391 6.832-1.97-2.364-1.176-5.33 2.472-8.885l.481-.457a34.158 34.158 0 011.93-1.65l.62-.486.653-.492c.334-.248.68-.498 1.037-.75l.73-.508.763-.514.793-.52.825-.528.425-.265c5.369-3.343 6.412-6.888 2.988-10.44-.782-.811-1.801-1.626-3.057-2.442l-.596-.377a31.778 31.778 0 00-.63-.377l-.663-.378a45.975 45.975 0 00-2.586-1.325l-.815-.38a63.008 63.008 0 00-.42-.19l-.865-.38a73.058 73.058 0 00-.445-.19l-.915-.38-.95-.382-.982-.381-.504-.191-1.034-.382-.529-.192-1.084-.383-1.117-.383-1.151-.384-.589-.192-1.201-.385-1.236-.385-1.269-.386-7.676-1.218c-1.18-.187-1.653-.834-1.545-1.862.1-.95.715-2.136 1.562-3.063.986-1.078 3.27-.716 6.857 1.213z",
fill: "#1A1A1A",
fillRule: "nonzero"
}), React.createElement("path", {
d: "M31.1 69.04c2.218 0 8.421 0 12.039 1.882 3.617 1.882 9.516 2.357 14.206 1.381 1.375-.286 22.905-4.902 32.255 3.773 4.284 14.536 3.746 24.09-1.614 28.661-.585.5-5.558-.597-14.92-3.288 6.507 19.1 9.14 39.374 7.9 60.824L-.02 144.386c11.661-25.712 20.283-41.758 25.866-48.14 1.075-1.228-6.01 4.211-6.141 4.02L2.564 81.838C8.622 73.305 18.134 69.04 31.1 69.04z",
fill: "#D6DAE1"
}), React.createElement("path", {
d: "M77.106 70.821c-4.046-.483-8.466-.398-12.986.097a76.06 76.06 0 00-3.909.53l-1.057.18-.827.15-.766.154-.28.058c-4.586.954-10.156.484-13.652-1.182l-.343-.17c-1.254-.653-2.865-1.12-4.767-1.432-1.491-.244-3.076-.383-4.757-.445l-.96-.028-.67-.01-1.032-.003c-13.064 0-22.675 4.31-28.797 12.932l-.151.212 17.319 18.62.137.08c.067.036.094.04.142.03l.091-.023.068-.026.06-.029.15-.084.094-.058.231-.15.882-.606 3.205-2.285-.396.512-.194.257-.394.533-.403.559-.204.289-.415.597-.423.623-.43.649-.662 1.021-.451.713-.692 1.118-.71 1.175-.483.816-.74 1.272-.758 1.33-.515.92-.524.944-1.071 1.966-.825 1.542-.842 1.6-.861 1.658-1.177 2.3-.903 1.794-1.233 2.481-.946 1.928-1.29 2.662-1.321 2.764-1.013 2.14-1.03 2.2-1.759 3.793-1.443 3.15-.897 1.974 81.739 18.054.021-.375.065-1.193c1.058-20.653-1.484-40.216-7.623-58.689l-.164-.486 2.221.63 2.11.582 1.541.412 1.412.365.975.243 1.189.282.547.123.763.164.694.137.425.076.58.093.349.047.319.036.29.024.134.008.245.006.217-.005.187-.017c.202-.026.346-.076.432-.15 4.891-4.172 5.853-12.317 2.942-24.42l-.275-1.11-.297-1.133c-.205-.763-.424-1.54-.657-2.332l-.09-.144c-2.982-2.767-7.327-4.377-12.71-5.02zm11.975 5.218l.236.213-.024-.086c.233.79.452 1.566.656 2.327l.296 1.13.14.556.263 1.096a64.01 64.01 0 011.064 5.625l.124.95c.961 7.979-.4 13.524-4.057 16.644-.047.04-.146.063-.296.07h-.167c-.03 0-.063-.002-.096-.004l-.218-.016-.252-.027-.285-.038-.49-.078-.367-.066-.832-.164-1.221-.268-1.12-.264-1.245-.307-1.367-.351-1.88-.5-2.067-.568-1.785-.504-1.525-.437.198.58.363 1.08c6.107 18.383 8.636 37.853 7.586 58.412l-.046.835L.436 144.157l.8-1.757 1.418-3.093.929-2.006 1.366-2.925 1.335-2.825 1.303-2.724 1.271-2.624 1.24-2.522.809-1.626.795-1.582.78-1.536.767-1.492.894-1.717.969-1.832.632-1.177.62-1.143.912-1.65.887-1.57.577-1.005.567-.969.829-1.389.539-.882.528-.848.26-.411.512-.796.5-.761.49-.726.241-.35.474-.675.232-.324.457-.622c.15-.202.3-.398.446-.588l.435-.552c.143-.179.285-.352.424-.518l.413-.484c.126-.143.18-.222.19-.348a.334.334 0 00-.349-.363.486.486 0 00-.183.044l-.143.07-.191.112-.242.153-.678.458-.874.615-2.658 1.897-.59.41-.391.26-.194.122L2.976 81.81l-.152.211c5.898-8.305 15.105-12.525 27.656-12.66h1.415l.893.011.232.005c1.926.047 3.724.186 5.396.46 1.687.277 3.13.677 4.271 1.217l.304.15c3.607 1.877 9.546 2.426 14.42 1.411l1.037-.209.818-.15.323-.056a75.064 75.064 0 014.6-.647c4.476-.49 8.85-.574 12.841-.097 5.08.607 9.192 2.086 12.05 4.582z",
fill: "#1A1A1A",
fillRule: "nonzero"
}))), React.createElement("path", {
d: "M19.314 82.925c-.47-.646-4.556 2.806-12.255 10.355-9.667 9.478-8.678 15.317-1.427 21.26 8.718 7.147 30.394 9.113 33.389 6.934.053-.038 6.405-3.094 4.276-7.245-2.13-4.151-7.528-1.167-7.724-1.243-2.772-1.08-14.249-2.116-7.166-8.77 2.578-2.422 4.352-3.427 6.045-4.867L19.314 82.925z",
fill: "#FFF"
}), React.createElement("path", {
d: "M15.69 84.785l-.716.615-.783.69-1.149 1.04-1.267 1.174-.678.638-1.074 1.02-1.534 1.477-1.23 1.197-.424.415a51.4 51.4 0 00-1.472 1.501l-.54.586c-.264.291-.517.579-.76.864l-.472.566c-5.272 6.468-5.136 11.453-.108 16.471l.45.437c.154.145.312.29.474.436l.499.438c.17.146.344.292.523.438 4.01 3.287 11.053 5.749 18.992 7.032l.858.133.85.122.84.11.827.097.815.086.8.074.783.061.764.05.374.021.733.032c.24.01.477.016.71.02l.685.01c.336 0 .662-.003.977-.01l.615-.022c2-.091 3.484-.381 4.157-.87l-.07.053c-.014.012-.017.018-.012.018l.04-.017.215-.12.352-.213.557-.356.374-.25.397-.278c.192-.138.37-.272.519-.395 2.197-1.815 3.133-3.886 2-6.093-.797-1.556-2.085-2.3-3.708-2.378-.967-.046-1.978.142-3.046.494l-.185.062-.357.128-.69.264-.24-.083-.313-.096-.585-.16-2.047-.517-.593-.158-.59-.167c-2.275-.668-3.756-1.413-4.414-2.373-.791-1.154-.317-2.65 1.813-4.65a35.743 35.743 0 012.088-1.818l.62-.488 1.145-.864.951-.709c.382-.288.704-.54 1.006-.79l.477-.403L19.55 82.708c-.244-.336-.732-.237-1.561.297l-.307.206c-.107.075-.219.156-.336.243l-.366.278-.397.315-.43.35-.462.388zm3.366-1.672l14.932 16.205-.185.152-.237.188-.752.573-1.666 1.247-.29.224a36.717 36.717 0 00-2.67 2.28c-2.333 2.192-2.91 4.01-1.903 5.479.769 1.12 2.351 1.917 4.763 2.625l.6.17.6.16 1.818.457.617.164.327.095.27.087.177.065c.063.024.29-.034.554-.118l.325-.109.691-.25c1-.33 1.94-.504 2.816-.463 1.404.068 2.482.69 3.17 2.03.961 1.876.153 3.662-1.84 5.309a7.87 7.87 0 01-.307.24l-.358.257-.377.257-.48.313-.515.32-.277.162-.076.039c-.026.011-.032.01-.015-.005l.064-.05c-.443.322-1.352.546-2.596.669l-.516.043c-.088.007-.179.013-.27.018l-.566.028a29.16 29.16 0 01-.295.01l-.611.01h-.64l-.331-.004-.68-.017a47.47 47.47 0 01-.348-.012l-.715-.034-.736-.044-.755-.056-.772-.067-.788-.078-.802-.09-.814-.1-.823-.113-.832-.124a68.59 68.59 0 01-.419-.067c-7.838-1.266-14.784-3.695-18.689-6.895l-.257-.213-.496-.425c-5.892-5.161-6.442-10.04-.981-16.705l.462-.552.49-.56c.083-.095.168-.19.255-.284l.53-.573c.363-.385.744-.776 1.143-1.174l1.55-1.517 1.56-1.507 1.093-1.042 1.351-1.27.936-.865.868-.788.542-.484.512-.45.712-.61.528-.44.248-.202.46-.364c.44-.339.81-.601 1.111-.787l.12-.071.284-.156.124-.064c.064-.036.091-.057.077-.077z",
fill: "#1A1A1A",
fillRule: "nonzero"
}), React.createElement("circle", {
fill: "#126BFB",
fillRule: "nonzero",
cx: 146.435,
cy: 115.243,
r: 3.2
})), React.createElement("path", {
fill: "#FFF",
d: "M34.144 54.57l-4.068-8.534-4.466 2.235z"
}), React.createElement("path", {
d: "M29.98 45.846l-4.465 2.234a.213.213 0 00-.031.362l8.533 6.3c.179.131.415-.064.32-.264l-4.068-8.533a.213.213 0 00-.288-.1zm-.004.477l3.607 7.568-7.566-5.586 3.959-1.982zM15.795 54.518l-1.058 4.267a.213.213 0 00.243.262l6.4-1.106a.213.213 0 00.072-.394l-5.341-3.16a.213.213 0 00-.316.131zm.344.381l4.598 2.72-5.508.952.91-3.672z",
fill: "#18263C",
fillRule: "nonzero"
})));
}
var ForwardRef = React.forwardRef(SvgIllustrationNoAccess);
var MemoForwardRef = React.memo(ForwardRef);
var _default = exports["default"] = MemoForwardRef;