shineout 1.7.2 → 1.7.3
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/css/DatePicker/utils.js +1 -1
- package/css/Form/Form.js +3 -0
- package/css/index.d.ts +1 -1
- package/css/index.js +1 -1
- package/dist/shineout.js +7 -4
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/es/DatePicker/utils.js +2 -2
- package/es/Form/Form.js +1 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/DatePicker/utils.js +1 -1
- package/lib/Form/Form.js +3 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/css/DatePicker/utils.js
CHANGED
|
@@ -135,7 +135,7 @@ function parse(date, fmt, options) {
|
|
|
135
135
|
var year = date.slice(index, index + 5);
|
|
136
136
|
var weekIndex = fmt2.indexOf('WW');
|
|
137
137
|
var week = weekIndex >= 0 ? date.slice(weekIndex, weekIndex + 3) : 1;
|
|
138
|
-
var result = (0, _dayjs.default)(year, 'YYYY').locale(getDayJsLocate(options)).isoWeek(week).toDate();
|
|
138
|
+
var result = (0, _dayjs.default)(year + "-06-15", 'YYYY-MM-dd').locale(getDayJsLocate(options)).isoWeek(Number(week)).toDate();
|
|
139
139
|
return result;
|
|
140
140
|
}
|
|
141
141
|
|
package/css/Form/Form.js
CHANGED
|
@@ -63,6 +63,9 @@ function (_Component) {
|
|
|
63
63
|
validateFields: function validateFields(fields) {
|
|
64
64
|
return _this.props.datum.validateFields(fields).catch(function () {});
|
|
65
65
|
},
|
|
66
|
+
validateFieldsWithError: function validateFieldsWithError(fields) {
|
|
67
|
+
return _this.props.datum.validateFields(fields);
|
|
68
|
+
},
|
|
66
69
|
clearValidate: function clearValidate() {
|
|
67
70
|
_this.props.datum.validateClear();
|
|
68
71
|
},
|
package/css/index.d.ts
CHANGED
package/css/index.js
CHANGED
package/dist/shineout.js
CHANGED
|
@@ -16130,7 +16130,7 @@ function parse(date, fmt, options) {
|
|
|
16130
16130
|
var year = date.slice(index, index + 5);
|
|
16131
16131
|
var weekIndex = fmt2.indexOf('WW');
|
|
16132
16132
|
var week = weekIndex >= 0 ? date.slice(weekIndex, weekIndex + 3) : 1;
|
|
16133
|
-
var result = dayjs__WEBPACK_IMPORTED_MODULE_1___default()(year, 'YYYY').locale(getDayJsLocate(options)).isoWeek(week).toDate();
|
|
16133
|
+
var result = dayjs__WEBPACK_IMPORTED_MODULE_1___default()("".concat(year, "-06-15"), 'YYYY-MM-dd').locale(getDayJsLocate(options)).isoWeek(Number(week)).toDate();
|
|
16134
16134
|
return result;
|
|
16135
16135
|
}
|
|
16136
16136
|
|
|
@@ -20612,6 +20612,9 @@ function (_Component) {
|
|
|
20612
20612
|
validateFields: function validateFields(fields) {
|
|
20613
20613
|
return _this.props.datum.validateFields(fields)["catch"](function () {});
|
|
20614
20614
|
},
|
|
20615
|
+
validateFieldsWithError: function validateFieldsWithError(fields) {
|
|
20616
|
+
return _this.props.datum.validateFields(fields);
|
|
20617
|
+
},
|
|
20615
20618
|
clearValidate: function clearValidate() {
|
|
20616
20619
|
_this.props.datum.validateClear();
|
|
20617
20620
|
},
|
|
@@ -20770,7 +20773,7 @@ function (_Component) {
|
|
|
20770
20773
|
__self: this,
|
|
20771
20774
|
__source: {
|
|
20772
20775
|
fileName: _jsxFileName,
|
|
20773
|
-
lineNumber:
|
|
20776
|
+
lineNumber: 155,
|
|
20774
20777
|
columnNumber: 7
|
|
20775
20778
|
}
|
|
20776
20779
|
},
|
|
@@ -20780,7 +20783,7 @@ function (_Component) {
|
|
|
20780
20783
|
__self: this,
|
|
20781
20784
|
__source: {
|
|
20782
20785
|
fileName: _jsxFileName,
|
|
20783
|
-
lineNumber:
|
|
20786
|
+
lineNumber: 156,
|
|
20784
20787
|
columnNumber: 9
|
|
20785
20788
|
}
|
|
20786
20789
|
}, this.props.children))
|
|
@@ -60094,7 +60097,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60094
60097
|
|
|
60095
60098
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
60096
60099
|
utils: _utils__WEBPACK_IMPORTED_MODULE_0__,
|
|
60097
|
-
version: '1.7.
|
|
60100
|
+
version: '1.7.3'
|
|
60098
60101
|
});
|
|
60099
60102
|
|
|
60100
60103
|
|