Installations
npm install data-vis-iview
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>=8.9.1
Node Version
14.6.0
NPM Version
6.14.6
Score
46.5
Supply Chain
84.6
Quality
77.1
Maintenance
50
Vulnerability
97.9
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (62.63%)
Vue (34.37%)
CSS (2.89%)
HTML (0.11%)
Developer
Download Statistics
Total Downloads
7,883
Last Day
4
Last Week
10
Last Month
40
Last Year
646
GitHub Statistics
4 Stars
138 Commits
5 Forks
2 Watching
30 Branches
6 Contributors
Package Meta Information
Latest Version
1.0.0
Package Id
data-vis-iview@1.0.0
Unpacked Size
95.23 kB
Size
17.85 kB
File Count
31
NPM Version
6.14.6
Node Version
14.6.0
Total Downloads
Cumulative downloads
Total Downloads
7,883
Last day
33.3%
4
Compared to previous day
Last week
42.9%
10
Compared to previous week
Last month
-11.1%
40
Compared to previous month
Last year
-38.7%
646
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
5
Peer Dependencies
2
Dev Dependencies
39
dataVisIView
Description
A charts generator with json schema based on iview ui.
- Table
- Lines
- Bar
- Pie
- Retain table
- Card
- Funnel
- Map
- LiquidFill
- Custom
Quick Exmaple
This is a part of screenshot of the website.
You can get a result like this simply by:
1<template> 2 <DataVis :config="config" /> 3</template> 4 5<script> 6import DataVis from 'data-vis-iview'; 7const config = { 8 title: '整体趋势', 9 rows: [ 10 [ 11 { 12 conditions: [ 13 { 14 key: '100060', 15 type: 'DatePicker', 16 subType: 'date', 17 model: 'date', 18 placeholder: '', 19 required: true, 20 defaultValue: '2019-01-01' 21 } 22 ], 23 chartGroup: [ 24 { 25 'tip': { 26 title: '标题1', 27 content: '内容1' 28 }, 29 'label':'地域分布', 30 'type':'pie', 31 'data': [ 32 {value:335, name:'直接访问'}, 33 {value:310, name:'邮件营销'}, 34 {value:274, name:'联盟广告'}, 35 {value:235, name:'视频广告'}, 36 {value:400, name:'搜索引擎'} 37 ] 38 }, 39 { 40 'label':'新增用户', 41 'type':'bar', 42 'columns': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 43 'data': [120, 200, 150, 80, 70, 110, 130] 44 } 45 ] 46 }, 47 { 48 conditions: [ 49 { 50 key: '100061', 51 type: 'DatePicker', 52 subType: 'date', 53 model: 'date', 54 placeholder: '', 55 required: true, 56 defaultValue: '2019-01-01' 57 } 58 ], 59 chartGroup: [ 60 { 61 'label': '趋势图', 62 'type': 'line', 63 'columns': [ 64 ['2015-1', '2015-2', '2015-3', '2015-4', '2015-5', '2015-6', '2015-7', '2015-8', '2015-9', '2015-10', '2015-11'], 65 ['2016-1', '2016-2', '2016-3', '2016-4', '2016-5', '2016-6', '2016-7', '2016-8', '2016-9', '2016-10', '2016-11', '2016-12'] 66 ], 67 'data': [ 68 { 69 name:'2015 邮件营销', 70 groupName: '邮件营销', 71 xAxisIndex: 0, 72 data:[120, 132, 101, 134, 90, 230, 210, 101, 134] 73 }, 74 { 75 name:'2016 邮件营销', 76 groupName: '邮件营销', 77 xAxisIndex: 1, 78 data:[150, 122, 121, 164, 100, 200, 200, 141, 134, 90, 230, 210] 79 }, 80 { 81 name:'2015 联盟广告', 82 groupName: '联盟广告', 83 xAxisIndex: 0, 84 data:[220, 182, 191, 234, 290, 330, 310, 101, 134, 90, 230] 85 }, 86 { 87 name:'2016 联盟广告', 88 groupName: '联盟广告', 89 xAxisIndex: 1, 90 data:[20, 82, 91, 34, 90, 30, 10, 1, 34, 90, 30, 10] 91 } 92 ] 93 }, 94 { 95 'tip': { 96 title: '标题2', 97 content: '内容2' 98 }, 99 'label':'柱状图api2', 100 'type':'bar', 101 'api': '/chartBarApi' 102 } 103 ] 104 } 105 ] 106 ] 107}; 108export default { 109 components: { 110 DataVis 111 }, 112 data() { 113 return { 114 config 115 }; 116 } 117}; 118</script> 119
Pull the repo to see more or you can take a look at the website code;
Design
Developer
development
yarn run dev
production
yarn run build
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
Found 4/22 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/JSON-Drived-Configurable-Platform/data-vis-iview/main.yml/dev?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/JSON-Drived-Configurable-Platform/data-vis-iview/main.yml/dev?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/JSON-Drived-Configurable-Platform/data-vis-iview/main.yml/dev?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/JSON-Drived-Configurable-Platform/data-vis-iview/main.yml/dev?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/JSON-Drived-Configurable-Platform/data-vis-iview/main.yml/dev?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/main.yml:28
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'dev'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 16 are checked with a SAST tool
Reason
99 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-whgm-jr23-g3j9
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25
- Warn: Project is vulnerable to: GHSA-4w2v-q235-vp99
- Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x
- Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx
- Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw
- Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-3wcq-x3mq-6r9p
- Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2
- Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w
- Warn: Project is vulnerable to: GHSA-434g-2637-qmqr
- Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m
- Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw
- Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p
- Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747
- Warn: Project is vulnerable to: GHSA-6h5x-7c5m-7cr7
- Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc
- Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx
- Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q
- Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c
- Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc
- Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp
- Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-pfq8-rq6v-vf5m
- Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27
- Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37
- Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-92xj-mqp7-vmcj
- Warn: Project is vulnerable to: GHSA-wxgw-qj99-44c2
- Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5
- Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp
- Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq
- Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr
- Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765
- Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g
- Warn: Project is vulnerable to: GHSA-r8f7-9pfq-mjmv
- Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-566m-qj78-rww5
- Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-7mwh-4pqv-wmr8
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq
- Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9
- Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v
- Warn: Project is vulnerable to: GHSA-9m6j-fcg5-2442
- Warn: Project is vulnerable to: GHSA-hh27-ffr2-f2jc
- Warn: Project is vulnerable to: GHSA-rqff-837h-mm52
- Warn: Project is vulnerable to: GHSA-8v38-pw62-9cw2
- Warn: Project is vulnerable to: GHSA-hgjh-723h-mx2j
- Warn: Project is vulnerable to: GHSA-jf5r-8hm2-f872
- Warn: Project is vulnerable to: GHSA-5j4c-8p2g-v4jx
- Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx
- Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6
- Warn: Project is vulnerable to: GHSA-g78m-2chm-r7qv
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
- Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-3x9f-74h4-2fqr
- Warn: Project is vulnerable to: GHSA-8vcr-vxm8-293m
- Warn: Project is vulnerable to: GHSA-g973-978j-2c3p
- Warn: Project is vulnerable to: GHSA-4r6h-8v6p-xvw6
- Warn: Project is vulnerable to: GHSA-5pgg-2g8v-p4x9
- Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh
- Warn: Project is vulnerable to: GHSA-fhv8-fx5f-7fxf
Score
2.3
/10
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More