@opentiny/vue-docs 3.17.0 → 3.17.1

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/package.json CHANGED
@@ -1,35 +1,36 @@
1
1
  {
2
2
  "name": "@opentiny/vue-docs",
3
- "version": "3.17.0",
3
+ "version": "3.17.1",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
+ "@opentiny/vue-repl": "^1.1.2",
6
7
  "@unocss/reset": "0.38.2",
7
8
  "@vue/repl": "^2.5.5",
8
9
  "@vueuse/head": "0.7.13",
9
10
  "github-markdown-css": "^5.1.0",
10
11
  "highlight.js": "^11.5.1",
12
+ "marked": "^4.3.0",
11
13
  "prismjs": "^1.28.0",
12
- "vue": "^3.3.9",
14
+ "sortablejs": "1.15.0",
13
15
  "tailwindcss": "^3.2.4",
16
+ "vue": "^3.3.9",
14
17
  "vue-i18n": "^9.1.10",
15
18
  "vue-router": "4.1.5",
16
- "marked": "^4.3.0",
17
- "sortablejs": "1.15.0",
18
- "@opentiny/vue-repl": "^1.1.2",
19
- "@opentiny/vue-icon": "~3.17.0",
20
19
  "@opentiny/vue-common": "~3.17.0",
20
+ "@opentiny/vue": "~3.17.0",
21
+ "@opentiny/vue-directive": "~3.17.0",
22
+ "@opentiny/vue-icon": "~3.17.0",
23
+ "@opentiny/vue-design-aurora": "~3.17.0",
21
24
  "@opentiny/vue-icon-saas": "~3.17.0",
22
- "@opentiny/vue-design-saas": "~3.17.0",
23
25
  "@opentiny/vue-theme": "~3.17.3",
24
26
  "@opentiny/vue-design-smb": "~3.17.0",
25
- "@opentiny/vue-directive": "~3.17.0",
27
+ "@opentiny/vue-design-saas": "~3.17.0",
26
28
  "@opentiny/vue-theme-mobile": "~3.17.0",
27
- "@opentiny/vue-vite-import": "~1.1.5",
28
- "@opentiny/vue": "~3.17.0",
29
29
  "@opentiny/vue-theme-saas": "~3.17.0",
30
- "@opentiny/vue-design-aurora": "~3.17.0"
30
+ "@opentiny/vue-vite-import": "~1.1.5"
31
31
  },
32
32
  "devDependencies": {
33
+ "@playwright/test": "~1.42.0",
33
34
  "@types/markdown-it": "^12.2.3",
34
35
  "@types/node": "^17.0.45",
35
36
  "@unocss/preset-icons": "^0.38.2",
@@ -40,7 +41,6 @@
40
41
  "cross-spawn": "^7.0.3",
41
42
  "fs-extra": "^10.1.0",
42
43
  "less": "^4.1.3",
43
- "@playwright/test": "~1.42.0",
44
44
  "markdown-it": "^13.0.1",
45
45
  "markdown-it-anchor": "^8.6.4",
46
46
  "markdown-it-emoji": "^2.0.2",
@@ -53,17 +53,17 @@
53
53
  "prettier": "^2.7.1",
54
54
  "stylelint": "^14.9.1",
55
55
  "stylelint-config-standard": "^26.0.0",
56
+ "typescript": "^5.0.2",
56
57
  "unocss": "^0.39.3",
57
58
  "unplugin-vue-components": "^0.19.9",
58
- "vite-plugin-static-copy": "^0.17.0",
59
59
  "uslug": "^1.0.4",
60
- "typescript": "^5.0.2",
61
60
  "vite": "^4.3.8",
61
+ "vite-plugin-dynamic-import": "1.5.0",
62
62
  "vite-plugin-html": "^3.0.0",
63
63
  "vite-plugin-inspect": "^0.5.0",
64
- "vite-svg-loader": "^3.6.0",
65
64
  "vite-plugin-md": "0.13.1",
66
- "vite-plugin-dynamic-import": "1.5.0",
65
+ "vite-plugin-static-copy": "^0.17.0",
66
+ "vite-svg-loader": "^3.6.0",
67
67
  "vue-tsc": "^1.8.5",
68
68
  "@opentiny-internal/unplugin-virtual-template": "~0.1.1-beta.0"
69
69
  },
@@ -142,10 +142,13 @@ export default defineComponent({
142
142
  getTotalComponentsNum: () => {
143
143
  let total = 0
144
144
  cmpMenus.forEach((cmpCategory) => {
145
- if (cmpCategory.key === 'cmp_frame_style') {
146
- total += 2
147
- } else if (cmpCategory.key === 'cmp_table_components') {
145
+ if (cmpCategory.key === 'cmp-frame-style') {
146
+ total += 6
147
+ } else if (cmpCategory.key === 'cmp-table-components') {
148
148
  total += 1
149
+ } else if (cmpCategory.key === 'cmp-chart-components') {
150
+ // 需要减去图表说明的4个文档
151
+ total += cmpCategory.children.length - 4
149
152
  } else {
150
153
  total += cmpCategory.children.length
151
154
  }