@abtnode/ux 1.16.26-beta-818ea1c5 → 1.16.26-beta-351de484

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 (81) hide show
  1. package/es/blocklet/{oauth → authentication/federated}/federated-detail-dialog.js +2 -2
  2. package/es/blocklet/{oauth → authentication/federated}/federated-join-dialog.js +2 -2
  3. package/es/blocklet/{oauth → authentication/federated}/federated-site-list.js +3 -3
  4. package/es/blocklet/{oauth/federated.js → authentication/federated/index.js} +1 -1
  5. package/es/blocklet/{oauth → authentication}/index.js +7 -5
  6. package/es/blocklet/authentication/oauth/apple.js +198 -0
  7. package/es/blocklet/{oauth → authentication/oauth}/auth0.js +27 -7
  8. package/es/blocklet/authentication/oauth/drag-item.js +177 -0
  9. package/es/blocklet/authentication/oauth/github.js +145 -0
  10. package/es/blocklet/authentication/oauth/google.js +144 -0
  11. package/es/blocklet/authentication/oauth/index.js +122 -0
  12. package/es/blocklet/preferences/index.js +6 -6
  13. package/es/blocklet/publish/connect-store-list.js +8 -6
  14. package/es/blocklet/publish/create-release.js +16 -7
  15. package/es/blocklet/publish/project-list.js +30 -3
  16. package/es/confirm.js +5 -2
  17. package/es/layout/feedback.js +7 -4
  18. package/es/locales/ar.js +34 -4
  19. package/es/locales/de.js +35 -5
  20. package/es/locales/en.js +34 -4
  21. package/es/locales/es.js +35 -5
  22. package/es/locales/fr.js +35 -5
  23. package/es/locales/hi.js +35 -5
  24. package/es/locales/i18n.db +0 -0
  25. package/es/locales/id.js +35 -5
  26. package/es/locales/ja.js +34 -4
  27. package/es/locales/ko.js +35 -5
  28. package/es/locales/pt.js +35 -5
  29. package/es/locales/ru.js +34 -4
  30. package/es/locales/th.js +34 -4
  31. package/es/locales/vi.js +34 -4
  32. package/es/locales/zh-tw.js +34 -4
  33. package/es/locales/zh.js +35 -5
  34. package/es/store/connect-actions.js +14 -5
  35. package/es/store/delete.js +7 -3
  36. package/es/store/item.js +99 -20
  37. package/es/team/members/index.js +16 -13
  38. package/es/team/members/member.js +2 -7
  39. package/lib/blocklet/{oauth → authentication/federated}/federated-detail-dialog.js +2 -2
  40. package/lib/blocklet/{oauth → authentication/federated}/federated-join-dialog.js +2 -2
  41. package/lib/blocklet/{oauth → authentication/federated}/federated-site-list.js +3 -3
  42. package/lib/blocklet/{oauth/federated.js → authentication/federated/index.js} +1 -1
  43. package/lib/blocklet/{oauth → authentication}/index.js +7 -5
  44. package/lib/blocklet/authentication/oauth/apple.js +226 -0
  45. package/lib/blocklet/authentication/oauth/auth0.js +189 -0
  46. package/lib/blocklet/authentication/oauth/drag-item.js +185 -0
  47. package/lib/blocklet/{oauth/auth0.js → authentication/oauth/github.js} +26 -25
  48. package/lib/blocklet/authentication/oauth/google.js +166 -0
  49. package/lib/blocklet/authentication/oauth/index.js +136 -0
  50. package/lib/blocklet/preferences/index.js +6 -6
  51. package/lib/blocklet/publish/connect-store-list.js +9 -8
  52. package/lib/blocklet/publish/create-release.js +16 -6
  53. package/lib/blocklet/publish/project-list.js +29 -2
  54. package/lib/confirm.js +7 -4
  55. package/lib/layout/feedback.js +6 -3
  56. package/lib/locales/ar.js +34 -4
  57. package/lib/locales/de.js +35 -5
  58. package/lib/locales/en.js +34 -4
  59. package/lib/locales/es.js +35 -5
  60. package/lib/locales/fr.js +35 -5
  61. package/lib/locales/hi.js +35 -5
  62. package/lib/locales/i18n.db +0 -0
  63. package/lib/locales/id.js +35 -5
  64. package/lib/locales/ja.js +34 -4
  65. package/lib/locales/ko.js +35 -5
  66. package/lib/locales/pt.js +35 -5
  67. package/lib/locales/ru.js +34 -4
  68. package/lib/locales/th.js +34 -4
  69. package/lib/locales/vi.js +34 -4
  70. package/lib/locales/zh-tw.js +34 -4
  71. package/lib/locales/zh.js +35 -5
  72. package/lib/store/connect-actions.js +14 -5
  73. package/lib/store/delete.js +7 -3
  74. package/lib/store/item.js +111 -19
  75. package/lib/team/members/index.js +13 -11
  76. package/lib/team/members/member.js +1 -6
  77. package/package.json +30 -20
  78. /package/es/blocklet/{oauth → authentication}/common-settings.js +0 -0
  79. /package/es/blocklet/{oauth → authentication/federated}/federated-invite-dialog.js +0 -0
  80. /package/lib/blocklet/{oauth → authentication}/common-settings.js +0 -0
  81. /package/lib/blocklet/{oauth → authentication/federated}/federated-invite-dialog.js +0 -0
