@zgfe/business-lib 1.2.48-plat.6 → 1.2.50-ht.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.
Files changed (33) hide show
  1. package/es/assets/colorIcon/demo_index.html +717 -4
  2. package/es/assets/colorIcon/iconfont.css +128 -4
  3. package/es/assets/colorIcon/iconfont.js +16 -16
  4. package/es/assets/colorIcon/iconfont.json +217 -0
  5. package/es/assets/colorIcon/iconfont.svg +62 -0
  6. package/es/assets/colorIcon/iconfont.ttf +0 -0
  7. package/es/assets/colorIcon/iconfont.woff +0 -0
  8. package/es/assets/colorIcon/iconfont.woff2 +0 -0
  9. package/es/assets/iconfont/demo_index.html +72 -3
  10. package/es/assets/iconfont/iconfont.css +15 -3
  11. package/es/assets/iconfont/iconfont.js +1 -1
  12. package/es/assets/iconfont/iconfont.json +21 -0
  13. package/es/assets/iconfont/iconfont.ttf +0 -0
  14. package/es/assets/iconfont/iconfont.woff +0 -0
  15. package/es/assets/iconfont/iconfont.woff2 +0 -0
  16. package/es/chart/index.js +3 -0
  17. package/es/chart/types.d.ts +2 -0
  18. package/es/index.d.ts +1 -2
  19. package/es/index.js +1 -2
  20. package/package.json +2 -2
  21. package/es/platformSelector/demo/index.d.ts +0 -3
  22. package/es/platformSelector/demo/index.js +0 -16
  23. package/es/platformSelector/index.d.ts +0 -14
  24. package/es/platformSelector/index.js +0 -65
  25. package/es/platformSelector/styles/index.less +0 -9
  26. package/es/table/font_2545884_ievcoe4sky/demo.css +0 -539
  27. package/es/table/font_2545884_ievcoe4sky/demo_index.html +0 -4857
  28. package/es/table/font_2545884_ievcoe4sky/iconfont.css +0 -827
  29. package/es/table/font_2545884_ievcoe4sky/iconfont.js +0 -43
  30. package/es/table/font_2545884_ievcoe4sky/iconfont.json +0 -1430
  31. package/es/table/font_2545884_ievcoe4sky/iconfont.ttf +0 -0
  32. package/es/table/font_2545884_ievcoe4sky/iconfont.woff +0 -0
  33. package/es/table/font_2545884_ievcoe4sky/iconfont.woff2 +0 -0
@@ -5,6 +5,27 @@
5
5
  "css_prefix_text": "",
6
6
  "description": "诸葛业务平台",
7
7
  "glyphs": [
8
+ {
9
+ "icon_id": "41170258",
10
+ "name": "结束",
11
+ "font_class": "jieshu",
12
+ "unicode": "e7cb",
13
+ "unicode_decimal": 59339
14
+ },
15
+ {
16
+ "icon_id": "41168988",
17
+ "name": "消息通知",
18
+ "font_class": "xiaoxitongzhi",
19
+ "unicode": "e7ca",
20
+ "unicode_decimal": 59338
21
+ },
22
+ {
23
+ "icon_id": "41169079",
24
+ "name": "审批",
25
+ "font_class": "shenpi",
26
+ "unicode": "e7c9",
27
+ "unicode_decimal": 59337
28
+ },
8
29
  {
9
30
  "icon_id": "41153342",
10
31
  "name": "上传图片",
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
  });
@@ -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, BizPlatformSelector, };
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, BizPlatformSelector };
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.48-plat.6",
3
+ "version": "1.2.50-ht.1",
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": "9c8ec74d7be741d66f0a03581c9813faf2b0ef58",
58
+ "gitHead": "2a89288d440864429c7c683a054305f2b9422b6c",
59
59
  "gitHooks": {
60
60
  "pre-commit": "lint-staged"
61
61
  }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
3
- export default _default;
@@ -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;
@@ -1,9 +0,0 @@
1
- @import '../../assets/styles/inner.less';
2
- .biz-platform-selector {
3
- width: 134px;
4
- border: 1px solid #f2f3f4;
5
- border-radius: 4px;
6
- .biz-platform-selector-select .biz-select-handle-input {
7
- background-color: #fff;
8
- }
9
- }