krishan21-react-demo5
Advanced tools
Comparing version 1.0.8 to 1.0.9
'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,3 +13,2 @@ require('react-apexcharts'); | ||
var React__default = /*#__PURE__*/_interopDefaultLegacy(React); | ||
var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray); | ||
@@ -40,75 +39,71 @@ 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() { | ||
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]; | ||
// 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-", | ||
// }, | ||
// ]); | ||
return /*#__PURE__*/React__default['default'].createElement("div", { | ||
className: "blockpass", | ||
style: { | ||
@@ -115,0 +110,0 @@ color: "red" |
@@ -1,5 +0,5 @@ | ||
import React, { useState } from 'react'; | ||
import _slicedToArray from '@babel/runtime/helpers/slicedToArray'; | ||
import React from 'react'; | ||
import '@babel/runtime/helpers/toConsumableArray'; | ||
import 'react-icons/fa'; | ||
import '@babel/runtime/helpers/slicedToArray'; | ||
import '@babel/runtime/helpers/defineProperty'; | ||
@@ -32,75 +32,71 @@ import 'react-apexcharts'; | ||
var BlockPass = function BlockPass() { | ||
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]; | ||
// 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-", | ||
// }, | ||
// ]); | ||
return /*#__PURE__*/React.createElement("div", { | ||
className: "blockpass", | ||
style: { | ||
@@ -107,0 +103,0 @@ color: "red" |
(function (global, factory) { | ||
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'; | ||
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'; | ||
@@ -10,3 +10,2 @@ 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); | ||
@@ -37,75 +36,71 @@ 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() { | ||
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]; | ||
// 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-", | ||
// }, | ||
// ]); | ||
return /*#__PURE__*/React__default['default'].createElement("div", { | ||
className: "blockpass", | ||
style: { | ||
@@ -112,0 +107,0 @@ color: "red" |
{ | ||
"name": "krishan21-react-demo5", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "React Component for adding DygnifyCard support to Rails or any other MVC Framework", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
61776
458