mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
新增table card、pie card
This commit is contained in:
parent
94a8a66759
commit
6d0488f775
@ -14,6 +14,7 @@
|
|||||||
"build": "node build/build.js"
|
"build": "node build/build.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@antv/data-set": "^0.8.9",
|
||||||
"moment": "^2.22.2",
|
"moment": "^2.22.2",
|
||||||
"viser-vue": "^2.2.5",
|
"viser-vue": "^2.2.5",
|
||||||
"vue": "^2.5.2",
|
"vue": "^2.5.2",
|
||||||
|
127
src/components/analysis/HotSearch.vue
Normal file
127
src/components/analysis/HotSearch.vue
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
<template>
|
||||||
|
<div class="hot-search">
|
||||||
|
<a-row style="margin: 0 -34px">
|
||||||
|
<a-col style="padding: 0 34px; margin-bottom: 24px" :sm="12" :xs="24">
|
||||||
|
<div class="num-info">
|
||||||
|
<span class="title">搜索用户数</span>
|
||||||
|
<div class="value">
|
||||||
|
<span class="total">12321</span>
|
||||||
|
<span class="subtotal">71.2<a-icon type="caret-up" /></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<mini-area style="height: 45px" />
|
||||||
|
</a-col>
|
||||||
|
<a-col style="padding: 0 34px; margin-bottom: 24px" :sm="12" :xs="24">
|
||||||
|
<div class="num-info">
|
||||||
|
<span class="title">搜索用户数</span>
|
||||||
|
<div class="value">
|
||||||
|
<span class="total">2.7</span>
|
||||||
|
<span class="subtotal">71.2<a-icon type="caret-down" /></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<mini-area style="height: 45px" />
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
<a-table
|
||||||
|
:dataSource="searchData"
|
||||||
|
:columns="columns" size="small"
|
||||||
|
:pagination="{style: { marginBottom: 0 }, pageSize: 5}"
|
||||||
|
>
|
||||||
|
<a href="#/" slot="keyword" slot-scope="text">{{text}}</a>
|
||||||
|
<span slot="rang" slot-scope="text">{{text}} %<a-icon type="caret-up" /> </span>
|
||||||
|
</a-table>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ARow from 'vue-antd-ui/es/grid/Row'
|
||||||
|
import ACol from 'vue-antd-ui/es/grid/Col'
|
||||||
|
import AIcon from 'vue-antd-ui/es/icon/icon'
|
||||||
|
import MiniArea from '../chart/MiniArea'
|
||||||
|
import ATable from 'vue-antd-ui/es/table'
|
||||||
|
|
||||||
|
const searchData = []
|
||||||
|
for (let i = 0; i < 50; i++) {
|
||||||
|
searchData.push({
|
||||||
|
index: i + 1,
|
||||||
|
keyword: '关键词-' + i,
|
||||||
|
count: Math.floor(Math.random() * 1000),
|
||||||
|
range: Math.floor(Math.random() * 100),
|
||||||
|
status: Math.floor((Math.random() * 10) % 2)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
const columns = [
|
||||||
|
{
|
||||||
|
title: '排名',
|
||||||
|
dataIndex: 'index',
|
||||||
|
key: 'index'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '搜索关键词',
|
||||||
|
dataIndex: 'keyword',
|
||||||
|
key: 'keyword',
|
||||||
|
scopedSlots: {customRender: 'keyword'}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '用户数',
|
||||||
|
dataIndex: 'count',
|
||||||
|
key: 'count',
|
||||||
|
sorter: (a, b) => a.count - b.count
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '周涨幅',
|
||||||
|
dataIndex: 'range',
|
||||||
|
key: 'range',
|
||||||
|
scopedSlots: {customRender: 'rang'}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'HotSearch',
|
||||||
|
components: {ATable, MiniArea, AIcon, ARow, ACol},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
searchData,
|
||||||
|
columns
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.num-info{
|
||||||
|
.title{
|
||||||
|
color: rgba(0,0,0,.45);
|
||||||
|
font-size: 14px;
|
||||||
|
height: 22px;
|
||||||
|
line-height: 22px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
word-break: break-all;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.value{
|
||||||
|
.total{
|
||||||
|
color: rgba(0,0,0,.85);
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 32px;
|
||||||
|
height: 32px;
|
||||||
|
font-size: 24px;
|
||||||
|
margin-right: 32px;
|
||||||
|
}
|
||||||
|
.subtotal{
|
||||||
|
color: rgba(0,0,0,.45);
|
||||||
|
font-size: 16px;
|
||||||
|
vertical-align: top;
|
||||||
|
margin-right: 0;
|
||||||
|
i{
|
||||||
|
font-size: 12px;
|
||||||
|
color: red;
|
||||||
|
transform: scale(.82);
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
71
src/components/analysis/SalesData.vue
Normal file
71
src/components/analysis/SalesData.vue
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
<template>
|
||||||
|
<div style="">
|
||||||
|
<a-radio-group>
|
||||||
|
<a-radio-button value="a">全渠道</a-radio-button>
|
||||||
|
<a-radio-button value="b">线上</a-radio-button>
|
||||||
|
<a-radio-button value="c">门店</a-radio-button>
|
||||||
|
</a-radio-group>
|
||||||
|
<v-chart :forceFit="true" :height="height" :data="data" :scale="scale">
|
||||||
|
<v-tooltip :showTitle="false" dataKey="item*percent" />
|
||||||
|
<v-axis />
|
||||||
|
<v-legend dataKey="item" position="right" :offsetX="-140"/>
|
||||||
|
<v-pie position="percent" color="item" :vStyle="pieStyle" :label="labelConfig" />
|
||||||
|
<v-coord type="theta" :radius="0.75" :innerRadius="0.6" />
|
||||||
|
</v-chart>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ARadio from 'vue-antd-ui/es/radio'
|
||||||
|
const DataSet = require('@antv/data-set')
|
||||||
|
|
||||||
|
const ARadioGroup = ARadio.Group
|
||||||
|
const ARadioButton = ARadio.Button
|
||||||
|
|
||||||
|
const sourceData = [
|
||||||
|
{ item: '事例一', count: 40 },
|
||||||
|
{ item: '事例二', count: 21 },
|
||||||
|
{ item: '事例三', count: 17 },
|
||||||
|
{ item: '事例四', count: 13 },
|
||||||
|
{ item: '事例五', count: 9 }
|
||||||
|
]
|
||||||
|
|
||||||
|
const scale = [{
|
||||||
|
dataKey: 'percent',
|
||||||
|
min: 0,
|
||||||
|
formatter: '.0%'
|
||||||
|
}]
|
||||||
|
|
||||||
|
const dv = new DataSet.View().source(sourceData)
|
||||||
|
dv.transform({
|
||||||
|
type: 'percent',
|
||||||
|
field: 'count',
|
||||||
|
dimension: 'item',
|
||||||
|
as: 'percent'
|
||||||
|
})
|
||||||
|
const data = dv.rows
|
||||||
|
export default {
|
||||||
|
name: 'SalesData',
|
||||||
|
components: {ARadioGroup, ARadioButton},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
data,
|
||||||
|
scale,
|
||||||
|
height: 356,
|
||||||
|
pieStyle: {
|
||||||
|
stroke: '#fff',
|
||||||
|
lineWidth: 1
|
||||||
|
},
|
||||||
|
labelConfig: ['percent', {
|
||||||
|
formatter: (val, item) => {
|
||||||
|
return item.point.item + ': ' + val;
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
59
src/components/chart/RankingList.vue
Normal file
59
src/components/chart/RankingList.vue
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
<template>
|
||||||
|
<div class="rank">
|
||||||
|
<h4 class="title">{{title}}</h4>
|
||||||
|
<ul class="list">
|
||||||
|
<li :key="index" v-for="(item, index) in list">
|
||||||
|
<span :class="index < 3 ? 'active' : null">{{index + 1}}</span>
|
||||||
|
<span >{{item.name}}</span>
|
||||||
|
<span >{{item.total}}</span>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'RankingList',
|
||||||
|
props: ['title', 'list']
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.rank{
|
||||||
|
padding: 0 32px 32px 72px;
|
||||||
|
.title{
|
||||||
|
}
|
||||||
|
.list{
|
||||||
|
margin: 25px 0 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
|
li {
|
||||||
|
margin-top: 16px;
|
||||||
|
span {
|
||||||
|
color: rgba(0,0,0,.65);
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 22px;
|
||||||
|
}
|
||||||
|
span:first-child {
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
border-radius: 20px;
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-right: 24px;
|
||||||
|
height: 20px;
|
||||||
|
line-height: 20px;
|
||||||
|
width: 20px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
span.active {
|
||||||
|
background-color: #314659;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
span:last-child {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
@ -73,7 +73,7 @@
|
|||||||
<bar title="销售额趋势" />
|
<bar title="销售额趋势" />
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">
|
<a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">
|
||||||
123
|
<ranking-list title="门店销售排行榜" :list="rankList"/>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
@ -82,12 +82,27 @@
|
|||||||
<bar title="销售额趋势" />
|
<bar title="销售额趋势" />
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">
|
<a-col :xl="8" :lg="12" :md="12" :sm="24" :xs="24">
|
||||||
123
|
<ranking-list title="门店销售排行榜" :list="rankList"/>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row></a-tab-pane>
|
</a-row></a-tab-pane>
|
||||||
</a-tabs>
|
</a-tabs>
|
||||||
</div>
|
</div>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
<a-row style="margin: 0 -12px">
|
||||||
|
<a-col style="padding: 0 12px" :xl="12" :lg="24" :md="24" :sm="24" :xs="24">
|
||||||
|
<a-card :bordered="false" style="margin-top: 24px" title="热门搜索">
|
||||||
|
<hot-search />
|
||||||
|
</a-card>
|
||||||
|
</a-col>
|
||||||
|
<a-col style="padding: 0 12px" :xl="12" :lg="24" :md="24" :sm="24" :xs="24">
|
||||||
|
<a-card :bordered="false" style="margin-top: 24px;" title="销售额占比">
|
||||||
|
<sales-data />
|
||||||
|
<div slot="extra">
|
||||||
|
<div>...</div>
|
||||||
|
</div>
|
||||||
|
</a-card>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -103,13 +118,34 @@ import MiniBar from '../chart/MiniBar'
|
|||||||
import MiniProgress from '../chart/MiniProgress'
|
import MiniProgress from '../chart/MiniProgress'
|
||||||
import ATabs from 'vue-antd-ui/es/tabs'
|
import ATabs from 'vue-antd-ui/es/tabs'
|
||||||
import ADatePicker from 'vue-antd-ui/es/date-picker'
|
import ADatePicker from 'vue-antd-ui/es/date-picker'
|
||||||
import Bar from "../chart/Bar";
|
import Bar from '../chart/Bar'
|
||||||
|
import RankingList from '../chart/RankingList'
|
||||||
|
import HotSearch from '../analysis/HotSearch'
|
||||||
|
import SalesData from '../analysis/SalesData'
|
||||||
|
|
||||||
|
|
||||||
|
const rankList = []
|
||||||
|
|
||||||
|
for (let i = 0; i < 8; i++) {
|
||||||
|
rankList.push({
|
||||||
|
name: '桃源村' + i + '号店',
|
||||||
|
total: 1234.56 - i * 100
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
const ATabPane = ATabs.TabPane
|
const ATabPane = ATabs.TabPane
|
||||||
const ARangePicker = ADatePicker.RangePicker
|
const ARangePicker = ADatePicker.RangePicker
|
||||||
export default {
|
export default {
|
||||||
name: 'dashboard',
|
name: 'dashboard',
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
rankList
|
||||||
|
}
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
|
SalesData,
|
||||||
|
HotSearch,
|
||||||
|
RankingList,
|
||||||
Bar,
|
Bar,
|
||||||
ARangePicker,
|
ARangePicker,
|
||||||
ATabPane,
|
ATabPane,
|
||||||
|
168
yarn.lock
168
yarn.lock
@ -14,6 +14,28 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@antv/util" "~1.0.6"
|
"@antv/util" "~1.0.6"
|
||||||
|
|
||||||
|
"@antv/data-set@^0.8.9":
|
||||||
|
version "0.8.9"
|
||||||
|
resolved "http://registry.npm.taobao.org/@antv/data-set/download/@antv/data-set-0.8.9.tgz#019b3ec73a1309d57dfb379200b8ae02486fa613"
|
||||||
|
dependencies:
|
||||||
|
"@antv/hierarchy" "~0.1.0-beta.2"
|
||||||
|
d3-array "~1.2.0"
|
||||||
|
d3-composite-projections "~1.2.0"
|
||||||
|
d3-dsv "~1.0.5"
|
||||||
|
d3-geo "~1.6.4"
|
||||||
|
d3-geo-projection "~2.1.2"
|
||||||
|
d3-hexjson "~1.0.1"
|
||||||
|
d3-hierarchy "~1.1.5"
|
||||||
|
d3-sankey "~0.7.1"
|
||||||
|
d3-voronoi "~1.1.2"
|
||||||
|
dagre "~0.8.2"
|
||||||
|
lodash "~4.17.4"
|
||||||
|
point-at-length "~1.0.2"
|
||||||
|
regression "~2.0.0"
|
||||||
|
simple-statistics "~4.1.0"
|
||||||
|
topojson-client "~3.0.0"
|
||||||
|
wolfy87-eventemitter "~5.1.0"
|
||||||
|
|
||||||
"@antv/g2-brush@^0.0.2":
|
"@antv/g2-brush@^0.0.2":
|
||||||
version "0.0.2"
|
version "0.0.2"
|
||||||
resolved "http://registry.npm.taobao.org/@antv/g2-brush/download/@antv/g2-brush-0.0.2.tgz#0b65f3ebbf82690202913d0b6759ab2900faa841"
|
resolved "http://registry.npm.taobao.org/@antv/g2-brush/download/@antv/g2-brush-0.0.2.tgz#0b65f3ebbf82690202913d0b6759ab2900faa841"
|
||||||
@ -58,6 +80,10 @@
|
|||||||
gl-matrix "~2.6.1"
|
gl-matrix "~2.6.1"
|
||||||
wolfy87-eventemitter "~5.1.0"
|
wolfy87-eventemitter "~5.1.0"
|
||||||
|
|
||||||
|
"@antv/hierarchy@~0.1.0-beta.2":
|
||||||
|
version "0.1.2"
|
||||||
|
resolved "http://registry.npm.taobao.org/@antv/hierarchy/download/@antv/hierarchy-0.1.2.tgz#d736fe5c4cf8ae664ba51bca194a1786c028ad9d"
|
||||||
|
|
||||||
"@antv/interaction@~0.0.5":
|
"@antv/interaction@~0.0.5":
|
||||||
version "0.0.5"
|
version "0.0.5"
|
||||||
resolved "http://registry.npm.taobao.org/@antv/interaction/download/@antv/interaction-0.0.5.tgz#8455e72afe3523bc478e4c58dd6e1e361f614255"
|
resolved "http://registry.npm.taobao.org/@antv/interaction/download/@antv/interaction-0.0.5.tgz#8455e72afe3523bc478e4c58dd6e1e361f614255"
|
||||||
@ -198,6 +224,10 @@ abbrev@1:
|
|||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "http://registry.npm.taobao.org/abbrev/download/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
|
resolved "http://registry.npm.taobao.org/abbrev/download/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
|
||||||
|
|
||||||
|
abs-svg-path@~0.1.1:
|
||||||
|
version "0.1.1"
|
||||||
|
resolved "http://registry.npm.taobao.org/abs-svg-path/download/abs-svg-path-0.1.1.tgz#df601c8e8d2ba10d4a76d625e236a9a39c2723bf"
|
||||||
|
|
||||||
accepts@~1.3.4, accepts@~1.3.5:
|
accepts@~1.3.4, accepts@~1.3.5:
|
||||||
version "1.3.5"
|
version "1.3.5"
|
||||||
resolved "http://registry.npm.taobao.org/accepts/download/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2"
|
resolved "http://registry.npm.taobao.org/accepts/download/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2"
|
||||||
@ -1782,7 +1812,7 @@ combined-stream@1.0.6, combined-stream@~1.0.5:
|
|||||||
dependencies:
|
dependencies:
|
||||||
delayed-stream "~1.0.0"
|
delayed-stream "~1.0.0"
|
||||||
|
|
||||||
commander@2.16.x, commander@^2.13.0, commander@^2.9.0, commander@~2.16.0:
|
commander@2, commander@2.16.x, commander@^2.13.0, commander@^2.9.0, commander@~2.16.0:
|
||||||
version "2.16.0"
|
version "2.16.0"
|
||||||
resolved "http://registry.npm.taobao.org/commander/download/commander-2.16.0.tgz#f16390593996ceb4f3eeb020b31d78528f7f8a50"
|
resolved "http://registry.npm.taobao.org/commander/download/commander-2.16.0.tgz#f16390593996ceb4f3eeb020b31d78528f7f8a50"
|
||||||
|
|
||||||
@ -2141,14 +2171,37 @@ cyclist@~0.2.2:
|
|||||||
version "0.2.2"
|
version "0.2.2"
|
||||||
resolved "http://registry.npm.taobao.org/cyclist/download/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640"
|
resolved "http://registry.npm.taobao.org/cyclist/download/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640"
|
||||||
|
|
||||||
|
d3-array@1, d3-array@~1.2.0:
|
||||||
|
version "1.2.1"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-array/download/d3-array-1.2.1.tgz#d1ca33de2f6ac31efadb8e050a021d7e2396d5dc"
|
||||||
|
|
||||||
|
d3-collection@1:
|
||||||
|
version "1.0.4"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-collection/download/d3-collection-1.0.4.tgz#342dfd12837c90974f33f1cc0a785aea570dcdc2"
|
||||||
|
|
||||||
d3-color@1:
|
d3-color@1:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "http://registry.npm.taobao.org/d3-color/download/d3-color-1.2.0.tgz#d1ea19db5859c86854586276ec892cf93148459a"
|
resolved "http://registry.npm.taobao.org/d3-color/download/d3-color-1.2.0.tgz#d1ea19db5859c86854586276ec892cf93148459a"
|
||||||
|
|
||||||
|
d3-composite-projections@~1.2.0:
|
||||||
|
version "1.2.0"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-composite-projections/download/d3-composite-projections-1.2.0.tgz#fa0e6f1442f17d04643843a3a883c7d94e0c27c0"
|
||||||
|
dependencies:
|
||||||
|
d3-geo "1.2.4"
|
||||||
|
d3-path "^1.0.1"
|
||||||
|
|
||||||
d3-dispatch@1:
|
d3-dispatch@1:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "http://registry.npm.taobao.org/d3-dispatch/download/d3-dispatch-1.0.3.tgz#46e1491eaa9b58c358fce5be4e8bed626e7871f8"
|
resolved "http://registry.npm.taobao.org/d3-dispatch/download/d3-dispatch-1.0.3.tgz#46e1491eaa9b58c358fce5be4e8bed626e7871f8"
|
||||||
|
|
||||||
|
d3-dsv@~1.0.5:
|
||||||
|
version "1.0.8"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-dsv/download/d3-dsv-1.0.8.tgz#907e240d57b386618dc56468bacfe76bf19764ae"
|
||||||
|
dependencies:
|
||||||
|
commander "2"
|
||||||
|
iconv-lite "0.4"
|
||||||
|
rw "1"
|
||||||
|
|
||||||
d3-ease@1, d3-ease@~1.0.3:
|
d3-ease@1, d3-ease@~1.0.3:
|
||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "http://registry.npm.taobao.org/d3-ease/download/d3-ease-1.0.3.tgz#68bfbc349338a380c44d8acc4fbc3304aa2d8c0e"
|
resolved "http://registry.npm.taobao.org/d3-ease/download/d3-ease-1.0.3.tgz#68bfbc349338a380c44d8acc4fbc3304aa2d8c0e"
|
||||||
@ -2157,6 +2210,42 @@ d3-format@^1.2.0:
|
|||||||
version "1.3.0"
|
version "1.3.0"
|
||||||
resolved "http://registry.npm.taobao.org/d3-format/download/d3-format-1.3.0.tgz#a3ac44269a2011cdb87c7b5693040c18cddfff11"
|
resolved "http://registry.npm.taobao.org/d3-format/download/d3-format-1.3.0.tgz#a3ac44269a2011cdb87c7b5693040c18cddfff11"
|
||||||
|
|
||||||
|
d3-geo-projection@~2.1.2:
|
||||||
|
version "2.1.2"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-geo-projection/download/d3-geo-projection-2.1.2.tgz#7df8e1e9d046d631c6509f7e531357d4adc24aa3"
|
||||||
|
dependencies:
|
||||||
|
commander "2"
|
||||||
|
d3-array "1"
|
||||||
|
d3-geo "^1.1.0"
|
||||||
|
|
||||||
|
d3-geo@1.2.4:
|
||||||
|
version "1.2.4"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-geo/download/d3-geo-1.2.4.tgz#d179f3baa76e623ef1e0d83693db705b7c599006"
|
||||||
|
dependencies:
|
||||||
|
d3-array "1"
|
||||||
|
|
||||||
|
d3-geo@^1.1.0:
|
||||||
|
version "1.10.0"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-geo/download/d3-geo-1.10.0.tgz#2972d18014f1e38fc1f8bb6d545377bdfb00c9ab"
|
||||||
|
dependencies:
|
||||||
|
d3-array "1"
|
||||||
|
|
||||||
|
d3-geo@~1.6.4:
|
||||||
|
version "1.6.4"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-geo/download/d3-geo-1.6.4.tgz#f20e1e461cb1845f5a8be55ab6f876542a7e3199"
|
||||||
|
dependencies:
|
||||||
|
d3-array "1"
|
||||||
|
|
||||||
|
d3-hexjson@~1.0.1:
|
||||||
|
version "1.0.1"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-hexjson/download/d3-hexjson-1.0.1.tgz#6a23111e8359f1e214f5d0afa379c02b2b67df0b"
|
||||||
|
dependencies:
|
||||||
|
d3-array "1"
|
||||||
|
|
||||||
|
d3-hierarchy@~1.1.5:
|
||||||
|
version "1.1.6"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-hierarchy/download/d3-hierarchy-1.1.6.tgz#842c1372090f870b7ea013ebae5c0c8d9f56229c"
|
||||||
|
|
||||||
d3-interpolate@1:
|
d3-interpolate@1:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "http://registry.npm.taobao.org/d3-interpolate/download/d3-interpolate-1.2.0.tgz#40d81bd8e959ff021c5ea7545bc79b8d22331c41"
|
resolved "http://registry.npm.taobao.org/d3-interpolate/download/d3-interpolate-1.2.0.tgz#40d81bd8e959ff021c5ea7545bc79b8d22331c41"
|
||||||
@ -2169,10 +2258,28 @@ d3-interpolate@~1.1.5:
|
|||||||
dependencies:
|
dependencies:
|
||||||
d3-color "1"
|
d3-color "1"
|
||||||
|
|
||||||
|
d3-path@1, d3-path@^1.0.1:
|
||||||
|
version "1.0.5"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-path/download/d3-path-1.0.5.tgz#241eb1849bd9e9e8021c0d0a799f8a0e8e441764"
|
||||||
|
|
||||||
|
d3-sankey@~0.7.1:
|
||||||
|
version "0.7.1"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-sankey/download/d3-sankey-0.7.1.tgz#d229832268fc69a7fec84803e96c2256a614c521"
|
||||||
|
dependencies:
|
||||||
|
d3-array "1"
|
||||||
|
d3-collection "1"
|
||||||
|
d3-shape "^1.2.0"
|
||||||
|
|
||||||
d3-selection@^1.0.2, d3-selection@^1.1.0:
|
d3-selection@^1.0.2, d3-selection@^1.1.0:
|
||||||
version "1.3.0"
|
version "1.3.0"
|
||||||
resolved "http://registry.npm.taobao.org/d3-selection/download/d3-selection-1.3.0.tgz#d53772382d3dc4f7507bfb28bcd2d6aed2a0ad6d"
|
resolved "http://registry.npm.taobao.org/d3-selection/download/d3-selection-1.3.0.tgz#d53772382d3dc4f7507bfb28bcd2d6aed2a0ad6d"
|
||||||
|
|
||||||
|
d3-shape@^1.2.0:
|
||||||
|
version "1.2.0"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-shape/download/d3-shape-1.2.0.tgz#45d01538f064bafd05ea3d6d2cb748fd8c41f777"
|
||||||
|
dependencies:
|
||||||
|
d3-path "1"
|
||||||
|
|
||||||
d3-timer@1, d3-timer@~1.0.6:
|
d3-timer@1, d3-timer@~1.0.6:
|
||||||
version "1.0.7"
|
version "1.0.7"
|
||||||
resolved "http://registry.npm.taobao.org/d3-timer/download/d3-timer-1.0.7.tgz#df9650ca587f6c96607ff4e60cc38229e8dd8531"
|
resolved "http://registry.npm.taobao.org/d3-timer/download/d3-timer-1.0.7.tgz#df9650ca587f6c96607ff4e60cc38229e8dd8531"
|
||||||
@ -2188,12 +2295,23 @@ d3-transition@^1.0.1:
|
|||||||
d3-selection "^1.1.0"
|
d3-selection "^1.1.0"
|
||||||
d3-timer "1"
|
d3-timer "1"
|
||||||
|
|
||||||
|
d3-voronoi@~1.1.2:
|
||||||
|
version "1.1.2"
|
||||||
|
resolved "http://registry.npm.taobao.org/d3-voronoi/download/d3-voronoi-1.1.2.tgz#1687667e8f13a2d158c80c1480c5a29cb0d8973c"
|
||||||
|
|
||||||
d@1:
|
d@1:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "http://registry.npm.taobao.org/d/download/d-1.0.0.tgz#754bb5bfe55451da69a58b94d45f4c5b0462d58f"
|
resolved "http://registry.npm.taobao.org/d/download/d-1.0.0.tgz#754bb5bfe55451da69a58b94d45f4c5b0462d58f"
|
||||||
dependencies:
|
dependencies:
|
||||||
es5-ext "^0.10.9"
|
es5-ext "^0.10.9"
|
||||||
|
|
||||||
|
dagre@~0.8.2:
|
||||||
|
version "0.8.2"
|
||||||
|
resolved "http://registry.npm.taobao.org/dagre/download/dagre-0.8.2.tgz#755b79f4d5499d63cf74c3368fb08add93eceafe"
|
||||||
|
dependencies:
|
||||||
|
graphlib "^2.1.5"
|
||||||
|
lodash "^4.17.4"
|
||||||
|
|
||||||
dashdash@^1.12.0:
|
dashdash@^1.12.0:
|
||||||
version "1.14.1"
|
version "1.14.1"
|
||||||
resolved "http://registry.npm.taobao.org/dashdash/download/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
|
resolved "http://registry.npm.taobao.org/dashdash/download/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
|
||||||
@ -3504,6 +3622,12 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2:
|
|||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "http://registry.npm.taobao.org/graceful-readlink/download/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
|
resolved "http://registry.npm.taobao.org/graceful-readlink/download/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
|
||||||
|
|
||||||
|
graphlib@^2.1.5:
|
||||||
|
version "2.1.5"
|
||||||
|
resolved "http://registry.npm.taobao.org/graphlib/download/graphlib-2.1.5.tgz#6afe1afcc5148555ec799e499056795bd6938c87"
|
||||||
|
dependencies:
|
||||||
|
lodash "^4.11.1"
|
||||||
|
|
||||||
growl@1.9.2:
|
growl@1.9.2:
|
||||||
version "1.9.2"
|
version "1.9.2"
|
||||||
resolved "http://registry.npm.taobao.org/growl/download/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f"
|
resolved "http://registry.npm.taobao.org/growl/download/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f"
|
||||||
@ -3770,16 +3894,16 @@ https-proxy-agent@1:
|
|||||||
debug "2"
|
debug "2"
|
||||||
extend "3"
|
extend "3"
|
||||||
|
|
||||||
iconv-lite@0.4.19:
|
iconv-lite@0.4, iconv-lite@0.4.23, iconv-lite@^0.4.17, iconv-lite@^0.4.4:
|
||||||
version "0.4.19"
|
|
||||||
resolved "http://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
|
|
||||||
|
|
||||||
iconv-lite@0.4.23, iconv-lite@^0.4.17, iconv-lite@^0.4.4:
|
|
||||||
version "0.4.23"
|
version "0.4.23"
|
||||||
resolved "http://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"
|
resolved "http://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"
|
||||||
dependencies:
|
dependencies:
|
||||||
safer-buffer ">= 2.1.2 < 3"
|
safer-buffer ">= 2.1.2 < 3"
|
||||||
|
|
||||||
|
iconv-lite@0.4.19:
|
||||||
|
version "0.4.19"
|
||||||
|
resolved "http://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
|
||||||
|
|
||||||
icss-replace-symbols@^1.1.0:
|
icss-replace-symbols@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "http://registry.npm.taobao.org/icss-replace-symbols/download/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded"
|
resolved "http://registry.npm.taobao.org/icss-replace-symbols/download/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded"
|
||||||
@ -4169,7 +4293,7 @@ is-wsl@^1.1.0:
|
|||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "http://registry.npm.taobao.org/is-wsl/download/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d"
|
resolved "http://registry.npm.taobao.org/is-wsl/download/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d"
|
||||||
|
|
||||||
isarray@0.0.1:
|
isarray@0.0.1, isarray@~0.0.1:
|
||||||
version "0.0.1"
|
version "0.0.1"
|
||||||
resolved "http://registry.npm.taobao.org/isarray/download/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
|
resolved "http://registry.npm.taobao.org/isarray/download/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
|
||||||
|
|
||||||
@ -4949,7 +5073,7 @@ lodash.uniq@^4.5.0:
|
|||||||
version "4.5.0"
|
version "4.5.0"
|
||||||
resolved "http://registry.npm.taobao.org/lodash.uniq/download/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
|
resolved "http://registry.npm.taobao.org/lodash.uniq/download/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
|
||||||
|
|
||||||
lodash@4.x, lodash@^4.13.1, lodash@^4.17.10, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.3.0:
|
lodash@4.x, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.17.10, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.3.0, lodash@~4.17.4:
|
||||||
version "4.17.10"
|
version "4.17.10"
|
||||||
resolved "http://registry.npm.taobao.org/lodash/download/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7"
|
resolved "http://registry.npm.taobao.org/lodash/download/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7"
|
||||||
|
|
||||||
@ -5784,6 +5908,10 @@ parse-json@^4.0.0:
|
|||||||
error-ex "^1.3.1"
|
error-ex "^1.3.1"
|
||||||
json-parse-better-errors "^1.0.1"
|
json-parse-better-errors "^1.0.1"
|
||||||
|
|
||||||
|
parse-svg-path@~0.1.1:
|
||||||
|
version "0.1.2"
|
||||||
|
resolved "http://registry.npm.taobao.org/parse-svg-path/download/parse-svg-path-0.1.2.tgz#7a7ec0d1eb06fa5325c7d3e009b859a09b5d49eb"
|
||||||
|
|
||||||
parse5@4.0.0:
|
parse5@4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "http://registry.npm.taobao.org/parse5/download/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
|
resolved "http://registry.npm.taobao.org/parse5/download/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
|
||||||
@ -5910,6 +6038,14 @@ pn@^1.1.0:
|
|||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "http://registry.npm.taobao.org/pn/download/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
|
resolved "http://registry.npm.taobao.org/pn/download/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
|
||||||
|
|
||||||
|
point-at-length@~1.0.2:
|
||||||
|
version "1.0.2"
|
||||||
|
resolved "http://registry.npm.taobao.org/point-at-length/download/point-at-length-1.0.2.tgz#9176d8d6d7c8162f12b646f707db9f0ea728125e"
|
||||||
|
dependencies:
|
||||||
|
abs-svg-path "~0.1.1"
|
||||||
|
isarray "~0.0.1"
|
||||||
|
parse-svg-path "~0.1.1"
|
||||||
|
|
||||||
portfinder@^1.0.13, portfinder@^1.0.9:
|
portfinder@^1.0.13, portfinder@^1.0.9:
|
||||||
version "1.0.13"
|
version "1.0.13"
|
||||||
resolved "http://registry.npm.taobao.org/portfinder/download/portfinder-1.0.13.tgz#bb32ecd87c27104ae6ee44b5a3ccbf0ebb1aede9"
|
resolved "http://registry.npm.taobao.org/portfinder/download/portfinder-1.0.13.tgz#bb32ecd87c27104ae6ee44b5a3ccbf0ebb1aede9"
|
||||||
@ -6616,6 +6752,10 @@ regjsparser@^0.1.4:
|
|||||||
dependencies:
|
dependencies:
|
||||||
jsesc "~0.5.0"
|
jsesc "~0.5.0"
|
||||||
|
|
||||||
|
regression@~2.0.0:
|
||||||
|
version "2.0.1"
|
||||||
|
resolved "http://registry.npm.taobao.org/regression/download/regression-2.0.1.tgz#8d29c3e8224a10850c35e337e85a8b2fac3b0c87"
|
||||||
|
|
||||||
relateurl@0.2.x:
|
relateurl@0.2.x:
|
||||||
version "0.2.7"
|
version "0.2.7"
|
||||||
resolved "http://registry.npm.taobao.org/relateurl/download/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
|
resolved "http://registry.npm.taobao.org/relateurl/download/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
|
||||||
@ -6808,7 +6948,7 @@ run-queue@^1.0.0, run-queue@^1.0.3:
|
|||||||
dependencies:
|
dependencies:
|
||||||
aproba "^1.1.1"
|
aproba "^1.1.1"
|
||||||
|
|
||||||
rw@^1.3.2:
|
rw@1, rw@^1.3.2:
|
||||||
version "1.3.3"
|
version "1.3.3"
|
||||||
resolved "http://registry.npm.taobao.org/rw/download/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4"
|
resolved "http://registry.npm.taobao.org/rw/download/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4"
|
||||||
|
|
||||||
@ -7024,6 +7164,10 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
|
|||||||
version "3.0.2"
|
version "3.0.2"
|
||||||
resolved "http://registry.npm.taobao.org/signal-exit/download/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
resolved "http://registry.npm.taobao.org/signal-exit/download/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
||||||
|
|
||||||
|
simple-statistics@~4.1.0:
|
||||||
|
version "4.1.1"
|
||||||
|
resolved "http://registry.npm.taobao.org/simple-statistics/download/simple-statistics-4.1.1.tgz#533c48d48336ba3d350d8135f20fa7138acb0c7d"
|
||||||
|
|
||||||
slash@^1.0.0:
|
slash@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "http://registry.npm.taobao.org/slash/download/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
|
resolved "http://registry.npm.taobao.org/slash/download/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
|
||||||
@ -7556,6 +7700,12 @@ to-regex@^3.0.1, to-regex@^3.0.2:
|
|||||||
regex-not "^1.0.2"
|
regex-not "^1.0.2"
|
||||||
safe-regex "^1.1.0"
|
safe-regex "^1.1.0"
|
||||||
|
|
||||||
|
topojson-client@~3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "http://registry.npm.taobao.org/topojson-client/download/topojson-client-3.0.0.tgz#1f99293a77ef42a448d032a81aa982b73f360d2f"
|
||||||
|
dependencies:
|
||||||
|
commander "2"
|
||||||
|
|
||||||
toposort@^1.0.0:
|
toposort@^1.0.0:
|
||||||
version "1.0.7"
|
version "1.0.7"
|
||||||
resolved "http://registry.npm.taobao.org/toposort/download/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
|
resolved "http://registry.npm.taobao.org/toposort/download/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user