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.
Files changed (49) hide show
  1. package/README.md +12 -11
  2. package/dist/w-geo-vue.umd.js +3 -3
  3. package/dist/w-geo-vue.umd.js.map +1 -1
  4. package/docs/examples/app.html +1 -1
  5. package/docs/examples/app.umd.js +3 -3
  6. package/docs/examples/app.umd.js.map +1 -1
  7. package/docs/examples/{w-plot_default.html → w-plot-2d_default.html} +29 -19
  8. package/docs/examples/w-plot-3d_default.html +160 -0
  9. package/docs/examples/w-spt-liq-analysis_default.html +26 -16
  10. package/docs/examples/w-spt-liq-analysis_geolayerWidth.html +26 -16
  11. package/docs/examples/w-spt-liq-analysis_lang.html +26 -16
  12. package/docs/examples/w-spt-liq-analysis_slot.html +26 -16
  13. package/docs/examples/w-spt-liq-plot-depth_multi line.html +26 -16
  14. package/docs/examples/w-spt-liq-plot-depth_one line.html +26 -16
  15. package/docs/examples/w-spt-liq-plot-depth_one line_legendPosition(bottomleft).html +26 -16
  16. package/docs/examples/w-spt-liq-plot-depth_one line_legendPosition(bottomright).html +26 -16
  17. package/docs/examples/w-spt-liq-plot-depth_one line_legendPosition(topleft).html +26 -16
  18. package/docs/examples/w-spt-liq-plot-depth_one line_legendPosition(topright).html +26 -16
  19. package/docs/examples/w-spt-liq-plot-depths-with-grades-and-tools_default.html +26 -16
  20. package/docs/examples/w-spt-liq-plot-depths-with-grades_default.html +26 -16
  21. package/docs/examples/w-spt-liq-plot-depths_default.html +26 -16
  22. package/docs/getDefAxis.mjs.html +2 -2
  23. package/docs/getDefChart.mjs.html +2 -2
  24. package/docs/getDefLegend.mjs.html +2 -2
  25. package/docs/getDefOpt.mjs.html +2 -2
  26. package/docs/global.html +2 -2
  27. package/docs/index.html +2 -2
  28. package/docs/{module-WPlot.html → module-WPlot2d.html} +4 -4
  29. package/docs/module-WPlot3d.html +216 -0
  30. package/docs/module-WSptLiqAnalysis.html +2 -2
  31. package/docs/module-WSptLiqPlotDepth.html +2 -2
  32. package/docs/module-WSptLiqPlotDepths.html +2 -2
  33. package/docs/module-WSptLiqPlotDepthsWithGrades.html +2 -2
  34. package/docs/module-WSptLiqPlotDepthsWithGradesAndTools.html +2 -2
  35. package/docs/setLegendLoc.mjs.html +2 -2
  36. package/package.json +6 -6
  37. package/src/App.vue +65 -23
  38. package/src/{AppZoneWPlot.vue → AppZoneWPlot2d.vue} +9 -9
  39. package/src/AppZoneWPlot3d.vue +59 -0
  40. package/src/AppZoneWSptLiqAnalysis.vue +1 -1
  41. package/src/AppZoneWSptLiqPlotDepth.vue +1 -1
  42. package/src/AppZoneWSptLiqPlotDepths.vue +1 -1
  43. package/src/AppZoneWSptLiqPlotDepthsWithGrades.vue +1 -1
  44. package/src/AppZoneWSptLiqPlotDepthsWithGradesAndTools.vue +1 -1
  45. package/src/components/WGeoVue.vue +4 -2
  46. package/src/components/{WPlot.vue → WPlot2d.vue} +2 -2
  47. package/src/components/WPlot3d.vue +196 -0
  48. package/src/components/WSptLiqPlotDepth.vue +4 -4
  49. package/toolg/gExtractHtml.mjs +22 -15
package/README.md CHANGED
@@ -7,6 +7,7 @@ A geo component for vue(vue2).
7
7
  [![license](https://img.shields.io/npm/l/w-geo-vue.svg?style=flat)](https://npmjs.org/package/w-geo-vue)
8
8
  [![gzip file size](http://img.badgesize.io/yuda-lyu/w-geo-vue/master/dist/w-geo-vue.umd.js.svg?compression=gzip)](https://github.com/yuda-lyu/w-geo-vue)
9
9
  [![npm download](https://img.shields.io/npm/dt/w-geo-vue.svg)](https://npmjs.org/package/w-geo-vue)
10
+ [![npm download](https://img.shields.io/npm/dm/w-geo-vue.svg)](https://npmjs.org/package/w-geo-vue)
10
11
  [![jsdelivr download](https://img.shields.io/jsdelivr/npm/hm/w-geo-vue.svg)](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 WPlot from 'w-geo-vue/src/components/WPlot.vue'
49
+ import WPlot2d from 'w-geo-vue/src/components/WPlot2d.vue'
49
50
 
50
51
  //component
51
- Vue.component('w-plot',WPlot)
52
+ Vue.component('w-plot-2d',WPlot2d)
52
53
  //or
53
54
  export default {
54
55
  components: {
55
- WPlot,
56
+ WPlot2d,
56
57
  //or
57
- 'w-plot': WPlot,
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.13/dist/w-geo-vue.umd.js"></script>
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