@fluxhub/fluxhub-lib 11.0.90 → 11.0.92

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.
@@ -8214,6 +8214,7 @@
8214
8214
  else {
8215
8215
  _this.onChange(_this.getValue());
8216
8216
  _this.change.emit(_this.getValue());
8217
+ setTimeout(function () { _this.sItem = _this.getDescri(); }, 500);
8217
8218
  }
8218
8219
  });
8219
8220
  this.focusout.emit();
@@ -8865,19 +8866,19 @@
8865
8866
  FHDatePickerComponent.prototype.ini_year = function () {
8866
8867
  var dtp = new MomentDateAdapter();
8867
8868
  var dt_v = this.getValue();
8868
- if (dt_v != null) {
8869
- this.date_sel = dtp.createDate(dt_v.getFullYear() + 1, 1, 1);
8870
- this.v_view = this.uti_s.date2String(dt_v);
8871
- }
8869
+ if (!dt_v)
8870
+ dt_v = new Date();
8871
+ this.date_sel = dtp.createDate(dt_v.getFullYear() + 1, 0, 1);
8872
+ this.v_view = this.uti_s.date2String(dt_v);
8872
8873
  this.ch();
8873
8874
  };
8874
8875
  FHDatePickerComponent.prototype.fin_year = function () {
8875
8876
  var dtp = new MomentDateAdapter();
8876
8877
  var dt_v = this.getValue();
8877
- if (dt_v != null) {
8878
- this.date_sel = dtp.createDate(dt_v.getFullYear() + 1, 12, 31);
8879
- this.v_view = this.uti_s.date2String(dt_v);
8880
- }
8878
+ if (!dt_v)
8879
+ dt_v = new Date();
8880
+ this.date_sel = dtp.createDate(dt_v.getFullYear() + 1, 11, 31);
8881
+ this.v_view = this.uti_s.date2String(dt_v);
8881
8882
  this.ch();
8882
8883
  };
8883
8884
  FHDatePickerComponent.prototype.getValue = function () {