@tplc/wot 1.0.31 → 1.0.32

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.32](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.83...v1.0.32) (2026-01-20)
6
+
5
7
  ### [1.0.31](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.78...v1.0.31) (2026-01-18)
6
8
 
7
9
 
@@ -13,7 +13,7 @@
13
13
  disabled ? 'is-disabled' : '',
14
14
  block ? 'is-block' : '',
15
15
  loading ? 'is-loading' : '',
16
- customClass
16
+ customClass,
17
17
  ]"
18
18
  :hover-start-time="hoverStartTime"
19
19
  :hover-stay-time="hoverStayTime"
@@ -43,7 +43,12 @@
43
43
  <view v-if="loading" class="wd-button__loading">
44
44
  <view class="wd-button__loading-svg" :style="loadingStyle"></view>
45
45
  </view>
46
- <wd-icon v-else-if="icon" custom-class="wd-button__icon" :name="icon" :classPrefix="classPrefix"></wd-icon>
46
+ <wd-icon
47
+ v-else-if="icon"
48
+ custom-class="wd-button__icon"
49
+ :name="icon"
50
+ :classPrefix="classPrefix"
51
+ ></wd-icon>
47
52
  <view class="wd-button__text"><slot /></view>
48
53
  </view>
49
54
  </button>
@@ -55,15 +60,14 @@ export default {
55
60
  options: {
56
61
  addGlobalClass: true,
57
62
  virtualHost: true,
58
- styleIsolation: 'shared'
59
- }
63
+ styleIsolation: 'shared',
64
+ },
60
65
  }
61
66
  </script>
62
67
 
63
68
  <script lang="ts" setup>
64
69
  import wdIcon from '../wd-icon/wd-icon.vue'
65
- import { computed, watch } from 'vue'
66
- import { ref } from 'vue'
70
+ import { computed, watch, ref } from 'vue'
67
71
  import base64 from '../common/base64'
68
72
  import { buttonProps } from './types'
69
73
 
@@ -87,7 +91,7 @@ const emit = defineEmits([
87
91
  'launchapp',
88
92
  'opensetting',
89
93
  'chooseavatar',
90
- 'agreeprivacyauthorization'
94
+ 'agreeprivacyauthorization',
91
95
  ])
92
96
 
93
97
  const hoverStartTime = ref<number>(20)
@@ -103,7 +107,7 @@ watch(
103
107
  () => {
104
108
  buildLoadingSvg()
105
109
  },
106
- { deep: true, immediate: true }
110
+ { deep: true, immediate: true },
107
111
  )
108
112
 
109
113
  function handleClick(event: any) {
@@ -152,13 +152,13 @@ onBeforeMount(() => {
152
152
  }
153
153
  }
154
154
  })
155
- watch(
156
- () => props.modelValue,
157
- (newVal) => {
158
- popupProvide.value = newVal
159
- },
160
- { deep: true, immediate: true },
161
- )
155
+ // watch(
156
+ // () => props.modelValue,
157
+ // (newVal) => {
158
+ // popupProvide.value = newVal
159
+ // },
160
+ // { deep: true, immediate: true },
161
+ // )
162
162
 
163
163
  function handleClickModal() {
164
164
  emit('click-modal')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "1.0.31",
4
+ "version": "1.0.32",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "国际化",