@abtnode/ux 1.16.26-beta-63f52a83 → 1.16.26

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.
@@ -257,7 +257,7 @@ export default function BlockletComponent({
257
257
  className: "title",
258
258
  display: "flex",
259
259
  alignItems: "center",
260
- children: [t('common.components'), !needMigration && /*#__PURE__*/_jsx(Permission, {
260
+ children: [components?.length ? `${t('common.components')} (${components.length})` : `${t('common.components')}`, !needMigration && /*#__PURE__*/_jsx(Permission, {
261
261
  permission: inService ? '' : 'mutate_blocklets',
262
262
  role: inService ? BlockletAdminRoles : [],
263
263
  children: /*#__PURE__*/_jsx(AutoCheckUpdate, {
@@ -276,6 +276,7 @@ export default function BlockletComponent({
276
276
  },
277
277
  "data-cy": "check-for-updates",
278
278
  children: [/*#__PURE__*/_jsx(Box, {
279
+ ml: 0.5,
279
280
  mr: 0.5,
280
281
  display: "flex",
281
282
  children: loading ? /*#__PURE__*/_jsx(Spinner, {
package/es/locales/ar.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'صفحة الترحيب'
821
821
  },
822
822
  upgrade: {
823
- title: 'ترقية خادم البلوكليت',
823
+ title: 'ترقية خادم بلوكليت إلى {version}',
824
824
  description: 'خلال الترقية، سيدخل خادم Blocklet الخاص بك في وضع الصيانة لبضع دقائق أثناء إكمال التحديث.',
825
825
  dialog: "انقر فوق 'تأكيد' لتثبيت التحديث. سيدخل خادم Blocklet في وضع الصيانة حتى يتم الانتهاء من التحديث والعودة تلقائيًا إلى وضع الإنتاج.",
826
826
  confirm: 'تطوير',
package/es/locales/de.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'Willkommen Seite'
821
821
  },
822
822
  upgrade: {
823
- title: 'Blocklet-Server aktualisieren',
823
+ title: 'Upgrade Blocklet Server auf {version}',
824
824
  description: 'Während des Upgrades wird Ihr Blocklet Server für einige Minuten in den Wartungsmodus wechseln, während das Update abgeschlossen wird.',
825
825
  dialog: "Klicken Sie auf 'Bestätigen', um das Update zu installieren. Der Blocklet Server wird in den Wartungsmodus wechseln, bis das Update abgeschlossen ist, und kehrt automatisch in den Produktionsmodus zurück.",
826
826
  confirm: 'Upgrade',
package/es/locales/en.js CHANGED
@@ -811,7 +811,7 @@ export default {
811
811
  switchLabel: 'Welcome Page'
812
812
  },
813
813
  upgrade: {
814
- title: 'Upgrade Blocklet Server',
814
+ title: 'Upgrade Blocklet Server to {version}',
815
815
  description: 'During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.',
816
816
  dialog: 'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',
817
817
  confirm: 'Upgrade',
package/es/locales/es.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'Página de bienvenida'
821
821
  },
822
822
  upgrade: {
823
- title: 'Mejorar el servidor de Blocklet',
823
+ title: 'Actualiza el servidor de Blocklet a {version}',
824
824
  description: 'Durante la actualización, tu servidor de Blocklet entrará en modo de mantenimiento durante unos minutos mientras se completa la actualización.',
825
825
  dialog: 'Haz clic en "confirmar" para instalar la actualización. El servidor Blocklet entrará en modo de mantenimiento hasta que la actualización se complete y volverá automáticamente al modo de producción.',
826
826
  confirm: 'Mejora',
package/es/locales/fr.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: "Page d'accueil"
821
821
  },
822
822
  upgrade: {
823
- title: 'Mettre à niveau le serveur Blocklet',
823
+ title: 'Mettez à jour le serveur Blocklet vers {version}',
824
824
  description: 'Pendant la mise à niveau, votre serveur Blocklet entrera en mode maintenance pendant quelques minutes le temps de la mise à jour.',
825
825
  dialog: "Cliquez sur 'Confirmer' pour installer la mise à jour. Le serveur Blocklet entrera en mode de maintenance jusqu'à ce que la mise à jour soit terminée et reviendra automatiquement en mode production.",
826
826
  confirm: 'Mise à niveau',
package/es/locales/hi.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'स्वागत पेज'
821
821
  },
822
822
  upgrade: {
823
- title: 'ब्लॉक्लेट सर्वर को अपग्रेड करें',
823
+ title: '{version} पर Blocklet सर्वर को अपग्रेड करें',
824
824
  description: 'अपग्रेड के दौरान, अपडेट पूरा होने तक आपका ब्लॉकलेट सर्वर कुछ मिनटों के लिए रखरखाव मोड में जाएगा।',
825
825
  dialog: "अपडेट स्थापित करने के लिए 'पुष्टि' पर क्लिक करें। अपडेट पूरा होने तक ब्लॉकलेट सर्वर रखरखाव मोड में जाएगा और स्वचालित रूप से प्रोडक्शन मोड में वापस लौटेगा।",
826
826
  confirm: 'उन्नयन करें',
Binary file
package/es/locales/id.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'Halaman Selamat Datang'
821
821
  },
822
822
  upgrade: {
823
- title: 'Tingkatkan server Blocklet',
823
+ title: 'Tingkatkan Server Blocklet menjadi versi {version}',
824
824
  description: 'Selama peningkatan, server Blocklet Anda akan masuk ke mode perawatan selama beberapa menit saat pembaruan selesai.',
825
825
  dialog: 'Klik "konfirmasi" untuk menginstal pembaruan. Blocklet Server akan masuk ke mode pemeliharaan hingga pembaruan selesai dan secara otomatis kembali ke mode produksi.',
826
826
  confirm: 'Upgrade',
package/es/locales/ja.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'ようこそページ'
821
821
  },
822
822
  upgrade: {
823
- title: 'Blocklet サーバーをアップグレードする',
823
+ title: 'Blocklet サーバーを {version} にアップグレードしてください',
824
824
  description: 'アップグレード中に、Blocklet サーバーはアップデートが完了するまで数分間メンテナンスモードになります。',
825
825
  dialog: '"確認"をクリックしてアップデートをインストールしてください。アップデートが完了するまで、Blockletサーバーはメンテナンスモードに入り、自動的に製品モードに復帰します。',
826
826
  confirm: 'アップグレード',
package/es/locales/ko.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: '환영 페이지'
821
821
  },
822
822
  upgrade: {
823
- title: 'Blocklet 서버 업그레이드',
823
+ title: 'Blocklet 서버를 {version}로 업그레이드하세요',
824
824
  description: '업그레이드 중에는 Blocklet 서버가 업데이트가 완료될 동안 몇 분 동안 유지보수 모드로 전환됩니다.',
825
825
  dialog: '"확인"을 클릭하여 업데이트를 설치하십시오. 업데이트가 완료될 때까지 Blocklet 서버는 유지 보수 모드로 전환되며 자동으로 제품 모드로 돌아갑니다.',
826
826
  confirm: '업그레이드',
package/es/locales/pt.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'Página de Boas-vindas'
821
821
  },
822
822
  upgrade: {
823
- title: 'Atualize o servidor de Blocklet',
823
+ title: 'Atualize o Servidor Blocklet para a versão {version}',
824
824
  description: 'Durante a atualização, seu servidor Blocklet entrará no modo de manutenção por alguns minutos enquanto a atualização for concluída.',
825
825
  dialog: 'Clique em "confirmar" para instalar a atualização. O Blocklet Server entrará em modo de manutenção até que a atualização seja concluída e retornará ao modo de produção automaticamente.',
826
826
  confirm: 'Atualizar',
package/es/locales/ru.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'Главная страница'
821
821
  },
822
822
  upgrade: {
823
- title: 'Обновить сервер Blocklet',
823
+ title: 'Обновите сервер Blocklet до {version}',
824
824
  description: 'Во время обновления ваш сервер Blocklet перейдет в режим обслуживания на несколько минут до завершения обновления.',
825
825
  dialog: "Щелкните 'подтвердить', чтобы установить обновление. Сервер Blocklet перейдет в режим обслуживания до завершения обновления и автоматически вернется в режим производства.",
826
826
  confirm: 'Обновление',
package/es/locales/th.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'หน้าต้อนรับ'
821
821
  },
822
822
  upgrade: {
823
- title: 'อัพเกรดเซิร์ฟเวอร์ Blocklet',
823
+ title: 'อัปเกรดเซิร์ฟเวอร์ Blocklet เป็นเวอร์ชัน {version}',
824
824
  description: 'ระหว่างการอัปเกรด, เซิร์ฟเวอร์ Blocklet ของคุณจะเข้าสู่โหมดการบำรุงรักษาเป็นเวลาหลายนาทีในขณะที่การอับเดตเสร็จสิ้น',
825
825
  dialog: 'คลิกที่ "ยืนยัน" เพื่อติดตั้งการอัปเดต โปรแกรมบล็อกเล็ตเซิร์ฟเวอร์จะเข้าสู่โหมดการบำรุงรักษาจนกว่าการอัปเดตจะเสร็จสิ้นและกลับมาสู่โหมดการผลิตอัตโนมัติ',
826
826
  confirm: 'อัพเกรด',
package/es/locales/vi.js CHANGED
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: 'Trang Chào mừng'
821
821
  },
822
822
  upgrade: {
823
- title: 'Nâng cấp máy chủ Blocklet',
823
+ title: 'Nâng cấp Blocklet Server lên phiên bản {version}',
824
824
  description: 'Trong quá trình nâng cấp, máy chủ Blocklet của bạn sẽ vào chế độ bảo trì trong vài phút trong khi cập nhật hoàn tất.',
825
825
  dialog: 'Nhấp vào "xác nhận" để cài đặt bản cập nhật. Blocklet Server sẽ vào chế độ bảo trì cho đến khi cập nhật hoàn thành và tự động trở lại chế độ sản xuất.',
826
826
  confirm: 'Nâng cấp',
@@ -820,7 +820,7 @@ export default {
820
820
  switchLabel: '歡迎頁面'
821
821
  },
822
822
  upgrade: {
823
- title: '升級 Blocklet 伺服器',
823
+ title: '升級 Blocklet 伺服器到 {version}',
824
824
  description: '在升級期間,您的 Blocklet 伺服器將進入維護模式,更新完成後將持續幾分鐘。',
825
825
  dialog: '點擊"確認"安裝更新。Blocklet服務器將進入維護模式,直到更新完成並自動返回生產模式。',
826
826
  confirm: '升級',
package/es/locales/zh.js CHANGED
@@ -816,7 +816,7 @@ export default {
816
816
  nftDomainUrl: 'NFT Domain 地址',
817
817
  nftDomainUrlPlaceholder: '你可以选择其它的 NFT Domain 服务器, 也可以使用官方提供的版本',
818
818
  upgrade: {
819
- title: '升级 Blocklet 服务器',
819
+ title: '升级 Blocklet 服务器到 {version}',
820
820
  description: '在升级期间,节点将会进入维护模式几分钟。',
821
821
  dialog: '点击 “确认” 安装更新。节点将进入维护模式,直到更新完成并自动返回生产模式。',
822
822
  confirm: '升级',
@@ -19,6 +19,7 @@ import useBrowser from '@arcblock/react-hooks/lib/useBrowser';
19
19
  import { useCountDown, useReactive } from 'ahooks';
20
20
  import DidConnect from '@arcblock/did-connect/lib/Connect';
21
21
  import isFunction from 'lodash/isFunction';
22
+ import { useMediaQuery } from '@mui/material';
22
23
  import CardSelector from './card-selector';
23
24
  import DidAddress from './did-address';
24
25
  import wrapLocale from './wrap-locale';
@@ -74,6 +75,7 @@ function LostPassport({
74
75
  api,
75
76
  session
76
77
  } = useContext(SessionContext);
78
+ const isSmallMobile = useMediaQuery(theme => theme.breakpoints.down('sm'));
77
79
  const pageState = useReactive({
78
80
  user: null,
79
81
  passport: null,
@@ -216,14 +218,16 @@ function LostPassport({
216
218
  className: "did",
217
219
  mt: 1,
218
220
  children: /*#__PURE__*/_jsx(DidAddress, {
221
+ responsive: !isSmallMobile,
222
+ compact: isSmallMobile,
219
223
  did: pageState.user.did
220
224
  })
221
225
  })]
222
226
  })]
223
227
  }), /*#__PURE__*/_jsx("div", {
224
228
  children: /*#__PURE__*/_jsx(CardSelector, {
225
- width: 230,
226
- height: 306,
229
+ width: isSmallMobile ? 180 : 230,
230
+ height: isSmallMobile ? 240 : 306,
227
231
  cardSpace: 24,
228
232
  list: pageState.user.passportTypes.map(x => {
229
233
  return {
@@ -386,6 +390,10 @@ const Div = styled(Container)`
386
390
  display: flex;
387
391
  flex-direction: column;
388
392
 
393
+ @media (max-width: ${props => props.theme.breakpoints.values.sm}px) {
394
+ min-height: auto;
395
+ }
396
+
389
397
  .stepper-progress {
390
398
  padding: 0;
391
399
  flex: 0;
@@ -1,10 +1,29 @@
1
1
  import AccessTimeIcon from '@mui/icons-material/AccessTime';
2
+ import { Tooltip, useMediaQuery } from '@mui/material';
2
3
  import Box from '@mui/material/Box';
3
4
  import PropTypes from 'prop-types';
4
5
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
6
  export default function ChipLabel({
6
7
  children
7
8
  }) {
9
+ const isMobile = useMediaQuery(theme => theme.breakpoints.down('md'));
10
+ if (isMobile) {
11
+ return /*#__PURE__*/_jsx(Tooltip, {
12
+ enterDelay: 500,
13
+ leaveDelay: 2000,
14
+ title: typeof children === 'string' ? children : '',
15
+ children: /*#__PURE__*/_jsx(Box, {
16
+ sx: {
17
+ display: 'flex',
18
+ alignItems: 'center',
19
+ gap: 1
20
+ },
21
+ children: /*#__PURE__*/_jsx(AccessTimeIcon, {
22
+ fontSize: "small"
23
+ })
24
+ })
25
+ });
26
+ }
8
27
  return /*#__PURE__*/_jsxs(Box, {
9
28
  sx: {
10
29
  display: 'flex',
@@ -279,7 +279,7 @@ function BlockletComponent(_ref) {
279
279
  className: "title",
280
280
  display: "flex",
281
281
  alignItems: "center",
282
- children: [t('common.components'), !needMigration && /*#__PURE__*/(0, _jsxRuntime.jsx)(_permission.default, {
282
+ children: [components !== null && components !== void 0 && components.length ? "".concat(t('common.components'), " (").concat(components.length, ")") : "".concat(t('common.components')), !needMigration && /*#__PURE__*/(0, _jsxRuntime.jsx)(_permission.default, {
283
283
  permission: inService ? '' : 'mutate_blocklets',
284
284
  role: inService ? _util2.BlockletAdminRoles : [],
285
285
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_autoCheckUpdate.default, {
@@ -298,6 +298,7 @@ function BlockletComponent(_ref) {
298
298
  },
299
299
  "data-cy": "check-for-updates",
300
300
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Box.default, {
301
+ ml: 0.5,
301
302
  mr: 0.5,
302
303
  display: "flex",
303
304
  children: loading ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CircularProgress.default, {
package/lib/locales/ar.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'صفحة الترحيب'
827
827
  },
828
828
  upgrade: {
829
- title: 'ترقية خادم البلوكليت',
829
+ title: 'ترقية خادم بلوكليت إلى {version}',
830
830
  description: 'خلال الترقية، سيدخل خادم Blocklet الخاص بك في وضع الصيانة لبضع دقائق أثناء إكمال التحديث.',
831
831
  dialog: "انقر فوق 'تأكيد' لتثبيت التحديث. سيدخل خادم Blocklet في وضع الصيانة حتى يتم الانتهاء من التحديث والعودة تلقائيًا إلى وضع الإنتاج.",
832
832
  confirm: 'تطوير',
package/lib/locales/de.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'Willkommen Seite'
827
827
  },
828
828
  upgrade: {
829
- title: 'Blocklet-Server aktualisieren',
829
+ title: 'Upgrade Blocklet Server auf {version}',
830
830
  description: 'Während des Upgrades wird Ihr Blocklet Server für einige Minuten in den Wartungsmodus wechseln, während das Update abgeschlossen wird.',
831
831
  dialog: "Klicken Sie auf 'Bestätigen', um das Update zu installieren. Der Blocklet Server wird in den Wartungsmodus wechseln, bis das Update abgeschlossen ist, und kehrt automatisch in den Produktionsmodus zurück.",
832
832
  confirm: 'Upgrade',
package/lib/locales/en.js CHANGED
@@ -817,7 +817,7 @@ var _default = exports.default = {
817
817
  switchLabel: 'Welcome Page'
818
818
  },
819
819
  upgrade: {
820
- title: 'Upgrade Blocklet Server',
820
+ title: 'Upgrade Blocklet Server to {version}',
821
821
  description: 'During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.',
822
822
  dialog: 'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',
823
823
  confirm: 'Upgrade',
package/lib/locales/es.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'Página de bienvenida'
827
827
  },
828
828
  upgrade: {
829
- title: 'Mejorar el servidor de Blocklet',
829
+ title: 'Actualiza el servidor de Blocklet a {version}',
830
830
  description: 'Durante la actualización, tu servidor de Blocklet entrará en modo de mantenimiento durante unos minutos mientras se completa la actualización.',
831
831
  dialog: 'Haz clic en "confirmar" para instalar la actualización. El servidor Blocklet entrará en modo de mantenimiento hasta que la actualización se complete y volverá automáticamente al modo de producción.',
832
832
  confirm: 'Mejora',
package/lib/locales/fr.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: "Page d'accueil"
827
827
  },
828
828
  upgrade: {
829
- title: 'Mettre à niveau le serveur Blocklet',
829
+ title: 'Mettez à jour le serveur Blocklet vers {version}',
830
830
  description: 'Pendant la mise à niveau, votre serveur Blocklet entrera en mode maintenance pendant quelques minutes le temps de la mise à jour.',
831
831
  dialog: "Cliquez sur 'Confirmer' pour installer la mise à jour. Le serveur Blocklet entrera en mode de maintenance jusqu'à ce que la mise à jour soit terminée et reviendra automatiquement en mode production.",
832
832
  confirm: 'Mise à niveau',
package/lib/locales/hi.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'स्वागत पेज'
827
827
  },
828
828
  upgrade: {
829
- title: 'ब्लॉक्लेट सर्वर को अपग्रेड करें',
829
+ title: '{version} पर Blocklet सर्वर को अपग्रेड करें',
830
830
  description: 'अपग्रेड के दौरान, अपडेट पूरा होने तक आपका ब्लॉकलेट सर्वर कुछ मिनटों के लिए रखरखाव मोड में जाएगा।',
831
831
  dialog: "अपडेट स्थापित करने के लिए 'पुष्टि' पर क्लिक करें। अपडेट पूरा होने तक ब्लॉकलेट सर्वर रखरखाव मोड में जाएगा और स्वचालित रूप से प्रोडक्शन मोड में वापस लौटेगा।",
832
832
  confirm: 'उन्नयन करें',
Binary file
package/lib/locales/id.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'Halaman Selamat Datang'
827
827
  },
828
828
  upgrade: {
829
- title: 'Tingkatkan server Blocklet',
829
+ title: 'Tingkatkan Server Blocklet menjadi versi {version}',
830
830
  description: 'Selama peningkatan, server Blocklet Anda akan masuk ke mode perawatan selama beberapa menit saat pembaruan selesai.',
831
831
  dialog: 'Klik "konfirmasi" untuk menginstal pembaruan. Blocklet Server akan masuk ke mode pemeliharaan hingga pembaruan selesai dan secara otomatis kembali ke mode produksi.',
832
832
  confirm: 'Upgrade',
package/lib/locales/ja.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'ようこそページ'
827
827
  },
828
828
  upgrade: {
829
- title: 'Blocklet サーバーをアップグレードする',
829
+ title: 'Blocklet サーバーを {version} にアップグレードしてください',
830
830
  description: 'アップグレード中に、Blocklet サーバーはアップデートが完了するまで数分間メンテナンスモードになります。',
831
831
  dialog: '"確認"をクリックしてアップデートをインストールしてください。アップデートが完了するまで、Blockletサーバーはメンテナンスモードに入り、自動的に製品モードに復帰します。',
832
832
  confirm: 'アップグレード',
package/lib/locales/ko.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: '환영 페이지'
827
827
  },
828
828
  upgrade: {
829
- title: 'Blocklet 서버 업그레이드',
829
+ title: 'Blocklet 서버를 {version}로 업그레이드하세요',
830
830
  description: '업그레이드 중에는 Blocklet 서버가 업데이트가 완료될 동안 몇 분 동안 유지보수 모드로 전환됩니다.',
831
831
  dialog: '"확인"을 클릭하여 업데이트를 설치하십시오. 업데이트가 완료될 때까지 Blocklet 서버는 유지 보수 모드로 전환되며 자동으로 제품 모드로 돌아갑니다.',
832
832
  confirm: '업그레이드',
package/lib/locales/pt.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'Página de Boas-vindas'
827
827
  },
828
828
  upgrade: {
829
- title: 'Atualize o servidor de Blocklet',
829
+ title: 'Atualize o Servidor Blocklet para a versão {version}',
830
830
  description: 'Durante a atualização, seu servidor Blocklet entrará no modo de manutenção por alguns minutos enquanto a atualização for concluída.',
831
831
  dialog: 'Clique em "confirmar" para instalar a atualização. O Blocklet Server entrará em modo de manutenção até que a atualização seja concluída e retornará ao modo de produção automaticamente.',
832
832
  confirm: 'Atualizar',
package/lib/locales/ru.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'Главная страница'
827
827
  },
828
828
  upgrade: {
829
- title: 'Обновить сервер Blocklet',
829
+ title: 'Обновите сервер Blocklet до {version}',
830
830
  description: 'Во время обновления ваш сервер Blocklet перейдет в режим обслуживания на несколько минут до завершения обновления.',
831
831
  dialog: "Щелкните 'подтвердить', чтобы установить обновление. Сервер Blocklet перейдет в режим обслуживания до завершения обновления и автоматически вернется в режим производства.",
832
832
  confirm: 'Обновление',
package/lib/locales/th.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'หน้าต้อนรับ'
827
827
  },
828
828
  upgrade: {
829
- title: 'อัพเกรดเซิร์ฟเวอร์ Blocklet',
829
+ title: 'อัปเกรดเซิร์ฟเวอร์ Blocklet เป็นเวอร์ชัน {version}',
830
830
  description: 'ระหว่างการอัปเกรด, เซิร์ฟเวอร์ Blocklet ของคุณจะเข้าสู่โหมดการบำรุงรักษาเป็นเวลาหลายนาทีในขณะที่การอับเดตเสร็จสิ้น',
831
831
  dialog: 'คลิกที่ "ยืนยัน" เพื่อติดตั้งการอัปเดต โปรแกรมบล็อกเล็ตเซิร์ฟเวอร์จะเข้าสู่โหมดการบำรุงรักษาจนกว่าการอัปเดตจะเสร็จสิ้นและกลับมาสู่โหมดการผลิตอัตโนมัติ',
832
832
  confirm: 'อัพเกรด',
package/lib/locales/vi.js CHANGED
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: 'Trang Chào mừng'
827
827
  },
828
828
  upgrade: {
829
- title: 'Nâng cấp máy chủ Blocklet',
829
+ title: 'Nâng cấp Blocklet Server lên phiên bản {version}',
830
830
  description: 'Trong quá trình nâng cấp, máy chủ Blocklet của bạn sẽ vào chế độ bảo trì trong vài phút trong khi cập nhật hoàn tất.',
831
831
  dialog: 'Nhấp vào "xác nhận" để cài đặt bản cập nhật. Blocklet Server sẽ vào chế độ bảo trì cho đến khi cập nhật hoàn thành và tự động trở lại chế độ sản xuất.',
832
832
  confirm: 'Nâng cấp',
@@ -826,7 +826,7 @@ var _default = exports.default = {
826
826
  switchLabel: '歡迎頁面'
827
827
  },
828
828
  upgrade: {
829
- title: '升級 Blocklet 伺服器',
829
+ title: '升級 Blocklet 伺服器到 {version}',
830
830
  description: '在升級期間,您的 Blocklet 伺服器將進入維護模式,更新完成後將持續幾分鐘。',
831
831
  dialog: '點擊"確認"安裝更新。Blocklet服務器將進入維護模式,直到更新完成並自動返回生產模式。',
832
832
  confirm: '升級',
package/lib/locales/zh.js CHANGED
@@ -822,7 +822,7 @@ var _default = exports.default = {
822
822
  nftDomainUrl: 'NFT Domain 地址',
823
823
  nftDomainUrlPlaceholder: '你可以选择其它的 NFT Domain 服务器, 也可以使用官方提供的版本',
824
824
  upgrade: {
825
- title: '升级 Blocklet 服务器',
825
+ title: '升级 Blocklet 服务器到 {version}',
826
826
  description: '在升级期间,节点将会进入维护模式几分钟。',
827
827
  dialog: '点击 “确认” 安装更新。节点将进入维护模式,直到更新完成并自动返回生产模式。',
828
828
  confirm: '升级',
@@ -24,6 +24,7 @@ var _useBrowser = _interopRequireDefault(require("@arcblock/react-hooks/lib/useB
24
24
  var _ahooks = require("ahooks");
25
25
  var _Connect = _interopRequireDefault(require("@arcblock/did-connect/lib/Connect"));
26
26
  var _isFunction = _interopRequireDefault(require("lodash/isFunction"));
27
+ var _material = require("@mui/material");
27
28
  var _cardSelector = _interopRequireDefault(require("./card-selector"));
28
29
  var _didAddress = _interopRequireDefault(require("./did-address"));
29
30
  var _wrapLocale = _interopRequireDefault(require("./wrap-locale"));
@@ -86,6 +87,7 @@ function LostPassport(_ref2) {
86
87
  api,
87
88
  session
88
89
  } = (0, _react.useContext)(SessionContext);
90
+ const isSmallMobile = (0, _material.useMediaQuery)(theme => theme.breakpoints.down('sm'));
89
91
  const pageState = (0, _ahooks.useReactive)({
90
92
  user: null,
91
93
  passport: null,
@@ -228,14 +230,16 @@ function LostPassport(_ref2) {
228
230
  className: "did",
229
231
  mt: 1,
230
232
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_didAddress.default, {
233
+ responsive: !isSmallMobile,
234
+ compact: isSmallMobile,
231
235
  did: pageState.user.did
232
236
  })
233
237
  })]
234
238
  })]
235
239
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
236
240
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_cardSelector.default, {
237
- width: 230,
238
- height: 306,
241
+ width: isSmallMobile ? 180 : 230,
242
+ height: isSmallMobile ? 240 : 306,
239
243
  cardSpace: 24,
240
244
  list: pageState.user.passportTypes.map(x => {
241
245
  return {
@@ -377,5 +381,5 @@ function LostPassport(_ref2) {
377
381
  })
378
382
  });
379
383
  }
380
- const Div = (0, _styled.default)(_Container.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding-top: 46px;\n padding-bottom: 46px;\n height: 100%;\n overflow: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n @media (max-width: ", "px) {\n display: block;\n }\n .header {\n text-align: center;\n margin-bottom: 24px;\n }\n\n .stepper {\n padding: 24px;\n height: auto;\n width: 100%;\n min-height: 640px;\n display: flex;\n flex-direction: column;\n\n .stepper-progress {\n padding: 0;\n flex: 0;\n margin-bottom: 24px;\n\n .MuiStepLabel-label.MuiStepLabel-alternativeLabel {\n margin-top: 8px;\n }\n\n .MuiStepConnector-alternativeLabel {\n top: 24px;\n }\n\n .MuiStepConnector-lineHorizontal {\n height: 3px;\n border: none;\n background-color: #eaeaf0;\n border-radius: 1px;\n }\n\n .step-icon-w {\n background-color: ", ";\n z-index: 1;\n color: ", ";\n width: 50px;\n height: 50px;\n display: flex;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n .step-icon {\n font-size: 30px;\n }\n }\n\n .step-icon-w--active {\n background-color: ", ";\n }\n\n .step-icon-w--completed {\n background-color: ", ";\n }\n }\n\n .stepper-content {\n padding: 0 64px;\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 24px;\n\n .stepper-icon {\n margin-left: 40px;\n }\n\n .stepper-auth {\n padding: 0;\n\n .auth-title {\n margin-bottom: 16px;\n }\n }\n\n .stepper-tip {\n text-align: center;\n margin-bottom: 16px;\n }\n @media (max-width: ", "px) {\n padding: 0;\n }\n }\n\n .stepper-actions {\n flex: 0;\n text-align: right;\n padding: 0 64px;\n display: none;\n .step-button {\n margin-right: 8px;\n }\n }\n\n .select-passport {\n width: 80%;\n @media (max-width: ", "px) {\n width: 100%;\n }\n }\n\n .user-info {\n .name {\n font-weight: 500;\n font-size: 18px;\n line-height: 25px;\n color: #222222;\n }\n }\n }\n\n .connect {\n background: #fafafa;\n }\n"])), props => props.theme.breakpoints.values.sm, props => props.theme.palette.grey[500], props => props.theme.palette.common.white, props => props.theme.palette.primary.main, props => props.theme.palette.secondary.main, props => props.theme.breakpoints.values.sm, props => props.theme.breakpoints.values.sm);
384
+ const Div = (0, _styled.default)(_Container.default)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding-top: 46px;\n padding-bottom: 46px;\n height: 100%;\n overflow: auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n @media (max-width: ", "px) {\n display: block;\n }\n .header {\n text-align: center;\n margin-bottom: 24px;\n }\n\n .stepper {\n padding: 24px;\n height: auto;\n width: 100%;\n min-height: 640px;\n display: flex;\n flex-direction: column;\n\n @media (max-width: ", "px) {\n min-height: auto;\n }\n\n .stepper-progress {\n padding: 0;\n flex: 0;\n margin-bottom: 24px;\n\n .MuiStepLabel-label.MuiStepLabel-alternativeLabel {\n margin-top: 8px;\n }\n\n .MuiStepConnector-alternativeLabel {\n top: 24px;\n }\n\n .MuiStepConnector-lineHorizontal {\n height: 3px;\n border: none;\n background-color: #eaeaf0;\n border-radius: 1px;\n }\n\n .step-icon-w {\n background-color: ", ";\n z-index: 1;\n color: ", ";\n width: 50px;\n height: 50px;\n display: flex;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n .step-icon {\n font-size: 30px;\n }\n }\n\n .step-icon-w--active {\n background-color: ", ";\n }\n\n .step-icon-w--completed {\n background-color: ", ";\n }\n }\n\n .stepper-content {\n padding: 0 64px;\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 24px;\n\n .stepper-icon {\n margin-left: 40px;\n }\n\n .stepper-auth {\n padding: 0;\n\n .auth-title {\n margin-bottom: 16px;\n }\n }\n\n .stepper-tip {\n text-align: center;\n margin-bottom: 16px;\n }\n @media (max-width: ", "px) {\n padding: 0;\n }\n }\n\n .stepper-actions {\n flex: 0;\n text-align: right;\n padding: 0 64px;\n display: none;\n .step-button {\n margin-right: 8px;\n }\n }\n\n .select-passport {\n width: 80%;\n @media (max-width: ", "px) {\n width: 100%;\n }\n }\n\n .user-info {\n .name {\n font-weight: 500;\n font-size: 18px;\n line-height: 25px;\n color: #222222;\n }\n }\n }\n\n .connect {\n background: #fafafa;\n }\n"])), props => props.theme.breakpoints.values.sm, props => props.theme.breakpoints.values.sm, props => props.theme.palette.grey[500], props => props.theme.palette.common.white, props => props.theme.palette.primary.main, props => props.theme.palette.secondary.main, props => props.theme.breakpoints.values.sm, props => props.theme.breakpoints.values.sm);
381
385
  var _default = exports.default = (0, _wrapLocale.default)(LostPassport);
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = ChipLabel;
7
7
  var _AccessTime = _interopRequireDefault(require("@mui/icons-material/AccessTime"));
8
+ var _material = require("@mui/material");
8
9
  var _Box = _interopRequireDefault(require("@mui/material/Box"));
9
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
10
11
  var _jsxRuntime = require("react/jsx-runtime");
@@ -13,6 +14,24 @@ function ChipLabel(_ref) {
13
14
  let {
14
15
  children
15
16
  } = _ref;
17
+ const isMobile = (0, _material.useMediaQuery)(theme => theme.breakpoints.down('md'));
18
+ if (isMobile) {
19
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Tooltip, {
20
+ enterDelay: 500,
21
+ leaveDelay: 2000,
22
+ title: typeof children === 'string' ? children : '',
23
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Box.default, {
24
+ sx: {
25
+ display: 'flex',
26
+ alignItems: 'center',
27
+ gap: 1
28
+ },
29
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_AccessTime.default, {
30
+ fontSize: "small"
31
+ })
32
+ })
33
+ });
34
+ }
16
35
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Box.default, {
17
36
  sx: {
18
37
  display: 'flex',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.26-beta-63f52a83",
3
+ "version": "1.16.26",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -28,23 +28,23 @@
28
28
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@abtnode/auth": "1.16.26-beta-63f52a83",
32
- "@abtnode/constant": "1.16.26-beta-63f52a83",
33
- "@abtnode/util": "1.16.26-beta-63f52a83",
31
+ "@abtnode/auth": "1.16.26",
32
+ "@abtnode/constant": "1.16.26",
33
+ "@abtnode/util": "1.16.26",
34
34
  "@ahooksjs/use-url-state": "^3.5.1",
35
35
  "@arcblock/did": "^1.18.115",
36
- "@arcblock/did-connect": "^2.9.71",
36
+ "@arcblock/did-connect": "^2.9.72",
37
37
  "@arcblock/did-motif": "^1.1.13",
38
- "@arcblock/icons": "^2.9.71",
39
- "@arcblock/nft-display": "2.9.71",
40
- "@arcblock/react-hooks": "^2.9.71",
41
- "@arcblock/terminal": "^2.9.71",
42
- "@arcblock/ux": "^2.9.71",
43
- "@blocklet/constant": "1.16.26-beta-63f52a83",
44
- "@blocklet/launcher-layout": "2.3.13",
38
+ "@arcblock/icons": "^2.9.72",
39
+ "@arcblock/nft-display": "2.9.72",
40
+ "@arcblock/react-hooks": "^2.9.72",
41
+ "@arcblock/terminal": "^2.9.72",
42
+ "@arcblock/ux": "^2.9.72",
43
+ "@blocklet/constant": "1.16.26",
44
+ "@blocklet/launcher-layout": "2.3.14",
45
45
  "@blocklet/list": "^0.12.88",
46
- "@blocklet/meta": "1.16.26-beta-63f52a83",
47
- "@blocklet/ui-react": "^2.9.71",
46
+ "@blocklet/meta": "1.16.26",
47
+ "@blocklet/ui-react": "^2.9.72",
48
48
  "@blocklet/uploader": "^0.0.78",
49
49
  "@emotion/react": "^11.10.4",
50
50
  "@emotion/styled": "^11.10.4",
@@ -109,7 +109,7 @@
109
109
  "jest": "^29.7.0",
110
110
  "jest-environment-jsdom": "^29.7.0"
111
111
  },
112
- "gitHead": "ce04b1916e531d79d9535111cd370c69c04fcbc1",
112
+ "gitHead": "8abf4051293ad67271e96ffcaad70ecb90356f3f",
113
113
  "exports": {
114
114
  ".": {
115
115
  "import": "./es/index.js",