@arcblock/ux 3.1.30 → 3.1.32
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/lib/NavMenu/products.js +323 -131
- package/lib/SessionUser/components/logged-in.js +41 -39
- package/lib/package.json.js +1 -1
- package/lib/withTracker/action/bind-wallet.d.ts +14 -0
- package/lib/withTracker/action/bind-wallet.js +1 -0
- package/lib/withTracker/action/login.d.ts +15 -0
- package/lib/withTracker/action/login.js +1 -0
- package/lib/withTracker/action/pay.d.ts +12 -0
- package/lib/withTracker/action/pay.js +1 -0
- package/lib/withTracker/action/switch-passport.d.ts +18 -0
- package/lib/withTracker/action/switch-passport.js +1 -0
- package/lib/withTracker/constant/index.d.ts +3 -0
- package/lib/withTracker/constant/index.js +6 -0
- package/lib/withTracker/env.d.ts +1 -0
- package/lib/withTracker/env.js +4 -0
- package/lib/withTracker/index.d.ts +2 -0
- package/lib/withTracker/index.js +21 -17
- package/package.json +7 -7
- package/src/NavMenu/products.tsx +192 -0
- package/src/SessionUser/components/logged-in.tsx +2 -0
- package/src/withTracker/action/bind-wallet.tsx +17 -0
- package/src/withTracker/action/login.tsx +18 -0
- package/src/withTracker/action/pay.tsx +14 -0
- package/src/withTracker/action/switch-passport.tsx +20 -0
- package/src/withTracker/constant/index.tsx +3 -0
- package/src/withTracker/env.tsx +1 -0
- package/src/withTracker/index.tsx +8 -11
package/lib/NavMenu/products.js
CHANGED
@@ -1,31 +1,31 @@
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
2
|
-
import { useRef as
|
2
|
+
import { useRef as $, useState as T, useEffect as S } from "react";
|
3
3
|
import { Link as p } from "react-router-dom";
|
4
|
-
import { useMemoizedFn as
|
5
|
-
import { Box as
|
6
|
-
import
|
7
|
-
import { Item as
|
4
|
+
import { useMemoizedFn as A, useCreation as F } from "ahooks";
|
5
|
+
import { Box as w, useTheme as G } from "@mui/material";
|
6
|
+
import B from "./sub-item-group.js";
|
7
|
+
import { Item as K } from "./nav-menu.js";
|
8
8
|
import { styled as C } from "../Theme/index.js";
|
9
9
|
import { useNavMenuContext as L } from "./nav-menu-context.js";
|
10
|
-
import { translate as
|
11
|
-
import { useLocaleContext as
|
10
|
+
import { translate as E } from "../Locale/util.js";
|
11
|
+
import { useLocaleContext as _ } from "../Locale/context.js";
|
12
12
|
import M from "./images/nft-studio.svg.js";
|
13
13
|
import O from "./images/creator-studio.svg.js";
|
14
14
|
import P from "./images/blocklet-launcher.svg.js";
|
15
|
-
import
|
16
|
-
import
|
15
|
+
import H from "./images/blocklet-store.svg.js";
|
16
|
+
import R from "./images/web3-kit.svg.js";
|
17
17
|
import z from "./images/blocklet-framework.svg.js";
|
18
|
-
import
|
19
|
-
import
|
18
|
+
import j from "./images/abt-network.svg.js";
|
19
|
+
import V from "./images/blocklet-server.svg.js";
|
20
20
|
import q from "./images/OCAP.svg.js";
|
21
21
|
import U from "./images/did.svg.js";
|
22
22
|
import J from "./images/did-wallet.svg.js";
|
23
23
|
import Q from "./images/vc.svg.js";
|
24
24
|
import X from "./images/payment-kit.png";
|
25
25
|
import Y from "./images/aigne.svg.js";
|
26
|
-
import
|
26
|
+
import I from "./images/arcsphere.svg.js";
|
27
27
|
import Z from "./images/aistro.png";
|
28
|
-
const
|
28
|
+
const v = 260, ee = {
|
29
29
|
en: {
|
30
30
|
groups: {
|
31
31
|
applications: "Applications",
|
@@ -217,10 +217,202 @@ const I = 260, ee = {
|
|
217
217
|
description: "一套 API,连接所有模型"
|
218
218
|
}
|
219
219
|
}
|
220
|
+
},
|
221
|
+
"zh-TW": {
|
222
|
+
groups: {
|
223
|
+
applications: "應用",
|
224
|
+
components: "組件",
|
225
|
+
computeStorage: "計算/儲存",
|
226
|
+
identity: "身份",
|
227
|
+
frameworkTools: "框架與工具",
|
228
|
+
modelsAdapters: "模型適配器"
|
229
|
+
},
|
230
|
+
products: {
|
231
|
+
nftStudio: {
|
232
|
+
description: "鑄造和管理 NFT"
|
233
|
+
},
|
234
|
+
creatorStudio: {
|
235
|
+
description: "一體化創作工具"
|
236
|
+
},
|
237
|
+
aigne: {
|
238
|
+
description: "AI 應用的代理生態系統"
|
239
|
+
},
|
240
|
+
arcsphere: {
|
241
|
+
description: "AI 原生瀏覽器"
|
242
|
+
},
|
243
|
+
aistro: {
|
244
|
+
description: "AI 占星術"
|
245
|
+
},
|
246
|
+
blockletLauncher: {
|
247
|
+
description: "一鍵啟動應用程式"
|
248
|
+
},
|
249
|
+
aiKit: {
|
250
|
+
description: "AI 賦能應用"
|
251
|
+
},
|
252
|
+
paymentKit: {
|
253
|
+
description: "便捷的加密貨幣和銀行卡支付"
|
254
|
+
},
|
255
|
+
blockletStore: {
|
256
|
+
description: "發現和部署應用程式"
|
257
|
+
},
|
258
|
+
web3Kit: {
|
259
|
+
description: "Web3 開發工具包"
|
260
|
+
},
|
261
|
+
blockletFramework: {
|
262
|
+
description: "構建並運行 Blocklet"
|
263
|
+
},
|
264
|
+
didSpaces: {
|
265
|
+
description: "安全的個人儲存"
|
266
|
+
},
|
267
|
+
abtNetwork: {
|
268
|
+
description: "快速區塊鏈網路"
|
269
|
+
},
|
270
|
+
blockletServer: {
|
271
|
+
description: "輕鬆託管應用程式"
|
272
|
+
},
|
273
|
+
ocap: {
|
274
|
+
description: "多鏈連接器"
|
275
|
+
},
|
276
|
+
did: {
|
277
|
+
description: "自主身份"
|
278
|
+
},
|
279
|
+
didWallet: {
|
280
|
+
description: "智能數位錢包"
|
281
|
+
},
|
282
|
+
didNameService: {
|
283
|
+
description: "Web3 域名"
|
284
|
+
},
|
285
|
+
vc: {
|
286
|
+
description: "可驗證憑證"
|
287
|
+
},
|
288
|
+
didConnect: {
|
289
|
+
description: "無密碼登入"
|
290
|
+
},
|
291
|
+
aigneCodeSmith: {
|
292
|
+
description: "使用 AI 審查並優化你的程式碼"
|
293
|
+
},
|
294
|
+
aigneDocSmith: {
|
295
|
+
description: "用 AI 生成和更新專案文件"
|
296
|
+
},
|
297
|
+
aigneWebSmith: {
|
298
|
+
description: "構建並部署 AI 驅動的 Web 應用"
|
299
|
+
},
|
300
|
+
aigneCLI: {
|
301
|
+
description: "透過命令列開發 Agent"
|
302
|
+
},
|
303
|
+
aigneObservability: {
|
304
|
+
description: "理解並分析 Agent 的行為"
|
305
|
+
},
|
306
|
+
aigneStudio: {
|
307
|
+
description: "零程式碼構建 Agent"
|
308
|
+
},
|
309
|
+
aigneFramework: {
|
310
|
+
description: "Agent AI 的功能核心框架"
|
311
|
+
},
|
312
|
+
aigneHub: {
|
313
|
+
description: "一套 API,連接所有模型"
|
314
|
+
}
|
315
|
+
}
|
316
|
+
},
|
317
|
+
ja: {
|
318
|
+
groups: {
|
319
|
+
applications: "アプリケーション",
|
320
|
+
components: "コンポーネント",
|
321
|
+
computeStorage: "コンピューティング/ストレージ",
|
322
|
+
identity: "アイデンティティ",
|
323
|
+
frameworkTools: "フレームワークとツール",
|
324
|
+
modelsAdapters: "モデルアダプター"
|
325
|
+
},
|
326
|
+
products: {
|
327
|
+
nftStudio: {
|
328
|
+
description: "NFTの作成と管理"
|
329
|
+
},
|
330
|
+
creatorStudio: {
|
331
|
+
description: "オールインワンクリエイターツール"
|
332
|
+
},
|
333
|
+
aigne: {
|
334
|
+
description: "AIアプリのためのエージェントエコシステム"
|
335
|
+
},
|
336
|
+
arcsphere: {
|
337
|
+
description: "AIネイティブブラウザ"
|
338
|
+
},
|
339
|
+
aistro: {
|
340
|
+
description: "AI駆動占星術"
|
341
|
+
},
|
342
|
+
blockletLauncher: {
|
343
|
+
description: "ワンクリックアプリ起動"
|
344
|
+
},
|
345
|
+
aiKit: {
|
346
|
+
description: "AIでアプリを強化"
|
347
|
+
},
|
348
|
+
paymentKit: {
|
349
|
+
description: "簡単な暗号通貨とカード決済"
|
350
|
+
},
|
351
|
+
blockletStore: {
|
352
|
+
description: "アプリの発見とデプロイ"
|
353
|
+
},
|
354
|
+
web3Kit: {
|
355
|
+
description: "Web3開発ツールキット"
|
356
|
+
},
|
357
|
+
blockletFramework: {
|
358
|
+
description: "Blockletの構築と実行"
|
359
|
+
},
|
360
|
+
didSpaces: {
|
361
|
+
description: "安全な個人ストレージ"
|
362
|
+
},
|
363
|
+
abtNetwork: {
|
364
|
+
description: "高速ブロックチェーンネットワーク"
|
365
|
+
},
|
366
|
+
blockletServer: {
|
367
|
+
description: "アプリの簡単なホスティング"
|
368
|
+
},
|
369
|
+
ocap: {
|
370
|
+
description: "マルチチェーンコネクター"
|
371
|
+
},
|
372
|
+
did: {
|
373
|
+
description: "自己主権ID"
|
374
|
+
},
|
375
|
+
didWallet: {
|
376
|
+
description: "スマートデジタルウォレット"
|
377
|
+
},
|
378
|
+
didNameService: {
|
379
|
+
description: "Web3ドメイン名"
|
380
|
+
},
|
381
|
+
vc: {
|
382
|
+
description: "検証可能な認証情報"
|
383
|
+
},
|
384
|
+
didConnect: {
|
385
|
+
description: "パスワード不要ログイン"
|
386
|
+
},
|
387
|
+
aigneCodeSmith: {
|
388
|
+
description: "AIでコードをレビューし改善"
|
389
|
+
},
|
390
|
+
aigneDocSmith: {
|
391
|
+
description: "AIでドキュメントを生成・更新"
|
392
|
+
},
|
393
|
+
aigneWebSmith: {
|
394
|
+
description: "AI駆動Webアプリの構築とデプロイ"
|
395
|
+
},
|
396
|
+
aigneCLI: {
|
397
|
+
description: "コマンドラインからエージェントを開発"
|
398
|
+
},
|
399
|
+
aigneObservability: {
|
400
|
+
description: "エージェントの動作を理解・分析"
|
401
|
+
},
|
402
|
+
aigneStudio: {
|
403
|
+
description: "コード不要でエージェントを視覚的に作成"
|
404
|
+
},
|
405
|
+
aigneFramework: {
|
406
|
+
description: "エージェントAIの機能コアフレームワーク"
|
407
|
+
},
|
408
|
+
aigneHub: {
|
409
|
+
description: "1つのAPIで全てのモデルに接続"
|
410
|
+
}
|
411
|
+
}
|
220
412
|
}
|
221
|
-
},
|
413
|
+
}, ie = C(w)`
|
222
414
|
padding: 8px;
|
223
|
-
background: ${({ theme:
|
415
|
+
background: ${({ theme: t }) => t.palette.grey[100]};
|
224
416
|
border-radius: 8px;
|
225
417
|
|
226
418
|
&.is-inline {
|
@@ -239,85 +431,85 @@ const I = 260, ee = {
|
|
239
431
|
.MuiGrid-container + .MuiGrid-container {
|
240
432
|
margin-top: 0px;
|
241
433
|
}
|
242
|
-
`,
|
243
|
-
({ theme:
|
434
|
+
`, oe = C(w, { shouldForwardProp: (t) => t !== "maxContent" })(
|
435
|
+
({ theme: t, maxContent: c }) => ({
|
244
436
|
display: "grid",
|
245
|
-
gap:
|
437
|
+
gap: t.spacing(1),
|
246
438
|
gridTemplateColumns: `repeat(1, ${c}px)`,
|
247
|
-
[
|
439
|
+
[t.breakpoints.up("md")]: {
|
248
440
|
gridTemplateColumns: `repeat(2, ${c}px)`
|
249
441
|
},
|
250
|
-
[
|
442
|
+
[t.breakpoints.up("lg")]: {
|
251
443
|
gridTemplateColumns: `repeat(3, ${c}px)`
|
252
444
|
}
|
253
445
|
})
|
254
446
|
);
|
255
|
-
function y({ color:
|
447
|
+
function y({ color: t = "black", backgroundColor: c = "transparent", children: a }) {
|
256
448
|
return /* @__PURE__ */ e(
|
257
|
-
|
449
|
+
w,
|
258
450
|
{
|
259
451
|
component: "span",
|
260
452
|
sx: {
|
261
453
|
display: "inline-flex",
|
262
454
|
alignItems: "center",
|
263
455
|
justifyContent: "center",
|
264
|
-
color:
|
456
|
+
color: t,
|
265
457
|
backgroundColor: c,
|
266
458
|
borderRadius: "4px"
|
267
459
|
},
|
268
|
-
children:
|
460
|
+
children: a
|
269
461
|
}
|
270
462
|
);
|
271
463
|
}
|
272
|
-
function
|
273
|
-
return /* @__PURE__ */ e(y, { color:
|
464
|
+
function h({ color: t = "black", backgroundColor: c = "transparent" }) {
|
465
|
+
return /* @__PURE__ */ e(y, { color: t, backgroundColor: c, children: /* @__PURE__ */ e(U, { style: { width: "100%" } }) });
|
274
466
|
}
|
275
|
-
function
|
276
|
-
return /* @__PURE__ */ e(y, { color:
|
467
|
+
function s({ color: t = "black", backgroundColor: c = "transparent" }) {
|
468
|
+
return /* @__PURE__ */ e(y, { color: t, backgroundColor: c, children: /* @__PURE__ */ e(Y, { style: { width: "100%", height: "100%" } }) });
|
277
469
|
}
|
278
|
-
const
|
470
|
+
const W = (t) => {
|
279
471
|
try {
|
280
|
-
return new URL(
|
472
|
+
return new URL(t).origin !== window.location.origin;
|
281
473
|
} catch {
|
282
474
|
return !1;
|
283
475
|
}
|
284
476
|
};
|
285
|
-
function
|
286
|
-
return
|
477
|
+
function o({ to: t, children: c, className: a = "", ...u }) {
|
478
|
+
return W(t) ? /* @__PURE__ */ e(p, { to: t, target: "_blank", rel: "noreferrer noopener", className: a, ...u, children: c }) : /* @__PURE__ */ e(p, { to: t, className: a, ...u, children: c });
|
287
479
|
}
|
288
|
-
function
|
289
|
-
const { mode: u } = L(),
|
290
|
-
if (!
|
291
|
-
const n =
|
292
|
-
let
|
480
|
+
function $e({ className: t = "", type: c, ...a }) {
|
481
|
+
const { mode: u } = L(), k = G(), { locale: r = "en" } = _() || {}, l = $(null), { palette: f } = k, i = A((n, d = {}) => E(ee, n, r, "en", d)), [N, D] = T(v), m = A(() => {
|
482
|
+
if (!l.current) return;
|
483
|
+
const n = l.current.querySelectorAll(".navmenu-item__content");
|
484
|
+
let d = v;
|
293
485
|
n.forEach((b) => {
|
294
|
-
const
|
295
|
-
|
296
|
-
}),
|
486
|
+
const g = b.getBoundingClientRect().width + 64;
|
487
|
+
g > d && (d = g);
|
488
|
+
}), D(d);
|
297
489
|
});
|
298
490
|
S(() => {
|
299
491
|
m();
|
300
|
-
}, [
|
301
|
-
if (!
|
302
|
-
const n =
|
492
|
+
}, [k, r, c, m]), S(() => {
|
493
|
+
if (!l.current) return;
|
494
|
+
const n = l.current.querySelector(".navmenu-item__content");
|
303
495
|
if (!n) return;
|
304
|
-
const
|
496
|
+
const d = new ResizeObserver(() => {
|
305
497
|
m();
|
306
498
|
});
|
307
|
-
return
|
308
|
-
|
499
|
+
return d.observe(n), () => {
|
500
|
+
d.disconnect();
|
309
501
|
};
|
310
502
|
}, [m]);
|
311
|
-
const
|
503
|
+
const x = F(() => {
|
312
504
|
if (c === "ARCBLOCK")
|
313
505
|
return [
|
314
506
|
{
|
315
507
|
type: "Group",
|
316
|
-
label:
|
508
|
+
label: i("groups.applications"),
|
317
509
|
children: [
|
318
510
|
{
|
319
|
-
label: /* @__PURE__ */ e(
|
320
|
-
description:
|
511
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.nftstudio.rocks/${r}`, children: "NFT Studio" }),
|
512
|
+
description: i("products.nftStudio.description"),
|
321
513
|
icon: /* @__PURE__ */ e(M, {})
|
322
514
|
},
|
323
515
|
{
|
@@ -330,50 +522,50 @@ function De({ className: i = "", type: c, ...l }) {
|
|
330
522
|
children: "Creator Studio"
|
331
523
|
}
|
332
524
|
),
|
333
|
-
description:
|
525
|
+
description: i("products.creatorStudio.description"),
|
334
526
|
icon: /* @__PURE__ */ e(O, {})
|
335
527
|
},
|
336
528
|
{
|
337
|
-
label: /* @__PURE__ */ e(
|
338
|
-
description:
|
339
|
-
icon: /* @__PURE__ */ e(
|
529
|
+
label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/", children: "AIGNE" }),
|
530
|
+
description: i("products.aigne.description"),
|
531
|
+
icon: /* @__PURE__ */ e(s, { color: f.mode === "dark" ? "white" : "black" })
|
340
532
|
},
|
341
533
|
{
|
342
|
-
label: /* @__PURE__ */ e(
|
343
|
-
description:
|
344
|
-
icon: /* @__PURE__ */ e(
|
534
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.arcsphere.io/${r}`, children: "ArcSphere" }),
|
535
|
+
description: i("products.arcsphere.description"),
|
536
|
+
icon: /* @__PURE__ */ e(I, {})
|
345
537
|
}
|
346
538
|
]
|
347
539
|
},
|
348
540
|
{
|
349
541
|
type: "Group",
|
350
|
-
label:
|
542
|
+
label: i("groups.components"),
|
351
543
|
children: [
|
352
544
|
{
|
353
|
-
label: /* @__PURE__ */ e(
|
354
|
-
description:
|
545
|
+
label: /* @__PURE__ */ e(o, { to: `https://launcher.arcblock.io/${r}`, children: "Blocklet Launcher" }),
|
546
|
+
description: i("products.blockletLauncher.description"),
|
355
547
|
icon: /* @__PURE__ */ e(P, {})
|
356
548
|
},
|
357
549
|
{
|
358
|
-
label: /* @__PURE__ */ e(
|
359
|
-
description:
|
550
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.blocklet.io/${r}/payment-kit`, children: "Payment Kit" }),
|
551
|
+
description: i("products.paymentKit.description"),
|
360
552
|
icon: /* @__PURE__ */ e("img", { src: X, alt: "Payment Kit" })
|
361
553
|
},
|
362
554
|
{
|
363
|
-
label: /* @__PURE__ */ e(
|
364
|
-
description:
|
365
|
-
icon: /* @__PURE__ */ e(
|
555
|
+
label: /* @__PURE__ */ e(o, { to: `https://store.blocklet.dev/?locale=${r}`, children: "Blocklet Store" }),
|
556
|
+
description: i("products.blockletStore.description"),
|
557
|
+
icon: /* @__PURE__ */ e(H, {})
|
366
558
|
},
|
367
559
|
{
|
368
|
-
label: /* @__PURE__ */ e(
|
369
|
-
description:
|
370
|
-
icon: /* @__PURE__ */ e(
|
560
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.web3kit.rocks/${r}`, children: "Web3 Kit" }),
|
561
|
+
description: i("products.web3Kit.description"),
|
562
|
+
icon: /* @__PURE__ */ e(R, {})
|
371
563
|
}
|
372
564
|
]
|
373
565
|
},
|
374
566
|
{
|
375
567
|
type: "Group",
|
376
|
-
label:
|
568
|
+
label: i("groups.computeStorage"),
|
377
569
|
children: [
|
378
570
|
{
|
379
571
|
label: /* @__PURE__ */ e(
|
@@ -385,146 +577,146 @@ function De({ className: i = "", type: c, ...l }) {
|
|
385
577
|
children: "Blocklet Framework"
|
386
578
|
}
|
387
579
|
),
|
388
|
-
description:
|
580
|
+
description: i("products.blockletFramework.description"),
|
389
581
|
icon: /* @__PURE__ */ e(z, {})
|
390
582
|
},
|
391
583
|
{
|
392
584
|
label: /* @__PURE__ */ e(p, { to: `https://www.didspaces.com/${r}`, target: "_blank", rel: "noreferrer noopener", children: "DID Spaces" }),
|
393
|
-
description:
|
394
|
-
icon: /* @__PURE__ */ e(
|
585
|
+
description: i("products.didSpaces.description"),
|
586
|
+
icon: /* @__PURE__ */ e(h, { color: "#876bf4" })
|
395
587
|
},
|
396
588
|
{
|
397
589
|
label: /* @__PURE__ */ e(p, { to: "https://main.abtnetwork.io/", target: "_blank", rel: "noreferrer noopener", children: "ABT Network" }),
|
398
|
-
description:
|
399
|
-
icon: /* @__PURE__ */ e(
|
590
|
+
description: i("products.abtNetwork.description"),
|
591
|
+
icon: /* @__PURE__ */ e(j, {})
|
400
592
|
},
|
401
593
|
{
|
402
|
-
label: /* @__PURE__ */ e(
|
403
|
-
description:
|
404
|
-
icon: /* @__PURE__ */ e(
|
594
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.blocklet.io/${r}/blocklet-server`, children: "Blocklet Server" }),
|
595
|
+
description: i("products.blockletServer.description"),
|
596
|
+
icon: /* @__PURE__ */ e(V, {})
|
405
597
|
},
|
406
598
|
{
|
407
|
-
label: /* @__PURE__ */ e(
|
408
|
-
description:
|
599
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.arcblock.io/content/collections/${r}/ocap`, children: "ОСАР" }),
|
600
|
+
description: i("products.ocap.description"),
|
409
601
|
icon: /* @__PURE__ */ e(q, {})
|
410
602
|
}
|
411
603
|
]
|
412
604
|
},
|
413
605
|
{
|
414
606
|
type: "Group",
|
415
|
-
label:
|
607
|
+
label: i("groups.identity"),
|
416
608
|
children: [
|
417
609
|
{
|
418
|
-
label: /* @__PURE__ */ e(
|
419
|
-
description:
|
420
|
-
icon: /* @__PURE__ */ e(
|
610
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.arcblock.io/content/collections/${r}/did`, children: "DID" }),
|
611
|
+
description: i("products.did.description"),
|
612
|
+
icon: /* @__PURE__ */ e(h, { color: "#5b96f3" })
|
421
613
|
},
|
422
614
|
{
|
423
|
-
label: /* @__PURE__ */ e(
|
424
|
-
description:
|
615
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.didwallet.io/${r}`, children: "DID Wallet" }),
|
616
|
+
description: i("products.didWallet.description"),
|
425
617
|
icon: /* @__PURE__ */ e(J, {})
|
426
618
|
},
|
427
619
|
{
|
428
620
|
label: /* @__PURE__ */ e(p, { to: `https://www.didnames.io/${r}`, target: "_blank", rel: "noreferrer noopener", children: "DID Names" }),
|
429
|
-
description:
|
430
|
-
icon: /* @__PURE__ */ e(
|
621
|
+
description: i("products.didNameService.description"),
|
622
|
+
icon: /* @__PURE__ */ e(h, { color: "#678ab0" })
|
431
623
|
},
|
432
624
|
{
|
433
|
-
label: /* @__PURE__ */ e(
|
434
|
-
description:
|
625
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.arcblock.io/content/collections/${r}/verifiable-credential`, children: "VC" }),
|
626
|
+
description: i("products.vc.description"),
|
435
627
|
icon: /* @__PURE__ */ e(Q, {})
|
436
628
|
},
|
437
629
|
{
|
438
|
-
label: /* @__PURE__ */ e(
|
439
|
-
description:
|
440
|
-
icon: /* @__PURE__ */ e(
|
630
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.didconnect.io/${r}`, children: "DID Connect" }),
|
631
|
+
description: i("products.didConnect.description"),
|
632
|
+
icon: /* @__PURE__ */ e(h, { color: "#5bbec5" })
|
441
633
|
}
|
442
634
|
]
|
443
635
|
}
|
444
636
|
];
|
445
637
|
if (c === "AIGNE") {
|
446
638
|
const n = {
|
447
|
-
onClick: (
|
448
|
-
|
449
|
-
const b =
|
450
|
-
window.open(b,
|
639
|
+
onClick: (d) => {
|
640
|
+
d.preventDefault();
|
641
|
+
const b = d.currentTarget.href, g = W(b) ? "_blank" : "_self";
|
642
|
+
window.open(b, g);
|
451
643
|
}
|
452
644
|
};
|
453
645
|
return [
|
454
646
|
{
|
455
647
|
type: "Group",
|
456
|
-
label:
|
648
|
+
label: i("groups.applications"),
|
457
649
|
children: [
|
458
650
|
{
|
459
|
-
label: /* @__PURE__ */ e(
|
460
|
-
description:
|
461
|
-
icon: /* @__PURE__ */ e(
|
651
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.arcsphere.io/${r}`, children: "ArcSphere" }),
|
652
|
+
description: i("products.arcsphere.description"),
|
653
|
+
icon: /* @__PURE__ */ e(I, {})
|
462
654
|
},
|
463
655
|
{
|
464
|
-
label: /* @__PURE__ */ e(
|
465
|
-
description:
|
656
|
+
label: /* @__PURE__ */ e(o, { to: `https://www.aistro.io/${r}`, children: "Aistro" }),
|
657
|
+
description: i("products.aistro.description"),
|
466
658
|
icon: /* @__PURE__ */ e("img", { src: Z, alt: "Aistro" })
|
467
659
|
},
|
468
660
|
{
|
469
|
-
label: /* @__PURE__ */ e(
|
470
|
-
description:
|
471
|
-
icon: /* @__PURE__ */ e(
|
661
|
+
label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/code-smith", ...n, children: "AIGNE CodeSmith" }),
|
662
|
+
description: i("products.aigneCodeSmith.description"),
|
663
|
+
icon: /* @__PURE__ */ e(s, { color: "#56a596", backgroundColor: "#e9fcf6" })
|
472
664
|
},
|
473
665
|
{
|
474
|
-
label: /* @__PURE__ */ e(
|
475
|
-
description:
|
476
|
-
icon: /* @__PURE__ */ e(
|
666
|
+
label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/doc-smith", ...n, children: "AIGNE DocSmith" }),
|
667
|
+
description: i("products.aigneDocSmith.description"),
|
668
|
+
icon: /* @__PURE__ */ e(s, { color: "#e46f38", backgroundColor: "#f7e0d7" })
|
477
669
|
},
|
478
670
|
{
|
479
|
-
label: /* @__PURE__ */ e(
|
480
|
-
description:
|
481
|
-
icon: /* @__PURE__ */ e(
|
671
|
+
label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/web-smith", ...n, children: "AIGNE WebSmith" }),
|
672
|
+
description: i("products.aigneWebSmith.description"),
|
673
|
+
icon: /* @__PURE__ */ e(s, { color: "#7c45eb", backgroundColor: "#f0e9ff" })
|
482
674
|
}
|
483
675
|
]
|
484
676
|
},
|
485
677
|
{
|
486
678
|
type: "Group",
|
487
|
-
label:
|
679
|
+
label: i("groups.frameworkTools"),
|
488
680
|
children: [
|
489
681
|
{
|
490
|
-
label: /* @__PURE__ */ e(
|
491
|
-
description:
|
492
|
-
icon: /* @__PURE__ */ e(
|
682
|
+
label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/cli", ...n, children: "AIGNE CLI" }),
|
683
|
+
description: i("products.aigneCLI.description"),
|
684
|
+
icon: /* @__PURE__ */ e(s, { color: "#d05d4e", backgroundColor: "#faeaea" })
|
493
685
|
},
|
494
686
|
{
|
495
|
-
label: /* @__PURE__ */ e(
|
496
|
-
description:
|
497
|
-
icon: /* @__PURE__ */ e(
|
687
|
+
label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/observability", ...n, children: "AIGNE Observability" }),
|
688
|
+
description: i("products.aigneObservability.description"),
|
689
|
+
icon: /* @__PURE__ */ e(s, { color: "#6ba456", backgroundColor: "#edfae8" })
|
498
690
|
},
|
499
691
|
{
|
500
|
-
label: /* @__PURE__ */ e(
|
501
|
-
description:
|
502
|
-
icon: /* @__PURE__ */ e(
|
692
|
+
label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/studio", ...n, children: "AIGNE Studio" }),
|
693
|
+
description: i("products.aigneStudio.description"),
|
694
|
+
icon: /* @__PURE__ */ e(s, { color: "#676cbf", backgroundColor: "#edeeff" })
|
503
695
|
},
|
504
696
|
{
|
505
|
-
label: /* @__PURE__ */ e(
|
506
|
-
description:
|
507
|
-
icon: /* @__PURE__ */ e(
|
697
|
+
label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/framework", ...n, children: "AIGNE Framework" }),
|
698
|
+
description: i("products.aigneFramework.description"),
|
699
|
+
icon: /* @__PURE__ */ e(s, { color: "#5086d0", backgroundColor: "#eef4ff" })
|
508
700
|
}
|
509
701
|
]
|
510
702
|
},
|
511
703
|
{
|
512
704
|
type: "Group",
|
513
|
-
label:
|
705
|
+
label: i("groups.modelsAdapters"),
|
514
706
|
children: [
|
515
707
|
{
|
516
|
-
label: /* @__PURE__ */ e(
|
517
|
-
description:
|
518
|
-
icon: /* @__PURE__ */ e(
|
708
|
+
label: /* @__PURE__ */ e(o, { to: "https://www.aigne.io/hub", ...n, children: "AIGNE Hub" }),
|
709
|
+
description: i("products.aigneHub.description"),
|
710
|
+
icon: /* @__PURE__ */ e(s, { color: "#e4930b", backgroundColor: "#fbf4d4" })
|
519
711
|
}
|
520
712
|
]
|
521
713
|
}
|
522
714
|
];
|
523
715
|
}
|
524
716
|
return [];
|
525
|
-
}, [
|
526
|
-
return /* @__PURE__ */ e(
|
717
|
+
}, [i, r, f]);
|
718
|
+
return /* @__PURE__ */ e(ie, { ref: l, className: `nav-menu-products is-${u} ${t}`, ...a, children: x.map((n) => /* @__PURE__ */ e(B, { label: n.label, children: /* @__PURE__ */ e(oe, { maxContent: N, children: n.children.map((d) => /* @__PURE__ */ e(K, { variant: "panel", style: { padding: "8px" }, ...d })) }) }, n.label)) });
|
527
719
|
}
|
528
720
|
export {
|
529
|
-
|
721
|
+
$e as default
|
530
722
|
};
|