@@ -12,10 +12,11 @@ var _item = _interopRequireDefault(require("../../store/item"));
12
12
  var _jsxRuntime = require("react/jsx-runtime");
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
14
  function ConnectStoreList(_ref) {
15
- var _blocklet$settings, _blocklet$settings4, _blocklet$meta;
15
+ var _blocklet$settings, _blocklet$meta;
16
16
  let {
17
17
  blocklet,
18
18
  releaseId,
19
+ connectedStores,
19
20
  projectId,
20
21
  releaseType,
21
22
  publishedStoreIds,
@@ -24,15 +25,14 @@ function ConnectStoreList(_ref) {
24
25
  } = _ref;
25
26
  const storeList = (blocklet === null || blocklet === void 0 || (_blocklet$settings = blocklet.settings) === null || _blocklet$settings === void 0 ? void 0 : _blocklet$settings.storeList) || [];
26
27
  const connectedMap = (0, _react.useMemo)(() => {
27
- var _blocklet$settings2, _blocklet$settings3;
28
- if (!(blocklet !== null && blocklet !== void 0 && (_blocklet$settings2 = blocklet.settings) !== null && _blocklet$settings2 !== void 0 && _blocklet$settings2.connectedStores)) {
28
+ if (!(connectedStores !== null && connectedStores !== void 0 && connectedStores.length)) {
29
29
  return {};
30
30
  }
31
- return blocklet === null || blocklet === void 0 || (_blocklet$settings3 = blocklet.settings) === null || _blocklet$settings3 === void 0 || (_blocklet$settings3 = _blocklet$settings3.connectedStores) === null || _blocklet$settings3 === void 0 ? void 0 : _blocklet$settings3.reduce((acc, x) => {
32
- acc[x.storeUrl] = x;
31
+ return connectedStores === null || connectedStores === void 0 ? void 0 : connectedStores.reduce((acc, x) => {
32
+ acc[x.storeId] = x;
33
33
  return acc;
34
34
  }, {});
35
- }, [blocklet === null || blocklet === void 0 || (_blocklet$settings4 = blocklet.settings) === null || _blocklet$settings4 === void 0 ? void 0 : _blocklet$settings4.connectedStores]);
35
+ }, [connectedStores]);
36
36
  const did = blocklet === null || blocklet === void 0 || (_blocklet$meta = blocklet.meta) === null || _blocklet$meta === void 0 ? void 0 : _blocklet$meta.did;
37
37
  const handleAddStore = () => {};
38
38
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.List, {
@@ -47,7 +47,7 @@ function ConnectStoreList(_ref) {
47
47
  teamDid: did,
48
48
  store: x,
49
49
  published: (publishedStoreIds === null || publishedStoreIds === void 0 ? void 0 : publishedStoreIds.indexOf(x.id)) > -1,
50
- connected: !!connectedMap[x.url],
50
+ connectedStore: connectedMap[x.id],
51
51
  onPublish: onPublish,
52
52
  onDelete: onDelete
53
53
  })
@@ -66,7 +66,8 @@ ConnectStoreList.propTypes = {
66
66
  releaseType: _propTypes.default.string.isRequired,
67
67
  onPublish: _propTypes.default.func,
68
68
  onDelete: _propTypes.default.func,
69
- publishedStoreIds: _propTypes.default.arrayOf(_propTypes.default.string)
69
+ publishedStoreIds: _propTypes.default.arrayOf(_propTypes.default.string),
70
+ connectedStores: _propTypes.default.arrayOf(_propTypes.default.object).isRequired
70
71
  };
71
72
  ConnectStoreList.defaultProps = {
72
73
  publishedStoreIds: [],
@@ -126,9 +126,10 @@ const addComponentTabs = _ref => {
126
126
  });
127
127
  };
128
128
  const pickParams = (release, app) => {
129
- const params = (0, _pick.default)(release, ['blockletVersion', 'blockletTitle', 'blockletDescription', 'blockletLogo', 'blockletIntroduction', 'blockletScreenshots', 'blockletComponents', 'publishedStoreIds', 'note']);
129
+ const params = (0, _pick.default)(release, ['blockletVersion', 'blockletTitle', 'blockletDescription', 'blockletLogo', 'blockletIntroduction', 'blockletScreenshots', 'blockletComponents', 'publishedStoreIds', 'connectedStores', 'note']);
130
130
  params.blockletScreenshots || (params.blockletScreenshots = []);
131
131
  params.publishedStoreIds || (params.publishedStoreIds = []);
132
+ params.connectedStores || (params.connectedStores = []);
132
133
  if (!params.blockletComponents) {
133
134
  params.blockletComponents = (app.children || []).map(x => ({
134
135
  did: x.meta.did,
@@ -167,7 +168,10 @@ function CreateRelease(_ref2) {
167
168
  const [createLoading, setCreateLoading] = (0, _react.useState)(false);
168
169
  const [release, setRelease] = (0, _react.useState)(null);
169
170
  const {
170
- api
171
+ api,
172
+ ws: {
173
+ useSubscription
174
+ }
171
175
  } = (0, _node.useNodeContext)();
172
176
  const uploaderLogoRef = (0, _react.useRef)(null);
173
177
  const uploaderScreenshotRef = (0, _react.useRef)(null);
@@ -240,7 +244,7 @@ function CreateRelease(_ref2) {
240
244
  }
241
245
  }).then(res => {
242
246
  setLoading(false);
243
- setParams(pickParams(res === null || res === void 0 ? void 0 : res.release, blocklet));
247
+ // setParams(pickParams(res?.release, blocklet));
244
248
  setRelease(res === null || res === void 0 ? void 0 : res.release);
245
249
  }).catch(err => {
246
250
  setLoading(false);
@@ -255,9 +259,7 @@ function CreateRelease(_ref2) {
255
259
  }
256
260
  getRelease();
257
261
  }
258
- if (mode === 'create') {
259
- getProject();
260
- }
262
+ getProject();
261
263
  // eslint-disable-next-line react-hooks/exhaustive-deps
262
264
  }, [mode, releaseId]);
263
265
  const onRelease = status => {
@@ -389,6 +391,12 @@ function CreateRelease(_ref2) {
389
391
  (0, _react.useEffect)(() => {
390
392
  getData();
391
393
  }, [getData]);
394
+ useSubscription(_constant2.EVENTS.NOTIFICATION_BLOCKLET_CREATE, notification => {
395
+ var _notification$meta;
396
+ if ((notification === null || notification === void 0 || (_notification$meta = notification.meta) === null || _notification$meta === void 0 ? void 0 : _notification$meta.eventType) === _constant2.STUDIO_CONNECTED_STORE) {
397
+ getData();
398
+ }
399
+ }, [getData]);
392
400
  if (!params && loading) {
393
401
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_emptySpinner.default, {});
394
402
  }
@@ -972,6 +980,8 @@ function CreateRelease(_ref2) {
972
980
  projectId: projectId,
973
981
  releaseId: releaseId,
974
982
  onPublish: getRelease,
983
+ onDelete: getData,
984
+ connectedStores: params.connectedStores,
975
985
  publishedStoreIds: release === null || release === void 0 ? void 0 : release.publishedStoreIds
976
986
  })
977
987
  })]
@@ -15,6 +15,7 @@ var _Delete = _interopRequireDefault(require("@mui/icons-material/Delete"));
15
15
  var _FileOpen = _interopRequireDefault(require("@mui/icons-material/FileOpen"));
16
16
  var _AddBox = _interopRequireDefault(require("@mui/icons-material/AddBox"));
17
17
  var _HelpOutlineOutlined = _interopRequireDefault(require("@mui/icons-material/HelpOutlineOutlined"));
18
+ var _Error = _interopRequireDefault(require("@mui/icons-material/Error"));
18
19
  var _constant = require("@abtnode/constant");
19
20
  var _Datatable = _interopRequireDefault(require("@arcblock/ux/lib/Datatable"));
20
21
  var _Button = _interopRequireDefault(require("@arcblock/ux/lib/Button"));
@@ -368,10 +369,36 @@ function ProjectList() {
368
369
  }
369
370
  }), deleteConfirm && /*#__PURE__*/(0, _jsxRuntime.jsx)(_confirm.default, {
370
371
  title: "".concat(t('common.delete'), " ").concat(deleteConfirm.blockletTitle),
371
- description: t('blocklet.publish.deleteBlockletTip'),
372
+ description: t('blocklet.publish.deleteProject.description'),
372
373
  confirm: t('common.confirm'),
373
374
  onConfirm: confirmDeleteProject,
374
- onCancel: () => setDeleteConfirm(null)
375
+ onCancel: () => setDeleteConfirm(null),
376
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Box.default, {
377
+ sx: {
378
+ marginTop: 2
379
+ },
380
+ children: [t('blocklet.publish.deleteProject.tip1'), t('blocklet.publish.deleteProject.tip2'), t('blocklet.publish.deleteProject.tip3')].map(x => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Box.default, {
381
+ sx: {
382
+ display: 'flex',
383
+ marginTop: 1,
384
+ flexDirection: 'row',
385
+ alignItems: 'flex-start'
386
+ },
387
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Error.default, {
388
+ color: "warning",
389
+ sx: {
390
+ marginRight: 1,
391
+ fontSize: 20,
392
+ marginTop: '2px'
393
+ }
394
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Typography, {
395
+ component: "span",
396
+ variant: "inherit",
397
+ color: "text.secondary",
398
+ children: x
399
+ })]
400
+ }))
401
+ })
375
402
  }), didConnect]
