@mw-kit/mw-ui 1.7.49 → 1.7.51
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/index.js +18 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +18 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -12869,11 +12869,12 @@ var MenuComponent = function MenuComponent(props, ref) {
|
|
|
12869
12869
|
position: 'left center',
|
|
12870
12870
|
inverted: true,
|
|
12871
12871
|
wide: true,
|
|
12872
|
-
popperModifiers: {
|
|
12873
|
-
|
|
12872
|
+
popperModifiers: [{
|
|
12873
|
+
name: 'preventOverflow',
|
|
12874
|
+
options: {
|
|
12874
12875
|
boundariesElement: 'window'
|
|
12875
12876
|
}
|
|
12876
|
-
}
|
|
12877
|
+
}]
|
|
12877
12878
|
}, rule, {
|
|
12878
12879
|
trigger: React__default.createElement("div", null, children)
|
|
12879
12880
|
}));
|
|
@@ -13914,15 +13915,23 @@ var Main$1 = React__default.forwardRef(function (props, ref) {
|
|
|
13914
13915
|
|
|
13915
13916
|
if (value[0]) {
|
|
13916
13917
|
var c1 = getCalendar(value[0]);
|
|
13917
|
-
setCalendar1(c1);
|
|
13918
13918
|
|
|
13919
|
-
|
|
13920
|
-
var c2 =
|
|
13919
|
+
var c2 = function () {
|
|
13920
|
+
var c2 = getCalendar2(c1);
|
|
13921
|
+
|
|
13922
|
+
if (value[1]) {
|
|
13923
|
+
var _c = getCalendar(value[1]);
|
|
13921
13924
|
|
|
13922
|
-
|
|
13923
|
-
|
|
13925
|
+
if (_c.year > c1.year || _c.year === c1.year && _c.month > c1.month) {
|
|
13926
|
+
return _c;
|
|
13927
|
+
}
|
|
13924
13928
|
}
|
|
13925
|
-
|
|
13929
|
+
|
|
13930
|
+
return c2;
|
|
13931
|
+
}();
|
|
13932
|
+
|
|
13933
|
+
setCalendar1(c1);
|
|
13934
|
+
setCalendar2(c2);
|
|
13926
13935
|
}
|
|
13927
13936
|
|
|
13928
13937
|
setInvalid(value.map(function (v, i) {
|