@abtnode/ux 1.16.23-beta-f3f10110 → 1.16.23-beta-aeb9f5bd

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.
Files changed (169) hide show
  1. package/es/blocklet/agreement.js +85 -16
  2. package/es/blocklet/component/add-component-button.js +50 -0
  3. package/es/blocklet/component/add-component-core.js +35 -12
  4. package/es/blocklet/component/add-component-dialog.js +78 -0
  5. package/es/blocklet/component/component-cell.js +509 -0
  6. package/es/blocklet/component/index.js +78 -532
  7. package/es/blocklet/component/line.js +7 -3
  8. package/es/blocklet/component/optional-component-cell.js +145 -0
  9. package/es/blocklet/component/related-components-dialog.js +189 -0
  10. package/es/blocklet/component/store-blocklet-list.js +8 -1
  11. package/es/blocklet/config-navigation.js +2 -1
  12. package/es/hooks/use-check-update-by-url.js +1 -1
  13. package/es/hooks/use-components-by-blocklet-meta-url.js +36 -0
  14. package/es/hooks/use-install-component-by-url.js +64 -0
  15. package/es/hooks/use-navigation.js +0 -16
  16. package/es/locales/ar.js +13 -4
  17. package/es/locales/de.js +13 -4
  18. package/es/locales/en.js +6 -0
  19. package/es/locales/es.js +13 -4
  20. package/es/locales/fr.js +13 -4
  21. package/es/locales/hi.js +13 -4
  22. package/es/locales/i18n.db +0 -0
  23. package/es/locales/id.js +13 -4
  24. package/es/locales/ja.js +13 -4
  25. package/es/locales/ko.js +13 -4
  26. package/es/locales/pt.js +13 -4
  27. package/es/locales/ru.js +13 -4
  28. package/es/locales/th.js +13 -4
  29. package/es/locales/vi.js +13 -4
  30. package/es/locales/zh-tw.js +13 -4
  31. package/es/locales/zh.js +10 -3
  32. package/es/team/members/index.js +4 -3
  33. package/es/team/members/member.js +3 -3
  34. package/lib/actions.js +2 -2
  35. package/lib/analytics/card.js +2 -2
  36. package/lib/analytics/chart.js +2 -2
  37. package/lib/analytics/disk.js +2 -2
  38. package/lib/analytics/traffic.js +2 -2
  39. package/lib/blocklet/actions.js +2 -2
  40. package/lib/blocklet/add-cert.js +2 -2
  41. package/lib/blocklet/agreement-app.js +2 -2
  42. package/lib/blocklet/agreement.js +70 -14
  43. package/lib/blocklet/app-avatar.js +2 -2
  44. package/lib/blocklet/bundle-avatar.js +2 -2
  45. package/lib/blocklet/component/add-component-button.js +57 -0
  46. package/lib/blocklet/component/add-component-core.js +40 -15
  47. package/lib/blocklet/component/add-component-dialog.js +85 -0
  48. package/lib/blocklet/component/button.js +2 -2
  49. package/lib/blocklet/component/component-cell.js +507 -0
  50. package/lib/blocklet/component/delete.js +2 -2
  51. package/lib/blocklet/component/did-space/connect-to.js +2 -2
  52. package/lib/blocklet/component/did-space/disconnect.js +2 -2
  53. package/lib/blocklet/component/did-space/item.js +2 -2
  54. package/lib/blocklet/component/domain-list.js +2 -2
  55. package/lib/blocklet/component/environment.js +2 -2
  56. package/lib/blocklet/component/index.js +76 -539
  57. package/lib/blocklet/component/line.js +7 -3
  58. package/lib/blocklet/component/navigation/navigation-dialog.js +2 -2
  59. package/lib/blocklet/component/navigation/simple-select.js +2 -2
  60. package/lib/blocklet/component/optional-component-cell.js +112 -0
  61. package/lib/blocklet/component/related-components-dialog.js +196 -0
  62. package/lib/blocklet/component/select-store.js +2 -2
  63. package/lib/blocklet/component/setting.js +2 -2
  64. package/lib/blocklet/component/sortable-tree.js +2 -2
  65. package/lib/blocklet/component/space-connector.js +2 -2
  66. package/lib/blocklet/component/space-selector.js +2 -2
  67. package/lib/blocklet/component/store-blocklet-list.js +10 -3
  68. package/lib/blocklet/component/switch-control.js +2 -2
  69. package/lib/blocklet/config-navigation.js +4 -3
  70. package/lib/blocklet/configuration.js +2 -2
  71. package/lib/blocklet/disk-info.js +2 -2
  72. package/lib/blocklet/install-from-url.js +2 -2
  73. package/lib/blocklet/log.js +2 -2
  74. package/lib/blocklet/mode.js +2 -2
  75. package/lib/blocklet/notification/email.js +2 -2
  76. package/lib/blocklet/oauth/auth0.js +2 -2
  77. package/lib/blocklet/oauth/common-settings.js +2 -2
  78. package/lib/blocklet/page-group.js +2 -2
  79. package/lib/blocklet/preferences/index.js +2 -2
  80. package/lib/blocklet/publish/create-project.js +2 -2
  81. package/lib/blocklet/publish/create-release.js +2 -2
  82. package/lib/blocklet/purchase/component-purchase.js +2 -2
  83. package/lib/blocklet/resource-type.js +2 -2
  84. package/lib/blocklet/router/action/add-domain-alias.js +2 -2
  85. package/lib/blocklet/router/action/add-rule.js +2 -2
  86. package/lib/blocklet/router/action/config-routing-rule.js +2 -2
  87. package/lib/blocklet/router/action/update-rule.js +2 -2
  88. package/lib/blocklet/router/add-domain.js +2 -2
  89. package/lib/blocklet/router/dns-tip.js +2 -2
  90. package/lib/blocklet/router/rule-actions.js +2 -2
  91. package/lib/blocklet/router/rule-list.js +2 -2
  92. package/lib/blocklet/runtime-info.js +2 -2
  93. package/lib/blocklet/status.js +2 -2
  94. package/lib/blocklet/storage/action.js +2 -2
  95. package/lib/blocklet/storage/auto-backup.js +2 -2
  96. package/lib/blocklet/storage/auto-check-update.js +2 -2
  97. package/lib/blocklet/storage/backups.js +2 -2
  98. package/lib/blocklet/storage/connect-to.js +2 -2
  99. package/lib/blocklet/storage/disconnect.js +2 -2
  100. package/lib/blocklet/storage/item.js +2 -2
  101. package/lib/blocklet/storage/preview-nft.js +2 -2
  102. package/lib/blocklet/version.js +2 -2
  103. package/lib/clear-cache.js +2 -2
  104. package/lib/click-to-copy.js +2 -2
  105. package/lib/confirm.js +2 -2
  106. package/lib/contexts/blocklet-storage.js +2 -2
  107. package/lib/contexts/node.js +2 -2
  108. package/lib/delete-confirm.js +2 -2
  109. package/lib/did-address.js +2 -2
  110. package/lib/empty-spinner.js +2 -2
  111. package/lib/form/form-autocomplete-input.js +2 -2
  112. package/lib/form/form-select-input.js +2 -2
  113. package/lib/form/form-text-input.js +2 -2
  114. package/lib/hooks/blocklet.js +2 -2
  115. package/lib/hooks/url-evaluation.js +2 -2
  116. package/lib/hooks/use-backup-progress.js +2 -2
  117. package/lib/hooks/use-check-update-by-url.js +0 -1
  118. package/lib/hooks/use-components-by-blocklet-meta-url.js +42 -0
  119. package/lib/hooks/use-install-component-by-url.js +73 -0
  120. package/lib/hooks/use-navigation.js +2 -18
  121. package/lib/images.js +2 -2
  122. package/lib/invitation/invitation-app.js +2 -2
  123. package/lib/invitation/invitation-receive.js +2 -2
  124. package/lib/launch-blocklet/content-layout.js +2 -2
  125. package/lib/layout/addon.js +2 -2
  126. package/lib/locales/ar.js +13 -4
  127. package/lib/locales/de.js +13 -4
  128. package/lib/locales/en.js +6 -0
  129. package/lib/locales/es.js +13 -4
  130. package/lib/locales/fr.js +13 -4
  131. package/lib/locales/hi.js +13 -4
  132. package/lib/locales/i18n.db +0 -0
  133. package/lib/locales/id.js +13 -4
  134. package/lib/locales/ja.js +13 -4
  135. package/lib/locales/ko.js +13 -4
  136. package/lib/locales/pt.js +13 -4
  137. package/lib/locales/ru.js +13 -4
  138. package/lib/locales/th.js +13 -4
  139. package/lib/locales/vi.js +13 -4
  140. package/lib/locales/zh-tw.js +13 -4
  141. package/lib/locales/zh.js +10 -3
  142. package/lib/logs/log-terminal.js +2 -2
  143. package/lib/nav-logo.js +2 -2
  144. package/lib/notifications/default-icon-variants.js +2 -2
  145. package/lib/notifications/notification.js +2 -2
  146. package/lib/notifications/tag.js +2 -2
  147. package/lib/passport-tag.js +2 -2
  148. package/lib/permission.js +2 -2
  149. package/lib/relative-time.js +2 -2
  150. package/lib/schema-form/index.js +2 -2
  151. package/lib/schema-form/passport-input.js +2 -2
  152. package/lib/schema-form/text-input.js +2 -2
  153. package/lib/subscription.js +2 -2
  154. package/lib/tag.js +2 -2
  155. package/lib/team/members/index.js +5 -4
  156. package/lib/team/members/member.js +3 -3
  157. package/lib/team/members/passport-item.js +2 -2
  158. package/lib/team/members/passports.js +2 -2
  159. package/lib/team/passports/color.js +2 -2
  160. package/lib/team/passports/detail.js +2 -2
  161. package/lib/team/passports/trusted-factories.js +2 -2
  162. package/lib/team/passports/trusted-issuer.js +2 -2
  163. package/lib/team/passports/trusted-issuers.js +2 -2
  164. package/lib/team/search-input.js +2 -2
  165. package/lib/util/space-gateway.js +2 -2
  166. package/lib/wrap-locale.js +2 -2
  167. package/package.json +25 -23
  168. package/es/blocklet/component/add.js +0 -95
  169. package/lib/blocklet/component/add.js +0 -100
