@zgfe/business-lib 1.2.51-plat.3 → 1.2.51-plat.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.
|
@@ -16,7 +16,7 @@ import { PropType } from '../types';
|
|
|
16
16
|
import './styles/cdpCondition.less';
|
|
17
17
|
import _ from 'lodash';
|
|
18
18
|
import { dateOperate, numberOperate, stringOperate } from '../../attrConditions/utils/operates';
|
|
19
|
-
import { DatePicker, Input
|
|
19
|
+
import { DatePicker, Input } from 'antd';
|
|
20
20
|
import moment from 'moment';
|
|
21
21
|
import { BizUserConditionContext } from '..';
|
|
22
22
|
import request from '../../utils/ajax';
|
|
@@ -264,8 +264,9 @@ var CdpConditionItem = function CdpConditionItem(props) {
|
|
|
264
264
|
keyField: "metaDatasetId",
|
|
265
265
|
value: dataset,
|
|
266
266
|
onChange: onTableChange
|
|
267
|
-
}), /*#__PURE__*/React.createElement(
|
|
268
|
-
|
|
267
|
+
}), /*#__PURE__*/React.createElement("a", {
|
|
268
|
+
target: "_blank",
|
|
269
|
+
href: "https://docs.zhugeio.com/datamanager/detail_data.html"
|
|
269
270
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
270
271
|
type: "bangzhu",
|
|
271
272
|
className: "".concat(classPrefix, "-select-tips")
|
|
@@ -16,7 +16,7 @@ import { PropType } from '../types';
|
|
|
16
16
|
import './styles/cdpCshCondition.less';
|
|
17
17
|
import _ from 'lodash';
|
|
18
18
|
import { dateOperate, numberOperateCsh, numberTypeCsh, stringOperate, numberOperateCsh2 } from '../../attrConditions/utils/operates';
|
|
19
|
-
import { DatePicker, Input
|
|
19
|
+
import { DatePicker, Input } from 'antd';
|
|
20
20
|
import moment from 'moment';
|
|
21
21
|
import { BizUserConditionContext } from '..';
|
|
22
22
|
import request from '../../utils/ajax';
|
|
@@ -408,8 +408,9 @@ var CdpConditionItem = function CdpConditionItem(props) {
|
|
|
408
408
|
keyField: "metaDatasetId",
|
|
409
409
|
value: subDataset,
|
|
410
410
|
onChange: onSubTableChange
|
|
411
|
-
}), /*#__PURE__*/React.createElement(
|
|
412
|
-
|
|
411
|
+
}), /*#__PURE__*/React.createElement("a", {
|
|
412
|
+
target: "_blank",
|
|
413
|
+
href: "https://docs.zhugeio.com/datamanager/detail_data.html"
|
|
413
414
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
414
415
|
type: "bangzhu",
|
|
415
416
|
className: "".concat(classPrefix, "-select-tips")
|
|
@@ -470,8 +471,9 @@ var CdpConditionItem = function CdpConditionItem(props) {
|
|
|
470
471
|
keyField: "metaDatasetId",
|
|
471
472
|
value: dataset,
|
|
472
473
|
onChange: onTableChange
|
|
473
|
-
}), /*#__PURE__*/React.createElement(
|
|
474
|
-
|
|
474
|
+
}), /*#__PURE__*/React.createElement("a", {
|
|
475
|
+
target: "_blank",
|
|
476
|
+
href: "https://docs.zhugeio.com/datamanager/detail_data.html"
|
|
475
477
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
476
478
|
type: "bangzhu",
|
|
477
479
|
className: "".concat(classPrefix, "-select-tips")
|
package/es/userGroup/overlay.js
CHANGED
|
@@ -130,7 +130,7 @@ var Overlay = function Overlay(_ref2) {
|
|
|
130
130
|
onClick: onClickAdd
|
|
131
131
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
132
132
|
type: "zengjia"
|
|
133
|
-
}), "\
|
|
133
|
+
}), "\u6DFB\u52A0\u5206\u7FA4")), showList.length > 10 ? /*#__PURE__*/React.createElement(List, {
|
|
134
134
|
data: showList || [],
|
|
135
135
|
itemHeight: 32,
|
|
136
136
|
itemKey: "id",
|
|
@@ -8,11 +8,12 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
8
8
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
9
9
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
|
-
import React, { useEffect } from 'react';
|
|
11
|
+
import React, { useEffect, useContext } from 'react';
|
|
12
12
|
import './styles/index.less';
|
|
13
13
|
import { Space, Tooltip } from 'antd';
|
|
14
14
|
import BizUserGroup from '../userGroup';
|
|
15
15
|
import IconFont from '../icon/iconFont';
|
|
16
|
+
import BizGlobalDataContext from '../context';
|
|
16
17
|
import _ from 'lodash';
|
|
17
18
|
var BizUserGroupHeader = function BizUserGroupHeader(_ref) {
|
|
18
19
|
var max = _ref.max,
|
|
@@ -21,6 +22,8 @@ var BizUserGroupHeader = function BizUserGroupHeader(_ref) {
|
|
|
21
22
|
enableTags = _ref.enableTags,
|
|
22
23
|
title = _ref.title,
|
|
23
24
|
placeholder = _ref.placeholder;
|
|
25
|
+
var _useContext = useContext(BizGlobalDataContext),
|
|
26
|
+
currentApp = _useContext.currentApp;
|
|
24
27
|
var classPrefix = 'biz-user-group-header';
|
|
25
28
|
var _React$useState = React.useState([]),
|
|
26
29
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -55,7 +58,7 @@ var BizUserGroupHeader = function BizUserGroupHeader(_ref) {
|
|
|
55
58
|
className: classPrefix
|
|
56
59
|
}, /*#__PURE__*/React.createElement("div", {
|
|
57
60
|
className: "".concat(classPrefix, "-title")
|
|
58
|
-
}, title || '分析用户群'), /*#__PURE__*/React.createElement(Space, {
|
|
61
|
+
}, title || (currentApp === null || currentApp === void 0 ? void 0 : currentApp.type) === 'user' ? '分析用户群' : '主体分群'), /*#__PURE__*/React.createElement(Space, {
|
|
59
62
|
size: 16,
|
|
60
63
|
className: "".concat(classPrefix, "-container")
|
|
61
64
|
}, [tempValue.map(function (item, i) {
|
|
@@ -74,7 +77,7 @@ var BizUserGroupHeader = function BizUserGroupHeader(_ref) {
|
|
|
74
77
|
list[i].value = val;
|
|
75
78
|
setTempValue(list);
|
|
76
79
|
},
|
|
77
|
-
placeholder: placeholder
|
|
80
|
+
placeholder: placeholder || '请选择分群'
|
|
78
81
|
});
|
|
79
82
|
})], /*#__PURE__*/React.createElement(Tooltip, {
|
|
80
83
|
title: "\u6DFB\u52A0\u5206\u7FA4\u505A\u5BF9\u6BD4"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.2.51-plat.
|
|
3
|
+
"version": "1.2.51-plat.5",
|
|
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": "
|
|
58
|
+
"gitHead": "e01c5baf0142c6443b19ea6759ed4068be98bdbb",
|
|
59
59
|
"gitHooks": {
|
|
60
60
|
"pre-commit": "lint-staged"
|
|
61
61
|
}
|