@94ai/nf-double-year 3.1.27 → 3.1.30

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.
@@ -5195,6 +5195,7 @@ var _sfc_main$3 = {
5195
5195
  emitChange: function emitChange(val) {
5196
5196
  if (!valueEquals(val, this.valueOnOpen)) {
5197
5197
  this.$emit("change", val);
5198
+ this.$emit("update:value", val);
5198
5199
  this.valueOnOpen = val;
5199
5200
  if (this.validateEvent) {
5200
5201
  this.dispatch("ElFormItem", "el.form.change", val);
@@ -5205,6 +5206,7 @@ var _sfc_main$3 = {
5205
5206
  var formatted = this.formatToValue(val);
5206
5207
  if (!valueEquals(this.value, formatted)) {
5207
5208
  this.$emit("input", formatted);
5209
+ this.$emit("update:value", formatted);
5208
5210
  }
5209
5211
  },
5210
5212
  isValidValue: function isValidValue(value2) {
@@ -5193,6 +5193,7 @@ var _sfc_main$3 = {
5193
5193
  emitChange: function emitChange(val) {
5194
5194
  if (!valueEquals(val, this.valueOnOpen)) {
5195
5195
  this.$emit("change", val);
5196
+ this.$emit("update:value", val);
5196
5197
  this.valueOnOpen = val;
5197
5198
  if (this.validateEvent) {
5198
5199
  this.dispatch("ElFormItem", "el.form.change", val);
@@ -5203,6 +5204,7 @@ var _sfc_main$3 = {
5203
5204
  var formatted = this.formatToValue(val);
5204
5205
  if (!valueEquals(this.value, formatted)) {
5205
5206
  this.$emit("input", formatted);
5207
+ this.$emit("update:value", formatted);
5206
5208
  }
5207
5209
  },
5208
5210
  isValidValue: function isValidValue(value2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-double-year",
3
- "version": "3.1.27",
3
+ "version": "3.1.30",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,7 +14,7 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-theme-chalk": "^3.1.27",
17
+ "@94ai/nf-theme-chalk": "^3.1.30",
18
18
  "vue-demi": "^0.14.5"
19
19
  },
20
20
  "peerDependenciesMeta": {
@@ -30,5 +30,5 @@
30
30
  "types": "lib/index.d.ts",
31
31
  "main": "lib/nf-double-year.cjs.js",
32
32
  "module": "lib/nf-double-year.esm-bundler.js",
33
- "gitHead": "945bfad470bca9493ef957f3327bf115f3f705ca"
33
+ "gitHead": "92718f2567719702159e8edb0fe360eba3e7e07b"
34
34
  }