@mdsfe/mds-ui 0.2.0 → 0.2.9-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/CHANGELOG.md +178 -0
  2. package/README.md +9 -9
  3. package/dist/_mixin/popper.js +1 -0
  4. package/dist/_util/_popper/dom-helper.js +284 -0
  5. package/dist/_util/_popper/popper-mixin.js +35 -0
  6. package/dist/_util/_popper/popper.js +1267 -0
  7. package/dist/_util/_popper/popup/popup-main.js +224 -0
  8. package/dist/_util/_popper/popup/popup-manager.js +205 -0
  9. package/dist/_util/_popper/vue-popper.js +204 -0
  10. package/dist/_util/popup/index.js +1 -1
  11. package/dist/_util/tree/node.js +2 -0
  12. package/dist/_util/tree/tree.js +65 -21
  13. package/dist/_util/util.js +29 -1
  14. package/dist/affix.js +18 -18
  15. package/dist/anchor.js +18 -18
  16. package/dist/avatar.js +17 -17
  17. package/dist/backtop.js +19 -19
  18. package/dist/badge.js +21 -21
  19. package/dist/bordershadow.js +20 -9
  20. package/dist/breadcrumb.js +18 -18
  21. package/dist/button.js +21 -21
  22. package/dist/card.js +18 -18
  23. package/dist/carousel.js +76 -76
  24. package/dist/cascader.js +4980 -0
  25. package/dist/cascaderpanel.js +645 -603
  26. package/dist/checkbox.js +23 -23
  27. package/dist/col.js +14 -14
  28. package/dist/collapse.js +6 -6
  29. package/dist/color.js +6 -6
  30. package/dist/datepicker.js +2487 -266
  31. package/dist/divider.js +19 -19
  32. package/dist/drawer.js +787 -37
  33. package/dist/dropdown.js +150 -104
  34. package/dist/empty.js +19 -19
  35. package/dist/font/iconfont.28359fa.ttf +0 -0
  36. package/dist/font/iconfont.486e3d3.woff2 +0 -0
  37. package/dist/font/iconfont.675049e.woff +0 -0
  38. package/dist/font.js +6 -6
  39. package/dist/form.js +28 -26
  40. package/dist/icon.js +55 -47
  41. package/dist/index.js +1 -1
  42. package/dist/input.js +65 -49
  43. package/dist/inputnumber.js +59 -39
  44. package/dist/layout.js +25 -25
  45. package/dist/list.js +17 -17
  46. package/dist/loading.js +21 -8
  47. package/dist/mds-ui.min.css +3 -3
  48. package/dist/mds-ui.min.js +19183 -15407
  49. package/dist/menu.js +31 -31
  50. package/dist/message.js +773 -24
  51. package/dist/modal.js +1146 -307
  52. package/dist/notification.js +27 -27
  53. package/dist/pagination.js +78 -55
  54. package/dist/popconfirm.js +36 -36
  55. package/dist/popover.js +2778 -48
  56. package/dist/progress.js +107 -65
  57. package/dist/radio.js +56 -54
  58. package/dist/rate.js +67 -59
  59. package/dist/row.js +14 -14
  60. package/dist/select.js +847 -503
  61. package/dist/slider.js +25 -25
  62. package/dist/slottable.js +2663 -129
  63. package/dist/steps.js +18 -18
  64. package/dist/style/affix.css +224 -2
  65. package/dist/style/anchor.css +224 -2
  66. package/dist/style/avatar.css +224 -2
  67. package/dist/style/badge.css +224 -2
  68. package/dist/style/bordershadow.css +236 -59
  69. package/dist/style/breadcrumb.css +224 -2
  70. package/dist/style/button.css +234 -5
  71. package/dist/style/card.css +224 -2
  72. package/dist/style/carousel.css +224 -2
  73. package/dist/style/cascader.css +214 -0
  74. package/dist/style/cascaderpanel.css +13 -16
  75. package/dist/style/checkbox.css +230 -8
  76. package/dist/style/col.css +225 -3
  77. package/dist/style/collapse.css +224 -2
  78. package/dist/style/color.css +224 -2
  79. package/dist/style/datepicker.css +236 -2
  80. package/dist/style/divider.css +227 -2
  81. package/dist/style/drawer.css +224 -2
  82. package/dist/style/dropdown.css +234 -5
  83. package/dist/style/empty.css +224 -2
  84. package/dist/style/font.css +226 -4
  85. package/dist/style/form.css +224 -2
  86. package/dist/style/icon.css +226 -3
  87. package/dist/style/input.css +231 -5
  88. package/dist/style/inputnumber.css +224 -2
  89. package/dist/style/layout.css +224 -2
  90. package/dist/style/list.css +224 -2
  91. package/dist/style/loading.css +2527 -2
  92. package/dist/style/menu.css +340 -129
  93. package/dist/style/message.css +1 -4
  94. package/dist/style/modal.css +247 -25
  95. package/dist/style/notification.css +224 -2
  96. package/dist/style/pagination.css +236 -7
  97. package/dist/style/popconfirm.css +334 -180
  98. package/dist/style/popover.css +324 -177
  99. package/dist/style/progress.css +226 -3
  100. package/dist/style/radio.css +225 -3
  101. package/dist/style/rate.css +226 -3
  102. package/dist/style/row.css +225 -3
  103. package/dist/style/select.css +240 -12
  104. package/dist/style/slider.css +224 -2
  105. package/dist/style/slottable.css +350 -149
  106. package/dist/style/steps.css +224 -2
  107. package/dist/style/switch.css +224 -2
  108. package/dist/style/table.css +458 -314
  109. package/dist/style/tabs.css +225 -18
  110. package/dist/style/tag.css +224 -2
  111. package/dist/style/text.css +224 -2
  112. package/dist/style/timeline.css +224 -2
  113. package/dist/style/timepicker.css +231 -6
  114. package/dist/style/tooltip.css +340 -129
  115. package/dist/style/tree.css +228 -6
  116. package/dist/style/typography.css +224 -2
  117. package/dist/style/upload.css +224 -2
  118. package/dist/switch.js +20 -20
  119. package/dist/table.js +3071 -201
  120. package/dist/tabs.js +24 -22
  121. package/dist/tag.js +17 -23
  122. package/dist/text.js +38 -22
  123. package/dist/timeline.js +14 -14
  124. package/dist/timepicker.js +3063 -172
  125. package/dist/tooltip.js +2550 -27
  126. package/dist/transfer.js +28 -28
  127. package/dist/transition.js +6 -6
  128. package/dist/tree.js +316 -171
  129. package/dist/typography.js +6 -6
  130. package/dist/upload.js +46 -38
  131. package/package.json +9 -5
