iov-design 2.15.48 → 2.15.49
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 +9 -9
- 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 +2 -2
- package/lib/card.js +2 -2
- package/lib/carousel-item.js +2 -2
- package/lib/carousel.js +2 -2
- package/lib/cascader-panel.js +4 -4
- package/lib/cascader.js +11 -11
- 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 +2 -2
- package/lib/collapse.js +2 -2
- package/lib/color-picker.js +2 -2
- package/lib/container.js +2 -2
- package/lib/date-picker.js +90 -69
- package/lib/descriptions-item.js +2 -2
- package/lib/descriptions.js +2 -2
- package/lib/dialog.js +3 -2
- package/lib/divider.js +2 -2
- package/lib/drawer.js +2 -2
- package/lib/dropdown-item.js +2 -2
- package/lib/dropdown-menu.js +2 -2
- package/lib/dropdown.js +9 -9
- package/lib/empty.js +12 -12
- 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 +2 -2
- package/lib/input.js +2 -2
- package/lib/iov-design.common.js +131 -106
- package/lib/link.js +9 -3
- package/lib/loading.js +9 -9
- package/lib/main.js +2 -2
- package/lib/menu-item-group.js +2 -2
- package/lib/menu-item.js +2 -2
- package/lib/menu.js +2 -2
- package/lib/message-box.js +11 -11
- package/lib/message.js +2 -2
- package/lib/notification.js +9 -9
- package/lib/option-group.js +2 -2
- package/lib/option.js +2 -2
- package/lib/page-header.js +2 -2
- package/lib/pagination.js +6 -6
- package/lib/popconfirm.js +4 -4
- package/lib/popover.js +9 -9
- package/lib/progress.js +2 -2
- package/lib/radio-button.js +9 -9
- package/lib/radio-group.js +9 -9
- package/lib/radio.js +14 -6
- package/lib/rate.js +2 -2
- package/lib/result.js +2 -2
- package/lib/row.js +2 -2
- package/lib/scrollbar.js +2 -2
- package/lib/select.js +9 -9
- 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/statistic.js +2 -2
- package/lib/step.js +2 -2
- package/lib/steps.js +2 -2
- package/lib/submenu.js +2 -2
- package/lib/switch.js +9 -9
- package/lib/tab-pane.js +2 -2
- package/lib/table-column.js +2 -2
- package/lib/table.js +25 -21
- package/lib/tabs.js +2 -2
- package/lib/tag.js +2 -2
- package/lib/theme-chalk/button.css +1 -1
- package/lib/theme-chalk/calendar.css +1 -1
- package/lib/theme-chalk/cascader-panel.css +1 -1
- package/lib/theme-chalk/cascader.css +1 -1
- package/lib/theme-chalk/dropdown.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/link.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/message.css +1 -1
- package/lib/theme-chalk/radio.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -1
- package/lib/theme-chalk/table.css +1 -1
- package/lib/theme-chalk/transfer.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/time-picker.js +9 -9
- package/lib/time-select.js +2 -2
- package/lib/timeline-item.js +2 -2
- package/lib/timeline.js +2 -2
- package/lib/tooltip.js +2 -2
- package/lib/transfer.js +9 -9
- package/lib/tree.js +2 -2
- package/lib/upload.js +61 -69
- package/package.json +1 -1
- package/packages/dialog/src/component.vue +1 -0
- package/packages/empty/src/index.vue +10 -10
- package/packages/link/src/main.vue +6 -1
- package/packages/radio/src/radio.vue +4 -2
- package/packages/table/src/table.vue +18 -2
- package/packages/theme-chalk/src/button.scss +2 -1
- package/packages/theme-chalk/src/link.scss +13 -0
- package/packages/theme-chalk/src/message.scss +1 -1
- package/packages/theme-chalk/src/radio.scss +7 -7
- package/packages/theme-chalk/src/table-column.scss +1 -0
- package/packages/theme-chalk/src/table.scss +11 -3
- package/packages/theme-chalk/src/upload.scss +2 -2
- package/packages/upload/src/index.vue +14 -0
- package/packages/upload/src/upload-file.vue +11 -3
- package/packages/upload/src/upload-list.vue +11 -3
- package/packages/upload/src/upload-picture.vue +9 -1
- package/packages/upload/src/utils.js +10 -9
- package/src/index.js +1 -1
- package/lib/static/excel.dc22a8c4.png +0 -1
- 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/file.c0509952.png +0 -1
- package/lib/static/img.8229bb3e.png +0 -1
- 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/pdf.f5235ea1.png +0 -1
- package/lib/static/ppt.5eedddef.png +0 -1
- 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/word.5fe9189c.png +0 -1
- package/lib/static/zip.dca21a8.png +0 -0
- package/lib/static/zip.dca21a88.png +0 -0
- package/lib/static/zip.e2bfc796.png +0 -1
package/lib/infinite-scroll.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 = 139);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 139:
|
|
91
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
package/lib/input-number.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 = 87);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -256,7 +256,7 @@ module.exports = require("iov-design/lib/utils/util");
|
|
|
256
256
|
|
|
257
257
|
/***/ }),
|
|
258
258
|
|
|
259
|
-
/***/
|
|
259
|
+
/***/ 87:
|
|
260
260
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
261
261
|
|
|
262
262
|
"use strict";
|
package/lib/input.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 = 74);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -217,7 +217,7 @@ module.exports = require("iov-design/lib/mixins/emitter");
|
|
|
217
217
|
|
|
218
218
|
/***/ }),
|
|
219
219
|
|
|
220
|
-
/***/
|
|
220
|
+
/***/ 74:
|
|
221
221
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
222
222
|
|
|
223
223
|
"use strict";
|
package/lib/iov-design.common.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 = 47);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -309,115 +309,73 @@ module.exports = require("iov-design/lib/utils/aria-utils");
|
|
|
309
309
|
|
|
310
310
|
/***/ }),
|
|
311
311
|
/* 37 */
|
|
312
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
313
|
-
|
|
314
|
-
module.exports = __webpack_require__.p + "static/zip.e2bfc796.png";
|
|
315
|
-
|
|
316
|
-
/***/ }),
|
|
317
|
-
/* 38 */
|
|
318
312
|
/***/ (function(module, exports) {
|
|
319
313
|
|
|
320
314
|
module.exports = require("throttle-debounce");
|
|
321
315
|
|
|
322
316
|
/***/ }),
|
|
323
|
-
/*
|
|
317
|
+
/* 38 */
|
|
324
318
|
/***/ (function(module, exports) {
|
|
325
319
|
|
|
326
320
|
module.exports = require("iov-design/lib/select");
|
|
327
321
|
|
|
328
322
|
/***/ }),
|
|
329
|
-
/*
|
|
323
|
+
/* 39 */
|
|
330
324
|
/***/ (function(module, exports) {
|
|
331
325
|
|
|
332
326
|
module.exports = require("iov-design/lib/option");
|
|
333
327
|
|
|
334
328
|
/***/ }),
|
|
335
|
-
/*
|
|
329
|
+
/* 40 */
|
|
336
330
|
/***/ (function(module, exports) {
|
|
337
331
|
|
|
338
332
|
module.exports = require("normalize-wheel");
|
|
339
333
|
|
|
340
334
|
/***/ }),
|
|
341
|
-
/*
|
|
335
|
+
/* 41 */
|
|
342
336
|
/***/ (function(module, exports) {
|
|
343
337
|
|
|
344
338
|
module.exports = require("iov-design/lib/utils/aria-dialog");
|
|
345
339
|
|
|
346
340
|
/***/ }),
|
|
347
|
-
/*
|
|
341
|
+
/* 42 */
|
|
348
342
|
/***/ (function(module, exports) {
|
|
349
343
|
|
|
350
344
|
module.exports = require("async-validator");
|
|
351
345
|
|
|
352
346
|
/***/ }),
|
|
353
|
-
/*
|
|
347
|
+
/* 43 */
|
|
354
348
|
/***/ (function(module, exports) {
|
|
355
349
|
|
|
356
350
|
module.exports = require("iov-design/lib/input-number");
|
|
357
351
|
|
|
358
352
|
/***/ }),
|
|
359
|
-
/*
|
|
353
|
+
/* 44 */
|
|
360
354
|
/***/ (function(module, exports) {
|
|
361
355
|
|
|
362
356
|
module.exports = require("iov-design/lib/cascader-panel");
|
|
363
357
|
|
|
364
358
|
/***/ }),
|
|
365
|
-
/*
|
|
359
|
+
/* 45 */
|
|
366
360
|
/***/ (function(module, exports) {
|
|
367
361
|
|
|
368
362
|
module.exports = require("iov-design/lib/radio");
|
|
369
363
|
|
|
370
364
|
/***/ }),
|
|
371
|
-
/*
|
|
365
|
+
/* 46 */
|
|
372
366
|
/***/ (function(module, exports) {
|
|
373
367
|
|
|
374
368
|
module.exports = require("iov-design/lib/popover");
|
|
375
369
|
|
|
376
370
|
/***/ }),
|
|
377
|
-
/*
|
|
378
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
379
|
-
|
|
380
|
-
module.exports = __webpack_require__(55);
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
/***/ }),
|
|
384
|
-
/* 49 */
|
|
385
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
386
|
-
|
|
387
|
-
module.exports = __webpack_require__.p + "static/img.8229bb3e.png";
|
|
388
|
-
|
|
389
|
-
/***/ }),
|
|
390
|
-
/* 50 */
|
|
391
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
392
|
-
|
|
393
|
-
module.exports = __webpack_require__.p + "static/pdf.f5235ea1.png";
|
|
394
|
-
|
|
395
|
-
/***/ }),
|
|
396
|
-
/* 51 */
|
|
397
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
398
|
-
|
|
399
|
-
module.exports = __webpack_require__.p + "static/excel.dc22a8c4.png";
|
|
400
|
-
|
|
401
|
-
/***/ }),
|
|
402
|
-
/* 52 */
|
|
403
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
404
|
-
|
|
405
|
-
module.exports = __webpack_require__.p + "static/ppt.5eedddef.png";
|
|
406
|
-
|
|
407
|
-
/***/ }),
|
|
408
|
-
/* 53 */
|
|
371
|
+
/* 47 */
|
|
409
372
|
/***/ (function(module, exports, __webpack_require__) {
|
|
410
373
|
|
|
411
|
-
module.exports = __webpack_require__
|
|
374
|
+
module.exports = __webpack_require__(48);
|
|
412
375
|
|
|
413
|
-
/***/ }),
|
|
414
|
-
/* 54 */
|
|
415
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
416
|
-
|
|
417
|
-
module.exports = __webpack_require__.p + "static/file.c0509952.png";
|
|
418
376
|
|
|
419
377
|
/***/ }),
|
|
420
|
-
/*
|
|
378
|
+
/* 48 */
|
|
421
379
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
422
380
|
|
|
423
381
|
"use strict";
|
|
@@ -786,11 +744,11 @@ if (false) { var api; }
|
|
|
786
744
|
component.options.__file = "packages/pagination/src/pager.vue"
|
|
787
745
|
/* harmony default export */ var pager = (component.exports);
|
|
788
746
|
// EXTERNAL MODULE: external "iov-design/lib/select"
|
|
789
|
-
var select_ = __webpack_require__(
|
|
747
|
+
var select_ = __webpack_require__(38);
|
|
790
748
|
var select_default = /*#__PURE__*/__webpack_require__.n(select_);
|
|
791
749
|
|
|
792
750
|
// EXTERNAL MODULE: external "iov-design/lib/option"
|
|
793
|
-
var option_ = __webpack_require__(
|
|
751
|
+
var option_ = __webpack_require__(39);
|
|
794
752
|
var option_default = /*#__PURE__*/__webpack_require__.n(option_);
|
|
795
753
|
|
|
796
754
|
// EXTERNAL MODULE: external "iov-design/lib/input"
|
|
@@ -1613,6 +1571,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
1613
1571
|
document.body.appendChild(this.$el);
|
|
1614
1572
|
}
|
|
1615
1573
|
}
|
|
1574
|
+
this.onDialogOpened();
|
|
1616
1575
|
},
|
|
1617
1576
|
destroyed: function destroyed() {
|
|
1618
1577
|
// if appendToBody is true, remove DOM node after destroy
|
|
@@ -5794,15 +5753,21 @@ var radiovue_type_template_id_69cd6268_render = function() {
|
|
|
5794
5753
|
}
|
|
5795
5754
|
},
|
|
5796
5755
|
[
|
|
5797
|
-
|
|
5798
|
-
|
|
5756
|
+
_c(
|
|
5757
|
+
"span",
|
|
5758
|
+
{ staticClass: "el-radio__name" },
|
|
5759
|
+
[
|
|
5760
|
+
_vm._t("default"),
|
|
5761
|
+
!_vm.$slots.default ? [_vm._v(_vm._s(_vm.label))] : _vm._e()
|
|
5762
|
+
],
|
|
5763
|
+
2
|
|
5764
|
+
),
|
|
5799
5765
|
_vm.desc
|
|
5800
5766
|
? _c("p", { staticClass: "el-radio__desc" }, [
|
|
5801
5767
|
_vm._v(_vm._s(_vm.desc))
|
|
5802
5768
|
])
|
|
5803
5769
|
: _vm._e()
|
|
5804
|
-
]
|
|
5805
|
-
2
|
|
5770
|
+
]
|
|
5806
5771
|
)
|
|
5807
5772
|
]
|
|
5808
5773
|
)
|
|
@@ -5864,6 +5829,8 @@ radiovue_type_template_id_69cd6268_render._withStripped = true
|
|
|
5864
5829
|
//
|
|
5865
5830
|
//
|
|
5866
5831
|
//
|
|
5832
|
+
//
|
|
5833
|
+
//
|
|
5867
5834
|
|
|
5868
5835
|
|
|
5869
5836
|
|
|
@@ -9981,11 +9948,7 @@ var tablevue_type_template_id_493fe34e_render = function() {
|
|
|
9981
9948
|
description:
|
|
9982
9949
|
_vm.emptyText || _vm.t("el.table.emptyText"),
|
|
9983
9950
|
type: 1,
|
|
9984
|
-
"image-size":
|
|
9985
|
-
_vm.tableSize
|
|
9986
|
-
)
|
|
9987
|
-
? 86
|
|
9988
|
-
: 108
|
|
9951
|
+
"image-size": _vm.emptySize
|
|
9989
9952
|
}
|
|
9990
9953
|
})
|
|
9991
9954
|
])
|
|
@@ -10322,10 +10285,10 @@ var checkbox_ = __webpack_require__(14);
|
|
|
10322
10285
|
var checkbox_default = /*#__PURE__*/__webpack_require__.n(checkbox_);
|
|
10323
10286
|
|
|
10324
10287
|
// EXTERNAL MODULE: external "throttle-debounce"
|
|
10325
|
-
var external_throttle_debounce_ = __webpack_require__(
|
|
10288
|
+
var external_throttle_debounce_ = __webpack_require__(37);
|
|
10326
10289
|
|
|
10327
10290
|
// EXTERNAL MODULE: external "normalize-wheel"
|
|
10328
|
-
var external_normalize_wheel_ = __webpack_require__(
|
|
10291
|
+
var external_normalize_wheel_ = __webpack_require__(40);
|
|
10329
10292
|
var external_normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(external_normalize_wheel_);
|
|
10330
10293
|
|
|
10331
10294
|
// CONCATENATED MODULE: ./src/directives/mousewheel.js
|
|
@@ -14453,6 +14416,15 @@ var tableIdSeed = 1;
|
|
|
14453
14416
|
tableSize: function tableSize() {
|
|
14454
14417
|
return this.size || (this.$ELEMENT || {}).size;
|
|
14455
14418
|
},
|
|
14419
|
+
emptySize: function emptySize() {
|
|
14420
|
+
var sizeMap = {
|
|
14421
|
+
mini: 70,
|
|
14422
|
+
small: 86,
|
|
14423
|
+
medium: 86,
|
|
14424
|
+
large: 108
|
|
14425
|
+
};
|
|
14426
|
+
return sizeMap[this.tableSize] || 108;
|
|
14427
|
+
},
|
|
14456
14428
|
bodyWrapper: function bodyWrapper() {
|
|
14457
14429
|
return this.$refs.bodyWrapper;
|
|
14458
14430
|
},
|
|
@@ -14532,7 +14504,13 @@ var tableIdSeed = 1;
|
|
|
14532
14504
|
},
|
|
14533
14505
|
emptyBlockStyle: function emptyBlockStyle() {
|
|
14534
14506
|
if (this.data && this.data.length) return null;
|
|
14535
|
-
var
|
|
14507
|
+
var heightMap = {
|
|
14508
|
+
large: '153px',
|
|
14509
|
+
medium: '153px',
|
|
14510
|
+
small: '131px',
|
|
14511
|
+
mini: '99px'
|
|
14512
|
+
};
|
|
14513
|
+
var height = heightMap[this.tableSize] || '153px';
|
|
14536
14514
|
if (this.layout.appendHeight) {
|
|
14537
14515
|
height = 'calc(100% - ' + this.layout.appendHeight + 'px)';
|
|
14538
14516
|
}
|
|
@@ -22935,7 +22913,7 @@ var lib_locale_ = __webpack_require__(12);
|
|
|
22935
22913
|
var lib_locale_default = /*#__PURE__*/__webpack_require__.n(lib_locale_);
|
|
22936
22914
|
|
|
22937
22915
|
// EXTERNAL MODULE: external "iov-design/lib/utils/aria-dialog"
|
|
22938
|
-
var aria_dialog_ = __webpack_require__(
|
|
22916
|
+
var aria_dialog_ = __webpack_require__(41);
|
|
22939
22917
|
var aria_dialog_default = /*#__PURE__*/__webpack_require__.n(aria_dialog_);
|
|
22940
22918
|
|
|
22941
22919
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/message-box/src/main.vue?vue&type=script&lang=js&
|
|
@@ -24088,7 +24066,7 @@ form_itemvue_type_template_id_b6f3db6c_render._withStripped = true
|
|
|
24088
24066
|
// CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=template&id=b6f3db6c&
|
|
24089
24067
|
|
|
24090
24068
|
// EXTERNAL MODULE: external "async-validator"
|
|
24091
|
-
var external_async_validator_ = __webpack_require__(
|
|
24069
|
+
var external_async_validator_ = __webpack_require__(42);
|
|
24092
24070
|
var external_async_validator_default = /*#__PURE__*/__webpack_require__.n(external_async_validator_);
|
|
24093
24071
|
|
|
24094
24072
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/label-wrap.vue?vue&type=script&lang=js&
|
|
@@ -28209,7 +28187,7 @@ mainvue_type_template_id_32708644_render._withStripped = true
|
|
|
28209
28187
|
// CONCATENATED MODULE: ./packages/slider/src/main.vue?vue&type=template&id=32708644&
|
|
28210
28188
|
|
|
28211
28189
|
// EXTERNAL MODULE: external "iov-design/lib/input-number"
|
|
28212
|
-
var input_number_ = __webpack_require__(
|
|
28190
|
+
var input_number_ = __webpack_require__(43);
|
|
28213
28191
|
var input_number_default = /*#__PURE__*/__webpack_require__.n(input_number_);
|
|
28214
28192
|
|
|
28215
28193
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/slider/src/button.vue?vue&type=template&id=e72d2ad2&
|
|
@@ -29668,10 +29646,10 @@ var upload_listvue_type_template_id_173fedf5_render = function() {
|
|
|
29668
29646
|
"el-image",
|
|
29669
29647
|
{
|
|
29670
29648
|
attrs: {
|
|
29671
|
-
src: file.
|
|
29649
|
+
src: file[_vm.fileUrlAlias],
|
|
29672
29650
|
"preview-src-list": _vm.handlePreview
|
|
29673
29651
|
? []
|
|
29674
|
-
: [file.
|
|
29652
|
+
: [file[_vm.fileUrlAlias]],
|
|
29675
29653
|
fit: "contain"
|
|
29676
29654
|
}
|
|
29677
29655
|
},
|
|
@@ -29694,13 +29672,13 @@ var upload_listvue_type_template_id_173fedf5_render = function() {
|
|
|
29694
29672
|
: ["text"].includes(_vm.listType)
|
|
29695
29673
|
? _c("i", {
|
|
29696
29674
|
staticClass: "el-upload-list__icon",
|
|
29697
|
-
style: _vm.iconStyle(file.
|
|
29675
|
+
style: _vm.iconStyle(file[_vm.fileNameAlias])
|
|
29698
29676
|
})
|
|
29699
29677
|
: _vm._e(),
|
|
29700
29678
|
["text", "picture"].includes(_vm.listType)
|
|
29701
29679
|
? _c("div", { staticClass: "el-upload-list__name" }, [
|
|
29702
29680
|
_c("span", { staticClass: "file-name" }, [
|
|
29703
|
-
_vm._v(_vm._s(file.
|
|
29681
|
+
_vm._v(_vm._s(file[_vm.fileNameAlias]))
|
|
29704
29682
|
])
|
|
29705
29683
|
])
|
|
29706
29684
|
: _vm._e()
|
|
@@ -29824,18 +29802,19 @@ var progress_default = /*#__PURE__*/__webpack_require__.n(progress_);
|
|
|
29824
29802
|
|
|
29825
29803
|
// CONCATENATED MODULE: ./packages/upload/src/utils.js
|
|
29826
29804
|
var ICON_MAP = {
|
|
29827
|
-
img:
|
|
29828
|
-
pdf:
|
|
29829
|
-
excel:
|
|
29830
|
-
zip:
|
|
29831
|
-
rar:
|
|
29832
|
-
'7z':
|
|
29833
|
-
ppt:
|
|
29834
|
-
word:
|
|
29835
|
-
default:
|
|
29805
|
+
img: '//obs-helf.cucloud.cn/prod-common-public/iov-design/img.png', // require('./assets/img.png'),
|
|
29806
|
+
pdf: '//obs-helf.cucloud.cn/prod-common-public/iov-design/pdf.png', // require('./assets/pdf.png'),
|
|
29807
|
+
excel: '//obs-helf.cucloud.cn/prod-common-public/iov-design/excel.png', // require('./assets/excel.png'),
|
|
29808
|
+
zip: '//obs-helf.cucloud.cn/prod-common-public/iov-design/zip.png', // require('./assets/zip.png'),
|
|
29809
|
+
rar: '//obs-helf.cucloud.cn/prod-common-public/iov-design/zip.png', // require('./assets/zip.png'),
|
|
29810
|
+
'7z': '//obs-helf.cucloud.cn/prod-common-public/iov-design/zip.png', // require('./assets/zip.png'),
|
|
29811
|
+
ppt: '//obs-helf.cucloud.cn/prod-common-public/iov-design/ppt.png', // require('./assets/ppt.png'),
|
|
29812
|
+
word: '//obs-helf.cucloud.cn/prod-common-public/iov-design/word.png', // require('./assets/word.png'),
|
|
29813
|
+
default: '//obs-helf.cucloud.cn/prod-common-public/iov-design/file.png' // require('./assets/file.png')
|
|
29836
29814
|
};
|
|
29837
29815
|
|
|
29838
29816
|
function iconStyle(fileName) {
|
|
29817
|
+
if (!fileName) return;
|
|
29839
29818
|
var suffixMap = {
|
|
29840
29819
|
img: ['png', 'jpg', 'jpeg'],
|
|
29841
29820
|
word: ['doc', 'docx'],
|
|
@@ -29959,6 +29938,14 @@ function iconStyle(fileName) {
|
|
|
29959
29938
|
return [];
|
|
29960
29939
|
}
|
|
29961
29940
|
},
|
|
29941
|
+
fileNameAlias: {
|
|
29942
|
+
type: String,
|
|
29943
|
+
default: 'name'
|
|
29944
|
+
},
|
|
29945
|
+
fileUrlAlias: {
|
|
29946
|
+
type: String,
|
|
29947
|
+
default: 'url'
|
|
29948
|
+
},
|
|
29962
29949
|
disabled: {
|
|
29963
29950
|
type: Boolean,
|
|
29964
29951
|
default: false
|
|
@@ -30057,8 +30044,10 @@ var upload_filevue_type_template_id_c998d85a_render = function() {
|
|
|
30057
30044
|
"el-image",
|
|
30058
30045
|
{
|
|
30059
30046
|
attrs: {
|
|
30060
|
-
src: file.
|
|
30061
|
-
"preview-src-list": [
|
|
30047
|
+
src: file[_vm.fileUrlAlias],
|
|
30048
|
+
"preview-src-list": [
|
|
30049
|
+
file[_vm.fileUrlAlias]
|
|
30050
|
+
],
|
|
30062
30051
|
fit: "contain"
|
|
30063
30052
|
}
|
|
30064
30053
|
},
|
|
@@ -30081,7 +30070,7 @@ var upload_filevue_type_template_id_c998d85a_render = function() {
|
|
|
30081
30070
|
: ["text"].includes(_vm.listType)
|
|
30082
30071
|
? _c("i", {
|
|
30083
30072
|
staticClass: "el-upload-list__icon",
|
|
30084
|
-
style: _vm.iconStyle(file.
|
|
30073
|
+
style: _vm.iconStyle(file[_vm.fileNameAlias]),
|
|
30085
30074
|
on: {
|
|
30086
30075
|
click: function($event) {
|
|
30087
30076
|
_vm.handleClick(file)
|
|
@@ -30101,7 +30090,7 @@ var upload_filevue_type_template_id_c998d85a_render = function() {
|
|
|
30101
30090
|
},
|
|
30102
30091
|
[
|
|
30103
30092
|
_c("span", { staticClass: "file-name" }, [
|
|
30104
|
-
_vm._v(_vm._s(file.
|
|
30093
|
+
_vm._v(_vm._s(file[_vm.fileNameAlias]))
|
|
30105
30094
|
])
|
|
30106
30095
|
]
|
|
30107
30096
|
),
|
|
@@ -30249,6 +30238,14 @@ upload_filevue_type_template_id_c998d85a_render._withStripped = true
|
|
|
30249
30238
|
return [];
|
|
30250
30239
|
}
|
|
30251
30240
|
},
|
|
30241
|
+
fileNameAlias: {
|
|
30242
|
+
type: String,
|
|
30243
|
+
default: 'name'
|
|
30244
|
+
},
|
|
30245
|
+
fileUrlAlias: {
|
|
30246
|
+
type: String,
|
|
30247
|
+
default: 'url'
|
|
30248
|
+
},
|
|
30252
30249
|
disabled: {
|
|
30253
30250
|
type: Boolean,
|
|
30254
30251
|
default: false
|
|
@@ -30357,10 +30354,10 @@ var upload_picturevue_type_template_id_4be68a77_render = function() {
|
|
|
30357
30354
|
"el-image",
|
|
30358
30355
|
{
|
|
30359
30356
|
attrs: {
|
|
30360
|
-
src: file.
|
|
30357
|
+
src: file[_vm.fileUrlAlias],
|
|
30361
30358
|
"preview-src-list": _vm.handlePreview
|
|
30362
30359
|
? []
|
|
30363
|
-
: [file.
|
|
30360
|
+
: [file[_vm.fileUrlAlias]],
|
|
30364
30361
|
fit: "contain"
|
|
30365
30362
|
}
|
|
30366
30363
|
},
|
|
@@ -30532,6 +30529,14 @@ upload_picturevue_type_template_id_4be68a77_render._withStripped = true
|
|
|
30532
30529
|
return [];
|
|
30533
30530
|
}
|
|
30534
30531
|
},
|
|
30532
|
+
fileNameAlias: {
|
|
30533
|
+
type: String,
|
|
30534
|
+
default: 'name'
|
|
30535
|
+
},
|
|
30536
|
+
fileUrlAlias: {
|
|
30537
|
+
type: String,
|
|
30538
|
+
default: 'url'
|
|
30539
|
+
},
|
|
30535
30540
|
disabled: {
|
|
30536
30541
|
type: Boolean,
|
|
30537
30542
|
default: false
|
|
@@ -31168,6 +31173,14 @@ function srcvue_type_script_lang_js_noop() {}
|
|
|
31168
31173
|
return [];
|
|
31169
31174
|
}
|
|
31170
31175
|
},
|
|
31176
|
+
fileNameAlias: {
|
|
31177
|
+
type: String,
|
|
31178
|
+
name: 'name'
|
|
31179
|
+
},
|
|
31180
|
+
fileUrlAlias: {
|
|
31181
|
+
type: String,
|
|
31182
|
+
name: 'url'
|
|
31183
|
+
},
|
|
31171
31184
|
autoUpload: {
|
|
31172
31185
|
type: Boolean,
|
|
31173
31186
|
default: true
|
|
@@ -31364,6 +31377,8 @@ function srcvue_type_script_lang_js_noop() {}
|
|
|
31364
31377
|
upload_file,
|
|
31365
31378
|
{
|
|
31366
31379
|
attrs: {
|
|
31380
|
+
fileNameAlias: this.fileNameAlias,
|
|
31381
|
+
fileUrlAlias: this.fileUrlAlias,
|
|
31367
31382
|
disabled: this.uploadDisabled,
|
|
31368
31383
|
listType: this.listType,
|
|
31369
31384
|
files: this.uploadFiles,
|
|
@@ -31388,6 +31403,8 @@ function srcvue_type_script_lang_js_noop() {}
|
|
|
31388
31403
|
upload_picture,
|
|
31389
31404
|
{
|
|
31390
31405
|
attrs: {
|
|
31406
|
+
fileNameAlias: this.fileNameAlias,
|
|
31407
|
+
fileUrlAlias: this.fileUrlAlias,
|
|
31391
31408
|
disabled: this.uploadDisabled,
|
|
31392
31409
|
listType: this.listType,
|
|
31393
31410
|
files: this.uploadFiles,
|
|
@@ -31411,6 +31428,8 @@ function srcvue_type_script_lang_js_noop() {}
|
|
|
31411
31428
|
upload_list,
|
|
31412
31429
|
{
|
|
31413
31430
|
attrs: {
|
|
31431
|
+
fileNameAlias: this.fileNameAlias,
|
|
31432
|
+
fileUrlAlias: this.fileUrlAlias,
|
|
31414
31433
|
disabled: this.uploadDisabled,
|
|
31415
31434
|
listType: this.listType,
|
|
31416
31435
|
files: this.uploadFiles,
|
|
@@ -35098,7 +35117,7 @@ cascadervue_type_template_id_032537a6_render._withStripped = true
|
|
|
35098
35117
|
// CONCATENATED MODULE: ./packages/cascader/src/cascader.vue?vue&type=template&id=032537a6&
|
|
35099
35118
|
|
|
35100
35119
|
// EXTERNAL MODULE: external "iov-design/lib/cascader-panel"
|
|
35101
|
-
var cascader_panel_ = __webpack_require__(
|
|
35120
|
+
var cascader_panel_ = __webpack_require__(44);
|
|
35102
35121
|
var cascader_panel_default = /*#__PURE__*/__webpack_require__.n(cascader_panel_);
|
|
35103
35122
|
|
|
35104
35123
|
// EXTERNAL MODULE: external "iov-design/lib/utils/aria-utils"
|
|
@@ -38984,6 +39003,7 @@ var mainvue_type_template_id_01cf3b65_render = function() {
|
|
|
38984
39003
|
class: [
|
|
38985
39004
|
"el-link",
|
|
38986
39005
|
_vm.type ? "el-link--" + _vm.type : "",
|
|
39006
|
+
_vm.size ? "el-link--" + _vm.size : "",
|
|
38987
39007
|
_vm.disabled && "is-disabled",
|
|
38988
39008
|
_vm.underline && !_vm.disabled && "is-underline"
|
|
38989
39009
|
],
|
|
@@ -39034,6 +39054,7 @@ mainvue_type_template_id_01cf3b65_render._withStripped = true
|
|
|
39034
39054
|
//
|
|
39035
39055
|
//
|
|
39036
39056
|
//
|
|
39057
|
+
//
|
|
39037
39058
|
|
|
39038
39059
|
|
|
39039
39060
|
/* harmony default export */ var link_src_mainvue_type_script_lang_js_ = ({
|
|
@@ -39050,7 +39071,11 @@ mainvue_type_template_id_01cf3b65_render._withStripped = true
|
|
|
39050
39071
|
},
|
|
39051
39072
|
disabled: Boolean,
|
|
39052
39073
|
href: String,
|
|
39053
|
-
icon: String
|
|
39074
|
+
icon: String,
|
|
39075
|
+
size: {
|
|
39076
|
+
type: String,
|
|
39077
|
+
default: 'small'
|
|
39078
|
+
}
|
|
39054
39079
|
},
|
|
39055
39080
|
|
|
39056
39081
|
methods: {
|
|
@@ -41249,7 +41274,7 @@ cascader_panelvue_type_template_id_34932346_render._withStripped = true
|
|
|
41249
41274
|
// CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue?vue&type=template&id=34932346&
|
|
41250
41275
|
|
|
41251
41276
|
// EXTERNAL MODULE: external "iov-design/lib/radio"
|
|
41252
|
-
var radio_ = __webpack_require__(
|
|
41277
|
+
var radio_ = __webpack_require__(45);
|
|
41253
41278
|
var radio_default = /*#__PURE__*/__webpack_require__.n(radio_);
|
|
41254
41279
|
|
|
41255
41280
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-node.vue?vue&type=script&lang=js&
|
|
@@ -43401,7 +43426,7 @@ mainvue_type_template_id_048de730_render._withStripped = true
|
|
|
43401
43426
|
// CONCATENATED MODULE: ./packages/popconfirm/src/main.vue?vue&type=template&id=048de730&
|
|
43402
43427
|
|
|
43403
43428
|
// EXTERNAL MODULE: external "iov-design/lib/popover"
|
|
43404
|
-
var popover_ = __webpack_require__(
|
|
43429
|
+
var popover_ = __webpack_require__(46);
|
|
43405
43430
|
var popover_default = /*#__PURE__*/__webpack_require__.n(popover_);
|
|
43406
43431
|
|
|
43407
43432
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/popconfirm/src/main.vue?vue&type=script&lang=js&
|
|
@@ -43917,16 +43942,16 @@ srcvue_type_template_id_347ced91_render._withStripped = true
|
|
|
43917
43942
|
//
|
|
43918
43943
|
|
|
43919
43944
|
var IMG = {
|
|
43920
|
-
0: '//
|
|
43921
|
-
1: '//
|
|
43922
|
-
2: '//
|
|
43923
|
-
3: '//
|
|
43924
|
-
4: '//
|
|
43925
|
-
5: '//
|
|
43926
|
-
6: '//
|
|
43927
|
-
7: '//
|
|
43928
|
-
8: '//
|
|
43929
|
-
9: '//
|
|
43945
|
+
0: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_0.png', // require('./img/0.png'),
|
|
43946
|
+
1: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_1.png', // require('./img/1.png'),
|
|
43947
|
+
2: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_2.png', // require('./img/2.png'),
|
|
43948
|
+
3: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_3.png', // require('./img/4.png'),
|
|
43949
|
+
4: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_4.png', // require('./img/4.png'),
|
|
43950
|
+
5: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_5.png', // require('./img/5.png'),
|
|
43951
|
+
6: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_6.png', // require('./img/6.png'),
|
|
43952
|
+
7: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_7.png', // require('./img/7.png'),
|
|
43953
|
+
8: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_8.png', // require('./img/8.png'),
|
|
43954
|
+
9: '//obs-helf.cucloud.cn/prod-common-public/iov-design/empty_9.png' // require('./img/9.png')
|
|
43930
43955
|
};
|
|
43931
43956
|
|
|
43932
43957
|
|
|
@@ -44904,7 +44929,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
44904
44929
|
}
|
|
44905
44930
|
|
|
44906
44931
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
44907
|
-
version: '2.15.
|
|
44932
|
+
version: '2.15.49',
|
|
44908
44933
|
locale: lib_locale_default.a.use,
|
|
44909
44934
|
i18n: lib_locale_default.a.i18n,
|
|
44910
44935
|
install: src_install,
|
package/lib/link.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 = 104);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -189,7 +189,7 @@ function normalizeComponent (
|
|
|
189
189
|
|
|
190
190
|
/***/ }),
|
|
191
191
|
|
|
192
|
-
/***/
|
|
192
|
+
/***/ 104:
|
|
193
193
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
194
194
|
|
|
195
195
|
"use strict";
|
|
@@ -207,6 +207,7 @@ var render = function() {
|
|
|
207
207
|
class: [
|
|
208
208
|
"el-link",
|
|
209
209
|
_vm.type ? "el-link--" + _vm.type : "",
|
|
210
|
+
_vm.size ? "el-link--" + _vm.size : "",
|
|
210
211
|
_vm.disabled && "is-disabled",
|
|
211
212
|
_vm.underline && !_vm.disabled && "is-underline"
|
|
212
213
|
],
|
|
@@ -257,6 +258,7 @@ render._withStripped = true
|
|
|
257
258
|
//
|
|
258
259
|
//
|
|
259
260
|
//
|
|
261
|
+
//
|
|
260
262
|
|
|
261
263
|
|
|
262
264
|
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
@@ -273,7 +275,11 @@ render._withStripped = true
|
|
|
273
275
|
},
|
|
274
276
|
disabled: Boolean,
|
|
275
277
|
href: String,
|
|
276
|
-
icon: String
|
|
278
|
+
icon: String,
|
|
279
|
+
size: {
|
|
280
|
+
type: String,
|
|
281
|
+
default: 'small'
|
|
282
|
+
}
|
|
277
283
|
},
|
|
278
284
|
|
|
279
285
|
methods: {
|