iov-design 2.15.46 → 2.15.47

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 (128) hide show
  1. package/lib/alert.js +2 -2
  2. package/lib/aside.js +2 -2
  3. package/lib/autocomplete.js +2 -2
  4. package/lib/avatar.js +2 -2
  5. package/lib/backtop.js +2 -2
  6. package/lib/badge.js +2 -2
  7. package/lib/breadcrumb-item.js +2 -2
  8. package/lib/breadcrumb.js +2 -2
  9. package/lib/button-group.js +2 -2
  10. package/lib/button.js +2 -2
  11. package/lib/calendar.js +4 -4
  12. package/lib/card.js +2 -2
  13. package/lib/carousel-item.js +2 -2
  14. package/lib/carousel.js +16 -16
  15. package/lib/cascader-panel.js +6 -6
  16. package/lib/cascader.js +96 -96
  17. package/lib/checkbox-button.js +2 -2
  18. package/lib/checkbox-group.js +2 -2
  19. package/lib/checkbox.js +2 -2
  20. package/lib/col.js +2 -2
  21. package/lib/collapse-item.js +23 -23
  22. package/lib/collapse.js +2 -2
  23. package/lib/color-picker.js +2 -2
  24. package/lib/container.js +2 -2
  25. package/lib/date-picker.js +70 -91
  26. package/lib/descriptions-item.js +2 -2
  27. package/lib/descriptions.js +2 -2
  28. package/lib/dialog.js +9 -9
  29. package/lib/divider.js +2 -2
  30. package/lib/dropdown-item.js +2 -2
  31. package/lib/dropdown-menu.js +2 -2
  32. package/lib/dropdown.js +11 -11
  33. package/lib/empty.js +9 -9
  34. package/lib/footer.js +2 -2
  35. package/lib/form-item.js +4 -4
  36. package/lib/form.js +2 -2
  37. package/lib/header.js +2 -2
  38. package/lib/icon.js +2 -2
  39. package/lib/image.js +9 -9
  40. package/lib/index.js +1 -1
  41. package/lib/infinite-scroll.js +2 -2
  42. package/lib/input-number.js +62 -62
  43. package/lib/iov-design.common.js +968 -163
  44. package/lib/link.js +2 -2
  45. package/lib/loading.js +11 -11
  46. package/lib/main.js +2 -2
  47. package/lib/menu-item-group.js +2 -2
  48. package/lib/menu-item.js +65 -65
  49. package/lib/menu.js +2 -2
  50. package/lib/message-box.js +11 -11
  51. package/lib/message.js +9 -9
  52. package/lib/notification.js +9 -9
  53. package/lib/option-group.js +2 -2
  54. package/lib/option.js +4 -4
  55. package/lib/page-header.js +2 -2
  56. package/lib/pagination.js +6 -6
  57. package/lib/popconfirm.js +24 -24
  58. package/lib/popover.js +9 -9
  59. package/lib/progress.js +2 -2
  60. package/lib/radio-button.js +2 -2
  61. package/lib/radio-group.js +2 -2
  62. package/lib/radio.js +9 -9
  63. package/lib/rate.js +23 -23
  64. package/lib/result.js +2 -2
  65. package/lib/row.js +2 -2
  66. package/lib/scrollbar.js +4 -4
  67. package/lib/select.js +18 -18
  68. package/lib/skeleton-item.js +2 -2
  69. package/lib/skeleton.js +2 -2
  70. package/lib/slider.js +4 -4
  71. package/lib/spinner.js +2 -2
  72. package/lib/static/excel.f44318e.png +0 -0
  73. package/lib/static/excel.f44318e0.png +0 -0
  74. package/lib/static/file.4ed3551.png +0 -0
  75. package/lib/static/file.4ed35511.png +0 -0
  76. package/lib/static/img.cd179e5.png +0 -0
  77. package/lib/static/img.cd179e5b.png +0 -0
  78. package/lib/static/pdf.79cb57f.png +0 -0
  79. package/lib/static/pdf.79cb57f8.png +0 -0
  80. package/lib/static/ppt.eed4918.png +0 -0
  81. package/lib/static/ppt.eed4918e.png +0 -0
  82. package/lib/static/word.35070ef.png +0 -0
  83. package/lib/static/word.35070ef0.png +0 -0
  84. package/lib/static/zip.dca21a8.png +0 -0
  85. package/lib/static/zip.dca21a88.png +0 -0
  86. package/lib/statistic.js +4 -4
  87. package/lib/step.js +2 -2
  88. package/lib/steps.js +9 -9
  89. package/lib/submenu.js +4 -4
  90. package/lib/switch.js +2 -2
  91. package/lib/tab-pane.js +2 -2
  92. package/lib/table-column.js +2 -2
  93. package/lib/table.js +23 -15
  94. package/lib/tabs.js +2 -2
  95. package/lib/tag.js +2 -2
  96. package/lib/theme-chalk/base.css +1 -1
  97. package/lib/theme-chalk/dialog.css +1 -1
  98. package/lib/theme-chalk/index.css +1 -1
  99. package/lib/theme-chalk/iovfont.css +1 -1
  100. package/lib/theme-chalk/upload.css +1 -1
  101. package/lib/time-picker.js +12 -12
  102. package/lib/time-select.js +9 -9
  103. package/lib/timeline-item.js +2 -2
  104. package/lib/timeline.js +2 -2
  105. package/lib/tooltip.js +2 -2
  106. package/lib/transfer.js +11 -11
  107. package/lib/tree.js +2 -2
  108. package/lib/upload.js +920 -119
  109. package/package.json +1 -1
  110. package/packages/theme-chalk/src/assets/img_fail.png +0 -0
  111. package/packages/theme-chalk/src/assets/img_placeholder.png +0 -0
  112. package/packages/theme-chalk/src/dialog.scss +4 -0
  113. package/packages/theme-chalk/src/iovfont.scss +3 -3
  114. package/packages/theme-chalk/src/upload.scss +568 -603
  115. package/packages/upload/src/assets/excel.png +0 -0
  116. package/packages/upload/src/assets/file.png +0 -0
  117. package/packages/upload/src/assets/img.png +0 -0
  118. package/packages/upload/src/assets/pdf.png +0 -0
  119. package/packages/upload/src/assets/ppt.png +0 -0
  120. package/packages/upload/src/assets/word.png +0 -0
  121. package/packages/upload/src/assets/zip.png +0 -0
  122. package/packages/upload/src/index.vue +73 -5
  123. package/packages/upload/src/upload-file.vue +90 -0
  124. package/packages/upload/src/upload-list.vue +52 -50
  125. package/packages/upload/src/upload-picture.vue +90 -0
  126. package/packages/upload/src/upload.vue +231 -211
  127. package/packages/upload/src/utils.js +30 -0
  128. package/src/index.js +1 -1
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 140);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 146);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 140:
90
+ /***/ 146:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 106);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 94);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -196,7 +196,67 @@ module.exports = require("iov-design/lib/input");
196
196
 
