@oasisomniverse/react 1.0.0
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/README.md +69 -0
- package/package.json +72 -0
- package/src/components/App.js +504 -0
- package/src/components/ForgetPassword.js +126 -0
- package/src/components/Login.js +222 -0
- package/src/components/ResetPassword.js +176 -0
- package/src/components/Signup.js +285 -0
- package/src/components/VerifyEmail.js +68 -0
- package/src/components/common/AvatarConnect.jsx +89 -0
- package/src/components/common/Contact.jsx +60 -0
- package/src/components/common/Eggs.jsx +50 -0
- package/src/components/common/Game.jsx +36 -0
- package/src/components/common/HyperDrive.jsx +50 -0
- package/src/components/common/KarmaToast.jsx +38 -0
- package/src/components/common/Map.jsx +42 -0
- package/src/components/common/MenuMessage.jsx +70 -0
- package/src/components/common/Messaging.jsx +74 -0
- package/src/components/common/Mission.jsx +40 -0
- package/src/components/common/NFT.jsx +42 -0
- package/src/components/common/NavBar.jsx +52 -0
- package/src/components/common/Navbar.js +137 -0
- package/src/components/common/OApp.jsx +41 -0
- package/src/components/common/ONET.jsx +50 -0
- package/src/components/common/ONODE.jsx +49 -0
- package/src/components/common/OasisModal.css +9 -0
- package/src/components/common/OasisModal.jsx +29 -0
- package/src/components/common/ProviderDropdown.js +25 -0
- package/src/components/common/ProviderDropdown.jsx +61 -0
- package/src/components/common/Providers.jsx +38 -0
- package/src/components/common/Quest.jsx +40 -0
- package/src/components/common/SearchAvatars.jsx +49 -0
- package/src/components/common/Seeds.jsx +39 -0
- package/src/components/common/Settings.jsx +70 -0
- package/src/components/common/StarField.jsx +56 -0
- package/src/components/common/Wallet.jsx +45 -0
- package/src/components/common/message/MessageContacts.jsx +66 -0
- package/src/components/common/message/Messages.jsx +75 -0
- package/src/components/common/sidebar/Sidebar.jsx +27 -0
- package/src/components/common/sidebar/SidebarData.js +615 -0
- package/src/components/common/sidebar/SidebarMenuItem.jsx +79 -0
- package/src/components/index.js +26 -0
- package/src/components/pages/forgotPassword.js +47 -0
- package/src/components/popups/avatar/components/AvatarWallet.jsx +169 -0
- package/src/components/popups/avatar/components/EditAvatar.jsx +34 -0
- package/src/components/popups/avatar/components/SearchAvatar.jsx +34 -0
- package/src/components/popups/avatar/components/ViewAvatar.jsx +148 -0
- package/src/components/popups/avatar/index.jsx +39 -0
- package/src/components/popups/comingsoon/ComingSoon.jsx +28 -0
- package/src/components/popups/confirmation/Confirmation.js +30 -0
- package/src/components/popups/contact/index.js +100 -0
- package/src/components/popups/data-screen/components/AddData.jsx +89 -0
- package/src/components/popups/data-screen/components/CrossChainManagement.jsx +87 -0
- package/src/components/popups/data-screen/components/LoadData.jsx +157 -0
- package/src/components/popups/data-screen/components/ManageData.jsx +34 -0
- package/src/components/popups/data-screen/components/OffChainManagement.jsx +177 -0
- package/src/components/popups/data-screen/components/SearchData.jsx +34 -0
- package/src/components/popups/data-screen/index.jsx +52 -0
- package/src/components/popups/eggs/components/ManageEggs.jsx +34 -0
- package/src/components/popups/eggs/components/SearchEggs.jsx +34 -0
- package/src/components/popups/eggs/components/ViewEggs.jsx +34 -0
- package/src/components/popups/eggs/index.jsx +31 -0
- package/src/components/popups/game/components/SearchProfiles.jsx +34 -0
- package/src/components/popups/game/components/ViewAchievements.jsx +34 -0
- package/src/components/popups/game/components/ViewLeagues.jsx +34 -0
- package/src/components/popups/game/components/ViewTournaments.jsx +34 -0
- package/src/components/popups/game/index.jsx +38 -0
- package/src/components/popups/karma/components/SearchKarma.jsx +34 -0
- package/src/components/popups/karma/components/ViewAvatarKarma.jsx +139 -0
- package/src/components/popups/karma/components/ViewKarma.jsx +103 -0
- package/src/components/popups/karma/components/VoteKarma.jsx +34 -0
- package/src/components/popups/karma/index.jsx +34 -0
- package/src/components/popups/map/components/Add2dObjectMap.jsx +34 -0
- package/src/components/popups/map/components/Add3dObjectMap.jsx +34 -0
- package/src/components/popups/map/components/AddQuestToMap.jsx +34 -0
- package/src/components/popups/map/components/DownloadOurWorld.jsx +34 -0
- package/src/components/popups/map/components/ManageMap.jsx +34 -0
- package/src/components/popups/map/components/PlotRouteOnMap.jsx +34 -0
- package/src/components/popups/map/components/SearchMap.jsx +34 -0
- package/src/components/popups/map/components/ViewGlobal3dMap.jsx +34 -0
- package/src/components/popups/map/components/ViewHalonsOnMap.jsx +34 -0
- package/src/components/popups/map/components/ViewOappOnMap.jsx +34 -0
- package/src/components/popups/map/components/ViewQuestOnMap.jsx +34 -0
- package/src/components/popups/map/index.jsx +79 -0
- package/src/components/popups/messages/Message.jsx +86 -0
- package/src/components/popups/mission/components/ManageMission.jsx +34 -0
- package/src/components/popups/mission/components/SearchMission.jsx +34 -0
- package/src/components/popups/mission/components/ViewMission.jsx +34 -0
- package/src/components/popups/mission/index.jsx +32 -0
- package/src/components/popups/nft/ContactPopup.jsx +146 -0
- package/src/components/popups/nft/Solana.jsx +70 -0
- package/src/components/popups/nft/components/ManageOasisNft.jsx +34 -0
- package/src/components/popups/nft/components/PurchaseOasisNft.jsx +34 -0
- package/src/components/popups/nft/components/PurchaseOasisVirtualLandNft.jsx +34 -0
- package/src/components/popups/nft/components/SearchOasisNft.jsx +34 -0
- package/src/components/popups/nft/components/ViewOasisNft.jsx +34 -0
- package/src/components/popups/nft/index.jsx +45 -0
- package/src/components/popups/oapp/components/CreateOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/DeployOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/DownloadOurWorld.jsx +34 -0
- package/src/components/popups/oapp/components/EditOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/InstallOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/LaunchOAPP.jsx +34 -0
- package/src/components/popups/oapp/components/ManageOAPP.jsx +68 -0
- package/src/components/popups/oapp/components/SearchOAPP.jsx +34 -0
- package/src/components/popups/oapp/index.jsx +62 -0
- package/src/components/popups/provider/components/ActivityPub.jsx +34 -0
- package/src/components/popups/provider/components/CompareProviderSpeeds.jsx +123 -0
- package/src/components/popups/provider/components/Eosio.jsx +34 -0
- package/src/components/popups/provider/components/Ethereum.jsx +34 -0
- package/src/components/popups/provider/components/Holochain.jsx +34 -0
- package/src/components/popups/provider/components/Ipfs.jsx +35 -0
- package/src/components/popups/provider/components/ManageAutoFailOver.jsx +34 -0
- package/src/components/popups/provider/components/ManageAutoReplicaton.jsx +34 -0
- package/src/components/popups/provider/components/ManageLoadBalancing.jsx +34 -0
- package/src/components/popups/provider/components/ManageProviders.jsx +34 -0
- package/src/components/popups/provider/components/MongoDb.jsx +34 -0
- package/src/components/popups/provider/components/Neo4j.jsx +34 -0
- package/src/components/popups/provider/components/SearchProviders.jsx +122 -0
- package/src/components/popups/provider/components/Seeds.jsx +34 -0
- package/src/components/popups/provider/components/Solid.jsx +34 -0
- package/src/components/popups/provider/components/SqlLite.jsx +34 -0
- package/src/components/popups/provider/components/ThreeFold.jsx +34 -0
- package/src/components/popups/provider/components/ViewProviderStats.jsx +123 -0
- package/src/components/popups/provider/components/ViewProviders.jsx +121 -0
- package/src/components/popups/provider/index.jsx +113 -0
- package/src/components/popups/quest/components/ManageQuest.jsx +34 -0
- package/src/components/popups/quest/components/SearchQuest.jsx +34 -0
- package/src/components/popups/quest/components/ViewQuest.jsx +34 -0
- package/src/components/popups/quest/index.jsx +32 -0
- package/src/components/popups/seeds/components/AcceptInvite.jsx +61 -0
- package/src/components/popups/seeds/components/DonateSeeds.jsx +178 -0
- package/src/components/popups/seeds/components/ManageSeeds.jsx +34 -0
- package/src/components/popups/seeds/components/PayWithSeeds.jsx +233 -0
- package/src/components/popups/seeds/components/RewardSeeds.jsx +178 -0
- package/src/components/popups/seeds/components/SearchSeeds.jsx +91 -0
- package/src/components/popups/seeds/components/SendInvite.jsx +178 -0
- package/src/components/popups/seeds/components/ViewOrganizations.jsx +178 -0
- package/src/components/popups/seeds/components/ViewSeeds.jsx +221 -0
- package/src/components/popups/seeds/index.jsx +70 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class InstallOAPP extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('oapp', 'installOAPP')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>STAR ODK Coming Soon.</h2>
|
|
25
|
+
<p>This is functionaliy that is built in the STAR ODK and will soon be released. You can then download STAR ODK from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('oapp', 'installOAPP')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default InstallOAPP;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class LaunchOAPP extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('oapp', 'launchOAPP')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>STAR ODK Coming Soon.</h2>
|
|
25
|
+
<p>This is functionaliy that is built in the STAR ODK and will soon be released. You can then download STAR ODK from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('oapp', 'launchOAPP')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default LaunchOAPP;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
// import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ManageOAPP extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="md"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('oapp', 'manageOAPP')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="">
|
|
20
|
+
<div className="popup-heading">
|
|
21
|
+
<h3>OAPPS INSTALLED</h3>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div className="all-oaps-data">
|
|
25
|
+
<div>
|
|
26
|
+
<p>hAPP: 5</p>
|
|
27
|
+
<p>SOLID: 3</p>
|
|
28
|
+
<p>ETH: 7</p>
|
|
29
|
+
<p>WEB: 3</p>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<p>Total: 18</p>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div className="all-oaps-table">
|
|
36
|
+
<div className="oapp-table-heading">
|
|
37
|
+
<p>OAPP</p>
|
|
38
|
+
<p>Installed</p>
|
|
39
|
+
<p>Version</p>
|
|
40
|
+
<p>Type</p>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div className="oapp-table-data">
|
|
44
|
+
<div className="oapp-table-row">
|
|
45
|
+
<div className="oapp-single-row">
|
|
46
|
+
<p>Our World</p>
|
|
47
|
+
<p>01/01/2023</p>
|
|
48
|
+
<p>Alpha 0.01</p>
|
|
49
|
+
<p>hApp</p>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<div className="oapp-single-row">
|
|
53
|
+
<p>Our World</p>
|
|
54
|
+
<p>01/01/2023</p>
|
|
55
|
+
<p>Alpha 0.01</p>
|
|
56
|
+
<p>hApp</p>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</Modal.Body>
|
|
62
|
+
</Modal>
|
|
63
|
+
</>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export default ManageOAPP;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class SearchOAPP extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('oapp', 'searchOAPP')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>STAR ODK Coming Soon.</h2>
|
|
25
|
+
<p>This is functionaliy that is built in the STAR ODK and will soon be released. You can then download STAR ODK from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('oapp', 'searchOAPP')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default SearchOAPP;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import CreateOAPP from './components/CreateOAPP';
|
|
3
|
+
import DeployOAPP from './components/DeployOAPP';
|
|
4
|
+
import DownloadOurWorld from './components/DownloadOurWorld';
|
|
5
|
+
import EditOAPP from './components/EditOAPP';
|
|
6
|
+
import InstallOAPP from './components/InstallOAPP';
|
|
7
|
+
import LaunchOAPP from './components/LaunchOAPP';
|
|
8
|
+
import ManageOAPP from './components/ManageOAPP';
|
|
9
|
+
|
|
10
|
+
import SearchOAPP from './components/SearchOAPP';
|
|
11
|
+
|
|
12
|
+
class OAPP extends React.Component {
|
|
13
|
+
|
|
14
|
+
render() {
|
|
15
|
+
const props=this.props;
|
|
16
|
+
return(
|
|
17
|
+
<>
|
|
18
|
+
<CreateOAPP
|
|
19
|
+
show={props.oapp.createOAPP}
|
|
20
|
+
hide={props.toggleScreenPopup}
|
|
21
|
+
/>
|
|
22
|
+
|
|
23
|
+
<DeployOAPP
|
|
24
|
+
show={props.oapp.deployOAPP}
|
|
25
|
+
hide={props.toggleScreenPopup}
|
|
26
|
+
/>
|
|
27
|
+
|
|
28
|
+
<DownloadOurWorld
|
|
29
|
+
show={props.oapp.downloadOurWorld}
|
|
30
|
+
hide={props.toggleScreenPopup}
|
|
31
|
+
/>
|
|
32
|
+
|
|
33
|
+
<EditOAPP
|
|
34
|
+
show={props.oapp.editOAPP}
|
|
35
|
+
hide={props.toggleScreenPopup}
|
|
36
|
+
/>
|
|
37
|
+
|
|
38
|
+
<InstallOAPP
|
|
39
|
+
show={props.oapp.installOAPP}
|
|
40
|
+
hide={props.toggleScreenPopup}
|
|
41
|
+
/>
|
|
42
|
+
|
|
43
|
+
<LaunchOAPP
|
|
44
|
+
show={props.oapp.launchOAPP}
|
|
45
|
+
hide={props.toggleScreenPopup}
|
|
46
|
+
/>
|
|
47
|
+
|
|
48
|
+
<ManageOAPP
|
|
49
|
+
show={props.oapp.manageOAPP}
|
|
50
|
+
hide={props.toggleScreenPopup}
|
|
51
|
+
/>
|
|
52
|
+
|
|
53
|
+
<SearchOAPP
|
|
54
|
+
show={props.oapp.searchOAPP}
|
|
55
|
+
hide={props.toggleScreenPopup}
|
|
56
|
+
/>
|
|
57
|
+
</>
|
|
58
|
+
)
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export default OAPP;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ActivityPub extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('providers', 'activityPub')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('providers', 'activityPub')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ActivityPub;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
// import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
import { AgGridReact } from 'ag-grid-react';
|
|
6
|
+
import axios from "axios";
|
|
7
|
+
import { toast } from "react-toastify";
|
|
8
|
+
import API_BASE_URL from "../../../../config/api";
|
|
9
|
+
|
|
10
|
+
class CompareProviderSpeeds extends React.Component {
|
|
11
|
+
state = {
|
|
12
|
+
columnDefs: [
|
|
13
|
+
{
|
|
14
|
+
fieldName: "provider",
|
|
15
|
+
headerName: "Provider",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
fieldName: "installed",
|
|
19
|
+
headerName: "Installed",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
fieldName: "view",
|
|
23
|
+
headerName: "View",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
fieldName: "running",
|
|
27
|
+
headerName: "Running",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
fieldName: "vpTime",
|
|
31
|
+
headerName: "VPTime"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
defaultColDef: {
|
|
35
|
+
flex: 1,
|
|
36
|
+
minWidth: 150,
|
|
37
|
+
filter: true,
|
|
38
|
+
sortable: true,
|
|
39
|
+
floatingFilter: true,
|
|
40
|
+
resizable: true,
|
|
41
|
+
},
|
|
42
|
+
rowData: null,
|
|
43
|
+
loading: true,
|
|
44
|
+
loggedIn: true,
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
onGridReady = async (params) => {
|
|
48
|
+
this.gridApi = params.api;
|
|
49
|
+
this.gridColumnApi = params.columnApi;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
getApiData = () => {
|
|
53
|
+
this.setState({ loading: true })
|
|
54
|
+
|
|
55
|
+
axios({
|
|
56
|
+
method: 'get',
|
|
57
|
+
url: API_BASE_URL,
|
|
58
|
+
headers: {
|
|
59
|
+
'Content-Type': 'application/json'
|
|
60
|
+
},
|
|
61
|
+
})
|
|
62
|
+
.then((response) => {
|
|
63
|
+
this.setState({loading: false})
|
|
64
|
+
|
|
65
|
+
if (response.data.result?.isError) {
|
|
66
|
+
toast.error(response.data.result.message);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
toast.success(response.data.result.message);
|
|
71
|
+
})
|
|
72
|
+
.catch((err) => {
|
|
73
|
+
toast.error('err');
|
|
74
|
+
this.setState({loading: false})
|
|
75
|
+
return { error: true, data: err };
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
render() {
|
|
80
|
+
const { show, hide } = this.props;
|
|
81
|
+
|
|
82
|
+
return (
|
|
83
|
+
<>
|
|
84
|
+
<Modal
|
|
85
|
+
size="xl"
|
|
86
|
+
show={show}
|
|
87
|
+
dialogClassName=""
|
|
88
|
+
className="custom-modal custom-popup-component"
|
|
89
|
+
onHide={() => hide('providers', 'compareProviderSpeeds')}
|
|
90
|
+
>
|
|
91
|
+
<Modal.Body className="text-center coming-soon">
|
|
92
|
+
<span className="form-cross-icon" onClick={() => hide('providers', 'compareProviderSpeeds')}>
|
|
93
|
+
<i className="fa fa-times"></i>
|
|
94
|
+
</span>
|
|
95
|
+
|
|
96
|
+
{/* <img
|
|
97
|
+
src={InfoIcon}
|
|
98
|
+
alt="icon"
|
|
99
|
+
/>
|
|
100
|
+
<h2>Coming Soon</h2>
|
|
101
|
+
<p>This module is coming soon...</p>
|
|
102
|
+
<button onClick={() => hide('providers', 'compareProviderSpeeds')}>OK</button> */}
|
|
103
|
+
|
|
104
|
+
<div className="popup-container default-popup">
|
|
105
|
+
<div className="data-screen-container">
|
|
106
|
+
<div className="ag-theme-alpine custom-ag-parent">
|
|
107
|
+
<AgGridReact
|
|
108
|
+
columnDefs={this.state.columnDefs}
|
|
109
|
+
defaultColDef={this.state.defaultColDef}
|
|
110
|
+
onGridReady={this.onGridReady}
|
|
111
|
+
rowData={this.state.rowData}
|
|
112
|
+
/>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
</Modal.Body>
|
|
117
|
+
</Modal>
|
|
118
|
+
</>
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export default CompareProviderSpeeds;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class Eosio extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('providers', 'Eosio')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>UI Coming Soon</h2>
|
|
25
|
+
<p>You can use this functionality directly by accessing the OASIS API from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('providers', 'eosio')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default Eosio;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class Ethereum extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('providers', 'ethereum')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>UI Coming Soon</h2>
|
|
25
|
+
<p>You can use this functionality directly by accessing the OASIS API from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('providers', 'ethereum')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default Ethereum;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class Holochain extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('providers', 'holochain')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>Coming Soon</h2>
|
|
25
|
+
<p>This module is coming soon...</p>
|
|
26
|
+
<button onClick={() => hide('providers', 'holochain')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default Holochain;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class Ipfs extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('providers', 'ipfs')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>UI Coming Soon</h2>
|
|
25
|
+
<p>You can use this functionality directly by accessing the OASIS API from the Developer menu.
|
|
26
|
+
</p>
|
|
27
|
+
<button onClick={() => hide('providers', 'ipfs')}>OK</button>
|
|
28
|
+
</Modal.Body>
|
|
29
|
+
</Modal>
|
|
30
|
+
</>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export default Ipfs;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ManageAutoFailOver extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('providers', 'manageAutoFailOver')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>UI Coming Soon</h2>
|
|
25
|
+
<p>You can use this functionality directly by accessing the OASIS API from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('providers', 'manageAutoFailOver')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ManageAutoFailOver;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ManageAutoReplicaton extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('providers', 'manageAutoReplicaton')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>UI Coming Soon</h2>
|
|
25
|
+
<p>You can use this functionality directly by accessing the OASIS API from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('providers', 'manageAutoReplicaton')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ManageAutoReplicaton;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ManageLoadBalancing extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('providers', 'manageLoadBalancing')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>UI Coming Soon</h2>
|
|
25
|
+
<p>You can use this functionality directly by accessing the OASIS API from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('providers', 'manageLoadBalancing')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ManageLoadBalancing;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal } from "react-bootstrap";
|
|
3
|
+
import '../../../../assets/scss/coming-soon.scss';
|
|
4
|
+
import InfoIcon from '../../../../assets/images/icon-info.svg'
|
|
5
|
+
|
|
6
|
+
class ManageProviders extends React.Component {
|
|
7
|
+
state = { }
|
|
8
|
+
render() {
|
|
9
|
+
const { show, hide } = this.props;
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<>
|
|
13
|
+
<Modal
|
|
14
|
+
size="sm"
|
|
15
|
+
show={show}
|
|
16
|
+
dialogClassName=""
|
|
17
|
+
onHide={() => hide('providers', 'manageProviders')}
|
|
18
|
+
>
|
|
19
|
+
<Modal.Body className="text-center coming-soon">
|
|
20
|
+
<img
|
|
21
|
+
src={InfoIcon}
|
|
22
|
+
alt="icon"
|
|
23
|
+
/>
|
|
24
|
+
<h2>UI Coming Soon</h2>
|
|
25
|
+
<p>You can use this functionality directly by accessing the OASIS API from the Developer menu.</p>
|
|
26
|
+
<button onClick={() => hide('providers', 'manageProviders')}>OK</button>
|
|
27
|
+
</Modal.Body>
|
|
28
|
+
</Modal>
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default ManageProviders;
|