iov-design 2.15.41 → 2.15.43
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/dialog.js +21 -9
- package/lib/index.js +1 -1
- package/lib/iov-design.common.js +121 -97
- package/lib/message-box.js +99 -87
- 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/dialog.css +1 -1
- package/lib/theme-chalk/drawer.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/message-box.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/tree.css +1 -1
- package/package.json +1 -1
- package/packages/dialog/src/component.vue +10 -6
- package/packages/message-box/src/main.js +1 -1
- package/packages/message-box/src/main.vue +13 -12
- package/packages/theme-chalk/gulpfile.js +25 -0
- package/packages/theme-chalk/src/checkbox.scss +1 -1
- package/packages/theme-chalk/src/common/var.scss +1 -32
- package/packages/theme-chalk/src/dialog.scss +30 -23
- package/packages/theme-chalk/src/drawer.scss +2 -2
- package/packages/theme-chalk/src/message-box.scss +56 -75
- package/packages/theme-chalk/src/radio.scss +2 -2
- package/src/index.js +1 -1
- package/CHANGELOG.en-US.md +0 -2085
- package/CHANGELOG.es.md +0 -2093
- package/CHANGELOG.fr-FR.md +0 -2085
- package/CHANGELOG.zh-CN.md +0 -2085
- package/packages/theme-chalk/lib/alert.css +0 -1
- package/packages/theme-chalk/lib/aside.css +0 -1
- package/packages/theme-chalk/lib/autocomplete.css +0 -1
- package/packages/theme-chalk/lib/avatar.css +0 -1
- package/packages/theme-chalk/lib/backtop.css +0 -1
- package/packages/theme-chalk/lib/badge.css +0 -1
- package/packages/theme-chalk/lib/base.css +0 -1
- package/packages/theme-chalk/lib/breadcrumb-item.css +0 -0
- package/packages/theme-chalk/lib/breadcrumb.css +0 -1
- package/packages/theme-chalk/lib/button-group.css +0 -0
- package/packages/theme-chalk/lib/button.css +0 -1
- package/packages/theme-chalk/lib/calendar.css +0 -1
- package/packages/theme-chalk/lib/card.css +0 -1
- package/packages/theme-chalk/lib/carousel-item.css +0 -1
- package/packages/theme-chalk/lib/carousel.css +0 -1
- package/packages/theme-chalk/lib/cascader-panel.css +0 -1
- package/packages/theme-chalk/lib/cascader.css +0 -1
- package/packages/theme-chalk/lib/checkbox-button.css +0 -0
- package/packages/theme-chalk/lib/checkbox-group.css +0 -0
- package/packages/theme-chalk/lib/checkbox.css +0 -1
- package/packages/theme-chalk/lib/col.css +0 -1
- package/packages/theme-chalk/lib/collapse-item.css +0 -0
- package/packages/theme-chalk/lib/collapse.css +0 -1
- package/packages/theme-chalk/lib/color-picker.css +0 -1
- package/packages/theme-chalk/lib/container.css +0 -1
- package/packages/theme-chalk/lib/date-picker.css +0 -1
- package/packages/theme-chalk/lib/descriptions-item.css +0 -1
- package/packages/theme-chalk/lib/descriptions.css +0 -1
- package/packages/theme-chalk/lib/dialog.css +0 -1
- package/packages/theme-chalk/lib/display.css +0 -1
- package/packages/theme-chalk/lib/divider.css +0 -1
- package/packages/theme-chalk/lib/drawer.css +0 -1
- package/packages/theme-chalk/lib/dropdown-item.css +0 -0
- package/packages/theme-chalk/lib/dropdown-menu.css +0 -0
- package/packages/theme-chalk/lib/dropdown.css +0 -1
- package/packages/theme-chalk/lib/empty.css +0 -1
- package/packages/theme-chalk/lib/fonts/element-icons.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/element-icons.woff +0 -0
- package/packages/theme-chalk/lib/footer.css +0 -1
- package/packages/theme-chalk/lib/form-item.css +0 -0
- package/packages/theme-chalk/lib/form.css +0 -1
- package/packages/theme-chalk/lib/header.css +0 -1
- package/packages/theme-chalk/lib/icon.css +0 -1
- package/packages/theme-chalk/lib/image.css +0 -1
- package/packages/theme-chalk/lib/index.css +0 -1
- package/packages/theme-chalk/lib/infinite-scroll.css +0 -0
- package/packages/theme-chalk/lib/infiniteScroll.css +0 -0
- package/packages/theme-chalk/lib/input-number.css +0 -1
- package/packages/theme-chalk/lib/input.css +0 -1
- package/packages/theme-chalk/lib/iovfont.css +0 -1
- package/packages/theme-chalk/lib/link.css +0 -1
- package/packages/theme-chalk/lib/loading.css +0 -1
- package/packages/theme-chalk/lib/main.css +0 -1
- package/packages/theme-chalk/lib/menu-item-group.css +0 -0
- package/packages/theme-chalk/lib/menu-item.css +0 -0
- package/packages/theme-chalk/lib/menu.css +0 -1
- package/packages/theme-chalk/lib/message-box.css +0 -1
- package/packages/theme-chalk/lib/message.css +0 -1
- package/packages/theme-chalk/lib/notification.css +0 -1
- package/packages/theme-chalk/lib/option-group.css +0 -1
- package/packages/theme-chalk/lib/option.css +0 -1
- package/packages/theme-chalk/lib/page-header.css +0 -1
- package/packages/theme-chalk/lib/pagination.css +0 -1
- package/packages/theme-chalk/lib/popconfirm.css +0 -1
- package/packages/theme-chalk/lib/popover.css +0 -1
- package/packages/theme-chalk/lib/popper.css +0 -1
- package/packages/theme-chalk/lib/progress.css +0 -1
- package/packages/theme-chalk/lib/radio-button.css +0 -1
- package/packages/theme-chalk/lib/radio-group.css +0 -1
- package/packages/theme-chalk/lib/radio.css +0 -1
- package/packages/theme-chalk/lib/rate.css +0 -1
- package/packages/theme-chalk/lib/reset.css +0 -1
- package/packages/theme-chalk/lib/result.css +0 -1
- package/packages/theme-chalk/lib/row.css +0 -1
- package/packages/theme-chalk/lib/scrollbar.css +0 -1
- package/packages/theme-chalk/lib/select-dropdown.css +0 -1
- package/packages/theme-chalk/lib/select.css +0 -1
- package/packages/theme-chalk/lib/skeleton-item.css +0 -1
- package/packages/theme-chalk/lib/skeleton.css +0 -1
- package/packages/theme-chalk/lib/slider.css +0 -1
- package/packages/theme-chalk/lib/spinner.css +0 -1
- package/packages/theme-chalk/lib/statistic.css +0 -1
- package/packages/theme-chalk/lib/step.css +0 -1
- package/packages/theme-chalk/lib/steps.css +0 -1
- package/packages/theme-chalk/lib/submenu.css +0 -0
- package/packages/theme-chalk/lib/switch.css +0 -1
- package/packages/theme-chalk/lib/tab-pane.css +0 -0
- package/packages/theme-chalk/lib/table-column.css +0 -1
- package/packages/theme-chalk/lib/table.css +0 -1
- package/packages/theme-chalk/lib/tabs.css +0 -1
- package/packages/theme-chalk/lib/tag.css +0 -1
- package/packages/theme-chalk/lib/time-picker.css +0 -1
- package/packages/theme-chalk/lib/time-select.css +0 -1
- package/packages/theme-chalk/lib/timeline-item.css +0 -1
- package/packages/theme-chalk/lib/timeline.css +0 -1
- package/packages/theme-chalk/lib/tooltip.css +0 -1
- package/packages/theme-chalk/lib/transfer.css +0 -1
- package/packages/theme-chalk/lib/tree.css +0 -1
- package/packages/theme-chalk/lib/upload.css +0 -1
package/lib/iov-design.common.js
CHANGED
|
@@ -1252,17 +1252,19 @@ var componentvue_type_template_id_60140e62_render = function() {
|
|
|
1252
1252
|
]),
|
|
1253
1253
|
_vm.showClose
|
|
1254
1254
|
? _c(
|
|
1255
|
-
"
|
|
1255
|
+
"span",
|
|
1256
1256
|
{
|
|
1257
1257
|
staticClass: "el-dialog__headerbtn",
|
|
1258
|
-
attrs: {
|
|
1259
|
-
on: { click: _vm.handleClose }
|
|
1258
|
+
attrs: { "aria-label": "Close" }
|
|
1260
1259
|
},
|
|
1261
1260
|
[
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1261
|
+
_vm.showClose
|
|
1262
|
+
? _c("i", {
|
|
1263
|
+
staticClass:
|
|
1264
|
+
"el-dialog__close el-icon iov-icon-close",
|
|
1265
|
+
on: { click: _vm.handleClose }
|
|
1266
|
+
})
|
|
1267
|
+
: _vm._e()
|
|
1266
1268
|
]
|
|
1267
1269
|
)
|
|
1268
1270
|
: _vm._e()
|
|
@@ -1272,7 +1274,13 @@ var componentvue_type_template_id_60140e62_render = function() {
|
|
|
1272
1274
|
_vm.rendered
|
|
1273
1275
|
? _c(
|
|
1274
1276
|
"div",
|
|
1275
|
-
{
|
|
1277
|
+
{
|
|
1278
|
+
staticClass: "el-dialog__body",
|
|
1279
|
+
class:
|
|
1280
|
+
_vm.type === "form"
|
|
1281
|
+
? "el-dialog__body--form"
|
|
1282
|
+
: "el-dialog__body--desc"
|
|
1283
|
+
},
|
|
1276
1284
|
[_vm._t("default")],
|
|
1277
1285
|
2
|
|
1278
1286
|
)
|
|
@@ -1349,7 +1357,6 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
1349
1357
|
//
|
|
1350
1358
|
//
|
|
1351
1359
|
//
|
|
1352
|
-
//
|
|
1353
1360
|
|
|
1354
1361
|
|
|
1355
1362
|
|
|
@@ -1366,6 +1373,11 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
1366
1373
|
default: ''
|
|
1367
1374
|
},
|
|
1368
1375
|
|
|
1376
|
+
type: {
|
|
1377
|
+
type: String,
|
|
1378
|
+
default: 'form'
|
|
1379
|
+
},
|
|
1380
|
+
|
|
1369
1381
|
modal: {
|
|
1370
1382
|
type: Boolean,
|
|
1371
1383
|
default: true
|
|
@@ -22546,13 +22558,16 @@ var mainvue_type_template_id_6b29b012_render = function() {
|
|
|
22546
22558
|
"div",
|
|
22547
22559
|
{
|
|
22548
22560
|
staticClass: "el-message-box",
|
|
22549
|
-
class: [
|
|
22561
|
+
class: [
|
|
22562
|
+
_vm.customClass,
|
|
22563
|
+
_vm.showTitleIcon && "el-message-box--title-icon"
|
|
22564
|
+
]
|
|
22550
22565
|
},
|
|
22551
22566
|
[
|
|
22552
22567
|
_vm.title !== null
|
|
22553
22568
|
? _c("div", { staticClass: "el-message-box__header" }, [
|
|
22554
22569
|
_c("div", { staticClass: "el-message-box__title" }, [
|
|
22555
|
-
_vm.icon && _vm.
|
|
22570
|
+
_vm.icon && _vm.showTitleIcon
|
|
22556
22571
|
? _c("div", {
|
|
22557
22572
|
class: ["el-message-box__status", _vm.icon]
|
|
22558
22573
|
})
|
|
@@ -22561,7 +22576,7 @@ var mainvue_type_template_id_6b29b012_render = function() {
|
|
|
22561
22576
|
]),
|
|
22562
22577
|
_vm.showClose
|
|
22563
22578
|
? _c(
|
|
22564
|
-
"
|
|
22579
|
+
"span",
|
|
22565
22580
|
{
|
|
22566
22581
|
staticClass: "el-message-box__headerbtn",
|
|
22567
22582
|
attrs: { type: "button", "aria-label": "Close" },
|
|
@@ -22596,96 +22611,104 @@ var mainvue_type_template_id_6b29b012_render = function() {
|
|
|
22596
22611
|
},
|
|
22597
22612
|
[
|
|
22598
22613
|
_c("i", {
|
|
22599
|
-
staticClass: "el-message-box__close
|
|
22614
|
+
staticClass: "el-message-box__close iov-icon-close"
|
|
22600
22615
|
})
|
|
22601
22616
|
]
|
|
22602
22617
|
)
|
|
22603
22618
|
: _vm._e()
|
|
22604
22619
|
])
|
|
22605
22620
|
: _vm._e(),
|
|
22606
|
-
|
|
22607
|
-
_c("div", { staticClass: "el-message-
|
|
22608
|
-
|
|
22609
|
-
|
|
22610
|
-
|
|
22611
|
-
|
|
22612
|
-
|
|
22613
|
-
|
|
22614
|
-
|
|
22615
|
-
|
|
22616
|
-
|
|
22617
|
-
|
|
22618
|
-
|
|
22619
|
-
:
|
|
22620
|
-
|
|
22621
|
-
|
|
22622
|
-
|
|
22623
|
-
|
|
22624
|
-
|
|
22625
|
-
|
|
22626
|
-
|
|
22627
|
-
|
|
22628
|
-
|
|
22629
|
-
|
|
22630
|
-
|
|
22631
|
-
|
|
22632
|
-
|
|
22633
|
-
|
|
22634
|
-
rawName: "v-show",
|
|
22635
|
-
value: _vm.showInput,
|
|
22636
|
-
expression: "showInput"
|
|
22637
|
-
}
|
|
22638
|
-
],
|
|
22639
|
-
staticClass: "el-message-box__input"
|
|
22640
|
-
},
|
|
22641
|
-
[
|
|
22642
|
-
_c("el-input", {
|
|
22643
|
-
ref: "input",
|
|
22644
|
-
attrs: {
|
|
22645
|
-
type: _vm.inputType,
|
|
22646
|
-
placeholder: _vm.inputPlaceholder
|
|
22647
|
-
},
|
|
22648
|
-
nativeOn: {
|
|
22649
|
-
keydown: function($event) {
|
|
22650
|
-
if (
|
|
22651
|
-
!("button" in $event) &&
|
|
22652
|
-
_vm._k(
|
|
22653
|
-
$event.keyCode,
|
|
22654
|
-
"enter",
|
|
22655
|
-
13,
|
|
22656
|
-
$event.key,
|
|
22657
|
-
"Enter"
|
|
22658
|
-
)
|
|
22659
|
-
) {
|
|
22660
|
-
return null
|
|
22661
|
-
}
|
|
22662
|
-
return _vm.handleInputEnter($event)
|
|
22663
|
-
}
|
|
22664
|
-
},
|
|
22665
|
-
model: {
|
|
22666
|
-
value: _vm.inputValue,
|
|
22667
|
-
callback: function($$v) {
|
|
22668
|
-
_vm.inputValue = $$v
|
|
22669
|
-
},
|
|
22670
|
-
expression: "inputValue"
|
|
22671
|
-
}
|
|
22672
|
-
}),
|
|
22621
|
+
_vm.message !== ""
|
|
22622
|
+
? _c("div", { staticClass: "el-message-box__content" }, [
|
|
22623
|
+
_c("div", { staticClass: "el-message-box__container" }, [
|
|
22624
|
+
_vm.icon && !_vm.showTitleIcon && _vm.message !== ""
|
|
22625
|
+
? _c("div", {
|
|
22626
|
+
class: ["el-message-box__status", _vm.icon]
|
|
22627
|
+
})
|
|
22628
|
+
: _vm._e(),
|
|
22629
|
+
_vm.message !== ""
|
|
22630
|
+
? _c(
|
|
22631
|
+
"div",
|
|
22632
|
+
{
|
|
22633
|
+
staticClass: "el-message-box__message",
|
|
22634
|
+
class: [!_vm.icon && "no-type"]
|
|
22635
|
+
},
|
|
22636
|
+
[
|
|
22637
|
+
_vm._t("default", [
|
|
22638
|
+
!_vm.dangerouslyUseHTMLString
|
|
22639
|
+
? _c("p", [_vm._v(_vm._s(_vm.message))])
|
|
22640
|
+
: _c("p", {
|
|
22641
|
+
domProps: { innerHTML: _vm._s(_vm.message) }
|
|
22642
|
+
})
|
|
22643
|
+
])
|
|
22644
|
+
],
|
|
22645
|
+
2
|
|
22646
|
+
)
|
|
22647
|
+
: _vm._e()
|
|
22648
|
+
]),
|
|
22673
22649
|
_c(
|
|
22674
22650
|
"div",
|
|
22675
22651
|
{
|
|
22676
|
-
|
|
22677
|
-
|
|
22678
|
-
|
|
22679
|
-
|
|
22680
|
-
:
|
|
22681
|
-
|
|
22652
|
+
directives: [
|
|
22653
|
+
{
|
|
22654
|
+
name: "show",
|
|
22655
|
+
rawName: "v-show",
|
|
22656
|
+
value: _vm.showInput,
|
|
22657
|
+
expression: "showInput"
|
|
22658
|
+
}
|
|
22659
|
+
],
|
|
22660
|
+
staticClass: "el-message-box__input"
|
|
22682
22661
|
},
|
|
22683
|
-
[
|
|
22662
|
+
[
|
|
22663
|
+
_c("el-input", {
|
|
22664
|
+
ref: "input",
|
|
22665
|
+
attrs: {
|
|
22666
|
+
size: "small",
|
|
22667
|
+
type: _vm.inputType,
|
|
22668
|
+
placeholder: _vm.inputPlaceholder
|
|
22669
|
+
},
|
|
22670
|
+
nativeOn: {
|
|
22671
|
+
keydown: function($event) {
|
|
22672
|
+
if (
|
|
22673
|
+
!("button" in $event) &&
|
|
22674
|
+
_vm._k(
|
|
22675
|
+
$event.keyCode,
|
|
22676
|
+
"enter",
|
|
22677
|
+
13,
|
|
22678
|
+
$event.key,
|
|
22679
|
+
"Enter"
|
|
22680
|
+
)
|
|
22681
|
+
) {
|
|
22682
|
+
return null
|
|
22683
|
+
}
|
|
22684
|
+
return _vm.handleInputEnter($event)
|
|
22685
|
+
}
|
|
22686
|
+
},
|
|
22687
|
+
model: {
|
|
22688
|
+
value: _vm.inputValue,
|
|
22689
|
+
callback: function($$v) {
|
|
22690
|
+
_vm.inputValue = $$v
|
|
22691
|
+
},
|
|
22692
|
+
expression: "inputValue"
|
|
22693
|
+
}
|
|
22694
|
+
}),
|
|
22695
|
+
_c(
|
|
22696
|
+
"div",
|
|
22697
|
+
{
|
|
22698
|
+
staticClass: "el-message-box__errormsg",
|
|
22699
|
+
style: {
|
|
22700
|
+
visibility: !!_vm.editorErrorMessage
|
|
22701
|
+
? "visible"
|
|
22702
|
+
: "hidden"
|
|
22703
|
+
}
|
|
22704
|
+
},
|
|
22705
|
+
[_vm._v(_vm._s(_vm.editorErrorMessage))]
|
|
22706
|
+
)
|
|
22707
|
+
],
|
|
22708
|
+
1
|
|
22684
22709
|
)
|
|
22685
|
-
]
|
|
22686
|
-
|
|
22687
|
-
)
|
|
22688
|
-
]),
|
|
22710
|
+
])
|
|
22711
|
+
: _vm._e(),
|
|
22689
22712
|
_c(
|
|
22690
22713
|
"div",
|
|
22691
22714
|
{ staticClass: "el-message-box__btns" },
|
|
@@ -22891,6 +22914,7 @@ var aria_dialog_default = /*#__PURE__*/__webpack_require__.n(aria_dialog_);
|
|
|
22891
22914
|
//
|
|
22892
22915
|
//
|
|
22893
22916
|
//
|
|
22917
|
+
//
|
|
22894
22918
|
|
|
22895
22919
|
|
|
22896
22920
|
|
|
@@ -22903,9 +22927,9 @@ var aria_dialog_default = /*#__PURE__*/__webpack_require__.n(aria_dialog_);
|
|
|
22903
22927
|
var messageBox = void 0;
|
|
22904
22928
|
var typeMap = {
|
|
22905
22929
|
success: 'success',
|
|
22906
|
-
info: '
|
|
22930
|
+
info: 'explain',
|
|
22907
22931
|
warning: 'warning',
|
|
22908
|
-
error: '
|
|
22932
|
+
error: 'fail'
|
|
22909
22933
|
};
|
|
22910
22934
|
|
|
22911
22935
|
/* harmony default export */ var message_box_src_mainvue_type_script_lang_js_ = ({
|
|
@@ -22931,7 +22955,7 @@ var typeMap = {
|
|
|
22931
22955
|
closeOnHashChange: {
|
|
22932
22956
|
default: true
|
|
22933
22957
|
},
|
|
22934
|
-
|
|
22958
|
+
showTitleIcon: {
|
|
22935
22959
|
default: false,
|
|
22936
22960
|
type: Boolean
|
|
22937
22961
|
},
|
|
@@ -22951,7 +22975,7 @@ var typeMap = {
|
|
|
22951
22975
|
var type = this.type,
|
|
22952
22976
|
iconClass = this.iconClass;
|
|
22953
22977
|
|
|
22954
|
-
return iconClass || (type && typeMap[type] ? '
|
|
22978
|
+
return iconClass || (type && typeMap[type] ? 'iov-icon-fill-' + typeMap[type] : '');
|
|
22955
22979
|
},
|
|
22956
22980
|
confirmButtonClasses: function confirmButtonClasses() {
|
|
22957
22981
|
return 'el-button--primary ' + this.confirmButtonClass;
|
|
@@ -23208,7 +23232,7 @@ var main_defaults = {
|
|
|
23208
23232
|
customClass: '',
|
|
23209
23233
|
beforeClose: null,
|
|
23210
23234
|
dangerouslyUseHTMLString: false,
|
|
23211
|
-
|
|
23235
|
+
showTitleIcon: false,
|
|
23212
23236
|
roundButton: true,
|
|
23213
23237
|
distinguishCancelAndClose: false
|
|
23214
23238
|
};
|
|
@@ -44009,7 +44033,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
44009
44033
|
}
|
|
44010
44034
|
|
|
44011
44035
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
44012
|
-
version: '2.15.
|
|
44036
|
+
version: '2.15.43',
|
|
44013
44037
|
locale: lib_locale_default.a.use,
|
|
44014
44038
|
i18n: lib_locale_default.a.i18n,
|
|
44015
44039
|
install: src_install,
|
package/lib/message-box.js
CHANGED
|
@@ -293,13 +293,16 @@ var render = function() {
|
|
|
293
293
|
"div",
|
|
294
294
|
{
|
|
295
295
|
staticClass: "el-message-box",
|
|
296
|
-
class: [
|
|
296
|
+
class: [
|
|
297
|
+
_vm.customClass,
|
|
298
|
+
_vm.showTitleIcon && "el-message-box--title-icon"
|
|
299
|
+
]
|
|
297
300
|
},
|
|
298
301
|
[
|
|
299
302
|
_vm.title !== null
|
|
300
303
|
? _c("div", { staticClass: "el-message-box__header" }, [
|
|
301
304
|
_c("div", { staticClass: "el-message-box__title" }, [
|
|
302
|
-
_vm.icon && _vm.
|
|
305
|
+
_vm.icon && _vm.showTitleIcon
|
|
303
306
|
? _c("div", {
|
|
304
307
|
class: ["el-message-box__status", _vm.icon]
|
|
305
308
|
})
|
|
@@ -308,7 +311,7 @@ var render = function() {
|
|
|
308
311
|
]),
|
|
309
312
|
_vm.showClose
|
|
310
313
|
? _c(
|
|
311
|
-
"
|
|
314
|
+
"span",
|
|
312
315
|
{
|
|
313
316
|
staticClass: "el-message-box__headerbtn",
|
|
314
317
|
attrs: { type: "button", "aria-label": "Close" },
|
|
@@ -343,96 +346,104 @@ var render = function() {
|
|
|
343
346
|
},
|
|
344
347
|
[
|
|
345
348
|
_c("i", {
|
|
346
|
-
staticClass: "el-message-box__close
|
|
349
|
+
staticClass: "el-message-box__close iov-icon-close"
|
|
347
350
|
})
|
|
348
351
|
]
|
|
349
352
|
)
|
|
350
353
|
: _vm._e()
|
|
351
354
|
])
|
|
352
355
|
: _vm._e(),
|
|
353
|
-
|
|
354
|
-
_c("div", { staticClass: "el-message-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
:
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
rawName: "v-show",
|
|
382
|
-
value: _vm.showInput,
|
|
383
|
-
expression: "showInput"
|
|
384
|
-
}
|
|
385
|
-
],
|
|
386
|
-
staticClass: "el-message-box__input"
|
|
387
|
-
},
|
|
388
|
-
[
|
|
389
|
-
_c("el-input", {
|
|
390
|
-
ref: "input",
|
|
391
|
-
attrs: {
|
|
392
|
-
type: _vm.inputType,
|
|
393
|
-
placeholder: _vm.inputPlaceholder
|
|
394
|
-
},
|
|
395
|
-
nativeOn: {
|
|
396
|
-
keydown: function($event) {
|
|
397
|
-
if (
|
|
398
|
-
!("button" in $event) &&
|
|
399
|
-
_vm._k(
|
|
400
|
-
$event.keyCode,
|
|
401
|
-
"enter",
|
|
402
|
-
13,
|
|
403
|
-
$event.key,
|
|
404
|
-
"Enter"
|
|
405
|
-
)
|
|
406
|
-
) {
|
|
407
|
-
return null
|
|
408
|
-
}
|
|
409
|
-
return _vm.handleInputEnter($event)
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
model: {
|
|
413
|
-
value: _vm.inputValue,
|
|
414
|
-
callback: function($$v) {
|
|
415
|
-
_vm.inputValue = $$v
|
|
416
|
-
},
|
|
417
|
-
expression: "inputValue"
|
|
418
|
-
}
|
|
419
|
-
}),
|
|
356
|
+
_vm.message !== ""
|
|
357
|
+
? _c("div", { staticClass: "el-message-box__content" }, [
|
|
358
|
+
_c("div", { staticClass: "el-message-box__container" }, [
|
|
359
|
+
_vm.icon && !_vm.showTitleIcon && _vm.message !== ""
|
|
360
|
+
? _c("div", {
|
|
361
|
+
class: ["el-message-box__status", _vm.icon]
|
|
362
|
+
})
|
|
363
|
+
: _vm._e(),
|
|
364
|
+
_vm.message !== ""
|
|
365
|
+
? _c(
|
|
366
|
+
"div",
|
|
367
|
+
{
|
|
368
|
+
staticClass: "el-message-box__message",
|
|
369
|
+
class: [!_vm.icon && "no-type"]
|
|
370
|
+
},
|
|
371
|
+
[
|
|
372
|
+
_vm._t("default", [
|
|
373
|
+
!_vm.dangerouslyUseHTMLString
|
|
374
|
+
? _c("p", [_vm._v(_vm._s(_vm.message))])
|
|
375
|
+
: _c("p", {
|
|
376
|
+
domProps: { innerHTML: _vm._s(_vm.message) }
|
|
377
|
+
})
|
|
378
|
+
])
|
|
379
|
+
],
|
|
380
|
+
2
|
|
381
|
+
)
|
|
382
|
+
: _vm._e()
|
|
383
|
+
]),
|
|
420
384
|
_c(
|
|
421
385
|
"div",
|
|
422
386
|
{
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
:
|
|
428
|
-
|
|
387
|
+
directives: [
|
|
388
|
+
{
|
|
389
|
+
name: "show",
|
|
390
|
+
rawName: "v-show",
|
|
391
|
+
value: _vm.showInput,
|
|
392
|
+
expression: "showInput"
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
staticClass: "el-message-box__input"
|
|
429
396
|
},
|
|
430
|
-
[
|
|
397
|
+
[
|
|
398
|
+
_c("el-input", {
|
|
399
|
+
ref: "input",
|
|
400
|
+
attrs: {
|
|
401
|
+
size: "small",
|
|
402
|
+
type: _vm.inputType,
|
|
403
|
+
placeholder: _vm.inputPlaceholder
|
|
404
|
+
},
|
|
405
|
+
nativeOn: {
|
|
406
|
+
keydown: function($event) {
|
|
407
|
+
if (
|
|
408
|
+
!("button" in $event) &&
|
|
409
|
+
_vm._k(
|
|
410
|
+
$event.keyCode,
|
|
411
|
+
"enter",
|
|
412
|
+
13,
|
|
413
|
+
$event.key,
|
|
414
|
+
"Enter"
|
|
415
|
+
)
|
|
416
|
+
) {
|
|
417
|
+
return null
|
|
418
|
+
}
|
|
419
|
+
return _vm.handleInputEnter($event)
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
model: {
|
|
423
|
+
value: _vm.inputValue,
|
|
424
|
+
callback: function($$v) {
|
|
425
|
+
_vm.inputValue = $$v
|
|
426
|
+
},
|
|
427
|
+
expression: "inputValue"
|
|
428
|
+
}
|
|
429
|
+
}),
|
|
430
|
+
_c(
|
|
431
|
+
"div",
|
|
432
|
+
{
|
|
433
|
+
staticClass: "el-message-box__errormsg",
|
|
434
|
+
style: {
|
|
435
|
+
visibility: !!_vm.editorErrorMessage
|
|
436
|
+
? "visible"
|
|
437
|
+
: "hidden"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
[_vm._v(_vm._s(_vm.editorErrorMessage))]
|
|
441
|
+
)
|
|
442
|
+
],
|
|
443
|
+
1
|
|
431
444
|
)
|
|
432
|
-
]
|
|
433
|
-
|
|
434
|
-
)
|
|
435
|
-
]),
|
|
445
|
+
])
|
|
446
|
+
: _vm._e(),
|
|
436
447
|
_c(
|
|
437
448
|
"div",
|
|
438
449
|
{ staticClass: "el-message-box__btns" },
|
|
@@ -656,6 +667,7 @@ var aria_dialog_default = /*#__PURE__*/__webpack_require__.n(aria_dialog_);
|
|
|
656
667
|
//
|
|
657
668
|
//
|
|
658
669
|
//
|
|
670
|
+
//
|
|
659
671
|
|
|
660
672
|
|
|
661
673
|
|
|
@@ -668,9 +680,9 @@ var aria_dialog_default = /*#__PURE__*/__webpack_require__.n(aria_dialog_);
|
|
|
668
680
|
var messageBox = void 0;
|
|
669
681
|
var typeMap = {
|
|
670
682
|
success: 'success',
|
|
671
|
-
info: '
|
|
683
|
+
info: 'explain',
|
|
672
684
|
warning: 'warning',
|
|
673
|
-
error: '
|
|
685
|
+
error: 'fail'
|
|
674
686
|
};
|
|
675
687
|
|
|
676
688
|
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
@@ -696,7 +708,7 @@ var typeMap = {
|
|
|
696
708
|
closeOnHashChange: {
|
|
697
709
|
default: true
|
|
698
710
|
},
|
|
699
|
-
|
|
711
|
+
showTitleIcon: {
|
|
700
712
|
default: false,
|
|
701
713
|
type: Boolean
|
|
702
714
|
},
|
|
@@ -716,7 +728,7 @@ var typeMap = {
|
|
|
716
728
|
var type = this.type,
|
|
717
729
|
iconClass = this.iconClass;
|
|
718
730
|
|
|
719
|
-
return iconClass || (type && typeMap[type] ? '
|
|
731
|
+
return iconClass || (type && typeMap[type] ? 'iov-icon-fill-' + typeMap[type] : '');
|
|
720
732
|
},
|
|
721
733
|
confirmButtonClasses: function confirmButtonClasses() {
|
|
722
734
|
return 'el-button--primary ' + this.confirmButtonClass;
|
|
@@ -980,7 +992,7 @@ var defaults = {
|
|
|
980
992
|
customClass: '',
|
|
981
993
|
beforeClose: null,
|
|
982
994
|
dangerouslyUseHTMLString: false,
|
|
983
|
-
|
|
995
|
+
showTitleIcon: false,
|
|
984
996
|
roundButton: true,
|
|
985
997
|
distinguishCancelAndClose: false
|
|
986
998
|
};
|