ps-toolkit-ui 1.15.36 → 1.15.38
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/ps-toolkit-ui.umd.js +7 -3
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/helper.class.js +3 -3
- package/esm2015/lib/components/form/datetime/form.datetime.component.js +3 -2
- package/esm2015/lib/components/form/time/form.time.component.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +7 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1391,7 +1391,7 @@
|
|
|
1391
1391
|
r += ' ' + l('Ago');
|
|
1392
1392
|
return r;
|
|
1393
1393
|
}
|
|
1394
|
-
return '<
|
|
1394
|
+
return '<span class="ltr d-ib">' + moment__namespace(d).locale('fa').format('jYYYY/jMM/jDD HH:mm') + '</span>';
|
|
1395
1395
|
};
|
|
1396
1396
|
HelperClass.getRowEnum = function (l, e, dt) {
|
|
1397
1397
|
var v = e.find(function (x) { return x.Value === dt; });
|
|
@@ -1439,7 +1439,7 @@
|
|
|
1439
1439
|
r += ' ' + l('Later');
|
|
1440
1440
|
return r;
|
|
1441
1441
|
}
|
|
1442
|
-
return '<
|
|
1442
|
+
return '<span class="ltr d-ib">' + moment__namespace(d).locale('fa').format('jYYYY/jMM/jDD HH:mm') + '</span>';
|
|
1443
1443
|
};
|
|
1444
1444
|
HelperClass.getDate = function (dt, format) {
|
|
1445
1445
|
if (format === void 0) { format = 'jYYYY/jMM/jDD'; }
|
|
@@ -4647,7 +4647,8 @@
|
|
|
4647
4647
|
}
|
|
4648
4648
|
};
|
|
4649
4649
|
this.inp.data = function () {
|
|
4650
|
-
|
|
4650
|
+
var v = _this.getValue();
|
|
4651
|
+
return v != null ? moment__namespace(v, 'jYYYY/jMM/jDD HH:mm').locale('en').format('YYYY/MM/DD HH:mm') : null;
|
|
4651
4652
|
};
|
|
4652
4653
|
this.inp.focus = function () {
|
|
4653
4654
|
_this.date.focus();
|
|
@@ -6827,6 +6828,9 @@
|
|
|
6827
6828
|
if (s === 'hour') {
|
|
6828
6829
|
this.activeMinute = this.activeMinute === null ? '00' : this.activeMinute;
|
|
6829
6830
|
this.activeHour = v;
|
|
6831
|
+
if (this.inp.level === 60) {
|
|
6832
|
+
this.changeIndex.emit('Tab');
|
|
6833
|
+
}
|
|
6830
6834
|
}
|
|
6831
6835
|
else {
|
|
6832
6836
|
this.activeHour = this.activeHour === null ? '00' : this.activeHour;
|