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

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.
@@ -41,7 +41,8 @@ var ProEnum = function ProEnum(props) {
41
41
  enumProps = _objectWithoutProperties(props, _excluded);
42
42
  var _ref = otherProps || {},
43
43
  isView = _ref.isView,
44
- viewEmpty = _ref.viewEmpty;
44
+ viewEmpty = _ref.viewEmpty,
45
+ disabled = _ref.disabled;
45
46
  var _ref2 = useProConfig('ProEnum') || {},
46
47
  fieldNames = _ref2.fieldNames,
47
48
  _ref2$clear = _ref2.clear,
@@ -164,7 +165,6 @@ var ProEnum = function ProEnum(props) {
164
165
  switch (type) {
165
166
  case 'ProSelect':
166
167
  return _jsx(ProSelect, _objectSpread(_objectSpread({}, enumProps), {}, {
167
- otherProps: otherProps,
168
168
  dataSource: list,
169
169
  fieldNames: {
170
170
  label: label,
@@ -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,
@@ -42,7 +42,8 @@ var ProEnum = function ProEnum(props) {
42
42
  enumProps = (0, _objectWithoutProperties2.default)(props, _excluded);
43
43
  var _ref = otherProps || {},
44
44
  isView = _ref.isView,
45
- viewEmpty = _ref.viewEmpty;
45
+ viewEmpty = _ref.viewEmpty,
46
+ disabled = _ref.disabled;
46
47
  var _ref2 = (0, _ProConfigProvider.useProConfig)('ProEnum') || {},
47
48
  fieldNames = _ref2.fieldNames,
48
49
  _ref2$clear = _ref2.clear,
@@ -165,7 +166,6 @@ var ProEnum = function ProEnum(props) {
165
166
  switch (type) {
166
167
  case 'ProSelect':
167
168
  return (0, _jsxRuntime.jsx)(_ProSelect.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, enumProps), {}, {
168
- otherProps: otherProps,
169
169
  dataSource: list,
170
170
  fieldNames: {
171
171
  label: label,
@@ -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",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",