package/es/locales/fr.js CHANGED
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: 'Ajouter {name}',
578
578
  upgradeNext: 'Mise à niveau de {name}',
579
- setting: 'Paramètres'
579
+ setting: 'Paramètres',
580
+ components: 'Dépendances du composant {name}',
581
+ noDependencies: "{name} n'a aucune dépendance",
582
+ relatedComponents: 'Composants connexes'
580
583
  },
581
584
  router: {
582
585
  urlPath: "Chemin d'URL",
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: 'La version Blocklet est obligatoire',
658
661
  noDescription: 'La description du Blocklet est requise',
659
662
  noNote: 'La note de version est requise'
660
- }
663
+ },
664
+ packTip: "Les composants et la configuration de l'application seront automatiquement inclus dans le bloc-notes.",
665
+ resourceChangedWarning: "Vous avez modifié la ressource, veuillez l'enregistrer à temps"
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: 'Échec de désinscription',
882
887
  unsubscribeTokenRequired: 'Jeton de désabonnement requis',
883
888
  unsubscribeTokenExpired: 'Le jeton de désabonnement a expiré',
884
- unsubscribeTokenInvalid: 'Le jeton de désabonnement est invalide'
889
+ unsubscribeTokenInvalid: 'Le jeton de désabonnement est invalide',
890
+ installComponentError: 'Composant désinstallé {name} non trouvé',
891
+ installingComponent: 'Installation du composant {name}'
885
892
  },
