@zgfe/business-lib 1.2.71-hxd.25 → 1.2.71-hxd.26

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.
@@ -20,7 +20,7 @@ import BizGlobalDataContext from '../../context';
20
20
  import { Spin, message } from 'antd';
21
21
  export var classPrefix = 'biz-layout-panel';
22
22
  var BizTargetFromPanel = function BizTargetFromPanel(props) {
23
- var _props$value, _props$value10, _props$value$target$p;
23
+ var _props$value, _props$value10, _props$disabled, _props$value$target$p;
24
24
  var _useContext = useContext(BizGlobalDataContext),
25
25
  authority = _useContext.authority;
26
26
  var _useState = useState([]),
@@ -140,7 +140,8 @@ var BizTargetFromPanel = function BizTargetFromPanel(props) {
140
140
  value: {
141
141
  handleSearch: setBtnOptions,
142
142
  afterEditTarget: props.afterEditTarget,
143
- itemValue: props.value
143
+ itemValue: props.value,
144
+ disabled: (_props$disabled = props === null || props === void 0 ? void 0 : props.disabled) !== null && _props$disabled !== void 0 ? _props$disabled : false
144
145
  }
145
146
  }, /*#__PURE__*/React.createElement(Spin, {
146
147
  spinning: loading,
@@ -88,4 +88,5 @@ export declare const BizTargetFromPanelContext: React.Context<{
88
88
  handleSearch?: ((isSearch?: boolean) => void) | undefined;
89
89
  afterEditTarget?: ((type: string, value?: any) => void) | undefined;
90
90
  itemValue?: BizOptionTitleProps.Value | undefined;
91
+ disabled?: boolean | undefined;
91
92
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.2.71-hxd.25",
3
+ "version": "1.2.71-hxd.26",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -55,7 +55,7 @@
55
55
  "react": "^16.12.0 || ^17.0.0",
56
56
  "yorkie": "^2.0.0"
57
57
  },
58
- "gitHead": "0bb98b72b5a68f2f5018fc9fe801405acc448896",
58
+ "gitHead": "b5c661187961c2c154dad15a97a9ae9e2e6a359a",
59
59
  "gitHooks": {
60
60
  "pre-commit": "lint-staged"
61
61
  }