iov-design 2.15.41 → 2.15.42

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 CHANGED
@@ -268,17 +268,19 @@ var render = function() {
268
268
  ]),
269
269
  _vm.showClose
270
270
  ? _c(
271
- "button",
271
+ "span",
272
272
  {
273
273
  staticClass: "el-dialog__headerbtn",
274
- attrs: { type: "button", "aria-label": "Close" },
275
- on: { click: _vm.handleClose }
274
+ attrs: { "aria-label": "Close" }
276
275
  },
277
276
  [
278
- _c("i", {
279
- staticClass:
280
- "el-dialog__close el-icon el-icon-close"
281
- })
277
+ _vm.showClose
278
+ ? _c("i", {
279
+ staticClass:
280
+ "el-dialog__close el-icon iov-icon-close",
281
+ on: { click: _vm.handleClose }
282
+ })
283
+ : _vm._e()
282
284
  ]
283
285
  )
284
286
  : _vm._e()
@@ -288,7 +290,13 @@ var render = function() {
288
290
  _vm.rendered
289
291
  ? _c(
290
292
  "div",
291
- { staticClass: "el-dialog__body" },
293
+ {
294
+ staticClass: "el-dialog__body",
295
+ class:
296
+ _vm.type === "form"
297
+ ? "el-dialog__body--form"
298
+ : "el-dialog__body--desc"
299
+ },
292
300
  [_vm._t("default")],
293
301
  2
294
302
  )
@@ -365,7 +373,6 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
365
373
  //
366
374
  //
367
375
  //
368
- //
369
376
 
370
377
 
371
378
 
@@ -382,6 +389,11 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
382
389
  default: ''
383
390
  },
384
391
 
392
+ type: {
393
+ type: String,
394
+ default: 'form'
395
+ },
396
+
385
397
  modal: {
386
398
  type: Boolean,
387
399
  default: true