krishan21-react-demo5
Advanced tools
Comparing version 1.0.9 to 1.0.10
'use strict'; | ||
var React = require('react'); | ||
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray'); | ||
require('@babel/runtime/helpers/toConsumableArray'); | ||
require('react-icons/fa'); | ||
require('@babel/runtime/helpers/slicedToArray'); | ||
require('@babel/runtime/helpers/defineProperty'); | ||
@@ -13,2 +13,3 @@ require('react-apexcharts'); | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray); | ||
@@ -39,70 +40,73 @@ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}} | ||
var BlockPass = function BlockPass() { | ||
// const [modalController, setModalController] = useState(false); | ||
// const [availableWalletModalOpen, setAvailableWalletModalOpen] = | ||
// useState(false); | ||
// const [availableWallets, setAvailableWallets] = useState([ | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "MetaMask", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: true, | ||
// score: 905, | ||
// grade: "A+", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "WalletConnect", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 700, | ||
// grade: "A-", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Coinbase", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 650, | ||
// grade: "B", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Magic Wallet", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 805, | ||
// grade: "A", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Portis", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 907, | ||
// grade: "A+", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Coinbase Wallet", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 750, | ||
// grade: "A-", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Torus", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 700, | ||
// grade: "A-", | ||
// }, | ||
// ]); | ||
var _useState = React.useState(false), | ||
_useState2 = _slicedToArray__default['default'](_useState, 2); | ||
_useState2[0]; | ||
_useState2[1]; | ||
var _useState3 = React.useState(false), | ||
_useState4 = _slicedToArray__default['default'](_useState3, 2); | ||
_useState4[0]; | ||
_useState4[1]; | ||
var _useState5 = React.useState([{ | ||
logo: "https://picsum.photos/200/300", | ||
name: "MetaMask", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: true, | ||
score: 905, | ||
grade: "A+" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "WalletConnect", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 700, | ||
grade: "A-" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Coinbase", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 650, | ||
grade: "B" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Magic Wallet", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 805, | ||
grade: "A" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Portis", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 907, | ||
grade: "A+" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Coinbase Wallet", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 750, | ||
grade: "A-" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Torus", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 700, | ||
grade: "A-" | ||
}]), | ||
_useState6 = _slicedToArray__default['default'](_useState5, 2); | ||
_useState6[0]; | ||
_useState6[1]; | ||
return /*#__PURE__*/React__default['default'].createElement("div", { | ||
@@ -109,0 +113,0 @@ style: { |
@@ -1,5 +0,5 @@ | ||
import React from 'react'; | ||
import React, { useState } from 'react'; | ||
import _slicedToArray from '@babel/runtime/helpers/slicedToArray'; | ||
import '@babel/runtime/helpers/toConsumableArray'; | ||
import 'react-icons/fa'; | ||
import '@babel/runtime/helpers/slicedToArray'; | ||
import '@babel/runtime/helpers/defineProperty'; | ||
@@ -32,70 +32,73 @@ import 'react-apexcharts'; | ||
var BlockPass = function BlockPass() { | ||
// const [modalController, setModalController] = useState(false); | ||
// const [availableWalletModalOpen, setAvailableWalletModalOpen] = | ||
// useState(false); | ||
// const [availableWallets, setAvailableWallets] = useState([ | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "MetaMask", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: true, | ||
// score: 905, | ||
// grade: "A+", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "WalletConnect", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 700, | ||
// grade: "A-", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Coinbase", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 650, | ||
// grade: "B", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Magic Wallet", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 805, | ||
// grade: "A", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Portis", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 907, | ||
// grade: "A+", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Coinbase Wallet", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 750, | ||
// grade: "A-", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Torus", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 700, | ||
// grade: "A-", | ||
// }, | ||
// ]); | ||
var _useState = useState(false), | ||
_useState2 = _slicedToArray(_useState, 2); | ||
_useState2[0]; | ||
_useState2[1]; | ||
var _useState3 = useState(false), | ||
_useState4 = _slicedToArray(_useState3, 2); | ||
_useState4[0]; | ||
_useState4[1]; | ||
var _useState5 = useState([{ | ||
logo: "https://picsum.photos/200/300", | ||
name: "MetaMask", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: true, | ||
score: 905, | ||
grade: "A+" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "WalletConnect", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 700, | ||
grade: "A-" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Coinbase", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 650, | ||
grade: "B" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Magic Wallet", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 805, | ||
grade: "A" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Portis", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 907, | ||
grade: "A+" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Coinbase Wallet", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 750, | ||
grade: "A-" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Torus", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 700, | ||
grade: "A-" | ||
}]), | ||
_useState6 = _slicedToArray(_useState5, 2); | ||
_useState6[0]; | ||
_useState6[1]; | ||
return /*#__PURE__*/React.createElement("div", { | ||
@@ -102,0 +105,0 @@ style: { |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('@babel/runtime/helpers/toConsumableArray'), require('react-icons/fa'), require('@babel/runtime/helpers/slicedToArray'), require('@babel/runtime/helpers/defineProperty'), require('react-apexcharts')) : | ||
typeof define === 'function' && define.amd ? define(['react', '@babel/runtime/helpers/toConsumableArray', 'react-icons/fa', '@babel/runtime/helpers/slicedToArray', '@babel/runtime/helpers/defineProperty', 'react-apexcharts'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global['react-rails-pagination'] = factory(global.React)); | ||
}(this, (function (React) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('@babel/runtime/helpers/slicedToArray'), require('@babel/runtime/helpers/toConsumableArray'), require('react-icons/fa'), require('@babel/runtime/helpers/defineProperty'), require('react-apexcharts')) : | ||
typeof define === 'function' && define.amd ? define(['react', '@babel/runtime/helpers/slicedToArray', '@babel/runtime/helpers/toConsumableArray', 'react-icons/fa', '@babel/runtime/helpers/defineProperty', 'react-apexcharts'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global['react-rails-pagination'] = factory(global.React, global._slicedToArray)); | ||
}(this, (function (React, _slicedToArray) { 'use strict'; | ||
@@ -10,2 +10,3 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray); | ||
@@ -36,70 +37,73 @@ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}} | ||
var BlockPass = function BlockPass() { | ||
// const [modalController, setModalController] = useState(false); | ||
// const [availableWalletModalOpen, setAvailableWalletModalOpen] = | ||
// useState(false); | ||
// const [availableWallets, setAvailableWallets] = useState([ | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "MetaMask", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: true, | ||
// score: 905, | ||
// grade: "A+", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "WalletConnect", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 700, | ||
// grade: "A-", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Coinbase", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 650, | ||
// grade: "B", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Magic Wallet", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 805, | ||
// grade: "A", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Portis", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 907, | ||
// grade: "A+", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Coinbase Wallet", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 750, | ||
// grade: "A-", | ||
// }, | ||
// { | ||
// logo: "https://picsum.photos/200/300", | ||
// name: "Torus", | ||
// id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
// selected: false, | ||
// primary: false, | ||
// score: 700, | ||
// grade: "A-", | ||
// }, | ||
// ]); | ||
var _useState = React.useState(false), | ||
_useState2 = _slicedToArray__default['default'](_useState, 2); | ||
_useState2[0]; | ||
_useState2[1]; | ||
var _useState3 = React.useState(false), | ||
_useState4 = _slicedToArray__default['default'](_useState3, 2); | ||
_useState4[0]; | ||
_useState4[1]; | ||
var _useState5 = React.useState([{ | ||
logo: "https://picsum.photos/200/300", | ||
name: "MetaMask", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: true, | ||
score: 905, | ||
grade: "A+" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "WalletConnect", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 700, | ||
grade: "A-" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Coinbase", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 650, | ||
grade: "B" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Magic Wallet", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 805, | ||
grade: "A" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Portis", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 907, | ||
grade: "A+" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Coinbase Wallet", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 750, | ||
grade: "A-" | ||
}, { | ||
logo: "https://picsum.photos/200/300", | ||
name: "Torus", | ||
id: "0xc5e5be3602995a7f0bd737e0931d776a0bcc336f", | ||
selected: false, | ||
primary: false, | ||
score: 700, | ||
grade: "A-" | ||
}]), | ||
_useState6 = _slicedToArray__default['default'](_useState5, 2); | ||
_useState6[0]; | ||
_useState6[1]; | ||
return /*#__PURE__*/React__default['default'].createElement("div", { | ||
@@ -106,0 +110,0 @@ style: { |
{ | ||
"name": "krishan21-react-demo5", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "React Component for adding DygnifyCard support to Rails or any other MVC Framework", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
61961
460