197
197
  /***/ }),
198
198
 
199
- /***/ 106:
199
+ /***/ 2:
200
+ /***/ (function(module, exports) {
201
+
202
+ module.exports = require("iov-design/lib/utils/dom");
203
+
204
+ /***/ }),
205
+
206
+ /***/ 22:
207
+ /***/ (function(module, exports) {
208
+
209
+ module.exports = require("iov-design/lib/mixins/focus");
210
+
211
+ /***/ }),
212
+
213
+ /***/ 3:
214
+ /***/ (function(module, exports) {
215
+
216
+ module.exports = require("iov-design/lib/utils/util");
217
+
218
+ /***/ }),
219
+
220
+ /***/ 30:
221
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
222
+
223
+ "use strict";
224
+ /* harmony import */ var iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
225
+ /* harmony import */ var iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__);
226
+ /* harmony import */ var iov_design_src_utils_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
227
+ /* harmony import */ var iov_design_src_utils_util__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(iov_design_src_utils_util__WEBPACK_IMPORTED_MODULE_1__);
228
+
229
+
230
+
231
+ /* harmony default export */ __webpack_exports__["a"] = ({
232
+ bind: function bind(el, binding, vnode) {
233
+ var interval = null;
234
+ var startTime = void 0;
235
+ var maxIntervals = Object(iov_design_src_utils_util__WEBPACK_IMPORTED_MODULE_1__["isMac"])() ? 100 : 200;
236
+ var handler = function handler() {
237
+ return vnode.context[binding.expression].apply();
238
+ };
239
+ var clear = function clear() {
240
+ if (Date.now() - startTime < maxIntervals) {
241
+ handler();
242
+ }
243
+ clearInterval(interval);
244
+ interval = null;
245
+ };
246
+
247
+ Object(iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["on"])(el, 'mousedown', function (e) {
248
+ if (e.button !== 0) return;
249
+ startTime = Date.now();
250
+ Object(iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["once"])(document, 'mouseup', clear);
251
+ clearInterval(interval);
252
+ interval = setInterval(handler, maxIntervals);
253
+ });
254
+ }
255
+ });
256
+
257
+ /***/ }),
258
+
259
+ /***/ 94:
200
260
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
201
261
 
202
262
  "use strict";
@@ -686,66 +746,6 @@ input_number.install = function (Vue) {
686
746
 
687
747
  /* harmony default export */ var packages_input_number = __webpack_exports__["default"] = (input_number);
688
748
 
689
- /***/ }),
690
-
691
- /***/ 2:
692
- /***/ (function(module, exports) {
693
-
694
- module.exports = require("iov-design/lib/utils/dom");
695
-
696
- /***/ }),
697
-
698
- /***/ 22:
699
- /***/ (function(module, exports) {
700
-
701
- module.exports = require("iov-design/lib/mixins/focus");
702
-
703
- /***/ }),
704
-
705
- /***/ 3:
706
- /***/ (function(module, exports) {
707
-
708
- module.exports = require("iov-design/lib/utils/util");
709
-
710
- /***/ }),
711
-
712
- /***/ 30:
713
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
714
-
715
- "use strict";
716
- /* harmony import */ var iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
717
- /* harmony import */ var iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__);
718
- /* harmony import */ var iov_design_src_utils_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
719
- /* harmony import */ var iov_design_src_utils_util__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(iov_design_src_utils_util__WEBPACK_IMPORTED_MODULE_1__);
720
-
721
-
722
-
723
- /* harmony default export */ __webpack_exports__["a"] = ({
724
- bind: function bind(el, binding, vnode) {
725
- var interval = null;
726
- var startTime = void 0;
727
- var maxIntervals = Object(iov_design_src_utils_util__WEBPACK_IMPORTED_MODULE_1__["isMac"])() ? 100 : 200;
728
- var handler = function handler() {
729
- return vnode.context[binding.expression].apply();
730
- };
731
- var clear = function clear() {
732
- if (Date.now() - startTime < maxIntervals) {
733
- handler();
734
- }
735
- clearInterval(interval);
736
- interval = null;
737
- };
738
-
739
- Object(iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["on"])(el, 'mousedown', function (e) {
740
- if (e.button !== 0) return;
741
- startTime = Date.now();
742
- Object(iov_design_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["once"])(document, 'mouseup', clear);
743
- clearInterval(interval);
744
- interval = setInterval(handler, maxIntervals);
745
- });
746
- }
747
- });
748
-
749
749
  /***/ })
750
750
 
751
751
  /******/ });