UNPKG

4.09 kBJavaScriptView Raw
1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@ant-design/icons"),require("antd"),require("react")):"function"==typeof define&&define.amd?define(["exports","@ant-design/icons","antd","react"],t):t((e=e||self).WenerUiWener={},e.icons,e.antd,e.React)}(this,(function(e,t,n,l){"use strict";l=l&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l;e.WenerApisWelcome=function(e){var r=e.title,i=void 0===r?"Wener's APIs":r,c=e.subTitle,m=void 0===c?"":c,a=e.icon,u=void 0===a?l.createElement(t.ApiOutlined,null):a,s=e.children;return l.createElement(n.Result,{icon:u,status:"success",title:i,subTitle:m,extra:[l.createElement(n.Button,{key:"wener",href:"https://wener.me",icon:l.createElement(t.HomeOutlined,null)},"Home"),l.createElement(n.Button,{type:"primary",key:"github",href:"https://github.com/wenerme/apis",icon:l.createElement(t.GithubOutlined,null)},"wenerme/apis"),l.createElement(n.Button,{key:"apis",href:"https://apis.wener.me",icon:l.createElement(t.ApiOutlined,null)},"APIs")]},l.createElement("div",null,l.createElement(n.Row,null,l.createElement(n.Col,{span:12},l.createElement(n.PageHeader,{title:"Site"}),l.createElement("div",null,l.createElement("ul",null,l.createElement("li",null,l.createElement(n.Button,{type:"link",href:"https://wener.me"},"wener.me"),l.createElement("ul",null,l.createElement("li",null,l.createElement(n.Button,{icon:l.createElement(t.GithubOutlined,null),type:"link",href:"https://github.com/wenerme/wener"},"wenerme/wener")),l.createElement("li",null,l.createElement(n.Button,{type:"link",href:"https://travis-ci.com/wenerme/wener"},l.createElement("img",{src:"https://travis-ci.com/wenerme/wener.svg?branch=master",alt:""}))))),l.createElement("li",null,l.createElement(n.Button,{type:"link",href:"https://apis.wener.me"},"apis.wener.me"),l.createElement("ul",null,l.createElement("li",null,l.createElement(n.Button,{icon:l.createElement(t.GithubOutlined,null),type:"link",href:"https://github.com/wenerme/apis"},"wenerme/apis"))))))),l.createElement(n.Col,{span:12},l.createElement(n.PageHeader,{title:"Library"}),l.createElement("div",null,l.createElement("ul",null,l.createElement("li",null,l.createElement(n.Button,{icon:l.createElement(t.ToolOutlined,null),type:"link",href:"https://www.npmjs.com/package/@wener/utils"},"@wener/utils"),l.createElement("ul",null,l.createElement("li",null,l.createElement(n.Button,{icon:l.createElement(t.BookOutlined,null),type:"link",href:"https://apis.wener.me/docs/@wener/utils/"},"Document")),l.createElement("li",null,l.createElement("img",{src:"https://img.shields.io/npm/l/@wener/utils"}),"-",l.createElement("img",{src:"https://img.shields.io/npm/v/@wener/utils"})))),l.createElement("li",null,l.createElement(n.Button,{icon:l.createElement(t.GithubOutlined,null),type:"link",href:"https://www.npmjs.com/package/@wener/ui"},"@wener/ui"),l.createElement("ul",null,l.createElement("li",null,l.createElement(n.Button,{icon:l.createElement(t.FormatPainterOutlined,null),type:"link",href:"https://apis.wener.me/storybook/"},"Storybook"),"-",l.createElement(n.Button,{icon:l.createElement(t.BookOutlined,null),type:"link",href:"https://apis.wener.me/docs/@wener/ui/"},"Document")),l.createElement("li",null,l.createElement("img",{src:"https://img.shields.io/npm/l/@wener/ui"}),"-",l.createElement("img",{src:"https://img.shields.io/npm/v/@wener/ui"})))),l.createElement("li",null,l.createElement(n.Button,{icon:l.createElement(t.RetweetOutlined,null),type:"link",href:"https://www.npmjs.com/package/@wener/tinyrpc"},"@wener/tinyrpc"),l.createElement("ul",null,l.createElement("li",null,l.createElement(n.Button,{icon:l.createElement(t.BookOutlined,null),type:"link",href:"https://apis.wener.me/docs/@wener/tinyrpc/"},"Document")),l.createElement("li",null,l.createElement("img",{src:"https://img.shields.io/npm/l/@wener/tinyrpc"}),"-",l.createElement("img",{src:"https://img.shields.io/npm/v/@wener/tinyrpc"}))))))))),l.createElement("div",null,s))},Object.defineProperty(e,"__esModule",{value:!0})}));
2//# sourceMappingURL=wener-ui-wener.umd.min.js.map