@abtnode/ux 1.16.28-beta-23b06b63 → 1.16.28-beta-17c98819
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/lib/blocklet/component/add-component/add-component-core.js +2 -2
- package/lib/blocklet/component/component-cell.js +2 -2
- package/lib/blocklet/component/component-info-dialog.js +8 -13
- package/lib/blocklet/component/configuration.js +4 -3
- package/lib/blocklet/notification/email.js +5 -0
- package/lib/blocklet/notification/push-kit.js +47 -1
- package/lib/blocklet/publish/create-release/header.js +2 -1
- package/lib/blocklet/publish/utils/upload-image-to-project.js +2 -2
- package/lib/locales/ar.js +4 -1
- package/lib/locales/de.js +4 -1
- package/lib/locales/en.js +5 -2
- package/lib/locales/es.js +4 -1
- package/lib/locales/fr.js +4 -1
- package/lib/locales/hi.js +4 -1
- package/lib/locales/i18n.db +0 -0
- package/lib/locales/id.js +4 -1
- package/lib/locales/ja.js +4 -1
- package/lib/locales/ko.js +4 -1
- package/lib/locales/pt.js +4 -1
- package/lib/locales/ru.js +4 -1
- package/lib/locales/th.js +4 -1
- package/lib/locales/vi.js +4 -1
- package/lib/locales/zh-tw.js +5 -2
- package/lib/locales/zh.js +5 -2
- package/package.json +7 -7
|
@@ -7,7 +7,7 @@ import Alert from '@arcblock/ux/lib/Alert';
|
|
|
7
7
|
import AnimationWaiter from '@arcblock/ux/lib/AnimationWaiter';
|
|
8
8
|
import Button from '@arcblock/ux/lib/Button';
|
|
9
9
|
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
10
|
-
import { BLOCKLET_APP_SPACE_REQUIREMENT, BLOCKLET_CONFIGURABLE_KEY, BlockletEvents,
|
|
10
|
+
import { BLOCKLET_APP_SPACE_REQUIREMENT, BLOCKLET_CONFIGURABLE_KEY, BlockletEvents, BlockletStatus } from '@blocklet/constant';
|
|
11
11
|
import { StepProvider } from '@blocklet/launcher-layout/lib/context/step';
|
|
12
12
|
import ResultMessage from '@blocklet/launcher-layout/lib/launch-result-message';
|
|
13
13
|
import PageHeader from '@blocklet/launcher-layout/lib/page-header';
|
|
@@ -851,7 +851,7 @@ export default function AddComponentCore({
|
|
|
851
851
|
}
|
|
852
852
|
});
|
|
853
853
|
}
|
|
854
|
-
if (hasStartEngine(meta) &&
|
|
854
|
+
if (hasStartEngine(meta) && !alreadyInstalled(meta.did)) {
|
|
855
855
|
steps.push({
|
|
856
856
|
key: 'config',
|
|
857
857
|
name: t('common.config'),
|
|
@@ -234,13 +234,13 @@ export default function ComponentCell({
|
|
|
234
234
|
disabled: !['starting', 'stopping'].includes(app.status) && isInProgress(app.status)
|
|
235
235
|
}), /*#__PURE__*/_jsx(Actions, {
|
|
236
236
|
"data-cy": "component-actions",
|
|
237
|
-
actions: [hasStartEngine(blocklet.meta) ? {
|
|
237
|
+
actions: [hasStartEngine(blocklet.meta) || isResource(blocklet) ? {
|
|
238
238
|
icon: /*#__PURE__*/_jsx(InfoOutlinedIcon, {}),
|
|
239
239
|
text: t('common.detail'),
|
|
240
240
|
onClick: () => {
|
|
241
241
|
setComponentInfo(blocklet);
|
|
242
242
|
}
|
|
243
|
-
} : null,
|
|
243
|
+
} : null, {
|
|
244
244
|
icon: /*#__PURE__*/_jsx(RestartIcon, {}),
|
|
245
245
|
text: t('common.restart'),
|
|
246
246
|
onClick: () => {
|
|
@@ -2,12 +2,9 @@ import { LocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
|
2
2
|
import { useContext } from 'react';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import Badge from '@mui/material
|
|
6
|
-
import Dialog from '@mui/material/Dialog';
|
|
7
|
-
import DialogContent from '@mui/material/DialogContent';
|
|
8
|
-
import DialogTitle from '@mui/material/DialogTitle';
|
|
5
|
+
import { Badge, Box } from '@mui/material';
|
|
9
6
|
import InfoRow from '@arcblock/ux/lib/InfoRow';
|
|
10
|
-
import
|
|
7
|
+
import Dialog from '@arcblock/ux/lib/Dialog';
|
|
11
8
|
import { getDisplayName, hasStartEngine } from '@blocklet/meta/lib/util';
|
|
12
9
|
import { useDeletingBlockletContext } from '../../contexts/deleting-blocklets';
|
|
13
10
|
import Tag from '../../tag';
|
|
@@ -16,7 +13,7 @@ import DidAddress from '../../did-address';
|
|
|
16
13
|
import BlockletSource from '../blocklet-source';
|
|
17
14
|
import BlockletStatus from '../status';
|
|
18
15
|
import BlockletVersion from '../version';
|
|
19
|
-
import { jsx as _jsx
|
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
17
|
const isResource = component => !component?.meta?.group;
|
|
21
18
|
const getEngineRows = (engine, t) => {
|
|
22
19
|
if (!engine) {
|
|
@@ -204,18 +201,16 @@ export default function ComponentInfoDialog({
|
|
|
204
201
|
}
|
|
205
202
|
return /*#__PURE__*/_jsx(Dialog, {
|
|
206
203
|
open: true,
|
|
204
|
+
title: t('common.componentBasicInfo'),
|
|
205
|
+
showCloseButton: true,
|
|
207
206
|
fullWidth: true,
|
|
208
207
|
maxWidth: "md",
|
|
209
208
|
onClose: () => {
|
|
210
209
|
onClose(null);
|
|
211
210
|
},
|
|
212
|
-
children: /*#__PURE__*/
|
|
213
|
-
|
|
214
|
-
children:
|
|
215
|
-
children: t('common.componentBasicInfo')
|
|
216
|
-
}), /*#__PURE__*/_jsx(DialogContent, {
|
|
217
|
-
children: renderRows(componentRows)
|
|
218
|
-
})]
|
|
211
|
+
children: /*#__PURE__*/_jsx(Box, {
|
|
212
|
+
paddingBottom: 1.5,
|
|
213
|
+
children: renderRows(componentRows)
|
|
219
214
|
}, "dialog-wrapper")
|
|
220
215
|
}, "base-info-dialog");
|
|
221
216
|
}
|
|
@@ -4,7 +4,8 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import IconButton from '@mui/material/IconButton';
|
|
5
5
|
import Box from '@mui/material/Box';
|
|
6
6
|
import EditIcon from '@mui/icons-material/Edit';
|
|
7
|
-
import { getDisplayName
|
|
7
|
+
import { getDisplayName } from '@blocklet/meta/lib/util';
|
|
8
|
+
import { hasMountPoint } from '@blocklet/meta/lib/engine';
|
|
8
9
|
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
9
10
|
import Dialog from '@arcblock/ux/lib/Dialog';
|
|
10
11
|
import Tabs from '@arcblock/ux/lib/Tabs';
|
|
@@ -22,7 +23,7 @@ export default function ComponentConfiguration({
|
|
|
22
23
|
t
|
|
23
24
|
} = useLocaleContext();
|
|
24
25
|
const isComponent = !!ancestors.length;
|
|
25
|
-
const [tab, setTab] = useState(
|
|
26
|
+
const [tab, setTab] = useState(hasMountPoint(blocklet?.meta) ? 'settings' : 'environments');
|
|
26
27
|
const name = isComponent ? getDisplayName(blocklet, true) : t('blocklet.component.container');
|
|
27
28
|
if (isInstalling(blocklet.status)) {
|
|
28
29
|
return null;
|
|
@@ -39,7 +40,7 @@ export default function ComponentConfiguration({
|
|
|
39
40
|
setShowDialog(true);
|
|
40
41
|
};
|
|
41
42
|
const tabConfigs = {
|
|
42
|
-
settings:
|
|
43
|
+
settings: hasMountPoint(blocklet.meta) && {
|
|
43
44
|
label: t('blocklet.component.setting'),
|
|
44
45
|
value: 'settings',
|
|
45
46
|
component: /*#__PURE__*/_jsx(ComponentSetting, {
|
|
@@ -222,6 +222,7 @@ function NotificationEmail() {
|
|
|
222
222
|
fullWidth: true,
|
|
223
223
|
children: /*#__PURE__*/_jsx(TextField, {
|
|
224
224
|
...field,
|
|
225
|
+
required: true,
|
|
225
226
|
label: t('notification.email.from'),
|
|
226
227
|
error: !!formState.errors[field.name],
|
|
227
228
|
helperText: formState.errors[field.name]?.message || ' ',
|
|
@@ -240,6 +241,7 @@ function NotificationEmail() {
|
|
|
240
241
|
fullWidth: true,
|
|
241
242
|
children: /*#__PURE__*/_jsx(TextField, {
|
|
242
243
|
...field,
|
|
244
|
+
required: true,
|
|
243
245
|
error: !!formState.errors[field.name],
|
|
244
246
|
label: t('notification.email.host'),
|
|
245
247
|
helperText: formState.errors[field.name]?.message || ' ',
|
|
@@ -258,6 +260,7 @@ function NotificationEmail() {
|
|
|
258
260
|
fullWidth: true,
|
|
259
261
|
children: /*#__PURE__*/_jsx(TextField, {
|
|
260
262
|
...field,
|
|
263
|
+
required: true,
|
|
261
264
|
type: "number",
|
|
262
265
|
error: !!formState.errors[field.name],
|
|
263
266
|
label: t('notification.email.port'),
|
|
@@ -277,6 +280,7 @@ function NotificationEmail() {
|
|
|
277
280
|
fullWidth: true,
|
|
278
281
|
children: /*#__PURE__*/_jsx(TextField, {
|
|
279
282
|
...field,
|
|
283
|
+
required: true,
|
|
280
284
|
error: !!formState.errors[field.name],
|
|
281
285
|
label: t('notification.email.user'),
|
|
282
286
|
helperText: formState.errors[field.name]?.message || ' ',
|
|
@@ -295,6 +299,7 @@ function NotificationEmail() {
|
|
|
295
299
|
fullWidth: true,
|
|
296
300
|
children: /*#__PURE__*/_jsx(TextField, {
|
|
297
301
|
...field,
|
|
302
|
+
required: true,
|
|
298
303
|
type: "password",
|
|
299
304
|
error: !!formState.errors[field.name],
|
|
300
305
|
label: t('notification.email.password'),
|
|
@@ -12,7 +12,9 @@ import useConfirm from '../../hooks/confirm';
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
const defaultFormValues = {
|
|
14
14
|
enabled: false,
|
|
15
|
-
endpoint: ''
|
|
15
|
+
endpoint: '',
|
|
16
|
+
did: undefined,
|
|
17
|
+
pushPath: undefined
|
|
16
18
|
};
|
|
17
19
|
function NotificationPushKit() {
|
|
18
20
|
const {
|
|
@@ -178,12 +180,56 @@ function NotificationPushKit() {
|
|
|
178
180
|
fullWidth: true,
|
|
179
181
|
children: /*#__PURE__*/_jsx(TextField, {
|
|
180
182
|
...field,
|
|
183
|
+
required: true,
|
|
181
184
|
label: t('notification.pushKit.endpoint'),
|
|
182
185
|
error: !!formState.errors[field.name],
|
|
183
186
|
helperText: formState.errors[field.name]?.message || ' ',
|
|
184
187
|
disabled: !enabled
|
|
185
188
|
})
|
|
186
189
|
})
|
|
190
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
191
|
+
component: "details",
|
|
192
|
+
sx: {
|
|
193
|
+
pl: '1em'
|
|
194
|
+
},
|
|
195
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
|
196
|
+
component: "summary",
|
|
197
|
+
sx: {
|
|
198
|
+
mb: 1,
|
|
199
|
+
ml: '-1em'
|
|
200
|
+
},
|
|
201
|
+
children: t('notification.pushKit.customOptions')
|
|
202
|
+
}), /*#__PURE__*/_jsx(Controller, {
|
|
203
|
+
name: "did",
|
|
204
|
+
control: control,
|
|
205
|
+
render: ({
|
|
206
|
+
field
|
|
207
|
+
}) => /*#__PURE__*/_jsx(FormControl, {
|
|
208
|
+
fullWidth: true,
|
|
209
|
+
children: /*#__PURE__*/_jsx(TextField, {
|
|
210
|
+
...field,
|
|
211
|
+
label: t('notification.pushKit.did'),
|
|
212
|
+
error: !!formState.errors[field.name],
|
|
213
|
+
helperText: formState.errors[field.name]?.message || ' ',
|
|
214
|
+
disabled: !enabled
|
|
215
|
+
})
|
|
216
|
+
})
|
|
217
|
+
}), /*#__PURE__*/_jsx(Controller, {
|
|
218
|
+
name: "pushPath",
|
|
219
|
+
control: control,
|
|
220
|
+
render: ({
|
|
221
|
+
field
|
|
222
|
+
}) => /*#__PURE__*/_jsx(FormControl, {
|
|
223
|
+
fullWidth: true,
|
|
224
|
+
children: /*#__PURE__*/_jsx(TextField, {
|
|
225
|
+
...field,
|
|
226
|
+
label: t('notification.pushKit.pushPath'),
|
|
227
|
+
error: !!formState.errors[field.name],
|
|
228
|
+
helperText: formState.errors[field.name]?.message || ' ',
|
|
229
|
+
disabled: !enabled
|
|
230
|
+
})
|
|
231
|
+
})
|
|
232
|
+
})]
|
|
187
233
|
}), /*#__PURE__*/_jsx(Button, {
|
|
188
234
|
variant: "outlined",
|
|
189
235
|
color: "warning",
|
|
@@ -122,6 +122,7 @@ function Header({
|
|
|
122
122
|
});
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
|
+
setLoading(true);
|
|
125
126
|
if (initLogoUrl) {
|
|
126
127
|
try {
|
|
127
128
|
const filename = await uploadImageToProject({
|
|
@@ -135,10 +136,10 @@ function Header({
|
|
|
135
136
|
});
|
|
136
137
|
} catch (err) {
|
|
137
138
|
Toast.error(err.message);
|
|
139
|
+
setLoading(false);
|
|
138
140
|
return;
|
|
139
141
|
}
|
|
140
142
|
}
|
|
141
|
-
setLoading(true);
|
|
142
143
|
const saveKeys = Object.keys(saveSelectedEventsRef.current);
|
|
143
144
|
try {
|
|
144
145
|
await pAll(saveKeys.map(x => {
|
|
@@ -41,7 +41,7 @@ const uploadImageToProject = async ({
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
// 使用 Tus 协议上传文件
|
|
44
|
-
const createUploadResponse = await axios.post(joinURL(WELLKNOWN_SERVICE_PATH_PREFIX, '/api/project', did, projectId, uploadType, 'upload'),
|
|
44
|
+
const createUploadResponse = await axios.post(joinURL(WELLKNOWN_SERVICE_PATH_PREFIX, '/api/project', did, projectId, uploadType, 'upload'), null, {
|
|
45
45
|
headers: {
|
|
46
46
|
'Tus-Resumable': '1.0.0',
|
|
47
47
|
'Upload-Length': file.size,
|
|
@@ -53,7 +53,7 @@ const uploadImageToProject = async ({
|
|
|
53
53
|
const uploadUrl = createUploadResponse.headers.location;
|
|
54
54
|
|
|
55
55
|
// Upload the file in chunks
|
|
56
|
-
const chunkSize =
|
|
56
|
+
const chunkSize = 2 * 1024 * 1024;
|
|
57
57
|
let offset = 0;
|
|
58
58
|
let filename = '';
|
|
59
59
|
for (const chunk of createFileChunks(file, chunkSize)) {
|
package/lib/locales/ar.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'مستقبل PushKit',
|
|
980
980
|
testSend: 'اختبار إرسال مجموعة الدفع',
|
|
981
981
|
inputTestReceiver: 'الرجاء إدخال مستقبل الاختبار',
|
|
982
|
-
receiverRequired: 'مطلوب مستقبل PushKit'
|
|
982
|
+
receiverRequired: 'مطلوب مستقبل PushKit',
|
|
983
|
+
pushPath: 'مسار Api ل push-kit (افتراضي /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'خيارات مخصصة'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/de.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'PushKit-Empfänger',
|
|
980
980
|
testSend: 'Test-Push-Kit senden',
|
|
981
981
|
inputTestReceiver: 'Bitte geben Sie den Test-Empfänger ein',
|
|
982
|
-
receiverRequired: 'PushKit-Empfänger ist erforderlich'
|
|
982
|
+
receiverRequired: 'PushKit-Empfänger ist erforderlich',
|
|
983
|
+
pushPath: 'Api-Pfad für Push-Kit (Standard /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'Benutzerdefinierte Optionen'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/en.js
CHANGED
|
@@ -931,7 +931,10 @@ export default {
|
|
|
931
931
|
testReceiver: 'PushKit receiver',
|
|
932
932
|
testSend: 'Test push-kit send',
|
|
933
933
|
inputTestReceiver: 'Please input test receiver did',
|
|
934
|
-
receiverRequired: 'PushKit receiver is required'
|
|
934
|
+
receiverRequired: 'PushKit receiver is required',
|
|
935
|
+
pushPath: 'Api path for push-kit (default /api/push)',
|
|
936
|
+
did: 'PushKit Blocklet DID',
|
|
937
|
+
customOptions: 'Custom Options'
|
|
935
938
|
},
|
|
936
939
|
email: {
|
|
937
940
|
enable: 'Enable email notification',
|
|
@@ -1490,7 +1493,7 @@ export default {
|
|
|
1490
1493
|
installedButStopped: 'The app is installed successfully, but cannot be started. You can start it manually after resolving blocking issues',
|
|
1491
1494
|
installedButError: 'The app is successfully installed, but failed to start',
|
|
1492
1495
|
restoreFailed: 'Failed to restore app, please try again',
|
|
1493
|
-
resourceBlocklet: '
|
|
1496
|
+
resourceBlocklet: 'Blocklet cannot be installed as an application, you can add this blocklet into existing applications.'
|
|
1494
1497
|
},
|
|
1495
1498
|
steps: {
|
|
1496
1499
|
introduction: 'Introduction',
|
package/lib/locales/es.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'Receptor PushKit',
|
|
980
980
|
testSend: 'Probar enviar push-kit',
|
|
981
981
|
inputTestReceiver: 'Introduzca el receptor de prueba did',
|
|
982
|
-
receiverRequired: 'Se requiere receptor PushKit'
|
|
982
|
+
receiverRequired: 'Se requiere receptor PushKit',
|
|
983
|
+
pushPath: 'Ruta de API para push-kit (predeterminado /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'Opciones personalizadas'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/fr.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'Récepteur PushKit',
|
|
980
980
|
testSend: "Tester l'envoi du kit push",
|
|
981
981
|
inputTestReceiver: 'Veuillez saisir le destinataire du test',
|
|
982
|
-
receiverRequired: 'Récepteur PushKit requis'
|
|
982
|
+
receiverRequired: 'Récepteur PushKit requis',
|
|
983
|
+
pushPath: 'Chemin API pour push-kit (par défaut /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'Options personnalisées'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/hi.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'पुष्कीत रिसीवर',
|
|
980
980
|
testSend: 'टेस्ट पुश-किट भेजें',
|
|
981
981
|
inputTestReceiver: 'कृपया परीक्षण रिसीवर इनपुट करें',
|
|
982
|
-
receiverRequired: 'पुशकिट रिसीवर ज़रूरी हैं'
|
|
982
|
+
receiverRequired: 'पुशकिट रिसीवर ज़रूरी हैं',
|
|
983
|
+
pushPath: 'पुश-किट के लिए एपीआई पथ (डिफ़ॉल्ट /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'कस्टम विकल्प'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/i18n.db
CHANGED
|
Binary file
|
package/lib/locales/id.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'Penerima PushKit',
|
|
980
980
|
testSend: 'Uji coba kiriman push-kit',
|
|
981
981
|
inputTestReceiver: 'Masukkan penerima uji',
|
|
982
|
-
receiverRequired: 'Diperlukan penerima PushKit'
|
|
982
|
+
receiverRequired: 'Diperlukan penerima PushKit',
|
|
983
|
+
pushPath: 'Jalur api untuk push-kit (default /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'Opsi Kustom'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/ja.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'PushKit レシーバー',
|
|
980
980
|
testSend: 'プッシュキットの送信をテストする',
|
|
981
981
|
inputTestReceiver: 'テストレシーバーdidを入力してください',
|
|
982
|
-
receiverRequired: 'PushKit レシーバーが必要です'
|
|
982
|
+
receiverRequired: 'PushKit レシーバーが必要です',
|
|
983
|
+
pushPath: 'プッシュキットの API パス(デフォルト /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'カスタムオプション'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/ko.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: '푸시킷 수신기',
|
|
980
980
|
testSend: '푸시 키트 보내기 테스트',
|
|
981
981
|
inputTestReceiver: '테스트 수신자 입력 did',
|
|
982
|
-
receiverRequired: 'PushKit 수신기가 필요함'
|
|
982
|
+
receiverRequired: 'PushKit 수신기가 필요함',
|
|
983
|
+
pushPath: '푸시-킷의 API 경로 (기본 /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: '사용자 정의 옵션'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/pt.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'Receptor PushKit',
|
|
980
980
|
testSend: 'Teste o envio do push-kit',
|
|
981
981
|
inputTestReceiver: 'Digite o receptor de teste',
|
|
982
|
-
receiverRequired: 'É necessário o receptor PushKit'
|
|
982
|
+
receiverRequired: 'É necessário o receptor PushKit',
|
|
983
|
+
pushPath: 'Caminho da api para push-kit (padrão /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'Opções Personalizadas'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/ru.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'Приемник PushKit',
|
|
980
980
|
testSend: 'Проверка отправки push-комплекта',
|
|
981
981
|
inputTestReceiver: 'Пожалуйста, введите тестовый приемник',
|
|
982
|
-
receiverRequired: 'Требуется приемник PushKit'
|
|
982
|
+
receiverRequired: 'Требуется приемник PushKit',
|
|
983
|
+
pushPath: 'Путь Api для push-kit (по умолчанию /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'Пользовательские настройки'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/th.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'ตัวรับ PushKit',
|
|
980
980
|
testSend: 'ทดสอบการส่ง push-kit',
|
|
981
981
|
inputTestReceiver: 'โปรดป้อนเครื่องรับทดสอบ',
|
|
982
|
-
receiverRequired: 'จำเป็นต้องใช้ตัวรับ PushKit'
|
|
982
|
+
receiverRequired: 'จำเป็นต้องใช้ตัวรับ PushKit',
|
|
983
|
+
pushPath: 'เส้นทาง api สำหรับ push-kit (ค่าเริ่มต้น /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'ตัวเลือกที่กำหนดเอง'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/vi.js
CHANGED
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'Máy thu PushKit',
|
|
980
980
|
testSend: 'Thử nghiệm đẩy push-kit',
|
|
981
981
|
inputTestReceiver: 'Vui lòng nhập máy thu thử nghiệm',
|
|
982
|
-
receiverRequired: 'Cần có bộ thu PushKit'
|
|
982
|
+
receiverRequired: 'Cần có bộ thu PushKit',
|
|
983
|
+
pushPath: 'Đường dẫn api cho push-kit (mặc định /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: 'Tùy Chọn Tùy Chỉnh'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/zh-tw.js
CHANGED
|
@@ -353,7 +353,7 @@ export default {
|
|
|
353
353
|
uploaded: '已上傳',
|
|
354
354
|
uploadToStore: '上傳至 Store',
|
|
355
355
|
upload: '上傳',
|
|
356
|
-
blockletStudio: '
|
|
356
|
+
blockletStudio: 'Studio',
|
|
357
357
|
visitStore: '訪問 Store',
|
|
358
358
|
reconnect: '重新連接'
|
|
359
359
|
},
|
|
@@ -979,7 +979,10 @@ export default {
|
|
|
979
979
|
testReceiver: 'PushKit 接收者',
|
|
980
980
|
testSend: '測試推播套件發送',
|
|
981
981
|
inputTestReceiver: '請輸入測試接收者 DID',
|
|
982
|
-
receiverRequired: '需要 PushKit 接收者 DID'
|
|
982
|
+
receiverRequired: '需要 PushKit 接收者 DID',
|
|
983
|
+
pushPath: '推送套件的 API 路徑(預設 /api/push)',
|
|
984
|
+
did: 'PushKit Blocklet DID',
|
|
985
|
+
customOptions: '自訂選項'
|
|
983
986
|
}
|
|
984
987
|
},
|
|
985
988
|
router: {
|
package/lib/locales/zh.js
CHANGED
|
@@ -353,7 +353,7 @@ export default {
|
|
|
353
353
|
uploaded: '已上传',
|
|
354
354
|
uploadToStore: '上传到 Store',
|
|
355
355
|
upload: '上传',
|
|
356
|
-
blockletStudio: '
|
|
356
|
+
blockletStudio: 'Studio',
|
|
357
357
|
visitStore: '访问 Store',
|
|
358
358
|
reconnect: '重新连接'
|
|
359
359
|
},
|
|
@@ -982,7 +982,10 @@ export default {
|
|
|
982
982
|
testReceiver: 'PushKit 接收器',
|
|
983
983
|
testSend: '测试推送',
|
|
984
984
|
inputTestReceiver: '请输入测试接收者 DID',
|
|
985
|
-
receiverRequired: '需要 PushKit 接收者 DID'
|
|
985
|
+
receiverRequired: '需要 PushKit 接收者 DID',
|
|
986
|
+
pushPath: '推送套件的 API 路径(默认 /api/push)',
|
|
987
|
+
did: 'PushKit Blocklet DID',
|
|
988
|
+
customOptions: '自定义选项'
|
|
986
989
|
}
|
|
987
990
|
},
|
|
988
991
|
router: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/ux",
|
|
3
|
-
"version": "1.16.28-beta-
|
|
3
|
+
"version": "1.16.28-beta-17c98819",
|
|
4
4
|
"description": "UX components shared across abtnode packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -25,9 +25,9 @@
|
|
|
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.28-beta-
|
|
29
|
-
"@abtnode/constant": "1.16.28-beta-
|
|
30
|
-
"@abtnode/util": "1.16.28-beta-
|
|
28
|
+
"@abtnode/auth": "1.16.28-beta-17c98819",
|
|
29
|
+
"@abtnode/constant": "1.16.28-beta-17c98819",
|
|
30
|
+
"@abtnode/util": "1.16.28-beta-17c98819",
|
|
31
31
|
"@ahooksjs/use-url-state": "^3.5.1",
|
|
32
32
|
"@arcblock/did": "^1.18.123",
|
|
33
33
|
"@arcblock/did-connect": "^2.9.90",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@arcblock/react-hooks": "^2.9.90",
|
|
38
38
|
"@arcblock/terminal": "^2.9.90",
|
|
39
39
|
"@arcblock/ux": "^2.9.90",
|
|
40
|
-
"@blocklet/constant": "1.16.28-beta-
|
|
40
|
+
"@blocklet/constant": "1.16.28-beta-17c98819",
|
|
41
41
|
"@blocklet/launcher-layout": "2.3.21",
|
|
42
42
|
"@blocklet/list": "^0.12.111",
|
|
43
|
-
"@blocklet/meta": "1.16.28-beta-
|
|
43
|
+
"@blocklet/meta": "1.16.28-beta-17c98819",
|
|
44
44
|
"@blocklet/ui-react": "^2.9.90",
|
|
45
45
|
"@blocklet/uploader": "^0.1.6",
|
|
46
46
|
"@emotion/react": "^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": "
|
|
111
|
+
"gitHead": "952ebe5b093575757efe06237c3c3e80b6909d50"
|
|
112
112
|
}
|