@wavemaker/app-ng-runtime 11.5.0-next.30508 → 11.5.0-next.40001

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.
Files changed (30) hide show
  1. app-ng-runtime/components/base/bundles/index.umd.js +3 -21
  2. app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
  3. app-ng-runtime/components/base/esm2015/widgets/common/base/base-field-validations.js +4 -22
  4. app-ng-runtime/components/base/fesm2015/index.js +3 -21
  5. app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
  6. app-ng-runtime/components/basic/search/bundles/index.umd.js +1 -1
  7. app-ng-runtime/components/basic/search/bundles/index.umd.js.map +1 -1
  8. app-ng-runtime/components/basic/search/esm2015/search.component.js +2 -2
  9. app-ng-runtime/components/basic/search/fesm2015/index.js +1 -1
  10. app-ng-runtime/components/basic/search/fesm2015/index.js.map +1 -1
  11. app-ng-runtime/components/basic/search/index.metadata.json +1 -1
  12. app-ng-runtime/components/input/epoch/bundles/index.umd.js +2 -8
  13. app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
  14. app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +1 -7
  15. app-ng-runtime/components/input/epoch/esm2015/date/date.props.js +2 -2
  16. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.props.js +2 -2
  17. app-ng-runtime/components/input/epoch/fesm2015/index.js +2 -8
  18. app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
  19. app-ng-runtime/http/bundles/index.umd.js +3 -3
  20. app-ng-runtime/http/bundles/index.umd.js.map +1 -1
  21. app-ng-runtime/http/esm2015/http.service.js +4 -4
  22. app-ng-runtime/http/fesm2015/index.js +3 -3
  23. app-ng-runtime/http/fesm2015/index.js.map +1 -1
  24. app-ng-runtime/http/http.service.d.ts +2 -2
  25. app-ng-runtime/package.json +1 -1
  26. app-ng-runtime/variables/bundles/index.umd.js +0 -1
  27. app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
  28. app-ng-runtime/variables/esm2015/service/variables.service.js +1 -2
  29. app-ng-runtime/variables/fesm2015/index.js +0 -1
  30. app-ng-runtime/variables/fesm2015/index.js.map +1 -1
@@ -4902,13 +4902,7 @@
4902
4902
  };
4903
4903
  this.widgetControl.setAsyncValidators([this._asyncValidatorFn()]);
4904
4904
  if (this.widgetContext.ngform.touched) {
4905
- var opt = {};
4906
- // updating the value only when prevData is not equal to current value.
4907
- // emitEvent flag will prevent from emitting the valueChanges when value is equal to the prevDatavalue.
4908
- if (this.formwidget && this.instance.value === this.formwidget.prevDatavalue) {
4909
- opt['emitEvent'] = false;
4910
- }
4911
- this.widgetControl.updateValueAndValidity(opt);
4905
+ this.widgetControl.updateValueAndValidity();
4912
4906
  }
4913
4907
  };
4914
4908
  BaseFieldValidations.prototype.isDefaultValidator = function (type) {
@@ -4973,14 +4967,8 @@
4973
4967
  BaseFieldValidations.prototype.validate = function () {
4974
4968
  this.applyDefaultValidators();
4975
4969
  if (this._asyncValidatorFn) {
4976
- var opt = {};
4977
- // updating the value only when prevData is not equal to current value.
4978
- // emitEvent flag will prevent from emitting the valueChanges when value is equal to the prevDatavalue.
4979
- if (this.formwidget && this.instance.value === this.formwidget.prevDatavalue) {
4980
- opt['emitEvent'] = false;
4981
- }
4982
4970
  this.widgetControl.setAsyncValidators([this._asyncValidatorFn()]);
4983
- this.widgetControl.updateValueAndValidity(opt);
4971
+ this.widgetControl.updateValueAndValidity();
4984
4972
  }
4985
4973
  // show the validation erros show when form is touched and not on load. This just highlights the field that is subscribed for changes.
4986
4974
  if (this.widgetContext.ngform.touched) {
@@ -5001,14 +4989,8 @@
5001
4989
  // invokes both custom sync validations and default validations.
5002
4990
  BaseFieldValidations.prototype.applyDefaultValidators = function () {
5003
4991
  var validators = this.getDefaultValidators();
5004
- var opt = {};
5005
- // updating the value only when prevData is not equal to current value.
5006
- // emitEvent flag will prevent from emitting the valueChanges when value is equal to the prevDatavalue.
5007
- if (this.formwidget && this.instance.value === this.formwidget.prevDatavalue) {
5008
- opt['emitEvent'] = false;
5009
- }
5010
4992
  this.widgetControl.setValidators(_.concat(this._syncValidators || [], validators));
5011
- this.widgetControl.updateValueAndValidity(opt);
4993
+ this.widgetControl.updateValueAndValidity();
5012
4994
  this.setCustomValidationMessage();
5013
4995
  };
5014
4996
  BaseFieldValidations.prototype.setCustomValidationMessage = function () {