mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 15:39:15 +08:00
Merge pull request #83 from chenjiahan/dev
Docs optimize, add usage guide && top progress
This commit is contained in:
commit
9f3df5488a
@ -55,6 +55,13 @@ export default {
|
|||||||
|
|
||||||
## Actionsheet 行动按钮
|
## Actionsheet 行动按钮
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Actionsheet } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Actionsheet.name, Actionsheet);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -28,6 +28,13 @@
|
|||||||
|
|
||||||
## Badge 徽章
|
## Badge 徽章
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Badge } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Badge.name, Badge);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -1,126 +1,96 @@
|
|||||||
<style>
|
<style>
|
||||||
.demo-button {
|
.demo-button {
|
||||||
.van-button {
|
.van-button {
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
|
||||||
.van-row {
|
|
||||||
padding: 0 15px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
.van-col-24 {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
|
|
||||||
&:last-child {
|
&--large,
|
||||||
margin-bottom: 0;
|
&--bottom-action {
|
||||||
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.zan-doc-demo-block {
|
||||||
|
padding: 0 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zan-doc-demo-block__subtitle {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
## Button 按钮
|
## Button 按钮
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Button } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Button.name, Button);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 按钮功能
|
#### 按钮类型
|
||||||
|
|
||||||
只接受`primary`, `default`, `danger`三种类型,默认`default`。
|
支持`default`、`primary`、`danger`三种类型,默认为`default`
|
||||||
|
|
||||||
:::demo 按钮功能
|
:::demo 按钮类型
|
||||||
```html
|
```html
|
||||||
<van-row>
|
<van-button type="default">Default</van-button>
|
||||||
<van-col span="24">
|
<van-button type="primary">Primary</van-button>
|
||||||
<van-button block>default</van-button>
|
<van-button type="danger">Danger</van-button>
|
||||||
</van-col>
|
|
||||||
<van-col span="24">
|
|
||||||
<van-button type="primary" block>primary</van-button>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="24">
|
|
||||||
<van-button type="danger" block>danger</van-button>
|
|
||||||
</van-col>
|
|
||||||
</van-row>
|
|
||||||
```
|
|
||||||
:::
|
|
||||||
|
|
||||||
#### 禁用状态
|
|
||||||
|
|
||||||
在组件上加上`disabled`属性即可,此时按钮不可点击。
|
|
||||||
|
|
||||||
:::demo 禁用状态
|
|
||||||
```html
|
|
||||||
<van-row>
|
|
||||||
<van-col span="24">
|
|
||||||
<van-button disabled block>diabled</van-button>
|
|
||||||
</van-col>
|
|
||||||
</van-row>
|
|
||||||
```
|
```
|
||||||
:::
|
:::
|
||||||
|
|
||||||
#### 按钮尺寸
|
#### 按钮尺寸
|
||||||
|
|
||||||
只接受`large`, `normal`, `small`, `mini`四种尺寸,默认`normal`。`large`按钮默认100%宽度。
|
支持`large`、`normal`、`small`、`mini`四种尺寸,默认为`normal`
|
||||||
|
|
||||||
:::demo 按钮尺寸
|
:::demo 按钮尺寸
|
||||||
```html
|
```html
|
||||||
<van-row>
|
<van-button size="large">large</van-button>
|
||||||
<van-col span="24">
|
<van-button size="normal">normal</van-button>
|
||||||
<van-button size="large">large</van-button>
|
<van-button size="small">small</van-button>
|
||||||
</van-col>
|
<van-button size="mini">mini</van-button>
|
||||||
<van-col span="24">
|
```
|
||||||
<van-button size="normal">normal</van-button>
|
:::
|
||||||
</van-col>
|
|
||||||
<van-col span="24">
|
#### 禁用状态
|
||||||
<van-button size="small">small</van-button>
|
|
||||||
</van-col>
|
通过`disabled`属性来禁用按钮,此时按钮不可点击
|
||||||
<van-col span="24">
|
|
||||||
<van-button size="mini">mini</van-button>
|
:::demo 禁用状态
|
||||||
</van-col>
|
```html
|
||||||
</van-row>
|
<van-button disabled>diabled</van-button>
|
||||||
|
```
|
||||||
|
:::
|
||||||
|
|
||||||
|
#### 加载状态
|
||||||
|
|
||||||
|
:::demo 加载状态
|
||||||
|
```html
|
||||||
|
<van-button loading />
|
||||||
```
|
```
|
||||||
:::
|
:::
|
||||||
|
|
||||||
#### 自定义按钮标签
|
#### 自定义按钮标签
|
||||||
|
|
||||||
按钮默认是`button`标签,可以使用`tag`属性修改为一个`a`标签。
|
按钮标签默认为`button`,可以使用`tag`属性来修改按钮标签
|
||||||
|
|
||||||
:::demo 自定义按钮标签
|
:::demo 自定义按钮标签
|
||||||
```html
|
```html
|
||||||
<van-row>
|
<van-button tag="a" href="https://www.youzan.com" target="_blank">
|
||||||
<van-col span="24">
|
a标签按钮
|
||||||
<van-button tag="a" type="primary" href="https://www.youzan.com" target="_blank">a标签按钮</van-button>
|
</van-button>
|
||||||
</van-col>
|
|
||||||
</van-row>
|
|
||||||
```
|
|
||||||
:::
|
|
||||||
|
|
||||||
#### loading按钮
|
|
||||||
|
|
||||||
`loading`状态的按钮。
|
|
||||||
|
|
||||||
:::demo loading按钮
|
|
||||||
```html
|
|
||||||
<van-row>
|
|
||||||
<van-col span="24">
|
|
||||||
<van-button type="primary" loading block>loading</van-button>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="24">
|
|
||||||
<van-button loading block></van-button>
|
|
||||||
</van-col>
|
|
||||||
</van-row>
|
|
||||||
```
|
```
|
||||||
:::
|
:::
|
||||||
|
|
||||||
#### 页面底部操作按钮
|
#### 页面底部操作按钮
|
||||||
|
|
||||||
一般用于`fixed`在底部的区域或是`popup`弹层的底部,一般只使用`primary`和`normal`两种状态。
|
|
||||||
|
|
||||||
:::demo 页面底部操作按钮
|
:::demo 页面底部操作按钮
|
||||||
```html
|
```html
|
||||||
<van-row>
|
<van-button type="primary" bottom-action>立即购买</van-button>
|
||||||
<van-col span="24">
|
|
||||||
<van-button type="primary" bottom-action>立即购买</van-button>
|
|
||||||
</van-col>
|
|
||||||
</van-row>
|
|
||||||
<van-row>
|
<van-row>
|
||||||
<van-col span="12">
|
<van-col span="12">
|
||||||
<van-button bottom-action>加入购物车</van-button>
|
<van-button bottom-action>加入购物车</van-button>
|
||||||
@ -136,10 +106,11 @@
|
|||||||
|
|
||||||
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|
||||||
|-----------|-----------|-----------|-------------|-------------|
|
|-----------|-----------|-----------|-------------|-------------|
|
||||||
| type | 按钮类型 | `string` | `default` | `primary`, `danger` |
|
| type | 按钮类型 | `String` | `default` | `primary` `danger` |
|
||||||
| size | 按钮尺寸 | `string` | `normal` | `large`, `small`, `mini` |
|
| size | 按钮尺寸 | `String` | `normal` | `large` `small` `mini` |
|
||||||
| tag | 按钮标签 | `string` | `button` | 任何有意义的`html`标签, 如`a`, `span`等 |
|
| tag | 按钮标签 | `String` | `button` | 任意`HTML`标签 |
|
||||||
| diabled | 按钮是否禁用 | `boolean` | `false` | |
|
| nativeType | 按钮类型(原生) | `String` | `''` | |
|
||||||
| block | 按钮是否显示为块级元素 | `boolean` | `false` | |
|
| diabled | 是否禁用 | `Boolean` | `false` | |
|
||||||
| bottomAction | 按钮是否显示为底部行动按钮,一般显示在页面底部,有特殊样式 | `boolean` | `false` | |
|
| loading | 是否显示为加载状态 | `Boolean` | `false` | |
|
||||||
|
| block | 是否为块级元素 | `Boolean` | `false` | |
|
||||||
|
| bottomAction | 是否为底部行动按钮 | `Boolean` | `false` | |
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
## Card 图文组件
|
## Card 图文组件
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Card } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Card.name, Card);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -22,6 +22,13 @@
|
|||||||
</style>
|
</style>
|
||||||
## CellSwipe 滑动单元格
|
## CellSwipe 滑动单元格
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { CellSwipe } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(CellSwipe.name, CellSwipe);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
@ -32,13 +39,8 @@
|
|||||||
<van-cell-group>
|
<van-cell-group>
|
||||||
<van-cell title="单元格1" value="单元格1内容"></van-cell>
|
<van-cell title="单元格1" value="单元格1内容"></van-cell>
|
||||||
</van-cell-group>
|
</van-cell-group>
|
||||||
|
<span slot="right" class="swipe-delete-btn">删除</span>
|
||||||
<span slot="right" class="swipe-delete-btn">
|
<span slot="left" class="swipe-check-btn">选择</span>
|
||||||
删除
|
|
||||||
</span>
|
|
||||||
<span slot="left" class="swipe-check-btn">
|
|
||||||
选择
|
|
||||||
</span>
|
|
||||||
</van-cell-swipe>
|
</van-cell-swipe>
|
||||||
```
|
```
|
||||||
:::
|
:::
|
||||||
@ -48,13 +50,13 @@
|
|||||||
|
|
||||||
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|
||||||
|-----------|-----------|-----------|-------------|-------------|
|
|-----------|-----------|-----------|-------------|-------------|
|
||||||
| right-width | 右侧滑动按钮宽度 | `number` | 0 | |
|
| left-width | 左侧滑动按钮宽度 | `number` | 0 | |
|
||||||
| left-width | 左侧滑动按钮宽度 | `number` | 0 | |
|
| right-width | 右侧滑动按钮宽度 | `number` | 0 | |
|
||||||
|
|
||||||
### Slot
|
### Slot
|
||||||
|
|
||||||
| name | 描述 |
|
| name | 描述 |
|
||||||
|-----------|-----------|
|
|-----------|-----------|
|
||||||
| - | 自定义显示内容 |
|
| - | 自定义显示内容 |
|
||||||
| right | 右侧滑动内容 |
|
|
||||||
| left | 左侧滑动内容 |
|
| left | 左侧滑动内容 |
|
||||||
|
| right | 右侧滑动内容 |
|
||||||
|
@ -10,6 +10,14 @@ export default {
|
|||||||
|
|
||||||
## Cell 单元格
|
## Cell 单元格
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Cell, CellGroup } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Cell.name, Cell);
|
||||||
|
Vue.component(CellGroup.name, CellGroup);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -35,6 +35,13 @@ export default {
|
|||||||
|
|
||||||
## Checkbox 复选框
|
## Checkbox 复选框
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Checkbox } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Checkbox.name, Checkbox);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -27,6 +27,13 @@ export default {
|
|||||||
|
|
||||||
## DatetimePicker 时间选择
|
## DatetimePicker 时间选择
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { DatetimePicker } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(DatetimePicker.name, DatetimePicker);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -29,6 +29,13 @@ export default {
|
|||||||
|
|
||||||
表单中`input`或`textarea`的输入框。
|
表单中`input`或`textarea`的输入框。
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Field } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Field.name, Field);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<style>
|
<style>
|
||||||
.demo-icon {
|
.demo-icon {
|
||||||
|
font-size: 0;
|
||||||
|
|
||||||
.examples {
|
.examples {
|
||||||
max-height: none;
|
max-height: none;
|
||||||
}
|
}
|
||||||
@ -7,18 +9,50 @@
|
|||||||
.van-col {
|
.van-col {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
|
float: none;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.van-icon {
|
.van-icon {
|
||||||
font-size: 45px;
|
font-size: 45px;
|
||||||
display: block;
|
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import Vue from 'vue';
|
||||||
|
import { Icon } from 'packages';
|
||||||
|
|
||||||
|
Vue.component('van-icon-inner', Icon);
|
||||||
|
Vue.component('van-icon', {
|
||||||
|
props: ['name'],
|
||||||
|
|
||||||
|
render(h) {
|
||||||
|
return <van-col span="8">
|
||||||
|
<van-icon-inner name={this.name}></van-icon-inner>
|
||||||
|
<span>{this.name}</span>
|
||||||
|
</van-col>
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
export default {};
|
||||||
|
</script>
|
||||||
|
|
||||||
## Icon 图标
|
## Icon 图标
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Icon } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Icon.name, Icon);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
@ -27,318 +61,91 @@
|
|||||||
|
|
||||||
:::demo 基础用法
|
:::demo 基础用法
|
||||||
```html
|
```html
|
||||||
<van-icon name="qr-invalid" style="text-align: center"></van-icon>
|
<van-icon name="success"></van-icon>
|
||||||
```
|
```
|
||||||
:::
|
:::
|
||||||
|
|
||||||
#### 所有Icons
|
#### 所有Icons
|
||||||
|
|
||||||
以下目前有的所有图标及其名称:
|
以下为目前所有的图标:
|
||||||
|
|
||||||
:::demo 所有Icon
|
:::demo 所有Icon
|
||||||
```html
|
```html
|
||||||
<van-row>
|
<van-icon name="qr-invalid"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="qr"></van-icon>
|
||||||
<van-icon name="qr-invalid"></van-icon>
|
<van-icon name="exchange"></van-icon>
|
||||||
<span>qr-invalid</span>
|
<van-icon name="close"></van-icon>
|
||||||
</van-col>
|
<van-icon name="location"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="upgrade"></van-icon>
|
||||||
<van-icon name="qr"></van-icon>
|
<van-icon name="check"></van-icon>
|
||||||
<span>qr</span>
|
<van-icon name="checked"></van-icon>
|
||||||
</van-col>
|
<van-icon name="like-o"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="like" style="color: red;"></van-icon>
|
||||||
<van-icon name="exchange"></van-icon>
|
<van-icon name="chat"></van-icon>
|
||||||
<span>exchange</span>
|
<van-icon name="shop"></van-icon>
|
||||||
</van-col>
|
<van-icon name="photograph"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="add"></van-icon>
|
||||||
<van-icon name="close"></van-icon>
|
<van-icon name="add2"></van-icon>
|
||||||
<span>close</span>
|
<van-icon name="photo"></van-icon>
|
||||||
</van-col>
|
<van-icon name="edit"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="passed"></van-icon>
|
||||||
<van-icon name="location"></van-icon>
|
<van-icon name="cart"></van-icon>
|
||||||
<span>location</span>
|
<van-icon name="arrow"></van-icon>
|
||||||
</van-col>
|
<van-icon name="gift"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="search"></van-icon>
|
||||||
<van-icon name="upgrade"></van-icon>
|
<van-icon name="clear"></van-icon>
|
||||||
<span>upgrade</span>
|
<van-icon name="success"></van-icon>
|
||||||
</van-col>
|
<van-icon name="fail"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="contact"></van-icon>
|
||||||
<van-icon name="check"></van-icon>
|
<van-icon name="wechat"></van-icon>
|
||||||
<span>check</span>
|
<van-icon name="alipay"></van-icon>
|
||||||
</van-col>
|
<van-icon name="password-view"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="wap-nav"></van-icon>
|
||||||
<van-icon name="checked"></van-icon>
|
<van-icon name="password-not-view"></van-icon>
|
||||||
<span>checked</span>
|
<van-icon name="wap-home"></van-icon>
|
||||||
</van-col>
|
<van-icon name="ecard-pay"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="balance-pay"></van-icon>
|
||||||
<van-icon name="like-o"></van-icon>
|
<van-icon name="peer-pay"></van-icon>
|
||||||
<span>like-o</span>
|
<van-icon name="credit-pay"></van-icon>
|
||||||
</van-col>
|
<van-icon name="debit-pay"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="other-pay"></van-icon>
|
||||||
<van-icon name="like" style="color: red;"></van-icon>
|
<van-icon name="cart"></van-icon>
|
||||||
<span>like</span>
|
<van-icon name="browsing-history"></van-icon>
|
||||||
</van-col>
|
<van-icon name="goods-collect"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="shop-collect"></van-icon>
|
||||||
<van-icon name="chat"></van-icon>
|
<van-icon name="receive-gift"></van-icon>
|
||||||
<span>chat</span>
|
<van-icon name="send-gift"></van-icon>
|
||||||
</van-col>
|
<van-icon name="setting"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="points"></van-icon>
|
||||||
<van-icon name="shop"></van-icon>
|
<van-icon name="coupon"></van-icon>
|
||||||
<span>shop</span>
|
<van-icon name="free-postage"></van-icon>
|
||||||
</van-col>
|
<van-icon name="discount"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="birthday-privilege"></van-icon>
|
||||||
<van-icon name="photograph"></van-icon>
|
<van-icon name="member-day-privilege"></van-icon>
|
||||||
<span>photograph</span>
|
<van-icon name="balance-details"></van-icon>
|
||||||
</van-col>
|
<van-icon name="cash-back-record"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="points-mall"></van-icon>
|
||||||
<van-icon name="add"></van-icon>
|
<van-icon name="exchange-record"></van-icon>
|
||||||
<span>add</span>
|
<van-icon name="pending-payment"></van-icon>
|
||||||
</van-col>
|
<van-icon name="pending-orders"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="pending-deliver"></van-icon>
|
||||||
<van-icon name="add2"></van-icon>
|
<van-icon name="logistics"></van-icon>
|
||||||
<span>add2</span>
|
<van-icon name="pending-evaluate"></van-icon>
|
||||||
</van-col>
|
<van-icon name="cash-on-deliver"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="gift-card-pay"></van-icon>
|
||||||
<van-icon name="photo"></van-icon>
|
<van-icon name="underway"></van-icon>
|
||||||
<span>photo</span>
|
<van-icon name="point-gift"></van-icon>
|
||||||
</van-col>
|
<van-icon name="after-sale"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="edit-data"></van-icon>
|
||||||
<van-icon name="edit"></van-icon>
|
<van-icon name="question"></van-icon>
|
||||||
<span>edit</span>
|
<van-icon name="delete"></van-icon>
|
||||||
</van-col>
|
<van-icon name="records"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="description"></van-icon>
|
||||||
<van-icon name="passed"></van-icon>
|
<van-icon name="card"></van-icon>
|
||||||
<span>passed</span>
|
<van-icon name="gift-card"></van-icon>
|
||||||
</van-col>
|
<van-icon name="coupon"></van-icon>
|
||||||
<van-col span="8">
|
<van-icon name="clock"></van-icon>
|
||||||
<van-icon name="cart"></van-icon>
|
<van-icon name="gold-coin"></van-icon>
|
||||||
<span>cart</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="arrow"></van-icon>
|
|
||||||
<span>arrow</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="gift"></van-icon>
|
|
||||||
<span>gift</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="search"></van-icon>
|
|
||||||
<span>search</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="clear"></van-icon>
|
|
||||||
<span>clear</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="success"></van-icon>
|
|
||||||
<span>success</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="fail"></van-icon>
|
|
||||||
<span>fail</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="contact"></van-icon>
|
|
||||||
<span>contact</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="wechat"></van-icon>
|
|
||||||
<span>wechat</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="alipay"></van-icon>
|
|
||||||
<span>alipay</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="password-view"></van-icon>
|
|
||||||
<span>password-view</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="wap-nav"></van-icon>
|
|
||||||
<span>wap-nav</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="password-not-view"></van-icon>
|
|
||||||
<span>password-not-view</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="wap-home"></van-icon>
|
|
||||||
<span>wap-home</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="ecard-pay"></van-icon>
|
|
||||||
<span>ecard-pay</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="balance-pay"></van-icon>
|
|
||||||
<span>balance-pay</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="peer-pay"></van-icon>
|
|
||||||
<span>peer-pay</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="credit-pay"></van-icon>
|
|
||||||
<span>credit-pay</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="debit-pay"></van-icon>
|
|
||||||
<span>debit-pay</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="other-pay"></van-icon>
|
|
||||||
<span>other-pay</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="cart"></van-icon>
|
|
||||||
<span>cart</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="browsing-history"></van-icon>
|
|
||||||
<span>browsing-history</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="goods-collect"></van-icon>
|
|
||||||
<span>goods-collect</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="shop-collect"></van-icon>
|
|
||||||
<span>shop-collect</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="receive-gift"></van-icon>
|
|
||||||
<span>receive-gift</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="send-gift"></van-icon>
|
|
||||||
<span>send-gift</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="setting"></van-icon>
|
|
||||||
<span>setting</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="points"></van-icon>
|
|
||||||
<span>points</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="coupon"></van-icon>
|
|
||||||
<span>coupon</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="free-postage"></van-icon>
|
|
||||||
<span>free-postage</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="discount"></van-icon>
|
|
||||||
<span>discount</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="birthday-privilege"></van-icon>
|
|
||||||
<span>birthday-privilege</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="member-day-privilege"></van-icon>
|
|
||||||
<span>member-day-privilege</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="balance-details"></van-icon>
|
|
||||||
<span>balance-details</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="cash-back-record"></van-icon>
|
|
||||||
<span>cash-back-record</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="points-mall"></van-icon>
|
|
||||||
<span>points-mall</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="exchange-record"></van-icon>
|
|
||||||
<span>exchange-record</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="pending-payment"></van-icon>
|
|
||||||
<span>pending-payment</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="pending-orders"></van-icon>
|
|
||||||
<span>pending-orders</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="pending-deliver"></van-icon>
|
|
||||||
<span>pending-deliver</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="logistics"></van-icon>
|
|
||||||
<span>logistics</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="pending-evaluate"></van-icon>
|
|
||||||
<span>pending-evaluate</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="cash-on-deliver"></van-icon>
|
|
||||||
<span>cash-on-deliver</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="gift-card-pay"></van-icon>
|
|
||||||
<span>gift-card-pay</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="underway"></van-icon>
|
|
||||||
<span>underway</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="point-gift"></van-icon>
|
|
||||||
<span>point-gift</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="after-sale"></van-icon>
|
|
||||||
<span>after-sale</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="edit-data"></van-icon>
|
|
||||||
<span>edit-data</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="question"></van-icon>
|
|
||||||
<span>question</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="delete"></van-icon>
|
|
||||||
<span>delete</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="records"></van-icon>
|
|
||||||
<span>records</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="description"></van-icon>
|
|
||||||
<span>description</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="card"></van-icon>
|
|
||||||
<span>card</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="gift-card"></van-icon>
|
|
||||||
<span>gift-card</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="coupon"></van-icon>
|
|
||||||
<span>coupon</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="clock"></van-icon>
|
|
||||||
<span>clock</span>
|
|
||||||
</van-col>
|
|
||||||
<van-col span="8">
|
|
||||||
<van-icon name="gold-coin"></van-icon>
|
|
||||||
<span>gold-coin</span>
|
|
||||||
</van-col>
|
|
||||||
</van-row>
|
|
||||||
```
|
```
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@ -28,7 +28,14 @@
|
|||||||
|
|
||||||
## Layout 布局
|
## Layout 布局
|
||||||
|
|
||||||
主要提供了`van-row`和`van-col`两个组件来进行行列布局。
|
提供了`van-row`和`van-col`两个组件来进行行列布局。
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Layout } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Layout.name, Layout);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
|
@ -20,6 +20,13 @@
|
|||||||
|
|
||||||
## Loading 加载
|
## Loading 加载
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Loading } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Loading.name, Loading);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 渐变深色spinner
|
#### 渐变深色spinner
|
||||||
|
@ -29,6 +29,13 @@
|
|||||||
|
|
||||||
## Panel 面板
|
## Panel 面板
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Panel } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Panel.name, Panel);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -38,6 +38,13 @@ export default {
|
|||||||
|
|
||||||
## Picker 选择器
|
## Picker 选择器
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Picker } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Picker.name, Picker);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -75,6 +75,13 @@ export default {
|
|||||||
|
|
||||||
## Popup 弹出菜单
|
## Popup 弹出菜单
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Popup } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Popup.name, Popup);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -10,6 +10,13 @@
|
|||||||
|
|
||||||
## Progress 进度条
|
## Progress 进度条
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Progress } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Progress.name, Progress);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -23,6 +23,13 @@ export default {
|
|||||||
|
|
||||||
## Quantity 数量选择
|
## Quantity 数量选择
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Quantity } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Quantity.name, Quantity);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -25,6 +25,13 @@ export default {
|
|||||||
|
|
||||||
## Radio 单选框
|
## Radio 单选框
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Radio } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Radio.name, Radio);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -16,6 +16,13 @@ export default {
|
|||||||
|
|
||||||
## Search 搜索
|
## Search 搜索
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Search } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Search.name, Search);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -28,6 +28,14 @@ export default {
|
|||||||
|
|
||||||
## Steps 步骤条
|
## Steps 步骤条
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Step, Steps } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Step.name, Step);
|
||||||
|
Vue.component(Steps.name, Steps);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -35,6 +35,13 @@ export default {
|
|||||||
|
|
||||||
## Swipe 轮播
|
## Swipe 轮播
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Swipe } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Swipe.name, Swipe);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -43,6 +43,13 @@ export default {
|
|||||||
|
|
||||||
## Switch 开关
|
## Switch 开关
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Switch } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Switch.name, Switch);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -49,6 +49,14 @@ export default {
|
|||||||
|
|
||||||
## Tab 标签
|
## Tab 标签
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Tab, Tabs } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Tab.name, Tab);
|
||||||
|
Vue.component(Tabs.name, Tabs);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -10,6 +10,13 @@
|
|||||||
|
|
||||||
## Tag 标记
|
## Tag 标记
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Tag } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Tag.name, Tag);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -16,6 +16,13 @@ export default {
|
|||||||
|
|
||||||
## Uploader 图片上传
|
## Uploader 图片上传
|
||||||
|
|
||||||
|
### 使用指南
|
||||||
|
``` javascript
|
||||||
|
import { Uploader } from 'vant';
|
||||||
|
|
||||||
|
Vue.component(Uploader.name, Uploader);
|
||||||
|
```
|
||||||
|
|
||||||
### 代码演示
|
### 代码演示
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
@ -29,10 +29,6 @@ const router = new VueRouter({
|
|||||||
});
|
});
|
||||||
|
|
||||||
router.beforeEach((route, redirect, next) => {
|
router.beforeEach((route, redirect, next) => {
|
||||||
if (route.path !== '/') {
|
|
||||||
window.scrollTo(0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
const pathname = '/zanui/vue/examples';
|
const pathname = '/zanui/vue/examples';
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
window.location.replace(pathname);
|
window.location.replace(pathname);
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
"babel-cli": "^6.26.0",
|
"babel-cli": "^6.26.0",
|
||||||
"babel-core": "^6.26.0",
|
"babel-core": "^6.26.0",
|
||||||
"babel-helper-vue-jsx-merge-props": "^2.0.2",
|
"babel-helper-vue-jsx-merge-props": "^2.0.2",
|
||||||
"babel-loader": "^7.1.1",
|
"babel-loader": "^7.1.2",
|
||||||
"babel-plugin-module-resolver": "^2.7.1",
|
"babel-plugin-module-resolver": "^2.7.1",
|
||||||
"babel-plugin-syntax-jsx": "^6.18.0",
|
"babel-plugin-syntax-jsx": "^6.18.0",
|
||||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||||
@ -92,7 +92,7 @@
|
|||||||
"markdown-it": "^8.3.2",
|
"markdown-it": "^8.3.2",
|
||||||
"markdown-it-container": "^2.0.0",
|
"markdown-it-container": "^2.0.0",
|
||||||
"mocha": "^3.4.2",
|
"mocha": "^3.4.2",
|
||||||
"optimize-css-assets-webpack-plugin": "^3.0.0",
|
"optimize-css-assets-webpack-plugin": "^3.1.1",
|
||||||
"postcss": "^6.0.8",
|
"postcss": "^6.0.8",
|
||||||
"postcss-easy-import": "^2.1.0",
|
"postcss-easy-import": "^2.1.0",
|
||||||
"postcss-loader": "^2.0.6",
|
"postcss-loader": "^2.0.6",
|
||||||
@ -116,6 +116,6 @@
|
|||||||
"webpack": "^3.5.5",
|
"webpack": "^3.5.5",
|
||||||
"webpack-dev-server": "^2.7.1",
|
"webpack-dev-server": "^2.7.1",
|
||||||
"webpack-merge": "^4.1.0",
|
"webpack-merge": "^4.1.0",
|
||||||
"zan-doc": "0.1.12"
|
"zan-doc": "0.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,17 +1,4 @@
|
|||||||
/**
|
import Loading from '../../loading';
|
||||||
* @module components/button
|
|
||||||
* @desc 按钮
|
|
||||||
* @param {string} [type=default] - 显示类型,接受 default, primary, danger
|
|
||||||
* @param {boolean} [disabled=false] - 禁用
|
|
||||||
* @param {string} [size=normal] - 尺寸,接受 normal, mini, small, large
|
|
||||||
* @param {string} [native-type] - 原生 type 属性
|
|
||||||
* @param {slot} - 显示文本
|
|
||||||
*
|
|
||||||
* @example
|
|
||||||
* <van-button size="large" type="primary">按钮</van-button>
|
|
||||||
*/
|
|
||||||
|
|
||||||
import VanLoading from '../../loading';
|
|
||||||
|
|
||||||
const ALLOWED_SIZE = ['mini', 'small', 'normal', 'large'];
|
const ALLOWED_SIZE = ['mini', 'small', 'normal', 'large'];
|
||||||
const ALLOWED_TYPE = ['default', 'danger', 'primary'];
|
const ALLOWED_TYPE = ['default', 'danger', 'primary'];
|
||||||
@ -20,73 +7,69 @@ export default {
|
|||||||
name: 'van-button',
|
name: 'van-button',
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
'van-loading': VanLoading
|
[Loading.name]: Loading
|
||||||
},
|
},
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
disabled: Boolean,
|
|
||||||
loading: Boolean,
|
|
||||||
block: Boolean,
|
block: Boolean,
|
||||||
|
loading: Boolean,
|
||||||
|
disabled: Boolean,
|
||||||
|
nativeType: String,
|
||||||
bottomAction: Boolean,
|
bottomAction: Boolean,
|
||||||
tag: {
|
tag: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'button'
|
default: 'button'
|
||||||
},
|
},
|
||||||
nativeType: String,
|
|
||||||
type: {
|
type: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'default',
|
default: 'default',
|
||||||
validator(value) {
|
validator: value => ALLOWED_TYPE.indexOf(value) > -1
|
||||||
return ALLOWED_TYPE.indexOf(value) > -1;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
size: {
|
size: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'normal',
|
default: 'normal',
|
||||||
validator(value) {
|
validator: value => ALLOWED_SIZE.indexOf(value) > -1
|
||||||
return ALLOWED_SIZE.indexOf(value) > -1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
handleClick(e) {
|
onClick(event) {
|
||||||
if (this.loading || this.disabled) return;
|
if (!this.loading && !this.disabled) {
|
||||||
this.$emit('click', e);
|
this.$emit('click', event);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
render(h) {
|
render(h) {
|
||||||
const { type, nativeType, size, disabled, loading, block, bottomAction } = this;
|
const { type, loading, disabled, tag: Tag } = this;
|
||||||
const Tag = this.tag;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tag
|
<Tag
|
||||||
type={nativeType}
|
type={this.nativeType}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
class={[
|
class={[
|
||||||
'van-button',
|
'van-button',
|
||||||
'van-button--' + type,
|
'van-button--' + type,
|
||||||
'van-button--' + size,
|
'van-button--' + this.size,
|
||||||
{
|
{
|
||||||
'van-button--disabled': disabled,
|
'van-button--disabled': disabled,
|
||||||
'van-button--loading': loading,
|
'van-button--loading': loading,
|
||||||
'van-button--block': block,
|
'van-button--block': this.block,
|
||||||
'van-button--bottom-action': bottomAction
|
'van-button--bottom-action': this.bottomAction
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
onClick={this.handleClick}
|
onClick={this.onClick}
|
||||||
>
|
>
|
||||||
{
|
{loading
|
||||||
loading
|
? <van-loading
|
||||||
? <van-loading
|
class="van-button__icon-loading"
|
||||||
class="van-button__icon-loading"
|
type="circle"
|
||||||
type="circle"
|
color={type === 'default' ? 'black' : 'white'}
|
||||||
color={type === 'default' ? 'black' : 'white'}>
|
/>
|
||||||
</van-loading>
|
: null}
|
||||||
: null
|
<span class="van-button__text">
|
||||||
}
|
{this.$slots.default}
|
||||||
<span class="van-button__text">{this.$slots.default}</span>
|
</span>
|
||||||
</Tag>
|
</Tag>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
279
yarn.lock
279
yarn.lock
@ -107,6 +107,10 @@ ansi-html@0.0.7:
|
|||||||
version "0.0.7"
|
version "0.0.7"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e"
|
resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e"
|
||||||
|
|
||||||
|
ansi-regex@^0.2.0, ansi-regex@^0.2.1:
|
||||||
|
version "0.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-0.2.1.tgz#0d8e946967a3d8143f93e24e298525fc1b2235f9"
|
||||||
|
|
||||||
ansi-regex@^2.0.0:
|
ansi-regex@^2.0.0:
|
||||||
version "2.1.1"
|
version "2.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
|
||||||
@ -115,6 +119,10 @@ ansi-regex@^3.0.0:
|
|||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
|
||||||
|
|
||||||
|
ansi-styles@^1.1.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.1.0.tgz#eaecbf66cd706882760b2f4691582b8f55d7a7de"
|
||||||
|
|
||||||
ansi-styles@^2.2.1:
|
ansi-styles@^2.2.1:
|
||||||
version "2.2.1"
|
version "2.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
|
||||||
@ -576,9 +584,9 @@ babel-helpers@^6.24.1:
|
|||||||
babel-runtime "^6.22.0"
|
babel-runtime "^6.22.0"
|
||||||
babel-template "^6.24.1"
|
babel-template "^6.24.1"
|
||||||
|
|
||||||
babel-loader@^7.1.1:
|
babel-loader@^7.1.2:
|
||||||
version "7.1.1"
|
version "7.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.1.tgz#b87134c8b12e3e4c2a94e0546085bc680a2b8488"
|
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.2.tgz#f6cbe122710f1aa2af4d881c6d5b54358ca24126"
|
||||||
dependencies:
|
dependencies:
|
||||||
find-cache-dir "^1.0.0"
|
find-cache-dir "^1.0.0"
|
||||||
loader-utils "^1.0.2"
|
loader-utils "^1.0.2"
|
||||||
@ -921,13 +929,6 @@ babel-runtime@^6.18.0, babel-runtime@^6.22.0:
|
|||||||
core-js "^2.4.0"
|
core-js "^2.4.0"
|
||||||
regenerator-runtime "^0.10.0"
|
regenerator-runtime "^0.10.0"
|
||||||
|
|
||||||
babel-runtime@^6.26.0:
|
|
||||||
version "6.26.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
|
|
||||||
dependencies:
|
|
||||||
core-js "^2.4.0"
|
|
||||||
regenerator-runtime "^0.11.0"
|
|
||||||
|
|
||||||
babel-template@^6.24.1, babel-template@^6.25.0:
|
babel-template@^6.24.1, babel-template@^6.25.0:
|
||||||
version "6.25.0"
|
version "6.25.0"
|
||||||
resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.25.0.tgz#665241166b7c2aa4c619d71e192969552b10c071"
|
resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.25.0.tgz#665241166b7c2aa4c619d71e192969552b10c071"
|
||||||
@ -1329,6 +1330,16 @@ chai@^4.1.1:
|
|||||||
pathval "^1.0.0"
|
pathval "^1.0.0"
|
||||||
type-detect "^4.0.0"
|
type-detect "^4.0.0"
|
||||||
|
|
||||||
|
chalk@^0.5.0:
|
||||||
|
version "0.5.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-0.5.1.tgz#663b3a648b68b55d04690d49167aa837858f2174"
|
||||||
|
dependencies:
|
||||||
|
ansi-styles "^1.1.0"
|
||||||
|
escape-string-regexp "^1.0.0"
|
||||||
|
has-ansi "^0.1.0"
|
||||||
|
strip-ansi "^0.3.0"
|
||||||
|
supports-color "^0.2.0"
|
||||||
|
|
||||||
chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3:
|
chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3:
|
||||||
version "1.1.3"
|
version "1.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
|
||||||
@ -1447,7 +1458,7 @@ clap@^1.0.9:
|
|||||||
dependencies:
|
dependencies:
|
||||||
chalk "^1.1.3"
|
chalk "^1.1.3"
|
||||||
|
|
||||||
clean-css@3.4.x:
|
clean-css@3.4.x, clean-css@^3.1.9:
|
||||||
version "3.4.28"
|
version "3.4.28"
|
||||||
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-3.4.28.tgz#bf1945e82fc808f55695e6ddeaec01400efd03ff"
|
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-3.4.28.tgz#bf1945e82fc808f55695e6ddeaec01400efd03ff"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -1486,7 +1497,7 @@ cliui@^3.2.0:
|
|||||||
strip-ansi "^3.0.1"
|
strip-ansi "^3.0.1"
|
||||||
wrap-ansi "^2.0.0"
|
wrap-ansi "^2.0.0"
|
||||||
|
|
||||||
clone-stats@^0.0.1:
|
clone-stats@^0.0.1, clone-stats@~0.0.1:
|
||||||
version "0.0.1"
|
version "0.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1"
|
resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1"
|
||||||
|
|
||||||
@ -1929,7 +1940,7 @@ date-now@^0.1.4:
|
|||||||
version "0.1.4"
|
version "0.1.4"
|
||||||
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
|
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
|
||||||
|
|
||||||
dateformat@^1.0.6:
|
dateformat@^1.0.6, dateformat@^1.0.7-1.2.3:
|
||||||
version "1.0.12"
|
version "1.0.12"
|
||||||
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-1.0.12.tgz#9f124b67594c937ff706932e4a642cca8dbbfee9"
|
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-1.0.12.tgz#9f124b67594c937ff706932e4a642cca8dbbfee9"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2429,7 +2440,7 @@ escape-html@~1.0.3:
|
|||||||
version "1.0.3"
|
version "1.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
|
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
|
||||||
|
|
||||||
escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
|
escape-string-regexp@1.0.5, escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
||||||
|
|
||||||
@ -2861,6 +2872,10 @@ filename-regex@^2.0.0:
|
|||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26"
|
resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26"
|
||||||
|
|
||||||
|
filesize@~2.0.0:
|
||||||
|
version "2.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/filesize/-/filesize-2.0.4.tgz#7805941c60fcdfe63f46d7ea358c59ade11c1325"
|
||||||
|
|
||||||
fill-range@^2.1.0:
|
fill-range@^2.1.0:
|
||||||
version "2.2.3"
|
version "2.2.3"
|
||||||
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723"
|
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723"
|
||||||
@ -3274,7 +3289,7 @@ glogg@^1.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
sparkles "^1.0.0"
|
sparkles "^1.0.0"
|
||||||
|
|
||||||
graceful-fs@4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
|
graceful-fs@4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@~4.1.4:
|
||||||
version "4.1.11"
|
version "4.1.11"
|
||||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
|
||||||
|
|
||||||
@ -3288,6 +3303,10 @@ graceful-fs@~1.2.0:
|
|||||||
version "1.2.3"
|
version "1.2.3"
|
||||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364"
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364"
|
||||||
|
|
||||||
|
graceful-fs@~2.0.0:
|
||||||
|
version "2.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-2.0.3.tgz#7cd2cdb228a4a3f36e95efa6cc142de7d1a136d0"
|
||||||
|
|
||||||
"graceful-readlink@>= 1.0.0":
|
"graceful-readlink@>= 1.0.0":
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
|
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
|
||||||
@ -3296,6 +3315,33 @@ growl@1.9.2:
|
|||||||
version "1.9.2"
|
version "1.9.2"
|
||||||
resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f"
|
resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f"
|
||||||
|
|
||||||
|
gulp-cssmin@^0.2.0:
|
||||||
|
version "0.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/gulp-cssmin/-/gulp-cssmin-0.2.0.tgz#87ab3c69dd39b20d5d96355c6504ad6a447b1e72"
|
||||||
|
dependencies:
|
||||||
|
clean-css "^3.1.9"
|
||||||
|
filesize "~2.0.0"
|
||||||
|
graceful-fs "~4.1.4"
|
||||||
|
gulp-rename "~1.1.0"
|
||||||
|
gulp-util "~2.2.0"
|
||||||
|
map-stream "0.0.4"
|
||||||
|
temp-write "~0.1.0"
|
||||||
|
|
||||||
|
gulp-postcss@^7.0.0:
|
||||||
|
version "7.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/gulp-postcss/-/gulp-postcss-7.0.0.tgz#cfb62a19fa947f8be67ce9ecae89ceb959f0cf93"
|
||||||
|
dependencies:
|
||||||
|
gulp-util "^3.0.8"
|
||||||
|
postcss "^6.0.0"
|
||||||
|
postcss-load-config "^1.2.0"
|
||||||
|
vinyl-sourcemaps-apply "^0.2.1"
|
||||||
|
|
||||||
|
gulp-rename@~1.1.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/gulp-rename/-/gulp-rename-1.1.0.tgz#93090aaaf4d386c07f20538a6888f15efba727a1"
|
||||||
|
dependencies:
|
||||||
|
map-stream ">=0.0.4"
|
||||||
|
|
||||||
gulp-util@^3.0.0, gulp-util@^3.0.8:
|
gulp-util@^3.0.0, gulp-util@^3.0.8:
|
||||||
version "3.0.8"
|
version "3.0.8"
|
||||||
resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
|
resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
|
||||||
@ -3319,6 +3365,19 @@ gulp-util@^3.0.0, gulp-util@^3.0.8:
|
|||||||
through2 "^2.0.0"
|
through2 "^2.0.0"
|
||||||
vinyl "^0.5.0"
|
vinyl "^0.5.0"
|
||||||
|
|
||||||
|
gulp-util@~2.2.0:
|
||||||
|
version "2.2.20"
|
||||||
|
resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-2.2.20.tgz#d7146e5728910bd8f047a6b0b1e549bc22dbd64c"
|
||||||
|
dependencies:
|
||||||
|
chalk "^0.5.0"
|
||||||
|
dateformat "^1.0.7-1.2.3"
|
||||||
|
lodash._reinterpolate "^2.4.1"
|
||||||
|
lodash.template "^2.4.1"
|
||||||
|
minimist "^0.2.0"
|
||||||
|
multipipe "^0.1.0"
|
||||||
|
through2 "^0.5.0"
|
||||||
|
vinyl "^0.2.1"
|
||||||
|
|
||||||
gulp@^3.9.1:
|
gulp@^3.9.1:
|
||||||
version "3.9.1"
|
version "3.9.1"
|
||||||
resolved "https://registry.yarnpkg.com/gulp/-/gulp-3.9.1.tgz#571ce45928dd40af6514fc4011866016c13845b4"
|
resolved "https://registry.yarnpkg.com/gulp/-/gulp-3.9.1.tgz#571ce45928dd40af6514fc4011866016c13845b4"
|
||||||
@ -3368,6 +3427,12 @@ har-validator@~4.2.1:
|
|||||||
ajv "^4.9.1"
|
ajv "^4.9.1"
|
||||||
har-schema "^1.0.5"
|
har-schema "^1.0.5"
|
||||||
|
|
||||||
|
has-ansi@^0.1.0:
|
||||||
|
version "0.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-0.1.0.tgz#84f265aae8c0e6a88a12d7022894b7568894c62e"
|
||||||
|
dependencies:
|
||||||
|
ansi-regex "^0.2.0"
|
||||||
|
|
||||||
has-ansi@^2.0.0:
|
has-ansi@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
|
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
|
||||||
@ -4261,9 +4326,9 @@ klaw@^1.0.0:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
graceful-fs "^4.1.9"
|
graceful-fs "^4.1.9"
|
||||||
|
|
||||||
last-call-webpack-plugin@^2.0.1:
|
last-call-webpack-plugin@^2.1.1:
|
||||||
version "2.0.1"
|
version "2.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/last-call-webpack-plugin/-/last-call-webpack-plugin-2.0.1.tgz#4fd10d3afe79d2fad45dc873928980cbe799f1a7"
|
resolved "https://registry.yarnpkg.com/last-call-webpack-plugin/-/last-call-webpack-plugin-2.1.1.tgz#bd7af41186b80e6cc3968eee5d65b250eaf791f1"
|
||||||
dependencies:
|
dependencies:
|
||||||
lodash "^4.17.4"
|
lodash "^4.17.4"
|
||||||
webpack-sources "^1.0.1"
|
webpack-sources "^1.0.1"
|
||||||
@ -4381,14 +4446,36 @@ lodash._basevalues@^3.0.0:
|
|||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz#5b775762802bde3d3297503e26300820fdf661b7"
|
resolved "https://registry.yarnpkg.com/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz#5b775762802bde3d3297503e26300820fdf661b7"
|
||||||
|
|
||||||
|
lodash._escapehtmlchar@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash._escapehtmlchar/-/lodash._escapehtmlchar-2.4.1.tgz#df67c3bb6b7e8e1e831ab48bfa0795b92afe899d"
|
||||||
|
dependencies:
|
||||||
|
lodash._htmlescapes "~2.4.1"
|
||||||
|
|
||||||
|
lodash._escapestringchar@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash._escapestringchar/-/lodash._escapestringchar-2.4.1.tgz#ecfe22618a2ade50bfeea43937e51df66f0edb72"
|
||||||
|
|
||||||
lodash._getnative@^3.0.0:
|
lodash._getnative@^3.0.0:
|
||||||
version "3.9.1"
|
version "3.9.1"
|
||||||
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
|
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
|
||||||
|
|
||||||
|
lodash._htmlescapes@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash._htmlescapes/-/lodash._htmlescapes-2.4.1.tgz#32d14bf0844b6de6f8b62a051b4f67c228b624cb"
|
||||||
|
|
||||||
lodash._isiterateecall@^3.0.0:
|
lodash._isiterateecall@^3.0.0:
|
||||||
version "3.0.9"
|
version "3.0.9"
|
||||||
resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c"
|
resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c"
|
||||||
|
|
||||||
|
lodash._isnative@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash._isnative/-/lodash._isnative-2.4.1.tgz#3ea6404b784a7be836c7b57580e1cdf79b14832c"
|
||||||
|
|
||||||
|
lodash._objecttypes@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash._objecttypes/-/lodash._objecttypes-2.4.1.tgz#7c0b7f69d98a1f76529f890b0cdb1b4dfec11c11"
|
||||||
|
|
||||||
lodash._reescape@^3.0.0:
|
lodash._reescape@^3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash._reescape/-/lodash._reescape-3.0.0.tgz#2b1d6f5dfe07c8a355753e5f27fac7f1cde1616a"
|
resolved "https://registry.yarnpkg.com/lodash._reescape/-/lodash._reescape-3.0.0.tgz#2b1d6f5dfe07c8a355753e5f27fac7f1cde1616a"
|
||||||
@ -4397,14 +4484,31 @@ lodash._reevaluate@^3.0.0:
|
|||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz#58bc74c40664953ae0b124d806996daca431e2ed"
|
resolved "https://registry.yarnpkg.com/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz#58bc74c40664953ae0b124d806996daca431e2ed"
|
||||||
|
|
||||||
|
lodash._reinterpolate@^2.4.1, lodash._reinterpolate@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-2.4.1.tgz#4f1227aa5a8711fc632f5b07a1f4607aab8b3222"
|
||||||
|
|
||||||
lodash._reinterpolate@^3.0.0:
|
lodash._reinterpolate@^3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
|
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
|
||||||
|
|
||||||
|
lodash._reunescapedhtml@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash._reunescapedhtml/-/lodash._reunescapedhtml-2.4.1.tgz#747c4fc40103eb3bb8a0976e571f7a2659e93ba7"
|
||||||
|
dependencies:
|
||||||
|
lodash._htmlescapes "~2.4.1"
|
||||||
|
lodash.keys "~2.4.1"
|
||||||
|
|
||||||
lodash._root@^3.0.0:
|
lodash._root@^3.0.0:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692"
|
resolved "https://registry.yarnpkg.com/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692"
|
||||||
|
|
||||||
|
lodash._shimkeys@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash._shimkeys/-/lodash._shimkeys-2.4.1.tgz#6e9cc9666ff081f0b5a6c978b83e242e6949d203"
|
||||||
|
dependencies:
|
||||||
|
lodash._objecttypes "~2.4.1"
|
||||||
|
|
||||||
lodash.assignin@^4.0.9:
|
lodash.assignin@^4.0.9:
|
||||||
version "4.2.0"
|
version "4.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.assignin/-/lodash.assignin-4.2.0.tgz#ba8df5fb841eb0a3e8044232b0e263a8dc6a28a2"
|
resolved "https://registry.yarnpkg.com/lodash.assignin/-/lodash.assignin-4.2.0.tgz#ba8df5fb841eb0a3e8044232b0e263a8dc6a28a2"
|
||||||
@ -4433,12 +4537,27 @@ lodash.defaults@^4.0.1:
|
|||||||
version "4.2.0"
|
version "4.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c"
|
resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c"
|
||||||
|
|
||||||
|
lodash.defaults@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-2.4.1.tgz#a7e8885f05e68851144b6e12a8f3678026bc4c54"
|
||||||
|
dependencies:
|
||||||
|
lodash._objecttypes "~2.4.1"
|
||||||
|
lodash.keys "~2.4.1"
|
||||||
|
|
||||||
lodash.escape@^3.0.0:
|
lodash.escape@^3.0.0:
|
||||||
version "3.2.0"
|
version "3.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698"
|
resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698"
|
||||||
dependencies:
|
dependencies:
|
||||||
lodash._root "^3.0.0"
|
lodash._root "^3.0.0"
|
||||||
|
|
||||||
|
lodash.escape@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-2.4.1.tgz#2ce12c5e084db0a57dda5e5d1eeeb9f5d175a3b4"
|
||||||
|
dependencies:
|
||||||
|
lodash._escapehtmlchar "~2.4.1"
|
||||||
|
lodash._reunescapedhtml "~2.4.1"
|
||||||
|
lodash.keys "~2.4.1"
|
||||||
|
|
||||||
lodash.filter@^4.4.0:
|
lodash.filter@^4.4.0:
|
||||||
version "4.6.0"
|
version "4.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.filter/-/lodash.filter-4.6.0.tgz#668b1d4981603ae1cc5a6fa760143e480b4c4ace"
|
resolved "https://registry.yarnpkg.com/lodash.filter/-/lodash.filter-4.6.0.tgz#668b1d4981603ae1cc5a6fa760143e480b4c4ace"
|
||||||
@ -4459,6 +4578,12 @@ lodash.isarray@^3.0.0:
|
|||||||
version "3.0.4"
|
version "3.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
|
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
|
||||||
|
|
||||||
|
lodash.isobject@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-2.4.1.tgz#5a2e47fe69953f1ee631a7eba1fe64d2d06558f5"
|
||||||
|
dependencies:
|
||||||
|
lodash._objecttypes "~2.4.1"
|
||||||
|
|
||||||
lodash.isplainobject@^4.0.4:
|
lodash.isplainobject@^4.0.4:
|
||||||
version "4.0.6"
|
version "4.0.6"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
|
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
|
||||||
@ -4475,6 +4600,14 @@ lodash.keys@^3.0.0:
|
|||||||
lodash.isarguments "^3.0.0"
|
lodash.isarguments "^3.0.0"
|
||||||
lodash.isarray "^3.0.0"
|
lodash.isarray "^3.0.0"
|
||||||
|
|
||||||
|
lodash.keys@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-2.4.1.tgz#48dea46df8ff7632b10d706b8acb26591e2b3727"
|
||||||
|
dependencies:
|
||||||
|
lodash._isnative "~2.4.1"
|
||||||
|
lodash._shimkeys "~2.4.1"
|
||||||
|
lodash.isobject "~2.4.1"
|
||||||
|
|
||||||
lodash.map@^4.4.0:
|
lodash.map@^4.4.0:
|
||||||
version "4.6.0"
|
version "4.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3"
|
resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3"
|
||||||
@ -4511,6 +4644,18 @@ lodash.some@^4.4.0:
|
|||||||
version "4.6.0"
|
version "4.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d"
|
resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d"
|
||||||
|
|
||||||
|
lodash.template@^2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-2.4.1.tgz#9e611007edf629129a974ab3c48b817b3e1cf20d"
|
||||||
|
dependencies:
|
||||||
|
lodash._escapestringchar "~2.4.1"
|
||||||
|
lodash._reinterpolate "~2.4.1"
|
||||||
|
lodash.defaults "~2.4.1"
|
||||||
|
lodash.escape "~2.4.1"
|
||||||
|
lodash.keys "~2.4.1"
|
||||||
|
lodash.templatesettings "~2.4.1"
|
||||||
|
lodash.values "~2.4.1"
|
||||||
|
|
||||||
lodash.template@^3.0.0:
|
lodash.template@^3.0.0:
|
||||||
version "3.6.2"
|
version "3.6.2"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-3.6.2.tgz#f8cdecc6169a255be9098ae8b0c53d378931d14f"
|
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-3.6.2.tgz#f8cdecc6169a255be9098ae8b0c53d378931d14f"
|
||||||
@ -4532,10 +4677,23 @@ lodash.templatesettings@^3.0.0:
|
|||||||
lodash._reinterpolate "^3.0.0"
|
lodash._reinterpolate "^3.0.0"
|
||||||
lodash.escape "^3.0.0"
|
lodash.escape "^3.0.0"
|
||||||
|
|
||||||
|
lodash.templatesettings@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-2.4.1.tgz#ea76c75d11eb86d4dbe89a83893bb861929ac699"
|
||||||
|
dependencies:
|
||||||
|
lodash._reinterpolate "~2.4.1"
|
||||||
|
lodash.escape "~2.4.1"
|
||||||
|
|
||||||
lodash.uniq@^4.5.0:
|
lodash.uniq@^4.5.0:
|
||||||
version "4.5.0"
|
version "4.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
|
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
|
||||||
|
|
||||||
|
lodash.values@~2.4.1:
|
||||||
|
version "2.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/lodash.values/-/lodash.values-2.4.1.tgz#abf514436b3cb705001627978cbcf30b1280eea4"
|
||||||
|
dependencies:
|
||||||
|
lodash.keys "~2.4.1"
|
||||||
|
|
||||||
lodash@^3.8.0:
|
lodash@^3.8.0:
|
||||||
version "3.10.1"
|
version "3.10.1"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
|
||||||
@ -4629,6 +4787,14 @@ map-obj@^1.0.0, map-obj@^1.0.1:
|
|||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"
|
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"
|
||||||
|
|
||||||
|
map-stream@0.0.4:
|
||||||
|
version "0.0.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.0.4.tgz#5ec6de90213ef6c7b2eb9367e9ade8da4efdb68b"
|
||||||
|
|
||||||
|
map-stream@>=0.0.4:
|
||||||
|
version "0.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194"
|
||||||
|
|
||||||
markdown-it-container@^2.0.0:
|
markdown-it-container@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/markdown-it-container/-/markdown-it-container-2.0.0.tgz#0019b43fd02eefece2f1960a2895fba81a404695"
|
resolved "https://registry.yarnpkg.com/markdown-it-container/-/markdown-it-container-2.0.0.tgz#0019b43fd02eefece2f1960a2895fba81a404695"
|
||||||
@ -4783,6 +4949,10 @@ minimist@1.2.0, minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0:
|
|||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
|
||||||
|
|
||||||
|
minimist@^0.2.0:
|
||||||
|
version "0.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.2.0.tgz#4dffe525dae2b864c66c2e23c6271d7afdecefce"
|
||||||
|
|
||||||
minimist@~0.0.1:
|
minimist@~0.0.1:
|
||||||
version "0.0.10"
|
version "0.0.10"
|
||||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
|
||||||
@ -4838,7 +5008,7 @@ multicast-dns@^6.0.1:
|
|||||||
dns-packet "^1.0.1"
|
dns-packet "^1.0.1"
|
||||||
thunky "^0.1.0"
|
thunky "^0.1.0"
|
||||||
|
|
||||||
multipipe@^0.1.2:
|
multipipe@^0.1.0, multipipe@^0.1.2:
|
||||||
version "0.1.2"
|
version "0.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/multipipe/-/multipipe-0.1.2.tgz#2a8f2ddf70eed564dff2d57f1e1a137d9f05078b"
|
resolved "https://registry.yarnpkg.com/multipipe/-/multipipe-0.1.2.tgz#2a8f2ddf70eed564dff2d57f1e1a137d9f05078b"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -4993,6 +5163,10 @@ npmlog@^4.0.2:
|
|||||||
gauge "~2.7.3"
|
gauge "~2.7.3"
|
||||||
set-blocking "~2.0.0"
|
set-blocking "~2.0.0"
|
||||||
|
|
||||||
|
nprogress@^0.2.0:
|
||||||
|
version "0.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/nprogress/-/nprogress-0.2.0.tgz#cb8f34c53213d895723fcbab907e9422adbcafb1"
|
||||||
|
|
||||||
nth-check@~1.0.1:
|
nth-check@~1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.1.tgz#9929acdf628fc2c41098deab82ac580cf149aae4"
|
resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.1.tgz#9929acdf628fc2c41098deab82ac580cf149aae4"
|
||||||
@ -5113,12 +5287,12 @@ optimist@^0.6.1:
|
|||||||
minimist "~0.0.1"
|
minimist "~0.0.1"
|
||||||
wordwrap "~0.0.2"
|
wordwrap "~0.0.2"
|
||||||
|
|
||||||
optimize-css-assets-webpack-plugin@^3.0.0:
|
optimize-css-assets-webpack-plugin@^3.1.1:
|
||||||
version "3.0.0"
|
version "3.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-3.0.0.tgz#03d4ce02e91ba3f2a7905507dc6be5f90b4158fd"
|
resolved "https://registry.yarnpkg.com/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-3.1.1.tgz#b86f255a762d9143e3db41a64a136a6b76e8c8a7"
|
||||||
dependencies:
|
dependencies:
|
||||||
cssnano "^3.4.0"
|
cssnano "^3.4.0"
|
||||||
last-call-webpack-plugin "^2.0.1"
|
last-call-webpack-plugin "^2.1.1"
|
||||||
|
|
||||||
optionator@^0.8.1, optionator@^0.8.2:
|
optionator@^0.8.1, optionator@^0.8.2:
|
||||||
version "0.8.2"
|
version "0.8.2"
|
||||||
@ -6090,7 +6264,7 @@ read-pkg@^2.0.0:
|
|||||||
normalize-package-data "^2.3.2"
|
normalize-package-data "^2.3.2"
|
||||||
path-type "^2.0.0"
|
path-type "^2.0.0"
|
||||||
|
|
||||||
readable-stream@1.0, "readable-stream@>=1.0.33-1 <1.1.0-0", readable-stream@~1.0.2:
|
readable-stream@1.0, "readable-stream@>=1.0.33-1 <1.1.0-0", readable-stream@~1.0.17, readable-stream@~1.0.2:
|
||||||
version "1.0.34"
|
version "1.0.34"
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
|
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -6803,6 +6977,12 @@ stringstream@~0.0.4:
|
|||||||
version "0.0.5"
|
version "0.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878"
|
resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878"
|
||||||
|
|
||||||
|
strip-ansi@^0.3.0:
|
||||||
|
version "0.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-0.3.0.tgz#25f48ea22ca79187f3174a4db8759347bb126220"
|
||||||
|
dependencies:
|
||||||
|
ansi-regex "^0.2.1"
|
||||||
|
|
||||||
strip-ansi@^3.0.0, strip-ansi@^3.0.1:
|
strip-ansi@^3.0.0, strip-ansi@^3.0.1:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
|
||||||
@ -6869,6 +7049,10 @@ supports-color@3.1.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
has-flag "^1.0.0"
|
has-flag "^1.0.0"
|
||||||
|
|
||||||
|
supports-color@^0.2.0:
|
||||||
|
version "0.2.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a"
|
||||||
|
|
||||||
supports-color@^2.0.0:
|
supports-color@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
|
||||||
@ -6948,6 +7132,19 @@ tcomb@^2.5.1:
|
|||||||
version "2.7.0"
|
version "2.7.0"
|
||||||
resolved "https://registry.yarnpkg.com/tcomb/-/tcomb-2.7.0.tgz#10d62958041669a5d53567b9a4ee8cde22b1c2b0"
|
resolved "https://registry.yarnpkg.com/tcomb/-/tcomb-2.7.0.tgz#10d62958041669a5d53567b9a4ee8cde22b1c2b0"
|
||||||
|
|
||||||
|
temp-write@~0.1.0:
|
||||||
|
version "0.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/temp-write/-/temp-write-0.1.1.tgz#0b6467838dd77fbf7f62a0c93da879732ffda932"
|
||||||
|
dependencies:
|
||||||
|
graceful-fs "~2.0.0"
|
||||||
|
tempfile "~0.1.2"
|
||||||
|
|
||||||
|
tempfile@~0.1.2:
|
||||||
|
version "0.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/tempfile/-/tempfile-0.1.3.tgz#7d6b710047339d39f847327a056dadf183103010"
|
||||||
|
dependencies:
|
||||||
|
uuid "~1.4.0"
|
||||||
|
|
||||||
text-encoding@0.6.4:
|
text-encoding@0.6.4:
|
||||||
version "0.6.4"
|
version "0.6.4"
|
||||||
resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.6.4.tgz#e399a982257a276dae428bb92845cb71bdc26d19"
|
resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.6.4.tgz#e399a982257a276dae428bb92845cb71bdc26d19"
|
||||||
@ -6960,6 +7157,13 @@ throttleit@^1.0.0:
|
|||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-1.0.0.tgz#9e785836daf46743145a5984b6268d828528ac6c"
|
resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-1.0.0.tgz#9e785836daf46743145a5984b6268d828528ac6c"
|
||||||
|
|
||||||
|
through2@^0.5.0:
|
||||||
|
version "0.5.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/through2/-/through2-0.5.1.tgz#dfdd012eb9c700e2323fd334f38ac622ab372da7"
|
||||||
|
dependencies:
|
||||||
|
readable-stream "~1.0.17"
|
||||||
|
xtend "~3.0.0"
|
||||||
|
|
||||||
through2@^0.6.1:
|
through2@^0.6.1:
|
||||||
version "0.6.5"
|
version "0.6.5"
|
||||||
resolved "https://registry.yarnpkg.com/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48"
|
resolved "https://registry.yarnpkg.com/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48"
|
||||||
@ -7276,6 +7480,10 @@ uuid@^3.0.0:
|
|||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"
|
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"
|
||||||
|
|
||||||
|
uuid@~1.4.0:
|
||||||
|
version "1.4.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/uuid/-/uuid-1.4.2.tgz#453019f686966a6df83cdc5244e7c990ecc332fc"
|
||||||
|
|
||||||
v8flags@^2.0.2, v8flags@^2.1.1:
|
v8flags@^2.0.2, v8flags@^2.1.1:
|
||||||
version "2.1.1"
|
version "2.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4"
|
resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4"
|
||||||
@ -7318,6 +7526,18 @@ vinyl-fs@^0.3.0:
|
|||||||
through2 "^0.6.1"
|
through2 "^0.6.1"
|
||||||
vinyl "^0.4.0"
|
vinyl "^0.4.0"
|
||||||
|
|
||||||
|
vinyl-sourcemaps-apply@^0.2.1:
|
||||||
|
version "0.2.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/vinyl-sourcemaps-apply/-/vinyl-sourcemaps-apply-0.2.1.tgz#ab6549d61d172c2b1b87be5c508d239c8ef87705"
|
||||||
|
dependencies:
|
||||||
|
source-map "^0.5.1"
|
||||||
|
|
||||||
|
vinyl@^0.2.1:
|
||||||
|
version "0.2.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-0.2.3.tgz#bca938209582ec5a49ad538a00fa1f125e513252"
|
||||||
|
dependencies:
|
||||||
|
clone-stats "~0.0.1"
|
||||||
|
|
||||||
vinyl@^0.4.0:
|
vinyl@^0.4.0:
|
||||||
version "0.4.6"
|
version "0.4.6"
|
||||||
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-0.4.6.tgz#2f356c87a550a255461f36bbeb2a5ba8bf784847"
|
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-0.4.6.tgz#2f356c87a550a255461f36bbeb2a5ba8bf784847"
|
||||||
@ -7627,6 +7847,10 @@ xmlhttprequest-ssl@1.5.3:
|
|||||||
version "4.0.1"
|
version "4.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
|
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
|
||||||
|
|
||||||
|
xtend@~3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/xtend/-/xtend-3.0.0.tgz#5cce7407baf642cba7becda568111c493f59665a"
|
||||||
|
|
||||||
y18n@^3.2.1:
|
y18n@^3.2.1:
|
||||||
version "3.2.1"
|
version "3.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
|
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
|
||||||
@ -7702,12 +7926,13 @@ yeast@0.1.2:
|
|||||||
version "0.1.2"
|
version "0.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"
|
resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"
|
||||||
|
|
||||||
zan-doc@0.1.12:
|
zan-doc@0.2.0:
|
||||||
version "0.1.12"
|
version "0.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/zan-doc/-/zan-doc-0.1.12.tgz#65b3d43c6a18dbb939c5ea28d6a4630697de6824"
|
resolved "https://registry.yarnpkg.com/zan-doc/-/zan-doc-0.2.0.tgz#40b31c4f1cc5ae539853a06b30f1cb479e2edca3"
|
||||||
dependencies:
|
dependencies:
|
||||||
cheerio "0.22.0"
|
cheerio "0.22.0"
|
||||||
decamelize "^1.2.0"
|
decamelize "^1.2.0"
|
||||||
markdown-it "^8.3.1"
|
markdown-it "^8.3.1"
|
||||||
markdown-it-container "^2.0.0"
|
markdown-it-container "^2.0.0"
|
||||||
node-watch "^0.5.5"
|
node-watch "^0.5.5"
|
||||||
|
nprogress "^0.2.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user