w-geo-vue 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -11
- package/dist/w-geo-vue.umd.js +3 -3
- package/dist/w-geo-vue.umd.js.map +1 -1
- package/docs/examples/app.html +1 -1
- package/docs/examples/app.umd.js +3 -3
- package/docs/examples/app.umd.js.map +1 -1
- package/docs/examples/{w-plot_default.html → w-plot-2d_default.html} +29 -19
- package/docs/examples/w-plot-3d_default.html +160 -0
- package/docs/examples/w-spt-liq-analysis_default.html +26 -16
- package/docs/examples/w-spt-liq-analysis_geolayerWidth.html +26 -16
- package/docs/examples/w-spt-liq-analysis_lang.html +26 -16
- package/docs/examples/w-spt-liq-analysis_slot.html +26 -16
- package/docs/examples/w-spt-liq-plot-depth_multi line.html +26 -16
- package/docs/examples/w-spt-liq-plot-depth_one line.html +26 -16
- package/docs/examples/w-spt-liq-plot-depth_one line_legendPosition(bottomleft).html +26 -16
- package/docs/examples/w-spt-liq-plot-depth_one line_legendPosition(bottomright).html +26 -16
- package/docs/examples/w-spt-liq-plot-depth_one line_legendPosition(topleft).html +26 -16
- package/docs/examples/w-spt-liq-plot-depth_one line_legendPosition(topright).html +26 -16
- package/docs/examples/w-spt-liq-plot-depths-with-grades-and-tools_default.html +26 -16
- package/docs/examples/w-spt-liq-plot-depths-with-grades_default.html +26 -16
- package/docs/examples/w-spt-liq-plot-depths_default.html +26 -16
- package/docs/getDefAxis.mjs.html +2 -2
- package/docs/getDefChart.mjs.html +2 -2
- package/docs/getDefLegend.mjs.html +2 -2
- package/docs/getDefOpt.mjs.html +2 -2
- package/docs/global.html +2 -2
- package/docs/index.html +2 -2
- package/docs/{module-WPlot.html → module-WPlot2d.html} +4 -4
- package/docs/module-WPlot3d.html +216 -0
- package/docs/module-WSptLiqAnalysis.html +2 -2
- package/docs/module-WSptLiqPlotDepth.html +2 -2
- package/docs/module-WSptLiqPlotDepths.html +2 -2
- package/docs/module-WSptLiqPlotDepthsWithGrades.html +2 -2
- package/docs/module-WSptLiqPlotDepthsWithGradesAndTools.html +2 -2
- package/docs/setLegendLoc.mjs.html +2 -2
- package/package.json +6 -6
- package/src/App.vue +65 -23
- package/src/{AppZoneWPlot.vue → AppZoneWPlot2d.vue} +9 -9
- package/src/AppZoneWPlot3d.vue +59 -0
- package/src/AppZoneWSptLiqAnalysis.vue +1 -1
- package/src/AppZoneWSptLiqPlotDepth.vue +1 -1
- package/src/AppZoneWSptLiqPlotDepths.vue +1 -1
- package/src/AppZoneWSptLiqPlotDepthsWithGrades.vue +1 -1
- package/src/AppZoneWSptLiqPlotDepthsWithGradesAndTools.vue +1 -1
- package/src/components/WGeoVue.vue +4 -2
- package/src/components/{WPlot.vue → WPlot2d.vue} +2 -2
- package/src/components/WPlot3d.vue +196 -0
- package/src/components/WSptLiqPlotDepth.vue +4 -4
- package/toolg/gExtractHtml.mjs +22 -15
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@ A geo component for vue(vue2).
|
|
|
7
7
|
[](https://npmjs.org/package/w-geo-vue)
|
|
8
8
|
[](https://github.com/yuda-lyu/w-geo-vue)
|
|
9
9
|
[](https://npmjs.org/package/w-geo-vue)
|
|
10
|
+
[](https://npmjs.org/package/w-geo-vue)
|
|
10
11
|
[](https://www.jsdelivr.com/package/npm/w-geo-vue)
|
|
11
12
|
|
|
12
13
|
## Documentation
|
|
@@ -27,9 +28,9 @@ npm i w-geo-vue
|
|
|
27
28
|
Import all components:
|
|
28
29
|
```alias
|
|
29
30
|
//choose component
|
|
30
|
-
<w-plot
|
|
31
|
+
<w-plot-2d
|
|
31
32
|
...
|
|
32
|
-
></w-plot>
|
|
33
|
+
></w-plot-2d>
|
|
33
34
|
|
|
34
35
|
//import
|
|
35
36
|
import WGeoVue from 'w-geo-vue'
|
|
@@ -40,21 +41,21 @@ Vue.use(WGeoVue)
|
|
|
40
41
|
Import one component:
|
|
41
42
|
```alias
|
|
42
43
|
//choose component
|
|
43
|
-
<w-plot
|
|
44
|
+
<w-plot-2d
|
|
44
45
|
...
|
|
45
|
-
></w-plot>
|
|
46
|
+
></w-plot-2d>
|
|
46
47
|
|
|
47
48
|
//import
|
|
48
|
-
import
|
|
49
|
+
import WPlot2d from 'w-geo-vue/src/components/WPlot2d.vue'
|
|
49
50
|
|
|
50
51
|
//component
|
|
51
|
-
Vue.component('w-plot',
|
|
52
|
+
Vue.component('w-plot-2d',WPlot2d)
|
|
52
53
|
//or
|
|
53
54
|
export default {
|
|
54
55
|
components: {
|
|
55
|
-
|
|
56
|
+
WPlot2d,
|
|
56
57
|
//or
|
|
57
|
-
'w-plot':
|
|
58
|
+
'w-plot-2d': WPlot2d,
|
|
58
59
|
},
|
|
59
60
|
...
|
|
60
61
|
}
|
|
@@ -65,15 +66,15 @@ export default {
|
|
|
65
66
|
|
|
66
67
|
[Necessary] Add script for w-geo-vue.
|
|
67
68
|
```alias
|
|
68
|
-
<script src="https://cdn.jsdelivr.net/npm/w-geo-vue@1.0.
|
|
69
|
+
<script src="https://cdn.jsdelivr.net/npm/w-geo-vue@1.0.14/dist/w-geo-vue.umd.js"></script>
|
|
69
70
|
```
|
|
70
71
|
Directly use:
|
|
71
72
|
```alias
|
|
72
73
|
//app and component
|
|
73
74
|
<div id="app">
|
|
74
|
-
<w-plot
|
|
75
|
+
<w-plot-2d
|
|
75
76
|
...
|
|
76
|
-
></w-plot>
|
|
77
|
+
></w-plot-2d>
|
|
77
78
|
</div>
|
|
78
79
|
|
|
79
80
|
//use
|