iov-design 2.15.45 → 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.
- package/lib/alert.js +2 -2
- package/lib/aside.js +2 -2
- package/lib/autocomplete.js +2 -2
- package/lib/avatar.js +2 -2
- package/lib/backtop.js +2 -2
- package/lib/badge.js +2 -2
- package/lib/breadcrumb-item.js +2 -2
- package/lib/breadcrumb.js +2 -2
- package/lib/button-group.js +2 -2
- package/lib/button.js +2 -2
- package/lib/calendar.js +4 -4
- package/lib/card.js +2 -2
- package/lib/carousel-item.js +2 -2
- package/lib/carousel.js +16 -16
- package/lib/cascader-panel.js +6 -6
- package/lib/cascader.js +96 -96
- package/lib/checkbox-button.js +2 -2
- package/lib/checkbox-group.js +2 -2
- package/lib/checkbox.js +2 -2
- package/lib/col.js +2 -2
- package/lib/collapse-item.js +23 -23
- package/lib/collapse.js +2 -2
- package/lib/color-picker.js +2 -2
- package/lib/container.js +2 -2
- package/lib/date-picker.js +70 -91
- package/lib/descriptions-item.js +2 -2
- package/lib/descriptions.js +2 -2
- package/lib/dialog.js +58 -12
- package/lib/divider.js +2 -2
- package/lib/dropdown-item.js +2 -2
- package/lib/dropdown-menu.js +2 -2
- package/lib/dropdown.js +11 -11
- package/lib/empty.js +13 -10
- package/lib/footer.js +2 -2
- package/lib/form-item.js +4 -4
- package/lib/form.js +2 -2
- package/lib/header.js +2 -2
- package/lib/icon.js +2 -2
- package/lib/image.js +9 -9
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +2 -2
- package/lib/input-number.js +62 -62
- package/lib/iov-design.common.js +1027 -173
- package/lib/link.js +2 -2
- package/lib/loading.js +11 -11
- package/lib/main.js +2 -2
- package/lib/menu-item-group.js +2 -2
- package/lib/menu-item.js +65 -65
- package/lib/menu.js +2 -2
- package/lib/message-box.js +11 -11
- package/lib/message.js +15 -15
- package/lib/notification.js +9 -9
- package/lib/option-group.js +2 -2
- package/lib/option.js +4 -4
- package/lib/page-header.js +2 -2
- package/lib/pagination.js +6 -6
- package/lib/popconfirm.js +24 -24
- package/lib/popover.js +9 -9
- package/lib/progress.js +2 -2
- package/lib/radio-button.js +2 -2
- package/lib/radio-group.js +2 -2
- package/lib/radio.js +9 -9
- package/lib/rate.js +23 -23
- package/lib/result.js +2 -2
- package/lib/row.js +2 -2
- package/lib/scrollbar.js +4 -4
- package/lib/select.js +18 -18
- package/lib/skeleton-item.js +2 -2
- package/lib/skeleton.js +2 -2
- package/lib/slider.js +4 -4
- package/lib/spinner.js +2 -2
- package/lib/static/excel.f44318e.png +0 -0
- package/lib/static/excel.f44318e0.png +0 -0
- package/lib/static/file.4ed3551.png +0 -0
- package/lib/static/file.4ed35511.png +0 -0
- package/lib/static/img.cd179e5.png +0 -0
- package/lib/static/img.cd179e5b.png +0 -0
- package/lib/static/pdf.79cb57f.png +0 -0
- package/lib/static/pdf.79cb57f8.png +0 -0
- package/lib/static/ppt.eed4918.png +0 -0
- package/lib/static/ppt.eed4918e.png +0 -0
- package/lib/static/word.35070ef.png +0 -0
- package/lib/static/word.35070ef0.png +0 -0
- package/lib/static/zip.dca21a8.png +0 -0
- package/lib/static/zip.dca21a88.png +0 -0
- package/lib/statistic.js +4 -4
- package/lib/step.js +2 -2
- package/lib/steps.js +9 -9
- package/lib/submenu.js +4 -4
- package/lib/switch.js +2 -2
- package/lib/tab-pane.js +2 -2
- package/lib/table-column.js +2 -2
- package/lib/table.js +23 -15
- package/lib/tabs.js +2 -2
- package/lib/tag.js +2 -2
- package/lib/theme-chalk/alert.css +1 -1
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/dialog.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/iovfont.css +1 -1
- package/lib/theme-chalk/message.css +1 -1
- package/lib/theme-chalk/notification.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/time-picker.js +12 -12
- package/lib/time-select.js +9 -9
- package/lib/timeline-item.js +2 -2
- package/lib/timeline.js +2 -2
- package/lib/tooltip.js +2 -2
- package/lib/transfer.js +11 -11
- package/lib/tree.js +2 -2
- package/lib/upload.js +920 -119
- package/package.json +1 -1
- package/packages/dialog/src/component.vue +44 -4
- package/packages/empty/src/index.vue +4 -1
- package/packages/message/src/main.js +1 -1
- package/packages/message/src/main.vue +6 -6
- package/packages/tabs/src/tabs.vue +196 -196
- package/packages/theme-chalk/src/alert.scss +21 -18
- package/packages/theme-chalk/src/assets/img_fail.png +0 -0
- package/packages/theme-chalk/src/assets/img_placeholder.png +0 -0
- package/packages/theme-chalk/src/common/var.scss +1 -34
- package/packages/theme-chalk/src/dialog.scss +20 -6
- package/packages/theme-chalk/src/iovfont.scss +3 -3
- package/packages/theme-chalk/src/message-box.scss +207 -207
- package/packages/theme-chalk/src/message.scss +28 -37
- package/packages/theme-chalk/src/tabs.scss +686 -686
- package/packages/theme-chalk/src/upload.scss +568 -603
- package/packages/upload/src/assets/excel.png +0 -0
- package/packages/upload/src/assets/file.png +0 -0
- package/packages/upload/src/assets/img.png +0 -0
- package/packages/upload/src/assets/pdf.png +0 -0
- package/packages/upload/src/assets/ppt.png +0 -0
- package/packages/upload/src/assets/word.png +0 -0
- package/packages/upload/src/assets/zip.png +0 -0
- package/packages/upload/src/index.vue +73 -5
- package/packages/upload/src/upload-file.vue +90 -0
- package/packages/upload/src/upload-list.vue +52 -50
- package/packages/upload/src/upload-picture.vue +90 -0
- package/packages/upload/src/upload.vue +231 -211
- package/packages/upload/src/utils.js +30 -0
- package/src/index.js +1 -1
package/lib/collapse-item.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 131);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -189,28 +189,7 @@ function normalizeComponent (
|
|
|
189
189
|
|
|
190
190
|
/***/ }),
|
|
191
191
|
|
|
192
|
-
/***/
|
|
193
|
-
/***/ (function(module, exports) {
|
|
194
|
-
|
|
195
|
-
module.exports = require("iov-design/lib/transitions/collapse-transition");
|
|
196
|
-
|
|
197
|
-
/***/ }),
|
|
198
|
-
|
|
199
|
-
/***/ 3:
|
|
200
|
-
/***/ (function(module, exports) {
|
|
201
|
-
|
|
202
|
-
module.exports = require("iov-design/lib/utils/util");
|
|
203
|
-
|
|
204
|
-
/***/ }),
|
|
205
|
-
|
|
206
|
-
/***/ 4:
|
|
207
|
-
/***/ (function(module, exports) {
|
|
208
|
-
|
|
209
|
-
module.exports = require("iov-design/lib/mixins/emitter");
|
|
210
|
-
|
|
211
|
-
/***/ }),
|
|
212
|
-
|
|
213
|
-
/***/ 90:
|
|
192
|
+
/***/ 131:
|
|
214
193
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
215
194
|
|
|
216
195
|
"use strict";
|
|
@@ -491,6 +470,27 @@ collapse_item.install = function (Vue) {
|
|
|
491
470
|
|
|
492
471
|
/* harmony default export */ var packages_collapse_item = __webpack_exports__["default"] = (collapse_item);
|
|
493
472
|
|
|
473
|
+
/***/ }),
|
|
474
|
+
|
|
475
|
+
/***/ 28:
|
|
476
|
+
/***/ (function(module, exports) {
|
|
477
|
+
|
|
478
|
+
module.exports = require("iov-design/lib/transitions/collapse-transition");
|
|
479
|
+
|
|
480
|
+
/***/ }),
|
|
481
|
+
|
|
482
|
+
/***/ 3:
|
|
483
|
+
/***/ (function(module, exports) {
|
|
484
|
+
|
|
485
|
+
module.exports = require("iov-design/lib/utils/util");
|
|
486
|
+
|
|
487
|
+
/***/ }),
|
|
488
|
+
|
|
489
|
+
/***/ 4:
|
|
490
|
+
/***/ (function(module, exports) {
|
|
491
|
+
|
|
492
|
+
module.exports = require("iov-design/lib/mixins/emitter");
|
|
493
|
+
|
|
494
494
|
/***/ })
|
|
495
495
|
|
|
496
496
|
/******/ });
|
package/lib/collapse.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 133);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -189,7 +189,7 @@ function normalizeComponent (
|
|
|
189
189
|
|
|
190
190
|
/***/ }),
|
|
191
191
|
|
|
192
|
-
/***/
|
|
192
|
+
/***/ 133:
|
|
193
193
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
194
194
|
|
|
195
195
|
"use strict";
|
package/lib/color-picker.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 63);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -224,7 +224,7 @@ module.exports = require("iov-design/lib/utils/vue-popper");
|
|
|
224
224
|
|
|
225
225
|
/***/ }),
|
|
226
226
|
|
|
227
|
-
/***/
|
|
227
|
+
/***/ 63:
|
|
228
228
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
229
229
|
|
|
230
230
|
"use strict";
|
package/lib/container.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 91);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -189,7 +189,7 @@ function normalizeComponent (
|
|
|
189
189
|
|
|
190
190
|
/***/ }),
|
|
191
191
|
|
|
192
|
-
/***/
|
|
192
|
+
/***/ 91:
|
|
193
193
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
194
194
|
|
|
195
195
|
"use strict";
|
package/lib/date-picker.js
CHANGED
|
@@ -82,11 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 64);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
|
-
/******/ (
|
|
89
|
-
|
|
88
|
+
/******/ ({
|
|
89
|
+
|
|
90
|
+
/***/ 0:
|
|
90
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
91
92
|
|
|
92
93
|
"use strict";
|
|
@@ -187,93 +188,50 @@ function normalizeComponent (
|
|
|
187
188
|
|
|
188
189
|
|
|
189
190
|
/***/ }),
|
|
190
|
-
|
|
191
|
+
|
|
192
|
+
/***/ 1:
|
|
191
193
|
/***/ (function(module, exports) {
|
|
192
194
|
|
|
193
195
|
module.exports = require("iov-design/lib/utils/date-util");
|
|
194
196
|
|
|
195
197
|
/***/ }),
|
|
196
|
-
/* 2 */
|
|
197
|
-
/***/ (function(module, exports) {
|
|
198
|
-
|
|
199
|
-
module.exports = require("iov-design/lib/utils/dom");
|
|
200
198
|
|
|
201
|
-
/***/
|
|
202
|
-
/* 3 */
|
|
199
|
+
/***/ 10:
|
|
203
200
|
/***/ (function(module, exports) {
|
|
204
201
|
|
|
205
|
-
module.exports = require("iov-design/lib/
|
|
202
|
+
module.exports = require("iov-design/lib/input");
|
|
206
203
|
|
|
207
204
|
/***/ }),
|
|
208
|
-
/* 4 */
|
|
209
|
-
/***/ (function(module, exports) {
|
|
210
|
-
|
|
211
|
-
module.exports = require("iov-design/lib/mixins/emitter");
|
|
212
205
|
|
|
213
|
-
/***/
|
|
214
|
-
/* 5 */
|
|
206
|
+
/***/ 12:
|
|
215
207
|
/***/ (function(module, exports) {
|
|
216
208
|
|
|
217
|
-
module.exports = require("iov-design/lib/utils/
|
|
209
|
+
module.exports = require("iov-design/lib/utils/clickoutside");
|
|
218
210
|
|
|
219
211
|
/***/ }),
|
|
220
|
-
/* 6 */,
|
|
221
|
-
/* 7 */
|
|
222
|
-
/***/ (function(module, exports) {
|
|
223
212
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
/***/ }),
|
|
227
|
-
/* 8 */
|
|
213
|
+
/***/ 14:
|
|
228
214
|
/***/ (function(module, exports) {
|
|
229
215
|
|
|
230
|
-
module.exports = require("
|
|
216
|
+
module.exports = require("iov-design/lib/button");
|
|
231
217
|
|
|
232
218
|
/***/ }),
|
|
233
|
-
/* 9 */
|
|
234
|
-
/***/ (function(module, exports) {
|
|
235
|
-
|
|
236
|
-
module.exports = require("iov-design/lib/utils/merge");
|
|
237
219
|
|
|
238
|
-
/***/
|
|
239
|
-
/* 10 */
|
|
220
|
+
/***/ 15:
|
|
240
221
|
/***/ (function(module, exports) {
|
|
241
222
|
|
|
242
|
-
module.exports = require("iov-design/lib/
|
|
223
|
+
module.exports = require("iov-design/lib/scrollbar");
|
|
243
224
|
|
|
244
225
|
/***/ }),
|
|
245
|
-
/* 11 */,
|
|
246
|
-
/* 12 */
|
|
247
|
-
/***/ (function(module, exports) {
|
|
248
226
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
/***/ }),
|
|
252
|
-
/* 13 */,
|
|
253
|
-
/* 14 */
|
|
227
|
+
/***/ 2:
|
|
254
228
|
/***/ (function(module, exports) {
|
|
255
229
|
|
|
256
|
-
module.exports = require("iov-design/lib/
|
|
230
|
+
module.exports = require("iov-design/lib/utils/dom");
|
|
257
231
|
|
|
258
232
|
/***/ }),
|
|
259
|
-
/* 15 */
|
|
260
|
-
/***/ (function(module, exports) {
|
|
261
|
-
|
|
262
|
-
module.exports = require("iov-design/lib/scrollbar");
|
|
263
233
|
|
|
264
|
-
/***/
|
|
265
|
-
/* 16 */,
|
|
266
|
-
/* 17 */,
|
|
267
|
-
/* 18 */,
|
|
268
|
-
/* 19 */,
|
|
269
|
-
/* 20 */,
|
|
270
|
-
/* 21 */,
|
|
271
|
-
/* 22 */,
|
|
272
|
-
/* 23 */,
|
|
273
|
-
/* 24 */,
|
|
274
|
-
/* 25 */,
|
|
275
|
-
/* 26 */,
|
|
276
|
-
/* 27 */
|
|
234
|
+
/***/ 27:
|
|
277
235
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
278
236
|
|
|
279
237
|
"use strict";
|
|
@@ -376,7 +334,7 @@ var locale_ = __webpack_require__(7);
|
|
|
376
334
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
377
335
|
|
|
378
336
|
// EXTERNAL MODULE: ./packages/date-picker/src/basic/time-spinner.vue + 4 modules
|
|
379
|
-
var time_spinner = __webpack_require__(
|
|
337
|
+
var time_spinner = __webpack_require__(35);
|
|
380
338
|
|
|
381
339
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time.vue?vue&type=script&lang=js&
|
|
382
340
|
//
|
|
@@ -600,9 +558,15 @@ component.options.__file = "packages/date-picker/src/panel/time.vue"
|
|
|
600
558
|
/* harmony default export */ var time = __webpack_exports__["a"] = (component.exports);
|
|
601
559
|
|
|
602
560
|
/***/ }),
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
561
|
+
|
|
562
|
+
/***/ 3:
|
|
563
|
+
/***/ (function(module, exports) {
|
|
564
|
+
|
|
565
|
+
module.exports = require("iov-design/lib/utils/util");
|
|
566
|
+
|
|
567
|
+
/***/ }),
|
|
568
|
+
|
|
569
|
+
/***/ 30:
|
|
606
570
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
607
571
|
|
|
608
572
|
"use strict";
|
|
@@ -640,8 +604,8 @@ component.options.__file = "packages/date-picker/src/panel/time.vue"
|
|
|
640
604
|
});
|
|
641
605
|
|
|
642
606
|
/***/ }),
|
|
643
|
-
|
|
644
|
-
|
|
607
|
+
|
|
608
|
+
/***/ 32:
|
|
645
609
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
646
610
|
|
|
647
611
|
"use strict";
|
|
@@ -1842,8 +1806,8 @@ component.options.__file = "packages/date-picker/src/picker.vue"
|
|
|
1842
1806
|
/* harmony default export */ var picker = __webpack_exports__["a"] = (component.exports);
|
|
1843
1807
|
|
|
1844
1808
|
/***/ }),
|
|
1845
|
-
|
|
1846
|
-
|
|
1809
|
+
|
|
1810
|
+
/***/ 35:
|
|
1847
1811
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1848
1812
|
|
|
1849
1813
|
"use strict";
|
|
@@ -2543,29 +2507,22 @@ component.options.__file = "packages/date-picker/src/basic/time-spinner.vue"
|
|
|
2543
2507
|
/* harmony default export */ var time_spinner = __webpack_exports__["a"] = (component.exports);
|
|
2544
2508
|
|
|
2545
2509
|
/***/ }),
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
/* 51 */,
|
|
2563
|
-
/* 52 */,
|
|
2564
|
-
/* 53 */,
|
|
2565
|
-
/* 54 */,
|
|
2566
|
-
/* 55 */,
|
|
2567
|
-
/* 56 */,
|
|
2568
|
-
/* 57 */
|
|
2510
|
+
|
|
2511
|
+
/***/ 4:
|
|
2512
|
+
/***/ (function(module, exports) {
|
|
2513
|
+
|
|
2514
|
+
module.exports = require("iov-design/lib/mixins/emitter");
|
|
2515
|
+
|
|
2516
|
+
/***/ }),
|
|
2517
|
+
|
|
2518
|
+
/***/ 5:
|
|
2519
|
+
/***/ (function(module, exports) {
|
|
2520
|
+
|
|
2521
|
+
module.exports = require("iov-design/lib/utils/vue-popper");
|
|
2522
|
+
|
|
2523
|
+
/***/ }),
|
|
2524
|
+
|
|
2525
|
+
/***/ 64:
|
|
2569
2526
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2570
2527
|
|
|
2571
2528
|
"use strict";
|
|
@@ -6390,5 +6347,27 @@ date_picker.install = function install(Vue) {
|
|
|
6390
6347
|
|
|
6391
6348
|
/* harmony default export */ var packages_date_picker = __webpack_exports__["default"] = (date_picker);
|
|
6392
6349
|
|
|
6350
|
+
/***/ }),
|
|
6351
|
+
|
|
6352
|
+
/***/ 7:
|
|
6353
|
+
/***/ (function(module, exports) {
|
|
6354
|
+
|
|
6355
|
+
module.exports = require("iov-design/lib/mixins/locale");
|
|
6356
|
+
|
|
6357
|
+
/***/ }),
|
|
6358
|
+
|
|
6359
|
+
/***/ 8:
|
|
6360
|
+
/***/ (function(module, exports) {
|
|
6361
|
+
|
|
6362
|
+
module.exports = require("vue");
|
|
6363
|
+
|
|
6364
|
+
/***/ }),
|
|
6365
|
+
|
|
6366
|
+
/***/ 9:
|
|
6367
|
+
/***/ (function(module, exports) {
|
|
6368
|
+
|
|
6369
|
+
module.exports = require("iov-design/lib/utils/merge");
|
|
6370
|
+
|
|
6393
6371
|
/***/ })
|
|
6394
|
-
|
|
6372
|
+
|
|
6373
|
+
/******/ });
|
package/lib/descriptions-item.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 147);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 147:
|
|
91
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
package/lib/descriptions.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 145);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 145:
|
|
91
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
package/lib/dialog.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 109);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -189,14 +189,7 @@ function normalizeComponent (
|
|
|
189
189
|
|
|
190
190
|
/***/ }),
|
|
191
191
|
|
|
192
|
-
/***/
|
|
193
|
-
/***/ (function(module, exports) {
|
|
194
|
-
|
|
195
|
-
module.exports = require("iov-design/lib/mixins/migrating");
|
|
196
|
-
|
|
197
|
-
/***/ }),
|
|
198
|
-
|
|
199
|
-
/***/ 120:
|
|
192
|
+
/***/ 109:
|
|
200
193
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
201
194
|
|
|
202
195
|
"use strict";
|
|
@@ -291,6 +284,7 @@ var render = function() {
|
|
|
291
284
|
? _c(
|
|
292
285
|
"div",
|
|
293
286
|
{
|
|
287
|
+
ref: "body",
|
|
294
288
|
staticClass: "el-dialog__body",
|
|
295
289
|
class:
|
|
296
290
|
_vm.type === "form"
|
|
@@ -304,7 +298,7 @@ var render = function() {
|
|
|
304
298
|
_vm.$slots.footer
|
|
305
299
|
? _c(
|
|
306
300
|
"div",
|
|
307
|
-
{ staticClass: "el-dialog__footer" },
|
|
301
|
+
{ ref: "footer", staticClass: "el-dialog__footer" },
|
|
308
302
|
[_vm._t("footer")],
|
|
309
303
|
2
|
|
310
304
|
)
|
|
@@ -440,7 +434,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
440
434
|
|
|
441
435
|
top: {
|
|
442
436
|
type: String,
|
|
443
|
-
default: '
|
|
437
|
+
default: '50%'
|
|
444
438
|
},
|
|
445
439
|
beforeClose: Function,
|
|
446
440
|
center: {
|
|
@@ -489,7 +483,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
489
483
|
style: function style() {
|
|
490
484
|
var style = {};
|
|
491
485
|
if (!this.fullscreen) {
|
|
492
|
-
style.
|
|
486
|
+
style.top = this.top;
|
|
493
487
|
if (this.width) {
|
|
494
488
|
style.width = this.width;
|
|
495
489
|
}
|
|
@@ -529,10 +523,52 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
529
523
|
this.broadcast('ElDropdownMenu', 'updatePopper');
|
|
530
524
|
},
|
|
531
525
|
afterEnter: function afterEnter() {
|
|
526
|
+
this.onDialogOpened();
|
|
532
527
|
this.$emit('opened');
|
|
533
528
|
},
|
|
534
529
|
afterLeave: function afterLeave() {
|
|
535
530
|
this.$emit('closed');
|
|
531
|
+
},
|
|
532
|
+
onDialogOpened: function onDialogOpened() {
|
|
533
|
+
var _this2 = this;
|
|
534
|
+
|
|
535
|
+
this.$nextTick(function () {
|
|
536
|
+
_this2.checkOverflow();
|
|
537
|
+
_this2.observeContentChanges();
|
|
538
|
+
});
|
|
539
|
+
},
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
// 检查内容是否超过body高度
|
|
543
|
+
checkOverflow: function checkOverflow() {
|
|
544
|
+
var body = this.$refs.body;
|
|
545
|
+
var footer = this.$refs.footer;
|
|
546
|
+
if (!body || !footer) return;
|
|
547
|
+
if (body.scrollHeight > body.clientHeight) {
|
|
548
|
+
footer.classList.add('el-dialog__footer--shadow');
|
|
549
|
+
} else {
|
|
550
|
+
footer.classList.remove('el-dialog__footer--shadow');
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
|
|
554
|
+
// 监听节点变化
|
|
555
|
+
observeContentChanges: function observeContentChanges() {
|
|
556
|
+
var _this3 = this;
|
|
557
|
+
|
|
558
|
+
var body = this.$refs.body;
|
|
559
|
+
if (!body) return;
|
|
560
|
+
if (this._mutationObserver) {
|
|
561
|
+
this._mutationObserver.disconnect();
|
|
562
|
+
}
|
|
563
|
+
this._mutationObserver = new MutationObserver(function () {
|
|
564
|
+
_this3.checkOverflow();
|
|
565
|
+
});
|
|
566
|
+
// 监听子节点及文本节点的内容变化
|
|
567
|
+
this._mutationObserver.observe(body, {
|
|
568
|
+
childList: true,
|
|
569
|
+
subtree: true,
|
|
570
|
+
characterData: true
|
|
571
|
+
});
|
|
536
572
|
}
|
|
537
573
|
},
|
|
538
574
|
|
|
@@ -550,6 +586,9 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
550
586
|
if (this.appendToBody && this.$el && this.$el.parentNode) {
|
|
551
587
|
this.$el.parentNode.removeChild(this.$el);
|
|
552
588
|
}
|
|
589
|
+
if (this._mutationObserver) {
|
|
590
|
+
this._mutationObserver.disconnect();
|
|
591
|
+
}
|
|
553
592
|
}
|
|
554
593
|
});
|
|
555
594
|
// CONCATENATED MODULE: ./packages/dialog/src/component.vue?vue&type=script&lang=js&
|
|
@@ -592,6 +631,13 @@ src_component.install = function (Vue) {
|
|
|
592
631
|
|
|
593
632
|
/***/ }),
|
|
594
633
|
|
|
634
|
+
/***/ 11:
|
|
635
|
+
/***/ (function(module, exports) {
|
|
636
|
+
|
|
637
|
+
module.exports = require("iov-design/lib/mixins/migrating");
|
|
638
|
+
|
|
639
|
+
/***/ }),
|
|
640
|
+
|
|
595
641
|
/***/ 13:
|
|
596
642
|
/***/ (function(module, exports) {
|
|
597
643
|
|
package/lib/divider.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 114);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -189,7 +189,7 @@ function normalizeComponent (
|
|
|
189
189
|
|
|
190
190
|
/***/ }),
|
|
191
191
|
|
|
192
|
-
/***/
|
|
192
|
+
/***/ 114:
|
|
193
193
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
194
194
|
|
|
195
195
|
"use strict";
|
package/lib/dropdown-item.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 113);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -189,7 +189,7 @@ function normalizeComponent (
|
|
|
189
189
|
|
|
190
190
|
/***/ }),
|
|
191
191
|
|
|
192
|
-
/***/
|
|
192
|
+
/***/ 113:
|
|
193
193
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
194
194
|
|
|
195
195
|
"use strict";
|
package/lib/dropdown-menu.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 107);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -189,7 +189,7 @@ function normalizeComponent (
|
|
|
189
189
|
|
|
190
190
|
/***/ }),
|
|
191
191
|
|
|
192
|
-
/***/
|
|
192
|
+
/***/ 107:
|
|
193
193
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
194
194
|
|
|
195
195
|
"use strict";
|
package/lib/dropdown.js
CHANGED
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 141);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -203,7 +203,14 @@ module.exports = require("iov-design/lib/utils/clickoutside");
|
|
|
203
203
|
|
|
204
204
|
/***/ }),
|
|
205
205
|
|
|
206
|
-
/***/
|
|
206
|
+
/***/ 14:
|
|
207
|
+
/***/ (function(module, exports) {
|
|
208
|
+
|
|
209
|
+
module.exports = require("iov-design/lib/button");
|
|
210
|
+
|
|
211
|
+
/***/ }),
|
|
212
|
+
|
|
213
|
+
/***/ 141:
|
|
207
214
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
208
215
|
|
|
209
216
|
"use strict";
|
|
@@ -226,7 +233,7 @@ var button_ = __webpack_require__(14);
|
|
|
226
233
|
var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
227
234
|
|
|
228
235
|
// EXTERNAL MODULE: external "iov-design/lib/button-group"
|
|
229
|
-
var button_group_ = __webpack_require__(
|
|
236
|
+
var button_group_ = __webpack_require__(37);
|
|
230
237
|
var button_group_default = /*#__PURE__*/__webpack_require__.n(button_group_);
|
|
231
238
|
|
|
232
239
|
// EXTERNAL MODULE: external "iov-design/lib/utils/util"
|
|
@@ -611,13 +618,6 @@ dropdown.install = function (Vue) {
|
|
|
611
618
|
|
|
612
619
|
/***/ }),
|
|
613
620
|
|
|
614
|
-
/***/ 14:
|
|
615
|
-
/***/ (function(module, exports) {
|
|
616
|
-
|
|
617
|
-
module.exports = require("iov-design/lib/button");
|
|
618
|
-
|
|
619
|
-
/***/ }),
|
|
620
|
-
|
|
621
621
|
/***/ 3:
|
|
622
622
|
/***/ (function(module, exports) {
|
|
623
623
|
|
|
@@ -625,7 +625,7 @@ module.exports = require("iov-design/lib/utils/util");
|
|
|
625
625
|
|
|
626
626
|
/***/ }),
|
|
627
627
|
|
|
628
|
-
/***/
|
|
628
|
+
/***/ 37:
|
|
629
629
|
/***/ (function(module, exports) {
|
|
630
630
|
|
|
631
631
|
module.exports = require("iov-design/lib/button-group");
|