w-plot-vue 1.0.6 → 1.0.7

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 (139) hide show
  1. package/.github/workflows/ci-test.yml +24 -0
  2. package/README.md +1 -1
  3. package/dist/w-plot-vue.umd.js +3 -3
  4. package/dist/w-plot-vue.umd.js.map +1 -1
  5. package/docs/examples/app.html +1 -1
  6. package/docs/examples/app.umd.js +3 -3
  7. package/docs/examples/app.umd.js.map +1 -1
  8. package/docs/examples/w-bar_horizontal_multi-set(color).html +1 -1
  9. package/docs/examples/w-bar_horizontal_multi-set(color, gradient).html +1 -1
  10. package/docs/examples/w-bar_horizontal_multi-set(series color).html +1 -1
  11. package/docs/examples/w-bar_horizontal_multi-set(series color, gradient).html +1 -1
  12. package/docs/examples/w-bar_horizontal_multi-set.html +1 -1
  13. package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackNormal).html +1 -1
  14. package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackPercent).html +1 -1
  15. package/docs/examples/w-bar_horizontal_multi-set__hide legned.html +1 -1
  16. package/docs/examples/w-bar_horizontal_multi-set__show labels.html +1 -1
  17. package/docs/examples/w-bar_horizontal_multi-set_barKpColor(gradient).html +1 -1
  18. package/docs/examples/w-bar_horizontal_multi-set_barKpColor.html +1 -1
  19. package/docs/examples/w-bar_horizontal_multi-set_barUseInnerLabelsForHorizontal_barGroupWidthRatio.html +1 -1
  20. package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio.html +1 -1
  21. package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio_barGroupWidthRatio.html +1 -1
  22. package/docs/examples/w-bar_horizontal_one-set(color).html +1 -1
  23. package/docs/examples/w-bar_horizontal_one-set(color, gradient).html +1 -1
  24. package/docs/examples/w-bar_horizontal_one-set.html +1 -1
  25. package/docs/examples/w-bar_horizontal_one-set_barColor(gradient).html +1 -1
  26. package/docs/examples/w-bar_horizontal_one-set_barColor.html +1 -1
  27. package/docs/examples/w-bar_horizontal_one-set_barKpColor(gradient).html +1 -1
  28. package/docs/examples/w-bar_horizontal_one-set_barKpColor.html +1 -1
  29. package/docs/examples/w-bar_horizontal_one-set_barUseInnerLabelsForHorizontal.html +1 -1
  30. package/docs/examples/w-bar_horizontal_one-set_barWidthRatio.html +1 -1
  31. package/docs/examples/w-bar_horizontal_one-set_barWidthRatio_barGroupWidthRatio.html +1 -1
  32. package/docs/examples/w-bar_horizontal_one-set_hide labels.html +1 -1
  33. package/docs/examples/w-bar_horizontal_one-set_marginLeft_marginRight.html +1 -1
  34. package/docs/examples/w-bar_horizontal_one-set_show legned.html +1 -1
  35. package/docs/examples/w-bar_multi-set(color).html +1 -1
  36. package/docs/examples/w-bar_multi-set(color, gradient).html +1 -1
  37. package/docs/examples/w-bar_multi-set(series color).html +1 -1
  38. package/docs/examples/w-bar_multi-set(series color, gradient).html +1 -1
  39. package/docs/examples/w-bar_multi-set.html +1 -1
  40. package/docs/examples/w-bar_multi-set__barDisplay(stackNormal).html +1 -1
  41. package/docs/examples/w-bar_multi-set__barDisplay(stackNormal)_.html +1 -1
  42. package/docs/examples/w-bar_multi-set__barDisplay(stackPercent).html +1 -1
  43. package/docs/examples/w-bar_multi-set__hide legned.html +1 -1
  44. package/docs/examples/w-bar_multi-set__show labels.html +1 -1
  45. package/docs/examples/w-bar_multi-set_barKpColor(gradient).html +1 -1
  46. package/docs/examples/w-bar_multi-set_barKpColor.html +1 -1
  47. package/docs/examples/w-bar_multi-set_barWidthRatio.html +1 -1
  48. package/docs/examples/w-bar_multi-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +1 -1
  49. package/docs/examples/w-bar_one-set(color).html +1 -1
  50. package/docs/examples/w-bar_one-set(color, gradient).html +1 -1
  51. package/docs/examples/w-bar_one-set.html +1 -1
  52. package/docs/examples/w-bar_one-set_barColor(gradient).html +1 -1
  53. package/docs/examples/w-bar_one-set_barColor.html +1 -1
  54. package/docs/examples/w-bar_one-set_barKpColor(gradient).html +1 -1
  55. package/docs/examples/w-bar_one-set_barKpColor.html +1 -1
  56. package/docs/examples/w-bar_one-set_barWidthRatio.html +1 -1
  57. package/docs/examples/w-bar_one-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +1 -1
  58. package/docs/examples/w-bar_one-set_hide labels.html +1 -1
  59. package/docs/examples/w-bar_one-set_marginLeft_marginRight_marginTop.html +1 -1
  60. package/docs/examples/w-bar_one-set_show legned.html +1 -1
  61. package/docs/examples/w-pie_one-set(color).html +1 -1
  62. package/docs/examples/w-pie_one-set(color, gradient).html +1 -1
  63. package/docs/examples/w-pie_one-set.html +1 -1
  64. package/docs/examples/w-pie_one-set_hide labels.html +1 -1
  65. package/docs/examples/w-pie_one-set_hide legned.html +1 -1
  66. package/docs/examples/w-pie_one-set_marginLeft_marginRight_marginTop.html +1 -1
  67. package/docs/examples/w-pie_one-set_pieBorderRadius.html +1 -1
  68. package/docs/examples/w-pie_one-set_pieBorderWidth_pieBorderRadius.html +1 -1
  69. package/docs/examples/w-pie_one-set_pieKpColor(gradient).html +1 -1
  70. package/docs/examples/w-pie_one-set_pieKpColor.html +1 -1
  71. package/docs/examples/w-pie_one-set_pieThicknessRatio.html +1 -1
  72. package/docs/examples/w-plot-2d_default.html +1 -1
  73. package/docs/examples/w-plot-3d_default.html +1 -1
  74. package/docs/examples/w-rose_multi-set(color).html +1 -1
  75. package/docs/examples/w-rose_multi-set(color, gradient).html +1 -1
  76. package/docs/examples/w-rose_multi-set(series color).html +1 -1
  77. package/docs/examples/w-rose_multi-set(series color, gradient).html +1 -1
  78. package/docs/examples/w-rose_multi-set.html +1 -1
  79. package/docs/examples/w-rose_multi-set__hide legned.html +1 -1
  80. package/docs/examples/w-rose_multi-set__show labels.html +1 -1
  81. package/docs/examples/w-rose_multi-set_roseBorderWidth.html +1 -1
  82. package/docs/examples/w-rose_multi-set_roseKpColor(gradient).html +1 -1
  83. package/docs/examples/w-rose_multi-set_roseKpColor.html +1 -1
  84. package/docs/examples/w-rose_multi-set_roseWidthRatio.html +1 -1
  85. package/docs/examples/w-rose_one-set(color).html +1 -1
  86. package/docs/examples/w-rose_one-set(color, gradient).html +1 -1
  87. package/docs/examples/w-rose_one-set.html +1 -1
  88. package/docs/examples/w-rose_one-set_marginLeft_marginRight_marginTop.html +1 -1
  89. package/docs/examples/w-rose_one-set_roseBorderWidth.html +1 -1
  90. package/docs/examples/w-rose_one-set_roseKpColor(gradient).html +1 -1
  91. package/docs/examples/w-rose_one-set_roseKpColor.html +1 -1
  92. package/docs/examples/w-rose_one-set_roseShowLabels.html +1 -1
  93. package/docs/examples/w-rose_one-set_roseWidthRatio.html +1 -1
  94. package/docs/examples/w-rose_one-set_showLegend.html +1 -1
  95. package/docs/examples/w-rose_one-set_showLegend_legendPosition.html +1 -1
  96. package/docs/examples/w-set-multi_default.html +1 -1
  97. package/docs/examples/w-set-multi_hide labels.html +1 -1
  98. package/docs/examples/w-set-multi_hide legned.html +1 -1
  99. package/docs/examples/w-set-multi_keySelect.html +1 -1
  100. package/docs/examples/w-set-multi_slot head.html +1 -1
  101. package/docs/examples/w-set-multi_textPlotType_kpSelectText_widthSelect.html +1 -1
  102. package/docs/examples/w-set-one_default.html +1 -1
  103. package/docs/examples/w-set-one_hide labels.html +1 -1
  104. package/docs/examples/w-set-one_keySelect.html +1 -1
  105. package/docs/examples/w-set-one_show legned.html +1 -1
  106. package/docs/examples/w-set-one_slot head.html +1 -1
  107. package/docs/examples/w-set-one_textPlotType_kpSelectText_widthSelect.html +1 -1
  108. package/docs/getDefAxis.mjs.html +2 -2
  109. package/docs/getDefChart.mjs.html +2 -2
  110. package/docs/getDefLegend.mjs.html +2 -2
  111. package/docs/getDefOpt.mjs.html +2 -2
  112. package/docs/global.html +1 -1
  113. package/docs/index.html +1 -1
  114. package/docs/module-WBar.html +1 -1
  115. package/docs/module-WPie.html +1 -1
  116. package/docs/module-WPlot2d.html +1 -1
  117. package/docs/module-WPlot3d.html +1 -1
  118. package/docs/module-WRose.html +1 -1
  119. package/docs/module-WSetMulti.html +1 -1
  120. package/docs/module-WSetOne.html +1 -1
  121. package/docs/setLegendLoc.mjs.html +2 -2
  122. package/package.json +4 -4
  123. package/script.txt +27 -0
  124. package/src/App.vue +4 -4
  125. package/src/components/WBar.vue +4 -4
  126. package/src/components/WPie.vue +3 -3
  127. package/src/components/WPlot2d.vue +1 -1
  128. package/src/components/WPlot3d.vue +9 -9
  129. package/src/components/WRose.vue +3 -3
  130. package/src/components/WSetMulti.vue +6 -6
  131. package/src/js/genBarOpt.mjs +8 -8
  132. package/src/js/genPieOpt.mjs +7 -7
  133. package/src/js/genRoseOpt.mjs +7 -7
  134. package/src/js/getDefAxis.mjs +1 -1
  135. package/src/js/getDefChart.mjs +1 -1
  136. package/src/js/getDefLegend.mjs +1 -1
  137. package/src/js/getDefOpt.mjs +1 -1
  138. package/src/js/setLegendLoc.mjs +1 -1
  139. package/toolg/cvCasename.mjs +7 -7
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "w-plot-vue",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "main": "dist/w-plot-vue.umd.js",
5
5
  "dependencies": {
6
6
  "@mdi/js": "^7.4.47",
7
7
  "lodash-es": "^4.17.21",
8
8
  "three": "^0.162.0",
9
9
  "camera-controls": "^2.8.3",
10
- "w-component-vue": "^2.3.77",
11
- "wsemi": "^1.7.47"
10
+ "w-component-vue": "^2.3.80",
11
+ "wsemi": "^1.7.49"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@vue/cli-plugin-babel": "^5.0.8",
@@ -24,7 +24,7 @@
24
24
  "eslint-plugin-standard": "^4.1.0",
25
25
  "eslint-plugin-vue": "^9.10.0",
26
26
  "vue": "^2.6.14",
27
- "w-package-tools": "^1.0.73"
27
+ "w-package-tools": "^1.0.75"
28
28
  },
