@ludo.ninja/components 2.2.13 → 2.2.14
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.
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@ludo.ninja/core");
|
|
4
|
+
const adminTabs = [
|
|
5
|
+
{
|
|
6
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.ethereum).getBlockChainPublicLabel(),
|
|
7
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.ethereum).getBlockChainPrivateLabel(),
|
|
8
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.ethereum).getBlockChainIconRegular({
|
|
9
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
10
|
+
ENV: 'ludo.com',
|
|
11
|
+
})}`,
|
|
12
|
+
}),
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.avalanche).getBlockChainPublicLabel(),
|
|
16
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.avalanche).getBlockChainPrivateLabel(),
|
|
17
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.avalanche).getBlockChainIconRegular({
|
|
18
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
19
|
+
ENV: 'ludo.com',
|
|
20
|
+
})}`,
|
|
21
|
+
}),
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.polygon).getBlockChainPublicLabel(),
|
|
25
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.polygon).getBlockChainPrivateLabel(),
|
|
26
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.polygon).getBlockChainIconRegular({
|
|
27
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
28
|
+
ENV: 'ludo.com',
|
|
29
|
+
})}`,
|
|
30
|
+
}),
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.binance).getBlockChainPublicLabel(),
|
|
34
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.binance).getBlockChainPrivateLabel(),
|
|
35
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.binance).getBlockChainIconRegular({
|
|
36
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
37
|
+
ENV: 'ludo.com',
|
|
38
|
+
})}`,
|
|
39
|
+
}),
|
|
40
|
+
},
|
|
41
|
+
];
|
|
42
|
+
exports.default = adminTabs;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@ludo.ninja/core");
|
|
4
|
+
const basicTabs = [
|
|
5
|
+
{
|
|
6
|
+
label: 'EVM',
|
|
7
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.ethereum).getBlockChainPrivateLabel(),
|
|
8
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.ethereum).getBlockChainIconRegular({
|
|
9
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
10
|
+
ENV: 'ludo.com',
|
|
11
|
+
})}`,
|
|
12
|
+
}),
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.elrond).getBlockChainPublicLabel(),
|
|
16
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.elrond).getBlockChainPrivateLabel(),
|
|
17
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.elrond).getBlockChainIconRegular({
|
|
18
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
19
|
+
ENV: 'ludo.com',
|
|
20
|
+
})}`,
|
|
21
|
+
}),
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.ton).getBlockChainPublicLabel(),
|
|
25
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.ton).getBlockChainPrivateLabel(),
|
|
26
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.ton).getBlockChainIconRegular({
|
|
27
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
28
|
+
ENV: 'ludo.com',
|
|
29
|
+
})}`,
|
|
30
|
+
}),
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: 'Web2 Login',
|
|
34
|
+
privateLabel: 'web2_Login',
|
|
35
|
+
icon: '/mail.svg',
|
|
36
|
+
},
|
|
37
|
+
// {
|
|
38
|
+
// id: Math.random(),
|
|
39
|
+
// label: new BlockChainEntity(
|
|
40
|
+
// BlockChainKeys.polygon
|
|
41
|
+
// ).getBlockChainPublicLabel(),
|
|
42
|
+
// icon: new BlockChainEntity(BlockChainKeys.polygon).getBlockChainIconRegular(
|
|
43
|
+
// {
|
|
44
|
+
// domain: `${getStaticDomain({
|
|
45
|
+
// ENV: 'ludo.com,
|
|
46
|
+
// })}`,
|
|
47
|
+
// }
|
|
48
|
+
// ),
|
|
49
|
+
// },
|
|
50
|
+
// {
|
|
51
|
+
// id: Math.random(),
|
|
52
|
+
// label: new BlockChainEntity(
|
|
53
|
+
// BlockChainKeys.avalanche
|
|
54
|
+
// ).getBlockChainPublicLabel(),
|
|
55
|
+
// icon: new BlockChainEntity(
|
|
56
|
+
// BlockChainKeys.avalanche
|
|
57
|
+
// ).getBlockChainIconRegular({
|
|
58
|
+
// domain: `${getStaticDomain({
|
|
59
|
+
// ENV: 'ludo.com,
|
|
60
|
+
// })}`,
|
|
61
|
+
// }),
|
|
62
|
+
// },
|
|
63
|
+
{
|
|
64
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.solana).getBlockChainPublicLabel(),
|
|
65
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.solana).getBlockChainPrivateLabel(),
|
|
66
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.solana).getBlockChainIconRegular({
|
|
67
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
68
|
+
ENV: 'ludo.com',
|
|
69
|
+
})}`,
|
|
70
|
+
}),
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.flow).getBlockChainPublicLabel(),
|
|
74
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.flow).getBlockChainPrivateLabel(),
|
|
75
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.flow).getBlockChainIconRegular({
|
|
76
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
77
|
+
ENV: 'ludo.com',
|
|
78
|
+
})}`,
|
|
79
|
+
}),
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.binance).getBlockChainPublicLabel(),
|
|
83
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.binance).getBlockChainPrivateLabel(),
|
|
84
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.binance).getBlockChainIconRegular({
|
|
85
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
86
|
+
ENV: 'ludo.com',
|
|
87
|
+
})}`,
|
|
88
|
+
}),
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
label: new core_1.BlockChainEntity(core_1.BlockChainKeys.tezos).getBlockChainPublicLabel(),
|
|
92
|
+
privateLabel: new core_1.BlockChainEntity(core_1.BlockChainKeys.tezos).getBlockChainPrivateLabel(),
|
|
93
|
+
icon: new core_1.BlockChainEntity(core_1.BlockChainKeys.tezos).getBlockChainIconRegular({
|
|
94
|
+
domain: `${(0, core_1.getStaticDomain)({
|
|
95
|
+
ENV: 'ludo.com',
|
|
96
|
+
})}`,
|
|
97
|
+
}),
|
|
98
|
+
},
|
|
99
|
+
// {
|
|
100
|
+
// id: Math.random(),
|
|
101
|
+
// label: new BlockChainEntity(
|
|
102
|
+
// BlockChainKeys.arbitrum
|
|
103
|
+
// ).getBlockChainPublicLabel(),
|
|
104
|
+
// icon: new BlockChainEntity(
|
|
105
|
+
// BlockChainKeys.arbitrum
|
|
106
|
+
// ).getBlockChainIconRegular(),
|
|
107
|
+
// },
|
|
108
|
+
// {
|
|
109
|
+
// id: Math.random(),
|
|
110
|
+
// label: new BlockChainEntity(
|
|
111
|
+
// BlockChainKeys.optimism
|
|
112
|
+
// ).getBlockChainPublicLabel(),
|
|
113
|
+
// icon: new BlockChainEntity(
|
|
114
|
+
// BlockChainKeys.optimism
|
|
115
|
+
// ).getBlockChainIconRegular(),
|
|
116
|
+
// },
|
|
117
|
+
// {
|
|
118
|
+
// id: Math.random(),
|
|
119
|
+
// label: new BlockChainEntity(
|
|
120
|
+
// BlockChainKeys.cronos
|
|
121
|
+
// ).getBlockChainPublicLabel(),
|
|
122
|
+
// icon: new BlockChainEntity(
|
|
123
|
+
// BlockChainKeys.cronos
|
|
124
|
+
// ).getBlockChainIconRegular(),
|
|
125
|
+
// },
|
|
126
|
+
// {
|
|
127
|
+
// id: Math.random(),
|
|
128
|
+
// label: new BlockChainEntity(BlockChainKeys.base).getBlockChainPublicLabel(),
|
|
129
|
+
// icon: new BlockChainEntity(BlockChainKeys.base).getBlockChainIconRegular(),
|
|
130
|
+
// },
|
|
131
|
+
];
|
|
132
|
+
exports.default = basicTabs;
|