mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-20 22:05:43 +00:00
SPDX (#370)
This commit is contained in:
@@ -1 +1,4 @@
|
|||||||
|
// Copyright 2017-2020 @polkadot/ui authors & contributors
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
module.exports = require('./babel.config.js');
|
module.exports = require('./babel.config.js');
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2017-2020 @polkadot/ui authors & contributors
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
const base = require('@polkadot/dev/config/eslint');
|
const base = require('@polkadot/dev/config/eslint');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui authors & contributors
|
// Copyright 2017-2020 @polkadot/ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const base = require('@polkadot/dev/config/babel');
|
const base = require('@polkadot/dev/config/babel');
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright 2017-2020 @polkadot/ui authors & contributors
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
function copy_folder () {
|
function copy_folder () {
|
||||||
SRC="packages/$1/build"
|
SRC="packages/$1/build"
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright 2017-2020 @polkadot/ui authors & contributors
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
function copy_folder () {
|
function copy_folder () {
|
||||||
SRC="packages/$1/build"
|
SRC="packages/$1/build"
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui authors & contributors
|
// Copyright 2017-2020 @polkadot/ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const config = require('@polkadot/dev/config/jest');
|
const config = require('@polkadot/dev/config/jest');
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui authors & contributors
|
// Copyright 2017-2020 @polkadot/ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/example-react authors & contributors
|
// Copyright 2017-2020 @polkadot/example-react authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useEffect, useState } from 'react';
|
import React, { useCallback, useEffect, useState } from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/example-react authors & contributors
|
// Copyright 2017-2020 @polkadot/example-react authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const { WebpackPluginServe } = require('webpack-plugin-serve');
|
const { WebpackPluginServe } = require('webpack-plugin-serve');
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/example-vue authors & contributors
|
// Copyright 2017-2020 @polkadot/example-vue authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Prefix } from '@polkadot/util-crypto/address/types';
|
import { Prefix } from '@polkadot/util-crypto/address/types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/example-vue authors & contributors
|
// Copyright 2017-2020 @polkadot/example-vue authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const VueLoaderPlugin = require('vue-loader/lib/plugin');
|
const VueLoaderPlugin = require('vue-loader/lib/plugin');
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/example-react authors & contributors
|
// Copyright 2017-2020 @polkadot/example-react authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useEffect, useState } from 'react';
|
import React, { useEffect, useState } from 'react';
|
||||||
import { Button, SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, View } from 'react-native';
|
import { Button, SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, View } from 'react-native';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/example-reactnative authors & contributors
|
// Copyright 2017-2020 @polkadot/example-reactnative authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
presets: ['module:metro-react-native-babel-preset']
|
presets: ['module:metro-react-native-babel-preset']
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/example-react authors & contributors
|
// Copyright 2017-2020 @polkadot/example-react authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import './nodeGlobalsShim.js';
|
import './nodeGlobalsShim.js';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/example-reactnative authors & contributors
|
// Copyright 2017-2020 @polkadot/example-reactnative authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const getWorkspaces = require('get-yarn-workspaces');
|
const getWorkspaces = require('get-yarn-workspaces');
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/example-reactnative authors & contributors
|
// Copyright 2017-2020 @polkadot/example-reactnative authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
/* eslint-disable no-global-assign */
|
/* eslint-disable no-global-assign */
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Prefix } from '@polkadot/util-crypto/address/types';
|
import { Prefix } from '@polkadot/util-crypto/address/types';
|
||||||
import { IdentityProps as Props, Props as ComponentProps } from './types';
|
import { IdentityProps as Props, Props as ComponentProps } from './types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Props } from '../types';
|
import { Props } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Props } from '../types';
|
import { Props } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Props } from '../types';
|
import { Props } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon
|
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon
|
||||||
// Copyright 2018-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2018-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
// This has been converted from the original version that can be found at
|
// This has been converted from the original version that can be found at
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export { default as Beachball } from './Beachball';
|
export { default as Beachball } from './Beachball';
|
||||||
export { default as Empty } from './Empty';
|
export { default as Empty } from './Empty';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import Identicon from './Identicon';
|
import Identicon from './Identicon';
|
||||||
export * from './icons';
|
export * from './icons';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2018-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2018-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Prefix } from '@polkadot/util-crypto/address/types';
|
import { Prefix } from '@polkadot/util-crypto/address/types';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/react-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useMemo } from 'react';
|
import React, { useMemo } from 'react';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useMemo } from 'react';
|
import React, { useMemo } from 'react';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { NetworkSpecsStruct } from '@polkadot/ui-settings';
|
import { NetworkSpecsStruct } from '@polkadot/ui-settings';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useMemo } from 'react';
|
import React, { useCallback, useMemo } from 'react';
|
||||||
import Reader from 'react-qr-reader';
|
import Reader from 'react-qr-reader';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
import { assert } from '@polkadot/util';
|
import { assert } from '@polkadot/util';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const ADDRESS_PREFIX = 'substrate';
|
const ADDRESS_PREFIX = 'substrate';
|
||||||
const SEED_PREFIX = 'secret';
|
const SEED_PREFIX = 'secret';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export { default as QrDisplayAddress } from './DisplayAddress';
|
export { default as QrDisplayAddress } from './DisplayAddress';
|
||||||
export { default as QrDisplayPayload } from './DisplayPayload';
|
export { default as QrDisplayPayload } from './DisplayPayload';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import _qrcode from 'qrcode-generator';
|
import _qrcode from 'qrcode-generator';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { u8aConcat, u8aToHex, u8aToString } from '@polkadot/util';
|
import { u8aConcat, u8aToHex, u8aToString } from '@polkadot/util';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { isString, u8aConcat, u8aToU8a } from '@polkadot/util';
|
import { isString, u8aConcat, u8aToU8a } from '@polkadot/util';
|
||||||
import { decodeAddress } from '@polkadot/util-crypto';
|
import { decodeAddress } from '@polkadot/util-crypto';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Prefix } from '@polkadot/util-crypto/address/types';
|
import { Prefix } from '@polkadot/util-crypto/address/types';
|
||||||
import { Props as ComponentProps } from './types';
|
import { Props as ComponentProps } from './types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Props } from '../types';
|
import { Props } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2018-2020 @polkadot/reactnative-identicon authors & contributors
|
// Copyright 2018-2020 @polkadot/reactnative-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Circle as CircleType } from '@polkadot/ui-shared/icons/types';
|
import { Circle as CircleType } from '@polkadot/ui-shared/icons/types';
|
||||||
import { Props } from '../types';
|
import { Props } from '../types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export { default as Empty } from './Empty';
|
export { default as Empty } from './Empty';
|
||||||
export { default as Polkadot } from './Polkadot';
|
export { default as Polkadot } from './Polkadot';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors
|
// Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import Identicon from './Identicon';
|
import Identicon from './Identicon';
|
||||||
export * from './icons';
|
export * from './icons';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2018-2020 @polkadot/reactnative-identicon authors & contributors
|
// Copyright 2018-2020 @polkadot/reactnative-identicon authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
address: string;
|
address: string;
|
||||||
|
|||||||
Vendored
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-assets authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-assets authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
declare module '*.svg' {
|
declare module '*.svg' {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^3.4.1",
|
"@polkadot/keyring": "^3.4.1",
|
||||||
"@polkadot/types": "^1.34.0-beta.8",
|
"@polkadot/types": "^1.34.0-beta.10",
|
||||||
"@polkadot/util": "^3.4.1",
|
"@polkadot/util": "^3.4.1",
|
||||||
"@types/ledgerhq__hw-transport-node-hid": "^4.22.1",
|
"@types/ledgerhq__hw-transport-node-hid": "^4.22.1",
|
||||||
"@types/ledgerhq__hw-transport-webusb": "^4.70.0",
|
"@types/ledgerhq__hw-transport-webusb": "^4.70.0",
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringInstance, KeyringPair } from '@polkadot/keyring/types';
|
import { KeyringInstance, KeyringPair } from '@polkadot/keyring/types';
|
||||||
import { Prefix } from '@polkadot/util-crypto/address/types';
|
import { Prefix } from '@polkadot/util-crypto/address/types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringPair, KeyringPair$Meta, KeyringPair$Json } from '@polkadot/keyring/types';
|
import { KeyringPair, KeyringPair$Meta, KeyringPair$Json } from '@polkadot/keyring/types';
|
||||||
import { KeypairType } from '@polkadot/util-crypto/types';
|
import { KeypairType } from '@polkadot/util-crypto/types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { u8aToHex } from '@polkadot/util';
|
import { u8aToHex } from '@polkadot/util';
|
||||||
import { decodeAddress } from '@polkadot/keyring';
|
import { decodeAddress } from '@polkadot/keyring';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { detectPackage } from '@polkadot/util';
|
import { detectPackage } from '@polkadot/util';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import Transport from '@ledgerhq/hw-transport';
|
import Transport from '@ledgerhq/hw-transport';
|
||||||
import { AccountOptions, LedgerAddress, LedgerSignature, LedgerTypes, LedgerVersion } from './types';
|
import { AccountOptions, LedgerAddress, LedgerSignature, LedgerTypes, LedgerVersion } from './types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { TransportDef } from './types';
|
import { TransportDef } from './types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { TransportDef } from './types';
|
import { TransportDef } from './types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { TransportDef } from './types';
|
import { TransportDef } from './types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import Transport from '@ledgerhq/hw-transport';
|
import Transport from '@ledgerhq/hw-transport';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { accountKey } from '../defaults';
|
import { accountKey } from '../defaults';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { addressKey } from '../defaults';
|
import { addressKey } from '../defaults';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { contractKey } from '../defaults';
|
import { contractKey } from '../defaults';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { BehaviorSubject } from 'rxjs';
|
import { BehaviorSubject } from 'rxjs';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { SubjectInfo, AddressSubject, SingleAddress } from './types';
|
import { SubjectInfo, AddressSubject, SingleAddress } from './types';
|
||||||
import { KeyringJson, KeyringStore } from '../types';
|
import { KeyringJson, KeyringStore } from '../types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { SubjectInfo } from './types';
|
import { SubjectInfo } from './types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { BehaviorSubject } from 'rxjs';
|
import { BehaviorSubject } from 'rxjs';
|
||||||
import { KeyringSectionOption } from '../options/types';
|
import { KeyringSectionOption } from '../options/types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringStruct } from '../types';
|
import { KeyringStruct } from '../types';
|
||||||
import keyringOptionInstance from '.';
|
import keyringOptionInstance from '.';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringStruct } from '../types';
|
import { KeyringStruct } from '../types';
|
||||||
import { SingleAddress } from '../observable/types';
|
import { SingleAddress } from '../observable/types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringSectionOption } from './types';
|
import { KeyringSectionOption } from './types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringItemType, KeyringStruct } from '../types';
|
import { KeyringItemType, KeyringStruct } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringStore, KeyringJson } from '../types';
|
import { KeyringStore, KeyringJson } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringStore, KeyringJson } from '../types';
|
import { KeyringStore, KeyringJson } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export { default as BrowserStore } from './Browser';
|
export { default as BrowserStore } from './Browser';
|
||||||
export { default as FileStore } from './File';
|
export { default as FileStore } from './File';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Hash } from '@polkadot/types/interfaces';
|
import { Hash } from '@polkadot/types/interfaces';
|
||||||
import { KeyringInstance as BaseKeyringInstance, KeyringPair, KeyringPair$Meta, KeyringPair$Json, KeyringOptions as KeyringOptionsBase } from '@polkadot/keyring/types';
|
import { KeyringInstance as BaseKeyringInstance, KeyringPair, KeyringPair$Meta, KeyringPair$Json, KeyringOptions as KeyringOptionsBase } from '@polkadot/keyring/types';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import EventEmitter from 'eventemitter3';
|
import EventEmitter from 'eventemitter3';
|
||||||
import store from 'store';
|
import store from 'store';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
type ChainDef = string[];
|
type ChainDef = string[];
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Option } from '../types';
|
import { Option } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Option } from '../types';
|
import { Option } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Option } from '../types';
|
import { Option } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Option } from '../types';
|
import { Option } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Option } from '../types';
|
import { Option } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
// matches https://polkadot.js.org & https://*.polkadot.io
|
// matches https://polkadot.js.org & https://*.polkadot.io
|
||||||
export const isPolkadot = typeof window !== 'undefined' && window.location.host.includes('polkadot');
|
export const isPolkadot = typeof window !== 'undefined' && window.location.host.includes('polkadot');
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Option } from '../types';
|
import { Option } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import settings, { Settings } from './Settings';
|
import settings, { Settings } from './Settings';
|
||||||
export { ENDPOINT_DEFAULT, ICON_DEFAULT, ICON_DEFAULT_HOST, LANGUAGE_DEFAULT, LOCKING_DEFAULT, PREFIX_DEFAULT, UIMODE_DEFAULT, UITHEME_DEFAULT } from './defaults';
|
export { ENDPOINT_DEFAULT, ICON_DEFAULT, ICON_DEFAULT_HOST, LANGUAGE_DEFAULT, LOCKING_DEFAULT, PREFIX_DEFAULT, UIMODE_DEFAULT, UITHEME_DEFAULT } from './defaults';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-settings authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export type Option = {
|
export type Option = {
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ColorGen } from './types';
|
import { ColorGen } from './types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2016 Dan Finlay
|
// Copyright 2016 Dan Finlay
|
||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ColorGen, Seeder } from './types';
|
import { ColorGen, Seeder } from './types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import container from './container';
|
import container from './container';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2016 Dan Finlay
|
// Copyright 2016 Dan Finlay
|
||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export default function container (diameter: number, background = 'white', className = '', _style: { [index: string]: string } = {}): HTMLElement {
|
export default function container (diameter: number, background = 'white', className = '', _style: { [index: string]: string } = {}): HTMLElement {
|
||||||
const element = document.createElement('div');
|
const element = document.createElement('div');
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2016 Dan Finlay
|
// Copyright 2016 Dan Finlay
|
||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const COLORS: string[] = [
|
const COLORS: string[] = [
|
||||||
// https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/
|
// https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2016 Dan Finlay
|
// Copyright 2016 Dan Finlay
|
||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { isNull } from '@polkadot/util';
|
import { isNull } from '@polkadot/util';
|
||||||
import { encodeAddress, randomAsU8a } from '@polkadot/util-crypto';
|
import { encodeAddress, randomAsU8a } from '@polkadot/util-crypto';
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import xmlserializer from 'xmlserializer';
|
import xmlserializer from 'xmlserializer';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2016 Dan Finlay
|
// Copyright 2016 Dan Finlay
|
||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Options } from '../types';
|
import { Options } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Seeder } from './types';
|
import { Seeder } from './types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Seeder } from './types';
|
import { Seeder } from './types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import xmlserializer from 'xmlserializer';
|
import xmlserializer from 'xmlserializer';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2016 Dan Finlay
|
// Copyright 2016 Dan Finlay
|
||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Seeder } from '../types';
|
import { Seeder } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2016 Dan Finlay
|
// Copyright 2016 Dan Finlay
|
||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Seeder } from '../types';
|
import { Seeder } from '../types';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import xmlserializer from 'xmlserializer';
|
import xmlserializer from 'xmlserializer';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import createSvg from './svg';
|
import createSvg from './svg';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import xmlserializer from 'xmlserializer';
|
import xmlserializer from 'xmlserializer';
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
// Copyright 2016 Dan Finlay
|
// Copyright 2016 Dan Finlay
|
||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import createSvg from './svg';
|
import createSvg from './svg';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import xmlserializer from 'xmlserializer';
|
import xmlserializer from 'xmlserializer';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import createElement from './element';
|
import createElement from './element';
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user