@zgfe/business-lib 1.2.54-ht.1 → 1.2.54-ljy-test.0
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.
|
@@ -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 { BizDatePickerOld } 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(BizDatePickerOld, {
|
|
59
59
|
includeToday: includeToday,
|
|
60
60
|
value: time,
|
|
61
61
|
defaultValue: time,
|
|
@@ -34,6 +34,10 @@ 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, {
|
|
37
41
|
type: "primary",
|
|
38
42
|
onClick: function onClick() {
|
|
39
43
|
if (ref.current) {
|
|
@@ -162,29 +162,23 @@
|
|
|
162
162
|
& div:last-of-type {
|
|
163
163
|
position: relative !important;
|
|
164
164
|
}
|
|
165
|
-
|
|
166
|
-
top: 0 !important;
|
|
167
|
-
margin-top: 12px;
|
|
168
|
-
padding: 0;
|
|
169
|
-
}
|
|
165
|
+
|
|
170
166
|
.ant-picker-panel-container {
|
|
171
167
|
background: #fff;
|
|
172
|
-
border: 1px solid var(--io-n-02, #
|
|
168
|
+
border: 1px solid var(--io-n-02, #fafafb);
|
|
173
169
|
border-radius: 10px;
|
|
174
170
|
box-shadow: none;
|
|
175
171
|
}
|
|
176
172
|
|
|
177
173
|
.ant-picker-panel-container .ant-picker-panel-focused {
|
|
178
|
-
border-color: var(--io-n-02, #
|
|
174
|
+
border-color: var(--io-n-02, #fafafb);
|
|
179
175
|
}
|
|
180
176
|
}
|
|
181
177
|
|
|
182
178
|
&-popoverContent-btns {
|
|
183
|
-
position: absolute;
|
|
184
|
-
top: 0;
|
|
185
|
-
right: 0;
|
|
186
179
|
display: flex;
|
|
187
180
|
gap: 16px;
|
|
188
181
|
justify-content: flex-end;
|
|
182
|
+
padding-top: 16px;
|
|
189
183
|
}
|
|
190
184
|
}
|
package/es/hooks/useBizStore.js
CHANGED
|
@@ -63,7 +63,7 @@ function useBizStore(_ref) {
|
|
|
63
63
|
_useState24 = _slicedToArray(_useState23, 2),
|
|
64
64
|
store = _useState24[0],
|
|
65
65
|
setStore = _useState24[1];
|
|
66
|
-
var _useState25 = useState(
|
|
66
|
+
var _useState25 = useState(true),
|
|
67
67
|
_useState26 = _slicedToArray(_useState25, 2),
|
|
68
68
|
useBizStoreLoading = _useState26[0],
|
|
69
69
|
setUseBizStoreLoading = _useState26[1];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.2.54-
|
|
3
|
+
"version": "1.2.54-ljy-test.0",
|
|
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": "ac9696af78e14342ad0b9d84ce45f76a43e4f364",
|
|
59
59
|
"gitHooks": {
|
|
60
60
|
"pre-commit": "lint-staged"
|
|
61
61
|
}
|