iov-design 2.15.118 → 2.15.120
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-group.js +21 -11
- package/lib/avatar.js +21 -11
- 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 +18 -7
- package/lib/calendar.js +2 -2
- package/lib/card.js +2 -2
- package/lib/carousel-item.js +9 -9
- package/lib/carousel.js +2 -2
- package/lib/cascader-panel.js +2 -2
- package/lib/cascader.js +101 -101
- package/lib/checkbox-button.js +9 -9
- package/lib/checkbox-group.js +9 -9
- package/lib/checkbox.js +9 -9
- 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 +4 -4
- package/lib/descriptions-item.js +2 -2
- package/lib/descriptions.js +2 -2
- package/lib/dialog.js +9 -9
- package/lib/divider.js +2 -2
- package/lib/drawer.js +2 -2
- package/lib/dropdown-item.js +2 -2
- package/lib/dropdown-menu.js +18 -4
- package/lib/dropdown.js +39 -23
- package/lib/empty.js +9 -9
- 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 +79 -13
- 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 +287 -67
- package/lib/link.js +2 -2
- package/lib/loading.js +4 -4
- 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 +4 -4
- package/lib/message.js +9 -9
- 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 +2 -2
- package/lib/popover.js +2 -2
- package/lib/progress.js +2 -2
- package/lib/radio-button.js +9 -9
- package/lib/radio-group.js +9 -9
- 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 +2 -2
- package/lib/select.js +2 -2
- package/lib/skeleton.js +2 -2
- package/lib/slider.js +2 -2
- package/lib/spinner.js +2 -2
- package/lib/step.js +2 -2
- package/lib/steps.js +9 -9
- package/lib/submenu.js +2 -2
- package/lib/svg-icon.js +294 -0
- package/lib/switch.js +9 -9
- package/lib/tab-pane.js +2 -2
- package/lib/table-column.js +2 -2
- package/lib/table.js +9 -8
- package/lib/tabs.js +2 -2
- package/lib/tag.js +2 -2
- package/lib/theme-chalk/avatar.css +1 -1
- package/lib/theme-chalk/base.css +1 -1
- 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/checkbox.css +1 -1
- package/lib/theme-chalk/dropdown.css +1 -1
- package/lib/theme-chalk/fonts/iovfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iovfont.woff +0 -0
- package/lib/theme-chalk/fonts/iovfont.woff2 +0 -0
- package/lib/theme-chalk/image.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/iovfont.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/radio-button.css +1 -1
- package/lib/theme-chalk/radio.css +1 -1
- package/lib/theme-chalk/svg-icon.css +1 -0
- 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/tree.css +1 -1
- package/lib/time-picker.js +11 -11
- package/lib/time-select.js +9 -9
- package/lib/timeline-item.js +2 -2
- package/lib/tooltip.js +2 -2
- package/lib/transfer.js +2 -2
- package/lib/tree.js +2 -2
- package/lib/upload.js +4 -4
- package/lib/utils/iov-svg-icon.js +9 -0
- package/package.json +3 -2
- package/packages/avatar/src/main.vue +7 -8
- package/packages/button/src/button.vue +15 -4
- package/packages/dropdown/src/dropdown-menu.vue +14 -0
- package/packages/dropdown/src/dropdown.vue +21 -9
- package/packages/image/src/image-viewer.vue +61 -5
- package/packages/image/src/main.vue +6 -2
- package/packages/svg-icon/index.js +7 -0
- package/packages/svg-icon/src/svg-icon.vue +48 -0
- package/packages/theme-chalk/src/avatar.scss +16 -14
- package/packages/theme-chalk/src/base.scss +59 -0
- package/packages/theme-chalk/src/button.scss +13 -19
- package/packages/theme-chalk/src/checkbox.scss +1 -0
- package/packages/theme-chalk/src/common/var.scss +4 -4
- package/packages/theme-chalk/src/dropdown.scss +123 -24
- package/packages/theme-chalk/src/fonts/iovfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iovfont.woff +0 -0
- package/packages/theme-chalk/src/fonts/iovfont.woff2 +0 -0
- package/packages/theme-chalk/src/image.scss +3 -4
- package/packages/theme-chalk/src/index.scss +1 -0
- package/packages/theme-chalk/src/iovfont.scss +884 -273
- package/packages/theme-chalk/src/mixins/_button.scss +3 -1
- package/packages/theme-chalk/src/radio.scss +1 -0
- package/packages/theme-chalk/src/svg-icon.scss +15 -0
- package/src/index.js +5 -1
- package/src/utils/iov-svg-icon.js +7 -0
package/lib/alert.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 = 117);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 117:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/aside.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 = 97);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 97:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/autocomplete.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
|
/******/ ({
|
|
@@ -255,7 +255,7 @@ module.exports = require("iov-design/lib/utils/vue-popper");
|
|
|
255
255
|
|
|
256
256
|
/***/ }),
|
|
257
257
|
|
|
258
|
-
/***/
|
|
258
|
+
/***/ 74:
|
|
259
259
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
260
260
|
|
|
261
261
|
"use strict";
|
package/lib/avatar-group.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 = 48);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -213,7 +213,14 @@ module.exports = require("iov-design/lib/upload");
|
|
|
213
213
|
|
|
214
214
|
/***/ }),
|
|
215
215
|
|
|
216
|
-
/***/
|
|
216
|
+
/***/ 45:
|
|
217
|
+
/***/ (function(module, exports) {
|
|
218
|
+
|
|
219
|
+
module.exports = require("iov-design/lib/svg-icon");
|
|
220
|
+
|
|
221
|
+
/***/ }),
|
|
222
|
+
|
|
223
|
+
/***/ 48:
|
|
217
224
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
218
225
|
|
|
219
226
|
"use strict";
|
|
@@ -231,6 +238,10 @@ var external_babel_helper_vue_jsx_merge_props_default = /*#__PURE__*/__webpack_r
|
|
|
231
238
|
var upload_ = __webpack_require__(36);
|
|
232
239
|
var upload_default = /*#__PURE__*/__webpack_require__.n(upload_);
|
|
233
240
|
|
|
241
|
+
// EXTERNAL MODULE: external "iov-design/lib/svg-icon"
|
|
242
|
+
var svg_icon_ = __webpack_require__(45);
|
|
243
|
+
var svg_icon_default = /*#__PURE__*/__webpack_require__.n(svg_icon_);
|
|
244
|
+
|
|
234
245
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/avatar/src/main.vue?vue&type=script&lang=js
|
|
235
246
|
|
|
236
247
|
|
|
@@ -238,6 +249,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
238
249
|
|
|
239
250
|
|
|
240
251
|
|
|
252
|
+
|
|
241
253
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
242
254
|
name: 'ElAvatar',
|
|
243
255
|
|
|
@@ -248,7 +260,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
248
260
|
},
|
|
249
261
|
|
|
250
262
|
components: {
|
|
251
|
-
ElUpload: upload_default.a
|
|
263
|
+
ElUpload: upload_default.a,
|
|
264
|
+
ElSvgIcon: svg_icon_default.a
|
|
252
265
|
},
|
|
253
266
|
|
|
254
267
|
props: {
|
|
@@ -368,13 +381,9 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
368
381
|
},
|
|
369
382
|
|
|
370
383
|
methods: {
|
|
371
|
-
handleError: function handleError() {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
var errorFlag = error ? error() : undefined;
|
|
375
|
-
if (errorFlag !== false) {
|
|
376
|
-
this.isImageExist = false;
|
|
377
|
-
}
|
|
384
|
+
handleError: function handleError(e) {
|
|
385
|
+
this.isImageExist = false;
|
|
386
|
+
this.$emit('error', e);
|
|
378
387
|
},
|
|
379
388
|
renderAvatar: function renderAvatar() {
|
|
380
389
|
var h = this.$createElement;
|
|
@@ -404,7 +413,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
404
413
|
return h('i', { 'class': icon });
|
|
405
414
|
}
|
|
406
415
|
|
|
407
|
-
return this.$slots.default
|
|
416
|
+
return this.$slots.default || h('el-svg-icon', { 'class': 'el-avatar__load-fail', attrs: { 'icon-class': 'img-fail' }
|
|
417
|
+
});
|
|
408
418
|
},
|
|
409
419
|
handleUploadSuccess: function handleUploadSuccess(response, file) {
|
|
410
420
|
var url = response.url || response.data && response.data.url || URL.createObjectURL(file.raw);
|
package/lib/avatar.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 = 48);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -213,7 +213,14 @@ module.exports = require("iov-design/lib/upload");
|
|
|
213
213
|
|
|
214
214
|
/***/ }),
|
|
215
215
|
|
|
216
|
-
/***/
|
|
216
|
+
/***/ 45:
|
|
217
|
+
/***/ (function(module, exports) {
|
|
218
|
+
|
|
219
|
+
module.exports = require("iov-design/lib/svg-icon");
|
|
220
|
+
|
|
221
|
+
/***/ }),
|
|
222
|
+
|
|
223
|
+
/***/ 48:
|
|
217
224
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
218
225
|
|
|
219
226
|
"use strict";
|
|
@@ -231,6 +238,10 @@ var external_babel_helper_vue_jsx_merge_props_default = /*#__PURE__*/__webpack_r
|
|
|
231
238
|
var upload_ = __webpack_require__(36);
|
|
232
239
|
var upload_default = /*#__PURE__*/__webpack_require__.n(upload_);
|
|
233
240
|
|
|
241
|
+
// EXTERNAL MODULE: external "iov-design/lib/svg-icon"
|
|
242
|
+
var svg_icon_ = __webpack_require__(45);
|
|
243
|
+
var svg_icon_default = /*#__PURE__*/__webpack_require__.n(svg_icon_);
|
|
244
|
+
|
|
234
245
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/avatar/src/main.vue?vue&type=script&lang=js
|
|
235
246
|
|
|
236
247
|
|
|
@@ -238,6 +249,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
238
249
|
|
|
239
250
|
|
|
240
251
|
|
|
252
|
+
|
|
241
253
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
242
254
|
name: 'ElAvatar',
|
|
243
255
|
|
|
@@ -248,7 +260,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
248
260
|
},
|
|
249
261
|
|
|
250
262
|
components: {
|
|
251
|
-
ElUpload: upload_default.a
|
|
263
|
+
ElUpload: upload_default.a,
|
|
264
|
+
ElSvgIcon: svg_icon_default.a
|
|
252
265
|
},
|
|
253
266
|
|
|
254
267
|
props: {
|
|
@@ -368,13 +381,9 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
368
381
|
},
|
|
369
382
|
|
|
370
383
|
methods: {
|
|
371
|
-
handleError: function handleError() {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
var errorFlag = error ? error() : undefined;
|
|
375
|
-
if (errorFlag !== false) {
|
|
376
|
-
this.isImageExist = false;
|
|
377
|
-
}
|
|
384
|
+
handleError: function handleError(e) {
|
|
385
|
+
this.isImageExist = false;
|
|
386
|
+
this.$emit('error', e);
|
|
378
387
|
},
|
|
379
388
|
renderAvatar: function renderAvatar() {
|
|
380
389
|
var h = this.$createElement;
|
|
@@ -404,7 +413,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
404
413
|
return h('i', { 'class': icon });
|
|
405
414
|
}
|
|
406
415
|
|
|
407
|
-
return this.$slots.default
|
|
416
|
+
return this.$slots.default || h('el-svg-icon', { 'class': 'el-avatar__load-fail', attrs: { 'icon-class': 'img-fail' }
|
|
417
|
+
});
|
|
408
418
|
},
|
|
409
419
|
handleUploadSuccess: function handleUploadSuccess(response, file) {
|
|
410
420
|
var url = response.url || response.data && response.data.url || URL.createObjectURL(file.raw);
|
package/lib/backtop.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 = 119);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 119:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/badge.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 = 121);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 121:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/breadcrumb-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 = 124);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 124:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/breadcrumb.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 = 123);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 123:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/button-group.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 = 111);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 111:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/button.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
|
/******/ ({
|
|
@@ -192,22 +192,22 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 109:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
|
199
199
|
// ESM COMPAT FLAG
|
|
200
200
|
__webpack_require__.r(__webpack_exports__);
|
|
201
201
|
|
|
202
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=template&id=
|
|
202
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=template&id=25288f41
|
|
203
203
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:"el-button",class:[
|
|
204
204
|
_vm.type ? 'el-button--' + _vm.type : '',
|
|
205
205
|
_vm.type === 'text' && _vm.size ? 'el-button--text-' + _vm.color : '',
|
|
206
206
|
_vm.$slots.default ? '' : 'is-icon-only',
|
|
207
207
|
_vm.buttonSize ? 'el-button--' + _vm.buttonSize : '',
|
|
208
208
|
{
|
|
209
|
-
'is-disabled': _vm.buttonDisabled,
|
|
210
|
-
'is-loading': _vm.loading,
|
|
209
|
+
'is-disabled': _vm.buttonDisabled || (_vm.loading && _vm.loadingIcon),
|
|
210
|
+
'is-loading': _vm.loading && _vm.loadingIcon,
|
|
211
211
|
'is-plain': _vm.plain,
|
|
212
212
|
'is-round': _vm.round,
|
|
213
213
|
'is-circle': _vm.circle,
|
|
@@ -215,11 +215,11 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
|
|
|
215
215
|
'is-ghost': _vm.ghost,
|
|
216
216
|
'is-block': _vm.block
|
|
217
217
|
}
|
|
218
|
-
],attrs:{"disabled":_vm.buttonDisabled || _vm.loading,"autofocus":_vm.autofocus,"type":_vm.nativeType},on:{"click":_vm.handleClick}},[(_vm.loading)?_c('i',{
|
|
218
|
+
],attrs:{"disabled":_vm.buttonDisabled || _vm.loading,"autofocus":_vm.autofocus,"type":_vm.nativeType},on:{"click":_vm.handleClick}},[(_vm.loading && _vm.loadingIcon)?_c('i',{class:_vm.loadingIcon}):_vm._e(),(_vm.icon && !_vm.loading)?_c('i',{class:_vm.icon}):_vm._e(),(_vm.$slots.default)?_c('span',{staticClass:"el-button__text"},[_vm._t("default")],2):_vm._e()])}
|
|
219
219
|
var staticRenderFns = []
|
|
220
220
|
render._withStripped = true
|
|
221
221
|
|
|
222
|
-
// CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=template&id=
|
|
222
|
+
// CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=template&id=25288f41
|
|
223
223
|
|
|
224
224
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=script&lang=js
|
|
225
225
|
//
|
|
@@ -294,6 +294,17 @@ render._withStripped = true
|
|
|
294
294
|
},
|
|
295
295
|
|
|
296
296
|
computed: {
|
|
297
|
+
loadingIcon: function loadingIcon() {
|
|
298
|
+
if (this.loading && ['primary', 'success', 'info', 'warning', 'danger'].includes(this.type) && !this.plain && !this.dashed && !this.ghost) {
|
|
299
|
+
return 'iov-icon-loading-white';
|
|
300
|
+
} else if (this.loading && (this.type === 'default' || this.type === 'info' && (this.plain || this.dashed || this.ghost))) {
|
|
301
|
+
return 'iov-icon-loading-gray';
|
|
302
|
+
} else if (this.loading && this.type === 'primary' && (this.plain || this.dashed || this.ghost)) {
|
|
303
|
+
return 'iov-icon-loading';
|
|
304
|
+
} else {
|
|
305
|
+
return '';
|
|
306
|
+
}
|
|
307
|
+
},
|
|
297
308
|
_elFormItemSize: function _elFormItemSize() {
|
|
298
309
|
return (this.elFormItem || {}).elFormItemSize;
|
|
299
310
|
},
|
package/lib/calendar.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 = 75);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -227,7 +227,7 @@ module.exports = require("iov-design/lib/mixins/locale");
|
|
|
227
227
|
|
|
228
228
|
/***/ }),
|
|
229
229
|
|
|
230
|
-
/***/
|
|
230
|
+
/***/ 75:
|
|
231
231
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
232
232
|
|
|
233
233
|
"use strict";
|
package/lib/card.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 = 115);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 115:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/carousel-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
|
/******/ ({
|
|
@@ -192,14 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
196
|
-
/***/ (function(module, exports) {
|
|
197
|
-
|
|
198
|
-
module.exports = require("iov-design/lib/utils/util");
|
|
199
|
-
|
|
200
|
-
/***/ }),
|
|
201
|
-
|
|
202
|
-
/***/ 93:
|
|
195
|
+
/***/ 113:
|
|
203
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
204
197
|
|
|
205
198
|
"use strict";
|
|
@@ -390,6 +383,13 @@ item.install = function (Vue) {
|
|
|
390
383
|
|
|
391
384
|
/* harmony default export */ var carousel_item = __webpack_exports__["default"] = (item);
|
|
392
385
|
|
|
386
|
+
/***/ }),
|
|
387
|
+
|
|
388
|
+
/***/ 3:
|
|
389
|
+
/***/ (function(module, exports) {
|
|
390
|
+
|
|
391
|
+
module.exports = require("iov-design/lib/utils/util");
|
|
392
|
+
|
|
393
393
|
/***/ })
|
|
394
394
|
|
|
395
395
|
/******/ });
|
package/lib/carousel.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
|
/******/ ({
|
|
@@ -206,7 +206,7 @@ module.exports = require("throttle-debounce/throttle");
|
|
|
206
206
|
|
|
207
207
|
/***/ }),
|
|
208
208
|
|
|
209
|
-
/***/
|
|
209
|
+
/***/ 91:
|
|
210
210
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
211
211
|
|
|
212
212
|
"use strict";
|
package/lib/cascader-panel.js
CHANGED
|
@@ -241,7 +241,7 @@ module.exports = require("iov-design/lib/utils/aria-utils");
|
|
|
241
241
|
|
|
242
242
|
/***/ }),
|
|
243
243
|
|
|
244
|
-
/***/
|
|
244
|
+
/***/ 58:
|
|
245
245
|
/***/ (function(module, exports) {
|
|
246
246
|
|
|
247
247
|
module.exports = require("iov-design/lib/radio");
|
|
@@ -278,7 +278,7 @@ var checkbox_ = __webpack_require__(17);
|
|
|
278
278
|
var checkbox_default = /*#__PURE__*/__webpack_require__.n(checkbox_);
|
|
279
279
|
|
|
280
280
|
// EXTERNAL MODULE: external "iov-design/lib/radio"
|
|
281
|
-
var radio_ = __webpack_require__(
|
|
281
|
+
var radio_ = __webpack_require__(58);
|
|
282
282
|
var radio_default = /*#__PURE__*/__webpack_require__.n(radio_);
|
|
283
283
|
|
|
284
284
|
// EXTERNAL MODULE: external "iov-design/lib/utils/util"
|