@zgfe/business-lib 1.2.34-tags.4 → 1.2.34-tags.6

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.
@@ -252,6 +252,7 @@ var BizUserCondition = function BizUserCondition(props) {
252
252
  return /*#__PURE__*/React.createElement(OrConditions, {
253
253
  showAndDesc: i > 0,
254
254
  orConditions: item.orConditions,
255
+ labelCreateType: props.labelCreateType,
255
256
  key: item.id,
256
257
  onChange: function onChange(data) {
257
258
  _onChange(item.id, data);
@@ -55,7 +55,7 @@ var OrConditions = function OrConditions(props) {
55
55
  setShowList(showList);
56
56
  }
57
57
  function onAdd(type) {
58
- var condition = buildCondition(type);
58
+ var condition = buildCondition(type, props.labelCreateType);
59
59
  var newData = {
60
60
  id: Math.random(),
61
61
  condition: condition
@@ -255,6 +255,7 @@ export declare namespace OrConditionsT {
255
255
  onChange: (value: any[]) => void;
256
256
  orConditions: BizUserConditionT.Conditions[number];
257
257
  showAndDesc: boolean;
258
+ labelCreateType?: number;
258
259
  }
259
260
  interface ShowItemI {
260
261
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.2.34-tags.4",
3
+ "version": "1.2.34-tags.6",
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": "6d32833cc1290a20118cebcf18926bc9356534bf",
58
+ "gitHead": "344de037654d0c58623b39d7ab59c9fe2957b936",
59
59
  "gitHooks": {
60
60
  "pre-commit": "lint-staged"
61
61
  }