886
893
  router: {
887
894
  routerSetting: 'Domaines et URLs',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: "Installer l'application",
1403
1410
  purchaseSpace: "Acheter de l'espace",
1404
1411
  prepareSpace: "Préparez l'espace"
1405
- }
1412
+ },
1413
+ installRelatedDependencies: 'Installez les dépendances nécessaires',
1414
+ installRelatedComponents: 'Installer les composants associés'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: 'Recevoir le passeport',
package/es/locales/hi.js CHANGED
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: '{name} जोड़ें',
578
578
  upgradeNext: '{name} को अपग्रेड करें',
579
- setting: 'सेटिंग्स'
579
+ setting: 'सेटिंग्स',
580
+ components: '{name} के घटक की आवश्यकताएं',
581
+ noDependencies: '{name} के पास कोई आवश्यकताएं नहीं हैं',
582
+ relatedComponents: 'संबंधित घटक'
580
583
  },
581
584
  router: {
582
585
  urlPath: 'URL पथ',
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: 'ब्लॉकलेट संस्करण आवश्यक है',
658
661
  noDescription: 'ब्लॉकलेट विवरण आवश्यक है',
659
662
  noNote: 'रिलीज़ नोट आवश्यक है'
660
- }
663
+ },
664
+ packTip: 'संयोजक और अनुप्रयोग कॉन्फ़िगरेशन स्वचालित रूप से ब्लॉकलेट में शामिल किए जाएंगे।',
665
+ resourceChangedWarning: 'आपने संसाधन को संशोधित किया है, कृपया समय पर इसे सहेजें'
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: 'सदस्यता रद्द करने में विफल हुआ',
882
887
  unsubscribeTokenRequired: 'अनुस्क्राइब टोकन आवश्यक है',
883
888
  unsubscribeTokenExpired: 'अनुवंशीकरण टोकन समाप्त हो गया है',
