@zgfe/business-lib 1.1.21-alpha.0 → 1.1.21

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.
@@ -594,9 +594,9 @@
594
594
  <pre><code class="language-css"
595
595
  >@font-face {
596
596
  font-family: 'bsicon';
597
- src: url('iconfont.woff2?t=1675760321752') format('woff2'),
598
- url('iconfont.woff?t=1675760321752') format('woff'),
599
- url('iconfont.ttf?t=1675760321752') format('truetype');
597
+ src: url('iconfont.woff2?t=1675676354395') format('woff2'),
598
+ url('iconfont.woff?t=1675676354395') format('woff'),
599
+ url('iconfont.ttf?t=1675676354395') format('truetype');
600
600
  }
601
601
  </code></pre>
602
602
  <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@@ -1,8 +1,8 @@
1
1
  @font-face {
2
2
  font-family: "bsicon"; /* Project id 2545884 */
3
- src: url('iconfont.woff2?t=1675760321752') format('woff2'),
4
- url('iconfont.woff?t=1675760321752') format('woff'),
5
- url('iconfont.ttf?t=1675760321752') format('truetype');
3
+ src: url('iconfont.woff2?t=1675676354395') format('woff2'),
4
+ url('iconfont.woff?t=1675676354395') format('woff'),
5
+ url('iconfont.ttf?t=1675676354395') format('truetype');
6
6
  }
7
7
 
8
8
  .bsicon {
Binary file
Binary file
Binary file
package/es/chart/index.js CHANGED
@@ -86,7 +86,7 @@ var BizChart = /*#__PURE__*/React.forwardRef(function (props, ref) {
86
86
  setChartOption(function () {
87
87
  return _objectSpread({}, eOption);
88
88
  });
89
- }, [data, showAll, showList, reverseXAxis, option]);
89
+ }, [data, showAll, showList, reverseXAxis]);
90
90
  useImperativeHandle(ref, function () {
91
91
  return {
92
92
  instance: instance
@@ -27,6 +27,7 @@ export default (function () {
27
27
  }, "\u6253\u5F00\u5F39\u7A97"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(BizDialog, {
28
28
  title: "\u6807\u9898",
29
29
  visible: visible,
30
+ closable: true,
30
31
  onOk: function onOk() {
31
32
  setVisible(false);
32
33
  },
@@ -7,14 +7,20 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
7
7
  import { Modal } from 'antd';
8
8
  import React from 'react';
9
9
  import './styles/index.less';
10
+ import { IconFont } from '..';
10
11
  export var classPrefix = 'biz-dialog';
11
12
 
12
13
  var BizDialog = function BizDialog(props) {
13
- return /*#__PURE__*/React.createElement(Modal, _objectSpread({
14
+ return /*#__PURE__*/React.createElement(Modal, _objectSpread(_objectSpread({
14
15
  bodyStyle: {
15
16
  borderRadius: '10px'
16
17
  }
17
- }, props), props.children);
18
+ }, props), {}, {
19
+ wrapClassName: "biz-dialog-wrap ".concat(props.wrapClassName),
20
+ closeIcon: /*#__PURE__*/React.createElement(IconFont, {
21
+ type: "qingchu"
22
+ })
23
+ }), props.children);
18
24
  };
19
25
 
20
26
  BizDialog.defaultProps = {
@@ -9,3 +9,11 @@
9
9
  height: @height-lg;
10
10
  }
11
11
  }
12
+ .biz-dialog-wrap {
13
+ .ant-modal-close {
14
+ top: 15px;
15
+ .bsicon {
16
+ font-size: 24px !important;
17
+ }
18
+ }
19
+ }
@@ -157,8 +157,6 @@ var BizSelect = function BizSelect(props) {
157
157
  var onCreate = function onCreate(val) {
158
158
  var _data;
159
159
 
160
- if (!props.enableCreate) return;
161
-
162
160
  if (current) {
163
161
  var flag = true;
164
162
  current.forEach(function (item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.1.21-alpha.0",
3
+ "version": "1.1.21",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.12.0 || ^17.0.0",
61
61
  "yorkie": "^2.0.0"
62
62
  },
63
- "gitHead": "a2d016a5e8ec1752aafbb1a721e802530c1e7fc0"
63
+ "gitHead": "9f15bf3aa4adceb6b39a84de36482fa9daa5293c"
64
64
  }