@abtnode/ux 1.16.29-beta-a3a3b40e → 1.16.29-beta-1fb308f8

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.
@@ -228,7 +228,7 @@ function Header({
228
228
  }
229
229
  };
230
230
  }), {
231
- concurrency: 1
231
+ concurrency: 4
232
232
  });
233
233
  }
234
234
  onPublish?.();
@@ -456,7 +456,7 @@ function Header({
456
456
  params: params,
457
457
  projectId: projectId,
458
458
  open: showSetting,
459
- getData: getData,
459
+ setParams: setParams,
460
460
  onClose: () => setShowSetting(false)
461
461
  })]
462
462
  });
@@ -13,10 +13,10 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
13
13
  function ProjectSetting({
14
14
  did,
15
15
  params,
16
+ setParams,
16
17
  projectId,
17
18
  open,
18
- onClose,
19
- getData
19
+ onClose
20
20
  }) {
21
21
  const {
22
22
  t
@@ -28,6 +28,8 @@ function ProjectSetting({
28
28
  const [autoUpload, setAutoUpload] = useState(false);
29
29
  const [possibleSameStore, setPossibleSameStore] = useState(false);
30
30
  const handleClose = () => {
31
+ setAutoUpload(params.autoUpload);
32
+ setPossibleSameStore(params.possibleSameStore);
31
33
  setLoading(false);
32
34
  onClose(false);
33
35
  };
@@ -45,7 +47,10 @@ function ProjectSetting({
45
47
  possibleSameStore: !!possibleSameStore
46
48
  }
47
49
  });
48
- await getData();
50
+ setParams({
51
+ autoUpload,
52
+ possibleSameStore
53
+ });
49
54
  onClose(false);
50
55
  } catch (err) {
51
56
  Toast.error(err.message);
@@ -171,7 +176,7 @@ ProjectSetting.propTypes = {
171
176
  params: PropTypes.object.isRequired,
172
177
  open: PropTypes.bool.isRequired,
173
178
  onClose: PropTypes.func.isRequired,
174
- getData: PropTypes.func.isRequired,
179
+ setParams: PropTypes.func.isRequired,
175
180
  projectId: PropTypes.string.isRequired
176
181
  };
177
182
  export default ProjectSetting;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.29-beta-a3a3b40e",
3
+ "version": "1.16.29-beta-1fb308f8",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -25,24 +25,24 @@
25
25
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@abtnode/auth": "1.16.29-beta-a3a3b40e",
29
- "@abtnode/constant": "1.16.29-beta-a3a3b40e",
30
- "@abtnode/util": "1.16.29-beta-a3a3b40e",
28
+ "@abtnode/auth": "1.16.29-beta-1fb308f8",
29
+ "@abtnode/constant": "1.16.29-beta-1fb308f8",
30
+ "@abtnode/util": "1.16.29-beta-1fb308f8",
31
31
  "@ahooksjs/use-url-state": "^3.5.1",
32
32
  "@arcblock/did": "^1.18.126",
33
- "@arcblock/did-connect": "^2.10.8",
33
+ "@arcblock/did-connect": "^2.10.11",
34
34
  "@arcblock/did-motif": "^1.1.13",
35
- "@arcblock/icons": "^2.10.8",
36
- "@arcblock/nft-display": "2.10.8",
37
- "@arcblock/react-hooks": "^2.10.8",
38
- "@arcblock/terminal": "^2.10.8",
39
- "@arcblock/ux": "^2.10.8",
40
- "@blocklet/constant": "1.16.29-beta-a3a3b40e",
41
- "@blocklet/js-sdk": "1.16.29-beta-a3a3b40e",
42
- "@blocklet/launcher-layout": "2.3.33",
43
- "@blocklet/list": "^0.13.9",
44
- "@blocklet/meta": "1.16.29-beta-a3a3b40e",
45
- "@blocklet/ui-react": "^2.10.8",
35
+ "@arcblock/icons": "^2.10.11",
36
+ "@arcblock/nft-display": "2.10.11",
37
+ "@arcblock/react-hooks": "^2.10.11",
38
+ "@arcblock/terminal": "^2.10.11",
39
+ "@arcblock/ux": "^2.10.11",
40
+ "@blocklet/constant": "1.16.29-beta-1fb308f8",
41
+ "@blocklet/js-sdk": "1.16.29-beta-1fb308f8",
42
+ "@blocklet/launcher-layout": "2.3.34",
43
+ "@blocklet/list": "^0.13.13",
44
+ "@blocklet/meta": "1.16.29-beta-1fb308f8",
45
+ "@blocklet/ui-react": "^2.10.11",
46
46
  "@blocklet/uploader": "0.1.20",
47
47
  "@emotion/react": "^11.10.4",
48
48
  "@emotion/styled": "^11.10.4",
@@ -108,5 +108,5 @@
108
108
  "jest": "^29.7.0",
109
109
  "jest-environment-jsdom": "^29.7.0"
110
110
  },
111
- "gitHead": "283c32d9bc91067b15b673a9c438802a6f916fc2"
111
+ "gitHead": "1bf1d605a02f4df2789215e6e9518a62b1c3f806"
112
112
  }