@zgfe/business-lib 1.2.56 → 1.2.57
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 +164 -72
- package/es/assets/iconfont/iconfont.css +31 -15
- package/es/assets/iconfont/iconfont.js +6 -6
- package/es/assets/iconfont/iconfont.json +49 -21
- 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/datePickerV2/demo/index.js +2 -2
- package/es/datePickerV2/popoverContent.js +0 -4
- package/es/datePickerV2/styles/index.less +14 -4
- package/package.json +2 -2
|
@@ -5,6 +5,55 @@
|
|
|
5
5
|
"css_prefix_text": "",
|
|
6
6
|
"description": "诸葛业务平台",
|
|
7
7
|
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "41736285",
|
|
10
|
+
"name": "更多",
|
|
11
|
+
"font_class": "gengduo",
|
|
12
|
+
"unicode": "e7d3",
|
|
13
|
+
"unicode_decimal": 59347
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "41736270",
|
|
17
|
+
"name": "文件夹",
|
|
18
|
+
"font_class": "wenjianjia",
|
|
19
|
+
"unicode": "e7d4",
|
|
20
|
+
"unicode_decimal": 59348
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"icon_id": "41736271",
|
|
24
|
+
"name": "拖拽",
|
|
25
|
+
"font_class": "tuozhuai",
|
|
26
|
+
"unicode": "e6b6",
|
|
27
|
+
"unicode_decimal": 59062
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"icon_id": "41671151",
|
|
31
|
+
"name": "圈选",
|
|
32
|
+
"font_class": "quanxuan",
|
|
33
|
+
"unicode": "e7d0",
|
|
34
|
+
"unicode_decimal": 59344
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"icon_id": "41671150",
|
|
38
|
+
"name": "上方添加",
|
|
39
|
+
"font_class": "shangfangtianjia",
|
|
40
|
+
"unicode": "e7d1",
|
|
41
|
+
"unicode_decimal": 59345
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"icon_id": "41671149",
|
|
45
|
+
"name": "下方添加",
|
|
46
|
+
"font_class": "xiafangtianjia",
|
|
47
|
+
"unicode": "e7d2",
|
|
48
|
+
"unicode_decimal": 59346
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"icon_id": "41671165",
|
|
52
|
+
"name": "版本",
|
|
53
|
+
"font_class": "chanpindiedai1",
|
|
54
|
+
"unicode": "e7cf",
|
|
55
|
+
"unicode_decimal": 59343
|
|
56
|
+
},
|
|
8
57
|
{
|
|
9
58
|
"icon_id": "41442688",
|
|
10
59
|
"name": "quanping 1",
|
|
@@ -908,13 +957,6 @@
|
|
|
908
957
|
"unicode": "e74a",
|
|
909
958
|
"unicode_decimal": 59210
|
|
910
959
|
},
|
|
911
|
-
{
|
|
912
|
-
"icon_id": "34602683",
|
|
913
|
-
"name": "菜单-更多",
|
|
914
|
-
"font_class": "caidan-gengduo",
|
|
915
|
-
"unicode": "e748",
|
|
916
|
-
"unicode_decimal": 59208
|
|
917
|
-
},
|
|
918
960
|
{
|
|
919
961
|
"icon_id": "34580051",
|
|
920
962
|
"name": "菜单-设置",
|
|
@@ -1216,13 +1258,6 @@
|
|
|
1216
1258
|
"unicode": "e6b5",
|
|
1217
1259
|
"unicode_decimal": 59061
|
|
1218
1260
|
},
|
|
1219
|
-
{
|
|
1220
|
-
"icon_id": "31393505",
|
|
1221
|
-
"name": "拖拽",
|
|
1222
|
-
"font_class": "tuozhuai",
|
|
1223
|
-
"unicode": "e6b6",
|
|
1224
|
-
"unicode_decimal": 59062
|
|
1225
|
-
},
|
|
1226
1261
|
{
|
|
1227
1262
|
"icon_id": "31393091",
|
|
1228
1263
|
"name": "更多操作",
|
|
@@ -1384,13 +1419,6 @@
|
|
|
1384
1419
|
"unicode": "e795",
|
|
1385
1420
|
"unicode_decimal": 59285
|
|
1386
1421
|
},
|
|
1387
|
-
{
|
|
1388
|
-
"icon_id": "28132747",
|
|
1389
|
-
"name": "更多操作",
|
|
1390
|
-
"font_class": "gengduocaozuo",
|
|
1391
|
-
"unicode": "e751",
|
|
1392
|
-
"unicode_decimal": 59217
|
|
1393
|
-
},
|
|
1394
1422
|
{
|
|
1395
1423
|
"icon_id": "28451770",
|
|
1396
1424
|
"name": "导出",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
5
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
-
import {
|
|
7
|
+
import { BizDatePickerV2 } from '@zgfe/business-lib';
|
|
8
8
|
import React, { useState } from 'react';
|
|
9
9
|
import '@zgfe/business-lib/es/assets/styles/resetAntd.less';
|
|
10
10
|
import { Divider, Space, Switch } from 'antd';
|
|
@@ -55,7 +55,7 @@ export default (function () {
|
|
|
55
55
|
}, /*#__PURE__*/React.createElement("div", null, "\u5305\u542B\u300C\u4ECA\u5929\u300D: ", /*#__PURE__*/React.createElement(Switch, {
|
|
56
56
|
defaultChecked: includeToday,
|
|
57
57
|
onChange: setIncludeToday
|
|
58
|
-
})), /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement(
|
|
58
|
+
})), /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement(BizDatePickerV2, {
|
|
59
59
|
includeToday: includeToday,
|
|
60
60
|
value: time,
|
|
61
61
|
defaultValue: time,
|
|
@@ -34,10 +34,6 @@ export default (function (props) {
|
|
|
34
34
|
}, props)), /*#__PURE__*/React.createElement("div", {
|
|
35
35
|
className: "".concat(classPrefix, "-popoverContent-btns")
|
|
36
36
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
37
|
-
onClick: function onClick() {
|
|
38
|
-
return setOpen(false);
|
|
39
|
-
}
|
|
40
|
-
}, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
|
|
41
37
|
type: "primary",
|
|
42
38
|
onClick: function onClick() {
|
|
43
39
|
if (ref.current) {
|
|
@@ -60,6 +60,10 @@
|
|
|
60
60
|
border-radius: 0px @border-radius-small @border-radius-small 0px;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
&:not(:last-child) {
|
|
64
|
+
border-right: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
63
67
|
&:hover {
|
|
64
68
|
.__default-hover();
|
|
65
69
|
border-color: @border-color-base;
|
|
@@ -162,23 +166,29 @@
|
|
|
162
166
|
& div:last-of-type {
|
|
163
167
|
position: relative !important;
|
|
164
168
|
}
|
|
165
|
-
|
|
169
|
+
.biz-date-picker-old-wrap-drop {
|
|
170
|
+
top: 0 !important;
|
|
171
|
+
margin-top: 12px;
|
|
172
|
+
padding: 0;
|
|
173
|
+
}
|
|
166
174
|
.ant-picker-panel-container {
|
|
167
175
|
background: #fff;
|
|
168
|
-
border: 1px solid var(--io-n-02, #
|
|
176
|
+
border: 1px solid var(--io-n-02, #f2f3f4);
|
|
169
177
|
border-radius: 10px;
|
|
170
178
|
box-shadow: none;
|
|
171
179
|
}
|
|
172
180
|
|
|
173
181
|
.ant-picker-panel-container .ant-picker-panel-focused {
|
|
174
|
-
border-color: var(--io-n-02, #
|
|
182
|
+
border-color: var(--io-n-02, #f2f3f4);
|
|
175
183
|
}
|
|
176
184
|
}
|
|
177
185
|
|
|
178
186
|
&-popoverContent-btns {
|
|
187
|
+
position: absolute;
|
|
188
|
+
top: 0;
|
|
189
|
+
right: 0;
|
|
179
190
|
display: flex;
|
|
180
191
|
gap: 16px;
|
|
181
192
|
justify-content: flex-end;
|
|
182
|
-
padding-top: 16px;
|
|
183
193
|
}
|
|
184
194
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.57",
|
|
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": "4fdc32d7c56bb2d3fea8c75f75b937434c89234f",
|
|
59
59
|
"gitHooks": {
|
|
60
60
|
"pre-commit": "lint-staged"
|
|
61
61
|
}
|