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

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.
@@ -107,7 +107,7 @@ var EventCondition = function EventCondition(props) {
107
107
  onChange: onEventChange,
108
108
  border: false,
109
109
  theme: "normal",
110
- placeholder: "\u9009\u62E9\u4E00\u4E2A\u4E8B\u4EF6",
110
+ placeholder: (condition === null || condition === void 0 ? void 0 : condition.placeholder) ? condition.placeholder : '选择一个事件',
111
111
  destroyPopupOnHide: true,
112
112
  defaultSelectAble: false,
113
113
  popupContainer: false
@@ -62,7 +62,6 @@ var PropCondition = function PropCondition(props) {
62
62
  list.push({
63
63
  attr: attr,
64
64
  default: attr,
65
- placeholder: placeholder || '请选择属性',
66
65
  id: Math.random()
67
66
  });
68
67
  } else {
@@ -43,12 +43,11 @@ export default (function () {
43
43
  openTagCondition: true,
44
44
  openCdpCondition: true,
45
45
  userTagsData: userTagsData,
46
- labelCreateType: 12,
47
46
  isRealTime: true
48
47
  });
49
48
  return /*#__PURE__*/React.createElement(DemoWrapper, {
50
49
  needMeta: true,
51
- defaultApp: 461
50
+ defaultApp: 99825
52
51
  }, /*#__PURE__*/React.createElement("div", {
53
52
  style: {
54
53
  display: 'inline-block'
@@ -142,6 +142,7 @@ export declare namespace BizUserConditionT {
142
142
  runTimes: RunTimesI;
143
143
  runPeriod: RunPeriodI;
144
144
  eventId: number;
145
+ placeholder?: string;
145
146
  }
146
147
  interface AddCondition {
147
148
  eventId: '-3';
@@ -46,7 +46,8 @@ export function buildCondition(type, labelCreateType) {
46
46
  runPeriod: {
47
47
  operator: 'relative',
48
48
  values: ['30', '0']
49
- }
49
+ },
50
+ placeholder: labelCreateType === LabelCreateType.lostUser ? '进入App' : ''
50
51
  };
51
52
  case 'prop':
52
53
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.2.34-tags.6",
3
+ "version": "1.2.34-tags.8",
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": "344de037654d0c58623b39d7ab59c9fe2957b936",
58
+ "gitHead": "aa40b4fef79dbf4458b73ef1935fb5aa69f15520",
59
59
  "gitHooks": {
60
60
  "pre-commit": "lint-staged"
61
61
  }