goodteditor-ui 1.0.38 → 1.0.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goodteditor-ui",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "main": "index.js",
5
5
  "homepage": "https://goodt-ui.netlify.app/",
6
6
  "scripts": {
@@ -263,6 +263,11 @@ export default {
263
263
  },
264
264
  onInputInput({ target }) {
265
265
  this.inputValueRaw = target.value;
266
+ /**
267
+ * Input event
268
+ * @property {String} date
269
+ */
270
+ this.$emit('input', target.value);
266
271
  },
267
272
  onInputChange(e) {
268
273
  this.setDateFromString(e.target.value);
@@ -276,11 +281,6 @@ export default {
276
281
  },
277
282
  onDpChange(date) {
278
283
  const model = Array.isArray(date) ? date.map(this.toValue) : this.toValue(date);
279
- /**
280
- * Input event
281
- * @property {String|Array} value
282
- */
283
- this.$emit('input', model);
284
284
  /**
285
285
  * Change event
286
286
  * @property {String|Array} value
@@ -310,11 +310,6 @@ export default {
310
310
  const d = this.toDate(value);
311
311
  model = isDateValid(d) ? this.toValue(d) : '';
312
312
  }
313
- /**
314
- * Input event
315
- * @property {String|Array} value
316
- */
317
- this.$emit('input', model);
318
313
  /**
319
314
  * Change event
320
315
  * @property {String|Array} value