376
403
  });
377
404
  }
package/lib/confirm.js CHANGED
@@ -22,7 +22,7 @@ var _util = require("./util");
22
22
  var _mobileWidth = _interopRequireDefault(require("./hooks/mobile-width"));
23
23
  var _jsxRuntime = require("react/jsx-runtime");
24
24
  var _templateObject;
25
- const _excluded = ["title", "description", "showCancel", "cancel", "confirm", "color", "params", "onCancel", "onConfirm", "loading", "displayError"];
25
+ const _excluded = ["title", "description", "showCancel", "cancel", "confirm", "color", "params", "onCancel", "onConfirm", "loading", "displayError", "children"];
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
27
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
28
28
  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; }
@@ -44,7 +44,8 @@ function ConfirmDialog(_ref) {
44
44
  onCancel,
45
45
  onConfirm,
46
46
  loading: inputLoading,
47
- displayError
47
+ displayError,
48
+ children
48
49
  } = _ref,
49
50
  rest = _objectWithoutProperties(_ref, _excluded);
50
51
  const [params, setParams] = (0, _react.useState)(initialParams);
@@ -107,7 +108,7 @@ function ConfirmDialog(_ref) {
107
108
  marginTop: 8
108
109
  },
109
110
  children: error
110
- })]
111
+ }), children]
111
112
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_DialogActions.default, {
112
113
  className: "delete-actions",
113
114
  style: {
@@ -156,9 +157,11 @@ ConfirmDialog.propTypes = {
156
157
  onCancel: _propTypes.default.func,
157
158
  onConfirm: _propTypes.default.func.isRequired,
158
159
  loading: _propTypes.default.bool,
159
- displayError: _propTypes.default.bool
160
+ displayError: _propTypes.default.bool,
161
+ children: _propTypes.default.any
160
162
  };
161
163
  ConfirmDialog.defaultProps = {
164
+ children: undefined,
162
165
  onCancel: () => {},
163
166
  showCancel: true,
164
167
  cancel: '',
@@ -19,10 +19,13 @@ function Feedback(_ref) {
19
19
  const {
20
20
  t
21
21
  } = (0, _context.useLocaleContext)();
22
+ const feedbackUrl = new URL('https://community.arcblock.io/discussions/add');
23
+ infos.forEach(x => {
24
+ feedbackUrl.searchParams.set(x.label, x.value);
25
+ });
22
26
  const infoStr = infos.map(x => "* ".concat(x.label, ": ").concat(x.value)).join('\n');
23
- const feedbackUrl = new URL('https://github.com/blocklet/blocklet-site/issues/new');
24
- feedbackUrl.searchParams.set('title', '[Feedback]');
25
- feedbackUrl.searchParams.set('body', "<!-- [Enter feedback here] -->\n\n\n\n<!--\nDocument Details\n".concat(infoStr, "\n* Page: ").concat(window.location.href, "\n-->\n"));
27
+ feedbackUrl.searchParams.set('report', 'server');
28
+ feedbackUrl.searchParams.set('context', "[Enter feedback here]\n\n\n\n<!--\n[Server Info]\n".concat(infoStr, "\n* Page: ").concat(window.location.href, "\n-->\n"));
26
29
  return (0, _jsxRuntime.jsx)(_material.Box, {
27
30
  sx: {
28
31
  mx: {
package/lib/locales/ar.js CHANGED
@@ -669,7 +669,6 @@ var _default = exports.default = {
669
669
  blockletEmptyTip: 'لا توجد أي كتل هنا',
670
670
  createBlockletTip: 'يمكنك إنشاء وحدة جديدة من خلال الموارد والمكونات والتكوين الحالي في هذا التطبيق',
671
671
  createBlocklet: 'بلوكليت جديد',
672
- deleteBlockletTip: 'لا يمكن استعادة البلوكليت بعد الحذف ، يرجى التأكيد',
673
672
  componentNotRunning: 'المكون {name} غير قيد التشغيل ، يرجى تشغيله أولاً',
674
673
  releaseEmptyTip: 'لا توجد أي إصدارات هنا',
675
674
  createReleaseTip: 'يمكنك إنشاء إصدار للـ بلوكليت، جنباً إلى جنب مع ملاحظات الإصدار والموارد، ليستخدمها الآخرون.',
@@ -714,7 +713,11 @@ var _default = exports.default = {
714
713
  title: 'احذف {name}',
715
714
  scan: 'امسح رمز الاستجابة السريعة أدناه لحذف {name}',
716
715
  confirm: 'يرجى تأكيد استخدام محفظة الهوية اللامركزية',
717
- success: 'تم حذف مشروع Blocklet ، يرجى متابعة العملية الخاصة بك.'
716
+ success: 'تم حذف مشروع Blocklet ، يرجى متابعة العملية الخاصة بك.',
717
+ tip1: 'لن يكون من الممكن استعادة مشروع Blocklet بعد الحذف',
718
+ tip2: 'لن تكون قادرًا بعد الآن على نشر إصدارات جديدة للبلوكليت المحذوف ، مما يعني أن البلوكليت لن يتم تحديثه في المتجر بعد الآن.',
719
+ tip3: 'سيؤدي حذف البلوكليت إلى ضرورة نشر الإصدار الحالي منه في المتجر.',
720
+ description: 'بعد حذف البلوكليت، ستواجه المشكلات التالية، هل أنت متأكد أنك تريد حذفه؟'
718
721
  }
719
722
  },
720
723
  titleValidationError: 'يجب أن يكون طول العنوان على الأقل 3 أحرف',
@@ -1691,12 +1694,39 @@ var _default = exports.default = {
1691
1694
  domain: 'مجال',
1692
1695
  domainDescription: 'مطلوب نطاق Auth0',
1693
1696
  clientId: 'معرف العميل',
1694
- clientIdDescribe: 'مطلوب معرف عميل Auth0'
1697
+ clientIdDescribe: 'مطلوب معرف عميل Auth0',
1698
+ clientSecret: 'سر العميل'
1695
1699
  },
1696
1700
  comingSoon: 'تحت الإنشاء طرق تسجيل الدخول الأخرى.',
1697
1701
  moreLogin: 'تسجيل الدخول المزيد',
1698
1702
  federated: 'تسجيل الدخول الموحد',
1699
- runTest: 'اختبار'
1703
+ runTest: 'اختبار',
1704
+ github: {
1705
+ enable: 'تمكين تسجيل الدخول على Github',
1706
+ clientId: 'معرف العميل',
1707
+ clientIdDescribe: 'مطلوب معرف عميل (clientId) لتطبيق Github OAuth',
1708
+ clientSecret: 'سر العميل',
1709
+ clientSecretDescribe: 'مطلوب clientSecret لتطبيق Github OAuth'
1710
+ },
1711
+ google: {
1712
+ enable: 'تفعيل تسجيل الدخول في جوجل',
1713
+ clientId: 'معرف العميل',
1714
+ clientIdDescribe: 'مطلوب معرف تطبيق Google OAuth',
1715
+ clientSecret: 'سر العميل',
1716
+ clientSecretDescribe: 'مطلوب clientSecret لتطبيق Google OAuth'
1717
+ },
1718
+ apple: {
1719
+ enable: 'تفعيل تسجيل الدخول الخاص بـ آبل',
1720
+ teamId: 'رقم فريق',
1721
+ teamIdDescribe: 'مطلوب معرف فريق لتطبيق Apple OAuth',
1722
+ serviceId: 'رقم الخدمة',
1723
+ serviceIdDescribe: 'مطلوب معرف خدمة لتطبيق Apple OAuth',
1724
+ keyId: 'مفتاح ID',
1725
+ keyIdDescribe: 'مطلوب مفتاح تطبيق OAuth لأبل',
1726
+ authKey: 'مفتاح Auth',
1727
+ authKeyDescribe: 'مفتاح المصادقة لتطبيق Apple OAuth مطلوب'
1728
+ },
1729
+ oauth: 'تسجيل الدخول من طرف ثالث'
1700
1730
  },
1701
1731
  expiration: {
1702
1732
  mobile: {
package/lib/locales/de.js CHANGED
@@ -669,7 +669,6 @@ var _default = exports.default = {
669
669
  blockletEmptyTip: 'Es gibt hier keine Blocklets',
670
670
  createBlockletTip: 'Sie können über vorhandene Ressourcen, Komponenten und Konfigurationen in dieser Anwendung einen neuen Blocklet erstellen',
671
671
  createBlocklet: 'Neuer Blocklet',
672
- deleteBlockletTip: 'Der Blocklet kann nach dem Löschen nicht wiederhergestellt werden, bitte bestätigen',
673
672
  componentNotRunning: 'Komponente {name} läuft nicht, starten Sie sie bitte zuerst',
674
673
  releaseEmptyTip: 'Es gibt hier keine Veröffentlichungen',
675
674
  createReleaseTip: 'Du kannst eine Veröffentlichung des Blocklets erstellen, zusammen mit Versionshinweisen und Ressourcen, die andere Personen nutzen können.',
@@ -714,7 +713,11 @@ var _default = exports.default = {
714
713
  title: 'Lösche {name}',
715
714
  scan: 'Scanne den QR-Code unten, um {name} zu löschen',
716
715
  confirm: 'Bitte bestätigen Sie die Verwendung der DID-Brieftasche',
717
- success: 'Das Blocklet-Projekt wurde gelöscht, bitte fahren Sie mit Ihrer Operation fort.'
716
+ success: 'Das Blocklet-Projekt wurde gelöscht, bitte fahren Sie mit Ihrer Operation fort.',
717
+ tip1: 'Das Blocklet-Projekt kann nach der Löschung nicht wiederhergestellt werden',
718
+ tip2: 'Sie können keine neuen Versionen mehr für den gelöschten Blocklet veröffentlichen, was bedeutet, dass das Blocklet nicht mehr im Store aktualisiert wird.',
719
+ tip3: 'Das Löschen des Blocklets hat keine Auswirkungen auf seine derzeit veröffentlichte Version im Store.',
720
+ description: 'Nach dem Löschen der Blocklet werden Sie auf die folgenden Probleme stoßen. Sind Sie sicher, dass Sie es löschen möchten?'
718
721
  }
719
722
  },
720
723
  titleValidationError: 'Die Länge des Titels muss mindestens 3 Zeichen betragen',
@@ -1690,13 +1693,40 @@ var _default = exports.default = {
1690
1693
  enable: 'Auth0-Anmeldung aktivieren',
1691
1694
  domain: 'Domain',
1692
1695
  domainDescription: 'Die Domäne von Auth0 ist erforderlich',
1693
- clientId: 'Kundennummer',
1694
- clientIdDescribe: 'Die clientId von Auth0 ist erforderlich'
1696
+ clientId: 'Kunden-ID',
1697
+ clientIdDescribe: 'Die clientId von Auth0 ist erforderlich',
1698
+ clientSecret: 'Geheimclient'
1695
1699
  },
1696
1700
  comingSoon: 'Es werden weitere Anmeldeverfahren entwickelt.',
1697
1701
  moreLogin: 'Mehr Anmeldung',
1698
1702
  federated: 'Föderiertes Login',
1699
- runTest: 'Test'
1703
+ runTest: 'Test',
1704
+ github: {
1705
+ enable: 'Aktiviere Github-Anmeldung',
1706
+ clientId: 'Client ID',
1707
+ clientIdDescribe: 'Für die Github OAuth-Anwendung ist eine clientId erforderlich',
1708
+ clientSecret: 'Client Secret',
1709
+ clientSecretDescribe: 'Für die Github OAuth-Anwendung ist ein clientSecret erforderlich'
1710
+ },
1711
+ google: {
1712
+ enable: 'Google-Anmeldung aktivieren',
1713
+ clientId: 'Client ID',
1714
+ clientIdDescribe: 'Für die Google OAuth-Anwendung ist die Client-ID erforderlich',
1715
+ clientSecret: 'Geheimnis des Kunden',
1716
+ clientSecretDescribe: 'Für die Google OAuth-Anwendung ist ein clientSecret erforderlich'
1717
+ },
1718
+ apple: {
1719
+ enable: 'Anmeldung mit Apple aktivieren',
1720
+ teamId: 'Team-ID',
1721
+ teamIdDescribe: 'Für die Apple OAuth-Anwendung ist eine Team-ID erforderlich',
1722
+ serviceId: 'Service-ID',
1723
+ serviceIdDescribe: 'Für die Apple OAuth-Anwendung ist eine Dienst-ID erforderlich',
1724
+ keyId: 'Schlüssel-ID',
1725
+ keyIdDescribe: 'Für Apple OAuth ist eine Anwendungsschlüssel-ID erforderlich',
1726
+ authKey: 'Auth Schlüssel',
1727
+ authKeyDescribe: 'Authentifizierungsschlüssel für Apple OAuth-Anwendung erforderlich'
1728
+ },
1729
+ oauth: 'Drittanbieter-Anmeldung'
1700
1730
  },
1701
1731
  expiration: {
1702
1732
  mobile: {
package/lib/locales/en.js CHANGED
@@ -666,7 +666,6 @@ var _default = exports.default = {
666
666
  blockletEmptyTip: 'There aren’t any blocklets here',
667
667
  createBlockletTip: 'You can create new blocklet through existing resources, components, and configuration in this application',
668
668
  createBlocklet: 'New blocklet',
669
- deleteBlockletTip: "The blocklet cannot be recovered after deletion, You also can't republish a new version of the app in question, please confirm",
670
669
  reconnectStoreTip: 'After reconnecting, a new developer will be bound. Are you sure you want to reconnect?',
671
670
  componentNotRunning: 'Component {name} is not running, please start it first',
672
671
  releaseEmptyTip: "There aren't any releases here",
@@ -695,7 +694,11 @@ var _default = exports.default = {
695
694
  title: 'Delete {name}',
696
695
  scan: 'Scan the QR code below to delete {name}',
697
696
  confirm: 'Confirm using DID Wallet',
698
- success: 'Blocklet project has been deleted, please continue your operation'
697
+ success: 'Blocklet has been deleted, please continue your operation',
698
+ description: 'Are you sure you want to delete the Blocklet? Here are the issues you might encounter:',
699
+ tip1: 'The Blocklet cannot be recovered after deletion.',
700
+ tip2: 'You will no longer be able to publish new versions to the deleted Blocklet, which means that the Blocklet will not be updated in the Store anymore.',
701
+ tip3: 'Deleting the Blocklet will not affect its currently published version in the Store.'
699
702
  },
700
703
  saveDraft: 'Save Draft',
701
704
  releaseNote: 'Release Note',
@@ -1680,12 +1683,39 @@ var _default = exports.default = {
1680
1683
  enable: 'Enable Auth0 login',
1681
1684
  domain: 'Domain',
1682
1685
  domainDescription: "Auth0's domain is required",
1683
- clientId: 'ClientID',
1684
- clientIdDescribe: "Auth0's clientId is required"
1686
+ clientId: 'Client ID',
1687
+ clientIdDescribe: "Auth0's clientId is required",
1688
+ clientSecret: 'Client Secret'
1689
+ },
1690
+ github: {
1691
+ enable: 'Enable Github login',
1692
+ clientId: 'Client ID',
1693
+ clientIdDescribe: 'Github OAuth application clientId is required',
1694
+ clientSecret: 'Client Secret',
1695
+ clientSecretDescribe: 'Github OAuth application clientSecret is required'
1696
+ },
1697
+ google: {
1698
+ enable: 'Enable Google login',
1699
+ clientId: 'Client ID',
1700
+ clientIdDescribe: 'Google OAuth application clientId is required',
1701
+ clientSecret: 'Client Secret',
1702
+ clientSecretDescribe: 'Google OAuth application clientSecret is required'
1703
+ },
1704
+ apple: {
1705
+ enable: 'Enable Apple login',
1706
+ teamId: 'Team ID',
1707
+ teamIdDescribe: 'Apple OAuth application Team ID is required',
1708
+ serviceId: 'Service ID',
1709
+ serviceIdDescribe: 'Apple OAuth application Service ID is required',
1710
+ keyId: 'Key ID',
1711
+ keyIdDescribe: 'Apple OAuth application Key ID is required',
1712
+ authKey: 'Auth Key',
1713
+ authKeyDescribe: 'Apple OAuth application Auth Key is required'
1685
1714
  },
1686
1715
  comingSoon: 'More login methods are under construction',
1687
1716
  moreLogin: 'More Login',
1688
1717
  federated: 'Federated Login',
1718
+ oauth: 'Third Party Login',
1689
1719
  runTest: 'Test'
1690
1720
  },
1691
1721
  expiration: {
package/lib/locales/es.js CHANGED
@@ -669,7 +669,6 @@ var _default = exports.default = {
669
669
  blockletEmptyTip: 'Aquí no hay bloqueadores',
670
670
  createBlockletTip: 'Puede crear un nuevo blocklet a través de recursos, componentes y configuración existentes en esta aplicación',
671
671
  createBlocklet: 'Nuevo bloque',
672
- deleteBlockletTip: 'El blocklet no puede ser recuperado después de ser eliminado, por favor confirma',
673
672
  componentNotRunning: 'El componente {name} no está en ejecución, por favor iniciar primero',
674
673
  releaseEmptyTip: 'No hay ninguna versión aquí',
675
674
  createReleaseTip: 'Puedes crear una versión de la blocklet, junto con notas de lanzamiento y recursos, para que otras personas la puedan utilizar',
@@ -714,7 +713,11 @@ var _default = exports.default = {
714
713
  title: 'Borrar {name}',
715
714
  scan: 'Escanee el código QR a continuación para eliminar a {name}',
716
715
  confirm: 'Confirmar usando el monedero DID',
717
- success: 'El proyecto Blocklet ha sido eliminado, por favor continúa tu operación'
716
+ success: 'El proyecto Blocklet ha sido eliminado, por favor continúa tu operación',
717
+ tip1: 'El proyecto de Blocklet no será recuperable después de su eliminación',
718
+ tip2: 'Ya no podrás publicar nuevas versiones del Blocklet eliminado, lo que significa que el Blocklet ya no se actualizará en la tienda.',
719
+ tip3: 'Borrar el Bloque no afectará su versión actualmente publicada en la Tienda.',
720
+ description: 'Después de eliminar el Blocklet, te encontrarás con los siguientes problemas, ¿estás seguro de que quieres eliminarlo?'
718
721
  }
719
722
  },
720
723
  titleValidationError: 'La longitud del título debe ser de al menos 3 caracteres',
@@ -1690,13 +1693,40 @@ var _default = exports.default = {
1690
1693
  enable: 'Habilitar inicio de sesión de Auth0',
1691
1694
  domain: 'Dominio',
1692
1695
  domainDescription: 'Se requiere el dominio de Auth0',
1693
- clientId: 'ClienteID',
1694
- clientIdDescribe: 'Se requiere el clientId de Auth0'
1696
+ clientId: 'ID de cliente',
1697
+ clientIdDescribe: 'Se requiere el clientId de Auth0',
1698
+ clientSecret: 'Clave secreta de cliente'
1695
1699
  },
1696
1700
  comingSoon: 'Más métodos de inicio de sesión están en construcción',
1697
1701
  moreLogin: 'Inicio de sesión',
1698
1702
  federated: 'Inicio de sesión federado',
1699
- runTest: 'Prueba'
1703
+ runTest: 'Prueba',
1704
+ github: {
1705
+ enable: 'Habilitar inicio de sesión de GitHub',
1706
+ clientId: 'Id. de cliente',
1707
+ clientIdDescribe: 'Se requiere clientId de la aplicación OAuth de Github',
1708
+ clientSecret: 'Cliente Secreto',
1709
+ clientSecretDescribe: 'La información clientSecret de la aplicación de Github OAuth es obligatoria'
1710
+ },
1711
+ google: {
1712
+ enable: 'Habilitar inicio de sesión de Google',
1713
+ clientId: 'ID de Cliente',
1714
+ clientIdDescribe: 'Se requiere el clientId de la aplicación de Google OAuth',
1715
+ clientSecret: 'secreto del cliente',
1716
+ clientSecretDescribe: 'La clave secreta del cliente de la aplicación OAuth de Google es obligatoria'
1717
+ },
1718
+ apple: {
1719
+ enable: 'Habilitar inicio de sesión con Apple',
1720
+ teamId: 'Identificación del equipo',
1721
+ teamIdDescribe: 'Se requiere el Id del equipo para la aplicación OAuth de Apple',
1722
+ serviceId: 'ID de Servicio',
1723
+ serviceIdDescribe: 'Se requiere el ID del servicio de la aplicación Apple OAuth',
1724
+ keyId: 'ID de la clave',
1725
+ keyIdDescribe: 'Se requiere la identificación de clave de aplicación OAuth de Apple',
1726
+ authKey: 'Clave de Autenticación',
1727
+ authKeyDescribe: 'Se requiere la clave de autenticación de la aplicación OAuth de Apple'
1728
+ },
1729
+ oauth: 'Ingreso de Tercera Parte'
1700
1730
  },
1701
1731
  expiration: {
1702
1732
  mobile: {
package/lib/locales/fr.js CHANGED
@@ -669,7 +669,6 @@ var _default = exports.default = {
669
669
  blockletEmptyTip: "Il n'y a pas de blocs ici",
670
670
  createBlockletTip: 'Vous pouvez créer un nouveau blocklet à partir des ressources, composants et configurations existants dans cette application',
671
671
  createBlocklet: 'Nouvelle blocklet',
672
- deleteBlockletTip: 'Le bloclet ne peut pas être récupéré après sa suppression, veuillez confirmer',
673
672
  componentNotRunning: "Le composant {name} ne fonctionne pas, veuillez le démarrer d'abord",
674
673
  releaseEmptyTip: "Il n'y a pas de sorties ici",
675
674
  createReleaseTip: "Vous pouvez créer une version du blocklet, ainsi que des notes de version et des ressources, pour que d'autres personnes puissent les utiliser.",
@@ -714,7 +713,11 @@ var _default = exports.default = {
714
713
  title: 'Supprimez {name}',
715
714
  scan: 'Scannez le code QR ci-dessous pour supprimer {name}',
716
715
  confirm: "Veuillez confirmer l'utilisation du portefeuille DID",
717
- success: 'Le projet Blocklet a été supprimé, veuillez poursuivre votre opération.'
716
+ success: 'Le projet Blocklet a été supprimé, veuillez poursuivre votre opération.',
717
+ tip1: 'Le projet Blocklet ne pourra pas être récupéré après sa suppression',
718
+ tip2: 'Vous ne pourrez plus publier de nouvelles versions du bloc supprimé, ce qui signifie que le bloc ne sera plus mis à jour dans le Store.',
719
+ tip3: "La suppression du Blocklet n'affectera pas sa version actuellement publiée dans le Store.",
720
+ description: 'Après avoir supprimé le Blocklet, vous rencontrerez les problèmes suivants. Êtes-vous sûr de vouloir le supprimer ?'
718
721
  }
719
722
  },
720
723
  titleValidationError: "La longueur du titre doit être d'au moins 3 caractères",
@@ -1690,13 +1693,40 @@ var _default = exports.default = {
1690
1693
  enable: 'Activer la connexion Auth0',
1691
1694
  domain: 'Domaine',
1692
1695
  domainDescription: "Le domaine d'Auth0 est requis",
1693
- clientId: 'ID client',
1694
- clientIdDescribe: "Le clientId d'Auth0 est requis"
1696
+ clientId: 'Identifiant client',
1697
+ clientIdDescribe: "Le clientId d'Auth0 est requis",
1698
+ clientSecret: 'Secret du client'
1695
1699
  },
1696
1700
  comingSoon: 'Plus de méthodes de connexion sont en cours de construction.',
1697
1701
  moreLogin: 'Plus de connexion',
1698
1702
  federated: 'Connexion fédérée',
1699
- runTest: 'Test'
1703
+ runTest: 'Test',
1704
+ github: {
1705
+ enable: 'Activer la connexion Github',
1706
+ clientId: 'Identifiant client',
1707
+ clientIdDescribe: "L'application Github OAuth nécessite un clientId",
1708
+ clientSecret: 'Secret client',
1709
+ clientSecretDescribe: "L'application Github OAuth nécessite un clientSecret"
1710
+ },
1711
+ google: {
1712
+ enable: 'Activer la connexion Google',
1713
+ clientId: 'Identifiant client',
1714
+ clientIdDescribe: "L'identifiant de l'application Google OAuth est nécessaire",
1715
+ clientSecret: 'Client secret',
1716
+ clientSecretDescribe: "L'application Google OAuth nécessite un clientSecret"
1717
+ },
1718
+ apple: {
1719
+ enable: 'Activer la connexion Apple',
1720
+ teamId: "Identifiant d'équipe",
1721
+ teamIdDescribe: "Un identifiant d'équipe est nécessaire pour l'application Apple OAuth",
1722
+ serviceId: 'Identifiant de service',
1723
+ serviceIdDescribe: "Un identifiant de service est nécessaire pour l'application Apple OAuth",
1724
+ keyId: 'Clé ID',
1725
+ keyIdDescribe: "Une clé d'application OAuth Apple est requise",
1726
+ authKey: 'Clé Auth',
1727
+ authKeyDescribe: "Clé d'authentification pour l'application Apple OAuth requise"
1728
+ },
1729
+ oauth: 'Connexion tierce partie'
1700
1730
  },
1701
1731
  expiration: {
1702
1732
  mobile: {
package/lib/locales/hi.js CHANGED
@@ -669,7 +669,6 @@ var _default = exports.default = {
669
669
  blockletEmptyTip: 'यहाँ कोई ब्लॉकलेट नहीं हैं',
670
670
  createBlockletTip: 'आप इस ऐप्लिकेशन में मौजूदा संसाधनों, कॉम्पोनेंट्स और कॉन्फ़िगरेशन के माध्यम से नया ब्लॉकलेट बना सकते हैं',
671
671
  createBlocklet: 'नया ब्लॉकलेट',
672
- deleteBlockletTip: 'हटाने के बाद ब्लॉकलेट को पुनर्प्राप्त नहीं किया जा सकता है, कृपया पुष्टि करें',
673
672
  componentNotRunning: 'संघ {name} चल नहीं रहा है, कृपया पहले इसे शुरू करें',
674
673
  releaseEmptyTip: 'यहां कोई रिलीज़ नहीं हैं',
675
674
  createReleaseTip: 'आप ब्लॉकलेट का एक रिलीज़ बना सकते हैं, रिलीज़ नोट्स और संसाधनों के साथ, जिन्हें दूसरे लोगों का उपयोग कर सकते हैं।',
@@ -714,7 +713,11 @@ var _default = exports.default = {
714
713
  title: '{name} को हटाएं',
715
714
  scan: 'नीचे दिए गए क्यूआर कोड स्कैन करें और {name} को हटाएं',
716
715
  confirm: 'कृपया डीआईडी वॉलेट का प्रयोग करके पुष्टि करें',
717
- success: 'ब्लॉकलेट प्रोजेक्ट हटा दिया गया है, कृपया अपने आपरेशन को जारी रखें।'
716
+ success: 'ब्लॉकलेट प्रोजेक्ट हटा दिया गया है, कृपया अपने आपरेशन को जारी रखें।',
717
+ tip1: 'हटाने के बाद ब्लॉकलेट परियोजना को पुनर्प्राप्त नहीं किया जा सकेगा',
718
+ tip2: 'आप अब नष्ट किए गए ब्लॉकलेट को नई संस्करणों को प्रकाशित करने के लिए उपयोग नहीं कर पाएंगे, जिसका मतलब है कि स्टोर में ब्लॉकलेट अब अद्यतित नहीं होगा।',
719
+ tip3: 'ब्लॉकलेट को हटाने से स्टोर में वर्तमान में प्रकाशित संस्करण पर कोई प्रभाव नहीं पड़ेगा।',
720
+ description: 'ब्लॉकलेट को हटाने के बाद, आप निम्नलिखित समस्याओं का सामना करेंगे, क्या आप वाकई इसे हटाना चाहते हैं?'
718
721
  }
719
722
  },
720
723
  titleValidationError: 'शीर्षक की लंबाई कम से कम 3 अक्षर होनी चाहिए',
@@ -1690,13 +1693,40 @@ var _default = exports.default = {
1690
1693
  enable: 'Auth0 लॉगिन सक्षम करें',
1691
1694
  domain: 'डोमेन',
1692
1695
  domainDescription: 'Auth0 के डोमेन की आवश्यकता है',
1693
- clientId: 'ग्राहक आईडी',
1694
- clientIdDescribe: 'Auth0 की clientId की आवश्यकता है'
1696
+ clientId: 'क्लाइंट आईडी',
1697
+ clientIdDescribe: 'Auth0 की clientId की आवश्यकता है',
1698
+ clientSecret: 'क्लाइंट सीक्रेट'
1695
1699
  },
1696
1700
  comingSoon: 'और लॉगिन विधियाँ निर्माणाधीन हैं।',
1697
1701
  moreLogin: 'लॉगिन को अधिक करें',
1698
1702
  federated: 'संघीय लॉगिन',
1699
- runTest: 'परीक्षण'
1703
+ runTest: 'परीक्षण',
1704
+ github: {
1705
+ enable: 'एनएबल गिटहब लॉगिन',
1706
+ clientId: 'क्लायंट आईडी',
1707
+ clientIdDescribe: 'गिटहब ओएचएच एप्लिकेशन के लिए क्लायंट आईडी आवश्यक है',
1708
+ clientSecret: 'क्लायंट सिक्रेट',
1709
+ clientSecretDescribe: 'गिटहब ओएचएच एप्लिकेशन के लिए क्लाइंट सिक्रेट आवश्यक है'
1710
+ },
1711
+ google: {
1712
+ enable: 'गूगल लॉगिन सक्रिय करें',
1713
+ clientId: 'क्लायंट आईडी',
1714
+ clientIdDescribe: 'गूगल ओएचएच ऐप्लिकेशन के लिए क्लायंट आईडी आवश्यक है',
1715
+ clientSecret: 'ग्राहक गुप्त',
1716
+ clientSecretDescribe: 'गूगल ओएचएच एप्लिकेशन के लिए clientSecret आवश्यक है'
1717
+ },
1718
+ apple: {
1719
+ enable: 'Apple लॉगिन सक्षम करें',
1720
+ teamId: 'टीम आईडी',
1721
+ teamIdDescribe: 'एप्पल ओएचएटी (OAuth) अनुप्रयोग के लिए टीम आईडी आवश्यक है',
1722
+ serviceId: 'सेवा आईडी',
1723
+ serviceIdDescribe: 'एप्पल ओएचएट अनुप्रयोग के लिए सेवा आईडी आवश्यक है',
1724
+ keyId: 'की आईडी',
1725
+ keyIdDescribe: 'एप्पल ओएचएट के लिए अनुप्रयोग की की-ID आवश्यक है',
1726
+ authKey: 'ऑथ की',
1727
+ authKeyDescribe: 'Apple OAuth एप्लीकेशन ऑथ कुंजी आवश्यक है'
1728
+ },
1729
+ oauth: 'ट्हर्ड पार्टी लॉगिन'
1700
1730
  },
1701
1731
  expiration: {
1702
1732
  mobile: {
Binary file