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