884
- unsubscribeTokenInvalid: 'अनुशंसा टोकन अमान्य है'
889
+ unsubscribeTokenInvalid: 'अनुशंसा टोकन अमान्य है',
890
+ installComponentError: 'नहीं मिला अनइंस्टॉल किया गया घटक {name}',
891
+ installingComponent: '{name} कॉम्पोनेंट स्थापित कर रहा है'
885
892
  },
886
893
  router: {
887
894
  routerSetting: 'डोमेन और यूआरएल',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: 'एप्लिकेशन स्थापित करें',
1403
1410
  purchaseSpace: 'अंतरिक्ष खरीदें',
1404
1411
  prepareSpace: 'स्थान की तैयारी करें'
1405
- }
1412
+ },
1413
+ installRelatedDependencies: 'संबंधित आवश्यकताओं को स्थापित करें',
1414
+ installRelatedComponents: 'संबंधित घटक स्थापित करें'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: 'पासपोर्ट प्राप्त करें',
Binary file
package/es/locales/id.js CHANGED
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: 'Tambahkan {name}',
578
578
  upgradeNext: 'Tingkatkan {name}',
579
- setting: 'Pengaturan'
579
+ setting: 'Pengaturan',
580
+ components: 'Ketergantungan komponen {name}',
581
+ noDependencies: '{name} tidak memiliki dependensi apa pun',
582
+ relatedComponents: 'Komponen terkait'
580
583
  },
581
584
  router: {
582
585
  urlPath: 'URL Path',
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: 'Versi Blocklet diperlukan',
658
661
  noDescription: 'Deskripsi Blocklet diperlukan',
659
662
  noNote: 'Catatan Rilis diperlukan'
660
- }
663
+ },
664
+ packTip: 'Komponen dan konfigurasi aplikasi akan secara otomatis disertakan dalam blocklet',
665
+ resourceChangedWarning: 'Anda telah mengubah sumber daya, harap simpan tepat waktu'
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: 'Berhenti berlangganan gagal',
882
887
  unsubscribeTokenRequired: 'Token berhenti berlangganan diperlukan',
883
888
  unsubscribeTokenExpired: 'Token berhenti langganan telah kedaluwarsa',
884
- unsubscribeTokenInvalid: 'Token berhenti berlangganan tidak valid'
889
+ unsubscribeTokenInvalid: 'Token berhenti berlangganan tidak valid',
890
+ installComponentError: 'Komponen {name} yang telah dihapus tidak ditemukan',
891
+ installingComponent: 'Menginstal komponen {name}'
885
892
  },
886
893
  router: {
887
894
  routerSetting: 'Domain dan URL',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: 'Pasang Aplikasi',
1403
1410
  purchaseSpace: 'Membeli Ruang',
1404
1411
  prepareSpace: 'Menyiapkan Ruang'
1405
- }
1412
+ },
1413
+ installRelatedDependencies: 'Menginstal dependensi terkait',
1414
+ installRelatedComponents: 'Pasang komponen terkait'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: 'Menerima Paspor',
package/es/locales/ja.js CHANGED
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: '{name}を追加',
578
578
  upgradeNext: '{name} をアップグレード',
579
- setting: '設定'
579
+ setting: '設定',
580
+ components: '{name} コンポーネントの依存関係',
581
+ noDependencies: '{name}には依存関係はありません',
582
+ relatedComponents: '関連コンポーネント'
580
583
  },
581
584
  router: {
582
585
  urlPath: 'URLパス',
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: 'Blockletバージョンが必要です',
658
661
  noDescription: 'Blockletの説明が必要です',
659
662
  noNote: 'リリースノートが必要です'
660
- }
663
+ },
664
+ packTip: 'コンポーネントとアプリケーションの設定は、ブロックレットに自動的に含まれます',
665
+ resourceChangedWarning: 'リソースを変更しましたので、時間内に保存してください'
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: '購読の解除に失敗しました',
882
887
  unsubscribeTokenRequired: '退会トークンが必要です',
883
888
  unsubscribeTokenExpired: '退会トークンの有効期限が切れています',
884
- unsubscribeTokenInvalid: '購読解除トークンが無効です'
889
+ unsubscribeTokenInvalid: '購読解除トークンが無効です',
890
+ installComponentError: '未発見またはアンインストールされたコンポーネント {name} は見つかりません',
891
+ installingComponent: 'コンポーネント {name} のインストール中'
885
892
  },
886
893
  router: {
887
894
  routerSetting: 'ドメインとURL',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: 'アプリケーションをインストールしてください',
1403
1410
  purchaseSpace: 'スペース購入',
1404
1411
  prepareSpace: 'スペースの準備'
1405
- }
1412
+ },
1413
+ installRelatedDependencies: '関連する依存関係をインストール',
1414
+ installRelatedComponents: '関連するコンポーネントをインストールする'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: 'パスポートを受け取る',
package/es/locales/ko.js CHANGED
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: '{name} 추가하기',
578
578
  upgradeNext: '{name} 업그레이드',
