Commit 0101b742 by yuyang

fix: 组件集合

parent 0280e06e
......@@ -13,6 +13,7 @@
"deploy:production": "npm run lint && npm run build && node scripts/deploy.js"
},
"dependencies": {
"ant-design-vue": "^1.7.4",
"axios": "^0.19.2",
"change-case": "^4.1.1",
"core-js": "^3.6.5",
......
<script lang="ts">
import { Component, Vue, Prop } from 'vue-property-decorator';
@Component
export default class BadgeText extends Vue {
@Prop({ type: Number }) private count!: number;
}
</script>
<template lang="pug">
.badge-text(v-if="count")
| {{ count > 99 ? '99+' : count }}
</template>
<style lang="stylus" scoped>
.badge-text
font-size 12px
color #ffffff
background #e50114
display inline-block
padding 2px 6px
line-height 16px
align-self center
border-radius 20px
margin 0 6px
</style>
<template lang="pug">
.cell
.key {{ label }}
.value
slot(name="value")
span(v-if="isPrice") ¥{{ value }}
span(v-else) {{value}}
</template>
<script lang="ts">
import { Component, Vue, Prop, Watch, Emit } from 'vue-property-decorator';
@Component({
components: {},
})
export default class ComCell extends Vue {
@Prop({ type: String, default: '' }) private label!: string;
@Prop({ default: '' }) private value!: string;
@Prop({ type: Boolean, default: false }) private isPrice!: boolean;
}
</script>
<style lang="stylus" scoped>
.cell
display flex
padding 8px 0px
font-size 14px
line-height 22px
.key
min-width 100px
color #808080
.value
color #383838
@media print
.cell
padding 0px
</style>
<script lang="ts">
import { Component, Vue, Prop, Model } from 'vue-property-decorator';
@Component({
components: {},
})
export default class ComCurrencyInput extends Vue {
@Model('change', { type: [Number, String] }) value!: number;
@Prop({ type: Boolean, default: false }) disabled!: boolean;
@Prop({ type: Number, default: Infinity }) max!: number;
@Prop({ type: Number, default: 0 }) min!: number;
@Prop({ type: Number, default: 2 }) precision!: number;
@Prop({ type: [Number, String], default: 1 }) step!: number;
@Prop({ type: String }) placeholder!: string;
@Prop({ type: String }) name!: string;
set number(value: number) {
const val = Number(value);
if (val) {
if (val <= this.min) {
this.$emit('change', this.min);
} else if (val >= this.max) {
this.$emit('change', this.max);
} else {
this.$emit('change', val);
}
} else {
this.$emit('change', null);
}
}
get number() {
return this.value;
}
blur() {
(this.$refs.input as any).blur();
}
focus() {
(this.$refs.input as any).focus();
}
parseInput(value: any) {
return value.replace(/\$\s?|(,*)/g, '');
}
formatInput(value: any) {
const val = Number(value);
if (val) {
if (val <= this.min) {
return `${this.min}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',');
} else if (val >= this.max) {
return `${this.max}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',');
}
return `${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',');
}
return null;
}
}
</script>
<template lang="pug">
a-input-number(
ref="input"
v-model.number="number"
:name="name"
:max="max"
:min="min"
:disabled="disabled"
:placeholder="placeholder"
:formatter="formatInput"
:parser="parseInput")
</template>
<style lang="stylus" scoped></style>
<template lang="pug">
.empty-placeholder
img(v-if="type === 'school'" src="@/assets/icons/empty/school.png" width="80" height="80")
img(v-else-if="type === 'table'" src="@/assets/icons/empty/table.png" width="80" height="80")
img(v-else-if="type === 'survey'" src="@/assets/icons/empty/survey.png" width="80" height="80")
img(v-else src="@/assets/icons/empty/empty.png" width="80" height="80")
.desc {{ desc }}
.tips {{ tips }}
.action
slot
</template>
<script lang="ts">
import { Component, Vue, Prop, Watch, Emit } from 'vue-property-decorator';
@Component({
components: {},
})
export default class ComEmpty extends Vue {
// prop
@Prop({ type: String, default: '暂无相应内容' }) private desc!: string;
@Prop({ type: String, default: '' }) private tips!: string;
@Prop({ type: String, default: 'table' }) private type!: string; // personnel、school、table、survey
}
</script>
<style lang="stylus" scoped>
.empty-placeholder
padding 60px 0px
width 100%
text-align center
line-height 1
img
margin-bottom 10px
.desc
margin-bottom 12px
color #808080
font-weight 500
font-size 16px
.tips
margin-bottom 22px
color #A6A6A6
font-size 14px
.action
button
min-width 100px
height 40px
</style>
<script lang="ts">
import { Component, Vue, Prop } from 'vue-property-decorator';
@Component
export default class ComFileInput extends Vue {
@Prop({ type: String }) accept!: string;
@Prop({ type: Boolean, default: false }) multiple!: boolean;
@Prop({ type: Boolean, default: false }) disabled!: boolean;
@Prop({ type: Boolean, default: false }) loading!: boolean;
handleFileInputChange(e: any) {
this.$emit('change', [...e.target.files]);
}
clickFileInput(e: any) {
if (this.loading) return;
if (e.target && e.target.tagName === 'BUTTON') {
(this.$refs.fileInput as any).click();
e.stopPropagation();
} else {
const path: HTMLDivElement[] = e.path;
const triggerIndex = path.findIndex(o => o.classList && o.classList.contains('file-input-wrapper'));
const triggerElement = path[triggerIndex - 1];
if (triggerElement && triggerElement.tagName === 'BUTTON') {
(this.$refs.fileInput as any).click();
}
e.stopPropagation();
}
}
}
</script>
<template lang="pug">
.file-input-wrapper(@click="clickFileInput")
input.file-input(
ref="fileInput"
type="file"
:value="[]"
:accept="accept"
:multiple="multiple"
:disabled="disabled"
@click.stop=""
@change="handleFileInputChange")
slot
a-button(type="primary" icon="upload" :disabled="disabled" :loading="loading")
| 选择文件
</template>
<style lang="stylus" scoped>
.file-input-wrapper
position relative
display inline-block
.file-input
position absolute
top 0
left 0
display inline
margin 0
padding 0
width 0px
height 0px
outline none
border none
opacity 0
button
*
pointer-events none
</style>
<script lang="ts">
import { Component, Vue, Prop } from 'vue-property-decorator';
@Component({
components: {},
})
export default class ComGlobal extends Vue {
@Prop({ type: String, default: '' }) prop!: string;
state = '';
number = 8;
}
</script>
<template lang="pug">
.container
ComGlobalTable(name="组件名")
div 样式
ComGlobalTable(name="BadgeText")
BadgeText(:count="2")
BadgeText(:count="100")
ComGlobalTable(name="ComCell")
ComCell(label="商品价格",value='9.99',:isPrice="true")
ComGlobalTable(name="ComCurrencyInput")
ComCurrencyInput(
v-model="number",
:disabled="false"
:max="10",
:min="0",
:precision='20'
placeholder="请输入金额",
name="费用"
)
ComGlobalTable(name="ComEmpty")
ComEmpty(
tips="副标题"
)
ComGlobalTable(name="ComFileInput")
ComFileInput(
accept="副标题",
:multiple="true",
:disabled="true",
:loading="true",
)
ComFileInput(
accept="副标题",
:multiple="false",
:disabled="false",
:loading="false",
)
</template>
<style lang="stylus" scoped></style>
<script lang="ts">
import { Component, Vue, Prop } from 'vue-property-decorator';
@Component({
components: {},
})
export default class ComGlobalTable extends Vue {
@Prop({ type: String, default: '' }) name!: string;
}
</script>
<template lang="pug">
.table
.name
| {{name}}
.components
slot
</template>
<style lang="stylus" scoped>
.table
display flex
align-items center
border-bottom 1px solid #e3e3e3
line-height 40px
.name
text-align center
width 200px
.components
display flex
align-items center
justify-content center
width 100px
flex 1
border-left 1px solid #e3e3e3
</style>
<template lang="pug">
h3.hello
| {{ msg }}
| {{ msg }}213
ComGlobal
</template>
<script lang="ts">
......
......@@ -7,13 +7,15 @@ import store from './store';
import utils from './utils';
import moment from 'moment';
import '@/components/global';
import 'ant-design-vue/dist/antd.css';
import Antd from 'ant-design-vue';
moment.locale('zh-cn');
Vue.config.productionTip = false;
Vue.prototype.$moment = moment;
Vue.prototype.$utils = utils;
Vue.use(Antd);
new Vue({
router,
store,
......
<script lang="ts">
import { Component, Vue, Prop } from 'vue-property-decorator';
@Component({
components: {},
})
export default class About extends Vue {
@Prop({ type: String, default: '' }) prop!: string;
state = '';
}
</script>
<template lang="pug">
.about
h1 This is an about page
.container
ComGlobal
</template>
<style lang="stylus" scoped></style>
......@@ -2,6 +2,26 @@
# yarn lockfile v1
"@ant-design/colors@^3.1.0":
version "3.2.2"
resolved "https://registry.npm.taobao.org/@ant-design/colors/download/@ant-design/colors-3.2.2.tgz?cache=0&sync_timestamp=1612935512117&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40ant-design%2Fcolors%2Fdownload%2F%40ant-design%2Fcolors-3.2.2.tgz#5ad43d619e911f3488ebac303d606e66a8423903"
integrity sha1-WtQ9YZ6RHzSI66wwPWBuZqhCOQM=
dependencies:
tinycolor2 "^1.4.1"
"@ant-design/icons-vue@^2.0.0":
version "2.0.0"
resolved "https://registry.npm.taobao.org/@ant-design/icons-vue/download/@ant-design/icons-vue-2.0.0.tgz?cache=0&sync_timestamp=1611990940571&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40ant-design%2Ficons-vue%2Fdownload%2F%40ant-design%2Ficons-vue-2.0.0.tgz#0357f5010a404e9f34a87a4b41b2a08df691dbce"
integrity sha1-A1f1AQpATp80qHpLQbKgjfaR284=
dependencies:
"@ant-design/colors" "^3.1.0"
babel-runtime "^6.26.0"
"@ant-design/icons@^2.1.1":
version "2.1.1"
resolved "https://registry.npm.taobao.org/@ant-design/icons/download/@ant-design/icons-2.1.1.tgz#7b9c08dffd4f5d41db667d9dbe5e0107d0bd9a4a"
integrity sha1-e5wI3/1PXUHbZn2dvl4BB9C9mko=
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4":
version "7.10.4"
resolved "https://registry.npm.taobao.org/@babel/code-frame/download/@babel/code-frame-7.10.4.tgz?cache=0&sync_timestamp=1593522826253&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcode-frame%2Fdownload%2F%40babel%2Fcode-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a"
......@@ -1175,6 +1195,14 @@
resolved "https://registry.npm.taobao.org/@nodelib/fs.stat/download/@nodelib/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha1-K1o6s/kYzKSKjHVMCBaOPwPrphs=
"@simonwep/pickr@~1.7.0":
version "1.7.4"
resolved "https://registry.npm.taobao.org/@simonwep/pickr/download/@simonwep/pickr-1.7.4.tgz#b14fcd945890388b870cd6db4d6c78d531f25141"
integrity sha1-sU/NlFiQOIuHDNbbTWx41THyUUE=
dependencies:
core-js "^3.6.5"
nanopop "^2.1.0"
"@soda/friendly-errors-webpack-plugin@^1.7.1":
version "1.7.1"
resolved "https://registry.npm.taobao.org/@soda/friendly-errors-webpack-plugin/download/@soda/friendly-errors-webpack-plugin-1.7.1.tgz#706f64bcb4a8b9642b48ae3ace444c70334d615d"
......@@ -1936,6 +1964,13 @@ acorn@^7.1.0, acorn@^7.1.1, acorn@^7.2.0:
resolved "https://registry.npm.taobao.org/acorn/download/acorn-7.3.1.tgz?cache=0&sync_timestamp=1591869432510&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Facorn%2Fdownload%2Facorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd"
integrity sha1-hQEHVNtTw/uvO56j4IOqXF0Uf/0=
add-dom-event-listener@^1.0.2:
version "1.1.0"
resolved "https://registry.npm.taobao.org/add-dom-event-listener/download/add-dom-event-listener-1.1.0.tgz#6a92db3a0dd0abc254e095c0f1dc14acbbaae310"
integrity sha1-apLbOg3Qq8JU4JXA8dwUrLuq4xA=
dependencies:
object-assign "4.x"
address@^1.1.2:
version "1.1.2"
resolved "https://registry.npm.taobao.org/address/download/address-1.1.2.tgz#bf1116c9c758c51b7a933d296b72c221ed9428b6"
......@@ -2045,6 +2080,42 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0:
"@types/color-name" "^1.1.1"
color-convert "^2.0.1"
ant-design-vue@^1.7.4:
version "1.7.4"
resolved "https://registry.npm.taobao.org/ant-design-vue/download/ant-design-vue-1.7.4.tgz#854e90985dc0fa9ccc6d681c104560c00eaaf855"
integrity sha1-hU6QmF3A+pzMbWgcEEVgwA6q+FU=
dependencies:
"@ant-design/icons" "^2.1.1"
"@ant-design/icons-vue" "^2.0.0"
"@simonwep/pickr" "~1.7.0"
add-dom-event-listener "^1.0.2"
array-tree-filter "^2.1.0"
async-validator "^3.0.3"
babel-helper-vue-jsx-merge-props "^2.0.3"
babel-runtime "6.x"
classnames "^2.2.5"
component-classes "^1.2.6"
dom-align "^1.10.4"
dom-closest "^0.2.0"
dom-scroll-into-view "^2.0.0"
enquire.js "^2.1.6"
intersperse "^1.0.0"
is-mobile "^2.2.1"
is-negative-zero "^2.0.0"
ismobilejs "^1.0.0"
json2mq "^0.2.0"
lodash "^4.17.5"
moment "^2.21.0"
mutationobserver-shim "^0.3.2"
node-emoji "^1.10.0"
omit.js "^1.0.0"
raf "^3.4.0"
resize-observer-polyfill "^1.5.1"
shallow-equal "^1.0.0"
shallowequal "^1.0.2"
vue-ref "^2.0.0"
warning "^4.0.0"
any-promise@^1.0.0:
version "1.3.0"
resolved "https://registry.npm.taobao.org/any-promise/download/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"
......@@ -2128,6 +2199,11 @@ array-ify@^1.0.0:
resolved "https://r.cnpmjs.org/array-ify/download/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece"
integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=
array-tree-filter@^2.1.0:
version "2.1.0"
resolved "https://registry.npm.taobao.org/array-tree-filter/download/array-tree-filter-2.1.0.tgz#873ac00fec83749f255ac8dd083814b4f6329190"
integrity sha1-hzrAD+yDdJ8lWsjdCDgUtPYykZA=
array-union@^1.0.1, array-union@^1.0.2:
version "1.0.2"
resolved "https://registry.npm.taobao.org/array-union/download/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
......@@ -2214,6 +2290,11 @@ async-limiter@~1.0.0:
resolved "https://registry.npm.taobao.org/async-limiter/download/async-limiter-1.0.1.tgz?cache=0&sync_timestamp=1574272018408&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-limiter%2Fdownload%2Fasync-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
integrity sha1-3TeelPDbgxCwgpH51kwyCXZmF/0=
async-validator@^3.0.3:
version "3.5.1"
resolved "https://registry.npm.taobao.org/async-validator/download/async-validator-3.5.1.tgz#cd62b9688b2465f48420e27adb47760ab1b5559f"
integrity sha1-zWK5aIskZfSEIOJ620d2CrG1VZ8=
async@^2.6.2:
version "2.6.3"
resolved "https://registry.npm.taobao.org/async/download/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff"
......@@ -2275,6 +2356,11 @@ babel-core@^7.0.0-bridge.0:
resolved "https://registry.npm.taobao.org/babel-core/download/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"
integrity sha1-laSS3dkPm06aSh2hTrM1uHtjTs4=
babel-helper-vue-jsx-merge-props@^2.0.3:
version "2.0.3"
resolved "https://registry.npm.taobao.org/babel-helper-vue-jsx-merge-props/download/babel-helper-vue-jsx-merge-props-2.0.3.tgz#22aebd3b33902328e513293a8e4992b384f9f1b6"
integrity sha1-Iq69OzOQIyjlEyk6jkmSs4T58bY=
babel-jest@^24.9.0:
version "24.9.0"
resolved "https://registry.npm.taobao.org/babel-jest/download/babel-jest-24.9.0.tgz?cache=0&sync_timestamp=1592925358068&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-jest%2Fdownload%2Fbabel-jest-24.9.0.tgz#3fc327cb8467b89d14d7bc70e315104a783ccd54"
......@@ -2356,7 +2442,7 @@ babel-preset-jest@^24.9.0:
"@babel/plugin-syntax-object-rest-spread" "^7.0.0"
babel-plugin-jest-hoist "^24.9.0"
babel-runtime@^6.22.0, babel-runtime@^6.26.0:
babel-runtime@6.x, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
version "6.26.0"
resolved "https://registry.npm.taobao.org/babel-runtime/download/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4=
......@@ -3056,6 +3142,11 @@ class-utils@^0.3.5:
isobject "^3.0.0"
static-extend "^0.1.1"
classnames@^2.2.5:
version "2.2.6"
resolved "https://registry.npm.taobao.org/classnames/download/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce"
integrity sha1-Q5Nb/90pHzJtrQogUwmzjQD2UM4=
clean-css@4.2.x, clean-css@^4.1.11:
version "4.2.3"
resolved "https://registry.npm.taobao.org/clean-css/download/clean-css-4.2.3.tgz#507b5de7d97b48ee53d84adb0160ff6216380f78"
......@@ -3257,11 +3348,23 @@ compare-versions@^3.6.0:
resolved "https://r.cnpmjs.org/compare-versions/download/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62"
integrity sha1-GlaJkTaF5ah2N7jT/8p1UU7EHWI=
component-classes@^1.2.6:
version "1.2.6"
resolved "https://registry.npm.taobao.org/component-classes/download/component-classes-1.2.6.tgz#c642394c3618a4d8b0b8919efccbbd930e5cd691"
integrity sha1-xkI5TDYYpNiwuJGe/Mu9kw5c1pE=
dependencies:
component-indexof "0.0.3"
component-emitter@^1.2.1:
version "1.3.0"
resolved "https://registry.npm.taobao.org/component-emitter/download/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
integrity sha1-FuQHD7qK4ptnnyIVhT7hgasuq8A=
component-indexof@0.0.3:
version "0.0.3"
resolved "https://registry.npm.taobao.org/component-indexof/download/component-indexof-0.0.3.tgz#11d091312239eb8f32c8f25ae9cb002ffe8d3c24"
integrity sha1-EdCRMSI5648yyPJa6csAL/6NPCQ=
compressible@~2.0.16:
version "2.0.18"
resolved "https://registry.npm.taobao.org/compressible/download/compressible-2.0.18.tgz?cache=0&sync_timestamp=1578286264482&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcompressible%2Fdownload%2Fcompressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba"
......@@ -4048,6 +4151,18 @@ doctypes@^1.1.0:
resolved "https://registry.npm.taobao.org/doctypes/download/doctypes-1.1.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdoctypes%2Fdownload%2Fdoctypes-1.1.0.tgz#ea80b106a87538774e8a3a4a5afe293de489e0a9"
integrity sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk=
dom-align@^1.10.4:
version "1.12.0"
resolved "https://registry.npm.taobao.org/dom-align/download/dom-align-1.12.0.tgz#56fb7156df0b91099830364d2d48f88963f5a29c"
integrity sha1-VvtxVt8LkQmYMDZNLUj4iWP1opw=
dom-closest@^0.2.0:
version "0.2.0"
resolved "https://registry.npm.taobao.org/dom-closest/download/dom-closest-0.2.0.tgz#ebd9f91d1bf22e8d6f477876bbcd3ec90216c0cf"
integrity sha1-69n5HRvyLo1vR3h2u80+yQIWwM8=
dependencies:
dom-matches ">=1.0.1"
dom-converter@^0.2:
version "0.2.0"
resolved "https://registry.npm.taobao.org/dom-converter/download/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768"
......@@ -4060,6 +4175,16 @@ dom-event-types@^1.0.0:
resolved "https://registry.npm.taobao.org/dom-event-types/download/dom-event-types-1.0.0.tgz#5830a0a29e1bf837fe50a70cd80a597232813cae"
integrity sha1-WDCgop4b+Df+UKcM2ApZcjKBPK4=
dom-matches@>=1.0.1:
version "2.0.0"
resolved "https://registry.npm.taobao.org/dom-matches/download/dom-matches-2.0.0.tgz#d2728b416a87533980eb089b848d253cf23a758c"
integrity sha1-0nKLQWqHUzmA6wibhI0lPPI6dYw=
dom-scroll-into-view@^2.0.0:
version "2.0.1"
resolved "https://registry.npm.taobao.org/dom-scroll-into-view/download/dom-scroll-into-view-2.0.1.tgz#0decc8522801fd8d3f1c6ba355a74d382c5f989b"
integrity sha1-DezIUigB/Y0/HGujVadNOCxfmJs=
dom-serializer@0:
version "0.2.2"
resolved "https://registry.npm.taobao.org/dom-serializer/download/dom-serializer-0.2.2.tgz?cache=0&sync_timestamp=1589067578490&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdom-serializer%2Fdownload%2Fdom-serializer-0.2.2.tgz#1afb81f533717175d478655debc5e332d9f9bb51"
......@@ -4252,6 +4377,11 @@ enhanced-resolve@^4.0.0, enhanced-resolve@^4.1.0:
memory-fs "^0.5.0"
tapable "^1.0.0"
enquire.js@^2.1.6:
version "2.1.6"
resolved "https://registry.npm.taobao.org/enquire.js/download/enquire.js-2.1.6.tgz#3e8780c9b8b835084c3f60e166dbc3c2a3c89814"
integrity sha1-PoeAybi4NQhMP2DhZtvDwqPImBQ=
entities@^1.1.1:
version "1.1.2"
resolved "https://registry.npm.taobao.org/entities/download/entities-1.1.2.tgz?cache=0&sync_timestamp=1591227405887&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fentities%2Fdownload%2Fentities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"
......@@ -5724,6 +5854,11 @@ internal-ip@^4.3.0:
default-gateway "^4.2.0"
ipaddr.js "^1.9.0"
intersperse@^1.0.0:
version "1.0.0"
resolved "https://registry.npm.taobao.org/intersperse/download/intersperse-1.0.0.tgz#f2561fb1cfef9f5277cc3347a22886b4351a5181"
integrity sha1-8lYfsc/vn1J3zDNHoiiGtDUaUYE=
invariant@^2.2.2, invariant@^2.2.4:
version "2.2.4"
resolved "https://registry.npm.taobao.org/invariant/download/invariant-2.2.4.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Finvariant%2Fdownload%2Finvariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
......@@ -5936,6 +6071,16 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1:
dependencies:
is-extglob "^2.1.1"
is-mobile@^2.2.1:
version "2.2.2"
resolved "https://registry.npm.taobao.org/is-mobile/download/is-mobile-2.2.2.tgz?cache=0&sync_timestamp=1614943785178&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-mobile%2Fdownload%2Fis-mobile-2.2.2.tgz#f6c9c5d50ee01254ce05e739bdd835f1ed4e9954"
integrity sha1-9snF1Q7gElTOBec5vdg18e1OmVQ=
is-negative-zero@^2.0.0:
version "2.0.1"
resolved "https://registry.npm.taobao.org/is-negative-zero/download/is-negative-zero-2.0.1.tgz#3de746c18dda2319241a53675908d8f766f11c24"
integrity sha1-PedGwY3aIxkkGlNnWQjY92bxHCQ=
is-number@^3.0.0:
version "3.0.0"
resolved "https://registry.npm.taobao.org/is-number/download/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195"
......@@ -6074,6 +6219,11 @@ isexe@^2.0.0:
resolved "https://registry.npm.taobao.org/isexe/download/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=
ismobilejs@^1.0.0:
version "1.1.1"
resolved "https://registry.npm.taobao.org/ismobilejs/download/ismobilejs-1.1.1.tgz#c56ca0ae8e52b24ca0f22ba5ef3215a2ddbbaa0e"
integrity sha1-xWygro5Sskyg8iul7zIVot27qg4=
isobject@^2.0.0:
version "2.1.0"
resolved "https://registry.npm.taobao.org/isobject/download/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89"
......@@ -6690,6 +6840,13 @@ json-stringify-safe@~5.0.1:
resolved "https://registry.npm.taobao.org/json-stringify-safe/download/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=
json2mq@^0.2.0:
version "0.2.0"
resolved "https://registry.npm.taobao.org/json2mq/download/json2mq-0.2.0.tgz#b637bd3ba9eabe122c83e9720483aeb10d2c904a"
integrity sha1-tje9O6nqvhIsg+lyBIOusQ0skEo=
dependencies:
string-convert "^0.2.0"
json3@^3.3.2:
version "3.3.3"
resolved "https://registry.npm.taobao.org/json3/download/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81"
......@@ -6948,6 +7105,11 @@ lodash.templatesettings@^4.0.0:
dependencies:
lodash._reinterpolate "^3.0.0"
lodash.toarray@^4.4.0:
version "4.4.0"
resolved "https://registry.npm.taobao.org/lodash.toarray/download/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561"
integrity sha1-JMS/zWsvuji/0FlNsRedjptlZWE=
lodash.transform@^4.6.0:
version "4.6.0"
resolved "https://registry.npm.taobao.org/lodash.transform/download/lodash.transform-4.6.0.tgz#12306422f63324aed8483d3f38332b5f670547a0"
......@@ -6963,6 +7125,11 @@ lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17
resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.19.tgz?cache=0&sync_timestamp=1594226905843&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flodash%2Fdownload%2Flodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
integrity sha1-5I3e2+MLMyF4PFtDAfvTU7weSks=
lodash@^4.17.5:
version "4.17.21"
resolved "https://registry.npm.taobao.org/lodash/download/lodash-4.17.21.tgz?cache=0&sync_timestamp=1613835860585&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flodash%2Fdownload%2Flodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw=
log-symbols@^2.2.0:
version "2.2.0"
resolved "https://registry.npm.taobao.org/log-symbols/download/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
......@@ -7367,6 +7534,11 @@ mkdirp@~1.0.3:
resolved "https://registry.npm.taobao.org/mkdirp/download/mkdirp-1.0.4.tgz?cache=0&sync_timestamp=1587535418745&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmkdirp%2Fdownload%2Fmkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha1-PrXtYmInVteaXw4qIh3+utdcL34=
moment@^2.21.0:
version "2.29.1"
resolved "https://registry.npm.taobao.org/moment/download/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3"
integrity sha1-sr52n6MZQL6e7qZGnAdeNQBvo9M=
moment@^2.27.0:
version "2.27.0"
resolved "https://r.cnpmjs.org/moment/download/moment-2.27.0.tgz#8bff4e3e26a236220dfe3e36de756b6ebaa0105d"
......@@ -7428,6 +7600,11 @@ multimatch@^4.0.0:
arrify "^2.0.1"
minimatch "^3.0.4"
mutationobserver-shim@^0.3.2:
version "0.3.7"
resolved "https://registry.npm.taobao.org/mutationobserver-shim/download/mutationobserver-shim-0.3.7.tgz?cache=0&sync_timestamp=1591726972063&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmutationobserver-shim%2Fdownload%2Fmutationobserver-shim-0.3.7.tgz#8bf633b0c0b0291a1107255ed32c13088a8c5bf3"
integrity sha1-i/YzsMCwKRoRByVe0ywTCIqMW/M=
mute-stream@0.0.8:
version "0.0.8"
resolved "https://registry.npm.taobao.org/mute-stream/download/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
......@@ -7464,6 +7641,11 @@ nanomatch@^1.2.9:
snapdragon "^0.8.1"
to-regex "^3.0.1"
nanopop@^2.1.0:
version "2.1.0"
resolved "https://registry.npm.taobao.org/nanopop/download/nanopop-2.1.0.tgz#23476513cee2405888afd2e8a4b54066b70b9e60"
integrity sha1-I0dlE87iQFiIr9LopLVAZrcLnmA=
natural-compare@^1.4.0:
version "1.4.0"
resolved "https://registry.npm.taobao.org/natural-compare/download/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
......@@ -7512,6 +7694,13 @@ node-cache@^4.1.1:
clone "2.x"
lodash "^4.17.15"
node-emoji@^1.10.0:
version "1.10.0"
resolved "https://registry.npm.taobao.org/node-emoji/download/node-emoji-1.10.0.tgz#8886abd25d9c7bb61802a658523d1f8d2a89b2da"
integrity sha1-iIar0l2ce7YYAqZYUj0fjSqJsto=
dependencies:
lodash.toarray "^4.4.0"
node-forge@0.9.0:
version "0.9.0"
resolved "https://registry.npm.taobao.org/node-forge/download/node-forge-0.9.0.tgz?cache=0&sync_timestamp=1569524669712&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-forge%2Fdownload%2Fnode-forge-0.9.0.tgz#d624050edbb44874adca12bb9a52ec63cb782579"
......@@ -7684,7 +7873,7 @@ oauth-sign@~0.9.0:
resolved "https://registry.npm.taobao.org/oauth-sign/download/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
integrity sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU=
object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
object-assign@4.x, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1"
resolved "https://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject-assign%2Fdownload%2Fobject-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
......@@ -7768,6 +7957,13 @@ obuf@^1.0.0, obuf@^1.1.2:
resolved "https://registry.npm.taobao.org/obuf/download/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e"
integrity sha1-Cb6jND1BhZ69RGKS0RydTbYZCE4=
omit.js@^1.0.0:
version "1.0.2"
resolved "https://registry.npm.taobao.org/omit.js/download/omit.js-1.0.2.tgz#91a14f0eba84066dfa015bf30e474c47f30bc858"
integrity sha1-kaFPDrqEBm36AVvzDkdMR/MLyFg=
dependencies:
babel-runtime "^6.23.0"
on-finished@~2.3.0:
version "2.3.0"
resolved "https://registry.npm.taobao.org/on-finished/download/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
......@@ -8938,6 +9134,13 @@ quick-lru@^4.0.1:
resolved "https://r.cnpmjs.org/quick-lru/download/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f"
integrity sha1-W4h48ROlgheEjGSCAmxz4bpXcn8=
raf@^3.4.0:
version "3.4.1"
resolved "https://registry.npm.taobao.org/raf/download/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39"
integrity sha1-B0LpmkplUvRF1z4+4DKK8P8e3jk=
dependencies:
performance-now "^2.1.0"
randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0:
version "2.1.0"
resolved "https://registry.npm.taobao.org/randombytes/download/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
......@@ -9250,6 +9453,11 @@ requires-port@^1.0.0:
resolved "https://registry.npm.taobao.org/requires-port/download/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
resize-observer-polyfill@^1.5.1:
version "1.5.1"
resolved "https://registry.npm.taobao.org/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464"
integrity sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ=
resolve-cwd@^2.0.0:
version "2.0.0"
resolved "https://registry.npm.taobao.org/resolve-cwd/download/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
......@@ -9595,6 +9803,16 @@ sha.js@^2.4.0, sha.js@^2.4.8:
inherits "^2.0.1"
safe-buffer "^5.0.1"
shallow-equal@^1.0.0:
version "1.2.1"
resolved "https://registry.npm.taobao.org/shallow-equal/download/shallow-equal-1.2.1.tgz?cache=0&sync_timestamp=1575626600353&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fshallow-equal%2Fdownload%2Fshallow-equal-1.2.1.tgz#4c16abfa56043aa20d050324efa68940b0da79da"
integrity sha1-TBar+lYEOqINBQMk76aJQLDaedo=
shallowequal@^1.0.2:
version "1.1.0"
resolved "https://registry.npm.taobao.org/shallowequal/download/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8"
integrity sha1-GI1SHelbkIdAT9TctosT3wrk5/g=
shebang-command@^1.2.0:
version "1.2.0"
resolved "https://registry.npm.taobao.org/shebang-command/download/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
......@@ -9958,6 +10176,11 @@ strict-uri-encode@^1.0.0:
resolved "https://registry.npm.taobao.org/strict-uri-encode/download/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=
string-convert@^0.2.0:
version "0.2.1"
resolved "https://registry.npm.taobao.org/string-convert/download/string-convert-0.2.1.tgz#6982cc3049fbb4cd85f8b24568b9d9bf39eeff97"
integrity sha1-aYLMMEn7tM2F+LJFaLnZvznu/5c=
string-length@^2.0.0:
version "2.0.0"
resolved "https://registry.npm.taobao.org/string-length/download/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed"
......@@ -10322,6 +10545,11 @@ timsort@^0.3.0:
resolved "https://registry.npm.taobao.org/timsort/download/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4"
integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=
tinycolor2@^1.4.1:
version "1.4.2"
resolved "https://registry.npm.taobao.org/tinycolor2/download/tinycolor2-1.4.2.tgz#3f6a4d1071ad07676d7fa472e1fac40a719d8803"
integrity sha1-P2pNEHGtB2dtf6Ry4frECnGdiAM=
tmp@^0.0.33:
version "0.0.33"
resolved "https://registry.npm.taobao.org/tmp/download/tmp-0.0.33.tgz?cache=0&sync_timestamp=1588178571895&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftmp%2Fdownload%2Ftmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
......@@ -10911,6 +11139,11 @@ vue-property-decorator@^8.4.2:
dependencies:
vue-class-component "^7.1.0"
vue-ref@^2.0.0:
version "2.0.0"
resolved "https://registry.npm.taobao.org/vue-ref/download/vue-ref-2.0.0.tgz#483084d732abed11da796778a8266a3af0ea1a9c"
integrity sha1-SDCE1zKr7RHaeWd4qCZqOvDqGpw=
vue-router@^3.2.0:
version "3.3.4"
resolved "https://registry.npm.taobao.org/vue-router/download/vue-router-3.3.4.tgz?cache=0&sync_timestamp=1594111718735&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.3.4.tgz#4e38abc34a11c41b6c3d8244449a2e363ba6250b"
......@@ -10983,6 +11216,13 @@ walker@^1.0.7, walker@~1.0.5:
dependencies:
makeerror "1.0.x"
warning@^4.0.0:
version "4.0.3"
resolved "https://registry.npm.taobao.org/warning/download/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
integrity sha1-Fungd+uKhtavfWSqHgX9hbRnjKM=
dependencies:
loose-envify "^1.0.0"
watchpack-chokidar2@^2.0.0:
version "2.0.0"
resolved "https://registry.npm.taobao.org/watchpack-chokidar2/download/watchpack-chokidar2-2.0.0.tgz#9948a1866cbbd6cb824dea13a7ed691f6c8ddff0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment