@fluxhub/fluxhub-lib 11.0.91 → 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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +8 -8
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhdatepicker.js +9 -9
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -8866,19 +8866,19 @@
|
|
|
8866
8866
|
FHDatePickerComponent.prototype.ini_year = function () {
|
|
8867
8867
|
var dtp = new MomentDateAdapter();
|
|
8868
8868
|
var dt_v = this.getValue();
|
|
8869
|
-
if (dt_v
|
|
8870
|
-
|
|
8871
|
-
|
|
8872
|
-
|
|
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);
|
|
8873
8873
|
this.ch();
|
|
8874
8874
|
};
|
|
8875
8875
|
FHDatePickerComponent.prototype.fin_year = function () {
|
|
8876
8876
|
var dtp = new MomentDateAdapter();
|
|
8877
8877
|
var dt_v = this.getValue();
|
|
8878
|
-
if (dt_v
|
|
8879
|
-
|
|
8880
|
-
|
|
8881
|
-
|
|
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);
|
|
8882
8882
|
this.ch();
|
|
8883
8883
|
};
|
|
8884
8884
|
FHDatePickerComponent.prototype.getValue = function () {
|