579
- setting: '설정'
579
+ setting: '설정',
580
+ components: '{name} 컴포넌트의 종속성',
581
+ noDependencies: '{name}는 의존성이 없습니다',
582
+ relatedComponents: '관련 컴포넌트'
580
583
  },
581
584
  router: {
582
585
  urlPath: 'URL 경로',
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: 'Blocklet 버전이 필요합니다',
658
661
  noDescription: 'Blocklet 설명이 필요합니다',
659
662
  noNote: '릴리즈 노트가 필요합니다'
660
- }
663
+ },
664
+ packTip: '구성 요소 및 애플리케이션 구성은 블록렛에 자동으로 포함됩니다',
665
+ resourceChangedWarning: '리소스를 수정하였으니 시간 안에 저장하세요'
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: '구독 취소 실패',
882
887
  unsubscribeTokenRequired: '탈퇴 토큰이 필요합니다',
883
888
  unsubscribeTokenExpired: '구독 취소 토큰이 만료되었습니다',
884
- unsubscribeTokenInvalid: '구독 취소 토큰이 잘못되었습니다'
889
+ unsubscribeTokenInvalid: '구독 취소 토큰이 잘못되었습니다',
890
+ installComponentError: '찾을 수 없는 미설치 구성 요소 {name}',
891
+ installingComponent: '{name} 구성 요소를 설치 중입니다.'
885
892
  },
886
893
  router: {
887
894
  routerSetting: '도메인 및 URL',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: '앱을 설치하세요',
1403
1410
  purchaseSpace: '공간 구매',
1404
1411
  prepareSpace: '공간 준비'
1405
- }
1412
+ },
1413
+ installRelatedDependencies: '관련된 종속성 설치하세요',
1414
+ installRelatedComponents: '관련 구성 요소 설치'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: '여권 받기',
package/es/locales/pt.js CHANGED
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: 'Adicione {name}',
578
578
  upgradeNext: 'Atualize {name}',
579
- setting: 'Configurações'
579
+ setting: 'Configurações',
580
+ components: 'Dependências do componente {name}',
581
+ noDependencies: '{name} não possui nenhuma dependência',
582
+ relatedComponents: 'Componentes relacionados'
580
583
  },
581
584
  router: {
582
585
  urlPath: 'URL Path',
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: 'A versão do Blocklet é requerida',
658
661
  noDescription: 'A descrição do Blocklet é obrigatória',
659
662
  noNote: 'Nota de lançamento é obrigatória'
660
- }
663
+ },
664
+ packTip: 'Componentes e configuração do aplicativo serão automaticamente incluídos no blocklet',
665
+ resourceChangedWarning: 'Você modificou o recurso, por favor salve-o a tempo'
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: 'Falha ao cancelar a inscrição',
882
887
  unsubscribeTokenRequired: 'O token de cancelamento é obrigatório',
883
888
  unsubscribeTokenExpired: 'O token de cancelamento de inscrição expirou',
884
- unsubscribeTokenInvalid: 'O token de cancelamento da inscrição é inválido'
889
+ unsubscribeTokenInvalid: 'O token de cancelamento da inscrição é inválido',
890
+ installComponentError: 'Componente {name} desinstalado não encontrado',
891
+ installingComponent: 'Instalando o componente {name}'
885
892
  },
886
893
  router: {
887
894
  routerSetting: 'Domínios e URLs',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: 'Instalar Aplicativo',
1403
1410
  purchaseSpace: 'Comprar Espaço',
1404
1411
  prepareSpace: 'Preparar Espaço'
1405
- }
1412
+ },
1413
+ installRelatedDependencies: 'Instalar dependências relacionadas',
1414
+ installRelatedComponents: 'Instalar componentes relacionados'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: 'Receber Passaporte',
package/es/locales/ru.js CHANGED
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: 'Добавить {name}',
578
578
  upgradeNext: 'Обновление {name}',
579
- setting: 'Настройки'
579
+ setting: 'Настройки',
580
+ components: 'Зависимости компонента {name}',
581
+ noDependencies: 'У {name} нет зависимостей',
582
+ relatedComponents: 'Связанные компоненты'
580
583
  },
