wave-ui 1.67.0 → 1.67.2

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.
@@ -3088,6 +3088,8 @@ const __vue2_script$w = {
3088
3088
  computed: {
3089
3089
  attrs() {
3090
3090
  const { class: classes, ...htmlAttrs } = this.$attrs;
3091
+ if (this.type === "file" && !this.inputFiles.length)
3092
+ htmlAttrs.value = null;
3091
3093
  return htmlAttrs;
3092
3094
  },
3093
3095
  listeners() {
@@ -3230,8 +3232,10 @@ const __vue2_script$w = {
3230
3232
  watch: {
3231
3233
  value(value) {
3232
3234
  this.inputValue = value;
3233
- if (!value && value !== 0)
3235
+ if (!value && value !== 0) {
3234
3236
  this.isAutofilled = false;
3237
+ this.inputFiles = [];
3238
+ }
3235
3239
  }
3236
3240
  }
3237
3241
  };
@@ -6093,8 +6097,8 @@ const __vue2_script$e = {
6093
6097
  paginationConfig: {
6094
6098
  itemsPerPage: 0,
6095
6099
  itemsPerPageOptions: {},
6096
- start: 0,
6097
- end: 0,
6100
+ start: void 0,
6101
+ end: void 0,
6098
6102
  page: 1,
6099
6103
  total: 0
6100
6104
  }