@zat-design/sisyphus-react 3.4.3-beta.13 → 3.4.3-beta.14

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.
@@ -227,15 +227,6 @@ var ProModalSelect = function ProModalSelect(props, ref) {
227
227
  var handleSelectValue = function handleSelectValue(val, option) {
228
228
  onChange(val, option);
229
229
  };
230
- // 清空表单项
231
- var handleClearValue = function handleClearValue() {
232
- onChange(undefined, {});
233
- setState({
234
- _value: undefined,
235
- selectedRowKeys: [],
236
- selectedRows: []
237
- });
238
- };
239
230
  var handleClick = /*#__PURE__*/function () {
240
231
  var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
241
232
  var _yield$beforeOpen, res;
@@ -674,6 +665,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
674
665
  showCodeName: showCodeName,
675
666
  labelInValue: labelInValue,
676
667
  dataSource: options,
668
+ scrollFollowParent: false,
677
669
  onClick: function onClick() {
678
670
  // 没有值的时候,初始化点击默认查询前五十条
679
671
  if (!value && isInit) {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProAddressPropsType } from './propsTypes';
2
3
  export declare const transferAddressInfoToRegion: () => {
3
4
  normalize: (value: any) => {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ProRangeBoxPropsType } from './propsType';
2
3
  export default function ProRangeBox({ configOption }: ProRangeBoxPropsType): JSX.Element;
@@ -135,7 +135,7 @@ export var filterInternalFields = function filterInternalFields(values) {
135
135
  if (isObject(nextValues)) {
136
136
  var result = {};
137
137
  Object.keys(nextValues).forEach(function (key) {
138
- // if (key.includes('-')) return;
138
+ if (key.includes('-')) return;
139
139
  result[key] = filterInternalFields(nextValues[key]);
140
140
  });
141
141
  return result;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare function CloseIcon(props: any): JSX.Element;
2
3
  export default CloseIcon;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare function CloseIcon(props: any): JSX.Element;
2
3
  export default CloseIcon;
@@ -224,15 +224,6 @@ var ProModalSelect = function ProModalSelect(props, ref) {
224
224
  var handleSelectValue = function handleSelectValue(val, option) {
225
225
  onChange(val, option);
226
226
  };
227
- // 清空表单项
228
- var handleClearValue = function handleClearValue() {
229
- onChange(undefined, {});
230
- setState({
231
- _value: undefined,
232
- selectedRowKeys: [],
233
- selectedRows: []
234
- });
235
- };
236
227
  var handleClick = /*#__PURE__*/function () {
237
228
  var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee() {
238
229
  var _yield$beforeOpen, res;
@@ -671,6 +662,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
671
662
  showCodeName: showCodeName,
672
663
  labelInValue: labelInValue,
673
664
  dataSource: options,
665
+ scrollFollowParent: false,
674
666
  onClick: function onClick() {
675
667
  // 没有值的时候,初始化点击默认查询前五十条
676
668
  if (!value && isInit) {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProAddressPropsType } from './propsTypes';
2
3
  export declare const transferAddressInfoToRegion: () => {
3
4
  normalize: (value: any) => {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ProRangeBoxPropsType } from './propsType';
2
3
  export default function ProRangeBox({ configOption }: ProRangeBoxPropsType): JSX.Element;
@@ -151,7 +151,7 @@ var filterInternalFields = exports.filterInternalFields = function filterInterna
151
151
  if ((0, _lodash.isObject)(nextValues)) {
152
152
  var result = {};
153
153
  Object.keys(nextValues).forEach(function (key) {
154
- // if (key.includes('-')) return;
154
+ if (key.includes('-')) return;
155
155
  result[key] = filterInternalFields(nextValues[key]);
156
156
  });
157
157
  return result;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare function CloseIcon(props: any): JSX.Element;
2
3
  export default CloseIcon;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare function CloseIcon(props: any): JSX.Element;
2
3
  export default CloseIcon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.4.3-beta.13",
3
+ "version": "3.4.3-beta.14",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",