@opentiny/vue-docs 3.26.0 → 3.26.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,16 +1,12 @@
1
1
  {
2
2
  "name": "@opentiny/vue-docs",
3
3
  "type": "module",
4
- "version": "3.26.0",
4
+ "version": "3.26.1",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
7
  "@docsearch/css": "^3.8.0",
8
8
  "@docsearch/js": "^3.8.0",
9
9
  "@docsearch/react": "npm:@docsearch/css",
10
- "@opentiny/next-sdk": "^0.1.1",
11
- "@opentiny/tiny-robot": "0.3.0-alpha.3",
12
- "@opentiny/tiny-robot-kit": "0.3.0-alpha.3",
13
- "@opentiny/tiny-robot-svgs": "0.3.0-alpha.3",
14
10
  "@opentiny/tiny-vue-mcp": "^0.0.3",
15
11
  "@opentiny/vue-repl": "^1.1.2",
16
12
  "@opentiny/vue-vite-import": "~1.2.0",
@@ -30,24 +26,24 @@
30
26
  "vue-i18n": "~9.14.3",
31
27
  "vue-router": "4.1.5",
32
28
  "zod": "^3.24.4",
29
+ "@opentiny/vue-common": "~3.26.0",
33
30
  "@opentiny/utils": "~3.26.0",
34
31
  "@opentiny/vue": "~3.26.0",
35
- "@opentiny/vue-common": "~3.26.0",
36
32
  "@opentiny/vue-design-aurora": "~3.26.0",
37
33
  "@opentiny/vue-design-saas": "~3.26.0",
38
34
  "@opentiny/vue-design-smb": "~3.26.0",
39
- "@opentiny/vue-directive": "~3.26.0",
40
35
  "@opentiny/vue-flowchart": "~3.26.0",
36
+ "@opentiny/vue-icon": "~3.26.0",
41
37
  "@opentiny/vue-hooks": "~3.26.0",
42
- "@opentiny/vue-huicharts": "~3.26.0",
38
+ "@opentiny/vue-directive": "~3.26.0",
43
39
  "@opentiny/vue-icon-multicolor": "~3.26.0",
44
- "@opentiny/vue-icon": "~3.26.0",
45
40
  "@opentiny/vue-icon-saas": "~3.26.0",
41
+ "@opentiny/vue-huicharts": "~3.26.0",
46
42
  "@opentiny/vue-locale": "~3.26.0",
47
- "@opentiny/vue-modal": "~3.26.0",
48
43
  "@opentiny/vue-renderless": "~3.26.0",
49
- "@opentiny/vue-theme": "~3.26.0",
50
- "@opentiny/vue-theme-saas": "~3.26.1"
44
+ "@opentiny/vue-theme-saas": "~3.26.1",
45
+ "@opentiny/vue-modal": "~3.26.0",
46
+ "@opentiny/vue-theme": "~3.26.0"
51
47
  },
52
48
  "devDependencies": {
53
49
  "@playwright/test": "~1.49.0",
@@ -96,7 +96,7 @@
96
96
  </template>
97
97
 
98
98
  <script setup lang="ts">
99
- import { reactive, computed, watch, onMounted, nextTick, ref, onUnmounted } from 'vue'
99
+ import { reactive, computed, watch, onMounted, nextTick, ref } from 'vue'
100
100
  import { useRoute } from 'vue-router'
101
101
  import { TinyTabs, TinyTabItem } from '@opentiny/vue'
102
102
  import { debounce } from '@opentiny/utils'
@@ -112,7 +112,6 @@ import DesignToken from '../../components/design-token.vue'
112
112
  import McpDocs from '../../components/mcp-docs.vue'
113
113
  import useTasksFinish from '../../composable/useTasksFinish'
114
114
  import list from '@opentiny/vue-theme/token'
115
- import { cmpAnchorDataCallback } from '../../composable/useTinyRemoter'
116
115
  import { getTinyVueMcpConfig } from '@opentiny/tiny-vue-mcp'
117
116
  import { camelize, capitalize } from '@vue/shared'
118
117
 
@@ -450,12 +449,6 @@ const handleAnchorClick = (e, data) => {
450
449
  }
451
450
  }
452
451
 
453
- // 页面加载时,创建一个返回 anchor data的函数。 这样工具调用时,可以拿到最新 anchor 信息
454
- cmpAnchorDataCallback.value = () => state.currJson.demos
455
- onUnmounted(() => {
456
- cmpAnchorDataCallback.value = null
457
- })
458
-
459
452
  // MCP tab页签的数据
460
453
  const mcpTools = getTinyVueMcpConfig({ t: null })
461
454
  const capName = computed(() => capitalize(camelize(state.cmpId || '')))