goodteditor-ui 1.0.39 → 1.0.40

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