ronds-metadata 1.3.35 → 1.3.36

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
11
11
  /*
12
12
  * @Author: wangxian
13
13
  * @Date: 2021-09-18 14:15:04
14
- * @LastEditTime: 2024-03-19 15:08:05
14
+ * @LastEditTime: 2024-03-20 13:39:47
15
15
  */
16
16
  import React from 'react';
17
17
  import { MinusCircleOutlined, PlusOutlined } from '@ant-design/icons';
@@ -106,11 +106,11 @@ function Index(props) {
106
106
  key: id,
107
107
  initialValue: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.defaultValue
108
108
  }, function (fields, _ref) {
109
- var _extraInfo$disabled3;
109
+ var _extraInfo$disabled4;
110
110
  var add = _ref.add,
111
111
  remove = _ref.remove;
112
112
  return /*#__PURE__*/React.createElement(React.Fragment, null, fields.map(function (field, idx) {
113
- var _extraInfo$disabled2;
113
+ var _extraInfo$disabled2, _extraInfo$disabled3;
114
114
  return /*#__PURE__*/React.createElement("div", {
115
115
  key: field.key,
116
116
  style: {
@@ -127,7 +127,7 @@ function Index(props) {
127
127
  isRefForm: isRefForm,
128
128
  isShowTypeInfo: formContext.isShowTypeInfo,
129
129
  field: field
130
- }, 23), !(extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.disabled) && /*#__PURE__*/React.createElement(MinusCircleOutlined, {
130
+ }, 23), !((_extraInfo$disabled3 = extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.disabled) !== null && _extraInfo$disabled3 !== void 0 ? _extraInfo$disabled3 : disabled) && /*#__PURE__*/React.createElement(MinusCircleOutlined, {
131
131
  style: {
132
132
  marginLeft: '10px'
133
133
  },
@@ -137,7 +137,7 @@ function Index(props) {
137
137
  })));
138
138
  }), /*#__PURE__*/React.createElement(_Form.Item, null, /*#__PURE__*/React.createElement(_Button, {
139
139
  type: "dashed",
140
- disabled: (_extraInfo$disabled3 = extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.disabled) !== null && _extraInfo$disabled3 !== void 0 ? _extraInfo$disabled3 : disabled,
140
+ disabled: (_extraInfo$disabled4 = extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.disabled) !== null && _extraInfo$disabled4 !== void 0 ? _extraInfo$disabled4 : disabled,
141
141
  onClick: function onClick() {
142
142
  return add();
143
143
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.3.35",
4
+ "version": "1.3.36",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",