@opentinyvue/vue-docs 3.21.4 → 3.21.5

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.
@@ -8,6 +8,6 @@ export default {
8
8
  base: '',
9
9
  prodBase: '',
10
10
  initApp: (app) => {
11
- app.config.globalProperties[map.tinyMode] = { value: 'mobile' }
11
+ app.config.globalProperties[map.tinyMode] = { value: 'pc' }
12
12
  }
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-docs",
3
- "version": "3.21.4",
3
+ "version": "3.21.5",
4
4
  "license": "MIT",
5
5
  "devDependencies": {
6
6
  "@playwright/test": "~1.49.0",
@@ -56,12 +56,12 @@
56
56
  "vue-i18n": "^9.1.10",
57
57
  "vue-router": "4.1.5",
58
58
  "@opentiny-internal/unplugin-virtual-template": "~0.1.1-beta.0",
59
- "@opentiny/vue-mobile": "~1.0.0-alpha.6",
60
59
  "@opentiny/vue": "~3.21.1",
61
- "@opentiny/vue-common": "~3.21.0",
60
+ "@opentiny/vue-mobile": "~1.0.0-alpha.6",
62
61
  "@opentiny/vue-design-aurora": "~3.21.0",
63
- "@opentiny/vue-design-smb": "~3.21.0",
64
62
  "@opentiny/vue-design-saas": "~3.21.0",
63
+ "@opentiny/vue-common": "~3.21.0",
64
+ "@opentiny/vue-design-smb": "~3.21.0",
65
65
  "@opentiny/vue-directive": "~3.21.0",
66
66
  "@opentiny/vue-hooks": "~3.21.0",
67
67
  "@opentiny/vue-icon": "~3.21.0",
@@ -69,12 +69,12 @@
69
69
  "@opentiny/vue-icon-saas": "~3.21.0",
70
70
  "@opentiny/vue-theme": "~3.21.1",
71
71
  "@opentiny/vue-theme-mobile": "~3.21.0",
72
- "@opentiny/vue-theme-saas": "~3.21.0",
73
72
  "@opentiny/vue-locale": "~3.21.0",
73
+ "@opentiny/vue-theme-saas": "~3.21.0",
74
74
  "@opentiny/vue-renderless": "~3.21.0",
75
75
  "@opentiny/vue-modal": "~3.21.0",
76
- "@opentiny/vue-flowchart": "~3.21.0",
77
- "@opentiny/vue-vite-import": "~1.2.0"
76
+ "@opentiny/vue-vite-import": "~1.2.0",
77
+ "@opentiny/vue-flowchart": "~3.21.0"
78
78
  },
79
79
  "scripts": {
80
80
  "start": "vite",
@@ -26,7 +26,7 @@
26
26
  <template v-if="state.currJson?.demos?.length">
27
27
  <div class="all-demos-container" id="all-demos-container">
28
28
  <div v-if="apiModeState.demoMode === 'default'" id="demo-list" class="ti-f-c ti-f-wrap demo-list">
29
- <demo
29
+ <demo-box
30
30
  v-for="demo in state.currJson.demos"
31
31
  :key="demo.name"
32
32
  :observer="state.observer"
@@ -39,7 +39,7 @@
39
39
  />
40
40
  </div>
41
41
  <div v-else>
42
- <demo
42
+ <demo-box
43
43
  v-if="state.singleDemo"
44
44
  :isIntersecting="true"
45
45
  :key="state.singleDemo.name"
@@ -221,7 +221,7 @@ import {
221
221
  import { iconOuterLink } from '@opentiny/vue-icon'
222
222
  import debounce from '@opentiny/vue-renderless/common/deps/debounce'
223
223
  import { i18nByKey, getWord, $clone, fetchDemosFile, useApiMode, useTemplateMode, getCmpContributors } from '@/tools'
224
- import demo from '@/views/components/demo'
224
+ import DemoBox from '@/views/components/demo'
225
225
  import demoConfig from '@demos/config.js'
226
226
  import { router } from '@/router.js'
227
227
  import { faqMdConfig, getWebdocPath } from './cmp-config'