@@ -105,7 +105,11 @@ var Tree = function () {
105
105
  var recursionChildren = function recursionChildren(node) {
106
106
  var childNodes = node.root ? node.root.childNodes : node.childNodes;
107
107
  childNodes.forEach(function (item) {
108
+ item.searchWords = null;
108
109
  item.visible = _this3.searchNodeMethod.call(item, value, item.data, item);
110
+ if (item.visible) {
111
+ item.searchWords = value;
112
+ }
109
113
  recursionChildren(item);
110
114
  });
111
115
 
@@ -123,7 +127,7 @@ var Tree = function () {
123
127
  }
124
128
 
125
129
  // 节点显示的情况下展开所有子节点
126
- if (node.visible && !node.isLeaf && !_this3.load) {
130
+ if (node.visible && !node.isLeaf && !_this3.load && value) {
127
131
  node.changeExpanded(true);
128
132
  }
129
133
  };
@@ -172,17 +176,49 @@ var Tree = function () {
172
176
  if (!Array.isArray(checkArr)) {
173
177
  throw new Error('需要输入一个key数组');
174
178
  }
175
- checkArr.forEach(function (item) {
176
- _this4.nodesMap.get(item).check = true;
177
- });
179
+ var exec = function exec() {
180
+ _this4.nodesMap.forEach(function (item) {
181
+ item.check = false;
182
+ });
183
+ checkArr.forEach(function (item) {
184
+ _this4.nodesMap.get(item).check = true;
185
+ });
186
+ };
187
+ window.requestAnimationFrame(exec);
178
188
  };
179
189
 
180
190
  Tree.prototype.setChecked = function setChecked(key, checkState) {
181
- var node = this.nodesMap.get(key);
182
- if (!node) {
183
- throw new Error('请输入正确的key');
191
+ var _this5 = this;
192
+
193
+ // 分{key, check}数组和单独传入key两种形式
194
+ var is = function is(val, type) {
195
+ var res = Object.prototype.toString.call(val);
196
+ return res.includes(type);
197
+ };
198
+
199
+ var checkNode = function checkNode(_key, _checkState) {
200
+ var node = _this5.nodesMap.get(_key);
201
+ if (!node) {
202
+ throw new Error('请输入正确的key');
203
+ }
204
+ node.check = _checkState;
205
+ };
206
+
207
+ if (is(key, 'String') && is(checkState, 'Boolean')) {
208
+ checkNode(key, checkState);
209
+ return;
210
+ }
211
+ if (is(key, 'Array') && !checkState) {
212
+ var exec = function exec() {
213
+ key.forEach(function (_ref) {
214
+ var key = _ref.key,
215
+ check = _ref.check;
216
+
217
+ checkNode(key, check);
218
+ });
219
+ };
220
+ window.requestAnimationFrame(exec);
184
221
  }
185
- node.check = checkState;
186
222
  };
187
223
 
188
224
  Tree.prototype.getHalfCheckedNodes = function getHalfCheckedNodes() {
@@ -207,18 +243,18 @@ var Tree = function () {
207
243
 
208
244
  Tree.prototype.getCurrentKey = function getCurrentKey() {
209
245
  for (var _iterator = this.nodesMap.values(), _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) {
210
- var _ref;
246
+ var _ref2;
211
247
 
212
248
  if (_isArray) {
213
249
  if (_i >= _iterator.length) break;
214
- _ref = _iterator[_i++];
250
+ _ref2 = _iterator[_i++];
215
251
  } else {
216
252
  _i = _iterator.next();
217
253
  if (_i.done) break;
218
- _ref = _i.value;
254
+ _ref2 = _i.value;
219
255
  }
220
256
 
221
- var item = _ref;
257
+ var item = _ref2;
222
258
 
223
259
  if (item.selected) {
224
260
  return item.data.key;
@@ -229,18 +265,18 @@ var Tree = function () {
229
265
 
230
266
  Tree.prototype.getCurrentNode = function getCurrentNode() {
231
267
  for (var _iterator2 = this.nodesMap.values(), _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : (0, _getIterator3.default)(_iterator2);;) {
232
- var _ref2;
268
+ var _ref3;
233
269
 
234
270
  if (_isArray2) {
235
271
  if (_i2 >= _iterator2.length) break;
236
- _ref2 = _iterator2[_i2++];
272
+ _ref3 = _iterator2[_i2++];
237
273
  } else {
238
274
  _i2 = _iterator2.next();
239
275
  if (_i2.done) break;
240
- _ref2 = _i2.value;
276
+ _ref3 = _i2.value;
241
277
  }
242
278
 
243
- var item = _ref2;
279
+ var item = _ref3;
244
280
 
245
281
  if (item.selected) {
246
282
  return item.data;
@@ -320,14 +356,14 @@ var Tree = function () {
320
356
  };
321
357
 
322
358
  Tree.prototype.getCheckNodeTree = function getCheckNodeTree() {
323
- var _this5 = this;
359
+ var _this6 = this;
324
360
 
325
361
  var root = this.root;
326
362
 
327
363
  if (Array.isArray(root.data)) {
328
364
  var newTree = [];
329
365
  root.indeterminateChildNodes.forEach(function (item) {
330
- newTree.push(copyNode(item, _this5));
366
+ newTree.push(copyNode(item, _this6));
331
367
  });
332
368
  return newTree;
333
369
  } else {
@@ -351,12 +387,12 @@ var Tree = function () {
351
387
  }
352
388
  };
353
389
 
354
- Tree.prototype.delectNodeByKey = function delectNodeByKey(keys) {
355
- var _this6 = this;
390
+ Tree.prototype.deleteNodeByKey = function deleteNodeByKey(keys) {
391
+ var _this7 = this;
356
392
 
357
393
  if (Array.isArray(keys)) {
358
394
  keys.forEach(function (item) {
359
- var node = _this6.nodesMap.get(item);
395
+ var node = _this7.nodesMap.get(item);
360
396
  if (node) node.remove();
361
397
  });
362
398
  } else {
@@ -365,6 +401,13 @@ var Tree = function () {
365
401
  }
366
402
  };
367
403
 
404
+ Tree.prototype.clearCheckNode = function clearCheckNode() {
405
+ this.nodesMap.forEach(function (item) {
406
+ item.checked = false;
407
+ item.indeterminate = false;
408
+ });
409
+ };
410
+
368
411
  return Tree;
369
412
  }();
370
413
 
@@ -391,6 +434,7 @@ var copyNode = function copyNode(node, tree) {
391
434
  });
392
435
  return newData;
393
436
  };
437
+
394
438
  // const deepCopy = function(o) {
395
439
  // if (o instanceof Array) {
396
440
  // let n = []
@@ -3,6 +3,7 @@
3
3
  exports.__esModule = true;
4
4
  exports.isFunction = exports.getOffsetWidth = exports.escapeRegexpString = exports.assert = exports.isFirefox = exports.isEdge = exports.isIE = exports.coerceTruthyValueToArray = exports.arrayFind = exports.arrayFindIndex = exports.valueEquals = exports.getOffsetLeft = exports.noop = undefined;
5
5
  exports.getValueByPath = getValueByPath;
6
+ exports.fixBodyScroll = fixBodyScroll;
6
7
 
7
8
  var _vue = require('vue');
8
9
 
@@ -10,6 +11,9 @@ var _vue2 = _interopRequireDefault(_vue);
10
11
 
11
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
13
 
14
+ // import { getScrollBarWidth } from './_popper/dom-helper'
15
+ var currentBodyOverflow = '';
16
+ // let currentBodyPaddingRight = ''
13
17
  var noop = exports.noop = function noop() {};
14
18
 
15
19
  var getScroll = function getScroll(w, top) {
@@ -163,4 +167,28 @@ var getOffsetWidth = exports.getOffsetWidth = function getOffsetWidth(node) {
163
167
  var isFunction = exports.isFunction = function isFunction(functionToCheck) {
164
168
  var getType = {};
165
169
  return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
166
- };
170
+ };
171
+
172
+ /**
173
+ * 弹窗类组件显现时修正body滚动
174
+ * @param {Boolean} visible 弹窗显现状态
175
+ */
176
+ function fixBodyScroll(visible) {
177
+ var bodyStyle = document.body.style;
178
+ if (visible) {
179
+ currentBodyOverflow = bodyStyle.overflow;
180
+ // currentBodyPaddingRight = bodyStyle.paddingRight
181
+ bodyStyle.overflow = 'hidden';
182
+ // const basePaddingRight = parseInt(currentBodyPaddingRight || 0)
183
+ // const baseScrollWidth = parseInt(getScrollBarWidth())
184
+ // 防止页面抖动,后续需要自定义滚动条解决
185
+ // bodyStyle.paddingRight = basePaddingRight + baseScrollWidth + 'px'
186
+ } else {
187
+ var timer = setTimeout(function () {
188
+ clearTimeout(timer);
189
+ bodyStyle.overflow = currentBodyOverflow;
190
+ // bodyStyle.paddingRight = currentBodyPaddingRight
191
+ // currentBodyPaddingRight = ''
192
+ }, 180);
193
+ }
194
+ }
package/dist/affix.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("./_util/getScroll")) : factory(root["./_util/getScroll"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__38__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__46__) {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
13
13
  /******/ var installedModules = {};
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 113);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 121);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,14 +203,7 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 1:
207
- /***/ (function(module, exports) {
208
-
209
- module.exports = require("babel-runtime/helpers/defineProperty");
210
-
211
- /***/ }),
212
-
213
- /***/ 113:
206
+ /***/ 121:
214
207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
215
208
 
216
209
  "use strict";
@@ -249,11 +242,11 @@ render._withStripped = true
249
242
  // CONCATENATED MODULE: ./components/affix/affix.vue?vue&type=template&id=30f6e666&
250
243
 
251
244
  // EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
252
- var defineProperty_ = __webpack_require__(1);
245
+ var defineProperty_ = __webpack_require__(3);
253
246
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
254
247
 
255
248
  // EXTERNAL MODULE: external "./_util/getScroll"
256
- var getScroll_ = __webpack_require__(38);
249
+ var getScroll_ = __webpack_require__(46);
257
250
  var getScroll_default = /*#__PURE__*/__webpack_require__.n(getScroll_);
258
251
 
259
252
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/affix/affix.vue?vue&type=script&lang=js&
@@ -465,10 +458,10 @@ if (false) { var api; }
465
458
  component.options.__file = "components/affix/affix.vue"
466
459
  /* harmony default export */ var affix_affix = (component.exports);
467
460
  // EXTERNAL MODULE: ./components/style/index.less
468
- var style = __webpack_require__(131);
461
+ var style = __webpack_require__(139);
469
462
 
470
463
  // EXTERNAL MODULE: ./components/affix/style/index.less
471
- var affix_style = __webpack_require__(133);
464
+ var affix_style = __webpack_require__(145);
472
465
 
473
466
  // CONCATENATED MODULE: ./components/affix/style/index.js
474
467
 
@@ -484,24 +477,31 @@ affix_affix.install = function (Vue) {
484
477
 
485
478
  /***/ }),
486
479
 
487
- /***/ 131:
480
+ /***/ 139:
488
481
  /***/ (function(module, exports) {
489
482
 
490
483
  // removed by extract-text-webpack-plugin
491
484
 
492
485
  /***/ }),
493
486
 
494
- /***/ 133:
487
+ /***/ 145:
495
488
  /***/ (function(module, exports) {
496
489
 
497
490
  // removed by extract-text-webpack-plugin
498
491
 
499
492
  /***/ }),
500
493
 
501
- /***/ 38:
494
+ /***/ 3:
495
+ /***/ (function(module, exports) {
496
+
497
+ module.exports = require("babel-runtime/helpers/defineProperty");
498
+
499
+ /***/ }),
500
+
501
+ /***/ 46:
502
502
  /***/ (function(module, exports) {
503
503
 
504
- module.exports = __WEBPACK_EXTERNAL_MODULE__38__;
504
+ module.exports = __WEBPACK_EXTERNAL_MODULE__46__;
505
505
 
506
506
  /***/ })
507
507
 
package/dist/anchor.js CHANGED
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 96);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 104);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,21 +203,7 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 131:
207
- /***/ (function(module, exports) {
208
-
209
- // removed by extract-text-webpack-plugin
210
-
211
- /***/ }),
212
-
213
- /***/ 135:
214
- /***/ (function(module, exports) {
215
-
216
- // removed by extract-text-webpack-plugin
217
-
218
- /***/ }),
219
-
220
- /***/ 96:
206
+ /***/ 104:
221
207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
222
208
 
223
209
  "use strict";
@@ -225,10 +211,10 @@ function normalizeComponent (
225
211
  __webpack_require__.r(__webpack_exports__);
226
212
 
227
213
  // EXTERNAL MODULE: ./components/style/index.less
228
- var style = __webpack_require__(131);
214
+ var style = __webpack_require__(139);
229
215
 
230
216
  // EXTERNAL MODULE: ./components/anchor/style/index.less
231
- var anchor_style = __webpack_require__(135);
217
+ var anchor_style = __webpack_require__(147);
232
218
 
233
219
  // CONCATENATED MODULE: ./components/anchor/style/index.js
234
220
 
@@ -516,6 +502,20 @@ anchor_anchor.install = function (Vue) {
516
502
 
517
503
  /* harmony default export */ var components_anchor = __webpack_exports__["default"] = (anchor_anchor);
518
504
 
505
+ /***/ }),
506
+
507
+ /***/ 139:
508
+ /***/ (function(module, exports) {
509
+
510
+ // removed by extract-text-webpack-plugin
511
+
512
+ /***/ }),
513
+
514
+ /***/ 147:
515
+ /***/ (function(module, exports) {
516
+
517
+ // removed by extract-text-webpack-plugin
518
+
519
519
  /***/ })
520
520
 
521
521
  /******/ });
package/dist/avatar.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("./_util/proptype")) : factory(root["./_util/proptype"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__3__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__7__) {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
13
13
  /******/ var installedModules = {};
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 114);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 122);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,14 +203,7 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 1:
207
- /***/ (function(module, exports) {
208
-
209
- module.exports = require("babel-runtime/helpers/defineProperty");
210
-
211
- /***/ }),
212
-
213
- /***/ 114:
206
+ /***/ 122:
214
207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
215
208
 
216
209
  "use strict";
@@ -218,10 +211,10 @@ module.exports = require("babel-runtime/helpers/defineProperty");
218
211
  __webpack_require__.r(__webpack_exports__);
219
212
 
220
213
  // EXTERNAL MODULE: ./components/style/index.less
221
- var style = __webpack_require__(131);
214
+ var style = __webpack_require__(139);
222
215
 
223
216
  // EXTERNAL MODULE: ./components/avatar/style/index.less
224
- var avatar_style = __webpack_require__(137);
217
+ var avatar_style = __webpack_require__(149);
225
218
 
226
219
  // CONCATENATED MODULE: ./components/avatar/style/index.js
227
220
 
@@ -260,11 +253,11 @@ render._withStripped = true
260
253
  // CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=1f255a24&
261
254
 
262
255
  // EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
263
- var defineProperty_ = __webpack_require__(1);
256
+ var defineProperty_ = __webpack_require__(3);
264
257
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
265
258
 
266
259
  // EXTERNAL MODULE: external "./_util/proptype"
267
- var proptype_ = __webpack_require__(3);
260
+ var proptype_ = __webpack_require__(7);
268
261
 
269
262
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=script&lang=js&
270
263
 
@@ -412,14 +405,14 @@ avatar.install = function (Vue) {
412
405
 
413
406
  /***/ }),
414
407
 
415
- /***/ 131:
408
+ /***/ 139:
416
409
  /***/ (function(module, exports) {
417
410
 
418
411
  // removed by extract-text-webpack-plugin
419
412
 
420
413
  /***/ }),
421
414
 
422
- /***/ 137:
415
+ /***/ 149:
423
416
  /***/ (function(module, exports) {
424
417
 
425
418
  // removed by extract-text-webpack-plugin
@@ -429,7 +422,14 @@ avatar.install = function (Vue) {
429
422
  /***/ 3:
430
423
  /***/ (function(module, exports) {
431
424
 
432
- module.exports = __WEBPACK_EXTERNAL_MODULE__3__;
425
+ module.exports = require("babel-runtime/helpers/defineProperty");
426
+
427
+ /***/ }),
428
+
429
+ /***/ 7:
430
+ /***/ (function(module, exports) {
431
+
432
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
433
433
 
434
434
  /***/ })
435
435
 
package/dist/backtop.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("./transition"), require("./_util/getScroll"), require("./_util/getRequestAnimationFrame")) : factory(root["./transition"], root["./_util/getScroll"], root["./_util/getRequestAnimationFrame"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__13__, __WEBPACK_EXTERNAL_MODULE__38__, __WEBPACK_EXTERNAL_MODULE__59__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__11__, __WEBPACK_EXTERNAL_MODULE__46__, __WEBPACK_EXTERNAL_MODULE__64__) {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
13
13
  /******/ var installedModules = {};
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 124);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 132);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,7 +203,14 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 124:
206
+ /***/ 11:
207
+ /***/ (function(module, exports) {
208
+
209
+ module.exports = __WEBPACK_EXTERNAL_MODULE__11__;
210
+
211
+ /***/ }),
212
+
213
+ /***/ 132:
207
214
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
208
215
 
209
216
  "use strict";
@@ -268,15 +275,15 @@ render._withStripped = true
268
275
  // CONCATENATED MODULE: ./components/backtop/back-top.vue?vue&type=template&id=0e601a8b&
269
276
 
270
277
  // EXTERNAL MODULE: external "./transition"
271
- var external_transition_ = __webpack_require__(13);
278
+ var external_transition_ = __webpack_require__(11);
272
279
  var external_transition_default = /*#__PURE__*/__webpack_require__.n(external_transition_);
273
280
 
274
281
  // EXTERNAL MODULE: external "./_util/getScroll"
275
- var getScroll_ = __webpack_require__(38);
282
+ var getScroll_ = __webpack_require__(46);
276
283
  var getScroll_default = /*#__PURE__*/__webpack_require__.n(getScroll_);
277
284
 
278
285
  // EXTERNAL MODULE: external "./_util/getRequestAnimationFrame"
279
- var getRequestAnimationFrame_ = __webpack_require__(59);
286
+ var getRequestAnimationFrame_ = __webpack_require__(64);
280
287
  var getRequestAnimationFrame_default = /*#__PURE__*/__webpack_require__.n(getRequestAnimationFrame_);
281
288
 
282
289
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/backtop/back-top.vue?vue&type=script&lang=js&
@@ -424,7 +431,7 @@ if (false) { var api; }
424
431
  component.options.__file = "components/backtop/back-top.vue"
425
432
  /* harmony default export */ var back_top = (component.exports);
426
433
  // EXTERNAL MODULE: ./components/backtop/style/index.less
427
- var style = __webpack_require__(139);
434
+ var style = __webpack_require__(151);
428
435
 
429
436
  // CONCATENATED MODULE: ./components/backtop/index.js
430
437
 
@@ -437,31 +444,24 @@ back_top.install = function (Vue) {
437
444
 
438
445
  /***/ }),
439
446
 
440
- /***/ 13:
441
- /***/ (function(module, exports) {
442
-
443
- module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
444
-
445
- /***/ }),
446
-
447
- /***/ 139:
447
+ /***/ 151:
448
448
  /***/ (function(module, exports) {
449
449
 
450
450
  // removed by extract-text-webpack-plugin
451
451
 
452
452
  /***/ }),
453
453
 
454
- /***/ 38:
454
+ /***/ 46:
455
455
  /***/ (function(module, exports) {
456
456
 
457
- module.exports = __WEBPACK_EXTERNAL_MODULE__38__;
457
+ module.exports = __WEBPACK_EXTERNAL_MODULE__46__;
458
458
 
459
459
  /***/ }),
460
460
 
461
- /***/ 59:
461
+ /***/ 64:
462
462
  /***/ (function(module, exports) {
463
463
 
464
- module.exports = __WEBPACK_EXTERNAL_MODULE__59__;
464
+ module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
465
465
 
466
466
  /***/ })
467
467