@innoways/drip-form-theme-antd 4.0.0 → 5.0.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.
- package/CHANGELOG.md +18 -0
- package/dist/index.js +5 -4
- package/package.json +3 -3
- package/build-info/index.stats.html +0 -2648
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 5.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- datepicker format fix
|
|
8
|
+
|
|
9
|
+
## 5.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- changed all jdfed imports to innoways
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @innoways/hooks@5.0.0
|
|
19
|
+
- @innoways/utils@5.0.0
|
|
20
|
+
|
|
3
21
|
## 4.0.0
|
|
4
22
|
|
|
5
23
|
### Major Changes
|
package/dist/index.js
CHANGED
|
@@ -5,14 +5,14 @@ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProper
|
|
|
5
5
|
import 'antd/es/input/style';
|
|
6
6
|
import _Input from 'antd/es/input';
|
|
7
7
|
import React, { memo, useState, useEffect, useMemo, useCallback } from 'react';
|
|
8
|
-
import { useField, useCountryStateCityOptions, usePrevious, useQuery, useEventCallback } from '@
|
|
8
|
+
import { useField, useCountryStateCityOptions, usePrevious, useQuery, useEventCallback } from '@innoways/hooks';
|
|
9
9
|
import 'antd/es/radio/style';
|
|
10
10
|
import _Radio from 'antd/es/radio';
|
|
11
11
|
import reactIs from 'react-is';
|
|
12
12
|
import 'antd/es/tooltip/style';
|
|
13
13
|
import _Tooltip from 'antd/es/tooltip';
|
|
14
14
|
import { QuestionCircleOutlined, InboxOutlined, PlusOutlined, UploadOutlined } from '@ant-design/icons';
|
|
15
|
-
import { typeCheck, isEmpty, binaryData2Blob, checkImg, isValidHttpUrl, fetchFnJsonKey } from '@
|
|
15
|
+
import { typeCheck, isEmpty, binaryData2Blob, checkImg, isValidHttpUrl, fetchFnJsonKey } from '@innoways/utils';
|
|
16
16
|
import { Collapse, Button, Popconfirm } from 'antd';
|
|
17
17
|
import 'antd/es/input-number/style';
|
|
18
18
|
import _InputNumber from 'antd/es/input-number';
|
|
@@ -21529,7 +21529,7 @@ var DatePickerField = function DatePickerField(_ref) {
|
|
|
21529
21529
|
if (range) {
|
|
21530
21530
|
setValid(moment(fieldData[0], format).isValid() && moment(fieldData[1], format).isValid());
|
|
21531
21531
|
} else {
|
|
21532
|
-
setValid(moment(fieldData
|
|
21532
|
+
setValid(moment(fieldData).isValid());
|
|
21533
21533
|
}
|
|
21534
21534
|
}
|
|
21535
21535
|
} catch (error) {
|
|
@@ -21553,8 +21553,9 @@ var DatePickerField = function DatePickerField(_ref) {
|
|
|
21553
21553
|
}, restProps)) : /*#__PURE__*/React.createElement(_DatePicker, _extends({
|
|
21554
21554
|
picker: picker
|
|
21555
21555
|
}, isValid ? {
|
|
21556
|
-
value: fieldData ? moment(fieldData
|
|
21556
|
+
value: fieldData ? moment(fieldData) : null
|
|
21557
21557
|
} : null, {
|
|
21558
|
+
format: format,
|
|
21558
21559
|
disabled: disabled,
|
|
21559
21560
|
onChange: _onChange,
|
|
21560
21561
|
locale: locale,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@innoways/drip-form-theme-antd",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"author": "JDFED",
|
|
5
5
|
"description": "drip-form antd主题包",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ant-design/icons": "^4.7.0",
|
|
33
33
|
"@babel/runtime": "^7.10.2",
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
34
|
+
"@innoways/hooks": "^5.0.0",
|
|
35
|
+
"@innoways/utils": "^5.0.0",
|
|
36
36
|
"moment": "^2.26.0",
|
|
37
37
|
"react-color": "^2.18.1",
|
|
38
38
|
"use-immer": "^0.6.0"
|