shineout 1.10.10 → 1.10.11
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/Datum/hoc.js +0 -3
- package/css/index.d.ts +1 -1
- package/css/index.js +1 -1
- package/dist/shineout.js +12 -15
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/es/Datum/hoc.js +0 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/Datum/hoc.js +0 -3
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/css/Datum/hoc.js
CHANGED
|
@@ -19,8 +19,6 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
19
19
|
|
|
20
20
|
var _func = require("../utils/func");
|
|
21
21
|
|
|
22
|
-
var _shallowEqual = _interopRequireDefault(require("../utils/shallowEqual"));
|
|
23
|
-
|
|
24
22
|
var _strings = require("../utils/strings");
|
|
25
23
|
|
|
26
24
|
var _types = require("./types");
|
|
@@ -129,7 +127,6 @@ var _default = (0, _func.curry)(function (options, Origin) {
|
|
|
129
127
|
var values = this.props[key];
|
|
130
128
|
|
|
131
129
|
if (type === 'form' && values !== this.prevValues) {
|
|
132
|
-
debugger;
|
|
133
130
|
this.setValue(this.props.initValidate ? undefined : _types.IGNORE_VALIDATE);
|
|
134
131
|
this.datum.setLock(true);
|
|
135
132
|
this.prevValues = values;
|
package/css/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Created by scripts/src-index.js.
|
|
2
2
|
import * as utils from './utils'
|
|
3
3
|
|
|
4
|
-
export default { utils, version: '1.10.
|
|
4
|
+
export default { utils, version: '1.10.11' }
|
|
5
5
|
export { utils }
|
|
6
6
|
export { setLocale } from './locale'
|
|
7
7
|
export { color, style } from './utils/expose'
|
package/css/index.js
CHANGED
package/dist/shineout.js
CHANGED
|
@@ -18139,11 +18139,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18139
18139
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! prop-types */ "prop-types");
|
|
18140
18140
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_7__);
|
|
18141
18141
|
/* harmony import */ var _utils_func__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/func */ "./src/utils/func.js");
|
|
18142
|
-
/* harmony import */ var
|
|
18143
|
-
/* harmony import */ var
|
|
18144
|
-
/* harmony import */ var
|
|
18145
|
-
/* harmony import */ var
|
|
18146
|
-
/* harmony import */ var _Form__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Form */ "./src/Datum/Form.js");
|
|
18142
|
+
/* harmony import */ var _utils_strings__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/strings */ "./src/utils/strings.js");
|
|
18143
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./types */ "./src/Datum/types.js");
|
|
18144
|
+
/* harmony import */ var _List__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./List */ "./src/Datum/List.js");
|
|
18145
|
+
/* harmony import */ var _Form__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Form */ "./src/Datum/Form.js");
|
|
18147
18146
|
|
|
18148
18147
|
|
|
18149
18148
|
|
|
@@ -18189,10 +18188,9 @@ function _createSuper2(Derived) {
|
|
|
18189
18188
|
|
|
18190
18189
|
|
|
18191
18190
|
|
|
18192
|
-
|
|
18193
18191
|
var types = {
|
|
18194
|
-
form:
|
|
18195
|
-
list:
|
|
18192
|
+
form: _Form__WEBPACK_IMPORTED_MODULE_12__["default"],
|
|
18193
|
+
list: _List__WEBPACK_IMPORTED_MODULE_11__["default"]
|
|
18196
18194
|
};
|
|
18197
18195
|
/* harmony default export */ __webpack_exports__["default"] = (Object(_utils_func__WEBPACK_IMPORTED_MODULE_8__["curry"])(function (options, Origin) {
|
|
18198
18196
|
var _class, _temp;
|
|
@@ -18244,8 +18242,8 @@ var types = {
|
|
|
18244
18242
|
ops[key] = props[key];
|
|
18245
18243
|
}
|
|
18246
18244
|
|
|
18247
|
-
if ("default".concat(Object(
|
|
18248
|
-
ops["default".concat(Object(
|
|
18245
|
+
if ("default".concat(Object(_utils_strings__WEBPACK_IMPORTED_MODULE_9__["capitalize"])(key)) in props) {
|
|
18246
|
+
ops["default".concat(Object(_utils_strings__WEBPACK_IMPORTED_MODULE_9__["capitalize"])(key))] = props["default".concat(Object(_utils_strings__WEBPACK_IMPORTED_MODULE_9__["capitalize"])(key))];
|
|
18249
18247
|
}
|
|
18250
18248
|
|
|
18251
18249
|
_this.datum = new Datum(Object.assign(ops, datum));
|
|
@@ -18297,13 +18295,12 @@ var types = {
|
|
|
18297
18295
|
var values = this.props[key];
|
|
18298
18296
|
|
|
18299
18297
|
if (type === 'form' && values !== this.prevValues) {
|
|
18300
|
-
|
|
18301
|
-
this.setValue(this.props.initValidate ? undefined : _types__WEBPACK_IMPORTED_MODULE_11__["IGNORE_VALIDATE"]);
|
|
18298
|
+
this.setValue(this.props.initValidate ? undefined : _types__WEBPACK_IMPORTED_MODULE_10__["IGNORE_VALIDATE"]);
|
|
18302
18299
|
this.datum.setLock(true);
|
|
18303
18300
|
this.prevValues = values;
|
|
18304
18301
|
}
|
|
18305
18302
|
|
|
18306
|
-
if (type === 'list') this.setValue(
|
|
18303
|
+
if (type === 'list') this.setValue(_types__WEBPACK_IMPORTED_MODULE_10__["WITH_OUT_DISPATCH"]); // delete props[key]
|
|
18307
18304
|
|
|
18308
18305
|
return (
|
|
18309
18306
|
/*#__PURE__*/
|
|
@@ -18312,7 +18309,7 @@ var types = {
|
|
|
18312
18309
|
__self: this,
|
|
18313
18310
|
__source: {
|
|
18314
18311
|
fileName: _jsxFileName,
|
|
18315
|
-
lineNumber:
|
|
18312
|
+
lineNumber: 95,
|
|
18316
18313
|
columnNumber: 14
|
|
18317
18314
|
}
|
|
18318
18315
|
}))
|
|
@@ -61424,7 +61421,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61424
61421
|
|
|
61425
61422
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
61426
61423
|
utils: _utils__WEBPACK_IMPORTED_MODULE_0__,
|
|
61427
|
-
version: '1.10.
|
|
61424
|
+
version: '1.10.11'
|
|
61428
61425
|
});
|
|
61429
61426
|
|
|
61430
61427
|
|