@syncfusion/ej2-vue-inputs 19.3.43 → 19.3.44

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.
@@ -24,7 +24,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
24
24
  return c > 3 && r && Object.defineProperty(target, key, r), r;
25
25
  };
26
26
  import { Options } from 'vue-class-component';
27
- var properties = ['autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
27
+ var properties = ['islazyUpdate', 'autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
28
28
  var modelProps = ['value'];
29
29
  var testProp = getProps({ props: properties });
30
30
  var props = testProp[0];
@@ -123,8 +123,10 @@ var TextBoxComponent = /** @__PURE__ @class */ (function (_super) {
123
123
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
124
124
  }
125
125
  else {
126
- this.$emit('update:' + propKey, eventProp[propKey]);
127
- this.$emit('modelchanged', eventProp[propKey]);
126
+ if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
127
+ this.$emit('update:' + propKey, eventProp[propKey]);
128
+ this.$emit('modelchanged', eventProp[propKey]);
129
+ }
128
130
  }
129
131
  }
130
132
  }
@@ -211,7 +213,7 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
211
213
  return c > 3 && r && Object.defineProperty(target, key, r), r;
212
214
  };
213
215
  // {{VueImport}}
214
- var properties$1 = ['cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
216
+ var properties$1 = ['islazyUpdate', 'cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
215
217
  var modelProps$1 = ['value'];
216
218
  var testProp$1 = getProps({ props: properties$1 });
217
219
  var props$1 = testProp$1[0];
@@ -310,8 +312,10 @@ var NumericTextBoxComponent = /** @__PURE__ @class */ (function (_super) {
310
312
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
311
313
  }
312
314
  else {
313
- this.$emit('update:' + propKey, eventProp[propKey]);
314
- this.$emit('modelchanged', eventProp[propKey]);
315
+ if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
316
+ this.$emit('update:' + propKey, eventProp[propKey]);
317
+ this.$emit('modelchanged', eventProp[propKey]);
318
+ }
315
319
  }
316
320
  }
317
321
  }
@@ -398,7 +402,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
398
402
  return c > 3 && r && Object.defineProperty(target, key, r), r;
399
403
  };
400
404
  // {{VueImport}}
401
- var properties$2 = ['cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
405
+ var properties$2 = ['islazyUpdate', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
402
406
  var modelProps$2 = ['value'];
403
407
  var testProp$2 = getProps({ props: properties$2 });
404
408
  var props$2 = testProp$2[0];
@@ -497,8 +501,10 @@ var MaskedTextBoxComponent = /** @__PURE__ @class */ (function (_super) {
497
501
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
498
502
  }
499
503
  else {
500
- this.$emit('update:' + propKey, eventProp[propKey]);
501
- this.$emit('modelchanged', eventProp[propKey]);
504
+ if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
505
+ this.$emit('update:' + propKey, eventProp[propKey]);
506
+ this.$emit('modelchanged', eventProp[propKey]);
507
+ }
502
508
  }
503
509
  }
504
510
  }
@@ -579,7 +585,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
579
585
  return c > 3 && r && Object.defineProperty(target, key, r), r;
580
586
  };
581
587
  // {{VueImport}}
582
- var properties$3 = ['colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange'];
588
+ var properties$3 = ['islazyUpdate', 'colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange'];
583
589
  var modelProps$3 = ['value'];
584
590
  var testProp$3 = getProps({ props: properties$3 });
585
591
  var props$3 = testProp$3[0];
@@ -678,8 +684,10 @@ var SliderComponent = /** @__PURE__ @class */ (function (_super) {
678
684
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
679
685
  }
680
686
  else {
681
- this.$emit('update:' + propKey, eventProp[propKey]);
682
- this.$emit('modelchanged', eventProp[propKey]);
687
+ if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
688
+ this.$emit('update:' + propKey, eventProp[propKey]);
689
+ this.$emit('modelchanged', eventProp[propKey]);
690
+ }
683
691
  }
684
692
  }
685
693
  }
@@ -841,7 +849,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
841
849
  return c > 3 && r && Object.defineProperty(target, key, r), r;
842
850
  };
843
851
  // {{VueImport}}
844
- var properties$4 = ['allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
852
+ var properties$4 = ['islazyUpdate', 'allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
845
853
  var modelProps$4 = [];
846
854
  var testProp$4 = getProps({ props: properties$4 });
847
855
  var props$4 = testProp$4[0];
@@ -1010,7 +1018,7 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
1010
1018
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1011
1019
  };
1012
1020
  // {{VueImport}}
1013
- var properties$5 = ['columns', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'value', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select'];
1021
+ var properties$5 = ['islazyUpdate', 'columns', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'value', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select'];
1014
1022
  var modelProps$5 = ['value'];
1015
1023
  var testProp$5 = getProps({ props: properties$5 });
1016
1024
  var props$5 = testProp$5[0];
@@ -1109,8 +1117,10 @@ var ColorPickerComponent = /** @__PURE__ @class */ (function (_super) {
1109
1117
  this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
1110
1118
  }
1111
1119
  else {
1112
- this.$emit('update:' + propKey, eventProp[propKey]);
1113
- this.$emit('modelchanged', eventProp[propKey]);
1120
+ if (eventName === 'change' || (this.$props && !this.$props.islazyUpdate)) {
1121
+ this.$emit('update:' + propKey, eventProp[propKey]);
1122
+ this.$emit('modelchanged', eventProp[propKey]);
1123
+ }
1114
1124
  }
1115
1125
  }
1116
1126
  }