581
584
  router: {
582
585
  urlPath: 'Путь URL',
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: 'Требуется версия Blocklet',
658
661
  noDescription: 'Требуется описание блокировки',
659
662
  noNote: 'Требуется версия примечания'
660
- }
663
+ },
664
+ packTip: 'Компоненты и конфигурация приложения будут автоматически включены в блоклет.',
665
+ resourceChangedWarning: 'Вы изменили ресурс, пожалуйста, сохраните его вовремя'
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: 'Не удалось отписаться',
882
887
  unsubscribeTokenRequired: 'Требуется токен отмены подписки',
883
888
  unsubscribeTokenExpired: 'Срок действия токена отписки истек',
884
- unsubscribeTokenInvalid: 'Токен отписки недействителен'
889
+ unsubscribeTokenInvalid: 'Токен отписки недействителен',
890
+ installComponentError: 'Не найден удаленный компонент {name}',
891
+ installingComponent: 'Установка компонента {name}'
885
892
  },
886
893
  router: {
887
894
  routerSetting: 'Домены и URL',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: 'Установить приложение',
1403
1410
  purchaseSpace: 'Покупка пространства',
1404
1411
  prepareSpace: 'Подготовьте космос'
1405
- }
1412
+ },
1413
+ installRelatedDependencies: 'Установите необходимые зависимости',
1414
+ installRelatedComponents: 'Установить связанные компоненты'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: 'Получение паспорта',
package/es/locales/th.js CHANGED
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: 'เพิ่ม {name}',
578
578
  upgradeNext: 'อัพเกรด {name}',
579
- setting: 'การตั้งค่า'
579
+ setting: 'การตั้งค่า',
580
+ components: 'ส่วนต้องการของส่วนประกอบ {name}',
581
+ noDependencies: '{name} ไม่มีความขึ้นอยู่กับอะไร',
582
+ relatedComponents: 'ส่วนประกอบที่เกี่ยวข้อง'
580
583
  },
581
584
  router: {
582
585
  urlPath: 'URL Path',
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: 'ต้องใช้เวอร์ชัน Blocklet',
658
661
  noDescription: 'คำอธิบาย Blocklet จำเป็น',
659
662
  noNote: 'ต้องใช้หมายเหตุรุ่น'
660
- }
663
+ },
664
+ packTip: 'คอมโพเนนต์และการกำหนดค่าแอปพลิเคชันจะถูกเพิ่มอัตโนมัติในบล็อกเล็ต',
665
+ resourceChangedWarning: 'คุณได้แก้ไขทรัพยากร โปรดบันทึกเวลาทันที'
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: 'การยกเลิกการสมัครปิดตัวล้มเหลว',
882
887
  unsubscribeTokenRequired: 'โทเค็นการยกเลิกการสมัครจำเป็น',
883
888
  unsubscribeTokenExpired: 'โทเค็นการยกเลิกสมาชิกหมดอายุ',
884
- unsubscribeTokenInvalid: 'โทเค็นการยกเลิกการสมัครสมาชิกไม่ถูกต้อง'
889
+ unsubscribeTokenInvalid: 'โทเค็นการยกเลิกการสมัครสมาชิกไม่ถูกต้อง',
890
+ installComponentError: 'ไม่พบส่วนประกอบที่ถอนการติดตั้ง {name}',
891
+ installingComponent: 'กำลังติดตั้งส่วนประกอบ {name}'
885
892
  },
886
893
  router: {
887
894
  routerSetting: 'โดเมนและ URL',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: 'ติดตั้งแอปพลิเคชัน',
1403
1410
  purchaseSpace: 'ซื้อพื้นที่',
1404
1411
  prepareSpace: 'เตรียมพื้นที่'
1405
- }
1412
+ },
1413
+ installRelatedDependencies: 'ติดตั้งความสำคัญที่เกี่ยวข้อง',
1414
+ installRelatedComponents: 'ติดตั้งส่วนประกอบที่เกี่ยวข้อง'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: 'รับหนังสือเดินทาง',
package/es/locales/vi.js CHANGED
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: 'Thêm {name}',
578
578
  upgradeNext: 'Nâng cấp {name}',
579
- setting: 'Cài đặt'
579
+ setting: 'Cài đặt',
580
+ components: 'Phụ thuộc của thành phần {name}',
581
+ noDependencies: '{name} không có bất kỳ sự phụ thuộc nào',
582
+ relatedComponents: 'Các thành phần liên quan'
580
583
  },
581
584
  router: {
582
585
  urlPath: 'URL Path',
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: 'Phiên bản Blocklet cần thiết',
658
661
  noDescription: 'Yêu cầu miêu tả Blocklet',
659
662
  noNote: 'Cần có Ghi chú phát hành'
660
- }
663
+ },
664
+ packTip: 'Các thành phần và cấu hình ứng dụng sẽ được tự động bao gồm trong blocklet',
665
+ resourceChangedWarning: 'Bạn đã chỉnh sửa nguồn tài nguyên, vui lòng lưu lại đúng giờ'
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: 'Hủy đăng ký không thành công',
882
887
  unsubscribeTokenRequired: 'Mã token hủy đăng ký bắt buộc',
