@zgfe/business-lib 1.1.72-beta.3 → 1.1.72-beta.5

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.
@@ -18,6 +18,9 @@ var BizAttrConditionGroup = /*#__PURE__*/React.forwardRef(function (props, ref)
18
18
  _onDelete = _useConditionGroup.onDelete,
19
19
  relation = _useConditionGroup.relation;
20
20
  var classPrefix = 'biz-attr-condition-group';
21
+ if (!conditions.length) {
22
+ return null;
23
+ }
21
24
  return /*#__PURE__*/React.createElement("div", {
22
25
  className: classPrefix
23
26
  }, /*#__PURE__*/React.createElement(Skeleton, {
@@ -100,7 +100,6 @@ var FormulaItem = function FormulaItem(props) {
100
100
  return;
101
101
  }
102
102
  var type = ((_formulaValue$conditi = formulaValue.condition) === null || _formulaValue$conditi === void 0 ? void 0 : _formulaValue$conditi.type) || FormulaTypes.CONSTANT;
103
- console.log('type:', type);
104
103
  var validateData = validator(type, formulaValue.condition);
105
104
  if (!validateData.isOk) {
106
105
  setIsValidate(true);
@@ -6,6 +6,7 @@
6
6
  flex-direction: column;
7
7
  width: fit-content;
8
8
  min-width: 328px;
9
+ max-width: 700px;
9
10
  height: 368px;
10
11
  padding: 0;
11
12
  background: #fff;
@@ -1,7 +1,6 @@
1
1
  @import '../../assets/styles/inner.less';
2
2
 
3
3
  .biz-formula-target {
4
- // padding: 4px 0;
5
4
  &:hover {
6
5
  .biz-formula-target-title-option {
7
6
  display: flex;
@@ -9,6 +8,9 @@
9
8
  .formula-container-option:not(.active) {
10
9
  display: flex;
11
10
  color: #b9ceff;
11
+ &.disabled {
12
+ color: #ccd0d4;
13
+ }
12
14
  }
13
15
  }
14
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.1.72-beta.3",
3
+ "version": "1.1.72-beta.5",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -58,5 +58,5 @@
58
58
  "react": "^16.12.0 || ^17.0.0",
59
59
  "yorkie": "^2.0.0"
60
60
  },
61
- "gitHead": "b891ac3ee13421dbbedb8af6e4de0ad89ebe1fca"
61
+ "gitHead": "2835de799ff7dca6ff40cd5683709b0821f1f84a"
62
62
  }