kui-vue 3.4.5 → 3.4.6

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.
@@ -1,4 +1,3 @@
1
- // import _ from 'lodash'
2
1
  const pick = require('lodash.pick');
3
2
  const assign = require('lodash.assign');
4
3
  const DATA_KEYS = [
@@ -102,7 +102,6 @@ export default {
102
102
  }
103
103
  }
104
104
  this.$emit('click', e)
105
-
106
105
  },
107
106
  renderPopup() {
108
107
  let { placement, trigger, title, preCls, $slots, transfer, color, updateKey } = this, childNode;
@@ -52,7 +52,7 @@ export default {
52
52
  <BasePop {...props} ref="pop">
53
53
  {this.$slots.default}
54
54
  <template slot="content">{this.$slots.content}</template>
55
- </BasePop >
55
+ </BasePop>
56
56
  )
57
57
  },
58
58
  methods: {
@@ -4,7 +4,7 @@ export default {
4
4
  props: {
5
5
  dark: Boolean,
6
6
  transfer: { type: Boolean, default: true },
7
- title: String,
7
+ title: [String, Number, Object, Array],
8
8
  width: [Number, String],
9
9
  okText: String,
10
10
  cancelText: String,
@@ -32,7 +32,10 @@ export default {
32
32
  [`k-space-wrap`]: wrap,
33
33
  [`k-space-block`]: block,
34
34
  [`k-space-align-${align}`]: align,
35
- }]
35
+ }],
36
+ on: {
37
+ ...this.$listeners
38
+ }
36
39
  }
37
40
  if (!size && !compact) {
38
41
  props.style.gap = '8px'
@@ -4,7 +4,7 @@ export default {
4
4
  props: {
5
5
  dark: Boolean,
6
6
  transfer: { type: Boolean, default: true },
7
- title: String,
7
+ title: [String, Number, Object, Array],
8
8
  color: String,
9
9
  trigger: String,
10
10
  width: [Number, String],
package/dist/k-ui.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * kui-vue v3.4.5
2
+ * kui-vue v3.4.6
3
3
  * Copyright 2017-present, kui-vue.
4
4
  * All rights reserved.
5
5
  * Docs: https://k-ui.cn