883
888
  unsubscribeTokenExpired: 'Mã hủy đăng ký đã hết hạn',
884
- unsubscribeTokenInvalid: 'Mã hủy đăng ký không hợp lệ'
889
+ unsubscribeTokenInvalid: 'Mã hủy đăng ký không hợp lệ',
890
+ installComponentError: 'Không tìm thấy thành phần {name} đã gỡ cài đặt',
891
+ installingComponent: 'Đang cài đặt thành phần {name}'
885
892
  },
886
893
  router: {
887
894
  routerSetting: 'Domínio và URL',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: 'Cài đặt Ứng dụng',
1403
1410
  purchaseSpace: 'Mua Không gian',
1404
1411
  prepareSpace: 'Chuẩn bị không gian'
1405
- }
1412
+ },
1413
+ installRelatedDependencies: 'Cài đặt các phụ thuộc liên quan',
1414
+ installRelatedComponents: 'Cài đặt các thành phần liên quan'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: 'Nhận Hộ chiếu',
@@ -576,7 +576,10 @@ export default {
576
576
  },
577
577
  addNext: '新增 {name}',
578
578
  upgradeNext: '升級 {name}',
579
- setting: '設定'
579
+ setting: '設定',
580
+ components: '{name} 元件的相依性',
581
+ noDependencies: '{name}沒有任何依賴',
582
+ relatedComponents: '相關元件'
580
583
  },
581
584
  router: {
582
585
  urlPath: 'URL路徑',
@@ -657,7 +660,9 @@ export default {
657
660
  noVersion: '需要 Blocklet 版本',
658
661
  noDescription: '需要提供 Blocklet 描述',
659
662
  noNote: '需要提供發佈說明'
660
- }
663
+ },
664
+ packTip: '組件和應用程式配置將自動包含在區塊中',
665
+ resourceChangedWarning: '您已修改資源,請儘速保存'
661
666
  }
662
667
  },
663
668
  dashboard: {
@@ -881,7 +886,9 @@ export default {
881
886
  unsubscribeFailed: '取消訂閱失敗',
882
887
  unsubscribeTokenRequired: '必須提供退訂令牌',
883
888
  unsubscribeTokenExpired: '退訂令牌已過期',
884
- unsubscribeTokenInvalid: '退訂令牌無效'
889
+ unsubscribeTokenInvalid: '退訂令牌無效',
890
+ installComponentError: '未找到已卸載的組件 {name}',
891
+ installingComponent: '安裝元件{name}'
885
892
  },
886
893
  router: {
887
894
  routerSetting: '網域和網址',
@@ -1402,7 +1409,9 @@ export default {
1402
1409
  installApp: '安裝應用程式',
1403
1410
  purchaseSpace: '購買空間',
1404
1411
  prepareSpace: '準備空間'
1405
- }
1412
+ },
1413
+ installRelatedDependencies: '安裝相關依賴',
1414
+ installRelatedComponents: '安裝相關元件'
1406
1415
  },
1407
1416
  issuePassport: {
1408
1417
  title: '收到護照',
package/es/locales/zh.js CHANGED
@@ -585,7 +585,10 @@ export default {
585
585
  },
586
586
  addNext: '添加 {name}',
587
587
  upgradeNext: '升级 {name}',
588
- setting: '参数设置'
588
+ setting: '参数设置',
589
+ components: '{name} 组件的依赖',
590
+ noDependencies: '{name}没有任何依赖',
591
+ relatedComponents: '相关组件'
589
592
  },
590
593
  router: {
591
594
  urlPath: 'URL 路径',
@@ -892,7 +895,9 @@ export default {
892
895
  unsubscribeFailed: '取消订阅失败',
893
896
  unsubscribeTokenRequired: '取消订阅链接不存在',
894
897
  unsubscribeTokenExpired: '取消订阅链接已过期',
895
- unsubscribeTokenInvalid: '取消订阅链接有误'
898
+ unsubscribeTokenInvalid: '取消订阅链接有误',
899
+ installComponentError: '未找到卸载的组件 {name}',
900
+ installingComponent: '安装组件{name}'
896
901
  },
897
902
  router: {
898
903
  routerSetting: '域名和网址',
@@ -1417,7 +1422,9 @@ export default {
1417
1422
  installApp: '安装应用',
1418
1423
  purchaseSpace: '选购空间',
1419
1424
  prepareSpace: '准备空间'
1420
- }
1425
+ },
1426
+ installRelatedDependencies: '安装相关依赖',
1427
+ installRelatedComponents: '安装相关组件'
1421
1428
  },
