Skip to content

Commit

Permalink
[v5.0.0-bate-19] chore(deps): update react monorepo to ~18.2.0 (#961)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> 80e4f8f
  • Loading branch information
github-actions[bot] committed Sep 19, 2023
1 parent 4b24af5 commit c09e7c7
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 23 deletions.
10 changes: 5 additions & 5 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.637a86ad.css",
"main.js": "/static/js/main.c8ce2756.js",
"main.js": "/static/js/main.86787044.js",
"static/css/9200.14abaeb3.chunk.css": "/static/css/9200.14abaeb3.chunk.css",
"static/js/9200.b29bc855.chunk.js": "/static/js/9200.b29bc855.chunk.js",
"static/js/8275.43a4eaab.chunk.js": "/static/js/8275.43a4eaab.chunk.js",
Expand Down Expand Up @@ -79,15 +79,15 @@
"static/js/1007.f386918e.chunk.js": "/static/js/1007.f386918e.chunk.js",
"static/js/7041.94482493.chunk.js": "/static/js/7041.94482493.chunk.js",
"vendors-runtime-helpers.js": "/static/js/vendors-runtime-helpers.8feed8c4.js",
"vendors-standalone.js": "/static/js/vendors-standalone.fdfc3f60.chunk.js",
"vendors-standalone.js": "/static/js/vendors-standalone.f9bf4282.chunk.js",
"vendors-uiwjs.js": "/static/js/vendors-uiwjs.e5673740.js",
"vendors-react.js": "/static/js/vendors-react.e6bf6ca8.js",
"static/js/6654.9430f388.chunk.js": "/static/js/6654.9430f388.chunk.js",
"static/js/5337.cc507e24.js": "/static/js/5337.cc507e24.js",
"static/css/303.e9bc1889.chunk.css": "/static/css/303.e9bc1889.chunk.css",
"index.html": "/index.html",
"main.637a86ad.css.map": "/static/css/main.637a86ad.css.map",
"main.c8ce2756.js.map": "/static/js/main.c8ce2756.js.map",
"main.86787044.js.map": "/static/js/main.86787044.js.map",
"9200.14abaeb3.chunk.css.map": "/static/css/9200.14abaeb3.chunk.css.map",
"9200.b29bc855.chunk.js.map": "/static/js/9200.b29bc855.chunk.js.map",
"8275.43a4eaab.chunk.js.map": "/static/js/8275.43a4eaab.chunk.js.map",
Expand Down Expand Up @@ -165,7 +165,7 @@
"1007.f386918e.chunk.js.map": "/static/js/1007.f386918e.chunk.js.map",
"7041.94482493.chunk.js.map": "/static/js/7041.94482493.chunk.js.map",
"vendors-runtime-helpers.8feed8c4.js.map": "/static/js/vendors-runtime-helpers.8feed8c4.js.map",
"vendors-standalone.fdfc3f60.chunk.js.map": "/static/js/vendors-standalone.fdfc3f60.chunk.js.map",
"vendors-standalone.f9bf4282.chunk.js.map": "/static/js/vendors-standalone.f9bf4282.chunk.js.map",
"vendors-uiwjs.e5673740.js.map": "/static/js/vendors-uiwjs.e5673740.js.map",
"vendors-react.e6bf6ca8.js.map": "/static/js/vendors-react.e6bf6ca8.js.map",
"6654.9430f388.chunk.js.map": "/static/js/6654.9430f388.chunk.js.map",
Expand All @@ -178,6 +178,6 @@
"static/js/vendors-react.e6bf6ca8.js",
"static/js/5337.cc507e24.js",
"static/css/main.637a86ad.css",
"static/js/main.c8ce2756.js"
"static/js/main.86787044.js"
]
}
2 changes: 1 addition & 1 deletion index.html

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions static/js/main.86787044.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/js/main.86787044.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions static/js/main.c8ce2756.js

This file was deleted.

1 change: 0 additions & 1 deletion static/js/main.c8ce2756.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions static/js/vendors-standalone.f9bf4282.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/js/vendors-standalone.f9bf4282.chunk.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions static/js/vendors-standalone.fdfc3f60.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion static/js/vendors-standalone.fdfc3f60.chunk.js.map

This file was deleted.

29 changes: 19 additions & 10 deletions uiw.js
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,6 @@ var react_modal_esm_excluded = ["prefixCls", "className", "children", "useButton


var Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef((props, ref) => {
var _handleCancel, _handleConfirm;
var {
prefixCls = 'w-modal',
className,
Expand Down Expand Up @@ -1746,24 +1745,32 @@ var Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_
setIsOpen(false);
}
function handleCancel(_x) {
return (_handleCancel = _handleCancel || _asyncToGenerator(function* (e) {
return _handleCancel.apply(this, arguments);
}
function _handleCancel() {
_handleCancel = _asyncToGenerator(function* (e) {
setLoading(true);
try {
onCancel && (yield onCancel(e));
} catch (e) {}
setIsOpen(false);
setLoading(false);
})).apply(this, arguments);
});
return _handleCancel.apply(this, arguments);
}
function handleConfirm(_x2) {
return (_handleConfirm = _handleConfirm || _asyncToGenerator(function* (e) {
return _handleConfirm.apply(this, arguments);
}
function _handleConfirm() {
_handleConfirm = _asyncToGenerator(function* (e) {
setLoading(true);
try {
onConfirm && (yield onConfirm(e));
} catch (e) {}
setIsOpen(false);
setLoading(false);
})).apply(this, arguments);
});
return _handleConfirm.apply(this, arguments);
}
return /*#__PURE__*/(0,jsx_runtime.jsx)(Overlay, _extends({
usePortal: usePortal,
Expand Down Expand Up @@ -5944,7 +5951,6 @@ var isUploadType = type => {


var FileList = props => {
var _ref;
var {
uploadType,
value = [],
Expand All @@ -5963,8 +5969,8 @@ var FileList = props => {
if (inputRef.current) inputRef.current.value = '';
handleClickInput();
}, [handleClickInput]);
var onInputChange = function onInputChange(_x) {
return (_ref = _ref || _asyncToGenerator(function* (e) {
var onInputChange = /*#__PURE__*/function () {
var _ref = _asyncToGenerator(function* (e) {
var files = e.target.files;
if (!files) return;
var updatedFileList = yield getListFiles(files, 'dataURL');
Expand All @@ -5974,8 +5980,11 @@ var FileList = props => {
}
setFileList(updatedList);
onChange == null ? void 0 : onChange(updatedList);
})).apply(this, arguments);
};
});
return function onInputChange(_x) {
return _ref.apply(this, arguments);
};
}();
var onRemove = index => {
var updatedList = [...fileList];
updatedList.splice(index, 1);
Expand Down
2 changes: 1 addition & 1 deletion uiw.min.js

Large diffs are not rendered by default.

0 comments on commit c09e7c7

Please sign in to comment.