@zgfe/business-lib 1.2.48-lijingyu1538.0 → 1.2.48-plat.1

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.
@@ -5,6 +5,111 @@
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
+ },
8
113
  {
9
114
  "icon_id": "39634357",
10
115
  "name": "埋点",
@@ -924,8 +1029,8 @@
924
1029
  },
925
1030
  {
926
1031
  "icon_id": "31623999",
927
- "name": "left",
928
- "font_class": "left",
1032
+ "name": "数据集-left",
1033
+ "font_class": "shujuji_left",
929
1034
  "unicode": "e6d2",
930
1035
  "unicode_decimal": 59090
931
1036
  },
@@ -938,8 +1043,8 @@
938
1043
  },
939
1044
  {
940
1045
  "icon_id": "31624006",
941
- "name": "right",
942
- "font_class": "right",
1046
+ "name": "数据集-right",
1047
+ "font_class": "shujuji_right",
943
1048
  "unicode": "e6d4",
944
1049
  "unicode_decimal": 59092
945
1050
  },
Binary file
Binary file
Binary file
package/es/chart/index.js CHANGED
@@ -141,9 +141,6 @@ 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
- }
147
144
  setChartOption(function () {
148
145
  return _objectSpread({}, eOption);
149
146
  });
@@ -1,5 +1,4 @@
1
1
  import { EChartsOption } from 'echarts';
2
- import { GridOption } from 'echarts/types/dist/shared';
3
2
  export interface ChartItmProps {
4
3
  names: Array<string>;
5
4
  values: Array<number>;
@@ -27,7 +26,6 @@ export declare namespace ChartTypes {
27
26
  resultFormatMap?: {
28
27
  [key: string]: string;
29
28
  };
30
- grid?: GridOption;
31
29
  }
32
30
  interface Props {
33
31
  type?: 'bar' | 'pie' | 'line' | 'map' | 'line_bar' | 'muit_y';
package/es/index.d.ts CHANGED
@@ -46,8 +46,9 @@ 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';
49
50
  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, };
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, BizPlatformSelector, };
51
52
  export type { UserGroupTypes } from './userGroup/types';
52
53
  export type { BizProductConditionT } from './productCondition/types';
53
54
  export type { BizSelectTypes } from './select/types';
package/es/index.js CHANGED
@@ -45,5 +45,6 @@ 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';
48
49
  import DataSetGroup from './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 };
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, BizPlatformSelector };
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const _default: () => React.JSX.Element;
3
+ export default _default;
@@ -0,0 +1,16 @@
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
+ });
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import './styles/index.less';
3
+ declare const BizPlatformSelector: React.FC<{
4
+ onChange?: () => void;
5
+ }>;
6
+ export default BizPlatformSelector;
@@ -0,0 +1,12 @@
1
+ function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
2
+ import React, { useEffect } from 'react';
3
+ import './styles/index.less';
4
+ var BizPlatformSelector = function BizPlatformSelector(_ref) {
5
+ _objectDestructuringEmpty(_ref);
6
+ var classPrefix = 'biz-platform-selector';
7
+ useEffect(function () {}, []);
8
+ return /*#__PURE__*/React.createElement("div", {
9
+ className: classPrefix
10
+ }, "\u5E73\u53F0\u9009\u62E9\u5668");
11
+ };
12
+ export default BizPlatformSelector;
@@ -0,0 +1 @@
1
+ @import '../../assets/styles/inner.less';