@abtnode/ux 1.16.27-beta-91ff0d1b → 1.16.27-beta-725ce3a6
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/es/blocklet/configuration.js +28 -9
- package/es/blocklet/publish/project-list.js +1 -1
- package/es/locales/ar.js +12 -8
- package/es/locales/de.js +12 -8
- package/es/locales/en.js +20 -16
- package/es/locales/es.js +12 -8
- package/es/locales/fr.js +12 -8
- package/es/locales/hi.js +12 -8
- package/es/locales/i18n.db +0 -0
- package/es/locales/id.js +12 -8
- package/es/locales/ja.js +12 -8
- package/es/locales/ko.js +12 -8
- package/es/locales/pt.js +12 -8
- package/es/locales/ru.js +12 -8
- package/es/locales/th.js +12 -8
- package/es/locales/vi.js +12 -8
- package/es/locales/zh-tw.js +27 -23
- package/es/locales/zh.js +25 -21
- package/es/team/members/index.js +10 -5
- package/lib/actions.js +1 -1
- package/lib/blocklet/actions.js +1 -1
- package/lib/blocklet/add-cert.js +1 -1
- package/lib/blocklet/app-avatar.js +1 -1
- package/lib/blocklet/bundle-avatar.js +1 -1
- package/lib/blocklet/component/add-component-core.js +1 -1
- package/lib/blocklet/component/did-space/connect-to.js +1 -1
- package/lib/blocklet/component/did-space/item.js +1 -1
- package/lib/blocklet/component/domain-list.js +1 -1
- package/lib/blocklet/component/index.js +1 -1
- package/lib/blocklet/component/navigation/simple-select.js +1 -1
- package/lib/blocklet/component/setting.js +1 -1
- package/lib/blocklet/component/space-connector.js +1 -1
- package/lib/blocklet/component/space-selector.js +1 -1
- package/lib/blocklet/component/store-blocklet-list.js +1 -1
- package/lib/blocklet/component/switch-control.js +1 -1
- package/lib/blocklet/configuration.js +28 -9
- package/lib/blocklet/disk-info.js +1 -1
- package/lib/blocklet/log.js +1 -1
- package/lib/blocklet/mode.js +1 -1
- package/lib/blocklet/page-group.js +1 -1
- package/lib/blocklet/preferences/index.js +1 -1
- package/lib/blocklet/publish/project-list.js +1 -1
- package/lib/blocklet/purchase/component-purchase.js +1 -1
- package/lib/blocklet/resource-type.js +1 -1
- package/lib/blocklet/router/add-domain.js +1 -1
- package/lib/blocklet/router/dns-tip.js +1 -1
- package/lib/blocklet/runtime-info.js +1 -1
- package/lib/blocklet/status.js +1 -1
- package/lib/blocklet/storage/action.js +1 -1
- package/lib/blocklet/storage/auto-check-update.js +1 -1
- package/lib/blocklet/storage/item.js +1 -1
- package/lib/blocklet/version.js +1 -1
- package/lib/clear-cache.js +1 -1
- package/lib/click-to-copy.js +1 -1
- package/lib/confirm.js +1 -1
- package/lib/did-address.js +1 -1
- package/lib/empty-spinner.js +1 -1
- package/lib/form/form-autocomplete-input.js +1 -1
- package/lib/form/form-select-input.js +1 -1
- package/lib/form/form-text-input.js +1 -1
- package/lib/images.js +1 -1
- package/lib/invitation/invitation-app.js +1 -1
- package/lib/launch-blocklet/content-layout.js +1 -1
- package/lib/locales/ar.js +12 -8
- package/lib/locales/de.js +12 -8
- package/lib/locales/en.js +20 -16
- package/lib/locales/es.js +12 -8
- package/lib/locales/fr.js +12 -8
- package/lib/locales/hi.js +12 -8
- package/lib/locales/i18n.db +0 -0
- package/lib/locales/id.js +12 -8
- package/lib/locales/ja.js +12 -8
- package/lib/locales/ko.js +12 -8
- package/lib/locales/pt.js +12 -8
- package/lib/locales/ru.js +12 -8
- package/lib/locales/th.js +12 -8
- package/lib/locales/vi.js +12 -8
- package/lib/locales/zh-tw.js +27 -23
- package/lib/locales/zh.js +25 -21
- package/lib/logs/log-terminal.js +1 -1
- package/lib/nav-logo.js +1 -1
- package/lib/notifications/tag.js +1 -1
- package/lib/passport-tag.js +1 -1
- package/lib/relative-time.js +1 -1
- package/lib/schema-form/passport-input.js +1 -1
- package/lib/schema-form/text-input.js +1 -1
- package/lib/store/item.js +1 -1
- package/lib/subscription/blocklet.js +1 -1
- package/lib/subscription/server.js +1 -1
- package/lib/tag.js +1 -1
- package/lib/team/members/index.js +9 -4
- package/lib/team/members/member.js +1 -1
- package/lib/team/members/passport-item.js +1 -1
- package/lib/team/search-input.js +1 -1
- package/package.json +19 -19
package/lib/locales/th.js
CHANGED
|
@@ -141,7 +141,7 @@ var _default = exports.default = {
|
|
|
141
141
|
community: 'ชุมชน',
|
|
142
142
|
complete: 'เสร็จสิ้น',
|
|
143
143
|
componentBasicInfo: 'ข้อมูลพื้นฐานขององค์ประกอบ',
|
|
144
|
-
components: '
|
|
144
|
+
components: 'บล็อกเล็ต',
|
|
145
145
|
config: 'กำหนดค่า',
|
|
146
146
|
configuration: 'การกำหนดค่า',
|
|
147
147
|
configNavigation: 'การนำทาง',
|
|
@@ -359,7 +359,7 @@ var _default = exports.default = {
|
|
|
359
359
|
uploaded: 'อัปโหลดแล้ว',
|
|
360
360
|
uploadToStore: 'อัปโหลดไปยังร้านค้า',
|
|
361
361
|
upload: 'อัปโหลด',
|
|
362
|
-
blockletStudio: '
|
|
362
|
+
blockletStudio: 'สตูดิโอ',
|
|
363
363
|
visitStore: 'เยี่ยมชมร้านค้า',
|
|
364
364
|
reconnect: 'เชื่อมต่อใหม่'
|
|
365
365
|
},
|
|
@@ -510,6 +510,11 @@ var _default = exports.default = {
|
|
|
510
510
|
action: 'ล้างแคช',
|
|
511
511
|
success: 'ล้าง {count} รายการแคชเรียบร้อยแล้ว',
|
|
512
512
|
description: 'คุณแน่ใจไหมว่าต้องการล้างแคชไฟล์ที่เก็บไว้ในเราเตอร์และบริการบล็อกเล็ท? การดำเนินการนี้อาจทำให้ประสิทธิภาพลดลงบ้างในช่วงสั้น'
|
|
513
|
+
},
|
|
514
|
+
tenantMode: {
|
|
515
|
+
name: 'โหมดหลายผู้เช่า',
|
|
516
|
+
multiple: 'บล็อกเล็ตนี้ทำงานในโหมดผู้เช่าหลายราย เนื้อหาควรถูกแยกกันสำหรับแต่ละผู้เช่า',
|
|
517
|
+
single: 'บล็อกเลตนี้ทำงานในโหมดลูกค้าเดี่ยว ข้อมูลทั้งหมดถูกแชร์'
|
|
513
518
|
}
|
|
514
519
|
},
|
|
515
520
|
overview: {
|
|
@@ -572,7 +577,7 @@ var _default = exports.default = {
|
|
|
572
577
|
updateTitle: 'อัพเดตองค์ประกอบ',
|
|
573
578
|
noUpdate: 'ไม่มีส่วนประกอบที่ต้องอัปเดต',
|
|
574
579
|
add: 'เพิ่มคอมโพเนนต์',
|
|
575
|
-
selectComponent: '
|
|
580
|
+
selectComponent: 'เลือกบล็อกเล็ท',
|
|
576
581
|
selectRegistry: 'เลือก Blocklet Store',
|
|
577
582
|
selectRegistryTip: 'คุณสามารถสลับร้านค้าบล็อกเพื่อดูส่วนประกอบเพิ่มเติมได้',
|
|
578
583
|
selectInstance: 'เลือกInstance',
|
|
@@ -589,7 +594,7 @@ var _default = exports.default = {
|
|
|
589
594
|
requiredBy: 'ส่วนนี้จำเป็นต้องใช้โดย {name}'
|
|
590
595
|
},
|
|
591
596
|
choose: 'เลือก',
|
|
592
|
-
addWithName: '
|
|
597
|
+
addWithName: 'เพิ่ม Blocklet ใน {name}',
|
|
593
598
|
installingCanCloseWindowTip: 'กำลังติดตั้งองค์ประกอบในพื้นหลัง คุณสามารถปิดหน้าต่างนี้ได้อย่างปลอดภัย',
|
|
594
599
|
installSuccessTip: 'ขอแสดงความยินดี เรื่องผู้ช่วยถูกติดตั้งเรียบร้อยแล้ว!',
|
|
595
600
|
missDownloadTokenTip: 'ไม่สามารถเพิ่มส่วนประกอบที่มีการชำระเงินได้โดยไม่มีโทเค็นการดาวน์โหลดที่ถูกต้อง',
|
|
@@ -604,14 +609,14 @@ var _default = exports.default = {
|
|
|
604
609
|
verifyNFT: 'โปรดเลือกวิธีการตรวจสอบ NFT',
|
|
605
610
|
config: 'กรุณากรอกการกำหนดค่าของคอมโพเนนต์',
|
|
606
611
|
environment: 'กรุณากรอกสภาพแวดล้อมขององค์ประกอบ',
|
|
607
|
-
fromUrl: '
|
|
612
|
+
fromUrl: 'เพิ่มบล็อคล็อตจาก URL'
|
|
608
613
|
},
|
|
609
614
|
addNext: 'เพิ่ม {name}',
|
|
610
615
|
upgradeNext: 'อัพเกรด {name}',
|
|
611
616
|
setting: 'การตั้งค่า',
|
|
612
617
|
components: 'ส่วนต้องการของส่วนประกอบ {name}',
|
|
613
618
|
noDependencies: '{name} ไม่มีความขึ้นอยู่กับอะไร',
|
|
614
|
-
relatedComponents: '
|
|
619
|
+
relatedComponents: 'บล็อกเล็ตที่เกี่ยวข้อง',
|
|
615
620
|
required: 'ต้องการ'
|
|
616
621
|
},
|
|
617
622
|
router: {
|
|
@@ -700,7 +705,6 @@ var _default = exports.default = {
|
|
|
700
705
|
installResourceHelp: 'เอกสารช่วยเหลือ',
|
|
701
706
|
componentIncluded: 'รวมอยู่ใน',
|
|
702
707
|
componentForceRequired: 'บังคับต้องการ',
|
|
703
|
-
productListTitle: 'Blocklet Studio',
|
|
704
708
|
download: 'ดาวน์โหลด {name}',
|
|
705
709
|
delete: 'ลบ {name}',
|
|
706
710
|
copyInstallUrl: 'คัดลอก URL การติดตั้ง',
|
|
@@ -1480,7 +1484,7 @@ var _default = exports.default = {
|
|
|
1480
1484
|
prepareSpace: 'เตรียมพื้นที่'
|
|
1481
1485
|
},
|
|
1482
1486
|
installRelatedDependencies: 'ติดตั้งความสำคัญที่เกี่ยวข้อง',
|
|
1483
|
-
installRelatedComponents: '
|
|
1487
|
+
installRelatedComponents: 'ติดตั้ง Blocklets ที่เกี่ยวข้อง'
|
|
1484
1488
|
},
|
|
1485
1489
|
issuePassport: {
|
|
1486
1490
|
title: 'รับหนังสือเดินทาง',
|
package/lib/locales/vi.js
CHANGED
|
@@ -141,7 +141,7 @@ var _default = exports.default = {
|
|
|
141
141
|
community: 'Cộng đồng',
|
|
142
142
|
complete: 'Hoàn thành',
|
|
143
143
|
componentBasicInfo: 'Thông tin cơ bản về thành phần',
|
|
144
|
-
components: '
|
|
144
|
+
components: 'Blockets',
|
|
145
145
|
config: 'Cài đặt',
|
|
146
146
|
configuration: 'Cấu hình',
|
|
147
147
|
configNavigation: 'Điều hướng',
|
|
@@ -359,7 +359,7 @@ var _default = exports.default = {
|
|
|
359
359
|
uploaded: 'Đã tải lên',
|
|
360
360
|
uploadToStore: 'Tải lên Cửa hàng',
|
|
361
361
|
upload: 'Tải lên',
|
|
362
|
-
blockletStudio: '
|
|
362
|
+
blockletStudio: 'Studio',
|
|
363
363
|
visitStore: 'Ghé cửa hàng',
|
|
364
364
|
reconnect: 'Kết nối lại'
|
|
365
365
|
},
|
|
@@ -510,6 +510,11 @@ var _default = exports.default = {
|
|
|
510
510
|
action: 'Xóa Cache',
|
|
511
511
|
success: '{count} mục cache đã được xóa thành công',
|
|
512
512
|
description: 'Bạn có chắc chắn muốn xóa các tệp được lưu trữ tạm thời trong bộ định tuyến và dịch vụ blocklet không? Thao tác này có thể làm giảm hiệu suất một chút trong thời gian ngắn.'
|
|
513
|
+
},
|
|
514
|
+
tenantMode: {
|
|
515
|
+
name: 'Chế độ Đa Người Thuê',
|
|
516
|
+
multiple: 'Blocklet này chạy trong chế độ nhiều người thuê, dữ liệu được cô lập cho mỗi người thuê',
|
|
517
|
+
single: 'Khối mã này chạy trong chế độ khách hàng đơn, tất cả dữ liệu được chia sẻ'
|
|
513
518
|
}
|
|
514
519
|
},
|
|
515
520
|
overview: {
|
|
@@ -572,7 +577,7 @@ var _default = exports.default = {
|
|
|
572
577
|
updateTitle: 'Cập nhật thành phần',
|
|
573
578
|
noUpdate: 'Không có thành phần cần cập nhật',
|
|
574
579
|
add: 'Thêm thành phần',
|
|
575
|
-
selectComponent: 'Chọn
|
|
580
|
+
selectComponent: 'Chọn Blocklet',
|
|
576
581
|
selectRegistry: 'Chọn Blocklet Store',
|
|
577
582
|
selectRegistryTip: 'Bạn có thể chuyển cửa hàng khối để xem nhiều thành phần hơn',
|
|
578
583
|
selectInstance: 'Chọn Instance',
|
|
@@ -589,7 +594,7 @@ var _default = exports.default = {
|
|
|
589
594
|
requiredBy: 'Yếu tố này được yêu cầu bởi {name}'
|
|
590
595
|
},
|
|
591
596
|
choose: 'Chọn',
|
|
592
|
-
addWithName: 'Thêm
|
|
597
|
+
addWithName: 'Thêm Blocklet vào {name}',
|
|
593
598
|
installingCanCloseWindowTip: 'Đang cài đặt thành phần trong nền, bạn có thể đóng cửa sổ này an toàn',
|
|
594
599
|
installSuccessTip: 'Chúc mừng, thành phần đã được cài đặt thành công!',
|
|
595
600
|
missDownloadTokenTip: 'Không thể thêm thành phần trả phí mà không có mã thông tin tải xuống hợp lệ',
|
|
@@ -604,14 +609,14 @@ var _default = exports.default = {
|
|
|
604
609
|
verifyNFT: 'Vui lòng chọn phương pháp Xác minh NFT',
|
|
605
610
|
config: 'Vui lòng điền vào cấu hình của thành phần',
|
|
606
611
|
environment: 'Vui lòng điền vào môi trường của thành phần',
|
|
607
|
-
fromUrl: 'Thêm
|
|
612
|
+
fromUrl: 'Thêm Blocklet Từ Url'
|
|
608
613
|
},
|
|
609
614
|
addNext: 'Thêm {name}',
|
|
610
615
|
upgradeNext: 'Nâng cấp {name}',
|
|
611
616
|
setting: 'Cài đặt',
|
|
612
617
|
components: 'Phụ thuộc của thành phần {name}',
|
|
613
618
|
noDependencies: '{name} không có bất kỳ sự phụ thuộc nào',
|
|
614
|
-
relatedComponents: 'Các
|
|
619
|
+
relatedComponents: 'Các khối liên quan',
|
|
615
620
|
required: 'Cần thiết'
|
|
616
621
|
},
|
|
617
622
|
router: {
|
|
@@ -700,7 +705,6 @@ var _default = exports.default = {
|
|
|
700
705
|
installResourceHelp: 'Tài liệu giúp đỡ',
|
|
701
706
|
componentIncluded: 'Bao gồm',
|
|
702
707
|
componentForceRequired: 'Bắt Buộc Yêu Cầu',
|
|
703
|
-
productListTitle: 'Blocklet Studio',
|
|
704
708
|
download: 'Tải về {name}',
|
|
705
709
|
delete: 'Xóa {name}',
|
|
706
710
|
copyInstallUrl: 'Sao chép URL cài đặt',
|
|
@@ -1480,7 +1484,7 @@ var _default = exports.default = {
|
|
|
1480
1484
|
prepareSpace: 'Chuẩn bị không gian'
|
|
1481
1485
|
},
|
|
1482
1486
|
installRelatedDependencies: 'Cài đặt các phụ thuộc liên quan',
|
|
1483
|
-
installRelatedComponents: 'Cài đặt các
|
|
1487
|
+
installRelatedComponents: 'Cài đặt các Blocklet liên quan'
|
|
1484
1488
|
},
|
|
1485
1489
|
issuePassport: {
|
|
1486
1490
|
title: 'Nhận Hộ chiếu',
|
package/lib/locales/zh-tw.js
CHANGED
|
@@ -140,8 +140,8 @@ var _default = exports.default = {
|
|
|
140
140
|
collapseAll: '折疊所有',
|
|
141
141
|
community: '社區',
|
|
142
142
|
complete: '完成',
|
|
143
|
-
componentBasicInfo: '
|
|
144
|
-
components: '
|
|
143
|
+
componentBasicInfo: 'Blocklet 基本資訊',
|
|
144
|
+
components: 'Blocklets',
|
|
145
145
|
config: '配置',
|
|
146
146
|
configuration: '配置',
|
|
147
147
|
configNavigation: '導航',
|
|
@@ -359,7 +359,7 @@ var _default = exports.default = {
|
|
|
359
359
|
uploaded: '已上傳',
|
|
360
360
|
uploadToStore: '上傳至 Store',
|
|
361
361
|
upload: '上傳',
|
|
362
|
-
blockletStudio: '
|
|
362
|
+
blockletStudio: '工作室',
|
|
363
363
|
visitStore: '訪問 Store',
|
|
364
364
|
reconnect: '重新連接'
|
|
365
365
|
},
|
|
@@ -510,6 +510,11 @@ var _default = exports.default = {
|
|
|
510
510
|
action: '清除快取',
|
|
511
511
|
success: '成功清除{count}個快取項目',
|
|
512
512
|
description: '你確定要清除路由器和區塊服務中的快取文件嗎?這個操作可能會導致短期內性能略微下降。'
|
|
513
|
+
},
|
|
514
|
+
tenantMode: {
|
|
515
|
+
name: '多租戶模式',
|
|
516
|
+
multiple: '該區塊以多租戶模式運行,每個租戶的數據應該是隔離的',
|
|
517
|
+
single: '這個 blocklet 在單租戶模式下運行,所有數據都是共享的'
|
|
513
518
|
}
|
|
514
519
|
},
|
|
515
520
|
overview: {
|
|
@@ -569,49 +574,49 @@ var _default = exports.default = {
|
|
|
569
574
|
didSpaceConfigTip: '請完成以下授權過程以將應用程式資料存儲在DID空間中',
|
|
570
575
|
didSpaceConnected: '授權給存儲: {endpoint}',
|
|
571
576
|
checkUpdateTitle: '檢查更新',
|
|
572
|
-
updateTitle: '
|
|
573
|
-
noUpdate: '
|
|
574
|
-
add: '
|
|
575
|
-
selectComponent: '
|
|
577
|
+
updateTitle: '更新 Blocklet',
|
|
578
|
+
noUpdate: '沒有 Blocklet可更新',
|
|
579
|
+
add: '添加 Blocklet',
|
|
580
|
+
selectComponent: '選擇 Blocklet',
|
|
576
581
|
selectRegistry: '選擇 Blocklet 商店',
|
|
577
|
-
selectRegistryTip: '您可以切換 Blocklet
|
|
582
|
+
selectRegistryTip: '您可以切換 Blocklet Store 以查看更多 Blocklet',
|
|
578
583
|
selectInstance: '選擇實例',
|
|
579
584
|
selectInstanceTip: '您可以選擇現有實例或建立新實例。現有實例將使用先前保存的配置和數據',
|
|
580
585
|
newInstance: '建立新實例',
|
|
581
|
-
noComponent: '
|
|
586
|
+
noComponent: '沒有 Blocklets',
|
|
582
587
|
mountPoint: '掛載點是什麼?',
|
|
583
588
|
mountPointTip: "如果您將掛載點設置為 '/my-prefix',則以該掛載點開頭的所有請求都將被路由到所選組件。",
|
|
584
|
-
delete: '
|
|
585
|
-
deleteDescription: '
|
|
589
|
+
delete: '刪除 Blocklet',
|
|
590
|
+
deleteDescription: '刪除後此 Blocklet 將無法被讀取。確認刪除?',
|
|
586
591
|
purchase: '需要付款',
|
|
587
592
|
tip: {
|
|
588
593
|
stopBlocklet: '請先停止運行 Blocklet',
|
|
589
|
-
requiredBy: '
|
|
594
|
+
requiredBy: '該 Blocklet 是{name}所需的'
|
|
590
595
|
},
|
|
591
596
|
choose: '選擇',
|
|
592
|
-
addWithName: '
|
|
593
|
-
installingCanCloseWindowTip: '
|
|
594
|
-
installSuccessTip: '
|
|
597
|
+
addWithName: '將 Blocklet 新增至 {name}',
|
|
598
|
+
installingCanCloseWindowTip: '正在背景安裝 Blocklet,您可以安全關閉此視窗',
|
|
599
|
+
installSuccessTip: '恭喜,Blocklet 安裝成功!',
|
|
595
600
|
missDownloadTokenTip: '沒有有效的下載令牌,無法增加付費組件',
|
|
596
601
|
purchaseComponentSecondCheckTip: '請出示您的區塊鏈購買NFT以繼續',
|
|
597
|
-
installComponentError: '
|
|
598
|
-
downloadComponentError: '
|
|
602
|
+
installComponentError: '安裝 Blocklet 時出現錯誤,請重試',
|
|
603
|
+
downloadComponentError: '下載 Blocklet 出錯,請重試',
|
|
599
604
|
addComponentTip: {
|
|
600
605
|
introduction: '歡迎使用新增元件精靈',
|
|
601
606
|
isFree: '你可以免費使用<b>{name}</b>作為元件;',
|
|
602
|
-
isPurchase: '在使用<b>{name}</b>作為組件之前,您需要驗證NFT',
|
|
607
|
+
isPurchase: '在使用<b>{name}</b>作為組件之前,您需要驗證 NFT',
|
|
603
608
|
belowInformation: '以下是該組件的資訊:',
|
|
604
|
-
verifyNFT: '請選擇驗證NFT的方法',
|
|
609
|
+
verifyNFT: '請選擇驗證 NFT 的方法',
|
|
605
610
|
config: '請填寫元件的配置',
|
|
606
611
|
environment: '請填寫元件的環境',
|
|
607
|
-
fromUrl: '
|
|
612
|
+
fromUrl: '從 URL 新增 Blocklet'
|
|
608
613
|
},
|
|
609
614
|
addNext: '新增 {name}',
|
|
610
615
|
upgradeNext: '升級 {name}',
|
|
611
616
|
setting: '設定',
|
|
612
617
|
components: '{name} 元件的相依性',
|
|
613
618
|
noDependencies: '{name}沒有任何依賴',
|
|
614
|
-
relatedComponents: '
|
|
619
|
+
relatedComponents: '相關區塊',
|
|
615
620
|
required: '需要'
|
|
616
621
|
},
|
|
617
622
|
router: {
|
|
@@ -700,7 +705,6 @@ var _default = exports.default = {
|
|
|
700
705
|
installResourceHelp: '幫助文件',
|
|
701
706
|
componentIncluded: '已包含',
|
|
702
707
|
componentForceRequired: '強制要求',
|
|
703
|
-
productListTitle: 'Blocklet Studio',
|
|
704
708
|
download: '下載 {name}',
|
|
705
709
|
delete: '刪除 {name}',
|
|
706
710
|
copyInstallUrl: '複製安裝連結',
|
|
@@ -1480,7 +1484,7 @@ var _default = exports.default = {
|
|
|
1480
1484
|
prepareSpace: '準備空間'
|
|
1481
1485
|
},
|
|
1482
1486
|
installRelatedDependencies: '安裝相關依賴',
|
|
1483
|
-
installRelatedComponents: '
|
|
1487
|
+
installRelatedComponents: '安裝相關的 Blocklets'
|
|
1484
1488
|
},
|
|
1485
1489
|
issuePassport: {
|
|
1486
1490
|
title: '收到護照',
|
package/lib/locales/zh.js
CHANGED
|
@@ -138,8 +138,8 @@ var _default = exports.default = {
|
|
|
138
138
|
collapseAll: '收起全部',
|
|
139
139
|
community: '社区地址',
|
|
140
140
|
complete: '完成',
|
|
141
|
-
componentBasicInfo: '
|
|
142
|
-
components: '
|
|
141
|
+
componentBasicInfo: 'Blocklet 基础信息',
|
|
142
|
+
components: 'Blocklets',
|
|
143
143
|
config: '配置',
|
|
144
144
|
configuration: '配置',
|
|
145
145
|
configNavigation: '导航',
|
|
@@ -359,7 +359,7 @@ var _default = exports.default = {
|
|
|
359
359
|
uploaded: '已上传',
|
|
360
360
|
uploadToStore: '上传到 Store',
|
|
361
361
|
upload: '上传',
|
|
362
|
-
blockletStudio: '
|
|
362
|
+
blockletStudio: '工作室',
|
|
363
363
|
visitStore: '访问 Store',
|
|
364
364
|
reconnect: '重新连接'
|
|
365
365
|
},
|
|
@@ -511,6 +511,11 @@ var _default = exports.default = {
|
|
|
511
511
|
action: '清除缓存',
|
|
512
512
|
success: '成功清除了 {count} 个缓存条目',
|
|
513
513
|
description: '您确定要清除缓存在网关和服务中的文件吗?此操作可能会在短期内导致轻微的性能降低。'
|
|
514
|
+
},
|
|
515
|
+
tenantMode: {
|
|
516
|
+
name: '多租户模式',
|
|
517
|
+
multiple: '该应用在多租户模式下运行,每个租户的数据应该是隔离的',
|
|
518
|
+
single: '该应用运行在单租户模式下,所有数据都是共享的'
|
|
514
519
|
}
|
|
515
520
|
},
|
|
516
521
|
overview: {
|
|
@@ -572,29 +577,29 @@ var _default = exports.default = {
|
|
|
572
577
|
didSpaceConfigTip: '完成以下授权流程,即可将应用数据存储到 DID Spaces 中',
|
|
573
578
|
didSpaceConnected: '正在授权存储到:{endpoint}',
|
|
574
579
|
checkUpdateTitle: '检查更新',
|
|
575
|
-
updateTitle: '
|
|
576
|
-
noUpdate: '
|
|
577
|
-
add: '
|
|
578
|
-
selectComponent: '
|
|
580
|
+
updateTitle: '更新 Blocklet',
|
|
581
|
+
noUpdate: '没有需要更新的 Blocklet',
|
|
582
|
+
add: '添加 Blocklet',
|
|
583
|
+
selectComponent: '选择 Blocklet',
|
|
579
584
|
selectRegistry: '选择应用商店',
|
|
580
|
-
selectRegistryTip: '
|
|
585
|
+
selectRegistryTip: '您可以切换应用商店以查看更多 Blocklet',
|
|
581
586
|
selectInstance: '选择实例',
|
|
582
587
|
selectInstanceTip: '您可以选择已有实例 或 创建新的实例。已有实例将使用之前保存的配置和数据',
|
|
583
588
|
newInstance: '创建新实例',
|
|
584
|
-
noComponent: '
|
|
585
|
-
mountPoint: '
|
|
586
|
-
mountPointTip: "如果你填写了 '/my-prefix'
|
|
587
|
-
delete: '
|
|
588
|
-
deleteDescription: '
|
|
589
|
+
noComponent: '暂无 Blocklets',
|
|
590
|
+
mountPoint: 'Blocklet 的挂载点是什么?',
|
|
591
|
+
mountPointTip: "如果你填写了 '/my-prefix',那么所有以其为前缀的请求都会被转发到配置的 Blocklet",
|
|
592
|
+
delete: '删除 Blocklet',
|
|
593
|
+
deleteDescription: '删除后此 Blocklet 将无法访问。确认删除?',
|
|
589
594
|
purchase: '需要支付',
|
|
590
595
|
tip: {
|
|
591
596
|
stopBlocklet: '请先停止运行应用',
|
|
592
|
-
requiredBy: '{name}
|
|
597
|
+
requiredBy: '{name} 需要该 Blocklet'
|
|
593
598
|
},
|
|
594
599
|
choose: '选择',
|
|
595
|
-
addWithName: '
|
|
596
|
-
installingCanCloseWindowTip: '
|
|
597
|
-
installSuccessTip: '
|
|
600
|
+
addWithName: '将 Blocklet 添加到 {name}',
|
|
601
|
+
installingCanCloseWindowTip: '正在后台安装 Blocklet 中, 您可以放心关掉此窗口',
|
|
602
|
+
installSuccessTip: '恭喜您,Blocklet 安装成功!',
|
|
598
603
|
missDownloadTokenTip: '缺少下载凭证,无法下载',
|
|
599
604
|
purchaseComponentSecondCheckTip: '请在 钱包 提供应用购买凭证',
|
|
600
605
|
installComponentError: '安装组件遇到错误,请重试',
|
|
@@ -607,14 +612,14 @@ var _default = exports.default = {
|
|
|
607
612
|
verifyNFT: '请选择验证凭证方式',
|
|
608
613
|
config: '请填写组件的相关配置',
|
|
609
614
|
environment: '请填写组件的环境变量',
|
|
610
|
-
fromUrl: '
|
|
615
|
+
fromUrl: '从 URL 添加 Blocklet'
|
|
611
616
|
},
|
|
612
617
|
addNext: '添加 {name}',
|
|
613
618
|
upgradeNext: '升级 {name}',
|
|
614
619
|
setting: '参数设置',
|
|
615
620
|
components: '{name} 组件的依赖',
|
|
616
621
|
noDependencies: '{name}没有任何依赖',
|
|
617
|
-
relatedComponents: '
|
|
622
|
+
relatedComponents: '相关 Blocklets',
|
|
618
623
|
required: '必须'
|
|
619
624
|
},
|
|
620
625
|
router: {
|
|
@@ -703,7 +708,6 @@ var _default = exports.default = {
|
|
|
703
708
|
noDescription: '请填写 Blocklet 描述',
|
|
704
709
|
noNote: '请填写 发布说明'
|
|
705
710
|
},
|
|
706
|
-
productListTitle: 'Blocklet Studio',
|
|
707
711
|
download: '下载 {name}',
|
|
708
712
|
delete: '删除 {name}',
|
|
709
713
|
copyInstallUrl: '复制安装链接',
|
|
@@ -1487,7 +1491,7 @@ var _default = exports.default = {
|
|
|
1487
1491
|
prepareSpace: '准备空间'
|
|
1488
1492
|
},
|
|
1489
1493
|
installRelatedDependencies: '安装相关依赖',
|
|
1490
|
-
installRelatedComponents: '
|
|
1494
|
+
installRelatedComponents: '安装相关的 Blocklets'
|
|
1491
1495
|
},
|
|
1492
1496
|
issuePassport: {
|
|
1493
1497
|
title: '领取通行证',
|
package/lib/logs/log-terminal.js
CHANGED
|
@@ -29,7 +29,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
29
29
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
30
30
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
31
31
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
32
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
32
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
33
33
|
function LogTerminalGroup(_ref) {
|
|
34
34
|
let {
|
|
35
35
|
name,
|
package/lib/nav-logo.js
CHANGED
|
@@ -18,7 +18,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
19
19
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
20
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
21
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
22
22
|
function LogoContainer(_ref) {
|
|
23
23
|
let {
|
|
24
24
|
logo,
|
package/lib/notifications/tag.js
CHANGED
|
@@ -15,7 +15,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17
17
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
18
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
18
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
19
19
|
function NotificationTag(_ref) {
|
|
20
20
|
let {
|
|
21
21
|
status
|
package/lib/passport-tag.js
CHANGED
|
@@ -18,7 +18,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
19
19
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
20
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
21
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
22
22
|
function PassportTag(props) {
|
|
23
23
|
const {
|
|
24
24
|
passport,
|
package/lib/relative-time.js
CHANGED
|
@@ -18,7 +18,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
19
19
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
20
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
21
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
22
22
|
function RelativeTime(_ref) {
|
|
23
23
|
let {
|
|
24
24
|
value
|
|
@@ -21,7 +21,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
21
21
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
22
22
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
23
23
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
24
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
24
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
25
25
|
function PassportInput(_ref) {
|
|
26
26
|
let {
|
|
27
27
|
editing,
|
|
@@ -17,7 +17,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
19
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
20
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
20
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
21
21
|
function TextInput(_ref) {
|
|
22
22
|
let {
|
|
23
23
|
editing,
|
package/lib/store/item.js
CHANGED
|
@@ -30,7 +30,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
30
30
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
31
31
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
32
32
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
33
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
33
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
34
34
|
const useStyles = (0, _styles.makeStyles)(() => ({
|
|
35
35
|
buttonText: {
|
|
36
36
|
textTransform: 'none !important'
|
|
@@ -28,7 +28,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
28
28
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
29
29
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
30
30
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
31
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
31
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
32
32
|
const DEFAULT_LAUNCHER_URL = 'https://launcher.arcblock.io/'; // 兼容: 旧版本的 blocklet.controller 没有 launcherUrl 字段
|
|
33
33
|
|
|
34
34
|
const ALERT_THRESHOLD_MS = 30 * 24 * 60 * 60 * 1000;
|
|
@@ -28,7 +28,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
28
28
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
29
29
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
30
30
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
31
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
31
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
32
32
|
const ALERT_THRESHOLD_MS = 30 * 24 * 60 * 60 * 1000;
|
|
33
33
|
const DEFAULT_LAUNCHER_URL = 'https://launcher.arcblock.io/'; // 兼容: 旧版本的 blocklet.controller 没有 launcherUrl 字段
|
|
34
34
|
|
package/lib/tag.js
CHANGED
|
@@ -15,7 +15,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17
17
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
18
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
18
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
19
19
|
function Wrapped(_ref) {
|
|
20
20
|
let {
|
|
21
21
|
children,
|
|
@@ -54,6 +54,12 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
54
54
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint-disable react/no-unstable-nested-components */ /* eslint-disable jsx-a11y/aria-role */
|
|
55
55
|
const ROLE_ALL = '$all';
|
|
56
56
|
const ROLE_NONE = '$none';
|
|
57
|
+
function shortenString(str) {
|
|
58
|
+
if ((str === null || str === void 0 ? void 0 : str.length) > 10) {
|
|
59
|
+
return "".concat(str.slice(0, 8), "...").concat(str.slice(-2));
|
|
60
|
+
}
|
|
61
|
+
return str;
|
|
62
|
+
}
|
|
57
63
|
const getCount = (counts, name) => {
|
|
58
64
|
const item = counts.find(x => x.key === name);
|
|
59
65
|
return (item === null || item === void 0 ? void 0 : item.value) || 0;
|
|
@@ -102,7 +108,7 @@ function SimpleInfo(_ref) {
|
|
|
102
108
|
className: "member-meta",
|
|
103
109
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
104
110
|
className: "member-text",
|
|
105
|
-
children: user.fullName
|
|
111
|
+
children: shortenString(user.fullName)
|
|
106
112
|
}), Array.isArray(user.tags) && user.tags.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
107
113
|
className: "member-tags",
|
|
108
114
|
children: user.tags.map(x => /*#__PURE__*/(0, _jsxRuntime.jsx)(_tag.default, {
|
|
@@ -159,7 +165,6 @@ function MemberList(_ref2) {
|
|
|
159
165
|
const {
|
|
160
166
|
appIdList = []
|
|
161
167
|
} = (0, _blocklet.useBlockletContext)();
|
|
162
|
-
const isMobile = (0, _material.useMediaQuery)(theme => theme.breakpoints.down('md'));
|
|
163
168
|
const {
|
|
164
169
|
teamDid,
|
|
165
170
|
invitations,
|
|
@@ -323,8 +328,8 @@ function MemberList(_ref2) {
|
|
|
323
328
|
customBodyRender: e => {
|
|
324
329
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_didAddress.default, {
|
|
325
330
|
size: 14,
|
|
326
|
-
responsive:
|
|
327
|
-
compact:
|
|
331
|
+
responsive: false,
|
|
332
|
+
compact: true,
|
|
328
333
|
copyable: false,
|
|
329
334
|
did: e
|
|
330
335
|
});
|
|
@@ -44,7 +44,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
44
44
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
45
45
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
46
46
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
47
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
47
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
48
48
|
function LinkUser(_ref) {
|
|
49
49
|
let {
|
|
50
50
|
name
|
|
@@ -23,7 +23,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
23
23
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
24
24
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25
25
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
26
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
26
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
27
27
|
function PassportItem(_ref) {
|
|
28
28
|
let {
|
|
29
29
|
passport,
|
package/lib/team/search-input.js
CHANGED
|
@@ -17,7 +17,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
19
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
20
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
20
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
21
21
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
22
22
|
const SearchInput = (0, _styled.default)(_ref => {
|
|
23
23
|
let {
|