From b7b4f3a1672f61b893bd3093d5d3b59f8f5b3ef4 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sat, 7 Aug 2021 21:58:40 +0800 Subject: [PATCH] add Okchain --- package.json | 11 -- public/favicon.ico | Bin 93062 -> 0 bytes public/logo.png | Bin 3503 -> 0 bytes public/logo.svg | 170 ------------------- src/libs/data/data.js | 14 +- src/libs/data/staking-parameters.js | 22 ++- src/libs/data/validator.js | 2 +- src/libs/fetch.js | 32 +++- src/main.js | 2 - src/store/chains/okexchain.json | 6 + src/views/ObjectFieldComponent.vue | 10 +- src/views/Staking.vue | 7 +- src/views/StakingValidator.vue | 10 +- src/views/Summary.vue | 3 +- yarn.lock | 248 +--------------------------- 15 files changed, 84 insertions(+), 453 deletions(-) delete mode 100644 public/favicon.ico delete mode 100644 public/logo.png delete mode 100644 public/logo.svg create mode 100644 src/store/chains/okexchain.json diff --git a/package.json b/package.json index 94c58a08..10b2b33f 100644 --- a/package.json +++ b/package.json @@ -16,13 +16,6 @@ "@cosmjs/crypto": "^0.25.6", "@cosmjs/encoding": "^0.25.6", "@cosmjs/proto-signing": "^0.25.6", - "@fullcalendar/common": "5.x", - "@fullcalendar/core": "5.x", - "@fullcalendar/daygrid": "5.x", - "@fullcalendar/interaction": "5.x", - "@fullcalendar/list": "5.x", - "@fullcalendar/timegrid": "5.x", - "@fullcalendar/vue": "5.x", "@intlify/vue-i18n-loader": "^2.1.2", "@vue/composition-api": "1.0.0-beta.22", "@vueuse/core": "4.0.0", @@ -37,7 +30,6 @@ "core-js": "3.8.1", "dayjs": "^1.10.6", "echarts": "4.8.0", - "jsonwebtoken": "8.5.1", "leaflet": "1.6.0", "node-fetch": "^2.6.1", "portal-vue": "2.1.7", @@ -48,7 +40,6 @@ "vee-validate": "3.4.5", "vue": "2.x", "vue-apexcharts": "1.6.0", - "vue-async-computed": "^3.9.0", "vue-autosuggest": "2.2.0", "vue-awesome-swiper": "4.1.1", "vue-chartjs": "3.5.0", @@ -59,12 +50,10 @@ "vue-feather-icons": "5.1.0", "vue-flatpickr-component": "8.1.6", "vue-form-wizard": "0.8.4", - "vue-good-table": "2.21.0", "vue-i18n": "8.22.2", "vue-loader": "^15.9.6", "vue-perfect-scrollbar": "0.2.1", "vue-prism-component": "1.1.1", - "vue-quill-editor": "3.0.6", "vue-ripple-directive": "2.0.1", "vue-router": "3.4.9", "vue-select": "3.11.2", diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index 3462322935cf3b4ebc40a098c98088935a0af42d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 93062 zcmeI5d2k%noyQxeShC6Pl3J>=wW+N@)uwjy$1Yph+6@7G;S=9BJ}@>INJzMB@FmHI zEXg<6+=qiX0wKXbI1(`C2#`3NT?kjWbc{4J8r{dp@*!EWti!+k{$BTc^SYyLlG-}}Aadu+`LzH84i z&ilF{#NYEqM85ns@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK z@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK@EPzK z@ENce2uvt2PLqBVm{`!Qt8!97w@s4^x~nD^9D|}&Q&{=YAZx0n%k!flscCo(g{Q|< zJtIFV6`7eI6`F-TR5RPsocw4lYi^!YOWnM@2o$cnA}?Iens2IML0(v@abaFqXi;9c ziFKu=#d+aosjKiBYFT1wXM2i%fwp0$-*U=MnfKa3ut`NNH)_GvMnhkm0pF~XG?O0z2M4?t)+Pb z;AyJYO!4QP!CYNfF=5>?=4!~Oo`Kw;Db%t_vHf-Z_5SU__Y$?9}vV7tI{Nn9CS2^*Q)4)`(;L5?)>F|ju?N+jQ zOWG~=i+a3e#abM5saPwqPYi*r3n0TQd1bH45nFkruijt*>dxVGLBEf zC)Q=-6SY{YNyhQiR_kUyYyII z#ayOO`~W%B^B`j=b%tK4bF{lq5R`)>~=TW0`QUk6Vg#kfk%myIni zd?I3a=a`Qk%d40x#du;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{N~lMQ>Lx*aR#zt_5&>G3(!qtr6Ug$$xKp z!?+!j|EBeZk^lDfMsPbO?S|ekZpVtvHn24eB{`-wjIxPZ!?+z&_Ec*aw_|7maX*M+ z4U^p7#~S8*^}Df#aXU6nofm5uw`0ZXyx2b*9I~!2)(9@gxCyNDRKvI(<0g>jl^Evc oc8r@vo_EkXkDDdgu^Q{V^R@H%rP`Q#=jI<%ZE9;8Z`$Sm0hY9iP5=M^ diff --git a/public/logo.png b/public/logo.png deleted file mode 100644 index d012fb485ebe22c2cd189fd149360f0248cc7583..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3503 zcmV;g4N&rlP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91MxX-#1ONa40RR91FaQ7m02sFwcK`ql8A(JzRA}DqT4}6Ybrt`eb7$tx z%$u3_UcoIP@uS8>{h~%itP8k;TTG2hf@riBD+X;rTC`6EDz$M}z%;wJ-_=qzq4KXz@BbM814~N{wu+boP`g1@p$b41>VEqr?DO00zi^CE zT7T!B^$Yf0)BE=6HstlM{M(~R%;OA9_QXv7$8I*sKDPv77@*bGJ6a+F)o7gkCPX+W z0|$0@1S$bdRC{D_=$)6XU$F1M=>uoSEC2RHqt)#KjG*KmV0eP=9w|OpiVxP`J2~5w z6{f~+PX7bVSmQqu4Ht#NeJcQ>>^ysI?WvJNE4z+A<8**>@vHvwWFhlS1&#b25K;1B zdz%FJ8_B-pc>mND05jMKqM=BUqCjAgKtwCs|;R=9O#*YT%q z1}JZO^*_!Lkt2W(t??SbAObis7#V{S@ElN@tovV_G9o;E04jEyWPak+7MUNX-;!Pn z+OLe<`u0nYZ{1K(F1mB8sN4q90fE5G00>M3We0+dT$bLZ0q^a(Hx8{I!P9-RCJ*-YlpA6^w>EM2$a{}^-NK7D=GD7T*Ch$ z%N$Bj^T#z^CZj2}o%;k`2~2Rfc)XYzfM7;rsiz?jMbG#O0C$8Nh~=dr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f7qnXRB#g)5EUppix>=s7!A7(fu)$K0*%fZ zCr=p(W4xQF3p8GsBkPzs<}4hyA#HAnf{6aaE!z6An;!i8dG_;tmHjI#H0_?T^in9k zG(VS#4J%QDx*kU{rUIST5W~R;!(l&!(m?6VSPHpD)*5J}>b_zw3JQiZ$8*USks(yG zWf6H66%bK?_z$g4XX{69eCQwV&2~DOX3@9`?8r&2AFNz$Sgc~=|Y9xq{)qnYkUJhHC=P*cMI*-0He_e zi;F#SQp|ni*=1Fc10KyTP*`Yg#hATcS~&jPoSJMW0F#V zcJEmIhzKqQ;@HH<1Z(T7;G%<00HvS55Rg2<+13R$*pe5JX_->6qSc`=lNKW&;!qfh z%Oq87F$n>TAsE3g3og$+c>VAnC-t_&{Q-uE6u=vIZC@Q5(YJVGCX-_*iW2Q&0ZWUE z7%lemQ0`if)T|GZa2*E}l7TJp0h2C_Yq);1iM8V89;k1SA&${jMy!{^? zuAZ!|j8j++-f+fSL3EAHaHk+*w2B2REiYkdc_FnoWR_XtmK1G7d1{^|z74Q!14@&E zkh1gqbdg;vR*XUgcXYV@%>5r7t==CSPYDl-G+^b6a#8fDX1uQQwVR^Zqb=x>8 z@0(M=_$I>aKrD3Yl57_~OtYOOrQ;FeM2p;c#t>Bbr^Og_`r>4 zzFUDkXKY!kg>U7&@&kX4r6HLWyV{88JD6U9e6lfJdyF{qVj4IR!hzc7a zMNm(Hx~A`**;~9|_dz;wsy6XP0Q0u1%X22v>ibP*WDKEZ|27HFh~YfWon1F0J*SA1 zL=aH8LeWYwAci2y-+D-A@%aw~lnrByU#_`w`mM54oICGLh$fpt66b2KY%VqDoj)kh z=_-oC^@rSx2R5$)s)?ei>F~p3_>xOLOp^y{3vVPad#>u7Hy-vQMt=ZUawrOduwQWU_{$a}B6y0;hq dU;ewxzX4pB$1j=5*-QWc002ovPDHLkV1j0tRtx|D diff --git a/public/logo.svg b/public/logo.svg deleted file mode 100644 index 296491c5..00000000 --- a/public/logo.svg +++ /dev/null @@ -1,170 +0,0 @@ - - - - diff --git a/src/libs/data/data.js b/src/libs/data/data.js index a266d42b..5a476d55 100644 --- a/src/libs/data/data.js +++ b/src/libs/data/data.js @@ -26,6 +26,14 @@ export function abbrMessage(msg) { return msg.typeUrl.substring(msg.typeUrl.lastIndexOf('.') + 1).replace('Msg', '') } +export function isStringArray(value) { + let is = false + if (Array.isArray(value)) { + is = value.findIndex(x => typeof x === 'string') > -1 + } + return is +} + export function isToken(value) { let is = false if (Array.isArray(value)) { @@ -41,11 +49,11 @@ export function formatToken(token) { denom = denom.substring(1) const amount = token.amount / 1000000 if (amount > 10) { - return `${amount.toFixed()} ${denom}` + return `${parseFloat(amount.toFixed())} ${denom}` } - return `${amount} ${denom}` + return `${parseFloat(amount)} ${denom}` } - return `${token.amount} ${denom}` + return `${parseFloat(token.amount)} ${denom}` } return token } diff --git a/src/libs/data/staking-parameters.js b/src/libs/data/staking-parameters.js index 82f3b8d0..771aca5c 100644 --- a/src/libs/data/staking-parameters.js +++ b/src/libs/data/staking-parameters.js @@ -7,14 +7,22 @@ export default class StakingParameters { this.bond_denom = '' } - init(element) { + static create(element, chain = '') { + const self = new StakingParameters() if (element != null) { - this.max_entries = Number(element.max_entries) - this.historical_entries = Number(element.historical_entries) - this.unbonding_time = element.unbonding_time - this.max_validators = Number(element.max_validators) - this.bond_denom = element.bond_denom + if (chain === 'okexchain') { + // self = element + self.unbonding_time = element.unbonding_time + self.max_validators = Number(element.max_bonded_validators) + self.bond_denom = 'OKT' + } else { + self.max_entries = Number(element.max_entries) + self.historical_entries = Number(element.historical_entries) + self.unbonding_time = element.unbonding_time + self.max_validators = Number(element.max_validators) + self.bond_denom = element.bond_denom + } } - return this + return self } } diff --git a/src/libs/data/validator.js b/src/libs/data/validator.js index 130863fd..6a517fc3 100644 --- a/src/libs/data/validator.js +++ b/src/libs/data/validator.js @@ -24,7 +24,7 @@ export default class Validator { this.jailed = element.jailed this.status = element.status this.tokens = Number(element.tokens) - this.delegator_shares = element.delegator_shares + this.delegator_shares = Number(element.delegator_shares) this.description = new ValidatorDescription().init(element.description) this.bond_height = Number(element.bond_height) this.bond_intra_tx_counter = element.bond_intra_tx_counter diff --git a/src/libs/fetch.js b/src/libs/fetch.js index 38f848bb..7ca86dac 100644 --- a/src/libs/fetch.js +++ b/src/libs/fetch.js @@ -7,7 +7,10 @@ import { } from './data' function commonProcess(res) { - return res.result + if (res && Object.keys(res).includes('result')) { + return res.result + } + return res } // 头像 @@ -41,6 +44,13 @@ const chainAPI = class ChainFetch { return this.config } + isModuleLoaded(name) { + if (this.config.unload_module) { + return !this.config.unload_module.includes(name) + } + return true + } + async getLatestBlock() { return this.get('/blocks/latest').then(data => Block.create(data)) } @@ -82,11 +92,17 @@ const chainAPI = class ChainFetch { } async getMintingInflation() { - return this.get('/minting/inflation').then(data => Number(commonProcess(data))) + if (this.isModuleLoaded('minting')) { + return this.get('/minting/inflation').then(data => Number(commonProcess(data))) + } + return null } async getStakingParameters() { - return this.get('/staking/parameters').then(data => new StakingParameters().init(commonProcess(data))) + return this.get('/staking/parameters').then(data => { + this.getSelectedConfig() + return StakingParameters.create(commonProcess(data), this.config.chain_name) + }) } async getValidatorList() { @@ -98,11 +114,17 @@ const chainAPI = class ChainFetch { } async getSlashingParameters() { - return this.get('/slashing/parameters').then(data => commonProcess(data)) + if (this.isModuleLoaded('slashing')) { + return this.get('/slashing/parameters').then(data => commonProcess(data)) + } + return null } async getMintParameters() { - return this.get('/minting/parameters').then(data => commonProcess(data)) + if (this.isModuleLoaded('minting')) { + return this.get('/minting/parameters').then(data => commonProcess(data)) + } + return null } async getDistributionParameters() { diff --git a/src/main.js b/src/main.js index 7e08c9fa..f7ef159d 100644 --- a/src/main.js +++ b/src/main.js @@ -1,5 +1,4 @@ import Vue from 'vue' -import AsyncComputed from 'vue-async-computed' import { ToastPlugin, ModalPlugin } from 'bootstrap-vue' import VueCompositionAPI from '@vue/composition-api' import messages from '@/lang' @@ -19,7 +18,6 @@ import './global-components' import '@/libs/portal-vue' import '@/libs/toastification' -Vue.use(AsyncComputed) Vue.use(VueI18n) const i18n = new VueI18n({ diff --git a/src/store/chains/okexchain.json b/src/store/chains/okexchain.json new file mode 100644 index 00000000..c203de97 --- /dev/null +++ b/src/store/chains/okexchain.json @@ -0,0 +1,6 @@ +{ + "chain_name": "okexchain", + "api": "https://exchainrpc.okex.org/okexchain/v1", + "logo": "https://dl.airtable.com/.attachments/4620a173477efece7f459a3d6fc770c0/9f6618ad/OKexchain.svg", + "unload_module": ["minting", "slashing"] +} \ No newline at end of file diff --git a/src/views/ObjectFieldComponent.vue b/src/views/ObjectFieldComponent.vue index b9f621d5..310df13d 100644 --- a/src/views/ObjectFieldComponent.vue +++ b/src/views/ObjectFieldComponent.vue @@ -18,6 +18,9 @@ {{ formatTokens( value ) }} + + {{ value.join(', ') }} + @@ -56,7 +59,9 @@ import { BTableSimple, BTr, BTd, BTabs, BTab, } from 'bootstrap-vue' -import { abbr, isToken, tokenFormatter } from '@/libs/data' +import { + abbr, isStringArray, isToken, tokenFormatter, +} from '@/libs/data' import ArrayFieldComponent from './ArrayFieldComponent.vue' export default { @@ -95,6 +100,9 @@ export default { isTokenField(value) { return isToken(value) }, + isArrayText(value) { + return isStringArray(value) + }, formatTokens(value) { return tokenFormatter(value) }, diff --git a/src/views/Staking.vue b/src/views/Staking.vue index fc0c5d38..9e33560e 100644 --- a/src/views/Staking.vue +++ b/src/views/Staking.vue @@ -67,10 +67,14 @@ @@ -187,6 +191,7 @@ export default { } else { window.sum += item.tokens } + console.log(this.stakingPool.bondedToken) const rank = window.sum / this.stakingPool.bondedToken if (rank < 0.333) { return 'danger' diff --git a/src/views/StakingValidator.vue b/src/views/StakingValidator.vue index e9f43cde..8f22604d 100644 --- a/src/views/StakingValidator.vue +++ b/src/views/StakingValidator.vue @@ -114,7 +114,7 @@ Identity - {{ validator.description.identity }} + {{ validator.description.identity || '-' }} @@ -138,7 +138,7 @@ Unbond Height - {{ validator.unbonding_height }} + {{ validator.unbonding_height || '-' }} @@ -162,7 +162,7 @@ Min Self Delegation - {{ validator.min_self_delegation }} + {{ parseFloat(validator.min_self_delegation) }} @@ -174,7 +174,7 @@ Jailed - {{ validator.jailed }} + {{ validator.jailed || '-' }} @@ -186,7 +186,7 @@ Contact - {{ validator.security_contact }} + {{ validator.security_contact || '-' }} diff --git a/src/views/Summary.vue b/src/views/Summary.vue index c72fc473..6656acab 100644 --- a/src/views/Summary.vue +++ b/src/views/Summary.vue @@ -77,7 +77,7 @@ export default { }, slasing: { title: 'Slasing Parameters', - items: [], + items: null, }, mint: { title: 'Mint Parameters', @@ -145,6 +145,7 @@ export default { }, methods: { normalize(data, title) { + if (!data) return null const items = this.makeItems(data) return { title, diff --git a/yarn.lock b/yarn.lock index d38b5d83..aa5af979 100644 --- a/yarn.lock +++ b/yarn.lock @@ -971,63 +971,6 @@ resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.25.6.tgz#934d9a967180baa66163847616a74358732227ca" integrity sha512-ofOYiuxVKNo238vCPPlaDzqPXy2AQ/5/nashBo5rvPZJkxt9LciGfUEQWPCOb1BIJDNx2Dzu0z4XCf/dwzl0Dg== -"@fullcalendar/common@5.x", "@fullcalendar/common@~5.8.0": - version "5.8.0" - resolved "https://registry.npmjs.org/@fullcalendar/common/-/common-5.8.0.tgz" - integrity sha512-cKmXNgo/9auw86MOwXxA+5FRrgvbE93C9YDwic+Alfm3bUruDTzJDnuvRndrFVurpSBLm6/ZitaR+yoWKLIsgA== - dependencies: - tslib "^2.1.0" - -"@fullcalendar/core@5.x", "@fullcalendar/core@~5.8.0": - version "5.8.0" - resolved "https://registry.npmjs.org/@fullcalendar/core/-/core-5.8.0.tgz" - integrity sha512-55Zwy4fwcxBqHjfjhV5eae4qOh9fMlpjGcyy4Zt39zA1NlgUW0JxCGOyIu2K2jm2JZn+27/P8b06JXy57DmtKg== - dependencies: - "@fullcalendar/common" "~5.8.0" - preact "^10.0.5" - tslib "^2.1.0" - -"@fullcalendar/daygrid@5.x", "@fullcalendar/daygrid@~5.8.0": - version "5.8.0" - resolved "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-5.8.0.tgz" - integrity sha512-VrqwI97cewoUjFrKT67sS+f+JANI8xMx0g5bpM0XgV/KEEwvXpH5OmwkFSbXOnx1m4RXsvolQc6EBZpnJCf69Q== - dependencies: - "@fullcalendar/common" "~5.8.0" - tslib "^2.1.0" - -"@fullcalendar/interaction@5.x": - version "5.8.0" - resolved "https://registry.npmjs.org/@fullcalendar/interaction/-/interaction-5.8.0.tgz" - integrity sha512-ocOCS5g1AT06uR3OeKpN2WKJO4BLmnUZn/v2H/iPllbC7MwYBSy/obC4CoQqnK93FyJXUOFH1KfLwTK013C1+w== - dependencies: - "@fullcalendar/common" "~5.8.0" - tslib "^2.1.0" - -"@fullcalendar/list@5.x": - version "5.8.0" - resolved "https://registry.npmjs.org/@fullcalendar/list/-/list-5.8.0.tgz" - integrity sha512-JlqXbWq8Gl2BMx1mOAeEWakW43xDYypBBjwKztnax5tOB5Sfty8chVmeG7ffz2NFtvg2c1nj6MP/zGrVCYY0RA== - dependencies: - "@fullcalendar/common" "~5.8.0" - tslib "^2.1.0" - -"@fullcalendar/timegrid@5.x": - version "5.8.0" - resolved "https://registry.npmjs.org/@fullcalendar/timegrid/-/timegrid-5.8.0.tgz" - integrity sha512-N24TkOuRkxMDn02E8LPj4fKKgAxQxF6k/PONIwMVHnOih2v3SeiKOOemmrk6uoTwOS7R2fVblOJQGFWXobYu3g== - dependencies: - "@fullcalendar/common" "~5.8.0" - "@fullcalendar/daygrid" "~5.8.0" - tslib "^2.1.0" - -"@fullcalendar/vue@5.x": - version "5.8.0" - resolved "https://registry.npmjs.org/@fullcalendar/vue/-/vue-5.8.0.tgz" - integrity sha512-tL/knBuy6y17d86uyvqC9FHwgkJtTf1S7GDV5xVDohJlqNDE/YcJkV3kxzEgH263oYn8MHMxB4P4lGQy0hGmtw== - dependencies: - "@fullcalendar/core" "~5.8.0" - tslib "^2.1.0" - "@hapi/address@2.x.x": version "2.1.4" resolved "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz" @@ -2782,11 +2725,6 @@ buffer-crc32@~0.2.3: resolved "https://registry.npm.taobao.org/buffer-crc32/download/buffer-crc32-0.2.13.tgz" integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI= -buffer-equal-constant-time@1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz" - integrity sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk= - buffer-fill@^1.0.0: version "1.0.0" resolved "https://registry.npm.taobao.org/buffer-fill/download/buffer-fill-1.0.0.tgz" @@ -3282,11 +3220,6 @@ clone@^1.0.2: resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= -clone@^2.1.1: - version "2.1.2" - resolved "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz" - integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= - coa@^2.0.2: version "2.0.2" resolved "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz" @@ -3867,11 +3800,6 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -date-fns@^2.0.0-beta.4: - version "2.22.1" - resolved "https://registry.npmjs.org/date-fns/-/date-fns-2.22.1.tgz" - integrity sha512-yUFPQjrxEmIsMqlHhAhmxkuH769baF21Kk+nZwZGyrMoyLA+LugaQtC0+Tqf9CBUUULWwUJt6Q5ySI3LJDDCGg== - dayjs@^1.10.6: version "1.10.6" resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.10.6.tgz#288b2aa82f2d8418a6c9d4df5898c0737ad02a63" @@ -4131,11 +4059,6 @@ detect-node@^2.0.4: resolved "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz" integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== -diacriticless@1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/diacriticless/-/diacriticless-1.0.1.tgz" - integrity sha1-592peMKRlgm7SK7h78XeajN71MM= - diffie-hellman@^5.0.0: version "5.0.3" resolved "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz" @@ -4348,13 +4271,6 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" -ecdsa-sig-formatter@1.0.11: - version "1.0.11" - resolved "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz" - integrity sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ== - dependencies: - safe-buffer "^5.0.1" - echarts@4.8.0: version "4.8.0" resolved "https://registry.npmjs.org/echarts/-/echarts-4.8.0.tgz" @@ -4750,11 +4666,6 @@ event-pubsub@4.3.0: resolved "https://registry.npmjs.org/event-pubsub/-/event-pubsub-4.3.0.tgz" integrity sha512-z7IyloorXvKbFx9Bpie2+vMJKKx1fH1EN5yiTfp8CiLOTptSYy1g8H4yDpGlEdshL1PBiFtBHepF2cNsqeEeFQ== -eventemitter3@^2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz" - integrity sha1-teEHm1n7XhuidxwKmTvgYKWMmbo= - eventemitter3@^4.0.0: version "4.0.7" resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz" @@ -4937,7 +4848,7 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2: assign-symbols "^1.0.0" is-extendable "^1.0.1" -extend@^3.0.2, extend@~3.0.2: +extend@~3.0.2: version "3.0.2" resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== @@ -4980,11 +4891,6 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-diff@1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz" - integrity sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig== - fast-glob@^2.2.6: version "2.2.7" resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz" @@ -6829,22 +6735,6 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" -jsonwebtoken@8.5.1: - version "8.5.1" - resolved "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz" - integrity sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w== - dependencies: - jws "^3.2.2" - lodash.includes "^4.3.0" - lodash.isboolean "^3.0.3" - lodash.isinteger "^4.0.4" - lodash.isnumber "^3.0.3" - lodash.isplainobject "^4.0.6" - lodash.isstring "^4.0.1" - lodash.once "^4.0.0" - ms "^2.1.1" - semver "^5.6.0" - jsprim@^1.2.2: version "1.4.1" resolved "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz" @@ -6865,23 +6755,6 @@ junk@^3.1.0: resolved "https://registry.npm.taobao.org/junk/download/junk-3.1.0.tgz" integrity sha1-MUmQmNkCt+mMXZucgPQ0V6iKv6E= -jwa@^1.4.1: - version "1.4.1" - resolved "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz" - integrity sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA== - dependencies: - buffer-equal-constant-time "1.0.1" - ecdsa-sig-formatter "1.0.11" - safe-buffer "^5.0.1" - -jws@^3.2.2: - version "3.2.2" - resolved "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz" - integrity sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA== - dependencies: - jwa "^1.4.1" - safe-buffer "^5.0.1" - keyv@3.0.0: version "3.0.0" resolved "https://registry.npm.taobao.org/keyv/download/keyv-3.0.0.tgz" @@ -7074,16 +6947,6 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" -lodash.assign@^4.2.0: - version "4.2.0" - resolved "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz" - integrity sha1-DZnzzNem0mHRm9rrkkUAXShYCOc= - -lodash.clonedeep@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz" - integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= - lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz" @@ -7094,51 +6957,6 @@ lodash.defaultsdeep@^4.6.1: resolved "https://registry.npmjs.org/lodash.defaultsdeep/-/lodash.defaultsdeep-4.6.1.tgz" integrity sha512-3j8wdDzYuWO3lM3Reg03MuQR957t287Rpcxp1njpEa8oDrikb+FwGdW3n+FELh/A6qib6yPit0j/pv9G/yeAqA== -lodash.filter@^4.6.0: - version "4.6.0" - resolved "https://registry.npmjs.org/lodash.filter/-/lodash.filter-4.6.0.tgz" - integrity sha1-ZosdSYFgOuHMWm+nYBQ+SAtMSs4= - -lodash.foreach@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz" - integrity sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM= - -lodash.includes@^4.3.0: - version "4.3.0" - resolved "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz" - integrity sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8= - -lodash.isboolean@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz" - integrity sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY= - -lodash.isequal@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz" - integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA= - -lodash.isinteger@^4.0.4: - version "4.0.4" - resolved "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz" - integrity sha1-YZwK89A/iwTDH1iChAt3sRzWg0M= - -lodash.isnumber@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz" - integrity sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w= - -lodash.isplainobject@^4.0.6: - version "4.0.6" - resolved "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz" - integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= - -lodash.isstring@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz" - integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= - lodash.kebabcase@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz" @@ -7154,11 +6972,6 @@ lodash.memoize@^4.1.2: resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= -lodash.once@^4.0.0: - version "4.1.1" - resolved "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz" - integrity sha1-DdOXEhPHxW34gJd9UEyI+0cal6w= - lodash.transform@^4.6.0: version "4.6.0" resolved "https://registry.npmjs.org/lodash.transform/-/lodash.transform-4.6.0.tgz" @@ -8263,11 +8076,6 @@ param-case@2.1.x: dependencies: no-case "^2.2.0" -parchment@^1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz" - integrity sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg== - parent-module@^1.0.0: version "1.0.1" resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" @@ -8894,11 +8702,6 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.27, postcss@^7.0.3 source-map "^0.6.1" supports-color "^6.1.0" -preact@^10.0.5: - version "10.5.14" - resolved "https://registry.npmjs.org/preact/-/preact-10.5.14.tgz" - integrity sha512-KojoltCrshZ099ksUZ2OQKfbH66uquFoxHSbnwKbTJHeQNvx42EmC7wQVWNuDt6vC5s3nudRHFtKbpY4ijKlaQ== - prebuild-install@^6.1.2: version "6.1.3" resolved "https://registry.nlark.com/prebuild-install/download/prebuild-install-6.1.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fprebuild-install%2Fdownload%2Fprebuild-install-6.1.3.tgz" @@ -9136,27 +8939,6 @@ quick-lru@^5.1.1: resolved "https://registry.nlark.com/quick-lru/download/quick-lru-5.1.1.tgz" integrity sha1-NmST5rPkKjpoheLpnRj4D7eoyTI= -quill-delta@^3.6.2: - version "3.6.3" - resolved "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz" - integrity sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg== - dependencies: - deep-equal "^1.0.1" - extend "^3.0.2" - fast-diff "1.1.2" - -quill@^1.3.4: - version "1.3.7" - resolved "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz" - integrity sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g== - dependencies: - clone "^2.1.1" - deep-equal "^1.0.1" - eventemitter3 "^2.0.3" - extend "^3.0.2" - parchment "^1.1.4" - quill-delta "^3.6.2" - randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" @@ -10799,7 +10581,7 @@ tslib@^1.9.0: resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.1, tslib@^2.1.0: +tslib@^2.0.1: version "2.3.0" resolved "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz" integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg== @@ -11181,11 +10963,6 @@ vue-apexcharts@1.6.0: resolved "https://registry.npmjs.org/vue-apexcharts/-/vue-apexcharts-1.6.0.tgz" integrity sha512-sT6tuVTLBwfH3TA7azecDNS/W70bmz14ZJI7aE7QIqcG9I6OywyH7x3hcOeY1v1DxttI8Svc5RuYj4Dd+A5F4g== -vue-async-computed@^3.9.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/vue-async-computed/-/vue-async-computed-3.9.0.tgz#af3181c25168bfe9d86d8ffbc7033bf9e484fe84" - integrity sha512-ac6m/9zxHHNGGKNOU1en8qNk+fAmEbJLuWL7qyQTFuH3vjv3V4urv//QHcVzCobROM6btnaDG2b+XYMncF/ETA== - vue-autosuggest@2.2.0: version "2.2.0" resolved "https://registry.npmjs.org/vue-autosuggest/-/vue-autosuggest-2.2.0.tgz" @@ -11294,19 +11071,6 @@ vue-functional-data-merge@^3.1.0: resolved "https://registry.npmjs.org/vue-functional-data-merge/-/vue-functional-data-merge-3.1.0.tgz" integrity sha512-leT4kdJVQyeZNY1kmnS1xiUlQ9z1B/kdBFCILIjYYQDqZgLqCLa0UhjSSeRX6c3mUe6U5qYeM8LrEqkHJ1B4LA== -vue-good-table@2.21.0: - version "2.21.0" - resolved "https://registry.npmjs.org/vue-good-table/-/vue-good-table-2.21.0.tgz" - integrity sha512-e384AGlmEBG0CfTkZXN/OZe1O58V2mbxQafsKqzVrqvROcMZsa9iSyK11D4YS2JzlJo9mRqsad4/vrV/U/Xbdw== - dependencies: - date-fns "^2.0.0-beta.4" - diacriticless "1.0.1" - lodash.assign "^4.2.0" - lodash.clonedeep "^4.5.0" - lodash.filter "^4.6.0" - lodash.foreach "^4.5.0" - lodash.isequal "^4.5.0" - vue-hot-reload-api@^2.3.0: version "2.3.4" resolved "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz" @@ -11365,14 +11129,6 @@ vue-property-decorator@^8.0.0: dependencies: vue-class-component "^7.1.0" -vue-quill-editor@3.0.6: - version "3.0.6" - resolved "https://registry.npmjs.org/vue-quill-editor/-/vue-quill-editor-3.0.6.tgz" - integrity sha512-g20oSZNWg8Hbu41Kinjd55e235qVWPLfg4NvsLW6d+DhgBTFbEuMpcWlUdrD6qT3+Noim6DRu18VLM9lVShXOQ== - dependencies: - object-assign "^4.1.1" - quill "^1.3.4" - vue-ripple-directive@2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/vue-ripple-directive/-/vue-ripple-directive-2.0.1.tgz"