@blocklet/launcher-workflow 2.5.8 → 2.5.10
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.
|
@@ -398,13 +398,20 @@ export default function AppSuccessDisplay({
|
|
|
398
398
|
minWidth: 220
|
|
399
399
|
},
|
|
400
400
|
color: "primary",
|
|
401
|
-
onClick: () =>
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
401
|
+
onClick: () => {
|
|
402
|
+
const prefix = blockletInfo.prefix.replace(/\//g, '');
|
|
403
|
+
const splitUrl = appUrl.split('/');
|
|
404
|
+
if (splitUrl[splitUrl.length - 1] === prefix) {
|
|
405
|
+
splitUrl.pop();
|
|
406
|
+
}
|
|
407
|
+
window.open(withQuery(joinURL(getBaseURL(), `/api/launches/${sessionId}/redirect/dashboard`), {
|
|
408
|
+
appUrl: splitUrl.join('/'),
|
|
409
|
+
appDid: blockletInfo.appPid,
|
|
410
|
+
ownerDid: blockletInfo.ownerDid,
|
|
411
|
+
locale,
|
|
412
|
+
theme: theme.palette.mode
|
|
413
|
+
}), '_blank');
|
|
414
|
+
},
|
|
408
415
|
startIcon: /*#__PURE__*/_jsx(DashboardIcon, {
|
|
409
416
|
sx: {
|
|
410
417
|
fontSize: 24,
|
package/es/locales/en.js
CHANGED
|
@@ -129,7 +129,7 @@ export default {
|
|
|
129
129
|
noAppUrl: 'No accessible URL found, please contact the administrator'
|
|
130
130
|
},
|
|
131
131
|
ownerAccount: 'Owner Account:',
|
|
132
|
-
ownerAccountDescription: 'This account will be used to
|
|
132
|
+
ownerAccountDescription: 'This account will be used to login and manage your Blocklet application.'
|
|
133
133
|
},
|
|
134
134
|
loading: {
|
|
135
135
|
completed: 'completed',
|
|
@@ -409,13 +409,20 @@ function AppSuccessDisplay(_ref) {
|
|
|
409
409
|
minWidth: 220
|
|
410
410
|
},
|
|
411
411
|
color: "primary",
|
|
412
|
-
onClick: () =>
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
412
|
+
onClick: () => {
|
|
413
|
+
const prefix = blockletInfo.prefix.replace(/\//g, '');
|
|
414
|
+
const splitUrl = appUrl.split('/');
|
|
415
|
+
if (splitUrl[splitUrl.length - 1] === prefix) {
|
|
416
|
+
splitUrl.pop();
|
|
417
|
+
}
|
|
418
|
+
window.open((0, _ufo.withQuery)((0, _ufo.joinURL)((0, _util.getBaseURL)(), "/api/launches/".concat(sessionId, "/redirect/dashboard")), {
|
|
419
|
+
appUrl: splitUrl.join('/'),
|
|
420
|
+
appDid: blockletInfo.appPid,
|
|
421
|
+
ownerDid: blockletInfo.ownerDid,
|
|
422
|
+
locale,
|
|
423
|
+
theme: theme.palette.mode
|
|
424
|
+
}), '_blank');
|
|
425
|
+
},
|
|
419
426
|
startIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dashboard.default, {
|
|
420
427
|
sx: {
|
|
421
428
|
fontSize: 24,
|
package/lib/locales/en.js
CHANGED
|
@@ -135,7 +135,7 @@ var _default = exports.default = {
|
|
|
135
135
|
noAppUrl: 'No accessible URL found, please contact the administrator'
|
|
136
136
|
},
|
|
137
137
|
ownerAccount: 'Owner Account:',
|
|
138
|
-
ownerAccountDescription: 'This account will be used to
|
|
138
|
+
ownerAccountDescription: 'This account will be used to login and manage your Blocklet application.'
|
|
139
139
|
},
|
|
140
140
|
loading: {
|
|
141
141
|
completed: 'completed',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-workflow",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.10",
|
|
4
4
|
"description": "Purchase components for Launcher UI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -43,22 +43,22 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@abtnode/constant": "^1.16.48",
|
|
45
45
|
"@abtnode/util": "^1.16.48",
|
|
46
|
-
"@arcblock/did-connect-react": "^3.1.
|
|
47
|
-
"@arcblock/icons": "^3.1.
|
|
48
|
-
"@arcblock/license": "^3.1.
|
|
49
|
-
"@arcblock/react-hooks": "^3.1.
|
|
50
|
-
"@arcblock/ux": "^3.1.
|
|
51
|
-
"@blocklet/launcher-layout": "^3.1.
|
|
52
|
-
"@blocklet/launcher-util": "2.5.
|
|
53
|
-
"@blocklet/launcher-ux": "2.5.
|
|
46
|
+
"@arcblock/did-connect-react": "^3.1.15",
|
|
47
|
+
"@arcblock/icons": "^3.1.15",
|
|
48
|
+
"@arcblock/license": "^3.1.15",
|
|
49
|
+
"@arcblock/react-hooks": "^3.1.15",
|
|
50
|
+
"@arcblock/ux": "^3.1.15",
|
|
51
|
+
"@blocklet/launcher-layout": "^3.1.15",
|
|
52
|
+
"@blocklet/launcher-util": "2.5.10",
|
|
53
|
+
"@blocklet/launcher-ux": "2.5.10",
|
|
54
54
|
"@blocklet/payment": "^1.14.8",
|
|
55
|
-
"@blocklet/payment-react": "^1.19.
|
|
55
|
+
"@blocklet/payment-react": "^1.19.17",
|
|
56
56
|
"@emotion/react": "^11.14.0",
|
|
57
57
|
"@emotion/styled": "^11.14.1",
|
|
58
58
|
"@mui/icons-material": "^7.2.0",
|
|
59
59
|
"@mui/lab": "^7.0.0-beta.14",
|
|
60
60
|
"@mui/material": "^7.2.0",
|
|
61
|
-
"@ocap/util": "^1.21.
|
|
61
|
+
"@ocap/util": "^1.21.3",
|
|
62
62
|
"@splidejs/react-splide": "^0.7.12",
|
|
63
63
|
"@splidejs/splide": "^4.1.4",
|
|
64
64
|
"@splidejs/splide-extension-grid": "^0.4.1",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"require": "./lib/locales/index.js"
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "557ea82bd226819512b888e179e458a765d8779e"
|
|
113
113
|
}
|