@blocklet/launcher-ux 2.3.53 → 2.3.54
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.
|
@@ -270,16 +270,26 @@ function Component({
|
|
|
270
270
|
children: components.map(({
|
|
271
271
|
did,
|
|
272
272
|
title,
|
|
273
|
-
logo
|
|
273
|
+
logo,
|
|
274
|
+
bundleSource
|
|
274
275
|
}) => {
|
|
275
276
|
let props = {};
|
|
276
|
-
if (blockletStoreURL) {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
277
|
+
if (blockletStoreURL || bundleSource) {
|
|
278
|
+
let blockletURL = '';
|
|
279
|
+
if (bundleSource?.store) {
|
|
280
|
+
blockletURL = getBlockletUrlOnStore({
|
|
281
|
+
did,
|
|
282
|
+
baseUrl: bundleSource?.store
|
|
283
|
+
});
|
|
284
|
+
} else {
|
|
285
|
+
blockletURL = getBlockletUrlOnStore({
|
|
280
286
|
did,
|
|
281
287
|
baseUrl: blockletStoreURL
|
|
282
|
-
})
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
props = {
|
|
291
|
+
component: 'a',
|
|
292
|
+
href: blockletURL
|
|
283
293
|
};
|
|
284
294
|
}
|
|
285
295
|
return /*#__PURE__*/_jsxs(ListItem, {
|
|
@@ -286,16 +286,26 @@ function Component(_ref2) {
|
|
|
286
286
|
let {
|
|
287
287
|
did,
|
|
288
288
|
title,
|
|
289
|
-
logo
|
|
289
|
+
logo,
|
|
290
|
+
bundleSource
|
|
290
291
|
} = _ref3;
|
|
291
292
|
let props = {};
|
|
292
|
-
if (blockletStoreURL) {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
293
|
+
if (blockletStoreURL || bundleSource) {
|
|
294
|
+
let blockletURL = '';
|
|
295
|
+
if (bundleSource !== null && bundleSource !== void 0 && bundleSource.store) {
|
|
296
|
+
blockletURL = (0, _util2.getBlockletUrlOnStore)({
|
|
297
|
+
did,
|
|
298
|
+
baseUrl: bundleSource === null || bundleSource === void 0 ? void 0 : bundleSource.store
|
|
299
|
+
});
|
|
300
|
+
} else {
|
|
301
|
+
blockletURL = (0, _util2.getBlockletUrlOnStore)({
|
|
296
302
|
did,
|
|
297
303
|
baseUrl: blockletStoreURL
|
|
298
|
-
})
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
props = {
|
|
307
|
+
component: 'a',
|
|
308
|
+
href: blockletURL
|
|
299
309
|
};
|
|
300
310
|
}
|
|
301
311
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.ListItem, _objectSpread(_objectSpread({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-ux",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.54",
|
|
4
4
|
"description": "Launcher UX lib",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"glob": "^10.4.5"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@arcblock/ux": "^2.10.
|
|
57
|
-
"@blocklet/launcher-util": "2.3.
|
|
56
|
+
"@arcblock/ux": "^2.10.33",
|
|
57
|
+
"@blocklet/launcher-util": "2.3.54",
|
|
58
58
|
"@blocklet/payment-react": "^1.15.4",
|
|
59
59
|
"@emotion/styled": "^11.13.0",
|
|
60
60
|
"@mui/icons-material": "^5.16.7",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"require": "./lib/use-mobile/index.js"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "e1b9d6d3607e9b17a8b59c1f67df8e059a6d8c16"
|
|
97
97
|
}
|