1422
1429
  issuePassport: {
1423
1430
  title: '领取通行证',
@@ -20,7 +20,8 @@ import ExternalIssuerIcon from '@arcblock/icons/lib/ExternalIssuerIcon';
20
20
  import { getTextColor } from '@abtnode/auth/lib/util/create-passport-svg';
21
21
  import Datatable, { getDurableData } from '@arcblock/ux/lib/Datatable';
22
22
  import RelativeTime from '@arcblock/ux/lib/RelativeTime';
23
- import { EVENTS, USER_TYPE } from '@abtnode/constant';
23
+ import { USER_TYPE } from '@abtnode/constant';
24
+ import { TeamEvents } from '@blocklet/constant';
24
25
  import useUrlState from '@ahooksjs/use-url-state';
25
26
  import { useMount } from 'ahooks';
26
27
  import Toast from '@arcblock/ux/lib/Toast';
@@ -241,8 +242,8 @@ export default function MemberList({
241
242
  getUserCounts();
242
243
  }, []); //eslint-disable-line
243
244
 
244
- useSubscription(EVENTS.USER_UPDATED, handleUserChange, [search]);
245
- useSubscription(EVENTS.USER_ADDED, handleUserChange, [search]);
245
+ useSubscription(TeamEvents.userUpdated, handleUserChange, [search]);
246
+ useSubscription(TeamEvents.userAdded, handleUserChange, [search]);
246
247
  const isInvitationEnabled = enablePassportIssuance;
247
248
  const columns = [{
248
249
  label: t('common.name'),
@@ -14,8 +14,8 @@ import ForbidLoginIcon from '@arcblock/icons/lib/ForbidLoginIcon';
14
14
  import AllowLoginIcon from '@arcblock/icons/lib/AllowLoginIcon';
15
15
  import { getTextColor } from '@abtnode/auth/lib/util/create-passport-svg';
16
16
  import { useReactive } from 'ahooks';
17
- import { EVENTS, USER_TYPE } from '@abtnode/constant';
18
- import { LOGIN_PROVIDER } from '@blocklet/constant';
17
+ import { USER_TYPE } from '@abtnode/constant';
18
+ import { LOGIN_PROVIDER, TeamEvents } from '@blocklet/constant';
19
19
  import Tag from '../../tag';
20
20
  import DidAddress from '../../did-address';
21
21
  import Permission from '../../permission';
@@ -120,7 +120,7 @@ export default function Member({
120
120
  getData(teamDid, userDid);
121
121
  }
122
122
  };
123
- useSubscription(EVENTS.USER_UPDATED, onUserEvent, [userDid, teamDid]);
123
+ useSubscription(TeamEvents.userUpdated, onUserEvent, [userDid, teamDid]);
124
124
  useEffect(() => {
125
125
  if (pageState.issuances && !pageState.issuances.length && pageState.tab === 'issuances') {
126
126
  pageState.tab = defaultTab;
package/lib/actions.js CHANGED
@@ -22,8 +22,8 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
22
22
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23
23
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
24
24
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
26
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
25
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
26
+ 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); }
27
27
  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; }
28
28
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
29
29
  function Actions(_ref) {
@@ -17,8 +17,8 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
17
17
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
18
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
19
19
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
20
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
21
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
20
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
21
+ 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); }
22
22
  function InsightCard(_ref) {
23
23
  let {
24
24
  style,
@@ -16,8 +16,8 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
16
16
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
17
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
18
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
20
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
19
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
20
+ 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); }
21
21
  function InsightChart(_ref) {
22
22
  let {
23
23
  id,
@@ -18,8 +18,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
18
18
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19
19
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20
20
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
22
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
21
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
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
  const BorderLinearProgress = (0, _styles.withStyles)(theme => ({
24
24
  root: {
25
25
  height: 10
@@ -35,8 +35,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
35
35
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
36
36
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
37
37
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
38
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
39
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /* eslint-disable react/prop-types */ /* eslint-disable react-hooks/exhaustive-deps */
38
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
39
+ 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/prop-types */ /* eslint-disable react-hooks/exhaustive-deps */
40
40
  const noop = (0, _nthArg.default)(0);
41
41
  const getDefaultRanges = (date, locale) => [{
42
42
  label: 'This Week',
@@ -44,8 +44,8 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
44
44
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
45
45
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
46
46
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
47
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
48
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
47
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
48
+ 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); }
49
49
  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; }
50
50
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
51
51
  function BlockletActions(_ref) {