visualifyjs 2.5.3-2.dev → 2.5.3-9-dev
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of visualifyjs might be problematic. Click here for more details.
- package/.github/workflows/{static.yml.bak → build.yaml} +51 -51
- package/LICENSE +674 -674
- package/README.md +40 -58
- package/config-overrides.js +31 -31
- package/dist/visualify.js +3 -3
- package/docs/CLI.md +15 -0
- package/docs/{docs/README.md → README.md} +41 -65
- package/docs/{docs/Rechart → Rechart}/bar.md +190 -190
- package/docs/{docs/Rechart → Rechart}/funnel.md +193 -241
- package/docs/{docs/Rechart → Rechart}/line.md +355 -355
- package/docs/{docs/Rechart → Rechart}/pie.md +225 -225
- package/docs/{docs/Rechart → Rechart}/radar.md +253 -253
- package/docs/{docs/_404.md → _404.md} +51 -51
- package/docs/{docs/_coverpage.md → _coverpage.md} +11 -11
- package/docs/{docs/_sidebar.md → _sidebar.md} +42 -44
- package/docs/{docs/components → components}/dotBio.md +34 -34
- package/docs/{docs/components → components}/echart.md +82 -82
- package/docs/{docs/components → components}/html.md +34 -34
- package/docs/{docs/components → components}/macaron.md +145 -145
- package/docs/components/markdown.md +0 -0
- package/docs/{docs/components → components}/more.md +142 -142
- package/docs/{docs/components → components}/plotly.md +62 -62
- package/docs/{docs/components → components}/scatterL.md +70 -70
- package/docs/{docs/components → components}/visium.md +56 -56
- package/docs/{docs/configuration.md → configuration.md} +123 -121
- package/docs/{docs/deploy.md → deploy.md} +23 -31
- package/docs/index.html +70 -70
- package/docs/log.md +1 -0
- package/docs/manifest.json +23 -23
- package/docs/{docs/more-pages.md → more-pages.md} +23 -23
- package/docs/{docs/quickstart.md → quickstart.md} +115 -124
- package/docs/{docs/rechart-attributes.md → rechart-attributes.md} +74 -74
- package/docs/{docs/rechart-basic-usage.md → rechart-basic-usage.md} +162 -162
- package/docs/static/css/fluff-stuff.css +169 -169
- package/docs/static/css/font-awesome.min.css +4 -4
- package/docs/static/css/visualify.css +25 -25
- package/docs/static/js/configuration.js +448 -448
- package/docs/static/js/visualify.js +24 -23
- package/docs/theme.md +3 -0
- package/package.json +74 -83
- package/rollup.config.mjs +75 -75
- package/src/_css/404.css +115 -115
- package/src/_css/App.css +37 -37
- package/src/_css/autoSuggestion.css +26 -26
- package/src/_css/circular-progress.css +32 -32
- package/src/_css/index.css +36 -36
- package/src/_css/modern.css +24 -24
- package/src/_media/corner.svg +8 -8
- package/src/_media/download.svg +3 -3
- package/src/_media/logo.svg +14 -14
- package/src/_test/App.test.js +15 -15
- package/src/_utils/reportWebVitals.js +13 -13
- package/src/core/appContext.js +27 -27
- package/src/core/components/Scatter.js +188 -188
- package/src/core/components/ScatterBio.js +572 -572
- package/src/core/components/VisiumPlot.js +165 -165
- package/src/core/components/browser.js +42 -42
- package/src/core/components/dotplot.js +413 -413
- package/src/core/components/html.js +29 -29
- package/src/core/components/list.js +178 -178
- package/src/core/components/macaron.js +201 -201
- package/src/core/components/markdown.js +56 -56
- package/src/core/components/parser.scatterBio.js +579 -587
- package/src/core/components/ratio.js +80 -80
- package/src/core/components/scatterL.js +173 -173
- package/src/core/components/searchbar.js +131 -131
- package/src/core/components/selection.js +193 -193
- package/src/core/components/timeline.js +281 -281
- package/src/core/components/visium.js +97 -97
- package/src/core/fetch/condfetch.js +82 -82
- package/src/core/fetch/fetch.js +92 -92
- package/src/core/fetch/json.js +29 -29
- package/src/core/fetch/vfetch.js +42 -42
- package/src/core/liveEditor.js +44 -44
- package/src/core/modules/codeEditorWithPreview.js +104 -104
- package/src/core/modules/echarts/common.js +20 -20
- package/src/core/modules/echarts/presetHandler.js +41 -41
- package/src/core/modules/echarts/presets/esodev.chromium.js +172 -172
- package/src/core/modules/echarts/presets/esodev.codex.js +130 -130
- package/src/core/modules/echarts/presets/esodev.visium.js +123 -123
- package/src/core/modules/echarts/presets/mmtrbc.js +186 -186
- package/src/core/modules/echarts.js +71 -71
- package/src/core/modules/echartsUtils.js +43 -43
- package/src/core/modules/echartswitcher.js +152 -152
- package/src/core/modules/replotly/presetHandler.js +24 -24
- package/src/core/modules/replotly/presets/minimum.js +18 -18
- package/src/core/modules/replotly/presets/mmtrbc.dot.js +114 -114
- package/src/core/modules/replotly/presets/mmtrbc.violin.js +100 -100
- package/src/core/modules/replotly.js +71 -71
- package/src/core/pages/404.js +50 -50
- package/src/core/pages/error.js +27 -27
- package/src/core/pages/jsonPage.js +62 -62
- package/src/core/pages/loading.js +44 -44
- package/src/core/parser/echart.data.js +183 -183
- package/src/core/parser/echart.features.js +125 -125
- package/src/core/parser/echart.general.js +143 -147
- package/src/core/parser/echart.hilbert.js +57 -57
- package/src/core/parser/echart.parser.js +210 -210
- package/src/core/parser/echart.series.js +67 -67
- package/src/core/parser/echart.types.js +76 -76
- package/src/core/parser/plotly.config.js +10 -10
- package/src/core/parser/plotly.data.js +132 -132
- package/src/core/parser/plotly.layout.js +9 -9
- package/src/core/parser/plotly.violin.js +18 -18
- package/src/core/recharts.js +62 -62
- package/src/core/router/alias.js +49 -49
- package/src/core/router/jsonRouter.js +31 -31
- package/src/core/themes/modern.js +32 -32
- package/src/core/themes/themeSelector.js +33 -33
- package/src/core/visualify.js +47 -47
- package/src/core/widgets/circularProgress.js +23 -23
- package/src/core/widgets/controller.js +83 -83
- package/src/core/widgets/errorBoundary.js +36 -36
- package/src/core/widgets/footer.js +177 -177
- package/src/core/widgets/header.js +234 -234
- package/src/core/widgets/layout/Grid.js +31 -31
- package/src/core/widgets/layout.js +36 -36
- package/src/core/widgets/mapping.js +42 -42
- package/src/index.js +62 -62
- package/src/setupTests.js +5 -5
- package/docs/docs/CLI.md +0 -34
- package/docs/docs/Rechart/scatter.md +0 -298
- package/docs/docs/log.md +0 -9
- package/docs/docs/static/logo/favicon.ico +0 -0
- package/docs/docs/static/logo/logo_128x128.png +0 -0
- package/docs/docs/static/logo/logo_192x192.png +0 -0
- package/docs/docs/static/logo/logo_256x256.png +0 -0
- package/docs/docs/static/logo/logo_512x512.png +0 -0
- package/docs/docs/static/logo/logo_64x64.png +0 -0
- package/docs/docs/theme.md +0 -5
- /package/docs/{docs/Rechart → Rechart}/geo.md +0 -0
- /package/docs/{docs/Rechart → Rechart}/liquidfill.md +0 -0
- /package/docs/{docs/Rechart → Rechart}/polar.md +0 -0
- /package/docs/{docs/Rechart → Rechart}/sankey.md +0 -0
- /package/docs/{docs/Rechart/sunburst.md → Rechart/scatter.md} +0 -0
- /package/docs/{docs/Rechart/tree.md → Rechart/sunburst.md} +0 -0
- /package/docs/{docs/Rechart/wordcloud.md → Rechart/tree.md} +0 -0
- /package/docs/{docs/components/markdown.md → Rechart/wordcloud.md} +0 -0
- /package/docs/{docs/static → static}/_images/deploy-github-pages.png +0 -0
@@ -1,27 +1,27 @@
|
|
1
|
-
.autosuggestion {
|
2
|
-
position: relative;
|
3
|
-
margin: 1rem;
|
4
|
-
}
|
5
|
-
|
6
|
-
.suggestion-list {
|
7
|
-
position: relative;
|
8
|
-
list-style-type: none;
|
9
|
-
margin: 0;
|
10
|
-
padding: 0;
|
11
|
-
background-color: white;
|
12
|
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
13
|
-
max-width: 100%;
|
14
|
-
overflow: auto;
|
15
|
-
z-index: 1000;
|
16
|
-
border-radius: 4px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.suggestion-item {
|
20
|
-
padding: 8px 16px;
|
21
|
-
cursor: pointer;
|
22
|
-
text-align: center;
|
23
|
-
}
|
24
|
-
|
25
|
-
.suggestion-item:hover {
|
26
|
-
background-color: #f0f0f0;
|
1
|
+
.autosuggestion {
|
2
|
+
position: relative;
|
3
|
+
margin: 1rem;
|
4
|
+
}
|
5
|
+
|
6
|
+
.suggestion-list {
|
7
|
+
position: relative;
|
8
|
+
list-style-type: none;
|
9
|
+
margin: 0;
|
10
|
+
padding: 0;
|
11
|
+
background-color: white;
|
12
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
13
|
+
max-width: 100%;
|
14
|
+
overflow: auto;
|
15
|
+
z-index: 1000;
|
16
|
+
border-radius: 4px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.suggestion-item {
|
20
|
+
padding: 8px 16px;
|
21
|
+
cursor: pointer;
|
22
|
+
text-align: center;
|
23
|
+
}
|
24
|
+
|
25
|
+
.suggestion-item:hover {
|
26
|
+
background-color: #f0f0f0;
|
27
27
|
}
|
@@ -1,33 +1,33 @@
|
|
1
|
-
.circular-progress {
|
2
|
-
display: flex;
|
3
|
-
justify-content: center;
|
4
|
-
align-items: center;
|
5
|
-
}
|
6
|
-
|
7
|
-
.spinner {
|
8
|
-
width: 30px;
|
9
|
-
height: 30px;
|
10
|
-
border: 4px solid rgba(0, 0, 0, 0.1);
|
11
|
-
border-left-color: #333;
|
12
|
-
border-radius: 50%;
|
13
|
-
animation: spin 1s linear infinite;
|
14
|
-
}
|
15
|
-
|
16
|
-
.spinner.primary {
|
17
|
-
border-left-color: #1976d2;
|
18
|
-
/* Change color as needed */
|
19
|
-
}
|
20
|
-
|
21
|
-
.spinner.secondary {
|
22
|
-
border-left-color: #f50057;
|
23
|
-
/* Change color as needed */
|
24
|
-
}
|
25
|
-
|
26
|
-
@keyframes spin {
|
27
|
-
0% {
|
28
|
-
transform: rotate(0deg);
|
29
|
-
}
|
30
|
-
100% {
|
31
|
-
transform: rotate(360deg);
|
32
|
-
}
|
1
|
+
.circular-progress {
|
2
|
+
display: flex;
|
3
|
+
justify-content: center;
|
4
|
+
align-items: center;
|
5
|
+
}
|
6
|
+
|
7
|
+
.spinner {
|
8
|
+
width: 30px;
|
9
|
+
height: 30px;
|
10
|
+
border: 4px solid rgba(0, 0, 0, 0.1);
|
11
|
+
border-left-color: #333;
|
12
|
+
border-radius: 50%;
|
13
|
+
animation: spin 1s linear infinite;
|
14
|
+
}
|
15
|
+
|
16
|
+
.spinner.primary {
|
17
|
+
border-left-color: #1976d2;
|
18
|
+
/* Change color as needed */
|
19
|
+
}
|
20
|
+
|
21
|
+
.spinner.secondary {
|
22
|
+
border-left-color: #f50057;
|
23
|
+
/* Change color as needed */
|
24
|
+
}
|
25
|
+
|
26
|
+
@keyframes spin {
|
27
|
+
0% {
|
28
|
+
transform: rotate(0deg);
|
29
|
+
}
|
30
|
+
100% {
|
31
|
+
transform: rotate(360deg);
|
32
|
+
}
|
33
33
|
}
|
package/src/_css/index.css
CHANGED
@@ -1,37 +1,37 @@
|
|
1
|
-
body {
|
2
|
-
margin: 0;
|
3
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
4
|
-
-webkit-font-smoothing: antialiased;
|
5
|
-
-moz-osx-font-smoothing: grayscale;
|
6
|
-
}
|
7
|
-
|
8
|
-
code {
|
9
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
|
10
|
-
}
|
11
|
-
|
12
|
-
.reference-list {
|
13
|
-
padding: 0;
|
14
|
-
margin-top: 1rem;
|
15
|
-
margin-bottom: 1rem;
|
16
|
-
border-radius: 0.25rem;
|
17
|
-
}
|
18
|
-
|
19
|
-
.reference-item.none {
|
20
|
-
list-style-type: none;
|
21
|
-
}
|
22
|
-
|
23
|
-
.reference-item.circle {
|
24
|
-
list-style-type: circle;
|
25
|
-
}
|
26
|
-
|
27
|
-
.reference-item.disc {
|
28
|
-
list-style-type: disc;
|
29
|
-
}
|
30
|
-
|
31
|
-
.reference-item.square {
|
32
|
-
list-style-type: square;
|
33
|
-
}
|
34
|
-
|
35
|
-
.no-border-radius {
|
36
|
-
border-radius: 0 !important;
|
1
|
+
body {
|
2
|
+
margin: 0;
|
3
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
4
|
+
-webkit-font-smoothing: antialiased;
|
5
|
+
-moz-osx-font-smoothing: grayscale;
|
6
|
+
}
|
7
|
+
|
8
|
+
code {
|
9
|
+
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
|
10
|
+
}
|
11
|
+
|
12
|
+
.reference-list {
|
13
|
+
padding: 0;
|
14
|
+
margin-top: 1rem;
|
15
|
+
margin-bottom: 1rem;
|
16
|
+
border-radius: 0.25rem;
|
17
|
+
}
|
18
|
+
|
19
|
+
.reference-item.none {
|
20
|
+
list-style-type: none;
|
21
|
+
}
|
22
|
+
|
23
|
+
.reference-item.circle {
|
24
|
+
list-style-type: circle;
|
25
|
+
}
|
26
|
+
|
27
|
+
.reference-item.disc {
|
28
|
+
list-style-type: disc;
|
29
|
+
}
|
30
|
+
|
31
|
+
.reference-item.square {
|
32
|
+
list-style-type: square;
|
33
|
+
}
|
34
|
+
|
35
|
+
.no-border-radius {
|
36
|
+
border-radius: 0 !important;
|
37
37
|
}
|
package/src/_css/modern.css
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
.v-header .rainbow-text {
|
2
|
-
background-image: linear-gradient( to right, rgb(198, 255, 221), rgb(251, 215, 134), rgb(247, 121, 125));
|
3
|
-
-webkit-background-clip: text;
|
4
|
-
background-clip: text;
|
5
|
-
color: transparent;
|
6
|
-
}
|
7
|
-
|
8
|
-
.v-header .logo {
|
9
|
-
padding-bottom: 5px;
|
10
|
-
}
|
11
|
-
|
12
|
-
.navbar-nav .nav-link.active {
|
13
|
-
font-weight: bold;
|
14
|
-
}
|
15
|
-
|
16
|
-
.selection-box-container {
|
17
|
-
max-width: 100%;
|
18
|
-
min-height: 100px;
|
19
|
-
height: auto;
|
20
|
-
}
|
21
|
-
|
22
|
-
.select-wrapper {
|
23
|
-
max-width: 100%;
|
24
|
-
margin-bottom: 10px;
|
1
|
+
.v-header .rainbow-text {
|
2
|
+
background-image: linear-gradient( to right, rgb(198, 255, 221), rgb(251, 215, 134), rgb(247, 121, 125));
|
3
|
+
-webkit-background-clip: text;
|
4
|
+
background-clip: text;
|
5
|
+
color: transparent;
|
6
|
+
}
|
7
|
+
|
8
|
+
.v-header .logo {
|
9
|
+
padding-bottom: 5px;
|
10
|
+
}
|
11
|
+
|
12
|
+
.navbar-nav .nav-link.active {
|
13
|
+
font-weight: bold;
|
14
|
+
}
|
15
|
+
|
16
|
+
.selection-box-container {
|
17
|
+
max-width: 100%;
|
18
|
+
min-height: 100px;
|
19
|
+
height: auto;
|
20
|
+
}
|
21
|
+
|
22
|
+
.select-wrapper {
|
23
|
+
max-width: 100%;
|
24
|
+
margin-bottom: 10px;
|
25
25
|
}
|
package/src/_media/corner.svg
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
|
2
|
-
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z">
|
3
|
-
</path>
|
4
|
-
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm">
|
5
|
-
</path>
|
6
|
-
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body">
|
7
|
-
</path>
|
8
|
-
</svg>
|
1
|
+
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
|
2
|
+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z">
|
3
|
+
</path>
|
4
|
+
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm">
|
5
|
+
</path>
|
6
|
+
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body">
|
7
|
+
</path>
|
8
|
+
</svg>
|
package/src/_media/download.svg
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="40">
|
2
|
-
<path d="M30 20.75c-0.69 0.001-1.249 0.56-1.25 1.25v6.75h-25.5v-6.75c0-0.69-0.56-1.25-1.25-1.25s-1.25 0.56-1.25 1.25v0 8c0 0.69 0.56 1.25 1.25 1.25h28c0.69-0.001 1.249-0.56 1.25-1.25v-8c-0.001-0.69-0.56-1.249-1.25-1.25h-0zM15.116 24.885c0.012 0.012 0.029 0.016 0.041 0.027 0.103 0.099 0.223 0.18 0.356 0.239l0.008 0.003 0.001 0c0.141 0.060 0.306 0.095 0.478 0.095 0.345 0 0.657-0.139 0.883-0.365l5.001-5c0.226-0.226 0.366-0.539 0.366-0.884 0-0.691-0.56-1.251-1.251-1.251-0.345 0-0.658 0.14-0.884 0.366l-2.865 2.867v-18.982c0-0.69-0.56-1.25-1.25-1.25s-1.25 0.56-1.25 1.25v0 18.981l-2.866-2.866c-0.226-0.226-0.539-0.366-0.884-0.366-0.691 0-1.251 0.56-1.251 1.251 0 0.346 0.14 0.658 0.367 0.885v0z" />
|
3
|
-
</svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="40">
|
2
|
+
<path d="M30 20.75c-0.69 0.001-1.249 0.56-1.25 1.25v6.75h-25.5v-6.75c0-0.69-0.56-1.25-1.25-1.25s-1.25 0.56-1.25 1.25v0 8c0 0.69 0.56 1.25 1.25 1.25h28c0.69-0.001 1.249-0.56 1.25-1.25v-8c-0.001-0.69-0.56-1.249-1.25-1.25h-0zM15.116 24.885c0.012 0.012 0.029 0.016 0.041 0.027 0.103 0.099 0.223 0.18 0.356 0.239l0.008 0.003 0.001 0c0.141 0.060 0.306 0.095 0.478 0.095 0.345 0 0.657-0.139 0.883-0.365l5.001-5c0.226-0.226 0.366-0.539 0.366-0.884 0-0.691-0.56-1.251-1.251-1.251-0.345 0-0.658 0.14-0.884 0.366l-2.865 2.867v-18.982c0-0.69-0.56-1.25-1.25-1.25s-1.25 0.56-1.25 1.25v0 18.981l-2.866-2.866c-0.226-0.226-0.539-0.366-0.884-0.366-0.691 0-1.251 0.56-1.251 1.251 0 0.346 0.14 0.658 0.367 0.885v0z" />
|
3
|
+
</svg>
|