eoss-ui 0.7.17 → 0.7.18

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/icon.js CHANGED
@@ -4151,7 +4151,7 @@ module.exports = require("qs");
4151
4151
  // ESM COMPAT FLAG
4152
4152
  __webpack_require__.r(__webpack_exports__);
4153
4153
 
4154
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=20e44f4a&
4154
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/main.vue?vue&type=template&id=57a2cea2&
4155
4155
  var render = function () {
4156
4156
  var _vm = this
4157
4157
  var _h = _vm.$createElement
@@ -4179,7 +4179,7 @@ var staticRenderFns = []
4179
4179
  render._withStripped = true
4180
4180
 
4181
4181
 
4182
- // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=20e44f4a&
4182
+ // CONCATENATED MODULE: ./packages/icon/src/main.vue?vue&type=template&id=57a2cea2&
4183
4183
 
4184
4184
  // EXTERNAL MODULE: ./src/utils/util.js
4185
4185
  var util = __webpack_require__(0);
@@ -4245,7 +4245,7 @@ var api = __webpack_require__(1);
4245
4245
  } else {
4246
4246
  this.code = val.code;
4247
4247
  this.className = val.class || val.className;
4248
- this.event = val.events;
4248
+ val.events && (this.event = val.events);
4249
4249
  }
4250
4250
  }
4251
4251
  }
@@ -4257,12 +4257,15 @@ var api = __webpack_require__(1);
4257
4257
  url: '',
4258
4258
  code: '',
4259
4259
  className: '',
4260
- event: {}
4260
+ event: { click: this.clickd }
4261
4261
  };
4262
4262
  },
4263
4263
  created: function created() {},
4264
4264
 
4265
4265
  methods: {
4266
+ clickd: function clickd(e) {
4267
+ this.$emit('click', e);
4268
+ },
4266
4269
  unicode: function unicode(res) {
4267
4270
  if (!res) {
4268
4271
  return false;