diff --git a/.gitignore b/.gitignore index 064cf9568..cec8de443 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,4 @@ lib/* node_modules example/dist dist -test/unit/coverage/* +test/unit/coverage diff --git a/test/unit/coverage/lcov-report/base.css b/test/unit/coverage/lcov-report/base.css deleted file mode 100644 index 29737bcb0..000000000 --- a/test/unit/coverage/lcov-report/base.css +++ /dev/null @@ -1,213 +0,0 @@ -body, html { - margin:0; padding: 0; - height: 100%; -} -body { - font-family: Helvetica Neue, Helvetica, Arial; - font-size: 14px; - color:#333; -} -.small { font-size: 12px; } -*, *:after, *:before { - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - box-sizing:border-box; - } -h1 { font-size: 20px; margin: 0;} -h2 { font-size: 14px; } -pre { - font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace; - margin: 0; - padding: 0; - -moz-tab-size: 2; - -o-tab-size: 2; - tab-size: 2; -} -a { color:#0074D9; text-decoration:none; } -a:hover { text-decoration:underline; } -.strong { font-weight: bold; } -.space-top1 { padding: 10px 0 0 0; } -.pad2y { padding: 20px 0; } -.pad1y { padding: 10px 0; } -.pad2x { padding: 0 20px; } -.pad2 { padding: 20px; } -.pad1 { padding: 10px; } -.space-left2 { padding-left:55px; } -.space-right2 { padding-right:20px; } -.center { text-align:center; } -.clearfix { display:block; } -.clearfix:after { - content:''; - display:block; - height:0; - clear:both; - visibility:hidden; - } -.fl { float: left; } -@media only screen and (max-width:640px) { - .col3 { width:100%; max-width:100%; } - .hide-mobile { display:none!important; } -} - -.quiet { - color: #7f7f7f; - color: rgba(0,0,0,0.5); -} -.quiet a { opacity: 0.7; } - -.fraction { - font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; - font-size: 10px; - color: #555; - background: #E8E8E8; - padding: 4px 5px; - border-radius: 3px; - vertical-align: middle; -} - -div.path a:link, div.path a:visited { color: #333; } -table.coverage { - border-collapse: collapse; - margin: 10px 0 0 0; - padding: 0; -} - -table.coverage td { - margin: 0; - padding: 0; - vertical-align: top; -} -table.coverage td.line-count { - text-align: right; - padding: 0 5px 0 20px; -} -table.coverage td.line-coverage { - text-align: right; - padding-right: 10px; - min-width:20px; -} - -table.coverage td span.cline-any { - display: inline-block; - padding: 0 5px; - width: 100%; -} -.missing-if-branch { - display: inline-block; - margin-right: 5px; - border-radius: 3px; - position: relative; - padding: 0 4px; - background: #333; - color: yellow; -} - -.skip-if-branch { - display: none; - margin-right: 10px; - position: relative; - padding: 0 4px; - background: #ccc; - color: white; -} -.missing-if-branch .typ, .skip-if-branch .typ { - color: inherit !important; -} -.coverage-summary { - border-collapse: collapse; - width: 100%; -} -.coverage-summary tr { border-bottom: 1px solid #bbb; } -.keyline-all { border: 1px solid #ddd; } -.coverage-summary td, .coverage-summary th { padding: 10px; } -.coverage-summary tbody { border: 1px solid #bbb; } -.coverage-summary td { border-right: 1px solid #bbb; } -.coverage-summary td:last-child { border-right: none; } -.coverage-summary th { - text-align: left; - font-weight: normal; - white-space: nowrap; -} -.coverage-summary th.file { border-right: none !important; } -.coverage-summary th.pct { } -.coverage-summary th.pic, -.coverage-summary th.abs, -.coverage-summary td.pct, -.coverage-summary td.abs { text-align: right; } -.coverage-summary td.file { white-space: nowrap; } -.coverage-summary td.pic { min-width: 120px !important; } -.coverage-summary tfoot td { } - -.coverage-summary .sorter { - height: 10px; - width: 7px; - display: inline-block; - margin-left: 0.5em; - background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent; -} -.coverage-summary .sorted .sorter { - background-position: 0 -20px; -} -.coverage-summary .sorted-desc .sorter { - background-position: 0 -10px; -} -.status-line { height: 10px; } -/* dark red */ -.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 } -.low .chart { border:1px solid #C21F39 } -/* medium red */ -.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE } -/* light red */ -.low, .cline-no { background:#FCE1E5 } -/* light green */ -.high, .cline-yes { background:rgb(230,245,208) } -/* medium green */ -.cstat-yes { background:rgb(161,215,106) } -/* dark green */ -.status-line.high, .high .cover-fill { background:rgb(77,146,33) } -.high .chart { border:1px solid rgb(77,146,33) } -/* dark yellow (gold) */ -.medium .chart { border:1px solid #f9cd0b; } -.status-line.medium, .medium .cover-fill { background: #f9cd0b; } -/* light yellow */ -.medium { background: #fff4c2; } -/* light gray */ -span.cline-neutral { background: #eaeaea; } - -.cbranch-no { background: yellow !important; color: #111; } - -.cstat-skip { background: #ddd; color: #111; } -.fstat-skip { background: #ddd; color: #111 !important; } -.cbranch-skip { background: #ddd !important; color: #111; } - - -.cover-fill, .cover-empty { - display:inline-block; - height: 12px; -} -.chart { - line-height: 0; -} -.cover-empty { - background: white; -} -.cover-full { - border-right: none !important; -} -pre.prettyprint { - border: none !important; - padding: 0 !important; - margin: 0 !important; -} -.com { color: #999 !important; } -.ignore-none { color: #999; font-weight: normal; } - -.wrapper { - min-height: 100%; - height: auto !important; - height: 100%; - margin: 0 auto -48px; -} -.footer, .push { - height: 48px; -} diff --git a/test/unit/coverage/lcov-report/index.html b/test/unit/coverage/lcov-report/index.html deleted file mode 100644 index 3e83f8321..000000000 --- a/test/unit/coverage/lcov-report/index.html +++ /dev/null @@ -1,656 +0,0 @@ - - - - Code coverage report for All files - - - - - - - -
-
-

- / -

-
-
- 41.13% - Statements - 380/924 -
-
- 29.89% - Branches - 156/522 -
-
- 22.22% - Functions - 38/171 -
-
- 26.54% - Lines - 185/697 -
-
- 33 branches - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
packages/badge-group/
100%6/6100%4/4100%1/1100%2/2
packages/badge/
100%6/6100%4/4100%1/1100%2/2
packages/badge/src/
57.14%4/7100%0/00%0/340%2/5
packages/button/
100%6/6100%4/4100%1/1100%2/2
packages/button/src/
40%4/100%0/20%0/433.33%3/9
packages/card/
100%6/6100%4/4100%1/1100%2/2
packages/card/src/
100%2/2100%0/0100%0/0100%1/1
packages/cell-group/
100%6/6100%4/4100%1/1100%2/2
packages/cell/
100%6/6100%4/4100%1/1100%2/2
packages/cell/src/
80%4/5100%0/00%0/166.67%2/3
packages/checkbox-group/
100%6/6100%4/4100%1/1100%2/2
packages/checkbox/
100%6/6100%4/4100%1/1100%2/2
packages/checkbox/src/
29.63%8/2714.29%4/2814.29%1/713.64%3/22
packages/dialog/
100%6/6100%4/4100%1/1100%2/2
packages/dialog/src/
39.24%31/7920%8/4013.33%2/1527.69%18/65
packages/field/
100%6/6100%4/4100%1/1100%2/2
packages/field/src/
54.55%6/11100%4/420%1/528.57%2/7
packages/icon/
100%6/6100%4/4100%1/1100%2/2
packages/icon/src/
100%2/2100%0/0100%0/0100%1/1
packages/loading/
100%6/6100%4/4100%1/1100%2/2
packages/loading/src/
100%2/2100%0/0100%0/0100%1/1
packages/panel/
100%6/6100%4/4100%1/1100%2/2
packages/panel/src/
100%2/2100%0/0100%0/0100%1/1
packages/picker/
100%6/6100%4/4100%1/1100%2/2
packages/picker/src/
16.67%24/14420%14/707.5%3/407.94%10/126
packages/popup/
100%6/6100%4/4100%1/1100%2/2
packages/popup/src/
42.86%6/1450%4/816.67%1/620%2/10
packages/radio-group/
100%6/6100%4/4100%1/1100%2/2
packages/radio/
100%6/6100%4/4100%1/1100%2/2
packages/radio/src/
53.33%8/1522.22%4/1816.67%1/630%3/10
packages/search/
100%6/6100%4/4100%1/1100%2/2
packages/search/src/
16.67%2/120%0/20%0/610%1/10
packages/steps/
100%6/6100%4/4100%1/1100%2/2
packages/steps/src/
66.67%2/3100%0/00%0/150%1/2
packages/switch/
100%6/6100%4/4100%1/1100%2/2
packages/switch/src/
18.18%2/110%0/100%0/314.29%1/7
packages/tag/
100%6/6100%4/4100%1/1100%2/2
packages/tag/src/
100%2/2100%0/0100%0/0100%1/1
packages/waterfall/
100%6/6100%4/4100%1/1100%2/2
packages/waterfall/src/
25.47%27/10616.67%9/5421.05%4/1918.09%17/94
src/
68.06%49/7270%7/1050%1/254.17%26/48
src/mixins/
18.18%2/110%0/40%0/111.11%1/9
src/mixins/popup/
14.18%19/1344.88%4/824.76%1/2110%12/120
src/utils/
33.06%40/1219.8%10/10211.11%1/931.68%32/101
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/badge-group/index.html b/test/unit/coverage/lcov-report/packages/badge-group/index.html deleted file mode 100644 index 10a80d434..000000000 --- a/test/unit/coverage/lcov-report/packages/badge-group/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/badge-group/ - - - - - - - -
-
-

- all files packages/badge-group/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/badge-group/index.js.html b/test/unit/coverage/lcov-report/packages/badge-group/index.js.html deleted file mode 100644 index d0455d7e7..000000000 --- a/test/unit/coverage/lcov-report/packages/badge-group/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/badge-group/index.js - - - - - - - -
-
-

- all files / packages/badge-group/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import BadgeGroup from '../badge/src/badge-group';
- 
-export default BadgeGroup;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/badge/index.html b/test/unit/coverage/lcov-report/packages/badge/index.html deleted file mode 100644 index eebfac6b6..000000000 --- a/test/unit/coverage/lcov-report/packages/badge/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/badge/ - - - - - - - -
-
-

- all files packages/badge/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/badge/index.js.html b/test/unit/coverage/lcov-report/packages/badge/index.js.html deleted file mode 100644 index 2ac8df9b2..000000000 --- a/test/unit/coverage/lcov-report/packages/badge/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/badge/index.js - - - - - - - -
-
-

- all files / packages/badge/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Badge from './src/badge';
- 
-export default Badge;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/badge/src/badge-group.vue.html b/test/unit/coverage/lcov-report/packages/badge/src/badge-group.vue.html deleted file mode 100644 index e4452986f..000000000 --- a/test/unit/coverage/lcov-report/packages/badge/src/badge-group.vue.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - Code coverage report for packages/badge/src/badge-group.vue - - - - - - - -
-
-

- all files / packages/badge/src/ badge-group.vue -

-
-
- 66.67% - Statements - 2/3 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/1 -
-
- 50% - Lines - 1/2 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-badge-group',
- 
-  props: {
-    // 当前激活 tab 面板的 key
-    activeKey: {
-      type: [Number, String],
-      default: 0
-    }
-  },
- 
-  data() {
-    return {
-      computedActiveKey: this.activeKey
-    };
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/badge/src/badge.vue.html b/test/unit/coverage/lcov-report/packages/badge/src/badge.vue.html deleted file mode 100644 index abd2bd7b5..000000000 --- a/test/unit/coverage/lcov-report/packages/badge/src/badge.vue.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - Code coverage report for packages/badge/src/badge.vue - - - - - - - -
-
-

- all files / packages/badge/src/ badge.vue -

-
-
- 50% - Statements - 2/4 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/2 -
-
- 33.33% - Lines - 1/3 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-badge',
-  props: {
-    mark: {
-      type: [Number, String],
-      required: true
-    },
-    title: {
-      type: String,
-      required: true
-    },
-    url: {
-      type: String
-    },
-    info: {
-      type: String
-    }
-  },
-  methods: {
-    handleClick() {
-      this.$parent.computedActiveKey = this.mark;
-    }
-  },
-  computed: {
-    classNames() {
-      return {
-        'is-select': this.mark === this.$parent.computedActiveKey
-      };
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/badge/src/index.html b/test/unit/coverage/lcov-report/packages/badge/src/index.html deleted file mode 100644 index b431285ed..000000000 --- a/test/unit/coverage/lcov-report/packages/badge/src/index.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - Code coverage report for packages/badge/src/ - - - - - - - -
-
-

- all files packages/badge/src/ -

-
-
- 57.14% - Statements - 4/7 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/3 -
-
- 40% - Lines - 2/5 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
badge-group.vue
66.67%2/3100%0/00%0/150%1/2
badge.vue
50%2/4100%0/00%0/233.33%1/3
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/button/index.html b/test/unit/coverage/lcov-report/packages/button/index.html deleted file mode 100644 index e03d01426..000000000 --- a/test/unit/coverage/lcov-report/packages/button/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/button/ - - - - - - - -
-
-

- all files packages/button/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/button/index.js.html b/test/unit/coverage/lcov-report/packages/button/index.js.html deleted file mode 100644 index a891cd3c8..000000000 --- a/test/unit/coverage/lcov-report/packages/button/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/button/index.js - - - - - - - -
-
-

- all files / packages/button/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Button from './src/button';
- 
-export default Button;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/button/src/button.js.html b/test/unit/coverage/lcov-report/packages/button/src/button.js.html deleted file mode 100644 index 676da2ce9..000000000 --- a/test/unit/coverage/lcov-report/packages/button/src/button.js.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - Code coverage report for packages/button/src/button.js - - - - - - - -
-
-

- all files / packages/button/src/ button.js -

-
-
- 40% - Statements - 4/10 -
-
- 0% - Branches - 0/2 -
-
- 0% - Functions - 0/4 -
-
- 33.33% - Lines - 3/9 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80  -  -  -  -  -  -  -  -  -  -  -  -  - - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * @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
- * <zan-button size="large" type="primary">按钮</zan-button>
- */
- 
-const allowedSize = ['mini', 'small', 'normal', 'large'];
-const allowedType = ['default', 'danger', 'primary'];
- 
-export default {
-  name: 'zan-button',
- 
-  props: {
-    disabled: Boolean,
-    loading: Boolean,
-    block: Boolean,
-    tag: {
-      type: String,
-      default: 'button'
-    },
-    nativeType: String,
-    type: {
-      type: String,
-      default: 'default',
-      validator(value) {
-        return allowedType.indexOf(value) > -1;
-      }
-    },
-    size: {
-      type: String,
-      default: 'normal',
-      validator(value) {
-        return allowedSize.indexOf(value) > -1;
-      }
-    }
-  },
- 
-  methods: {
-    handleClick() {
-      this.$emit('click');
-    }
-  },
- 
-  render(h) {
-    let { type, nativeType, size, disabled, loading, block } = this;
-    let Tag = this.tag;
- 
-    return (
-      <Tag
-        type={nativeType}
-        disabled={disabled}
-        class={[
-          'zan-button',
-          'zan-button--' + type,
-          'zan-button--' + size,
-          {
-            'is-disabled': disabled,
-            'is-loading': loading,
-            'is-block': block
-          }
-        ]}
-        onClick={this.handleClick}
-      >
-        {
-          loading ? <i class="zan-icon-loading"></i> : null
-        }
-        <span class="zan-button-text">{this.$slots.default}</span>
-      </Tag>
-    );
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/button/src/index.html b/test/unit/coverage/lcov-report/packages/button/src/index.html deleted file mode 100644 index 9bff78423..000000000 --- a/test/unit/coverage/lcov-report/packages/button/src/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for packages/button/src/ - - - - - - - -
-
-

- all files packages/button/src/ -

-
-
- 40% - Statements - 4/10 -
-
- 0% - Branches - 0/2 -
-
- 0% - Functions - 0/4 -
-
- 33.33% - Lines - 3/9 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
button.js
40%4/100%0/20%0/433.33%3/9
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/card/index.html b/test/unit/coverage/lcov-report/packages/card/index.html deleted file mode 100644 index a60358497..000000000 --- a/test/unit/coverage/lcov-report/packages/card/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/card/ - - - - - - - -
-
-

- all files packages/card/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/card/index.js.html b/test/unit/coverage/lcov-report/packages/card/index.js.html deleted file mode 100644 index 7d02bab64..000000000 --- a/test/unit/coverage/lcov-report/packages/card/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/card/index.js - - - - - - - -
-
-

- all files / packages/card/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Card from './src/card';
- 
-export default Card;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/card/src/card.vue.html b/test/unit/coverage/lcov-report/packages/card/src/card.vue.html deleted file mode 100644 index 09eb2fbdf..000000000 --- a/test/unit/coverage/lcov-report/packages/card/src/card.vue.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - Code coverage report for packages/card/src/card.vue - - - - - - - -
-
-

- all files / packages/card/src/ card.vue -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-card',
-  props: {
-    thumb: {
-      type: String,
-      required: true
-    },
-    title: String,
-    desc: String
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/card/src/index.html b/test/unit/coverage/lcov-report/packages/card/src/index.html deleted file mode 100644 index deedafc4b..000000000 --- a/test/unit/coverage/lcov-report/packages/card/src/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for packages/card/src/ - - - - - - - -
-
-

- all files packages/card/src/ -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
card.vue
100%2/2100%0/0100%0/0100%1/1
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/cell-group/index.html b/test/unit/coverage/lcov-report/packages/cell-group/index.html deleted file mode 100644 index 91a17243e..000000000 --- a/test/unit/coverage/lcov-report/packages/cell-group/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/cell-group/ - - - - - - - -
-
-

- all files packages/cell-group/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/cell-group/index.js.html b/test/unit/coverage/lcov-report/packages/cell-group/index.js.html deleted file mode 100644 index 26ffb57e6..000000000 --- a/test/unit/coverage/lcov-report/packages/cell-group/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/cell-group/index.js - - - - - - - -
-
-

- all files / packages/cell-group/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import CellGroup from '../cell/src/cell-group';
- 
-export default CellGroup;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/cell/index.html b/test/unit/coverage/lcov-report/packages/cell/index.html deleted file mode 100644 index eb1dafbcc..000000000 --- a/test/unit/coverage/lcov-report/packages/cell/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/cell/ - - - - - - - -
-
-

- all files packages/cell/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/cell/index.js.html b/test/unit/coverage/lcov-report/packages/cell/index.js.html deleted file mode 100644 index 141a3d317..000000000 --- a/test/unit/coverage/lcov-report/packages/cell/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/cell/index.js - - - - - - - -
-
-

- all files / packages/cell/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Cell from './src/cell';
- 
-export default Cell;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/cell/src/cell-group.vue.html b/test/unit/coverage/lcov-report/packages/cell/src/cell-group.vue.html deleted file mode 100644 index 4cce02ecf..000000000 --- a/test/unit/coverage/lcov-report/packages/cell/src/cell-group.vue.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - Code coverage report for packages/cell/src/cell-group.vue - - - - - - - -
-
-

- all files / packages/cell/src/ cell-group.vue -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-cell-group'
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/cell/src/cell.vue.html b/test/unit/coverage/lcov-report/packages/cell/src/cell.vue.html deleted file mode 100644 index 1774657da..000000000 --- a/test/unit/coverage/lcov-report/packages/cell/src/cell.vue.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - Code coverage report for packages/cell/src/cell.vue - - - - - - - -
-
-

- all files / packages/cell/src/ cell.vue -

-
-
- 66.67% - Statements - 2/3 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/1 -
-
- 50% - Lines - 1/2 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-cell',
- 
-  props: {
-    icon: String,
-    title: String,
-    value: [String, Number],
-    url: String,
-    label: String,
-    isLink: Boolean
-  },
- 
-  methods: {
-    handleClick() {
-      this.$emit('click');
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/cell/src/index.html b/test/unit/coverage/lcov-report/packages/cell/src/index.html deleted file mode 100644 index 4e8fcda23..000000000 --- a/test/unit/coverage/lcov-report/packages/cell/src/index.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - Code coverage report for packages/cell/src/ - - - - - - - -
-
-

- all files packages/cell/src/ -

-
-
- 80% - Statements - 4/5 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/1 -
-
- 66.67% - Lines - 2/3 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
cell-group.vue
100%2/2100%0/0100%0/0100%1/1
cell.vue
66.67%2/3100%0/00%0/150%1/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/checkbox-group/index.html b/test/unit/coverage/lcov-report/packages/checkbox-group/index.html deleted file mode 100644 index 15eedd98f..000000000 --- a/test/unit/coverage/lcov-report/packages/checkbox-group/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/checkbox-group/ - - - - - - - -
-
-

- all files packages/checkbox-group/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/checkbox-group/index.js.html b/test/unit/coverage/lcov-report/packages/checkbox-group/index.js.html deleted file mode 100644 index 67e899dbd..000000000 --- a/test/unit/coverage/lcov-report/packages/checkbox-group/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/checkbox-group/index.js - - - - - - - -
-
-

- all files / packages/checkbox-group/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import CheckboxGroup from 'packages/checkbox/src/checkbox-group';
- 
-export default CheckboxGroup;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/checkbox/index.html b/test/unit/coverage/lcov-report/packages/checkbox/index.html deleted file mode 100644 index 08df8d036..000000000 --- a/test/unit/coverage/lcov-report/packages/checkbox/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/checkbox/ - - - - - - - -
-
-

- all files packages/checkbox/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/checkbox/index.js.html b/test/unit/coverage/lcov-report/packages/checkbox/index.js.html deleted file mode 100644 index c8bd93f68..000000000 --- a/test/unit/coverage/lcov-report/packages/checkbox/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/checkbox/index.js - - - - - - - -
-
-

- all files / packages/checkbox/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Checkbox from './src/checkbox';
- 
-export default Checkbox;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/checkbox/src/checkbox-group.vue.html b/test/unit/coverage/lcov-report/packages/checkbox/src/checkbox-group.vue.html deleted file mode 100644 index fc19bb7b8..000000000 --- a/test/unit/coverage/lcov-report/packages/checkbox/src/checkbox-group.vue.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - Code coverage report for packages/checkbox/src/checkbox-group.vue - - - - - - - -
-
-

- all files / packages/checkbox/src/ checkbox-group.vue -

-
-
- 66.67% - Statements - 2/3 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/1 -
-
- 50% - Lines - 1/2 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-checkbox-group',
- 
-  props: {
-    value: {},
-    disabled: Boolean
-  },
- 
-  watch: {
-    value(val) {
-      this.$emit('change', val);
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/checkbox/src/checkbox.vue.html b/test/unit/coverage/lcov-report/packages/checkbox/src/checkbox.vue.html deleted file mode 100644 index aafa68979..000000000 --- a/test/unit/coverage/lcov-report/packages/checkbox/src/checkbox.vue.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - Code coverage report for packages/checkbox/src/checkbox.vue - - - - - - - -
-
-

- all files / packages/checkbox/src/ checkbox.vue -

-
-
- 25% - Statements - 6/24 -
-
- 14.29% - Branches - 4/28 -
-
- 16.67% - Functions - 1/6 -
-
- 10% - Lines - 2/20 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-import findParent from 'src/mixins/findParent';
- 
-export default {
-  name: 'zan-checkbox',
- 
-  mixins: [findParent],
- 
-  props: {
-    disabled: Boolean,
-    value: {},
-    name: [String, Number]
-  },
- 
-  computed: {
-    /**
-     * `checkbox`是否在`zan-checkbox-group`中
-     */
-    isGroup() {
-      return !!this.findParentByComponentName('zan-checkbox-group');
-    },
- 
-    /**
-     * `checkbox`当前值
-     */
-    currentValue: {
-      get() {
-        return this.isGroup && this.parentGroup ? this.parentGroup.value.indexOf(this.name) !== -1 : this.value;
-      },
- 
-      set(val) {
-        if (this.isGroup && this.parentGroup) {
-          let parentValue = this.parentGroup.value.slice();
-          if (val) {
-            if (parentValue.indexOf(this.name) === -1) {
-              parentValue.push(this.name);
-              this.parentGroup.$emit('input', parentValue);
-            }
-          } else {
-            let index = parentValue.indexOf(this.name);
-            if (index !== -1) {
-              parentValue.splice(index, 1);
-              this.parentGroup.$emit('input', parentValue);
-            }
-          }
-        } else {
-          this.$emit('input', val);
-        }
-      }
-    },
- 
-    /**
-     * `checkbox`是否被选中
-     */
-    isChecked() {
-      if ({}.toString.call(this.currentValue) === '[object Boolean]') {
-        return this.currentValue;
-      } else if (Array.isArray(this.currentValue)) {
-        return this.currentValue.indexOf(this.name) > -1;
-      }
-    },
- 
-    /**
-     * `checkbox`是否被禁用
-     */
-    isDisabled() {
-      return this.isGroup && this.parentGroup
-          ? this.parentGroup.disabled || this.disabled
-          : this.disabled;
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/checkbox/src/index.html b/test/unit/coverage/lcov-report/packages/checkbox/src/index.html deleted file mode 100644 index 13b5cc3f2..000000000 --- a/test/unit/coverage/lcov-report/packages/checkbox/src/index.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - Code coverage report for packages/checkbox/src/ - - - - - - - -
-
-

- all files packages/checkbox/src/ -

-
-
- 29.63% - Statements - 8/27 -
-
- 14.29% - Branches - 4/28 -
-
- 14.29% - Functions - 1/7 -
-
- 13.64% - Lines - 3/22 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
checkbox-group.vue
66.67%2/3100%0/00%0/150%1/2
checkbox.vue
25%6/2414.29%4/2816.67%1/610%2/20
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/dialog/index.html b/test/unit/coverage/lcov-report/packages/dialog/index.html deleted file mode 100644 index e761cfa09..000000000 --- a/test/unit/coverage/lcov-report/packages/dialog/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/dialog/ - - - - - - - -
-
-

- all files packages/dialog/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/dialog/index.js.html b/test/unit/coverage/lcov-report/packages/dialog/index.js.html deleted file mode 100644 index cd5301790..000000000 --- a/test/unit/coverage/lcov-report/packages/dialog/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/dialog/index.js - - - - - - - -
-
-

- all files / packages/dialog/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Dialog from './src/dialog.js';
- 
-export default Dialog;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/dialog/src/dialog.js.html b/test/unit/coverage/lcov-report/packages/dialog/src/dialog.js.html deleted file mode 100644 index 05fcdf50f..000000000 --- a/test/unit/coverage/lcov-report/packages/dialog/src/dialog.js.html +++ /dev/null @@ -1,362 +0,0 @@ - - - - Code coverage report for packages/dialog/src/dialog.js - - - - - - - -
-
-

- all files / packages/dialog/src/ dialog.js -

-
-
- 42.59% - Statements - 23/54 -
-
- 15.38% - Branches - 4/26 -
-
- 10% - Functions - 1/10 -
-
- 32.61% - Lines - 15/46 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 - - -  - -  - - - -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  - -  -  -  -  -  -  -  - -  -  -  -  -  -  -  - 
import Vue from 'vue';
-import Dialog from './dialog.vue';
-import merge from 'src/utils/merge';
- 
-const DialogConstructor = Vue.extend(Dialog);
- 
-let currentDialog;
-let instance;
-let dialogQueue = [];
- 
-const defaultCallback = action => {
-  if (currentDialog) {
-    let callback = currentDialog.callback;
- 
-    if (typeof callback === 'function') {
-      callback(action);
-    }
- 
-    if (currentDialog.resolve && action === 'confirm') {
-      currentDialog.resolve(action);
-    } else if (currentDialog.reject && action === 'cancel') {
-      currentDialog.reject(action);
-    }
-  }
-};
- 
-const initInstance = () => {
-  instance = new DialogConstructor({
-    el: document.createElement('div')
-  });
- 
-  instance.callback = defaultCallback;
-};
- 
-const showNextDialog = () => {
-  if (!instance) {
-    initInstance();
-  }
- 
-  if (!instance.value && dialogQueue.length > 0) {
-    currentDialog = dialogQueue.shift();
- 
-    let options = currentDialog.options;
- 
-    for (let prop in options) {
-      if (options.hasOwnProperty(prop)) {
-        instance[prop] = options[prop];
-      }
-    }
- 
-    if (options.callback === undefined) {
-      instance.callback = defaultCallback;
-    }
- 
-    document.body.appendChild(instance.$el);
- 
-    Vue.nextTick(() => {
-      instance.value = true;
-    });
-  }
-};
- 
-var DialogBox = options => {
-  return new Promise((resolve, reject) => { // eslint-disable-line
-    dialogQueue.push({
-      options: merge({}, options),
-      callback: options.callback,
-      resolve: resolve,
-      reject: reject
-    });
- 
-    showNextDialog();
-  });
-};
- 
-DialogBox.alert = function(options) {
-  return DialogBox(merge({
-    type: 'alert',
-    closeOnClickOverlay: false,
-    showCancelButton: false
-  }, options));
-};
- 
-DialogBox.confirm = function(options) {
-  return DialogBox(merge({
-    type: 'confirm',
-    closeOnClickOverlay: true,
-    showCancelButton: true
-  }, options));
-};
- 
-DialogBox.close = function() {
-  instance.value = false;
-  dialogQueue = [];
-  currentDialog = null;
-};
- 
-export default DialogBox;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/dialog/src/dialog.vue.html b/test/unit/coverage/lcov-report/packages/dialog/src/dialog.vue.html deleted file mode 100644 index a651aa723..000000000 --- a/test/unit/coverage/lcov-report/packages/dialog/src/dialog.vue.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - Code coverage report for packages/dialog/src/dialog.vue - - - - - - - -
-
-

- all files / packages/dialog/src/ dialog.vue -

-
-
- 32% - Statements - 8/25 -
-
- 28.57% - Branches - 4/14 -
-
- 20% - Functions - 1/5 -
-
- 15.79% - Lines - 3/19 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-import Popup from 'src/mixins/popup';
- 
-const CANCEL_TEXT = '取消';
-const CONFIRM_TEXT = '确认';
- 
-export default {
-  name: 'zan-dialog',
- 
-  mixins: [Popup],
- 
-  props: {
-    overlay: {
-      default: true
-    },
-    closeOnClickOverlay: {
-      default: true
-    },
-    lockOnScroll: {
-      default: true
-    }
-  },
- 
-  data() {
-    return {
-      title: '',
-      message: '',
-      type: '',
-      showConfirmButton: true,
-      showCancelButton: false,
-      confirmButtonText: CONFIRM_TEXT,
-      cancelButtonText: CANCEL_TEXT,
-      callback: null
-    };
-  },
- 
-  methods: {
-    handleAction(action) {
-      this.value = false;
-      this.callback && this.callback(action);
-    },
- 
-    close() {
-      if (this.closing) return;
- 
-      this.closing = true;
- 
-      this.value = false;
- 
-      if (this.lockOnScroll) {
-        setTimeout(() => {
-          if (this.modal && this.bodyOverflow !== 'hidden') {
-            document.body.style.overflow = this.bodyOverflow;
-            document.body.style.paddingRight = this.bodyPaddingRight;
-          }
-          this.bodyOverflow = null;
-          this.bodyPaddingRight = null;
-        }, 200);
-      }
- 
-      this.opened = false;
-      this.doAfterClose();
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/dialog/src/index.html b/test/unit/coverage/lcov-report/packages/dialog/src/index.html deleted file mode 100644 index 88c758237..000000000 --- a/test/unit/coverage/lcov-report/packages/dialog/src/index.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - Code coverage report for packages/dialog/src/ - - - - - - - -
-
-

- all files packages/dialog/src/ -

-
-
- 39.24% - Statements - 31/79 -
-
- 20% - Branches - 8/40 -
-
- 13.33% - Functions - 2/15 -
-
- 27.69% - Lines - 18/65 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
dialog.js
42.59%23/5415.38%4/2610%1/1032.61%15/46
dialog.vue
32%8/2528.57%4/1420%1/515.79%3/19
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/field/index.html b/test/unit/coverage/lcov-report/packages/field/index.html deleted file mode 100644 index b68a46141..000000000 --- a/test/unit/coverage/lcov-report/packages/field/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/field/ - - - - - - - -
-
-

- all files packages/field/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/field/index.js.html b/test/unit/coverage/lcov-report/packages/field/index.js.html deleted file mode 100644 index e22067ecf..000000000 --- a/test/unit/coverage/lcov-report/packages/field/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/field/index.js - - - - - - - -
-
-

- all files / packages/field/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Field from './src/field';
- 
-export default Field;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/field/src/field.vue.html b/test/unit/coverage/lcov-report/packages/field/src/field.vue.html deleted file mode 100644 index 8d8018e59..000000000 --- a/test/unit/coverage/lcov-report/packages/field/src/field.vue.html +++ /dev/null @@ -1,306 +0,0 @@ - - - - Code coverage report for packages/field/src/field.vue - - - - - - - -
-
-

- all files / packages/field/src/ field.vue -

-
-
- 54.55% - Statements - 6/11 -
-
- 100% - Branches - 4/4 -
-
- 20% - Functions - 1/5 -
-
- 28.57% - Lines - 2/7 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-import zCell from 'packages/cell';
- 
-export default {
-  name: 'zan-field',
- 
-  components: {
-    zCell
-  },
- 
-  props: {
-    type: {
-      type: String,
-      default: 'text'
-    },
-    placeholder: String,
-    value: String,
-    label: String,
-    disabled: Boolean,
-    readonly: Boolean,
-    maxlength: [String, Number]
-  },
- 
-  data() {
-    return {
-      currentValue: this.value
-    };
-  },
- 
-  watch: {
-    value(val) {
-      this.currentValue = val;
-    },
- 
-    currentValue(val) {
-      this.$emit('input', val);
-      console.log(val);
-    }
-  },
- 
-  methods: {
-    handleInput(event) {
-      this.currentValue = event.target.value;
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/field/src/index.html b/test/unit/coverage/lcov-report/packages/field/src/index.html deleted file mode 100644 index 7fbe868c5..000000000 --- a/test/unit/coverage/lcov-report/packages/field/src/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/field/src/ - - - - - - - -
-
-

- all files packages/field/src/ -

-
-
- 54.55% - Statements - 6/11 -
-
- 100% - Branches - 4/4 -
-
- 20% - Functions - 1/5 -
-
- 28.57% - Lines - 2/7 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
field.vue
54.55%6/11100%4/420%1/528.57%2/7
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/icon/index.html b/test/unit/coverage/lcov-report/packages/icon/index.html deleted file mode 100644 index 0055d9d70..000000000 --- a/test/unit/coverage/lcov-report/packages/icon/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/icon/ - - - - - - - -
-
-

- all files packages/icon/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/icon/index.js.html b/test/unit/coverage/lcov-report/packages/icon/index.js.html deleted file mode 100644 index 92adb0fd6..000000000 --- a/test/unit/coverage/lcov-report/packages/icon/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/icon/index.js - - - - - - - -
-
-

- all files / packages/icon/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Icon from './src/icon';
- 
-export default Icon;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/icon/src/icon.vue.html b/test/unit/coverage/lcov-report/packages/icon/src/icon.vue.html deleted file mode 100644 index 7c3d75de6..000000000 --- a/test/unit/coverage/lcov-report/packages/icon/src/icon.vue.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - Code coverage report for packages/icon/src/icon.vue - - - - - - - -
-
-

- all files / packages/icon/src/ icon.vue -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
- 
-export default {
-  name: 'zan-icon',
- 
-  props: {
-    name: String
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/icon/src/index.html b/test/unit/coverage/lcov-report/packages/icon/src/index.html deleted file mode 100644 index bb439e11e..000000000 --- a/test/unit/coverage/lcov-report/packages/icon/src/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for packages/icon/src/ - - - - - - - -
-
-

- all files packages/icon/src/ -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
icon.vue
100%2/2100%0/0100%0/0100%1/1
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/loading/index.html b/test/unit/coverage/lcov-report/packages/loading/index.html deleted file mode 100644 index 1adb2d97c..000000000 --- a/test/unit/coverage/lcov-report/packages/loading/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/loading/ - - - - - - - -
-
-

- all files packages/loading/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/loading/index.js.html b/test/unit/coverage/lcov-report/packages/loading/index.js.html deleted file mode 100644 index 8f350be67..000000000 --- a/test/unit/coverage/lcov-report/packages/loading/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/loading/index.js - - - - - - - -
-
-

- all files / packages/loading/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Loading from './src/loading';
- 
-export default Loading;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/loading/src/index.html b/test/unit/coverage/lcov-report/packages/loading/src/index.html deleted file mode 100644 index bbc06cde7..000000000 --- a/test/unit/coverage/lcov-report/packages/loading/src/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for packages/loading/src/ - - - - - - - -
-
-

- all files packages/loading/src/ -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
loading.vue
100%2/2100%0/0100%0/0100%1/1
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/loading/src/loading.vue.html b/test/unit/coverage/lcov-report/packages/loading/src/loading.vue.html deleted file mode 100644 index 13c5feade..000000000 --- a/test/unit/coverage/lcov-report/packages/loading/src/loading.vue.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - Code coverage report for packages/loading/src/loading.vue - - - - - - - -
-
-

- all files / packages/loading/src/ loading.vue -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-loading'
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/panel/index.html b/test/unit/coverage/lcov-report/packages/panel/index.html deleted file mode 100644 index fa18df8d7..000000000 --- a/test/unit/coverage/lcov-report/packages/panel/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/panel/ - - - - - - - -
-
-

- all files packages/panel/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/panel/index.js.html b/test/unit/coverage/lcov-report/packages/panel/index.js.html deleted file mode 100644 index 8155203bb..000000000 --- a/test/unit/coverage/lcov-report/packages/panel/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/panel/index.js - - - - - - - -
-
-

- all files / packages/panel/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Panel from './src/panel';
- 
-export default Panel;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/panel/src/index.html b/test/unit/coverage/lcov-report/packages/panel/src/index.html deleted file mode 100644 index aa2b0c8bc..000000000 --- a/test/unit/coverage/lcov-report/packages/panel/src/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for packages/panel/src/ - - - - - - - -
-
-

- all files packages/panel/src/ -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
panel.vue
100%2/2100%0/0100%0/0100%1/1
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/panel/src/panel.vue.html b/test/unit/coverage/lcov-report/packages/panel/src/panel.vue.html deleted file mode 100644 index cf38b984c..000000000 --- a/test/unit/coverage/lcov-report/packages/panel/src/panel.vue.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - Code coverage report for packages/panel/src/panel.vue - - - - - - - -
-
-

- all files / packages/panel/src/ panel.vue -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-panel',
-  props: {
-    title: String,
-    desc: String,
-    status: String
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/picker/index.html b/test/unit/coverage/lcov-report/packages/picker/index.html deleted file mode 100644 index dedc11366..000000000 --- a/test/unit/coverage/lcov-report/packages/picker/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/picker/ - - - - - - - -
-
-

- all files packages/picker/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/picker/index.js.html b/test/unit/coverage/lcov-report/packages/picker/index.js.html deleted file mode 100644 index e79a15632..000000000 --- a/test/unit/coverage/lcov-report/packages/picker/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/picker/index.js - - - - - - - -
-
-

- all files / packages/picker/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Picker from './src/picker';
- 
-export default Picker;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/picker/src/draggable.js.html b/test/unit/coverage/lcov-report/packages/picker/src/draggable.js.html deleted file mode 100644 index 85929c8e8..000000000 --- a/test/unit/coverage/lcov-report/packages/picker/src/draggable.js.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - Code coverage report for packages/picker/src/draggable.js - - - - - - - -
-
-

- all files / packages/picker/src/ draggable.js -

-
-
- 21.05% - Statements - 8/38 -
-
- 17.65% - Branches - 6/34 -
-
- 14.29% - Functions - 1/7 -
-
- 12.9% - Lines - 4/31 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -  - -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import Vue from 'vue';
- 
-let isDragging = false;
- 
-const supportTouch = !Vue.prototype.$isServer && 'ontouchstart' in window;
- 
-export default function(element, options) {
-  const moveFn = function(event) {
-    if (options.drag) {
-      options.drag(supportTouch ? event.changedTouches[0] || event.touches[0] : event);
-    }
-  };
- 
-  const endFn = function(event) {
-    if (!supportTouch) {
-      document.removeEventListener('mousemove', moveFn);
-      document.removeEventListener('mouseup', endFn);
-    }
-    document.onselectstart = null;
-    document.ondragstart = null;
- 
-    isDragging = false;
- 
-    if (options.end) {
-      options.end(supportTouch ? event.changedTouches[0] || event.touches[0] : event);
-    }
-  };
- 
-  element.addEventListener(supportTouch ? 'touchstart' : 'mousedown', function(event) {
-    if (isDragging) return;
-    document.onselectstart = function() { return false; };
-    document.ondragstart = function() { return false; };
- 
-    if (!supportTouch) {
-      document.addEventListener('mousemove', moveFn);
-      document.addEventListener('mouseup', endFn);
-    }
-    isDragging = true;
- 
-    if (options.start) {
-      event.preventDefault();
-      options.start(supportTouch ? event.changedTouches[0] || event.touches[0] : event);
-    }
-  });
- 
-  if (supportTouch) {
-    element.addEventListener('touchmove', moveFn);
-    element.addEventListener('touchend', endFn);
-    element.addEventListener('touchcancel', endFn);
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/picker/src/index.html b/test/unit/coverage/lcov-report/packages/picker/src/index.html deleted file mode 100644 index e9999e6ac..000000000 --- a/test/unit/coverage/lcov-report/packages/picker/src/index.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - Code coverage report for packages/picker/src/ - - - - - - - -
-
-

- all files packages/picker/src/ -

-
-
- 16.67% - Statements - 24/144 -
-
- 20% - Branches - 14/70 -
-
- 7.5% - Functions - 3/40 -
-
- 7.94% - Lines - 10/126 -
-
- 3 branches - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
draggable.js
21.05%8/3817.65%6/3414.29%1/712.9%4/31
picker-column.vue
12%9/7522.22%4/185.26%1/195.71%4/70
picker.vue
22.58%7/3122.22%4/187.14%1/148%2/25
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/picker/src/picker-column.vue.html b/test/unit/coverage/lcov-report/packages/picker/src/picker-column.vue.html deleted file mode 100644 index c31be9388..000000000 --- a/test/unit/coverage/lcov-report/packages/picker/src/picker-column.vue.html +++ /dev/null @@ -1,792 +0,0 @@ - - - - Code coverage report for packages/picker/src/picker-column.vue - - - - - - - -
-
-

- all files / packages/picker/src/ picker-column.vue -

-
-
- 12% - Statements - 9/75 -
-
- 22.22% - Branches - 4/18 -
-
- 5.26% - Functions - 1/19 -
-
- 5.71% - Lines - 4/70 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 -160 -161 -162 -163 -164 -165 -166 -167 -168 -169 -170 -171 -172 -173 -174 -175 -176 -177 -178 -179 -180 -181 -182 -183 -184 -185 -186 -187 -188 -189 -190 -191 -192 -193 -194 -195 -196 -197 -198 -199 -200 -201 -202 -203 -204 -205 -206 -207 -208 -209 -210 -211 -212 -213 -214 -215 -216 -217 -218 -219 -220 -221 -222 -223 -224 -225 -226 -227 -228 -229 -230 -231 -232 -233 -234 -235 -236 -237 -238 -239 -240 -241 -242  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - - -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-import translateUtil from 'src/utils/transition';
-import draggable from './draggable';
- 
-const DEFAULT_ITEM_HEIGHT = 44;
- 
-export default {
-  name: 'zan-picker-column',
- 
-  props: {
-    /**
-     * 每一列可见备选元素的个数
-     */
-    visibileColumnCount: {
-      type: Number,
-      default: 5
-    },
-    /**
-     * 该列所有的可选值
-     */
-    values: {
-      type: Array,
-      default() {
-        return [];
-      }
-    },
-    /**
-     * 每列添加额外的`className`
-     */
-    className: {
-      type: String,
-      default: ''
-    },
-    /**
-     * 行高
-     */
-    itemHeight: {
-      type: Number,
-      default: DEFAULT_ITEM_HEIGHT
-    },
-    value: {}
-  },
- 
-  data() {
-    return {
-      currentValue: this.value,
-      currentValues: this.values,
-      isDragging: false
-    };
-  },
- 
-  watch: {
-    values(val) {
-      this.currentValues = val;
-    },
- 
-    currentValues(val) {
-      if (this.valueIndex === -1) {
-        this.currentValue = (val || [])[0];
-      }
-    },
- 
-    currentValue(val) {
-      this.doOnValueChange();
- 
-      this.$emit('change', this);
-    }
-  },
- 
-  computed: {
-    /**
-     * picker可见备选元素总高度
-     */
-    visibleContentHeight() {
-      return this.itemHeight * this.visibileColumnCount;
-    },
- 
-    /**
-     * 当前选中值在`values`中的索引
-     */
-    valueIndex() {
-      return this.currentValues.indexOf(this.currentValue);
-    },
- 
-    /**
-     * 计算picker的拖动范围
-     */
-    dragRange() {
-      var values = this.currentValues;
-      var visibileColumnCount = this.visibileColumnCount;
-      var itemHeight = this.itemHeight;
- 
-      return [ -itemHeight * (values.length - Math.ceil(visibileColumnCount / 2)), itemHeight * Math.floor(visibileColumnCount / 2) ];
-    },
- 
-    /**
-     * 计算`classNames`
-     */
-    classNames() {
-      return this.className.split(' ');
-    }
-  },
- 
-  mounted() {
-    this.initEvents();
-    this.doOnValueChange();
-  },
- 
-  methods: {
-    /**
-     * 将当前`value`值转换成需要垂直方向需要`translate`的值
-     */
-    value2Translate(value) {
-      let values = this.currentValues;
-      let valueIndex = values.indexOf(value);
-      let offset = Math.floor(this.visibileColumnCount / 2);
-      let itemHeight = this.itemHeight;
- 
-      if (valueIndex !== -1) {
-        return (valueIndex - offset) * (-itemHeight);
-      }
-    },
- 
-    /**
-     * 根据当前`translate`的值转换成当前选中的`value`
-     */
-    translate2Value(translate) {
-      let itemHeight = this.itemHeight;
-      translate = Math.round(translate / itemHeight) * itemHeight;
- 
-      let index = -(translate - Math.floor(this.visibileColumnCount / 2) * itemHeight) / itemHeight;
- 
-      return this.currentValues[index];
-    },
- 
-    /**
-     * 初始化拖动事件
-     */
-    initEvents() {
-      var el = this.$refs.wrapper;
-      var dragState = {};
- 
-      var velocityTranslate;
-      var prevTranslate;
-      var pickerItems; // eslint-disable-line
- 
-      draggable(el, {
-        start: (event) => {
-          // 存储当前状态
-          dragState = {
-            range: this.dragRange,
-            start: new Date(),
-            startLeft: event.pageX,
-            startTop: event.pageY,
-            startTranslateTop: translateUtil.getElementTranslate(el).top
-          };
-          pickerItems = el.querySelectorAll('.zan-picker-item'); // eslint-disable-line
-        },
- 
-        drag: (event) => {
-          this.isDragging = true;
- 
-          dragState.left = event.pageX;
-          dragState.top = event.pageY;
- 
-          let deltaY = dragState.top - dragState.startTop;
-          let translate = dragState.startTranslateTop + deltaY;
- 
-          translateUtil.translateElement(el, null, translate);
- 
-          velocityTranslate = translate - prevTranslate || translate;
- 
-          prevTranslate = translate;
-        },
- 
-        end: () => {
-          if (this.isDragging) {
-            this.isDragging = false;
- 
-            var momentumRatio = 7;
-            var currentTranslate = translateUtil.getElementTranslate(el).top;
-            var duration = new Date() - dragState.start;
- 
-            var momentumTranslate;
-            if (duration < 300) {
-              momentumTranslate = currentTranslate + velocityTranslate * momentumRatio;
-            }
- 
-            var dragRange = dragState.range;
- 
-            this.$nextTick(() => {
-              var translate;
-              var itemHeight = this.itemHeight;
- 
-              if (momentumTranslate) {
-                translate = Math.round(momentumTranslate / itemHeight) * itemHeight;
-              } else {
-                translate = Math.round(currentTranslate / itemHeight) * itemHeight;
-              }
- 
-              translate = Math.max(Math.min(translate, dragRange[1]), dragRange[0]);
- 
-              translateUtil.translateElement(el, null, translate);
- 
-              this.currentValue = this.translate2Value(translate);
-            });
-          }
- 
-          dragState = {};
-        }
-      });
-    },
- 
-    /**
-     * `value`改变时调用
-     */
-    doOnValueChange() {
-      let value = this.currentValue;
-      let wrapper = this.$refs.wrapper;
- 
-      this.$emit('input', this.currentValue);
- 
-      translateUtil.translateElement(wrapper, null, this.value2Translate(value));
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/picker/src/picker.vue.html b/test/unit/coverage/lcov-report/packages/picker/src/picker.vue.html deleted file mode 100644 index e459b2a4d..000000000 --- a/test/unit/coverage/lcov-report/packages/picker/src/picker.vue.html +++ /dev/null @@ -1,516 +0,0 @@ - - - - Code coverage report for packages/picker/src/picker.vue - - - - - - - -
-
-

- all files / packages/picker/src/ picker.vue -

-
-
- 22.58% - Statements - 7/31 -
-
- 22.22% - Branches - 4/18 -
-
- 7.14% - Functions - 1/14 -
-
- 8% - Lines - 2/25 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-import PickerColumn from './picker-column';
- 
-const DEFAULT_ITEM_HEIGHT = 44;
- 
-export default {
-  name: 'zan-picker',
- 
-  components: {
-    PickerColumn
-  },
- 
-  props: {
-    /**
-     * 每一列可见备选元素的个数
-     */
-    visibileColumnCount: {
-      type: Number,
-      default: 5
-    },
-    /**
-     * 选中元素区高度
-     */
-    itemHeight: {
-      type: Number,
-      default: DEFAULT_ITEM_HEIGHT
-    },
-    /**
-     * 对象数组,配置每一列显示的数据
-     */
-    columns: {
-      type: Array,
-      default() {
-        return [];
-      }
-    },
-    /**
-     * 否在组件顶部显示一个toolbar
-     */
-    showToolbar: {
-      type: Boolean,
-      default: true
-    }
-  },
- 
-  computed: {
-    values() {
-      let columns = this.columns || [];
-      let values = [];
- 
-      columns.forEach(column => {
-        values.push(column.value || column.values[column.defaultIndex || 0]);
-      });
- 
-      return values;
-    }
-  },
- 
-  methods: {
-    /**
-     * 处理列`change`事件
-     */
-    columnValueChange() {
-      this.$emit('change', this, this.values);
-    },
- 
-    /**
-     * 获取对应索引的列的实例
-     */
-    getColumn(index) {
-      let children = this.$children.filter(child => child.$options.name === 'zan-picker-column');
-      return children[index];
-    },
- 
-    /**
-     * 获取对应列中选中的值
-     */
-    getColumnValue(index) {
-      let column = this.getColumn(index);
-      return column && column.values[column.valueIndex];
-    },
- 
-    /**
-     * 设置对应列中选中的值
-     */
-    setColumnValue(index, value) {
-      let column = this.getColumn(index);
-      if (column) {
-        column.currentValue = value;
-      }
-    },
- 
-    /**
-     * 获取对应列中所有的备选值
-     */
-    getColumnValues(index) {
-      let column = this.getColumn(index);
-      return column && column.currentValues;
-    },
- 
-    /**
-     * 设置对应列中所有的备选值
-     */
-    setColumnValues(index, values) {
-      let column = this.getColumn(index);
-      if (column) {
-        column.currentValues = values;
-      }
-    },
- 
-    /**
-     * 获取所有列中被选中的值,返回一个数组
-     */
-    getValues() {
-      return this.values;
-    },
- 
-    /**
-     * `values`为一个数组,设置所有列中被选中的值
-     */
-    setValues(values) {
-      values.forEach((value, index) => {
-        this.setColumnValue(index, value);
-      });
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/popup/index.html b/test/unit/coverage/lcov-report/packages/popup/index.html deleted file mode 100644 index e9bbd81ec..000000000 --- a/test/unit/coverage/lcov-report/packages/popup/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/popup/ - - - - - - - -
-
-

- all files packages/popup/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/popup/index.js.html b/test/unit/coverage/lcov-report/packages/popup/index.js.html deleted file mode 100644 index 80eb3874e..000000000 --- a/test/unit/coverage/lcov-report/packages/popup/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/popup/index.js - - - - - - - -
-
-

- all files / packages/popup/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Popup from './src/popup';
- 
-export default Popup;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/popup/src/index.html b/test/unit/coverage/lcov-report/packages/popup/src/index.html deleted file mode 100644 index 9d6b75eab..000000000 --- a/test/unit/coverage/lcov-report/packages/popup/src/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/popup/src/ - - - - - - - -
-
-

- all files packages/popup/src/ -

-
-
- 42.86% - Statements - 6/14 -
-
- 50% - Branches - 4/8 -
-
- 16.67% - Functions - 1/6 -
-
- 20% - Lines - 2/10 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
popup.vue
42.86%6/1450%4/816.67%1/620%2/10
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/popup/src/popup.vue.html b/test/unit/coverage/lcov-report/packages/popup/src/popup.vue.html deleted file mode 100644 index 5072652e2..000000000 --- a/test/unit/coverage/lcov-report/packages/popup/src/popup.vue.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - Code coverage report for packages/popup/src/popup.vue - - - - - - - -
-
-

- all files / packages/popup/src/ popup.vue -

-
-
- 42.86% - Statements - 6/14 -
-
- 50% - Branches - 4/8 -
-
- 16.67% - Functions - 1/6 -
-
- 20% - Lines - 2/10 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
- 
-import Popup from 'src/mixins/popup';
- 
-export default {
-  name: 'zan-popup',
- 
-  mixins: [Popup],
- 
-  props: {
-    overlay: {
-      default: true
-    },
- 
-    lockOnScroll: {
-      default: false
-    },
- 
-    closeOnClickOverlay: {
-      default: true
-    },
- 
-    transition: {
-      type: String,
-      default: 'popup-slide'
-    },
- 
-    position: {
-      type: String,
-      default: ''
-    }
-  },
- 
-  data() {
-    return {
-      currentValue: false,
-      currentTransition: this.transition
-    };
-  },
- 
-  watch: {
-    currentValue(val) {
-      this.$emit('input', val);
-    },
- 
-    value(val) {
-      this.currentValue = val;
-    }
-  },
- 
-  beforeMount() {
-    if (this.transition !== 'popup-fade') {
-      this.currentTransition = `popup-slide-${this.position}`;
-    }
-  },
- 
-  mounted() {
-    if (this.value) {
-      this.currentValue = true;
-      this.open();
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/radio-group/index.html b/test/unit/coverage/lcov-report/packages/radio-group/index.html deleted file mode 100644 index 2bddf9253..000000000 --- a/test/unit/coverage/lcov-report/packages/radio-group/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/radio-group/ - - - - - - - -
-
-

- all files packages/radio-group/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/radio-group/index.js.html b/test/unit/coverage/lcov-report/packages/radio-group/index.js.html deleted file mode 100644 index 3d3f3d728..000000000 --- a/test/unit/coverage/lcov-report/packages/radio-group/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/radio-group/index.js - - - - - - - -
-
-

- all files / packages/radio-group/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import RadioGroup from 'packages/radio/src/radio-group';
- 
-export default RadioGroup;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/radio/index.html b/test/unit/coverage/lcov-report/packages/radio/index.html deleted file mode 100644 index 8910e05cb..000000000 --- a/test/unit/coverage/lcov-report/packages/radio/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/radio/ - - - - - - - -
-
-

- all files packages/radio/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/radio/index.js.html b/test/unit/coverage/lcov-report/packages/radio/index.js.html deleted file mode 100644 index 55126b0c0..000000000 --- a/test/unit/coverage/lcov-report/packages/radio/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/radio/index.js - - - - - - - -
-
-

- all files / packages/radio/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Radio from './src/radio';
- 
-export default Radio;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/radio/src/index.html b/test/unit/coverage/lcov-report/packages/radio/src/index.html deleted file mode 100644 index 4a0161c0d..000000000 --- a/test/unit/coverage/lcov-report/packages/radio/src/index.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - Code coverage report for packages/radio/src/ - - - - - - - -
-
-

- all files packages/radio/src/ -

-
-
- 53.33% - Statements - 8/15 -
-
- 22.22% - Branches - 4/18 -
-
- 16.67% - Functions - 1/6 -
-
- 30% - Lines - 3/10 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
radio-group.vue
66.67%2/3100%0/00%0/150%1/2
radio.vue
50%6/1222.22%4/1820%1/525%2/8
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/radio/src/radio-group.vue.html b/test/unit/coverage/lcov-report/packages/radio/src/radio-group.vue.html deleted file mode 100644 index 9cbd59967..000000000 --- a/test/unit/coverage/lcov-report/packages/radio/src/radio-group.vue.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - Code coverage report for packages/radio/src/radio-group.vue - - - - - - - -
-
-

- all files / packages/radio/src/ radio-group.vue -

-
-
- 66.67% - Statements - 2/3 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/1 -
-
- 50% - Lines - 1/2 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-radio-group',
- 
-  props: {
-    value: {},
-    disabled: Boolean
-  },
- 
-  watch: {
-    value(value) {
-      this.$emit('change', value);
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/radio/src/radio.vue.html b/test/unit/coverage/lcov-report/packages/radio/src/radio.vue.html deleted file mode 100644 index f3e027c2e..000000000 --- a/test/unit/coverage/lcov-report/packages/radio/src/radio.vue.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - Code coverage report for packages/radio/src/radio.vue - - - - - - - -
-
-

- all files / packages/radio/src/ radio.vue -

-
-
- 50% - Statements - 6/12 -
-
- 22.22% - Branches - 4/18 -
-
- 20% - Functions - 1/5 -
-
- 25% - Lines - 2/8 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-import findParent from 'src/mixins/findParent';
- 
-export default {
-  name: 'zan-radio',
- 
-  mixins: [findParent],
- 
-  props: {
-    disabled: Boolean,
-    value: {},
-    name: [String, Number]
-  },
- 
-  computed: {
-    isGroup() {
-      return !!this.findParentByComponentName('zan-radio-group');
-    },
- 
-    currentValue: {
-      get() {
-        return this.isGroup && this.parentGroup ? this.parentGroup.value : this.value;
-      },
- 
-      set(val) {
-        if (this.isGroup && this.parentGroup) {
-          this.parentGroup.$emit('input', val);
-        } else {
-          this.$emit('input', val);
-        }
-      }
-    },
- 
-    isDisabled() {
-      return this.isGroup && this.parentGroup
-          ? this.parentGroup.disabled || this.disabled
-          : this.disabled;
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/search/index.html b/test/unit/coverage/lcov-report/packages/search/index.html deleted file mode 100644 index a7b626b3e..000000000 --- a/test/unit/coverage/lcov-report/packages/search/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/search/ - - - - - - - -
-
-

- all files packages/search/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/search/index.js.html b/test/unit/coverage/lcov-report/packages/search/index.js.html deleted file mode 100644 index 1449e4075..000000000 --- a/test/unit/coverage/lcov-report/packages/search/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/search/index.js - - - - - - - -
-
-

- all files / packages/search/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Search from './src/search';
- 
-export default Search;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/search/src/index.html b/test/unit/coverage/lcov-report/packages/search/src/index.html deleted file mode 100644 index b5d3a6a7c..000000000 --- a/test/unit/coverage/lcov-report/packages/search/src/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for packages/search/src/ - - - - - - - -
-
-

- all files packages/search/src/ -

-
-
- 16.67% - Statements - 2/12 -
-
- 0% - Branches - 0/2 -
-
- 0% - Functions - 0/6 -
-
- 10% - Lines - 1/10 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
search.vue
16.67%2/120%0/20%0/610%1/10
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/search/src/search.vue.html b/test/unit/coverage/lcov-report/packages/search/src/search.vue.html deleted file mode 100644 index a173bee10..000000000 --- a/test/unit/coverage/lcov-report/packages/search/src/search.vue.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - Code coverage report for packages/search/src/search.vue - - - - - - - -
-
-

- all files / packages/search/src/ search.vue -

-
-
- 16.67% - Statements - 2/12 -
-
- 0% - Branches - 0/2 -
-
- 0% - Functions - 0/6 -
-
- 10% - Lines - 1/10 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-search',
-  props: {
-    placeholder: {
-      type: String
-    }
-  },
-  data() {
-    return {
-      value: '',
-      focusStatus: false,
-      isFocus: false
-    };
-  },
-  directives: {
-    refocus: {
-      update: function(el, state) {
-        if (state.value) { el.focus(); }
-      }
-    }
-  },
-  methods: {
-    handleFocus() {
-      // 进入input焦点,出现close和取消
-      this.isFocus = true;
-    },
-    handleClean() {
-      // 点击close后清空vlaue后,再聚焦input框
-      this.value = '';
-      this.focusStatus = true;
-    },
-    handleBack() {
-      // 点击取消后,清空所有回复最初状态
-      this.value = '';
-      this.focusStatus = false;
-      this.isFocus = false;
-    },
-    handleSearch() {
-      // input输入回车后,发送回调
-      this.$emit('search', this.value);
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/steps/index.html b/test/unit/coverage/lcov-report/packages/steps/index.html deleted file mode 100644 index f9fa3ebfe..000000000 --- a/test/unit/coverage/lcov-report/packages/steps/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/steps/ - - - - - - - -
-
-

- all files packages/steps/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/steps/index.js.html b/test/unit/coverage/lcov-report/packages/steps/index.js.html deleted file mode 100644 index fb25e9177..000000000 --- a/test/unit/coverage/lcov-report/packages/steps/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/steps/index.js - - - - - - - -
-
-

- all files / packages/steps/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Steps from './src/steps';
- 
-export default Steps;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/steps/src/index.html b/test/unit/coverage/lcov-report/packages/steps/src/index.html deleted file mode 100644 index c54791d8d..000000000 --- a/test/unit/coverage/lcov-report/packages/steps/src/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for packages/steps/src/ - - - - - - - -
-
-

- all files packages/steps/src/ -

-
-
- 66.67% - Statements - 2/3 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/1 -
-
- 50% - Lines - 1/2 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
steps.vue
66.67%2/3100%0/00%0/150%1/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/steps/src/steps.vue.html b/test/unit/coverage/lcov-report/packages/steps/src/steps.vue.html deleted file mode 100644 index bc655f702..000000000 --- a/test/unit/coverage/lcov-report/packages/steps/src/steps.vue.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - Code coverage report for packages/steps/src/steps.vue - - - - - - - -
-
-

- all files / packages/steps/src/ steps.vue -

-
-
- 66.67% - Statements - 2/3 -
-
- 100% - Branches - 0/0 -
-
- 0% - Functions - 0/1 -
-
- 50% - Lines - 1/2 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'Sample',
-  props: ['author'],
-  data() {
-    return {
-      name: 'World'
-    };
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/switch/index.html b/test/unit/coverage/lcov-report/packages/switch/index.html deleted file mode 100644 index 4075ed6f9..000000000 --- a/test/unit/coverage/lcov-report/packages/switch/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/switch/ - - - - - - - -
-
-

- all files packages/switch/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/switch/index.js.html b/test/unit/coverage/lcov-report/packages/switch/index.js.html deleted file mode 100644 index f613686c9..000000000 --- a/test/unit/coverage/lcov-report/packages/switch/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/switch/index.js - - - - - - - -
-
-

- all files / packages/switch/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Switch from './src/switch';
- 
-export default Switch;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/switch/src/index.html b/test/unit/coverage/lcov-report/packages/switch/src/index.html deleted file mode 100644 index b457469a5..000000000 --- a/test/unit/coverage/lcov-report/packages/switch/src/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for packages/switch/src/ - - - - - - - -
-
-

- all files packages/switch/src/ -

-
-
- 18.18% - Statements - 2/11 -
-
- 0% - Branches - 0/10 -
-
- 0% - Functions - 0/3 -
-
- 14.29% - Lines - 1/7 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
switch.vue
18.18%2/110%0/100%0/314.29%1/7
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/switch/src/switch.vue.html b/test/unit/coverage/lcov-report/packages/switch/src/switch.vue.html deleted file mode 100644 index b072ea9a8..000000000 --- a/test/unit/coverage/lcov-report/packages/switch/src/switch.vue.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - Code coverage report for packages/switch/src/switch.vue - - - - - - - -
-
-

- all files / packages/switch/src/ switch.vue -

-
-
- 18.18% - Statements - 2/11 -
-
- 0% - Branches - 0/10 -
-
- 0% - Functions - 0/3 -
-
- 14.29% - Lines - 1/7 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
-//
-//
- 
-/**
- * zan-switch
- * @module components/switch
- * @desc 开关
- * @param {boolean} [checked=false] - 开关状态
- * @param {boolean} [disabled=false] - 禁用
- * @param {boolean} [loading=false] - loading状态
- * @param {callback} [onChange] - 开关状态改变回调函数。
- *
- * @example
- * <zan-switch checked="true" disabled="false"></zan-switch>
- */
-export default {
-  name: 'zan-switch',
-  props: {
-    checked: {
-      type: Boolean,
-      default: false
-    },
-    disabled: {
-      type: Boolean,
-      default: false
-    },
-    loading: {
-      type: Boolean,
-      default: false
-    },
-    onChange: {
-      type: Function,
-      default: function() {}
-    }
-  },
-  computed: {
-    switchState: function() {
-      let switchState = this.checked ? ['is-on'] : ['is-off'];
- 
-      if (this.disabled) switchState.push('is-disabled');
-      if (this.loading) switchState.push('is-loading');
- 
-      return switchState;
-    }
-  },
-  methods: {
-    /*
-     * 开关状态交互。
-     */
-    toggleState: function() {
-      if (this.disabled || this.loading) return;
-      this.onChange(!this.checked);
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/tag/index.html b/test/unit/coverage/lcov-report/packages/tag/index.html deleted file mode 100644 index 713b3ae96..000000000 --- a/test/unit/coverage/lcov-report/packages/tag/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/tag/ - - - - - - - -
-
-

- all files packages/tag/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/tag/index.js.html b/test/unit/coverage/lcov-report/packages/tag/index.js.html deleted file mode 100644 index 7926a4bbf..000000000 --- a/test/unit/coverage/lcov-report/packages/tag/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/tag/index.js - - - - - - - -
-
-

- all files / packages/tag/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Tag from './src/main';
- 
-export default Tag;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/tag/src/index.html b/test/unit/coverage/lcov-report/packages/tag/src/index.html deleted file mode 100644 index 192a70655..000000000 --- a/test/unit/coverage/lcov-report/packages/tag/src/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for packages/tag/src/ - - - - - - - -
-
-

- all files packages/tag/src/ -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
main.vue
100%2/2100%0/0100%0/0100%1/1
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/tag/src/main.vue.html b/test/unit/coverage/lcov-report/packages/tag/src/main.vue.html deleted file mode 100644 index 51ee48337..000000000 --- a/test/unit/coverage/lcov-report/packages/tag/src/main.vue.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - Code coverage report for packages/tag/src/main.vue - - - - - - - -
-
-

- all files / packages/tag/src/ main.vue -

-
-
- 100% - Statements - 2/2 -
-
- 100% - Branches - 0/0 -
-
- 100% - Functions - 0/0 -
-
- 100% - Lines - 1/1 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
//
-//
-//
-//
-//
-//
- 
-export default {
-  name: 'zan-tag',
-  props: {
-    type: String,
-    mark: Boolean,
-    plain: Boolean
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/waterfall/index.html b/test/unit/coverage/lcov-report/packages/waterfall/index.html deleted file mode 100644 index 995e12f5c..000000000 --- a/test/unit/coverage/lcov-report/packages/waterfall/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for packages/waterfall/ - - - - - - - -
-
-

- all files packages/waterfall/ -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
100%6/6100%4/4100%1/1100%2/2
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/waterfall/index.js.html b/test/unit/coverage/lcov-report/packages/waterfall/index.js.html deleted file mode 100644 index 93aaf1946..000000000 --- a/test/unit/coverage/lcov-report/packages/waterfall/index.js.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - Code coverage report for packages/waterfall/index.js - - - - - - - -
-
-

- all files / packages/waterfall/ index.js -

-
-
- 100% - Statements - 6/6 -
-
- 100% - Branches - 4/4 -
-
- 100% - Functions - 1/1 -
-
- 100% - Lines - 2/2 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -  -  -  - 
import Waterfall from './src/main.js';
- 
-export default Waterfall;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/waterfall/src/directive.js.html b/test/unit/coverage/lcov-report/packages/waterfall/src/directive.js.html deleted file mode 100644 index 9ab52916b..000000000 --- a/test/unit/coverage/lcov-report/packages/waterfall/src/directive.js.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - Code coverage report for packages/waterfall/src/directive.js - - - - - - - -
-
-

- all files / packages/waterfall/src/ directive.js -

-
-
- 20.37% - Statements - 11/54 -
-
- 15.38% - Branches - 4/26 -
-
- 22.22% - Functions - 2/9 -
-
- 14.58% - Lines - 7/48 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -  - - -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import Utils from './utils.js';
- 
-const CONTEXT = '@@Waterfall';
-const OFFSET = 300;
- 
-// 绑定事件到元素上
-// 读取基本的控制变量
-function doBindEvent() {
-  this.scrollEventListener = Utils.debounce(handleScrollEvent.bind(this), 200);
-  this.scrollEventTarget = Utils.getScrollEventTarget(this.el);
- 
-  var disabledExpr = this.el.getAttribute('waterfall-disabled');
-  var disabled = false;
-  if (disabledExpr) {
-    this.vm.$watch(disabledExpr, (value) => {
-      this.disabled = value;
-    });
-    disabled = Boolean(this.vm[disabledExpr]);
-  }
-  this.disabled = disabled;
- 
-  var offset = this.el.getAttribute('waterfall-offset');
-  this.offset = Number(offset) || OFFSET;
- 
-  this.scrollEventTarget.addEventListener('scroll', this.scrollEventListener);
- 
-  this.scrollEventListener();
-}
- 
-// 处理滚动函数
-function handleScrollEvent() {
-  let element = this.el;
-  let scrollEventTarget = this.scrollEventTarget;
- 
-  // 已被禁止的滚动处理
-  if (this.disabled) return;
- 
-  let targetScrollTop = Utils.getScrollTop(scrollEventTarget);
-  let targetBottom = targetScrollTop + Utils.getVisibleHeight(scrollEventTarget);
- 
-  // 判断是否到了底
-  let needLoadMoreToLower = false;
-  if (element === scrollEventTarget) {
-    needLoadMoreToLower = scrollEventTarget.scollHeight - targetBottom < this.offset;
-  } else {
-    let elementBottom = Utils.getElementTop(element) - Utils.getElementTop(scrollEventTarget) + Utils.getVisibleHeight(element);
-    needLoadMoreToLower = elementBottom - Utils.getVisibleHeight(scrollEventTarget) < this.offset;
-  }
-  if (needLoadMoreToLower) {
-    this.cb['lower'] && this.cb['lower']({ target: scrollEventTarget, top: targetScrollTop });
-  }
- 
-  // 判断是否到了顶
-  let needLoadMoreToUpper = false;
-  if (element === scrollEventTarget) {
-    needLoadMoreToUpper = targetScrollTop < this.offset;
-  } else {
-    let elementTop = Utils.getElementTop(element) - Utils.getElementTop(scrollEventTarget);
-    needLoadMoreToUpper = elementTop + this.offset > 0;
-  }
-  if (needLoadMoreToUpper) {
-    this.cb['upper'] && this.cb['upper']({ target: scrollEventTarget, top: targetScrollTop });
-  }
-}
- 
-export default function(type) {
-  return {
-    bind(el, binding, vnode) {
-      if (!el[CONTEXT]) {
-        el[CONTEXT] = {
-          el,
-          vm: vnode.context,
-          cb: {}
-        };
-      }
-      el[CONTEXT].cb[type] = binding.value;
- 
-      vnode.context.$on('hook:mounted', function() {
-        if (Utils.isAttached(el)) {
-          doBindEvent.call(el[CONTEXT]);
-        }
-      });
-    },
- 
-    update(el) {
-      el[CONTEXT].scrollEventListener();
-    },
- 
-    unbind(el) {
-      const context = el[CONTEXT];
-      context.scrollEventTarget.removeEventListener('scroll', context.scrollEventListener);
-    }
-  };
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/waterfall/src/index.html b/test/unit/coverage/lcov-report/packages/waterfall/src/index.html deleted file mode 100644 index ba936205e..000000000 --- a/test/unit/coverage/lcov-report/packages/waterfall/src/index.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - Code coverage report for packages/waterfall/src/ - - - - - - - -
-
-

- all files packages/waterfall/src/ -

-
-
- 25.47% - Statements - 27/106 -
-
- 16.67% - Branches - 9/54 -
-
- 21.05% - Functions - 4/19 -
-
- 18.09% - Lines - 17/94 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
directive.js
20.37%11/5415.38%4/2622.22%2/914.58%7/48
main.js
100%14/1483.33%5/6100%2/2100%9/9
utils.js
5.26%2/380%0/220%0/82.7%1/37
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/waterfall/src/main.js.html b/test/unit/coverage/lcov-report/packages/waterfall/src/main.js.html deleted file mode 100644 index 4a1a84843..000000000 --- a/test/unit/coverage/lcov-report/packages/waterfall/src/main.js.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - Code coverage report for packages/waterfall/src/main.js - - - - - - - -
-
-

- all files / packages/waterfall/src/ main.js -

-
-
- 100% - Statements - 14/14 -
-
- 83.33% - Branches - 5/6 -
-
- 100% - Functions - 2/2 -
-
- 100% - Lines - 9/9 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 - -  - - - -  -  - - -  -  - -  -  - 
import Waterfall from './directive.js';
-import Vue from 'vue';
- 
-const install = function(Vue) {
-  Vue.directive('WaterfallLower', Waterfall('lower'));
-  Vue.directive('WaterfallUpper', Waterfall('upper'));
-};
- 
-Eif (!Vue.prototype.$isServer) {
-  Vue.use(install);
-}
- 
-Waterfall.install = install;
-export default Waterfall;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/packages/waterfall/src/utils.js.html b/test/unit/coverage/lcov-report/packages/waterfall/src/utils.js.html deleted file mode 100644 index a55d5c597..000000000 --- a/test/unit/coverage/lcov-report/packages/waterfall/src/utils.js.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - Code coverage report for packages/waterfall/src/utils.js - - - - - - - -
-
-

- all files / packages/waterfall/src/ utils.js -

-
-
- 5.26% - Statements - 2/38 -
-
- 0% - Branches - 0/22 -
-
- 0% - Functions - 0/8 -
-
- 2.7% - Lines - 1/37 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
export default {
-  debounce(func, wait, immediate) {
-    var timeout, args, context, timestamp, result;
-    return function() {
-      context = this;
-      args = arguments;
-      timestamp = new Date();
-      var later = function() {
-        var last = (new Date()) - timestamp;
-        if (last < wait) {
-          timeout = setTimeout(later, wait - last);
-        } else {
-          timeout = null;
-          result = func.apply(context, args);
-        }
-      };
-      if (!timeout) {
-        timeout = setTimeout(later, wait);
-      }
-      return result;
-    };
-  },
- 
-  // 找到最近的触发滚动事件的元素
-  getScrollEventTarget(element) {
-    var currentNode = element;
-    // bugfix, see http://w3help.org/zh-cn/causes/SD9013 and http://stackoverflow.com/questions/17016740/onscroll-function-is-not-working-for-chrome
-    while (currentNode && currentNode.tagName !== 'HTML' && currentNode.tagName !== 'BODY' && currentNode.nodeType === 1) {
-      var overflowY = this.getComputedStyle(currentNode).overflowY;
-      if (overflowY === 'scroll' || overflowY === 'auto') {
-        return currentNode;
-      }
-      currentNode = currentNode.parentNode;
-    }
-    return window;
-  },
- 
-  // 判断元素是否被加入到页面节点内
-  isAttached(element) {
-    var currentNode = element.parentNode;
-    while (currentNode) {
-      if (currentNode.tagName === 'HTML') {
-        return true;
-      }
-      if (currentNode.nodeType === 11) {
-        return false;
-      }
-      currentNode = currentNode.parentNode;
-    }
-    return false;
-  },
- 
-  // 获取滚动高度
-  getScrollTop(element) {
-    return 'scrollTop' in element ? element.scrollTop : element.pageYOffset;
-  },
- 
-  // 获取元素距离顶部高度
-  getElementTop(element) {
-    if (element === window) {
-      return this.getScrollTop(window);
-    }
-    return element.getBoundingClientRect().top + this.getScrollTop(window);
-  },
- 
-  getVisibleHeight(element) {
-    if (element === window) {
-      return element.innerHeight;
-    }
- 
-    return element.getBoundingClientRect().height;
-  },
- 
-  getComputedStyle: document.defaultView.getComputedStyle.bind(document.defaultView)
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/prettify.css b/test/unit/coverage/lcov-report/prettify.css deleted file mode 100644 index b317a7cda..000000000 --- a/test/unit/coverage/lcov-report/prettify.css +++ /dev/null @@ -1 +0,0 @@ -.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} diff --git a/test/unit/coverage/lcov-report/prettify.js b/test/unit/coverage/lcov-report/prettify.js deleted file mode 100644 index ef51e0386..000000000 --- a/test/unit/coverage/lcov-report/prettify.js +++ /dev/null @@ -1 +0,0 @@ -window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"];var l=[p,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"];var x=[p,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"];var R=[x,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"];var r="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes";var w=[p,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"];var s="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END";var I=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"];var f=[h,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"];var H=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"];var A=[l,R,w,s+I,f,H];var e=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/;var C="str";var z="kwd";var j="com";var O="typ";var G="lit";var L="pun";var F="pln";var m="tag";var E="dec";var J="src";var P="atn";var n="atv";var N="nocode";var M="(?:^^\\.?|[+-]|\\!|\\!=|\\!==|\\#|\\%|\\%=|&|&&|&&=|&=|\\(|\\*|\\*=|\\+=|\\,|\\-=|\\->|\\/|\\/=|:|::|\\;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\@|\\[|\\^|\\^=|\\^\\^|\\^\\^=|\\{|\\||\\|=|\\|\\||\\|\\|=|\\~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function k(Z){var ad=0;var S=false;var ac=false;for(var V=0,U=Z.length;V122)){if(!(al<65||ag>90)){af.push([Math.max(65,ag)|32,Math.min(al,90)|32])}if(!(al<97||ag>122)){af.push([Math.max(97,ag)&~32,Math.min(al,122)&~32])}}}}af.sort(function(av,au){return(av[0]-au[0])||(au[1]-av[1])});var ai=[];var ap=[NaN,NaN];for(var ar=0;arat[0]){if(at[1]+1>at[0]){an.push("-")}an.push(T(at[1]))}}an.push("]");return an.join("")}function W(al){var aj=al.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g"));var ah=aj.length;var an=[];for(var ak=0,am=0;ak=2&&ai==="["){aj[ak]=X(ag)}else{if(ai!=="\\"){aj[ak]=ag.replace(/[a-zA-Z]/g,function(ao){var ap=ao.charCodeAt(0);return"["+String.fromCharCode(ap&~32,ap|32)+"]"})}}}}return aj.join("")}var aa=[];for(var V=0,U=Z.length;V=0;){S[ac.charAt(ae)]=Y}}var af=Y[1];var aa=""+af;if(!ag.hasOwnProperty(aa)){ah.push(af);ag[aa]=null}}ah.push(/[\0-\uffff]/);V=k(ah)})();var X=T.length;var W=function(ah){var Z=ah.sourceCode,Y=ah.basePos;var ad=[Y,F];var af=0;var an=Z.match(V)||[];var aj={};for(var ae=0,aq=an.length;ae=5&&"lang-"===ap.substring(0,5);if(am&&!(ai&&typeof ai[1]==="string")){am=false;ap=J}if(!am){aj[ag]=ap}}var ab=af;af+=ag.length;if(!am){ad.push(Y+ab,ap)}else{var al=ai[1];var ak=ag.indexOf(al);var ac=ak+al.length;if(ai[2]){ac=ag.length-ai[2].length;ak=ac-al.length}var ar=ap.substring(5);B(Y+ab,ag.substring(0,ak),W,ad);B(Y+ab+ak,al,q(ar,al),ad);B(Y+ab+ac,ag.substring(ac),W,ad)}}ah.decorations=ad};return W}function i(T){var W=[],S=[];if(T.tripleQuotedStrings){W.push([C,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""])}else{if(T.multiLineStrings){W.push([C,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"])}else{W.push([C,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"])}}if(T.verbatimStrings){S.push([C,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null])}var Y=T.hashComments;if(Y){if(T.cStyleComments){if(Y>1){W.push([j,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"])}else{W.push([j,/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"])}S.push([C,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,null])}else{W.push([j,/^#[^\r\n]*/,null,"#"])}}if(T.cStyleComments){S.push([j,/^\/\/[^\r\n]*/,null]);S.push([j,/^\/\*[\s\S]*?(?:\*\/|$)/,null])}if(T.regexLiterals){var X=("/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/");S.push(["lang-regex",new RegExp("^"+M+"("+X+")")])}var V=T.types;if(V){S.push([O,V])}var U=(""+T.keywords).replace(/^ | $/g,"");if(U.length){S.push([z,new RegExp("^(?:"+U.replace(/[\s,]+/g,"|")+")\\b"),null])}W.push([F,/^\s+/,null," \r\n\t\xA0"]);S.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[O,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[F,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[F,/^\\[\s\S]?/,null],[L,/^.[^\s\w\.$@\'\"\`\/\#\\]*/,null]);return g(W,S)}var K=i({keywords:A,hashComments:true,cStyleComments:true,multiLineStrings:true,regexLiterals:true});function Q(V,ag){var U=/(?:^|\s)nocode(?:\s|$)/;var ab=/\r\n?|\n/;var ac=V.ownerDocument;var S;if(V.currentStyle){S=V.currentStyle.whiteSpace}else{if(window.getComputedStyle){S=ac.defaultView.getComputedStyle(V,null).getPropertyValue("white-space")}}var Z=S&&"pre"===S.substring(0,3);var af=ac.createElement("LI");while(V.firstChild){af.appendChild(V.firstChild)}var W=[af];function ae(al){switch(al.nodeType){case 1:if(U.test(al.className)){break}if("BR"===al.nodeName){ad(al);if(al.parentNode){al.parentNode.removeChild(al)}}else{for(var an=al.firstChild;an;an=an.nextSibling){ae(an)}}break;case 3:case 4:if(Z){var am=al.nodeValue;var aj=am.match(ab);if(aj){var ai=am.substring(0,aj.index);al.nodeValue=ai;var ah=am.substring(aj.index+aj[0].length);if(ah){var ak=al.parentNode;ak.insertBefore(ac.createTextNode(ah),al.nextSibling)}ad(al);if(!ai){al.parentNode.removeChild(al)}}}break}}function ad(ak){while(!ak.nextSibling){ak=ak.parentNode;if(!ak){return}}function ai(al,ar){var aq=ar?al.cloneNode(false):al;var ao=al.parentNode;if(ao){var ap=ai(ao,1);var an=al.nextSibling;ap.appendChild(aq);for(var am=an;am;am=an){an=am.nextSibling;ap.appendChild(am)}}return aq}var ah=ai(ak.nextSibling,0);for(var aj;(aj=ah.parentNode)&&aj.nodeType===1;){ah=aj}W.push(ah)}for(var Y=0;Y=S){ah+=2}if(V>=ap){Z+=2}}}var t={};function c(U,V){for(var S=V.length;--S>=0;){var T=V[S];if(!t.hasOwnProperty(T)){t[T]=U}else{if(window.console){console.warn("cannot override language handler %s",T)}}}}function q(T,S){if(!(T&&t.hasOwnProperty(T))){T=/^\s*]*(?:>|$)/],[j,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[L,/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);c(g([[F,/^[\s]+/,null," \t\r\n"],[n,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[m,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[P,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[L,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]);c(g([],[[n,/^[\s\S]+/]]),["uq.val"]);c(i({keywords:l,hashComments:true,cStyleComments:true,types:e}),["c","cc","cpp","cxx","cyc","m"]);c(i({keywords:"null,true,false"}),["json"]);c(i({keywords:R,hashComments:true,cStyleComments:true,verbatimStrings:true,types:e}),["cs"]);c(i({keywords:x,cStyleComments:true}),["java"]);c(i({keywords:H,hashComments:true,multiLineStrings:true}),["bsh","csh","sh"]);c(i({keywords:I,hashComments:true,multiLineStrings:true,tripleQuotedStrings:true}),["cv","py"]);c(i({keywords:s,hashComments:true,multiLineStrings:true,regexLiterals:true}),["perl","pl","pm"]);c(i({keywords:f,hashComments:true,multiLineStrings:true,regexLiterals:true}),["rb"]);c(i({keywords:w,cStyleComments:true,regexLiterals:true}),["js"]);c(i({keywords:r,hashComments:3,cStyleComments:true,multilineStrings:true,tripleQuotedStrings:true,regexLiterals:true}),["coffee"]);c(g([],[[C,/^[\s\S]+/]]),["regex"]);function d(V){var U=V.langExtension;try{var S=a(V.sourceNode);var T=S.sourceCode;V.sourceCode=T;V.spans=S.spans;V.basePos=0;q(U,T)(V);D(V)}catch(W){if("console" in window){console.log(W&&W.stack?W.stack:W)}}}function y(W,V,U){var S=document.createElement("PRE");S.innerHTML=W;if(U){Q(S,U)}var T={langExtension:V,numberLines:U,sourceNode:S};d(T);return S.innerHTML}function b(ad){function Y(af){return document.getElementsByTagName(af)}var ac=[Y("pre"),Y("code"),Y("xmp")];var T=[];for(var aa=0;aa=0){var ah=ai.match(ab);var am;if(!ah&&(am=o(aj))&&"CODE"===am.tagName){ah=am.className.match(ab)}if(ah){ah=ah[1]}var al=false;for(var ak=aj.parentNode;ak;ak=ak.parentNode){if((ak.tagName==="pre"||ak.tagName==="code"||ak.tagName==="xmp")&&ak.className&&ak.className.indexOf("prettyprint")>=0){al=true;break}}if(!al){var af=aj.className.match(/\blinenums\b(?::(\d+))?/);af=af?af[1]&&af[1].length?+af[1]:true:false;if(af){Q(aj,af)}S={langExtension:ah,sourceNode:aj,numberLines:af};d(S)}}}if(X]*(?:>|$)/],[PR.PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],[PR.PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-handlebars",/^]*type\s*=\s*['"]?text\/x-handlebars-template['"]?\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i],[PR.PR_DECLARATION,/^{{[#^>/]?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{&?\s*[\w.][^}]*}}/],[PR.PR_DECLARATION,/^{{{>?\s*[\w.][^}]*}}}/],[PR.PR_COMMENT,/^{{![^}]*}}/]]),["handlebars","hbs"]);PR.registerLangHandler(PR.createSimpleLexer([[PR.PR_PLAIN,/^[ \t\r\n\f]+/,null," \t\r\n\f"]],[[PR.PR_STRING,/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],[PR.PR_STRING,/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],[PR.PR_KEYWORD,/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],[PR.PR_COMMENT,/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],[PR.PR_COMMENT,/^(?:)/],[PR.PR_LITERAL,/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],[PR.PR_LITERAL,/^#(?:[0-9a-f]{3}){1,2}/i],[PR.PR_PLAIN,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],[PR.PR_PUNCTUATION,/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_KEYWORD,/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[[PR.PR_STRING,/^[^\)\"\']+/]]),["css-str"]); diff --git a/test/unit/coverage/lcov-report/sort-arrow-sprite.png b/test/unit/coverage/lcov-report/sort-arrow-sprite.png deleted file mode 100644 index 03f704a60..000000000 Binary files a/test/unit/coverage/lcov-report/sort-arrow-sprite.png and /dev/null differ diff --git a/test/unit/coverage/lcov-report/sorter.js b/test/unit/coverage/lcov-report/sorter.js deleted file mode 100644 index 6c5034e40..000000000 --- a/test/unit/coverage/lcov-report/sorter.js +++ /dev/null @@ -1,158 +0,0 @@ -var addSorting = (function () { - "use strict"; - var cols, - currentSort = { - index: 0, - desc: false - }; - - // returns the summary table element - function getTable() { return document.querySelector('.coverage-summary'); } - // returns the thead element of the summary table - function getTableHeader() { return getTable().querySelector('thead tr'); } - // returns the tbody element of the summary table - function getTableBody() { return getTable().querySelector('tbody'); } - // returns the th element for nth column - function getNthColumn(n) { return getTableHeader().querySelectorAll('th')[n]; } - - // loads all columns - function loadColumns() { - var colNodes = getTableHeader().querySelectorAll('th'), - colNode, - cols = [], - col, - i; - - for (i = 0; i < colNodes.length; i += 1) { - colNode = colNodes[i]; - col = { - key: colNode.getAttribute('data-col'), - sortable: !colNode.getAttribute('data-nosort'), - type: colNode.getAttribute('data-type') || 'string' - }; - cols.push(col); - if (col.sortable) { - col.defaultDescSort = col.type === 'number'; - colNode.innerHTML = colNode.innerHTML + ''; - } - } - return cols; - } - // attaches a data attribute to every tr element with an object - // of data values keyed by column name - function loadRowData(tableRow) { - var tableCols = tableRow.querySelectorAll('td'), - colNode, - col, - data = {}, - i, - val; - for (i = 0; i < tableCols.length; i += 1) { - colNode = tableCols[i]; - col = cols[i]; - val = colNode.getAttribute('data-value'); - if (col.type === 'number') { - val = Number(val); - } - data[col.key] = val; - } - return data; - } - // loads all row data - function loadData() { - var rows = getTableBody().querySelectorAll('tr'), - i; - - for (i = 0; i < rows.length; i += 1) { - rows[i].data = loadRowData(rows[i]); - } - } - // sorts the table using the data for the ith column - function sortByIndex(index, desc) { - var key = cols[index].key, - sorter = function (a, b) { - a = a.data[key]; - b = b.data[key]; - return a < b ? -1 : a > b ? 1 : 0; - }, - finalSorter = sorter, - tableBody = document.querySelector('.coverage-summary tbody'), - rowNodes = tableBody.querySelectorAll('tr'), - rows = [], - i; - - if (desc) { - finalSorter = function (a, b) { - return -1 * sorter(a, b); - }; - } - - for (i = 0; i < rowNodes.length; i += 1) { - rows.push(rowNodes[i]); - tableBody.removeChild(rowNodes[i]); - } - - rows.sort(finalSorter); - - for (i = 0; i < rows.length; i += 1) { - tableBody.appendChild(rows[i]); - } - } - // removes sort indicators for current column being sorted - function removeSortIndicators() { - var col = getNthColumn(currentSort.index), - cls = col.className; - - cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, ''); - col.className = cls; - } - // adds sort indicators for current column being sorted - function addSortIndicators() { - getNthColumn(currentSort.index).className += currentSort.desc ? ' sorted-desc' : ' sorted'; - } - // adds event listeners for all sorter widgets - function enableUI() { - var i, - el, - ithSorter = function ithSorter(i) { - var col = cols[i]; - - return function () { - var desc = col.defaultDescSort; - - if (currentSort.index === i) { - desc = !currentSort.desc; - } - sortByIndex(i, desc); - removeSortIndicators(); - currentSort.index = i; - currentSort.desc = desc; - addSortIndicators(); - }; - }; - for (i =0 ; i < cols.length; i += 1) { - if (cols[i].sortable) { - // add the click event handler on the th so users - // dont have to click on those tiny arrows - el = getNthColumn(i).querySelector('.sorter').parentElement; - if (el.addEventListener) { - el.addEventListener('click', ithSorter(i)); - } else { - el.attachEvent('onclick', ithSorter(i)); - } - } - } - } - // adds sorting functionality to the UI - return function () { - if (!getTable()) { - return; - } - cols = loadColumns(); - loadData(cols); - addSortIndicators(); - enableUI(); - }; -})(); - -window.addEventListener('load', addSorting); diff --git a/test/unit/coverage/lcov-report/src/index.html b/test/unit/coverage/lcov-report/src/index.html deleted file mode 100644 index d2ccfa8b7..000000000 --- a/test/unit/coverage/lcov-report/src/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - Code coverage report for src/ - - - - - - - -
-
-

- all files src/ -

-
-
- 68.06% - Statements - 49/72 -
-
- 70% - Branches - 7/10 -
-
- 50% - Functions - 1/2 -
-
- 54.17% - Lines - 26/48 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
68.06%49/7270%7/1050%1/254.17%26/48
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/index.js.html b/test/unit/coverage/lcov-report/src/index.js.html deleted file mode 100644 index 18587284d..000000000 --- a/test/unit/coverage/lcov-report/src/index.js.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - Code coverage report for src/index.js - - - - - - - -
-
-

- all files / src/ index.js -

-
-
- 68.06% - Statements - 49/72 -
-
- 70% - Branches - 7/10 -
-
- 50% - Functions - 1/2 -
-
- 54.17% - Lines - 26/48 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 - - - - - - - - - - - - - - - - - - - - - -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import Button from '../packages/button/index.js';
-import Switch from '../packages/switch/index.js';
-import Field from '../packages/field/index.js';
-import Radio from '../packages/radio/index.js';
-import Cell from '../packages/cell/index.js';
-import Icon from '../packages/icon/index.js';
-import CellGroup from '../packages/cell-group/index.js';
-import Popup from '../packages/popup/index.js';
-import Dialog from '../packages/dialog/index.js';
-import Picker from '../packages/picker/index.js';
-import RadioGroup from '../packages/radio-group/index.js';
-import Waterfall from '../packages/waterfall/index.js';
-import Loading from '../packages/loading/index.js';
-import Panel from '../packages/panel/index.js';
-import Card from '../packages/card/index.js';
-import Steps from '../packages/steps/index.js';
-import Tag from '../packages/tag/index.js';
-import Checkbox from '../packages/checkbox/index.js';
-import CheckboxGroup from '../packages/checkbox-group/index.js';
-import BadgeGroup from '../packages/badge-group/index.js';
-import Badge from '../packages/badge/index.js';
-import Search from '../packages/search/index.js';
- 
-const install = function(Vue) {
-  if (install.installed) return;
- 
-  Vue.component(Button.name, Button);
-  Vue.component(Switch.name, Switch);
-  Vue.component(Field.name, Field);
-  Vue.component(Radio.name, Radio);
-  Vue.component(Cell.name, Cell);
-  Vue.component(Icon.name, Icon);
-  Vue.component(CellGroup.name, CellGroup);
-  Vue.component(Popup.name, Popup);
-  Vue.component(Picker.name, Picker);
-  Vue.component(RadioGroup.name, RadioGroup);
-  Vue.component(Loading.name, Loading);
-  Vue.component(Panel.name, Panel);
-  Vue.component(Card.name, Card);
-  Vue.component(Steps.name, Steps);
-  Vue.component(Tag.name, Tag);
-  Vue.component(Checkbox.name, Checkbox);
-  Vue.component(CheckboxGroup.name, CheckboxGroup);
-  Vue.component(BadgeGroup.name, BadgeGroup);
-  Vue.component(Badge.name, Badge);
-  Vue.component(Search.name, Search);
-};
- 
-// auto install
-Iif (typeof window !== 'undefined' && window.Vue) {
-  install(window.Vue);
-}
- 
-module.exports = {
-  install,
-  version: '0.0.7',
-  Button,
-  Switch,
-  Field,
-  Radio,
-  Cell,
-  Icon,
-  CellGroup,
-  Popup,
-  Dialog,
-  Picker,
-  RadioGroup,
-  Waterfall,
-  Loading,
-  Panel,
-  Card,
-  Steps,
-  Tag,
-  Checkbox,
-  CheckboxGroup,
-  BadgeGroup,
-  Badge,
-  Search
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/mixins/findParent.js.html b/test/unit/coverage/lcov-report/src/mixins/findParent.js.html deleted file mode 100644 index 43d59e092..000000000 --- a/test/unit/coverage/lcov-report/src/mixins/findParent.js.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - Code coverage report for src/mixins/findParent.js - - - - - - - -
-
-

- all files / src/mixins/ findParent.js -

-
-
- 18.18% - Statements - 2/11 -
-
- 0% - Branches - 0/4 -
-
- 0% - Functions - 0/1 -
-
- 11.11% - Lines - 1/9 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
/**
- * 根据父组件名找到对应`parent`
- */
-export default {
-  methods: {
-    findParentByComponentName(name) {
-      if (this.parentGroup) return;
- 
-      let parent = this.$parent;
-      while (parent) {
-        if (parent.$options.name === name) {
-          this.parentGroup = parent;
-          break;
-        } else {
-          parent = parent.$parent;
-        }
-      }
- 
-      return this.parentGroup;
-    }
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/mixins/index.html b/test/unit/coverage/lcov-report/src/mixins/index.html deleted file mode 100644 index 9e4c3a589..000000000 --- a/test/unit/coverage/lcov-report/src/mixins/index.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - Code coverage report for src/mixins/ - - - - - - - -
-
-

- all files src/mixins/ -

-
-
- 18.18% - Statements - 2/11 -
-
- 0% - Branches - 0/4 -
-
- 0% - Functions - 0/1 -
-
- 11.11% - Lines - 1/9 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
findParent.js
18.18%2/110%0/40%0/111.11%1/9
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/mixins/popup/index.html b/test/unit/coverage/lcov-report/src/mixins/popup/index.html deleted file mode 100644 index 864b5eaf3..000000000 --- a/test/unit/coverage/lcov-report/src/mixins/popup/index.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - Code coverage report for src/mixins/popup/ - - - - - - - -
-
-

- all files src/mixins/popup/ -

-
-
- 14.18% - Statements - 19/134 -
-
- 4.88% - Branches - 4/82 -
-
- 4.76% - Functions - 1/21 -
-
- 10% - Lines - 12/120 -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
index.js
18.18%12/6610.26%4/3910%1/1010.71%6/56
popup-manager.js
10.29%7/680%0/430%0/119.38%6/64
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/mixins/popup/index.js.html b/test/unit/coverage/lcov-report/src/mixins/popup/index.js.html deleted file mode 100644 index 2e8f0a0b0..000000000 --- a/test/unit/coverage/lcov-report/src/mixins/popup/index.js.html +++ /dev/null @@ -1,539 +0,0 @@ - - - - Code coverage report for src/mixins/popup/index.js - - - - - - - -
-
-

- all files / src/mixins/popup/ index.js -

-
-
- 18.18% - Statements - 12/66 -
-
- 10.26% - Branches - 4/39 -
-
- 10% - Functions - 1/10 -
-
- 10.71% - Lines - 6/56 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -135 -136 -137 -138 -139 -140 -141 -142 -143 -144 -145 -146 -147 -148 -149 -150 -151 -152 -153 -154 -155 -156 -157 -158 -159 - - -  - -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import Vue from 'vue';
-import merge from 'src/utils/merge';
-import PopupManager from './popup-manager';
- 
-let idSeed = 1;
- 
-const getDOM = function(dom) {
-  if (dom.nodeType === 3) {
-    dom = dom.nextElementSibling || dom.nextSibling;
-    getDOM(dom);
-  }
-  return dom;
-};
- 
-export default {
-  props: {
-    /**
-     * popup当前显示状态
-     */
-    value: {
-      type: Boolean,
-      default: false
-    },
-    /**
-     * 是否显示遮罩层
-     */
-    overlay: {
-      type: Boolean,
-      default: false
-    },
-    /**
-     * 点击遮罩层是否关闭popup
-     */
-    closeOnClickOverlay: {
-      type: Boolean,
-      default: false
-    },
-    zIndex: [String, Number],
-    /**
-     * popup滚动时是否body内容也滚动
-     * 默认为不滚动
-     */
-    lockOnScroll: {
-      type: Boolean,
-      default: true
-    }
-  },
- 
-  watch: {
-    value(val) {
-      if (val) {
-        if (this.opening) return;
-        this.open();
-      } else {
-        if (this.closing) return;
-        this.close();
-      }
-    }
-  },
- 
-  beforeMount() {
-    this._popupId = 'popup-' + idSeed++;
-    PopupManager.register(this._popupId, this);
-  },
- 
-  data() {
-    return {
-      opening: false,
-      opened: false,
-      closing: false,
-      bodyOverflow: null
-    };
-  },
- 
-  methods: {
-    /**
-     * 显示popup
-     */
-    open(options) {
-      if (this.opened) return;
- 
-      this.opening = true;
- 
-      this.$emit('input', true);
- 
-      const dom = getDOM(this.$el);
-      const props = merge({}, this, options);
-      const zIndex = props.zIndex;
- 
-      // 如果属性中传入了`zIndex`,则覆盖`PopupManager`中对应的`zIndex`
-      if (zIndex) {
-        PopupManager.zIndex = zIndex;
-      }
- 
-      // 如果显示遮罩层
-      if (this.overlay) {
-        if (this.closing) {
-          PopupManager.closeModal(this._popupId);
-          this.closing = false;
-        }
-        PopupManager.openModal(this._popupId, PopupManager.nextZIndex(), dom);
- 
-        // 如果滚动时需要锁定
-        if (this.lockOnScroll) {
-          // 将原来的`bodyOverflow`存起来
-          if (!this.bodyOverflow) {
-            this.bodyOverflow = document.body.style.overflow;
-          }
- 
-          document.body.style.overlay = 'hidden';
-        }
-      }
- 
-      dom.style.zIndex = PopupManager.nextZIndex();
-      this.opened = true;
-      this.opening = false;
-    },
- 
-    /**
-     * 关闭popup
-     */
-    close() {
-      if (this.closing) return;
- 
-      this.closing = true;
- 
-      this.$emit('input', false);
- 
-      if (this.lockOnScroll) {
-        setTimeout(() => {
-          if (this.modal && this.bodyOverflow !== 'hidden') {
-            document.body.style.overflow = this.bodyOverflow;
-          }
-          this.bodyOverflow = null;
-        }, 200);
-      }
- 
-      this.opened = false;
-      this.doAfterClose();
-    },
- 
-    doAfterClose() {
-      this.closing = false;
-      PopupManager.closeModal(this._popupId);
-    }
-  },
- 
-  beforeDestroy() {
-    PopupManager.deregister(this._popupId);
-    PopupManager.closeModal(this._popupId);
- 
-    if (this.modal && this.bodyOverflow !== null && this.bodyOverflow !== 'hidden') {
-      document.body.style.overflow = this.bodyOverflow;
-    }
-    this.bodyOverflow = null;
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/mixins/popup/popup-manager.js.html b/test/unit/coverage/lcov-report/src/mixins/popup/popup-manager.js.html deleted file mode 100644 index e93e50a36..000000000 --- a/test/unit/coverage/lcov-report/src/mixins/popup/popup-manager.js.html +++ /dev/null @@ -1,464 +0,0 @@ - - - - Code coverage report for src/mixins/popup/popup-manager.js - - - - - - - -
-
-

- all files / src/mixins/popup/ popup-manager.js -

-
-
- 10.29% - Statements - 7/68 -
-
- 0% - Branches - 0/43 -
-
- 0% - Functions - 0/11 -
-
- 9.38% - Lines - 6/64 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -103 -104 -105 -106 -107 -108 -109 -110 -111 -112 -113 -114 -115 -116 -117 -118 -119 -120 -121 -122 -123 -124 -125 -126 -127 -128 -129 -130 -131 -132 -133 -134 -  - -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import { addClass, removeClass } from 'src/utils/dom';
- 
-let hasModal = false;
- 
-const getModal = function() {
-  let modalDom = PopupManager.modalDom;
-  if (modalDom) {
-    hasModal = true;
-  } else {
-    hasModal = false;
-    modalDom = document.createElement('div');
-    PopupManager.modalDom = modalDom;
- 
-    modalDom.addEventListener('touchmove', function(event) {
-      event.preventDefault();
-      event.stopPropagation();
-    });
- 
-    modalDom.addEventListener('click', function() {
-      PopupManager.handleOverlayClick && PopupManager.handleOverlayClick();
-    });
-  }
- 
-  return modalDom;
-};
- 
-const instances = {};
- 
-const PopupManager = {
-  zIndex: 2000,
- 
-  modalStack: [],
- 
-  nextZIndex() {
-    return this.zIndex++;
-  },
- 
-  getInstance(id) {
-    return instances[id];
-  },
- 
-  register(id, instance) {
-    if (id && instance) {
-      instances[id] = instance;
-    }
-  },
- 
-  deregister(id) {
-    if (id) {
-      instances[id] = null;
-      delete instances[id];
-    }
-  },
- 
-  /**
-   * 遮罩层点击回调,`closeOnClickOverlay`为`true`时会关闭当前`popup`
-   */
-  handleOverlayClick() {
-    const topModal = PopupManager.modalStack[PopupManager.modalStack.length - 1];
-    if (!topModal) return;
- 
-    const instance = PopupManager.getInstance(topModal.id);
-    if (instance && instance.closeOnClickOverlay) {
-      instance.close();
-    }
-  },
- 
-  openModal(id, zIndex, dom) {
-    if (!id || zIndex === undefined) return;
- 
-    const modalStack = this.modalStack;
- 
-    for (let i = 0, len = modalStack.length; i < len; i++) {
-      const item = modalStack[i];
-      if (item.id === id) {
-        return;
-      }
-    }
- 
-    const modalDom = getModal();
- 
-    addClass(modalDom, 'zan-modal');
- 
-    if (dom && dom.parentNode && dom.parentNode.nodeType !== 11) {
-      dom.parentNode.appendChild(modalDom);
-    } else {
-      document.body.appendChild(modalDom);
-    }
- 
-    if (zIndex) {
-      modalDom.style.zIndex = zIndex;
-    }
-    modalDom.style.display = '';
- 
-    this.modalStack.push({ id: id, zIndex: zIndex });
-  },
- 
-  closeModal(id) {
-    const modalStack = this.modalStack;
-    const modalDom = getModal();
- 
-    if (modalStack.length > 0) {
-      const topItem = modalStack[modalStack.length - 1];
-      if (topItem.id === id) {
-        modalStack.pop();
-        if (modalStack.length > 0) {
-          modalDom.style.zIndex = modalStack[modalStack.length - 1].zIndex;
-        }
-      } else {
-        for (let i = modalStack.length - 1; i >= 0; i--) {
-          if (modalStack[i].id === id) {
-            modalStack.splice(i, 1);
-            break;
-          }
-        }
-      }
-    }
- 
-    if (modalStack.length === 0) {
-      setTimeout(() => {
-        if (modalStack.length === 0) {
-          if (modalDom.parentNode) modalDom.parentNode.removeChild(modalDom);
- 
-          modalDom.style.display = 'none';
-          this.modalDom = null;
-        }
-      }, 200);
-    }
-  }
-};
- 
-export default PopupManager;
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/utils/dom.js.html b/test/unit/coverage/lcov-report/src/utils/dom.js.html deleted file mode 100644 index 5783903b0..000000000 --- a/test/unit/coverage/lcov-report/src/utils/dom.js.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - Code coverage report for src/utils/dom.js - - - - - - - -
-
-

- all files / src/utils/ dom.js -

-
-
- 18.18% - Statements - 8/44 -
-
- 0% - Branches - 0/34 -
-
- 0% - Functions - 0/4 -
-
- 14.29% - Lines - 5/35 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -  -  -  - -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
const trim = function(string) {
-  return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, '');
-};
- 
-export function hasClass(el, cls) {
-  if (!el || !cls) return false;
-  if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.');
-  if (el.classList) {
-    return el.classList.contains(cls);
-  } else {
-    return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1;
-  }
-};
- 
-export function addClass(el, cls) {
-  if (!el) return;
-  var curClass = el.className;
-  var classes = (cls || '').split(' ');
- 
-  for (var i = 0, j = classes.length; i < j; i++) {
-    var clsName = classes[i];
-    if (!clsName) continue;
- 
-    if (el.classList) {
-      el.classList.add(clsName);
-    } else {
-      if (!hasClass(el, clsName)) {
-        curClass += ' ' + clsName;
-      }
-    }
-  }
-  if (!el.classList) {
-    el.className = curClass;
-  }
-};
- 
-export function removeClass(el, cls) {
-  if (!el || !cls) return;
-  var classes = cls.split(' ');
-  var curClass = ' ' + el.className + ' ';
- 
-  for (var i = 0, j = classes.length; i < j; i++) {
-    var clsName = classes[i];
-    if (!clsName) continue;
- 
-    if (el.classList) {
-      el.classList.remove(clsName);
-    } else {
-      if (hasClass(el, clsName)) {
-        curClass = curClass.replace(' ' + clsName + ' ', ' ');
-      }
-    }
-  }
-  if (!el.classList) {
-    el.className = trim(curClass);
-  }
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/utils/index.html b/test/unit/coverage/lcov-report/src/utils/index.html deleted file mode 100644 index 310734535..000000000 --- a/test/unit/coverage/lcov-report/src/utils/index.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - Code coverage report for src/utils/ - - - - - - - -
-
-

- all files src/utils/ -

-
-
- 33.06% - Statements - 40/121 -
-
- 9.8% - Branches - 10/102 -
-
- 11.11% - Functions - 1/9 -
-
- 31.68% - Lines - 32/101 -
-
- 1 branch - Ignored      -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FileStatementsBranchesFunctionsLines
dom.js
18.18%8/440%0/340%0/414.29%5/35
merge.js
16.67%2/120%0/60%0/110%1/10
transition.js
46.15%30/6516.13%10/6225%1/446.43%26/56
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/utils/merge.js.html b/test/unit/coverage/lcov-report/src/utils/merge.js.html deleted file mode 100644 index e9136ebb7..000000000 --- a/test/unit/coverage/lcov-report/src/utils/merge.js.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - Code coverage report for src/utils/merge.js - - - - - - - -
-
-

- all files / src/utils/ merge.js -

-
-
- 16.67% - Statements - 2/12 -
-
- 0% - Branches - 0/6 -
-
- 0% - Functions - 0/1 -
-
- 10% - Lines - 1/10 -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
export default function(target, ...sources) {
-  for (let i = 0; i < sources.length; i++) {
-    let source = sources[i] || {};
-    for (let prop in source) {
-      if (source.hasOwnProperty(prop)) {
-        let value = source[prop];
-        if (value !== undefined) {
-          target[prop] = value;
-        }
-      }
-    }
-  }
- 
-  return target;
-};
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov-report/src/utils/transition.js.html b/test/unit/coverage/lcov-report/src/utils/transition.js.html deleted file mode 100644 index 6e3ec62af..000000000 --- a/test/unit/coverage/lcov-report/src/utils/transition.js.html +++ /dev/null @@ -1,372 +0,0 @@ - - - - Code coverage report for src/utils/transition.js - - - - - - - -
-
-

- all files / src/utils/ transition.js -

-
-
- 46.15% - Statements - 30/65 -
-
- 16.13% - Branches - 10/62 -
-
- 25% - Functions - 1/4 -
-
- 46.43% - Lines - 26/56 -
-
- 1 branch - Ignored      -
-
-
-
-

-
-
1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 -100 -101 -102 -  - -  - - - - -  - -  - -  - - -  -  -  -  - -  - -  - - - - - - - -  - - -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  - -  -  -  -  -  -  -  -  -  -  -  -  -  -  - 
import Vue from 'vue';
- 
-var exportObj = {};
- 
-Eif (!Vue.prototype.$isServer) {
-  var docStyle = document.documentElement.style;
-  var engine;
-  var translate3d = false;
- 
-  Iif (window.opera && Object.prototype.toString.call(window.opera) === '[object Opera]') {
-    engine = 'presto';
-  } else Iif ('MozAppearance' in docStyle) {
-    engine = 'gecko';
-  } else Eif ('WebkitAppearance' in docStyle) {
-    engine = 'webkit';
-  } else if (typeof navigator.cpuClass === 'string') {
-    engine = 'trident';
-  }
- 
-  var cssPrefix = {trident: '-ms-', gecko: '-moz-', webkit: '-webkit-', presto: '-o-'}[engine];
- 
-  var vendorPrefix = {trident: 'ms', gecko: 'Moz', webkit: 'Webkit', presto: 'O'}[engine];
- 
-  var helperElem = document.createElement('div');
-  var perspectiveProperty = vendorPrefix + 'Perspective';
-  var transformProperty = vendorPrefix + 'Transform';
-  var transformStyleName = cssPrefix + 'transform';
-  var transitionProperty = vendorPrefix + 'Transition';
-  var transitionStyleName = cssPrefix + 'transition';
-  var transitionEndProperty = vendorPrefix.toLowerCase() + 'TransitionEnd';
- 
-  Eif (helperElem.style[perspectiveProperty] !== undefined) {
-    translate3d = true;
-  }
- 
-  var getTranslate = function(element) {
-    var result = {left: 0, top: 0};
-    if (element === null || element.style === null) return result;
- 
-    var transform = element.style[transformProperty];
-    var matches = /translate\(\s*(-?\d+(\.?\d+?)?)px,\s*(-?\d+(\.\d+)?)px\)\s*translateZ\(0px\)/ig.exec(transform);
-    if (matches) {
-      result.left = +matches[1];
-      result.top = +matches[3];
-    }
- 
-    return result;
-  };
- 
-  var translateElement = function(element, x, y) {
-    if (x === null && y === null) return;
- 
-    if (element === null || element === undefined || element.style === null) return;
- 
-    if (!element.style[transformProperty] && x === 0 && y === 0) return;
- 
-    if (x === null || y === null) {
-      var translate = getTranslate(element);
-      if (x === null) {
-        x = translate.left;
-      }
-      if (y === null) {
-        y = translate.top;
-      }
-    }
- 
-    cancelTranslateElement(element);
- 
-    if (translate3d) {
-      element.style[transformProperty] += ' translate(' + (x ? (x + 'px') : '0px') + ',' + (y ? (y + 'px') : '0px') + ') translateZ(0px)';
-    } else {
-      element.style[transformProperty] += ' translate(' + (x ? (x + 'px') : '0px') + ',' + (y ? (y + 'px') : '0px') + ')';
-    }
-  };
- 
-  var cancelTranslateElement = function(element) {
-    if (element === null || element.style === null) return;
- 
-    var transformValue = element.style[transformProperty];
- 
-    if (transformValue) {
-      transformValue = transformValue.replace(/translate\(\s*(-?\d+(\.?\d+?)?)px,\s*(-?\d+(\.\d+)?)px\)\s*translateZ\(0px\)/g, '');
-      element.style[transformProperty] = transformValue;
-    }
-  };
- 
-  exportObj = {
-    transformProperty: transformProperty,
-    transformStyleName: transformStyleName,
-    transitionProperty: transitionProperty,
-    transitionStyleName: transitionStyleName,
-    transitionEndProperty: transitionEndProperty,
-    getElementTranslate: getTranslate,
-    translateElement: translateElement,
-    cancelTranslateElement: cancelTranslateElement
-  };
-};
- 
-export default exportObj;
- 
- 
- 
-
-
- - - - - - - diff --git a/test/unit/coverage/lcov.info b/test/unit/coverage/lcov.info deleted file mode 100644 index 9a4d7f086..000000000 --- a/test/unit/coverage/lcov.info +++ /dev/null @@ -1,2065 +0,0 @@ -TN: -SF:/Users/chenyao/youzan/oxygen/src/index.js -FN:91,_interopRequireDefault -FN:93,install -FNF:2 -FNH:1 -FNDA:22,_interopRequireDefault -FNDA:0,install -DA:0,22 -DA:1,1 -DA:2,1 -DA:3,1 -DA:4,1 -DA:5,1 -DA:6,1 -DA:7,1 -DA:8,1 -DA:9,1 -DA:10,1 -DA:11,1 -DA:12,1 -DA:13,1 -DA:14,1 -DA:15,1 -DA:16,1 -DA:17,1 -DA:18,1 -DA:19,1 -DA:20,1 -DA:21,1 -DA:22,1 -DA:24,1 -DA:25,0 -DA:27,0 -DA:28,0 -DA:29,0 -DA:30,0 -DA:31,0 -DA:32,0 -DA:33,0 -DA:34,0 -DA:35,0 -DA:36,0 -DA:37,0 -DA:38,0 -DA:39,0 -DA:40,0 -DA:41,0 -DA:42,0 -DA:43,0 -DA:44,0 -DA:45,0 -DA:46,0 -DA:50,1 -DA:51,0 -DA:54,1 -LF:48 -LH:26 -BRDA:91,1,0,22 -BRDA:91,1,1,0 -BRDA:91,2,0,22 -BRDA:91,2,1,22 -BRDA:94,3,0,0 -BRDA:94,3,1,0 -BRDA:119,4,0,0 -BRDA:119,4,1,1 -BRDA:119,5,0,1 -BRDA:119,5,1,1 -BRF:10 -BRH:7 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/button/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,1 -BRDA:11,1,1,0 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/button/src/button.js -FN:37,validator -FN:44,validator -FN:51,handleClick -FN:56,render -FNF:4 -FNH:0 -FNDA:0,validator -FNDA:0,validator -FNDA:0,handleClick -FNDA:0,render -DA:0,1 -DA:14,1 -DA:15,1 -DA:33,0 -DA:40,0 -DA:47,0 -DA:51,0 -DA:53,0 -DA:55,0 -LF:9 -LH:3 -BRDA:82,1,0,0 -BRDA:82,1,1,0 -BRF:2 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/switch/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/switch/src/switch.vue -FN:44,_default -FN:48,switchState -FN:61,toggleState -FNF:3 -FNH:0 -FNDA:0,_default -FNDA:0,switchState -FNDA:0,toggleState -DA:0,1 -DA:44,0 -DA:46,0 -DA:47,0 -DA:49,0 -DA:57,0 -DA:58,0 -LF:7 -LH:1 -BRDA:49,1,0,0 -BRDA:49,1,1,0 -BRDA:51,2,0,0 -BRDA:51,2,1,0 -BRDA:52,3,0,0 -BRDA:52,3,1,0 -BRDA:62,4,0,0 -BRDA:62,4,1,0 -BRDA:62,5,0,0 -BRDA:62,5,1,0 -BRF:10 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/field/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/field/src/field.vue -FN:11,_interopRequireDefault -FN:33,data -FN:41,value -FN:44,currentValue -FN:51,handleInput -FNF:5 -FNH:1 -FNDA:1,_interopRequireDefault -FNDA:0,data -FNDA:0,value -FNDA:0,currentValue -FNDA:0,handleInput -DA:0,1 -DA:34,1 -DA:57,0 -DA:64,0 -DA:68,0 -DA:69,0 -DA:75,0 -LF:7 -LH:2 -BRDA:11,1,0,1 -BRDA:11,1,1,0 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/cell/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/cell/src/cell.vue -FN:43,handleClick -FNF:1 -FNH:0 -FNDA:0,handleClick -DA:0,1 -DA:39,0 -LF:2 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/radio/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/radio/src/radio.vue -FN:11,_interopRequireDefault -FN:25,isGroup -FN:31,get -FN:34,set -FN:43,isDisabled -FNF:5 -FNH:1 -FNDA:1,_interopRequireDefault -FNDA:0,isGroup -FNDA:0,get -FNDA:0,set -FNDA:0,isDisabled -DA:0,1 -DA:27,1 -DA:42,0 -DA:47,0 -DA:51,0 -DA:52,0 -DA:54,0 -DA:60,0 -LF:8 -LH:2 -BRDA:11,1,0,1 -BRDA:11,1,1,0 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRDA:32,3,0,0 -BRDA:32,3,1,0 -BRDA:32,4,0,0 -BRDA:32,4,1,0 -BRDA:35,5,0,0 -BRDA:35,5,1,0 -BRDA:35,6,0,0 -BRDA:35,6,1,0 -BRDA:44,7,0,0 -BRDA:44,7,1,0 -BRDA:44,8,0,0 -BRDA:44,8,1,0 -BRDA:44,9,0,0 -BRDA:44,9,1,0 -BRF:18 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/src/mixins/findParent.js -FN:11,findParentByComponentName -FNF:1 -FNH:0 -FNDA:0,findParentByComponentName -DA:0,1 -DA:7,0 -DA:9,0 -DA:10,0 -DA:11,0 -DA:12,0 -DA:13,0 -DA:15,0 -DA:19,0 -LF:9 -LH:1 -BRDA:12,1,0,0 -BRDA:12,1,1,0 -BRDA:16,2,0,0 -BRDA:16,2,1,0 -BRF:4 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/icon/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/icon/src/icon.vue -FNF:0 -FNH:0 -DA:0,1 -LF:1 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/cell-group/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/cell/src/cell-group.vue -FNF:0 -FNH:0 -DA:0,1 -LF:1 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/popup/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/popup/src/popup.vue -FN:11,_interopRequireDefault -FN:42,data -FN:51,currentValue -FN:54,value -FN:59,beforeMount -FN:64,mounted -FNF:6 -FNH:1 -FNDA:1,_interopRequireDefault -FNDA:0,data -FNDA:0,currentValue -FNDA:0,value -FNDA:0,beforeMount -FNDA:0,mounted -DA:0,1 -DA:10,1 -DA:42,0 -DA:50,0 -DA:54,0 -DA:59,0 -DA:60,0 -DA:65,0 -DA:66,0 -DA:67,0 -LF:10 -LH:2 -BRDA:11,1,0,1 -BRDA:11,1,1,0 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRDA:60,3,0,0 -BRDA:60,3,1,0 -BRDA:65,4,0,0 -BRDA:65,4,1,0 -BRF:8 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/src/mixins/popup/index.js -FN:19,_interopRequireDefault -FN:23,getDOM -FN:66,value -FN:77,beforeMount -FN:81,data -FN:95,open -FN:139,close -FN:149,(anonymous_8) -FN:160,doAfterClose -FN:166,beforeDestroy -FNF:10 -FNH:1 -FNDA:3,_interopRequireDefault -FNDA:0,getDOM -FNDA:0,value -FNDA:0,beforeMount -FNDA:0,data -FNDA:0,open -FNDA:0,close -FNDA:0,(anonymous_8) -FNDA:0,doAfterClose -FNDA:0,beforeDestroy -DA:0,3 -DA:1,1 -DA:2,1 -DA:3,1 -DA:5,1 -DA:7,1 -DA:8,0 -DA:9,0 -DA:10,0 -DA:12,0 -DA:51,0 -DA:52,0 -DA:53,0 -DA:55,0 -DA:56,0 -DA:62,0 -DA:63,0 -DA:67,0 -DA:80,0 -DA:82,0 -DA:84,0 -DA:86,0 -DA:87,0 -DA:88,0 -DA:91,0 -DA:92,0 -DA:96,0 -DA:97,0 -DA:98,0 -DA:99,0 -DA:101,0 -DA:104,0 -DA:106,0 -DA:107,0 -DA:110,0 -DA:114,0 -DA:115,0 -DA:116,0 -DA:122,0 -DA:123,0 -DA:125,0 -DA:127,0 -DA:129,0 -DA:130,0 -DA:131,0 -DA:132,0 -DA:134,0 -DA:138,0 -DA:139,0 -DA:143,0 -DA:144,0 -DA:149,0 -DA:150,0 -DA:152,0 -DA:153,0 -DA:155,0 -LF:56 -LH:6 -BRDA:19,1,0,2 -BRDA:19,1,1,1 -BRDA:19,2,0,3 -BRDA:19,2,1,3 -BRDA:24,3,0,0 -BRDA:24,3,1,0 -BRDA:25,4,0,0 -BRDA:25,4,1,0 -BRDA:67,5,0,0 -BRDA:67,5,1,0 -BRDA:68,6,0,0 -BRDA:68,6,1,0 -BRDA:71,7,0,0 -BRDA:71,7,1,0 -BRDA:96,8,0,0 -BRDA:96,8,1,0 -BRDA:107,9,0,0 -BRDA:107,9,1,0 -BRDA:112,10,0,0 -BRDA:112,10,1,0 -BRDA:113,11,0,0 -BRDA:113,11,1,0 -BRDA:120,12,0,0 -BRDA:120,12,1,0 -BRDA:122,13,0,0 -BRDA:122,13,1,0 -BRDA:142,14,0,0 -BRDA:142,14,1,0 -BRDA:148,15,0,0 -BRDA:148,15,1,0 -BRDA:150,16,0,0 -BRDA:150,16,1,0 -BRDA:150,17,0,0 -BRDA:150,17,1,0 -BRDA:170,18,0,0 -BRDA:170,18,1,0 -BRDA:170,19,0,0 -BRDA:170,19,1,0 -BRDA:170,19,2,0 -BRF:39 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/src/utils/merge.js -FN:7,(anonymous_1) -FNF:1 -FNH:0 -FNDA:0,(anonymous_1) -DA:0,1 -DA:1,0 -DA:2,0 -DA:3,0 -DA:4,0 -DA:5,0 -DA:6,0 -DA:7,0 -DA:8,0 -DA:14,0 -LF:10 -LH:1 -BRDA:13,1,0,0 -BRDA:13,1,1,0 -BRDA:15,2,0,0 -BRDA:15,2,1,0 -BRDA:17,3,0,0 -BRDA:17,3,1,0 -BRF:6 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/src/mixins/popup/popup-manager.js -FN:11,getModal -FN:20,(anonymous_2) -FN:25,(anonymous_3) -FN:40,nextZIndex -FN:43,getInstance -FN:46,register -FN:51,deregister -FN:62,handleOverlayClick -FN:71,openModal -FN:100,closeModal -FN:124,(anonymous_11) -FNF:11 -FNH:0 -FNDA:0,getModal -FNDA:0,(anonymous_2) -FNDA:0,(anonymous_3) -FNDA:0,nextZIndex -FNDA:0,getInstance -FNDA:0,register -FNDA:0,deregister -FNDA:0,handleOverlayClick -FNDA:0,openModal -FNDA:0,closeModal -FNDA:0,(anonymous_11) -DA:0,1 -DA:1,1 -DA:3,1 -DA:5,1 -DA:6,0 -DA:7,0 -DA:8,0 -DA:10,0 -DA:11,0 -DA:12,0 -DA:14,0 -DA:15,0 -DA:16,0 -DA:19,0 -DA:20,0 -DA:24,0 -DA:27,1 -DA:29,1 -DA:35,0 -DA:39,0 -DA:43,0 -DA:44,0 -DA:49,0 -DA:50,0 -DA:51,0 -DA:59,0 -DA:60,0 -DA:62,0 -DA:63,0 -DA:64,0 -DA:69,0 -DA:71,0 -DA:73,0 -DA:74,0 -DA:75,0 -DA:76,0 -DA:80,0 -DA:82,0 -DA:84,0 -DA:85,0 -DA:87,0 -DA:90,0 -DA:91,0 -DA:93,0 -DA:95,0 -DA:98,0 -DA:99,0 -DA:100,0 -DA:102,0 -DA:103,0 -DA:104,0 -DA:105,0 -DA:106,0 -DA:107,0 -DA:110,0 -DA:111,0 -DA:112,0 -DA:113,0 -DA:119,0 -DA:120,0 -DA:121,0 -DA:122,0 -DA:124,0 -DA:125,0 -LF:64 -LH:6 -BRDA:13,1,0,0 -BRDA:13,1,1,0 -BRDA:26,2,0,0 -BRDA:26,2,1,0 -BRDA:47,3,0,0 -BRDA:47,3,1,0 -BRDA:47,4,0,0 -BRDA:47,4,1,0 -BRDA:52,5,0,0 -BRDA:52,5,1,0 -BRDA:64,6,0,0 -BRDA:64,6,1,0 -BRDA:67,7,0,0 -BRDA:67,7,1,0 -BRDA:67,8,0,0 -BRDA:67,8,1,0 -BRDA:72,9,0,0 -BRDA:72,9,1,0 -BRDA:72,10,0,0 -BRDA:72,10,1,0 -BRDA:78,11,0,0 -BRDA:78,11,1,0 -BRDA:87,12,0,0 -BRDA:87,12,1,0 -BRDA:87,13,0,0 -BRDA:87,13,1,0 -BRDA:87,13,2,0 -BRDA:93,14,0,0 -BRDA:93,14,1,0 -BRDA:106,15,0,0 -BRDA:106,15,1,0 -BRDA:108,16,0,0 -BRDA:108,16,1,0 -BRDA:110,17,0,0 -BRDA:110,17,1,0 -BRDA:115,18,0,0 -BRDA:115,18,1,0 -BRDA:123,19,0,0 -BRDA:123,19,1,0 -BRDA:125,20,0,0 -BRDA:125,20,1,0 -BRDA:126,21,0,0 -BRDA:126,21,1,0 -BRF:43 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/src/utils/dom.js -FN:9,trim -FN:13,hasClass -FN:23,addClass -FN:45,removeClass -FNF:4 -FNH:0 -FNDA:0,trim -FNDA:0,hasClass -FNDA:0,addClass -FNDA:0,removeClass -DA:0,1 -DA:1,1 -DA:2,0 -DA:5,1 -DA:6,0 -DA:7,0 -DA:8,0 -DA:9,0 -DA:11,0 -DA:15,1 -DA:16,0 -DA:17,0 -DA:18,0 -DA:20,0 -DA:21,0 -DA:22,0 -DA:24,0 -DA:25,0 -DA:27,0 -DA:28,0 -DA:32,0 -DA:33,0 -DA:37,1 -DA:38,0 -DA:39,0 -DA:40,0 -DA:42,0 -DA:43,0 -DA:44,0 -DA:46,0 -DA:47,0 -DA:49,0 -DA:50,0 -DA:54,0 -DA:55,0 -LF:35 -LH:5 -BRDA:10,1,0,0 -BRDA:10,1,1,0 -BRDA:14,2,0,0 -BRDA:14,2,1,0 -BRDA:14,3,0,0 -BRDA:14,3,1,0 -BRDA:15,4,0,0 -BRDA:15,4,1,0 -BRDA:16,5,0,0 -BRDA:16,5,1,0 -BRDA:24,6,0,0 -BRDA:24,6,1,0 -BRDA:26,7,0,0 -BRDA:26,7,1,0 -BRDA:30,8,0,0 -BRDA:30,8,1,0 -BRDA:32,9,0,0 -BRDA:32,9,1,0 -BRDA:35,10,0,0 -BRDA:35,10,1,0 -BRDA:40,11,0,0 -BRDA:40,11,1,0 -BRDA:46,12,0,0 -BRDA:46,12,1,0 -BRDA:46,13,0,0 -BRDA:46,13,1,0 -BRDA:52,14,0,0 -BRDA:52,14,1,0 -BRDA:54,15,0,0 -BRDA:54,15,1,0 -BRDA:57,16,0,0 -BRDA:57,16,1,0 -BRDA:62,17,0,0 -BRDA:62,17,1,0 -BRF:34 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/dialog/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,1 -BRDA:11,1,1,0 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/dialog/src/dialog.js -FN:23,_interopRequireDefault -FN:31,defaultCallback -FN:47,initInstance -FN:55,showNextDialog -FN:77,(anonymous_5) -FN:83,DialogBox -FN:84,(anonymous_7) -FN:97,(anonymous_8) -FN:105,(anonymous_9) -FN:113,(anonymous_10) -FNF:10 -FNH:1 -FNDA:4,_interopRequireDefault -FNDA:0,defaultCallback -FNDA:0,initInstance -FNDA:0,showNextDialog -FNDA:0,(anonymous_5) -FNDA:0,DialogBox -FNDA:0,(anonymous_7) -FNDA:0,(anonymous_8) -FNDA:0,(anonymous_9) -FNDA:0,(anonymous_10) -DA:0,4 -DA:1,1 -DA:2,1 -DA:3,1 -DA:5,1 -DA:7,1 -DA:8,1 -DA:9,1 -DA:11,1 -DA:12,0 -DA:13,0 -DA:15,0 -DA:16,0 -DA:19,0 -DA:20,0 -DA:21,0 -DA:22,0 -DA:27,1 -DA:28,0 -DA:32,0 -DA:35,1 -DA:36,0 -DA:37,0 -DA:40,0 -DA:41,0 -DA:43,0 -DA:45,0 -DA:46,0 -DA:47,0 -DA:51,0 -DA:52,0 -DA:55,0 -DA:57,0 -DA:58,0 -DA:63,1 -DA:64,0 -DA:65,0 -DA:72,0 -DA:76,1 -DA:77,0 -DA:84,1 -DA:85,0 -DA:92,1 -DA:93,0 -DA:94,0 -DA:95,0 -LF:46 -LH:15 -BRDA:23,1,0,2 -BRDA:23,1,1,2 -BRDA:23,2,0,4 -BRDA:23,2,1,4 -BRDA:32,3,0,0 -BRDA:32,3,1,0 -BRDA:35,4,0,0 -BRDA:35,4,1,0 -BRDA:39,5,0,0 -BRDA:39,5,1,0 -BRDA:39,6,0,0 -BRDA:39,6,1,0 -BRDA:41,7,0,0 -BRDA:41,7,1,0 -BRDA:41,8,0,0 -BRDA:41,8,1,0 -BRDA:56,9,0,0 -BRDA:56,9,1,0 -BRDA:60,10,0,0 -BRDA:60,10,1,0 -BRDA:60,11,0,0 -BRDA:60,11,1,0 -BRDA:66,12,0,0 -BRDA:66,12,1,0 -BRDA:71,13,0,0 -BRDA:71,13,1,0 -BRF:26 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/dialog/src/dialog.vue -FN:11,_interopRequireDefault -FN:52,data -FN:67,handleAction -FN:71,close -FN:81,(anonymous_5) -FNF:5 -FNH:1 -FNDA:1,_interopRequireDefault -FNDA:0,data -FNDA:0,handleAction -FNDA:0,close -FNDA:0,(anonymous_5) -DA:0,1 -DA:21,1 -DA:24,1 -DA:44,0 -DA:58,0 -DA:59,0 -DA:62,0 -DA:63,0 -DA:65,0 -DA:67,0 -DA:69,0 -DA:70,0 -DA:71,0 -DA:72,0 -DA:73,0 -DA:75,0 -DA:76,0 -DA:80,0 -DA:81,0 -LF:19 -LH:3 -BRDA:11,1,0,1 -BRDA:11,1,1,0 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRDA:69,3,0,0 -BRDA:69,3,1,0 -BRDA:74,4,0,0 -BRDA:74,4,1,0 -BRDA:80,5,0,0 -BRDA:80,5,1,0 -BRDA:82,6,0,0 -BRDA:82,6,1,0 -BRDA:82,7,0,0 -BRDA:82,7,1,0 -BRF:14 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/picker/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/picker/src/picker.vue -FN:11,_interopRequireDefault -FN:62,_default -FN:76,values -FN:80,(anonymous_4) -FN:92,columnValueChange -FN:100,getColumn -FN:101,(anonymous_7) -FN:111,getColumnValue -FN:120,setColumnValue -FN:131,getColumnValues -FN:140,setColumnValues -FN:151,getValues -FN:159,setValues -FN:162,(anonymous_14) -FNF:14 -FNH:1 -FNDA:1,_interopRequireDefault -FNDA:0,_default -FNDA:0,values -FNDA:0,(anonymous_4) -FNDA:0,columnValueChange -FNDA:0,getColumn -FNDA:0,(anonymous_7) -FNDA:0,getColumnValue -FNDA:0,setColumnValue -FNDA:0,getColumnValues -FNDA:0,setColumnValues -FNDA:0,getValues -FNDA:0,setValues -FNDA:0,(anonymous_14) -DA:0,1 -DA:23,1 -DA:55,0 -DA:69,0 -DA:70,0 -DA:72,0 -DA:73,0 -DA:76,0 -DA:85,0 -DA:92,0 -DA:93,0 -DA:100,0 -DA:101,0 -DA:108,0 -DA:109,0 -DA:110,0 -DA:118,0 -DA:119,0 -DA:126,0 -DA:127,0 -DA:128,0 -DA:136,0 -DA:142,0 -DA:143,0 -DA:144,0 -LF:25 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRDA:77,3,0,0 -BRDA:77,3,1,0 -BRDA:81,4,0,0 -BRDA:81,4,1,0 -BRDA:81,5,0,0 -BRDA:81,5,1,0 -BRDA:113,6,0,0 -BRDA:113,6,1,0 -BRDA:122,7,0,0 -BRDA:122,7,1,0 -BRDA:133,8,0,0 -BRDA:133,8,1,0 -BRDA:142,9,0,0 -BRDA:142,9,1,0 -BRF:18 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/picker/src/picker-column.vue -FN:15,_interopRequireDefault -FN:50,_default -FN:71,data -FN:81,values -FN:84,currentValues -FN:89,currentValue -FN:100,visibleContentHeight -FN:108,valueIndex -FN:116,dragRange -FN:128,classNames -FN:133,mounted -FN:143,value2Translate -FN:158,translate2Value -FN:171,initEvents -FN:182,start -FN:194,drag -FN:210,end -FN:225,(anonymous_18) -FN:252,doOnValueChange -FNF:19 -FNH:1 -FNDA:2,_interopRequireDefault -FNDA:0,_default -FNDA:0,data -FNDA:0,values -FNDA:0,currentValues -FNDA:0,currentValue -FNDA:0,visibleContentHeight -FNDA:0,valueIndex -FNDA:0,dragRange -FNDA:0,classNames -FNDA:0,mounted -FNDA:0,value2Translate -FNDA:0,translate2Value -FNDA:0,initEvents -FNDA:0,start -FNDA:0,drag -FNDA:0,end -FNDA:0,(anonymous_18) -FNDA:0,doOnValueChange -DA:0,2 -DA:16,1 -DA:17,1 -DA:19,1 -DA:38,0 -DA:59,0 -DA:68,0 -DA:72,0 -DA:73,0 -DA:78,0 -DA:80,0 -DA:89,0 -DA:96,0 -DA:103,0 -DA:104,0 -DA:105,0 -DA:107,0 -DA:114,0 -DA:119,0 -DA:120,0 -DA:128,0 -DA:129,0 -DA:130,0 -DA:131,0 -DA:133,0 -DA:134,0 -DA:142,0 -DA:143,0 -DA:145,0 -DA:147,0 -DA:153,0 -DA:154,0 -DA:155,0 -DA:157,0 -DA:158,0 -DA:159,0 -DA:161,0 -DA:164,0 -DA:171,0 -DA:175,0 -DA:177,0 -DA:178,0 -DA:180,0 -DA:181,0 -DA:183,0 -DA:185,0 -DA:187,0 -DA:191,0 -DA:192,0 -DA:194,0 -DA:195,0 -DA:196,0 -DA:198,0 -DA:199,0 -DA:200,0 -DA:203,0 -DA:205,0 -DA:206,0 -DA:207,0 -DA:209,0 -DA:210,0 -DA:212,0 -DA:215,0 -DA:217,0 -DA:219,0 -DA:223,0 -DA:232,0 -DA:233,0 -DA:235,0 -DA:237,0 -LF:70 -LH:4 -BRDA:15,1,0,2 -BRDA:15,1,1,0 -BRDA:15,2,0,2 -BRDA:15,2,1,2 -BRDA:85,3,0,0 -BRDA:85,3,1,0 -BRDA:86,4,0,0 -BRDA:86,4,1,0 -BRDA:149,5,0,0 -BRDA:149,5,1,0 -BRDA:205,6,0,0 -BRDA:205,6,1,0 -BRDA:211,7,0,0 -BRDA:211,7,1,0 -BRDA:219,8,0,0 -BRDA:219,8,1,0 -BRDA:229,9,0,0 -BRDA:229,9,1,0 -BRF:18 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/src/utils/transition.js -FN:11,_interopRequireDefault -FN:46,getTranslate -FN:60,translateElement -FN:86,cancelTranslateElement -FNF:4 -FNH:1 -FNDA:1,_interopRequireDefault -FNDA:0,getTranslate -FNDA:0,translateElement -FNDA:0,cancelTranslateElement -DA:0,1 -DA:1,1 -DA:3,1 -DA:5,1 -DA:6,1 -DA:7,1 -DA:8,1 -DA:10,1 -DA:11,0 -DA:12,1 -DA:13,0 -DA:14,1 -DA:15,1 -DA:16,0 -DA:17,0 -DA:20,1 -DA:22,1 -DA:24,1 -DA:25,1 -DA:26,1 -DA:27,1 -DA:28,1 -DA:29,1 -DA:30,1 -DA:32,1 -DA:33,1 -DA:36,1 -DA:37,0 -DA:38,0 -DA:40,0 -DA:41,0 -DA:42,0 -DA:43,0 -DA:44,0 -DA:47,0 -DA:50,1 -DA:51,0 -DA:53,0 -DA:55,0 -DA:57,0 -DA:58,0 -DA:59,0 -DA:60,0 -DA:62,0 -DA:63,0 -DA:67,0 -DA:69,0 -DA:70,0 -DA:72,0 -DA:76,1 -DA:77,0 -DA:79,0 -DA:81,0 -DA:82,0 -DA:83,0 -DA:87,1 -LF:56 -LH:26 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRDA:15,3,0,1 -BRDA:15,3,1,0 -BRDA:20,4,0,0 -BRDA:20,4,1,1 -BRDA:20,5,0,1 -BRDA:20,5,1,0 -BRDA:22,6,0,0 -BRDA:22,6,1,1 -BRDA:24,7,0,1 -BRDA:24,7,1,0 -BRDA:26,8,0,0 -BRDA:26,8,1,0 -BRDA:42,9,0,1 -BRDA:42,9,1,0 -BRDA:48,10,0,0 -BRDA:48,10,1,0 -BRDA:48,11,0,0 -BRDA:48,11,1,0 -BRDA:52,12,0,0 -BRDA:52,12,1,0 -BRDA:61,13,0,0 -BRDA:61,13,1,0 -BRDA:61,14,0,0 -BRDA:61,14,1,0 -BRDA:63,15,0,0 -BRDA:63,15,1,0 -BRDA:63,16,0,0 -BRDA:63,16,1,0 -BRDA:63,16,2,0 -BRDA:65,17,0,0 -BRDA:65,17,1,0 -BRDA:65,18,0,0 -BRDA:65,18,1,0 -BRDA:65,18,2,0 -BRDA:67,19,0,0 -BRDA:67,19,1,0 -BRDA:67,20,0,0 -BRDA:67,20,1,0 -BRDA:69,21,0,0 -BRDA:69,21,1,0 -BRDA:72,22,0,0 -BRDA:72,22,1,0 -BRDA:79,23,0,0 -BRDA:79,23,1,0 -BRDA:80,24,0,0 -BRDA:80,24,1,0 -BRDA:80,25,0,0 -BRDA:80,25,1,0 -BRDA:82,26,0,0 -BRDA:82,26,1,0 -BRDA:82,27,0,0 -BRDA:82,27,1,0 -BRDA:87,28,0,0 -BRDA:87,28,1,0 -BRDA:87,29,0,0 -BRDA:87,29,1,0 -BRDA:91,30,0,0 -BRDA:91,30,1,0 -BRF:62 -BRH:10 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/picker/src/draggable.js -FN:7,(anonymous_1) -FN:8,moveFn -FN:14,endFn -FN:29,(anonymous_4) -FN:31,(anonymous_5) -FN:34,(anonymous_6) -FN:61,_interopRequireDefault -FNF:7 -FNH:1 -FNDA:0,(anonymous_1) -FNDA:0,moveFn -FNDA:0,endFn -FNDA:0,(anonymous_4) -FNDA:0,(anonymous_5) -FNDA:0,(anonymous_6) -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -DA:3,1 -DA:5,1 -DA:8,0 -DA:9,0 -DA:10,0 -DA:14,0 -DA:15,0 -DA:16,0 -DA:17,0 -DA:19,0 -DA:20,0 -DA:22,0 -DA:24,0 -DA:25,0 -DA:29,0 -DA:30,0 -DA:31,0 -DA:32,0 -DA:34,0 -DA:35,0 -DA:36,0 -DA:38,0 -DA:40,0 -DA:41,0 -DA:42,0 -DA:46,0 -DA:47,0 -DA:48,0 -DA:49,0 -LF:31 -LH:4 -BRDA:9,1,0,0 -BRDA:9,1,1,0 -BRDA:10,2,0,0 -BRDA:10,2,1,0 -BRDA:10,3,0,0 -BRDA:10,3,1,0 -BRDA:15,4,0,0 -BRDA:15,4,1,0 -BRDA:24,5,0,0 -BRDA:24,5,1,0 -BRDA:25,6,0,0 -BRDA:25,6,1,0 -BRDA:25,7,0,0 -BRDA:25,7,1,0 -BRDA:29,8,0,0 -BRDA:29,8,1,0 -BRDA:30,9,0,0 -BRDA:30,9,1,0 -BRDA:38,10,0,0 -BRDA:38,10,1,0 -BRDA:44,11,0,0 -BRDA:44,11,1,0 -BRDA:46,12,0,0 -BRDA:46,12,1,0 -BRDA:46,13,0,0 -BRDA:46,13,1,0 -BRDA:50,14,0,0 -BRDA:50,14,1,0 -BRDA:61,15,0,0 -BRDA:61,15,1,1 -BRDA:61,16,0,1 -BRDA:61,16,1,1 -BRDA:65,17,0,1 -BRDA:65,17,1,1 -BRF:34 -BRH:6 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/radio-group/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/radio/src/radio-group.vue -FN:22,value -FNF:1 -FNH:0 -FNDA:0,value -DA:0,1 -DA:18,0 -LF:2 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/waterfall/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,1 -BRDA:11,1,1,0 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/waterfall/src/main.js -FN:15,_interopRequireDefault -FN:17,install -FNF:2 -FNH:2 -FNDA:2,_interopRequireDefault -FNDA:1,install -DA:0,2 -DA:1,1 -DA:2,1 -DA:4,1 -DA:5,1 -DA:6,1 -DA:9,1 -DA:10,1 -DA:13,1 -LF:9 -LH:9 -BRDA:15,1,0,1 -BRDA:15,1,1,1 -BRDA:15,2,0,2 -BRDA:15,2,1,2 -BRDA:22,3,0,1 -BRDA:22,3,1,0 -BRF:6 -BRH:5 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/waterfall/src/directive.js -FN:7,(anonymous_1) -FN:9,bind -FN:19,(anonymous_3) -FN:25,update -FN:28,unbind -FN:39,_interopRequireDefault -FN:46,doBindEvent -FN:55,(anonymous_8) -FN:71,handleScrollEvent -FNF:9 -FNH:2 -FNDA:2,(anonymous_1) -FNDA:0,bind -FNDA:0,(anonymous_3) -FNDA:0,update -FNDA:0,unbind -FNDA:1,_interopRequireDefault -FNDA:0,doBindEvent -FNDA:0,(anonymous_8) -FNDA:0,handleScrollEvent -DA:0,1 -DA:1,1 -DA:3,1 -DA:4,1 -DA:8,1 -DA:9,0 -DA:10,0 -DA:12,0 -DA:13,0 -DA:14,0 -DA:15,0 -DA:16,0 -DA:18,0 -DA:20,0 -DA:22,0 -DA:23,0 -DA:25,0 -DA:27,0 -DA:31,1 -DA:32,0 -DA:33,0 -DA:36,0 -DA:38,0 -DA:39,0 -DA:42,0 -DA:43,0 -DA:44,0 -DA:46,0 -DA:47,0 -DA:49,0 -DA:50,0 -DA:54,0 -DA:55,0 -DA:56,0 -DA:58,0 -DA:59,0 -DA:61,0 -DA:62,0 -DA:67,2 -DA:69,0 -DA:70,0 -DA:76,0 -DA:78,0 -DA:79,0 -DA:80,0 -DA:86,0 -DA:90,0 -DA:91,0 -LF:48 -LH:7 -BRDA:10,1,0,0 -BRDA:10,1,1,0 -BRDA:20,2,0,0 -BRDA:20,2,1,0 -BRDA:39,3,0,1 -BRDA:39,3,1,0 -BRDA:39,4,0,1 -BRDA:39,4,1,1 -BRDA:54,5,0,0 -BRDA:54,5,1,0 -BRDA:63,6,0,0 -BRDA:63,6,1,0 -BRDA:76,7,0,0 -BRDA:76,7,1,0 -BRDA:83,8,0,0 -BRDA:83,8,1,0 -BRDA:89,9,0,0 -BRDA:89,9,1,0 -BRDA:90,10,0,0 -BRDA:90,10,1,0 -BRDA:95,11,0,0 -BRDA:95,11,1,0 -BRDA:101,12,0,0 -BRDA:101,12,1,0 -BRDA:102,13,0,0 -BRDA:102,13,1,0 -BRF:26 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/waterfall/src/utils.js -FN:7,debounce -FN:9,(anonymous_2) -FN:13,later -FN:31,getScrollEventTarget -FN:46,isAttached -FN:62,getScrollTop -FN:68,getElementTop -FN:74,getVisibleHeight -FNF:8 -FNH:0 -FNDA:0,debounce -FNDA:0,(anonymous_2) -FNDA:0,later -FNDA:0,getScrollEventTarget -FNDA:0,isAttached -FNDA:0,getScrollTop -FNDA:0,getElementTop -FNDA:0,getVisibleHeight -DA:0,1 -DA:3,0 -DA:4,0 -DA:5,0 -DA:6,0 -DA:7,0 -DA:8,0 -DA:9,0 -DA:10,0 -DA:11,0 -DA:13,0 -DA:14,0 -DA:17,0 -DA:18,0 -DA:20,0 -DA:26,0 -DA:28,0 -DA:29,0 -DA:30,0 -DA:31,0 -DA:33,0 -DA:35,0 -DA:40,0 -DA:41,0 -DA:42,0 -DA:43,0 -DA:45,0 -DA:46,0 -DA:48,0 -DA:50,0 -DA:55,0 -DA:60,0 -DA:61,0 -DA:63,0 -DA:67,0 -DA:68,0 -DA:71,0 -LF:37 -LH:1 -BRDA:15,1,0,0 -BRDA:15,1,1,0 -BRDA:22,2,0,0 -BRDA:22,2,1,0 -BRDA:34,3,0,0 -BRDA:34,3,1,0 -BRDA:34,3,2,0 -BRDA:34,3,3,0 -BRDA:36,4,0,0 -BRDA:36,4,1,0 -BRDA:36,5,0,0 -BRDA:36,5,1,0 -BRDA:49,6,0,0 -BRDA:49,6,1,0 -BRDA:52,7,0,0 -BRDA:52,7,1,0 -BRDA:63,8,0,0 -BRDA:63,8,1,0 -BRDA:69,9,0,0 -BRDA:69,9,1,0 -BRDA:75,10,0,0 -BRDA:75,10,1,0 -BRF:22 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/loading/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/loading/src/loading.vue -FNF:0 -FNH:0 -DA:0,1 -LF:1 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/panel/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/panel/src/panel.vue -FNF:0 -FNH:0 -DA:0,1 -LF:1 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/card/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/card/src/card.vue -FNF:0 -FNH:0 -DA:0,1 -LF:1 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/steps/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/steps/src/steps.vue -FN:17,data -FNF:1 -FNH:0 -FNDA:0,data -DA:0,1 -DA:13,0 -LF:2 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/tag/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/tag/src/main.vue -FNF:0 -FNH:0 -DA:0,1 -LF:1 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/checkbox/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/checkbox/src/checkbox.vue -FN:11,_interopRequireDefault -FN:28,isGroup -FN:37,get -FN:40,set -FN:64,isChecked -FN:76,isDisabled -FNF:6 -FNH:1 -FNDA:1,_interopRequireDefault -FNDA:0,isGroup -FNDA:0,get -FNDA:0,set -FNDA:0,isChecked -FNDA:0,isDisabled -DA:0,1 -DA:26,1 -DA:44,0 -DA:52,0 -DA:56,0 -DA:57,0 -DA:58,0 -DA:59,0 -DA:60,0 -DA:61,0 -DA:64,0 -DA:65,0 -DA:66,0 -DA:67,0 -DA:71,0 -DA:80,0 -DA:81,0 -DA:82,0 -DA:83,0 -DA:91,0 -LF:20 -LH:2 -BRDA:11,1,0,1 -BRDA:11,1,1,0 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRDA:38,3,0,0 -BRDA:38,3,1,0 -BRDA:38,4,0,0 -BRDA:38,4,1,0 -BRDA:41,5,0,0 -BRDA:41,5,1,0 -BRDA:41,6,0,0 -BRDA:41,6,1,0 -BRDA:43,7,0,0 -BRDA:43,7,1,0 -BRDA:44,8,0,0 -BRDA:44,8,1,0 -BRDA:50,9,0,0 -BRDA:50,9,1,0 -BRDA:65,10,0,0 -BRDA:65,10,1,0 -BRDA:67,11,0,0 -BRDA:67,11,1,0 -BRDA:77,12,0,0 -BRDA:77,12,1,0 -BRDA:77,13,0,0 -BRDA:77,13,1,0 -BRDA:77,14,0,0 -BRDA:77,14,1,0 -BRF:28 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/checkbox-group/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/checkbox/src/checkbox-group.vue -FN:22,value -FNF:1 -FNH:0 -FNDA:0,value -DA:0,1 -DA:18,0 -LF:2 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/badge-group/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/badge/src/badge-group.vue -FN:24,data -FNF:1 -FNH:0 -FNDA:0,data -DA:0,1 -DA:20,0 -LF:2 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/badge/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/badge/src/badge.vue -FN:33,handleClick -FN:38,classNames -FNF:2 -FNH:0 -FNDA:0,handleClick -FNDA:0,classNames -DA:0,1 -DA:29,0 -DA:34,0 -LF:3 -LH:1 -BRF:0 -BRH:0 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/search/index.js -FN:11,_interopRequireDefault -FNF:1 -FNH:1 -FNDA:1,_interopRequireDefault -DA:0,1 -DA:1,1 -LF:2 -LH:2 -BRDA:11,1,0,0 -BRDA:11,1,1,1 -BRDA:11,2,0,1 -BRDA:11,2,1,1 -BRF:4 -BRH:4 -end_of_record -TN: -SF:/Users/chenyao/youzan/oxygen/packages/search/src/search.vue -FN:24,data -FN:34,update -FN:42,handleFocus -FN:46,handleClean -FN:51,handleBack -FN:57,handleSearch -FNF:6 -FNH:0 -FNDA:0,data -FNDA:0,update -FNDA:0,handleFocus -FNDA:0,handleClean -FNDA:0,handleBack -FNDA:0,handleSearch -DA:0,1 -DA:20,0 -DA:29,0 -DA:36,0 -DA:40,0 -DA:41,0 -DA:45,0 -DA:46,0 -DA:47,0 -DA:51,0 -LF:10 -LH:1 -BRDA:35,1,0,0 -BRDA:35,1,1,0 -BRF:2 -BRH:0 -end_of_record