@abtnode/ux 1.16.27-beta-d27e19fa → 1.16.27-beta-8f022f16

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.
@@ -9,26 +9,40 @@ function shortenString(str, maxLength = 10) {
9
9
  }
10
10
  function ShortenLabel({
11
11
  children,
12
- maxLength
12
+ maxLength,
13
+ sx,
14
+ hiddenTip
13
15
  }) {
14
16
  if (children?.length <= maxLength) {
15
17
  return /*#__PURE__*/_jsx(Typography, {
18
+ sx: sx,
16
19
  children: children
17
20
  });
18
21
  }
22
+ if (hiddenTip) {
23
+ return /*#__PURE__*/_jsx(Typography, {
24
+ sx: sx,
25
+ children: shortenString(children, maxLength)
26
+ });
27
+ }
19
28
  return /*#__PURE__*/_jsx(Tooltip, {
20
29
  title: children,
21
30
  placement: "top",
22
31
  children: /*#__PURE__*/_jsx(Typography, {
32
+ sx: sx,
23
33
  children: shortenString(children, maxLength)
24
34
  })
25
35
  });
26
36
  }
27
37
  ShortenLabel.propTypes = {
28
38
  children: PropTypes.string.isRequired,
29
- maxLength: PropTypes.number
39
+ maxLength: PropTypes.number,
40
+ sx: PropTypes.object,
41
+ hiddenTip: PropTypes.bool
30
42
  };
31
43
  ShortenLabel.defaultProps = {
32
- maxLength: 10
44
+ maxLength: 10,
45
+ sx: null,
46
+ hiddenTip: false
33
47
  };
34
48
  export default ShortenLabel;
@@ -0,0 +1,59 @@
1
+ import { WELLKNOWN_SERVICE_PATH_PREFIX } from '@abtnode/constant';
2
+ import { Avatar, Box } from '@mui/material';
3
+ import PropTypes from 'prop-types';
4
+ import { useState } from 'react';
5
+ import ShortenLabel from '../component/shorten-label';
6
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
+ function BlockletCard({
8
+ did,
9
+ projectId,
10
+ title,
11
+ logo,
12
+ describe
13
+ }) {
14
+ const uploadLogoPrefix = `${WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${did}/${projectId}/logo/upload`;
15
+ const logoUrl = `${uploadLogoPrefix}/${logo}`;
16
+ const [hover, setHover] = useState(false);
17
+ return /*#__PURE__*/_jsxs(Box, {
18
+ sx: {
19
+ display: 'flex',
20
+ flexDirection: 'row',
21
+ color: hover ? 'primary.main' : 'grey.900',
22
+ gap: 1
23
+ },
24
+ onPointerEnter: () => setHover(true),
25
+ onPointerLeave: () => setHover(false),
26
+ children: [/*#__PURE__*/_jsx(Avatar, {
27
+ sx: {
28
+ borderRadius: 1
29
+ },
30
+ src: logoUrl
31
+ }), /*#__PURE__*/_jsxs(Box, {
32
+ children: [/*#__PURE__*/_jsx(ShortenLabel, {
33
+ hiddenTip: true,
34
+ maxLength: "24",
35
+ sx: {
36
+ fontSize: '14px',
37
+ fontWeight: '500'
38
+ },
39
+ children: title || '/'
40
+ }), /*#__PURE__*/_jsx(ShortenLabel, {
41
+ hiddenTip: true,
42
+ maxLength: "58",
43
+ sx: {
44
+ fontSize: '12px',
45
+ color: hover ? 'primary.main' : 'grey.700'
46
+ },
47
+ children: describe || '/'
48
+ })]
49
+ })]
50
+ });
51
+ }
52
+ BlockletCard.propTypes = {
53
+ projectId: PropTypes.string.isRequired,
54
+ did: PropTypes.string.isRequired,
55
+ title: PropTypes.string.isRequired,
56
+ logo: PropTypes.string.isRequired,
57
+ describe: PropTypes.string.isRequired
58
+ };
59
+ export default BlockletCard;
@@ -156,7 +156,7 @@ function Header({
156
156
  concurrency: 2
157
157
  });
158
158
  } catch (err) {
159
- Toast.error(err.message);
159
+ Toast.error(err?.response?.data?.error?.message || err.message);
160
160
  setLoading(false);
161
161
  setParamsErrTip({
162
162
  resources: 'Invalid save the resource'
@@ -188,7 +188,7 @@ function Header({
188
188
  componentDid
189
189
  }, '*');
190
190
  }
191
- if (mode === 'create') {
191
+ if (mode === 'create' || mode === 'new-release') {
192
192
  const id = res?.release?.id;
193
193
  navigate(`../${projectId}/view/${id}`, {
194
194
  replace: true
@@ -311,7 +311,7 @@ export default function CreateRelease({
311
311
  label: componentsUrlTitle || t('common.components'),
312
312
  description: t('blocklet.publish.steps.blocklets')
313
313
  }, {
314
- label: mode === 'create' || mode === 'new-version' ? t('blocklet.publish.newVersionTitle') : t('blocklet.publish.versionTitle'),
314
+ label: t('blocklet.publish.versionTitle'),
315
315
  description: t('blocklet.publish.steps.version')
316
316
  }];
317
317
  const nowStep = steps[activeStep] || steps[steps.length - 1];
@@ -110,7 +110,7 @@ export default function ReleaseStepper({
110
110
  mr: 1
111
111
  },
112
112
  disabled: error || !ok,
113
- children: "Continue"
113
+ children: t('common.continue')
114
114
  }), index > 0 && /*#__PURE__*/_jsx(Button, {
115
115
  disabled: index === 0,
116
116
  onClick: handleBack,
@@ -118,7 +118,7 @@ export default function ReleaseStepper({
118
118
  mt: 1,
119
119
  mr: 1
120
120
  },
121
- children: "Back"
121
+ children: t('common.back')
122
122
  })]
123
123
  })
124
124
  })]
