@zgfe/business-lib 1.2.66-hxd.2 → 1.2.70-hxd.3
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.
- package/README.md +1 -1
- package/es/assets/iconfont/demo.css +539 -539
- package/es/assets/iconfont/demo_index.html +5708 -5363
- package/es/assets/iconfont/iconfont.css +975 -915
- package/es/assets/iconfont/iconfont.js +8 -8
- package/es/assets/iconfont/iconfont.json +1689 -1584
- package/es/assets/iconfont/iconfont.ttf +0 -0
- package/es/assets/iconfont/iconfont.woff +0 -0
- package/es/assets/iconfont/iconfont.woff2 +0 -0
- package/es/assets/styles/resetAntd.less +20 -7
- package/es/attrConditions/components/operateList.js +4 -4
- package/es/attrConditions/components/valuesList.js +1 -1
- package/es/attributeSelector/index.js +3 -1
- package/es/attributeSelector/listPanel.js +2 -2
- package/es/attributeSelector/types.d.ts +1 -0
- package/es/attributeSelector/util.js +1 -0
- package/es/chart/demo/data/data7.d.ts +54 -0
- package/es/chart/demo/data/data7.js +1527 -0
- package/es/chart/demo/stack.d.ts +3 -0
- package/es/chart/demo/stack.js +31 -0
- package/es/chart/index.js +16 -6
- package/es/chart/types.d.ts +4 -1
- package/es/chart/util/chartOptionConfig.d.ts +4 -3
- package/es/chart/util/chartOptionConfig.js +84 -4
- package/es/chart/util/formatData.d.ts +1 -0
- package/es/chart/util/formatData.js +13 -0
- package/es/cycleTime/index.js +1 -1
- package/es/datePicker/index.js +6 -6
- package/es/datePickerV2/index.js +6 -3
- package/es/datePickerV2/popoverContent.d.ts +1 -0
- package/es/datePickerV2/popoverContent.js +3 -1
- package/es/datePickerV2/shortcut.d.ts +2 -0
- package/es/datePickerV2/shortcut.js +4 -3
- package/es/datePickerV2/types.d.ts +2 -0
- package/es/datePickerV2/utils.d.ts +1 -1
- package/es/datePickerV2/utils.js +5 -5
- package/es/hooks/useBizStore.js +5 -2
- package/es/index.d.ts +4 -1
- package/es/index.js +4 -1
- package/es/productCondition/conditions/order/runPeriodCondition.js +1 -1
- package/es/productCondition/conditions/periodCondition.js +1 -1
- package/es/productCondition/conditions/runTimesCondition.js +1 -1
- package/es/select/index.js +9 -1
- package/es/select/types.d.ts +3 -2
- package/es/subjectWrapper/demo/index.d.ts +3 -0
- package/es/subjectWrapper/demo/index.js +28 -0
- package/es/subjectWrapper/index.d.ts +5 -0
- package/es/subjectWrapper/index.js +98 -0
- package/es/subjectWrapper/index.less +12 -0
- package/es/subjectWrapper/types.d.ts +14 -0
- package/es/subjectWrapper/types.js +4 -0
- package/es/userCondition/conditions/cdpCshCondition.js +0 -1
- package/es/userCondition/conditions/order/runPeriodCondition.js +1 -1
- package/es/userCondition/conditions/periodCondition.js +1 -1
- package/es/userCondition/conditions/runTimesCondition.js +1 -1
- package/es/userGroup/index.js +2 -2
- package/es/userGroupHeader/demo/index.js +1 -1
- package/es/utils/util.d.ts +3 -0
- package/es/utils/util.js +10 -0
- package/package.json +62 -62
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
background-color: @background-color-base!important;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
> .ant-input:hover {
|
|
16
|
+
border-color: #165dff00 !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
> .ant-input:focus {
|
|
20
|
+
border-color: #165dff00 !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
15
23
|
&:hover {
|
|
16
24
|
border-color: @primary-color!important;
|
|
17
25
|
}
|
|
@@ -46,15 +54,16 @@
|
|
|
46
54
|
// 输入框
|
|
47
55
|
.ant-input {
|
|
48
56
|
background-color: @background-color-base!important;
|
|
57
|
+
border: 1px solid #ecedf000 !important;
|
|
49
58
|
// border-color: @background-color-base!important;
|
|
50
59
|
border-radius: @border-radius-small!important;
|
|
51
60
|
&:hover {
|
|
52
|
-
border-color: @primary-color;
|
|
61
|
+
border-color: @primary-color !important;
|
|
53
62
|
}
|
|
54
63
|
&:focus,
|
|
55
64
|
&-focused {
|
|
56
65
|
background-color: #fff !important;
|
|
57
|
-
border-color: @primary-color;
|
|
66
|
+
border-color: @primary-color !important;
|
|
58
67
|
box-shadow: 0 0 0 4px @custom-focus !important;
|
|
59
68
|
}
|
|
60
69
|
&.ant-input-status-error {
|
|
@@ -62,11 +71,16 @@
|
|
|
62
71
|
&:focus,
|
|
63
72
|
&-focused {
|
|
64
73
|
&:not(.ant-input-disable):not(.ant-input-borderless) {
|
|
65
|
-
box-shadow: 0 0 0 4px rgba(#ff8170, 0
|
|
74
|
+
box-shadow: 0 0 0 4px rgba(#ff8170, 0) !important;
|
|
66
75
|
}
|
|
67
76
|
}
|
|
68
77
|
}
|
|
69
78
|
}
|
|
79
|
+
.ant-input[disabled] {
|
|
80
|
+
color: rgba(2, 20, 41, 1) !important;
|
|
81
|
+
background-color: #f2f3f4 !important;
|
|
82
|
+
border-color: #ecedf000 !important;
|
|
83
|
+
}
|
|
70
84
|
|
|
71
85
|
.ant-input-group-addon {
|
|
72
86
|
color: @text-color-secondary!important;
|
|
@@ -519,24 +533,23 @@
|
|
|
519
533
|
}
|
|
520
534
|
|
|
521
535
|
.ant-btn-text {
|
|
522
|
-
background-color:
|
|
536
|
+
background-color: none !important;
|
|
523
537
|
border: none !important;
|
|
524
538
|
|
|
525
539
|
&:hover {
|
|
526
540
|
color: @text-color!important;
|
|
527
|
-
background-color:
|
|
541
|
+
background-color: none !important;
|
|
528
542
|
}
|
|
529
543
|
|
|
530
544
|
&:focus {
|
|
531
545
|
color: @text-color!important;
|
|
532
|
-
background-color:
|
|
546
|
+
background-color: none !important;
|
|
533
547
|
}
|
|
534
548
|
}
|
|
535
549
|
.ant-form-item-explain-error {
|
|
536
550
|
color: @error-color!important;
|
|
537
551
|
}
|
|
538
552
|
|
|
539
|
-
//dropdown
|
|
540
553
|
.ant-dropdown,
|
|
541
554
|
.ant-picker-dropdown,
|
|
542
555
|
.ant-dropdown-menu-submenu-popup {
|
|
@@ -35,9 +35,9 @@ var BizOperateList = function BizOperateList(props) {
|
|
|
35
35
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
36
36
|
ready = _useState8[0],
|
|
37
37
|
setReady = _useState8[1];
|
|
38
|
-
var specialOperateHandle = function specialOperateHandle(
|
|
39
|
-
var _special = ['
|
|
40
|
-
return
|
|
38
|
+
var specialOperateHandle = function specialOperateHandle(name) {
|
|
39
|
+
var _special = ['platform', 'network', 'mccmnc', 'device_model'];
|
|
40
|
+
return name && _special.indexOf(name) !== -1 ? true : false;
|
|
41
41
|
};
|
|
42
42
|
useEffect(function () {
|
|
43
43
|
if (/place/.test(props.defaultValue || '')) {
|
|
@@ -63,7 +63,7 @@ var BizOperateList = function BizOperateList(props) {
|
|
|
63
63
|
var _props$attr2, _props$attr3;
|
|
64
64
|
if (((_props$attr2 = props.attr) === null || _props$attr2 === void 0 ? void 0 : _props$attr2.id) == 31415926) {
|
|
65
65
|
optionData = stringBusinessOperate;
|
|
66
|
-
} else if (specialOperateHandle((_props$attr3 = props.attr) === null || _props$attr3 === void 0 ? void 0 : _props$attr3.
|
|
66
|
+
} else if (specialOperateHandle((_props$attr3 = props.attr) === null || _props$attr3 === void 0 ? void 0 : _props$attr3.name)) {
|
|
67
67
|
optionData = specialOperate;
|
|
68
68
|
} else {
|
|
69
69
|
optionData = stringOperate;
|
|
@@ -170,7 +170,7 @@ var ValuesList = function ValuesList(props) {
|
|
|
170
170
|
} else {
|
|
171
171
|
return /*#__PURE__*/React.createElement(Input, {
|
|
172
172
|
className: "".concat(classPrefix, "-input"),
|
|
173
|
-
value: current && current[0] ? current[0] :
|
|
173
|
+
value: current && current[0] ? current[0] : '',
|
|
174
174
|
placeholder: "\u8BF7\u8F93\u5165\u5C5E\u6027\u503C",
|
|
175
175
|
type: "number",
|
|
176
176
|
suffix: "\u5929",
|
|
@@ -23,6 +23,7 @@ var BizAttributeSelector = function BizAttributeSelector(props) {
|
|
|
23
23
|
placeholder = props.placeholder,
|
|
24
24
|
theme = props.theme,
|
|
25
25
|
extra = props.extra,
|
|
26
|
+
extraUser = props.extraUser,
|
|
26
27
|
isNumber = props.isNumber,
|
|
27
28
|
overlayClassName = props.overlayClassName,
|
|
28
29
|
isStrNum = props.isStrNum,
|
|
@@ -73,7 +74,8 @@ var BizAttributeSelector = function BizAttributeSelector(props) {
|
|
|
73
74
|
});
|
|
74
75
|
if (res && param.step !== undefined) res.step = param.step;
|
|
75
76
|
} else if ((param === null || param === void 0 ? void 0 : param.propCategory) === 'userProp') {
|
|
76
|
-
|
|
77
|
+
var _concat;
|
|
78
|
+
(_concat = (extraUser ? extraUser : []).concat(userPropList ? userPropList : [])) === null || _concat === void 0 ? void 0 : _concat.forEach(function (attr) {
|
|
77
79
|
if (attr.id === param.id && attr.category === param.category && attr.name === (param.name || param.value)) res = attr;
|
|
78
80
|
});
|
|
79
81
|
} else {
|
|
@@ -24,6 +24,7 @@ var AttrListPanel = function AttrListPanel(props) {
|
|
|
24
24
|
eventIdList = props.eventIdList,
|
|
25
25
|
funnelEventIdList = props.funnelEventIdList,
|
|
26
26
|
extra = props.extra,
|
|
27
|
+
extraUser = props.extraUser,
|
|
27
28
|
isNumber = props.isNumber,
|
|
28
29
|
isStrNum = props.isStrNum,
|
|
29
30
|
isString = props.isString,
|
|
@@ -195,7 +196,7 @@ var AttrListPanel = function AttrListPanel(props) {
|
|
|
195
196
|
groupName: "".concat((currentApp === null || currentApp === void 0 ? void 0 : currentApp.type) === 'user' ? '用户' : '主体', "\u5C5E\u6027"),
|
|
196
197
|
key: 'userProps',
|
|
197
198
|
anchor: anchor.user,
|
|
198
|
-
children: userPropList
|
|
199
|
+
children: (extraUser ? extraUser : []).concat(userPropList)
|
|
199
200
|
});
|
|
200
201
|
}
|
|
201
202
|
if (enableEnvProp) {
|
|
@@ -210,7 +211,6 @@ var AttrListPanel = function AttrListPanel(props) {
|
|
|
210
211
|
setOptionList(list);
|
|
211
212
|
}, [anchor, eventIdMap, userPropList, eventEnvList, eventIdList, props.showCommonProp]);
|
|
212
213
|
useEffect(function () {
|
|
213
|
-
console.log('currentAttr', props.value);
|
|
214
214
|
setCurrentAttr(props.value);
|
|
215
215
|
}, [props.value]);
|
|
216
216
|
function onClick(option) {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
delEventName: null;
|
|
3
|
+
huanbi: never[];
|
|
4
|
+
md5: string;
|
|
5
|
+
numberCard: number;
|
|
6
|
+
series: {
|
|
7
|
+
diyTarget: boolean;
|
|
8
|
+
duration: never[];
|
|
9
|
+
groupId: number;
|
|
10
|
+
index: string;
|
|
11
|
+
names: string[];
|
|
12
|
+
orderNum: null;
|
|
13
|
+
originalNames: never[];
|
|
14
|
+
pNext: never[];
|
|
15
|
+
pTotal: never[];
|
|
16
|
+
proMd5: null;
|
|
17
|
+
resultFormat: null;
|
|
18
|
+
sum: null;
|
|
19
|
+
total: never[];
|
|
20
|
+
values: number[];
|
|
21
|
+
}[];
|
|
22
|
+
table: string;
|
|
23
|
+
tongbi: never[];
|
|
24
|
+
total: never[];
|
|
25
|
+
updateTime: string;
|
|
26
|
+
xAxis: string[];
|
|
27
|
+
yesterDay: never[];
|
|
28
|
+
seriesOriginal: {
|
|
29
|
+
diyTarget: boolean;
|
|
30
|
+
duration: never[];
|
|
31
|
+
groupId: number;
|
|
32
|
+
index: string;
|
|
33
|
+
names: string[];
|
|
34
|
+
orderNum: null;
|
|
35
|
+
originalNames: never[];
|
|
36
|
+
pNext: never[];
|
|
37
|
+
pTotal: never[];
|
|
38
|
+
proMd5: null;
|
|
39
|
+
resultFormat: null;
|
|
40
|
+
sum: null;
|
|
41
|
+
total: never[];
|
|
42
|
+
values: number[];
|
|
43
|
+
}[];
|
|
44
|
+
};
|
|
45
|
+
export default _default;
|
|
46
|
+
export declare const barData: {
|
|
47
|
+
xAxis: string[];
|
|
48
|
+
series: {
|
|
49
|
+
names: string[];
|
|
50
|
+
values: number[];
|
|
51
|
+
orderNum: number;
|
|
52
|
+
}[];
|
|
53
|
+
};
|
|
54
|
+
export declare const showCharts: string[];
|