@zgfe/business-lib 1.2.48-plat.4 → 1.2.49
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/es/assets/iconfont/demo_index.html +17 -362
- package/es/assets/iconfont/iconfont.css +5 -65
- package/es/assets/iconfont/iconfont.js +1 -1
- package/es/assets/iconfont/iconfont.json +4 -109
- 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/chart/index.js +3 -0
- package/es/chart/types.d.ts +2 -0
- package/es/index.d.ts +1 -2
- package/es/index.js +1 -2
- package/package.json +2 -2
- package/es/platformSelector/demo/index.d.ts +0 -3
- package/es/platformSelector/demo/index.js +0 -16
- package/es/platformSelector/index.d.ts +0 -14
- package/es/platformSelector/index.js +0 -65
- package/es/platformSelector/styles/index.less +0 -9
- package/es/table/font_2545884_ievcoe4sky/demo.css +0 -539
- package/es/table/font_2545884_ievcoe4sky/demo_index.html +0 -4857
- package/es/table/font_2545884_ievcoe4sky/iconfont.css +0 -827
- package/es/table/font_2545884_ievcoe4sky/iconfont.js +0 -43
- package/es/table/font_2545884_ievcoe4sky/iconfont.json +0 -1430
- package/es/table/font_2545884_ievcoe4sky/iconfont.ttf +0 -0
- package/es/table/font_2545884_ievcoe4sky/iconfont.woff +0 -0
- package/es/table/font_2545884_ievcoe4sky/iconfont.woff2 +0 -0
|
@@ -5,111 +5,6 @@
|
|
|
5
5
|
"css_prefix_text": "",
|
|
6
6
|
"description": "诸葛业务平台",
|
|
7
7
|
"glyphs": [
|
|
8
|
-
{
|
|
9
|
-
"icon_id": "41047713",
|
|
10
|
-
"name": "js 2",
|
|
11
|
-
"font_class": "a-js2",
|
|
12
|
-
"unicode": "e63f",
|
|
13
|
-
"unicode_decimal": 58943
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"icon_id": "41047712",
|
|
17
|
-
"name": "微信小程序",
|
|
18
|
-
"font_class": "weixinxiaochengxu",
|
|
19
|
-
"unicode": "e640",
|
|
20
|
-
"unicode_decimal": 58944
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"icon_id": "41047711",
|
|
24
|
-
"name": "ios",
|
|
25
|
-
"font_class": "ios1",
|
|
26
|
-
"unicode": "e641",
|
|
27
|
-
"unicode_decimal": 58945
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"icon_id": "41047710",
|
|
31
|
-
"name": "android2",
|
|
32
|
-
"font_class": "android1",
|
|
33
|
-
"unicode": "e642",
|
|
34
|
-
"unicode_decimal": 58946
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"icon_id": "41047709",
|
|
38
|
-
"name": "服务器",
|
|
39
|
-
"font_class": "fuwuqi",
|
|
40
|
-
"unicode": "e643",
|
|
41
|
-
"unicode_decimal": 58947
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"icon_id": "40911670",
|
|
45
|
-
"name": "菜单-用户营销",
|
|
46
|
-
"font_class": "caidan-yonghuyingxiao",
|
|
47
|
-
"unicode": "e63a",
|
|
48
|
-
"unicode_decimal": 58938
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"icon_id": "40624563",
|
|
52
|
-
"name": "菜单-理财业务分析",
|
|
53
|
-
"font_class": "licaiyewufenxi",
|
|
54
|
-
"unicode": "e7c8",
|
|
55
|
-
"unicode_decimal": 59336
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"icon_id": "40533696",
|
|
59
|
-
"name": "菜单-信用卡业务",
|
|
60
|
-
"font_class": "xinyongkayewu1",
|
|
61
|
-
"unicode": "e7c6",
|
|
62
|
-
"unicode_decimal": 59334
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"icon_id": "40533695",
|
|
66
|
-
"name": "菜单-信用卡分期",
|
|
67
|
-
"font_class": "xinyongkafenqi",
|
|
68
|
-
"unicode": "e7c7",
|
|
69
|
-
"unicode_decimal": 59335
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"icon_id": "39969156",
|
|
73
|
-
"name": "LTV 分析",
|
|
74
|
-
"font_class": "a-LTVfenxi",
|
|
75
|
-
"unicode": "e7c5",
|
|
76
|
-
"unicode_decimal": 59333
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"icon_id": "39962950",
|
|
80
|
-
"name": "导航二级箭头",
|
|
81
|
-
"font_class": "daohangerjijiantou",
|
|
82
|
-
"unicode": "e632",
|
|
83
|
-
"unicode_decimal": 58930
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"icon_id": "39962949",
|
|
87
|
-
"name": "导航一级箭头收起",
|
|
88
|
-
"font_class": "daohangyijijiantoushouqi",
|
|
89
|
-
"unicode": "e634",
|
|
90
|
-
"unicode_decimal": 58932
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"icon_id": "39962948",
|
|
94
|
-
"name": "角色交换",
|
|
95
|
-
"font_class": "jiaosejiaohuan",
|
|
96
|
-
"unicode": "e635",
|
|
97
|
-
"unicode_decimal": 58933
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"icon_id": "39962947",
|
|
101
|
-
"name": "导航一级箭头展开",
|
|
102
|
-
"font_class": "daohangyijijiantouzhankai",
|
|
103
|
-
"unicode": "e636",
|
|
104
|
-
"unicode_decimal": 58934
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"icon_id": "39799478",
|
|
108
|
-
"name": "菜单-存款业务分析",
|
|
109
|
-
"font_class": "cunkuanyewu",
|
|
110
|
-
"unicode": "e7c4",
|
|
111
|
-
"unicode_decimal": 59332
|
|
112
|
-
},
|
|
113
8
|
{
|
|
114
9
|
"icon_id": "39634357",
|
|
115
10
|
"name": "埋点",
|
|
@@ -1029,8 +924,8 @@
|
|
|
1029
924
|
},
|
|
1030
925
|
{
|
|
1031
926
|
"icon_id": "31623999",
|
|
1032
|
-
"name": "
|
|
1033
|
-
"font_class": "
|
|
927
|
+
"name": "left",
|
|
928
|
+
"font_class": "left",
|
|
1034
929
|
"unicode": "e6d2",
|
|
1035
930
|
"unicode_decimal": 59090
|
|
1036
931
|
},
|
|
@@ -1043,8 +938,8 @@
|
|
|
1043
938
|
},
|
|
1044
939
|
{
|
|
1045
940
|
"icon_id": "31624006",
|
|
1046
|
-
"name": "
|
|
1047
|
-
"font_class": "
|
|
941
|
+
"name": "right",
|
|
942
|
+
"font_class": "right",
|
|
1048
943
|
"unicode": "e6d4",
|
|
1049
944
|
"unicode_decimal": 59092
|
|
1050
945
|
},
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/es/chart/index.js
CHANGED
|
@@ -141,6 +141,9 @@ var BizChart = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
141
141
|
if (type === 'line') {
|
|
142
142
|
eOption = dashedLineFormat(_.cloneDeep(eOption));
|
|
143
143
|
}
|
|
144
|
+
if (data === null || data === void 0 ? void 0 : data.grid) {
|
|
145
|
+
eOption.grid = _objectSpread(_objectSpread({}, eOption.grid), data === null || data === void 0 ? void 0 : data.grid);
|
|
146
|
+
}
|
|
144
147
|
setChartOption(function () {
|
|
145
148
|
return _objectSpread({}, eOption);
|
|
146
149
|
});
|
package/es/chart/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EChartsOption } from 'echarts';
|
|
2
|
+
import { GridOption } from 'echarts/types/dist/shared';
|
|
2
3
|
export interface ChartItmProps {
|
|
3
4
|
names: Array<string>;
|
|
4
5
|
values: Array<number>;
|
|
@@ -26,6 +27,7 @@ export declare namespace ChartTypes {
|
|
|
26
27
|
resultFormatMap?: {
|
|
27
28
|
[key: string]: string;
|
|
28
29
|
};
|
|
30
|
+
grid?: GridOption;
|
|
29
31
|
}
|
|
30
32
|
interface Props {
|
|
31
33
|
type?: 'bar' | 'pie' | 'line' | 'map' | 'line_bar' | 'muit_y';
|
package/es/index.d.ts
CHANGED
|
@@ -46,9 +46,8 @@ import { chartColors } from './chart/util/color';
|
|
|
46
46
|
import useBizStore from './hooks/useBizStore';
|
|
47
47
|
import useChanged from './hooks/useChanged';
|
|
48
48
|
import useSubject from './hooks/useSubject';
|
|
49
|
-
import BizPlatformSelector from './platformSelector';
|
|
50
49
|
import DataSetGroup from './dataSetGroup';
|
|
51
|
-
export { BizTargetDimension, BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizLayout, BizAnalysisLayout, BizDetailLayout, BizUserGroup, BizUserGroupHeader, IconFont, ColorIcon, BizFormulaTarget, BizAUMFormulaTarget, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker, BizQuickDatePicker, BizLoading, BizConditionItem, BizConditionGroup, BizAttrCondition, BizAttrConditionGroup, BizUserCondition, BizProductCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, base64, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, chartColors, useBizStore, useChanged, useSubject, DataSetGroup,
|
|
50
|
+
export { BizTargetDimension, BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizLayout, BizAnalysisLayout, BizDetailLayout, BizUserGroup, BizUserGroupHeader, IconFont, ColorIcon, BizFormulaTarget, BizAUMFormulaTarget, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker, BizQuickDatePicker, BizLoading, BizConditionItem, BizConditionGroup, BizAttrCondition, BizAttrConditionGroup, BizUserCondition, BizProductCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, base64, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, chartColors, useBizStore, useChanged, useSubject, DataSetGroup, };
|
|
52
51
|
export type { UserGroupTypes } from './userGroup/types';
|
|
53
52
|
export type { BizProductConditionT } from './productCondition/types';
|
|
54
53
|
export type { BizSelectTypes } from './select/types';
|
package/es/index.js
CHANGED
|
@@ -45,6 +45,5 @@ import { chartColors } from './chart/util/color';
|
|
|
45
45
|
import useBizStore from './hooks/useBizStore';
|
|
46
46
|
import useChanged from './hooks/useChanged';
|
|
47
47
|
import useSubject from './hooks/useSubject';
|
|
48
|
-
import BizPlatformSelector from './platformSelector';
|
|
49
48
|
import DataSetGroup from './dataSetGroup';
|
|
50
|
-
export { BizTargetDimension, BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizLayout, BizAnalysisLayout, BizDetailLayout, BizUserGroup, BizUserGroupHeader, IconFont, ColorIcon, BizFormulaTarget, BizAUMFormulaTarget, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker, BizQuickDatePicker, BizLoading, BizConditionItem, BizConditionGroup, BizAttrCondition, BizAttrConditionGroup, BizUserCondition, BizProductCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, base64, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, chartColors, useBizStore, useChanged, useSubject, DataSetGroup
|
|
49
|
+
export { BizTargetDimension, BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizLayout, BizAnalysisLayout, BizDetailLayout, BizUserGroup, BizUserGroupHeader, IconFont, ColorIcon, BizFormulaTarget, BizAUMFormulaTarget, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker, BizQuickDatePicker, BizLoading, BizConditionItem, BizConditionGroup, BizAttrCondition, BizAttrConditionGroup, BizUserCondition, BizProductCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, base64, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, chartColors, useBizStore, useChanged, useSubject, DataSetGroup };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.49",
|
|
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": "ca8de780c0b4e3a6b8bfdfa0494ca0e6b79541ba",
|
|
59
59
|
"gitHooks": {
|
|
60
60
|
"pre-commit": "lint-staged"
|
|
61
61
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BizPlatformSelector } from '@zgfe/business-lib';
|
|
3
|
-
import InnerDemo from '../../demoWrapper/innerDemo';
|
|
4
|
-
export default (function () {
|
|
5
|
-
return /*#__PURE__*/React.createElement(InnerDemo, null, /*#__PURE__*/React.createElement("div", {
|
|
6
|
-
style: {
|
|
7
|
-
padding: '16px',
|
|
8
|
-
border: '1px solid #eee',
|
|
9
|
-
background: '#ddd'
|
|
10
|
-
}
|
|
11
|
-
}, /*#__PURE__*/React.createElement(BizPlatformSelector, {
|
|
12
|
-
onChange: function onChange(value) {
|
|
13
|
-
console.log('>>>>>>>>回传值', value);
|
|
14
|
-
}
|
|
15
|
-
})));
|
|
16
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import './styles/index.less';
|
|
3
|
-
export interface platItemProp {
|
|
4
|
-
key: number;
|
|
5
|
-
value: string;
|
|
6
|
-
icon?: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
declare const BizPlatformSelector: React.FC<{
|
|
9
|
-
onChange: (val: {
|
|
10
|
-
key: number;
|
|
11
|
-
value: string;
|
|
12
|
-
}) => void;
|
|
13
|
-
}>;
|
|
14
|
-
export default BizPlatformSelector;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IconFont, BizSelect } from '@zgfe/business-lib';
|
|
3
|
-
import './styles/index.less';
|
|
4
|
-
var BizPlatformSelector = function BizPlatformSelector(props) {
|
|
5
|
-
var classPrefix = 'biz-platform-selector';
|
|
6
|
-
var platformOption = [{
|
|
7
|
-
key: -1,
|
|
8
|
-
value: '全部平台'
|
|
9
|
-
}, {
|
|
10
|
-
key: 1,
|
|
11
|
-
value: 'Android',
|
|
12
|
-
icon: /*#__PURE__*/React.createElement(IconFont, {
|
|
13
|
-
type: "android1",
|
|
14
|
-
size: 16
|
|
15
|
-
})
|
|
16
|
-
}, {
|
|
17
|
-
key: 2,
|
|
18
|
-
value: 'IOS',
|
|
19
|
-
icon: /*#__PURE__*/React.createElement(IconFont, {
|
|
20
|
-
type: "ios1",
|
|
21
|
-
size: 16
|
|
22
|
-
})
|
|
23
|
-
}, {
|
|
24
|
-
key: 3,
|
|
25
|
-
value: 'JS',
|
|
26
|
-
icon: /*#__PURE__*/React.createElement(IconFont, {
|
|
27
|
-
type: "a-js2",
|
|
28
|
-
size: 16
|
|
29
|
-
})
|
|
30
|
-
}, {
|
|
31
|
-
key: 4,
|
|
32
|
-
value: '微信小程序',
|
|
33
|
-
icon: /*#__PURE__*/React.createElement(IconFont, {
|
|
34
|
-
type: "weixinxiaochengxu",
|
|
35
|
-
size: 16
|
|
36
|
-
})
|
|
37
|
-
}, {
|
|
38
|
-
key: 5,
|
|
39
|
-
value: '服务端',
|
|
40
|
-
icon: /*#__PURE__*/React.createElement(IconFont, {
|
|
41
|
-
type: "fuwuqi",
|
|
42
|
-
size: 16
|
|
43
|
-
})
|
|
44
|
-
}, {
|
|
45
|
-
key: 0,
|
|
46
|
-
value: '其他'
|
|
47
|
-
}];
|
|
48
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
49
|
-
className: classPrefix
|
|
50
|
-
}, /*#__PURE__*/React.createElement(BizSelect, {
|
|
51
|
-
className: "".concat(classPrefix, "-select"),
|
|
52
|
-
options: platformOption,
|
|
53
|
-
overlayWidth: 134,
|
|
54
|
-
keyField: "key",
|
|
55
|
-
labelField: "value",
|
|
56
|
-
defaultValue: {
|
|
57
|
-
value: '全部平台',
|
|
58
|
-
key: -1
|
|
59
|
-
},
|
|
60
|
-
onChange: function onChange(val) {
|
|
61
|
-
props.onChange(val);
|
|
62
|
-
}
|
|
63
|
-
}));
|
|
64
|
-
};
|
|
65
|
-
export default BizPlatformSelector;
|