@@ -128,7 +128,7 @@ export default function Tree({
128
128
  tabIndex: -1,
129
129
  disableRipple: true,
130
130
  onClick: event => handleNodeSelect(event, node.id),
131
- disabled: disabled
131
+ disabled: node.disabled || disabled
132
132
  }),
133
133
  label: /*#__PURE__*/_jsxs(Box, {
134
134
  className: "content",
@@ -19,7 +19,7 @@ import Toast from '@arcblock/ux/lib/Toast';
19
19
  import Tag from '@arcblock/ux/lib/Tag';
20
20
  import RelativeTime from '@arcblock/ux/lib/RelativeTime';
21
21
  import DidConnect from '@arcblock/did-connect/lib/Connect';
22
- import { Tooltip, Typography } from '@mui/material';
22
+ import { Tooltip, Typography, useMediaQuery } from '@mui/material';
23
23
  import { useSessionContext } from '../../contexts/session';
24
24
  import { useBlockletContext } from '../../contexts/blocklet';
25
25
  import { useNodeContext } from '../../contexts/node';
@@ -28,6 +28,7 @@ import DidAddress from '../../did-address';
28
28
  import Confirm from '../../confirm';
29
29
  import BlockletBundleAvatar from '../bundle-avatar';
30
30
  import ShortenLabel from '../component/shorten-label';
31
+ import BlockletCard from './blocklet-card';
31
32
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
32
33
  export default function ProjectList({
33
34
  initUrl
@@ -50,6 +51,7 @@ export default function ProjectList({
50
51
  } = useBlockletContext();
51
52
  const [deleteConfirm, setDeleteConfirm] = useState(null);
52
53
  const [openDidConnect, setOpenDidConnect] = useState(false);
54
+ const smallScreen = useMediaQuery(theme => theme.breakpoints.down('xl'));
53
55
  const {
54
56
  componentDid = ''
55
57
  } = useParams();
@@ -148,39 +150,68 @@ export default function ProjectList({
148
150
  const columns = [{
149
151
  label: 'Blocklet',
150
152
  name: 'blockletTitle',
153
+ minWidth: 160,
151
154
  options: {
152
155
  customBodyRenderLite: rawIndex => {
153
156
  const project = projects[rawIndex];
154
157
  return /*#__PURE__*/_jsx(Link, {
155
158
  to: `${project.id}`,
156
- children: project.blockletTitle || '/'
159
+ children: /*#__PURE__*/_jsx(BlockletCard, {
160
+ did: blocklet.meta.did,
161
+ projectId: project.id,
162
+ logo: project.blockletLogo,
163
+ title: project.blockletTitle,
164
+ describe: project.blockletDescription
165
+ })
157
166
  });
158
167
  }
159
168
  }
169
+ }, {
170
+ label: 'Version',
171
+ name: 'blockletVersion',
172
+ options: {
173
+ customBodyRender: value => {
174
+ return value ? /*#__PURE__*/_jsx(Tag, {
175
+ type: "success",
176
+ children: value
177
+ }) : '';
178
+ }
179
+ }
160
180
  }, {
161
181
  label: 'DID',
162
182
  name: 'blockletDid',
163
183
  options: {
164
- customBodyRender: e => {
184
+ customBodyRender: did => {
165
185
  return /*#__PURE__*/_jsx(DidAddress, {
166
186
  size: 14,
167
- responsive: true,
168
- did: e
187
+ compact: true,
188
+ responsive: false,
189
+ did: did
169
190
  });
170
191
  }
171
192
  }
172
- }, {
173
- label: 'Version',
174
- name: 'blockletVersion',
193
+ }, smallScreen || componentDid ? null : {
194
+ label: t('common.createdBy'),
195
+ name: 'createdBy',
175
196
  options: {
176
- customBodyRender: value => {
177
- return value ? /*#__PURE__*/_jsx(Tag, {
178
- type: "success",
179
- children: value
180
- }) : '';
197
+ customBodyRender: did => {
198
+ return /*#__PURE__*/_jsx(DidAddress, {
199
+ onClick: () => {
200
+ navigate(`/.well-known/service/admin/members?did=${did}`);
201
+ },
202
+ style: {
203
+ cursor: 'pointer'
204
+ },
205
+ size: 14,
206
+ compact: true,
207
+ copyable: false,
208
+ showQrcode: false,
209
+ responsive: false,
210
+ did: did
211
+ });
181
212
  }
182
213
  }
183
- }, componentDid ? null : {
214
+ }, smallScreen || componentDid ? null : {
184
215
  label: t('common.scope'),
185
216
  name: 'componentDid',
186
217
  options: {
@@ -209,7 +240,7 @@ export default function ProjectList({
209
240
  }, value);
210
241
  }
211
242
  }
212
- }, tenantScope ? null : {
243
+ }, smallScreen || tenantScope ? null : {
213
244
  label: t('blocklet.publish.tenantScope'),
214
245
  name: 'tenantScope',
215
246
  options: {
@@ -25,6 +25,7 @@ import { useBlockletContext } from '../../contexts/blocklet';
25
25
  import { useNodeContext } from '../../contexts/node';
26
26
  import EmptySpinner from '../../empty-spinner';
27
27
  import Confirm from '../../confirm';
28
+ import BlockletCard from './blocklet-card';
28
29
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
29
30
  export default function ReleaseList() {
30
31
  const {
@@ -156,7 +157,7 @@ export default function ReleaseList() {
156
157
  },
157
158
  children: t('blocklet.publish.createReleaseTip')
158
159
  }), /*#__PURE__*/_jsx(Link, {
159
- to: "create",
160
+ to: "create/none",
160
161
  children: /*#__PURE__*/_jsx(Button, {
161
162
  variant: "contained",
162
163
  children: t('blocklet.publish.createRelease')
@@ -168,12 +169,19 @@ export default function ReleaseList() {
168
169
  const columns = [{
169
170
  label: t('common.version'),
170
171
  name: 'blockletVersion',
172
+ minWidth: 160,
171
173
  options: {
172
174
  customBodyRenderLite: rawIndex => {
173
175
  const release = releases[rawIndex];
174
176
  return /*#__PURE__*/_jsx(Link, {
175
177
  to: `view/${release.id}`,
176
- children: release.blockletVersion || '/'
178
+ children: /*#__PURE__*/_jsx(BlockletCard, {
179
+ did: blocklet.meta.did,
180
+ projectId: project.id,
181
+ logo: release.blockletLogo,
182
+ title: release.blockletVersion,
183
+ describe: release.blockletTitle
184
+ })
177
185
  });
178
186
  }
179
187
  }
@@ -334,7 +342,6 @@ export default function ReleaseList() {
334
342
  })]
335
343
  });
336
344
  }
337
- ReleaseList.propTypes = {};
338
345
  const Main = styled(Box)`
339
346
  .header {
340
347
  display: flex;
package/lib/locales/ar.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'إنشاء مورد',
667
667
  addResource: 'أضف الإصدار',
668
668
  productTitle: 'منتج',
669
- versionTitle: 'نسخة',
669
+ versionTitle: 'تخطيط الإصدار',
670
670
  imgTitle: 'الصور',
671
671
  resourceTitle: 'موارد',
672
672
  blockletEmptyTip: 'لا توجد أي كتل هنا',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'إذا كنت ترغب في رؤية المزيد من النصائح، يرجى زيارة',
705
705
  installResourceHelp: 'وثيقة المساعدة',
706
706
  componentIncluded: 'مدرج',
707
- componentForceRequired: 'مجبر مطلوب',
707
+ componentForceRequired: 'مطلوب',
708
708
  download: 'تحميل {name}',
709
709
  delete: 'احذف {name}',
710
710
  copyInstallUrl: 'انسخ عنوان URL للتثبيت',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'لا يعمل بلوكلتس، يرجى تشغيله أولاً',
733
733
  resourceEmptyTip: 'لا توجد موارد متاحة',
734
734
  information: 'معلومات',
735
- newVersionTitle: 'نسخة جديدة',
736
735
  steps: {
737
736
  information: 'صف البيانات الأساسية لحاجزك. سيتم تقديم هذه المعلومات للمستخدمين في المتجر.',
738
737
  resources: 'الرجاء تحديد الموارد التي يجب ربطها معالبلوكليت الحالي ، حيث ستتم تثبيت هذه الموارد جنباً إلى جنب مع البلوكليت.',
739
738
  blocklets: 'حدد العناصر النمطية لتكون مرتبطة.',
740
- version: 'ضع رقم إصدار النسخة والملاحظة.',
739
+ version: 'تعيين نسخة الإصدار وسجل التغييرات.',
741
740
  introduction: 'يمكن أن يسلط مقدمة واضحة الضوء بشكل فعال على Blocklet الخاص بك. يمكنك استخدام بناء Markdown لكتابته ومعاينته.',
742
741
  branding: 'صف معلوماتك الأساسية للبلوكليت الخاص بك. ستُعرض هذه المعلومات للمستخدمين في المتجر.'
743
742
  },
package/lib/locales/de.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'Erstellen Sie Ressource',
667
667
  addResource: 'Veröffentlichung hinzufügen',
668
668
  productTitle: 'Produkt',
669
- versionTitle: 'Version',
669
+ versionTitle: 'Versionierung',
670
670
  imgTitle: 'Bilder',
671
671
  resourceTitle: 'Ressourcen',
672
672
  blockletEmptyTip: 'Es gibt hier keine Blocklets',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'Wenn du mehr Tipps sehen möchtest, besuche bitte',
705
705
  installResourceHelp: 'Hilfe-Dokument',
706
706
  componentIncluded: 'Eingeschlossen',
707
- componentForceRequired: 'Erzwungen Erforderlich',
707
+ componentForceRequired: 'Erforderlich',
708
708
  download: 'Download {name}',
709
709
  delete: 'Lösche {name}',
710
710
  copyInstallUrl: 'Kopiere Installations-URL',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'Blocklets läuft nicht, bitte starten Sie es zuerst',
733
733
  resourceEmptyTip: 'Keine verfügbaren Ressourcen',
734
734
  information: 'Information',
735
- newVersionTitle: 'Neue Version',
736
735
  steps: {
737
736
  information: 'Beschreiben Sie die Grundinformationen Ihrer Blocklet. Diese Informationen werden den Benutzern im Shop präsentiert werden.',
738
737
  resources: 'Bitte wählen Sie die Ressourcen aus, die mit dem aktuellen Blocklet verbunden werden sollen, da diese Ressourcen zusammen mit dem Blocklet installiert werden sollen.',
739
738
  blocklets: 'Wählen Sie die zu verknüpfenden Blocklets aus.',
740
- version: 'Setze die Versionsnummer der Veröffentlichung und die Notiz.',
739
+ version: 'Setzen Sie die Versionsnummer und das Änderungsprotokoll.',
741
740
  introduction: 'Eine klare Einführung kann Ihren Blocklet effektiv hervorheben. Sie können Markdown-Syntax verwenden, um es zu schreiben und eine Vorschau anzuzeigen.',
742
741
  branding: 'Beschreiben Sie die grundlegenden Informationen Ihres Blocklets. Diese Informationen werden den Benutzern im Store angezeigt.'
743
742
  },
package/lib/locales/en.js CHANGED
@@ -666,8 +666,7 @@ export default {
666
666
  tenantScope: 'Tenant',
667
667
  addResource: 'Add Blocklet',
668
668
  productTitle: 'Product',
669
- versionTitle: 'Version',
670
- newVersionTitle: 'New version',
669
+ versionTitle: 'Versioning',
671
670
  imgTitle: 'Images',
672
671
  resourceTitle: 'Resources',
673
672
  blockletEmptyTip: 'There aren’t any blocklets here',
@@ -695,13 +694,13 @@ export default {
695
694
  installResourceTip2: 'If you want to see more tips, please visit',
696
695
  installResourceHelp: 'Help Document',
697
696
  componentIncluded: 'Included',
698
- componentForceRequired: 'Forced Required',
697
+ componentForceRequired: 'Required',
699
698
  steps: {
700
699
  branding: 'Describe the basic information of your Blocklet. This information will be presented to users in the store.',
701
700
  introduction: 'A clear introduction can effectively highlight your Blocklet. You can use Markdown syntax to write and preview it.',
702
701
  resources: 'Please select the resources that need to be associated with the current Blocklet, as these resources will be installed along with the Blocklet.',
703
702
  blocklets: 'Please select the Blocklets that need to be associated and installed when installing the current Blocklet.',
704
- version: 'Set the release version number and the note.'
703
+ version: 'Set the release version and the change log.'
705
704
  },
706
705
  connect: {
707
706
  title: 'Create Blocklet DID',
package/lib/locales/es.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'Crear Recurso',
667
667
  addResource: 'Agregar lanzamiento',
668
668
  productTitle: 'Producto',
669
- versionTitle: 'Versión',
669
+ versionTitle: 'Versionando',
670
670
  imgTitle: 'Imágenes',
671
671
  resourceTitle: 'Recursos',
672
672
  blockletEmptyTip: 'Aquí no hay bloqueadores',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'Si desea ver más consejos, visite {name}',
705
705
  installResourceHelp: 'Ayuda Documento',
706
706
  componentIncluded: 'Incluido',
707
- componentForceRequired: 'Obligatorio Requerido',
707
+ componentForceRequired: 'Requerido',
708
708
  download: 'Descargar {name}',
709
709
  delete: 'Eliminar {name}',
710
710
  copyInstallUrl: 'Copiar URL de instalación',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'Blocklets no está ejecutándose, por favor inícialo primero',
733
733
  resourceEmptyTip: 'No hay recursos disponibles',
734
734
  information: 'Información',
735
- newVersionTitle: 'Nueva versión',
736
735
  steps: {
737
736
  information: 'Describe la información básica de tu Bloque de Construcción. Esta información se presentará a los usuarios en la tienda.',
738
737
  resources: 'Por favor selecciona los recursos que necesitan ser asociados con el Blocklet actual, ya que estos recursos se instalarán junto con el Blocklet.',
739
738
  blocklets: 'Selecciona los blocklets a asociar.',
740
- version: 'Establezca el número de versión de lanzamiento y la nota.',
739
+ version: 'Establecer la versión de lanzamiento y el registro de cambios.',
741
740
  introduction: 'Una introducción clara puede resaltar eficazmente tu Blocklet. Puedes usar la sintaxis de Markdown para escribir y previsualizarlo.',
742
741
  branding: 'Describe la información básica de tu Blocklet. Esta información se presentará a los usuarios en la tienda.'
743
742
  },
package/lib/locales/fr.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'Créer une ressource',
667
667
  addResource: 'Ajouter une publication',
668
668
  productTitle: 'Produit',
669
- versionTitle: 'Version',
669
+ versionTitle: 'Versionnage',
670
670
  imgTitle: 'Images',
671
671
  resourceTitle: 'Ressources',
672
672
  blockletEmptyTip: "Il n'y a pas de blocs ici",
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'Si vous souhaitez voir plus de conseils, veuillez visiter',
705
705
  installResourceHelp: "Document d'aide",
706
706
  componentIncluded: 'Inclus',
707
- componentForceRequired: 'Forcé Requis',
707
+ componentForceRequired: 'Requis',
708
708
  download: 'Télécharger {name}',
709
709
  delete: 'Supprimez {name}',
710
710
  copyInstallUrl: "Copier l'URL d'installation",
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: "Blocklets ne fonctionne pas, veuillez le démarrer d'abord",
733
733
  resourceEmptyTip: 'Aucune ressource disponible',
734
734
  information: 'Information',
735
- newVersionTitle: 'Nouvelle version',
736
735
  steps: {
737
736
  information: 'Décrivez les informations de base de votre bloc. Ces informations seront présentées aux utilisateurs dans le magasin.',
738
737
  resources: 'Veuillez sélectionner les ressources qui doivent être associées à le Blocklet actuel, car ces ressources seront installées avec le Blocklet.',
739
738
  blocklets: 'Sélectionnez les bloclets à associer.',
740
- version: 'Définissez le numéro de version de la publication et la note.',
739
+ version: 'Définir la version de sortie et le journal des modifications.',
741
740
  introduction: "Une introduction claire peut mettre en valeur efficacement votre Blocklet. Vous pouvez utiliser la syntaxe Markdown pour l'écrire et le prévisualiser.",
742
741
  branding: 'Décrivez les informations de base de votre Blocklet. Ces informations seront présentées aux utilisateurs dans le magasin.'
743
742
  },
package/lib/locales/hi.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'स्रोत बनाएँ',
667
667
  addResource: 'रिलीज़ जोड़ें',
668
668
  productTitle: 'उत्पाद',
669
- versionTitle: 'संस्करण',
669
+ versionTitle: 'संस्करणांकन',
670
670
  imgTitle: 'तस्वीरें',
671
671
  resourceTitle: 'संसाधन',
672
672
  blockletEmptyTip: 'यहाँ कोई ब्लॉकलेट नहीं हैं',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'अगर आप और टिप्स देखना चाहते हैं, कृपया यहाँ जाएं',
705
705
  installResourceHelp: 'सहायता दस्तावेज़',
706
706
  componentIncluded: 'शामिल',
707
- componentForceRequired: 'मजबूरी आवश्यक',
707
+ componentForceRequired: 'आवश्यक',
708
708
  download: 'डाउनलोड {name}',
709
709
  delete: '{नाम} को हटाएं',
710
710
  copyInstallUrl: 'संपादित स्थापित URL की प्रतिलिपि',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'ब्लॉकलेट्स चल नहीं रहा है, कृपया पहले इसे शुरू करें',
733
733
  resourceEmptyTip: 'कोई उपलब्ध संसाधन नहीं',
734
734
  information: 'जानकारी',
735
- newVersionTitle: 'नया संस्करण',
736
735
  steps: {
737
736
  information: 'अपने ब्लॉकलेट की मूलभूत जानकारी वर्णित करें। यह जानकारी स्टोर में उपयोगकर्ताओं को प्रस्तुत की जाएगी।',
738
737
  resources: 'कृपया चुनें कि वर्तमान ब्लॉकलेट के साथ संबद्ध करने वाले संसाधनों का चयन करें, क्योंकि इन संसाधनों को ब्लॉकलेट के साथ स्थापित किया जाएगा।',
739
738
  blocklets: 'संबद्ध किए जाने वाले ब्लॉकलेट का चयन करें।',
740
- version: 'रिलीज़ संस्करण नंबर और नोट सेट करें।',
739
+ version: 'रिलीज़ संस्करण और परिवर्तन लेख सेट करें।',
741
740
  introduction: 'एक स्पष्ट परिचय आपके ब्लॉकलेट को प्रभावी रूप से हाइलाइट कर सकता है। आप मार्कडाउन सिंटेक्स का उपयोग करके इसे लिखें और पूर्वावलोकन करें सकते हैं।',
742
741
  branding: 'अपने ब्लॉकलेट की मूलभूत जानकारी वर्णित करें। यह जानकारी स्टोर में उपयोगकर्ताओं को प्रस्तुत की जाएगी।'
743
742
  },
Binary file
package/lib/locales/id.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'Buat Sumber Daya',
667
667
  addResource: 'Tambahkan Rilis',
668
668
  productTitle: 'Produk',
669
- versionTitle: 'Versi',
669
+ versionTitle: 'Pembaruan versi',
670
670
  imgTitle: 'Gambar',
671
671
  resourceTitle: 'Sumber daya',
672
672
  blockletEmptyTip: 'Tidak ada blok di sini',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'Jika Anda ingin melihat lebih banyak tips, silakan kunjungi',
705
705
  installResourceHelp: 'Dokumen Bantuan',
706
706
  componentIncluded: 'Termasuk',
707
- componentForceRequired: 'Dipaksa Diperlukan',
707
+ componentForceRequired: 'Diperlukan',
708
708
  download: 'Unduh {name}',
709
709
  delete: 'Hapus {name}',
710
710
  copyInstallUrl: 'Salin URL Instalasi',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'Blocklets tidak sedang berjalan, harap mulai terlebih dahulu',
733
733
  resourceEmptyTip: 'Tidak ada sumber daya yang tersedia',
734
734
  information: 'Informasi',
735
- newVersionTitle: 'Versi baru',
736
735
  steps: {
737
736
  information: 'Jelaskan informasi dasar dari Blocklet Anda. Informasi ini akan disajikan kepada pengguna di toko.',
738
737
  resources: 'Silakan pilih sumber daya yang perlu dikaitkan dengan Blocklet saat ini, karena sumber daya ini akan diinstal bersama dengan Blocklet.',
739
738
  blocklets: 'Pilih blocklet yang ingin dikaitkan.',
740
- version: 'Tetapkan nomor versi rilis dan catatan.',
739
+ version: 'Atur versi rilis dan catatan perubahan.',
741
740
  introduction: 'Pengenalan yang jelas dapat efektif dalam menyoroti Blocklet Anda. Anda dapat menggunakan sintaks Markdown untuk menulis dan melihat pratinjau.',
742
741
  branding: 'Deskripsikan informasi dasar tentang Blocklet Anda. Informasi ini akan ditampilkan kepada pengguna di toko.'
743
742
  },
package/lib/locales/ja.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'リソースを作成する',
667
667
  addResource: 'リリースの追加',
668
668
  productTitle: '製品',
669
- versionTitle: 'バージョン',
669
+ versionTitle: 'バージョン管理',
670
670
  imgTitle: '画像',
671
671
  resourceTitle: 'リソース',
672
672
  blockletEmptyTip: 'ここにはブロック要素はありません',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'さらなるヒントを見たい場合は、{name} をご覧ください',
705
705
  installResourceHelp: 'ヘルプドキュメント',
706
706
  componentIncluded: '含まれています',
707
- componentForceRequired: '強制必要',
707
+ componentForceRequired: '必要です',
708
708
  download: 'ダウンロード {name}',
709
709
  delete: '削除 {name}',
710
710
  copyInstallUrl: 'インストールURLをコピーする',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'Blockletsは動作していません、まず起動してください',
733
733
  resourceEmptyTip: '利用可能なリソースはありません',
734
734
  information: '情報',
735
- newVersionTitle: '新バージョン',
736
735
  steps: {
737
736
  information: 'Blocklet の基本情報を説明してください。この情報はストアでユーザーに表示されます。',
738
737
  resources: '現在の Blocklet と関連付ける必要があるリソースを選択してください。これらのリソースは、Blocklet と共にインストールされます。',
739
738
  blocklets: '関連付けるブロックレットを選択してください。',
740
- version: 'リリースバージョン番号とノートを設定してください。',
739
+ version: 'リリースバージョンと変更履歴を設定してください。',
741
740
  introduction: '明確な紹介はあなたのBlockletを効果的に強調することができます。Markdownの構文を使用して書き、プレビューすることができます。',
742
741
  branding: 'ブロックレットの基本情報を説明してください。この情報はストアのユーザーに表示されます。'
743
742
  },
package/lib/locales/ko.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: '리소스 생성하기',
667
667
  addResource: '릴리즈 추가',
668
668
  productTitle: '제품',
669
- versionTitle: '버전',
669
+ versionTitle: '버전 관리',
670
670
  imgTitle: '사진',
671
671
  resourceTitle: '자원',
672
672
  blockletEmptyTip: '여기에는 블록 요소가 없습니다',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: '추가 팁을 보려면 {name}을(를) 방문하세요',
705
705
  installResourceHelp: '도움말 문서',
706
706
  componentIncluded: '포함됨',
707
- componentForceRequired: '강제 필수',
707
+ componentForceRequired: '필수',
708
708
  download: '{name} 다운로드하기',
709
709
  delete: '{name} 삭제',
710
710
  copyInstallUrl: '설치 URL 복사하기',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'Blocklets가 실행되고 있지 않습니다. 먼저 시작해주세요.',
733
733
  resourceEmptyTip: '사용 가능한 자원이 없습니다',
734
734
  information: '정보',
735
- newVersionTitle: '새로운 버전',
736
735
  steps: {
737
736
  information: '블록릿의 기본 정보를 설명하세요. 이 정보는 스토어에서 사용자에게 제공됩니다.',
738
737
  resources: '현재 Blocklet과 관련된 리소스를 선택해주세요. 이 리소스들은 Blocklet과 함께 설치될 것입니다.',
739
738
  blocklets: '관련된 블록렛을 선택하세요.',
740
- version: '릴리스 버전 번호와 노트를 설정하세요.',
739
+ version: '릴리스 버전과 변경 로그를 설정하세요.',
741
740
  introduction: '명확한 소개는 당신의 블록릿을 효과적으로 강조할 수 있습니다. 마크다운 구문을 사용하여 작성하고 미리 보기할 수 있습니다.',
742
741
  branding: 'Blocklet의 기본 정보를 설명하세요. 이 정보는 상점에 사용자에게 제공됩니다.'
743
742
  },
package/lib/locales/pt.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'Criar Recurso',
667
667
  addResource: 'Adicionar Lançamento',
668
668
  productTitle: 'Produto',
669
- versionTitle: 'Versão',
669
+ versionTitle: 'Versionamento',
670
670
  imgTitle: 'Imagens',
671
671
  resourceTitle: 'Recursos',
672
672
  blockletEmptyTip: 'Aqui não existem blocos',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'Se você deseja ver mais dicas, por favor visite',
705
705
  installResourceHelp: 'Documento de ajuda',
706
706
  componentIncluded: 'Incluído',
707
- componentForceRequired: 'Forçado Obrigatório',
707
+ componentForceRequired: 'Requerido',
708
708
  download: 'Baixe {name}',
709
709
  delete: 'Excluir {name}',
710
710
  copyInstallUrl: 'Copiar URL de instalação',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'O Blocklets não está em execução, por favor, inicie-o primeiro',
733
733
  resourceEmptyTip: 'Não há recursos disponíveis',
734
734
  information: 'Informação',
735
- newVersionTitle: 'Nova versão',
736
735
  steps: {
737
736
  information: 'Descreva as informações básicas do seu Blocklet. Essas informações serão apresentadas aos usuários na loja.',
738
737
  resources: 'Por favor, selecione os recursos que precisam ser associados ao Blocklet atual, pois esses recursos serão instalados juntamente com o Blocklet.',
739
738
  blocklets: 'Selecione os blocos a serem associados.',
740
- version: 'Defina o número da versão de lançamento e a nota.',
739
+ version: 'Defina a versão de lançamento e o log de alterações.',
741
740
  introduction: 'Uma introdução clara pode destacar efetivamente o seu Blocklet. Você pode usar a sintaxe Markdown para escrevê-lo e visualizá-lo.',
742
741
  branding: 'Descreva as informações básicas do seu Blocklet. Essas informações serão apresentadas aos usuários na loja.'
743
742
  },
package/lib/locales/ru.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'Создать ресурс',
667
667
  addResource: 'Добавить релиз',
668
668
  productTitle: 'Продукт',
669
- versionTitle: 'Версия',
669
+ versionTitle: 'Версионирование',
670
670
  imgTitle: 'Изображения',
671
671
  resourceTitle: 'Ресурсы',
672
672
  blockletEmptyTip: 'Здесь нет никаких блоклетов',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'Если вы хотите узнать больше советов, пожалуйста, посетите',
705
705
  installResourceHelp: 'Документация помощи',
706
706
  componentIncluded: 'Включено',
707
- componentForceRequired: 'Принудительно Требуется',
707
+ componentForceRequired: 'Обязательный',
708
708
  download: 'Скачать {name}',
709
709
  delete: 'Удалить {name}',
710
710
  copyInstallUrl: 'Скопируйте URL для установки',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'Blocklets не запускается, пожалуйста, сначала запустите его',
733
733
  resourceEmptyTip: 'Нет доступных ресурсов',
734
734
  information: 'Информация',
735
- newVersionTitle: 'Новая версия',
736
735
  steps: {
737
736
  information: 'Опишите основную информацию о вашем Блоклете. Эта информация будет представлена пользователям в магазине.',
738
737
  resources: 'Пожалуйста, выберите ресурсы, которые необходимо связать с текущим блоклетом, поскольку эти ресурсы будут установлены вместе с блоклетом.',
739
738
  blocklets: 'Выберите блоклеты, которые будут связаны.',
740
- version: 'Установите номер версии выпуска и примечание.',
739
+ version: 'Установите версию выпуска и журнал изменений.',
741
740
  introduction: 'Четкое введение может эффективно подчеркнуть ваш Blocklet. Можно использовать синтаксис Markdown для написания и предварительного просмотра.',
742
741
  branding: 'Опишите основную информацию о вашем блоклете. Эта информация будет представлена пользователям в магазине.'
743
742
  },
package/lib/locales/th.js CHANGED
@@ -666,7 +666,7 @@ export default {
666
666
  createResource: 'สร้างทรัพยากร',
667
667
  addResource: 'เพิ่มการเผยแพร่',
668
668
  productTitle: 'ผลิตภัณฑ์',
669
- versionTitle: 'เวอร์ชัน',
669
+ versionTitle: 'การเปลี่ยนเวอร์ชัน',
670
670
  imgTitle: 'ภาพ',
671
671
  resourceTitle: 'ทรัพยากร',
672
672
  blockletEmptyTip: 'ไม่มีบล็อกเลตใดๆ ที่นี่',
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'หากคุณต้องการดูเคล็ดลับเพิ่มเติมโปรดเยือน',
705
705
  installResourceHelp: 'เอกสารช่วยเหลือ',
706
706
  componentIncluded: 'รวมอยู่ใน',
707
- componentForceRequired: 'บังคับต้องการ',
707
+ componentForceRequired: 'จำเป็น',
708
708
  download: 'ดาวน์โหลด {name}',
709
709
  delete: 'ลบ {name}',
710
710
  copyInstallUrl: 'คัดลอก URL การติดตั้ง',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'Blocklets ไม่ได้ทำงาน โปรดเริ่มต้นใช้งานก่อน',
733
733
  resourceEmptyTip: 'ไม่มีทรัพยากรที่ใช้ได้',
734
734
  information: 'ข้อมูล',
735
- newVersionTitle: 'เวอร์ชันใหม่',
736
735
  steps: {
737
736
  information: 'อธิบายข้อมูลพื้นฐานของ Blocklet ของคุณ ข้อมูลเหล่านี้จะถูกนำเสนอให้ผู้ใช้ในร้านค้า',
738
737
  resources: 'โปรดเลือกทรัพยากรที่ต้องการเชื่อมโยงกับ Blocklet ปัจจุบัน เนื่องจากทรัพยากรเหล่านี้จะถูกติดตั้งพร้อมกับ Blocklet.',
739
738
  blocklets: 'เลือกบล็อกเล็ตที่ต้องการเชื่อมโยง',
740
- version: 'ตั้งค่าหมายเลขเวอร์ชันเปิดตัวและบันทึก',
739
+ version: 'ตั้งค่าเวอร์ชันการเปิดตัวและบันทึกการเปลี่ยนแปลง',
741
740
  introduction: 'การแนะนำที่ชัดเจนสามารถเน้นความสำคัญของ Blocklet ของคุณได้อย่างมีประสิทธิภาพ คุณสามารถใช้ไวยากรณ์ Markdown เพื่อเขียนและดูตัวอย่างได้',
742
741
  branding: 'อธิบายข้อมูลพื้นฐานของ Blocklet ของคุณ ข้อมูลเหล่านี้จะถูกนำเสนอให้ผู้ใช้ในร้านค้า'
743
742
  },
package/lib/locales/vi.js CHANGED
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: 'Nếu bạn muốn xem thêm những mẹo khác, vui lòng truy cập',
705
705
  installResourceHelp: 'Tài liệu giúp đỡ',
706
706
  componentIncluded: 'Bao gồm',
707
- componentForceRequired: 'Bắt Buộc Yêu Cầu',
707
+ componentForceRequired: 'Yêu cầu',
708
708
  download: 'Tải về {name}',
709
709
  delete: 'Xóa {name}',
710
710
  copyInstallUrl: 'Sao chép URL cài đặt',
@@ -732,12 +732,11 @@ export default {
732
732
  allComponentsNotRunning: 'Blocklets không đang chạy, vui lòng khởi động nó trước',
733
733
  resourceEmptyTip: 'Không có tài nguyên khả dụng',
734
734
  information: 'Thông tin',
735
- newVersionTitle: 'Phiên bản mới',
736
735
  steps: {
737
736
  information: 'Mô tả thông tin cơ bản về Blocklet của bạn. Thông tin này sẽ được hiển thị cho người dùng trong cửa hàng.',
738
737
  resources: 'Vui lòng chọn các tài nguyên cần được liên kết với Blocklet hiện tại, vì các tài nguyên này sẽ được cài đặt cùng với Blocklet.',
739
738
  blocklets: 'Chọn các khối để kết hợp.',
740
- version: 'Đặt số phiên bản phát hành và ghi chú.',
739
+ version: 'Cài đặt phiên bản phát hành và nhật ký thay đổi.',
741
740
  introduction: 'Một phần giới thiệu rõ ràng có thể làm nổi bật hiệu quả Blocklet của bạn. Bạn có thể sử dụng cú pháp Markdown để viết và xem trước nó.',
742
741
  branding: 'Mô tả thông tin cơ bản về Blocklet của bạn. Thông tin này sẽ được trình bày cho người dùng trong cửa hàng.'
743
742
  },
@@ -704,7 +704,7 @@ export default {
704
704
  installResourceTip2: '如果您想查看更多提示,請訪問 {name}',
705
705
  installResourceHelp: '幫助文件',
706
706
  componentIncluded: '已包含',
707
- componentForceRequired: '強制要求',
707
+ componentForceRequired: '强依赖',
708
708
  download: '下載 {name}',
709
709
  delete: '刪除 {name}',
710
710
  copyInstallUrl: '複製安裝連結',
@@ -732,16 +732,15 @@ export default {
732
732
  allComponentsNotRunning: 'Blocklets未執行,請先啟動',
733
733
  resourceEmptyTip: '沒有可用的資源',
734
734
  information: '資訊',
735
- newVersionTitle: '新版本',
736
735
  steps: {
737
736
  information: '描述您的 Blocklet 的基本資訊。這些資訊將呈現給用戶在商店中。',
738
737
  resources: '請選擇需要與當前的 Blocklet 關聯的資源,因為這些資源將與 Blocklet 一起安裝。',
739
738
  blocklets: '請選擇要關聯的blocklets。',
740
- version: '設置發佈版本號和備註。',
739
+ version: '設置發布版本和更改日誌。',
741
740
  introduction: '清晰的介紹可以有效地突出你的Blocklet。你可以使用Markdown語法來編寫和預覽。',
742
741
  branding: '描述您的 Blocklet 的基本資訊。此資訊將呈現給商店使用者。'
743
742
  },
744
- branding: '品牌行銷',
743
+ branding: '品牌',
745
744
  brandingHelp: '將在商店中顯示有關區塊的更多信息'
746
745
  },
747
746
  titleValidationError: '標題長度必須至少為3到40個字符',
package/lib/locales/zh.js CHANGED
@@ -670,7 +670,7 @@ export default {
670
670
  createResource: '创建资源',
671
671
  addResource: '添加 Blocklet',
672
672
  productTitle: 'Blocklet 详情',
673
- versionTitle: '版本信息',
673
+ versionTitle: '版本',
674
674
  imgTitle: '图片资源',
675
675
  resourceTitle: '资源',
676
676
  blockletEmptyTip: '这里没有任何 Blocklet',
@@ -735,16 +735,15 @@ export default {
735
735
  tenantScope: '租户',
736
736
  blockletStudio: 'Blocklet Studio',
737
737
  allComponentsNotRunning: 'Blocklets未运行,请先启动',
738
- newVersionTitle: '新版本',
739
738
  steps: {
740
739
  information: '描述您的 Blocklet 的基本信息。这些信息将在 Store 中呈现给。',
741
740
  resources: '请选择需要与当前的 Blocklet 关联的资源,这些资源将与 Blocklet 一起安装。',
742
741
  blocklets: '请选择当前 Blocklet 安装时, 需要关联安装的 Blocklets。',
743
- version: '设置发布版本号和备注。',
742
+ version: '设置发布版本和更改日志。',
744
743
  introduction: '清晰的介绍可以有效地突出你的Blocklet。你可以使用Markdown语法来编写和预览。',
745
744
  branding: '描述您的区块链应用的基本信息。此信息将在商店向用户展示。'
746
745
  },
747
- branding: '品牌营销',
746
+ branding: '品牌',
748
747
  brandingHelp: '将在商店中显示有关区块链的更多信息'
749
748
  },
750
749
  titleValidationError: '标题长度必须至少为3到40个字符',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.27-beta-d27e19fa",
3
+ "version": "1.16.27-beta-8f022f16",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -26,9 +26,9 @@
26
26
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@abtnode/auth": "1.16.27-beta-d27e19fa",
30
- "@abtnode/constant": "1.16.27-beta-d27e19fa",
31
- "@abtnode/util": "1.16.27-beta-d27e19fa",
29
+ "@abtnode/auth": "1.16.27-beta-8f022f16",
30
+ "@abtnode/constant": "1.16.27-beta-8f022f16",
31
+ "@abtnode/util": "1.16.27-beta-8f022f16",
32
32
  "@ahooksjs/use-url-state": "^3.5.1",
33
33
  "@arcblock/did": "^1.18.123",
34
34
  "@arcblock/did-connect": "^2.9.90",
@@ -38,10 +38,10 @@
38
38
  "@arcblock/react-hooks": "^2.9.90",
39
39
  "@arcblock/terminal": "^2.9.90",
40
40
  "@arcblock/ux": "^2.9.90",
41
- "@blocklet/constant": "1.16.27-beta-d27e19fa",
41
+ "@blocklet/constant": "1.16.27-beta-8f022f16",
42
42
  "@blocklet/launcher-layout": "2.3.21",
43
43
  "@blocklet/list": "^0.12.111",
44
- "@blocklet/meta": "1.16.27-beta-d27e19fa",
44
+ "@blocklet/meta": "1.16.27-beta-8f022f16",
45
45
  "@blocklet/ui-react": "^2.9.90",
46
46
  "@blocklet/uploader": "^0.1.6",
47
47
  "@emotion/react": "^11.10.4",
@@ -109,5 +109,5 @@
109
109
  "jest": "^29.7.0",
110
110
  "jest-environment-jsdom": "^29.7.0"
111
111
  },
112
- "gitHead": "7a83c248c1e5738e6d95e54fc26699f865479dab"
112
+ "gitHead": "8889fa58ff4cc85b60cd999126341a4a8d0ae9d4"
113
113
  }