@banyan_cloud/roots 2.0.61 → 2.0.62
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/dist/esm/index.js
CHANGED
|
@@ -3634,10 +3634,13 @@ var epochToFormattedDate = function epochToFormattedDate(epoch, type) {
|
|
|
3634
3634
|
var minutes = doubleDigitted(universal ? date.getUTCMinutes() : date.getMinutes());
|
|
3635
3635
|
var seconds = doubleDigitted(universal ? date.getUTCSeconds() : date.getSeconds());
|
|
3636
3636
|
var hours12 = universal ? (date.getUTCHours() + 11) % 12 + 1 : (date.getHours() + 11) % 12 + 1;
|
|
3637
|
-
var
|
|
3637
|
+
var hoursForMeridian;
|
|
3638
3638
|
if (universal) {
|
|
3639
|
-
|
|
3639
|
+
hoursForMeridian = date.getUTCHours();
|
|
3640
|
+
} else {
|
|
3641
|
+
hoursForMeridian = date.getHours();
|
|
3640
3642
|
}
|
|
3643
|
+
var meridian = hoursForMeridian >= 12 ? 'PM' : 'AM';
|
|
3641
3644
|
var timeFormat = {
|
|
3642
3645
|
24: "".concat(hours, ":").concat(minutes, ":").concat(seconds, " Hrs"),
|
|
3643
3646
|
12: "".concat(hours12.toString(), ":").concat(minutes, ":").concat(seconds, " ").concat(meridian)
|
|
@@ -18740,7 +18743,7 @@ var modules_a3d40e77 = {"root":"Pagination_module_root__49ebbbf1","floating":"Pa
|
|
|
18740
18743
|
n(css$f,{});
|
|
18741
18744
|
|
|
18742
18745
|
var reducer = function reducer(state, action) {
|
|
18743
|
-
var _state$currentPage, _state$currentPage2
|
|
18746
|
+
var _state$currentPage, _state$currentPage2;
|
|
18744
18747
|
switch (action.type) {
|
|
18745
18748
|
case 'NEXT_PAGE':
|
|
18746
18749
|
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
@@ -18752,7 +18755,7 @@ var reducer = function reducer(state, action) {
|
|
|
18752
18755
|
});
|
|
18753
18756
|
case 'SET_PAGE':
|
|
18754
18757
|
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
18755
|
-
currentPage:
|
|
18758
|
+
currentPage: action.payload || 1
|
|
18756
18759
|
});
|
|
18757
18760
|
case 'SET_STEP':
|
|
18758
18761
|
return _objectSpread2(_objectSpread2({}, state), {}, {
|