29
29
  "scripts": {
30
30
  "serve": "vue-cli-service serve",
package/script.txt ADDED
@@ -0,0 +1,27 @@
1
+ #node --experimental-modules --es-module-specifier-resolution=node toolg/addVersion.mjs
2
+ node --experimental-modules --es-module-specifier-resolution=node toolg/modifyReadme.mjs
3
+
4
+ node --experimental-modules --es-module-specifier-resolution=node toolg/cleanFolder.mjs
5
+ ./node_modules/.bin/jsdoc -c .jsdoc
6
+
7
+ node --experimental-modules --es-module-specifier-resolution=node toolg/gDistApp.mjs
8
+
9
+ node --experimental-modules --es-module-specifier-resolution=node toolg/gExtractHtml.mjs
10
+ node --experimental-modules --es-module-specifier-resolution=node toolg/gDocExams.mjs
11
+
12
+ node --experimental-modules --es-module-specifier-resolution=node toolg/gMergeComps.mjs
13
+
14
+ node --experimental-modules --es-module-specifier-resolution=node toolg/gDistRollupComps.mjs
15
+
16
+ git add . -A
17
+ git commit -m 'modify: '
18
+ git push origin master:master
19
+
20
+ npm run deploy
21
+
22
+ #npm test
23
+
24
+ #rm -r test-screenshot
25
+ #node --experimental-modules --es-module-specifier-resolution=node gUITest.mjs
26
+
27
+ #npm publish
package/src/App.vue CHANGED
@@ -103,10 +103,10 @@
103
103
  </template>
104
104
 
105
105
  <script>
106
- import get from 'lodash-es/get'
107
- import kebabCase from 'lodash-es/kebabCase'
108
- import each from 'lodash-es/each'
109
- // import cloneDeep from 'lodash-es/cloneDeep'
106
+ import get from 'lodash-es/get.js'
107
+ import kebabCase from 'lodash-es/kebabCase.js'
108
+ import each from 'lodash-es/each.js'
109
+ // import cloneDeep from 'lodash-es/cloneDeep.js'
110
110
  import strright from 'wsemi/src/strright.mjs'
111
111
  import strdelright from 'wsemi/src/strdelright.mjs'
112
112
  import urlParse from 'wsemi/src/urlParse.mjs'
@@ -40,10 +40,10 @@
40
40
  </template>
41
41
 
42
42
  <script>
43
- import get from 'lodash-es/get'
44
- import map from 'lodash-es/map'
45
- import size from 'lodash-es/size'
46
- // import cloneDeep from 'lodash-es/cloneDeep'
43
+ import get from 'lodash-es/get.js'
44
+ import map from 'lodash-es/map.js'
45
+ import size from 'lodash-es/size.js'
46
+ // import cloneDeep from 'lodash-es/cloneDeep.js'
47
47
  // import isestr from 'wsemi/src/isestr.mjs'
48
48
  import iseobj from 'wsemi/src/iseobj.mjs'
49
49
  import WPlot2d from './WPlot2d.vue'
@@ -26,9 +26,9 @@
26
26
  </template>
27
27
 
28
28
  <script>
29
- import get from 'lodash-es/get'
30
- // import map from 'lodash-es/map'
31
- // import cloneDeep from 'lodash-es/cloneDeep'
29
+ import get from 'lodash-es/get.js'
30
+ // import map from 'lodash-es/map.js'
31
+ // import cloneDeep from 'lodash-es/cloneDeep.js'
32
32
  // import isestr from 'wsemi/src/isestr.mjs'
33
33
  import iseobj from 'wsemi/src/iseobj.mjs'
34
34
  import WPlot2d from './WPlot2d.vue'
@@ -12,7 +12,7 @@
12
12
  </template>
13
13
 
14
14
  <script>
15
- import get from 'lodash-es/get'
15
+ import get from 'lodash-es/get.js'
16
16
  import isnum from 'wsemi/src/isnum.mjs'
17
17
  import cdbl from 'wsemi/src/cdbl.mjs'
18
18
  import WHighchartsVueDyn from 'w-component-vue/src/components/WHighchartsVueDyn.vue'
@@ -15,15 +15,15 @@
15
15
  </template>
16
16
 
17
17
  <script>
18
- import get from 'lodash-es/get'
19
- import set from 'lodash-es/set'
20
- import size from 'lodash-es/size'
21
- import each from 'lodash-es/each'
22
- import map from 'lodash-es/map'
23
- import min from 'lodash-es/min'
24
- import max from 'lodash-es/max'
25
- import isNumber from 'lodash-es/isNumber'
26
- import cloneDeep from 'lodash-es/cloneDeep'
18
+ import get from 'lodash-es/get.js'
19
+ import set from 'lodash-es/set.js'
20
+ import size from 'lodash-es/size.js'
21
+ import each from 'lodash-es/each.js'
22
+ import map from 'lodash-es/map.js'
23
+ import min from 'lodash-es/min.js'
24
+ import max from 'lodash-es/max.js'
25
+ import isNumber from 'lodash-es/isNumber.js'
26
+ import cloneDeep from 'lodash-es/cloneDeep.js'
27
27
  import evem from 'wsemi/src/evem.mjs'
28
28
  import waitFun from 'wsemi/src/waitFun.mjs'
29
29
  import isnum from 'wsemi/src/isnum.mjs'
@@ -26,9 +26,9 @@
26
26
  </template>
27
27
 
28
28
  <script>
29
- import get from 'lodash-es/get'
30
- // import map from 'lodash-es/map'
31
- // import cloneDeep from 'lodash-es/cloneDeep'
29
+ import get from 'lodash-es/get.js'
30
+ // import map from 'lodash-es/map.js'
31
+ // import cloneDeep from 'lodash-es/cloneDeep.js'
32
32
  // import isestr from 'wsemi/src/isestr.mjs'
33
33
  import iseobj from 'wsemi/src/iseobj.mjs'
34
34
  import WPlot2d from './WPlot2d.vue'
@@ -50,12 +50,12 @@
50
50
  </template>
51
51
 
52
52
  <script>
53
- import get from 'lodash-es/get'
54
- import each from 'lodash-es/each'
55
- import merge from 'lodash-es/merge'
56
- import size from 'lodash-es/size'
57
- import capitalize from 'lodash-es/capitalize'
58
- import cloneDeep from 'lodash-es/cloneDeep'
53
+ import get from 'lodash-es/get.js'
54
+ import each from 'lodash-es/each.js'
55
+ import merge from 'lodash-es/merge.js'
56
+ import size from 'lodash-es/size.js'
57
+ import capitalize from 'lodash-es/capitalize.js'
58
+ import cloneDeep from 'lodash-es/cloneDeep.js'
59
59
  import haskey from 'wsemi/src/haskey.mjs'
60
60
  import iseobj from 'wsemi/src/iseobj.mjs'
61
61
  import WTextSelect from 'w-component-vue/src/components/WTextSelect.vue'
@@ -1,11 +1,11 @@
1
- import get from 'lodash-es/get'
2
- import map from 'lodash-es/map'
3
- import each from 'lodash-es/each'
4
- import size from 'lodash-es/size'
5
- import merge from 'lodash-es/merge'
6
- import isNumber from 'lodash-es/isNumber'
7
- // import range from 'lodash-es/range'
8
- // import cloneDeep from 'lodash-es/cloneDeep'
1
+ import get from 'lodash-es/get.js'
2
+ import map from 'lodash-es/map.js'
3
+ import each from 'lodash-es/each.js'
4
+ import size from 'lodash-es/size.js'
5
+ import merge from 'lodash-es/merge.js'
6
+ import isNumber from 'lodash-es/isNumber.js'
7
+ // import range from 'lodash-es/range.js'
8
+ // import cloneDeep from 'lodash-es/cloneDeep.js'
9
9
  import haskey from 'wsemi/src/haskey.mjs'
10
10
  // import isestr from 'wsemi/src/isestr.mjs'
11
11
  import iseobj from 'wsemi/src/iseobj.mjs'
@@ -1,10 +1,10 @@
1
- import get from 'lodash-es/get'
2
- import map from 'lodash-es/map'
3
- import each from 'lodash-es/each'
4
- import size from 'lodash-es/size'
5
- // import merge from 'lodash-es/merge'
6
- import isNumber from 'lodash-es/isNumber'
7
- // import cloneDeep from 'lodash-es/cloneDeep'
1
+ import get from 'lodash-es/get.js'
2
+ import map from 'lodash-es/map.js'
3
+ import each from 'lodash-es/each.js'
4
+ import size from 'lodash-es/size.js'
5
+ // import merge from 'lodash-es/merge.js'
6
+ import isNumber from 'lodash-es/isNumber.js'
7
+ // import cloneDeep from 'lodash-es/cloneDeep.js'
8
8
  import haskey from 'wsemi/src/haskey.mjs'
9
9
  // import isestr from 'wsemi/src/isestr.mjs'
10
10
  import iseobj from 'wsemi/src/iseobj.mjs'
@@ -1,10 +1,10 @@
1
- import get from 'lodash-es/get'
2
- import map from 'lodash-es/map'
3
- import each from 'lodash-es/each'
4
- import size from 'lodash-es/size'
5
- import merge from 'lodash-es/merge'
6
- import isNumber from 'lodash-es/isNumber'
7
- // import cloneDeep from 'lodash-es/cloneDeep'
1
+ import get from 'lodash-es/get.js'
2
+ import map from 'lodash-es/map.js'
3
+ import each from 'lodash-es/each.js'
4
+ import size from 'lodash-es/size.js'
5
+ import merge from 'lodash-es/merge.js'
6
+ import isNumber from 'lodash-es/isNumber.js'
7
+ // import cloneDeep from 'lodash-es/cloneDeep.js'
8
8
  import haskey from 'wsemi/src/haskey.mjs'
9
9
  // import isestr from 'wsemi/src/isestr.mjs'
10
10
  import iseobj from 'wsemi/src/iseobj.mjs'
@@ -1,4 +1,4 @@
1
- import get from 'lodash-es/get'
1
+ import get from 'lodash-es/get.js'
2
2
  import dig from 'wsemi/src/dig.mjs'
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- import get from 'lodash-es/get'
1
+ import get from 'lodash-es/get.js'
2
2
 
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import get from 'lodash-es/get'
1
+ import get from 'lodash-es/get.js'
2
2
 
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import get from 'lodash-es/get'
1
+ import get from 'lodash-es/get.js'
2
2
 
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import get from 'lodash-es/get'
1
+ import get from 'lodash-es/get.js'
2
2
  import cdbl from 'wsemi/src/cdbl.mjs'
3
3
 
4
4
 
@@ -1,10 +1,10 @@
1
- import map from 'lodash-es/map'
2
- import trim from 'lodash-es/trim'
3
- import filter from 'lodash-es/filter'
4
- import toUpper from 'lodash-es/toUpper'
5
- import split from 'lodash-es/split'
6
- import size from 'lodash-es/size'
7
- import join from 'lodash-es/join'
1
+ import map from 'lodash-es/map.js'
2
+ import trim from 'lodash-es/trim.js'
3
+ import filter from 'lodash-es/filter.js'
4
+ import toUpper from 'lodash-es/toUpper.js'
5
+ import split from 'lodash-es/split.js'
6
+ import size from 'lodash-es/size.js'
7
+ import join from 'lodash-es/join.js'
8
8
 
9
9
 
10
10
  function seCut(str) {