@zat-design/sisyphus-react 3.4.9-beta.1 → 3.4.9-beta.3

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.
@@ -703,7 +703,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
703
703
  queryBean: queryBean
704
704
  } : queryBean;
705
705
  run(params);
706
- }, 800),
706
+ }, 2000),
707
707
  style: {
708
708
  width: isView || disabled ? '100%' : 'calc(100% - 30px)'
709
709
  }
@@ -122,8 +122,12 @@ var ProRangeLimit = function ProRangeLimit(props) {
122
122
  start = _ref9[0],
123
123
  end = _ref9[1];
124
124
  if (e.target.checked) {
125
- var _start, _end;
126
- start = start || moment().startOf('day');
125
+ var _rest$allowEmpty, _start, _end;
126
+ if (((_rest$allowEmpty = rest.allowEmpty) === null || _rest$allowEmpty === void 0 ? void 0 : _rest$allowEmpty[0]) === true) {
127
+ start = null;
128
+ } else {
129
+ start = start || moment().startOf('day');
130
+ }
127
131
  end = foreverMoment;
128
132
  onChange([start, end, e.target.checked], [(_start = start) === null || _start === void 0 ? void 0 : _start.format(format), (_end = end) === null || _end === void 0 ? void 0 : _end.format(format), foreverStr]);
129
133
  } else {
@@ -269,8 +269,6 @@ export var ProSelect = function ProSelect(props, ref) {
269
269
  return value;
270
270
  };
271
271
  var newSelectList = selectList;
272
- console.log('otherProps', otherProps, filterInList);
273
- debugger;
274
272
  if ((otherProps === null || otherProps === void 0 ? void 0 : otherProps.listName) && filterInList) {
275
273
  newSelectList = getSelectList({
276
274
  otherProps: otherProps,
@@ -700,7 +700,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
700
700
  queryBean: queryBean
701
701
  } : queryBean;
702
702
  run(params);
703
- }, 800),
703
+ }, 2000),
704
704
  style: {
705
705
  width: isView || disabled ? '100%' : 'calc(100% - 30px)'
706
706
  }
@@ -124,8 +124,12 @@ var ProRangeLimit = function ProRangeLimit(props) {
124
124
  start = _ref9[0],
125
125
  end = _ref9[1];
126
126
  if (e.target.checked) {
127
- var _start, _end;
128
- start = start || (0, _moment.default)().startOf('day');
127
+ var _rest$allowEmpty, _start, _end;
128
+ if (((_rest$allowEmpty = rest.allowEmpty) === null || _rest$allowEmpty === void 0 ? void 0 : _rest$allowEmpty[0]) === true) {
129
+ start = null;
130
+ } else {
131
+ start = start || (0, _moment.default)().startOf('day');
132
+ }
129
133
  end = foreverMoment;
130
134
  onChange([start, end, e.target.checked], [(_start = start) === null || _start === void 0 ? void 0 : _start.format(format), (_end = end) === null || _end === void 0 ? void 0 : _end.format(format), foreverStr]);
131
135
  } else {
@@ -270,8 +270,6 @@ var ProSelect = exports.ProSelect = function ProSelect(props, ref) {
270
270
  return value;
271
271
  };
272
272
  var newSelectList = selectList;
273
- console.log('otherProps', otherProps, filterInList);
274
- debugger;
275
273
  if ((otherProps === null || otherProps === void 0 ? void 0 : otherProps.listName) && filterInList) {
276
274
  newSelectList = (0, _utils.getSelectList)({
277
275
  otherProps: otherProps,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.4.9-beta.1",
3
+ "version": "3.4.9-beta.3",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -58,7 +58,7 @@
58
58
  "@dnd-kit/sortable": "^7.0.2",
59
59
  "@dnd-kit/utilities": "^3.2.1",
60
60
  "@pansy/react-watermark": "^3.1.13",
61
- "@zat-design/utils": "^1.1.20",
61
+ "@zat-design/utils": "^1.1.21",
62
62
  "ahooks": "3.7.4",
63
63
  "antd": "4.24.8",
64
64
  "big.js": "^6.2.1",