@tplc/wot 0.1.30 → 0.1.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 +24 -0
- package/components/wd-overlay/wd-overlay.vue +10 -1
- package/components/wd-popup/wd-popup.vue +1 -6
- package/components/wd-qr-code/uqrcode.vue +1150 -0
- package/components/wd-qr-code/wd-qr-code.vue +7 -1039
- package/package.json +1 -1
- package/types/components/wd-qr-code/uqrcode.vue.d.ts +327 -0
- package/types/components/wd-qr-code/wd-qr-code.vue.d.ts +100 -128
- package/types/components/wd-text/wd-text.vue.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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
|
+
### [0.1.32](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.76...v0.1.32) (2024-11-24)
|
|
6
|
+
|
|
7
|
+
### [0.1.31](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.70...v0.1.31) (2024-11-22)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
11
|
+
|
|
12
|
+
* **release:** 0.0.71 ([7422a19](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7422a19335b0a2249f8bd9799dfa9679d55f0188))
|
|
13
|
+
* **release:** 0.0.72 ([ca650c1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ca650c155cd8eb5cbf7bc51f64b2772b5c5b6fb6))
|
|
14
|
+
* **release:** 0.0.73 ([fbce655](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/fbce655f7b60fa1a779be42e61b80638d4bcd948))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
18
|
+
|
|
19
|
+
* lcb-nav 兼容page-scroll-top ([e809efd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e809efddf1559a42c48140cae80e4081542fa123))
|
|
20
|
+
* 修复lcb-city-select 小程序无法选中锚点 ([93b3d2f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/93b3d2f31bab14d4dc85abbd835e8c659a917dde))
|
|
21
|
+
* 修复lcb-home-search ([7810778](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/78107780e9660739e0d426810fb5b86eb9fa0201))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### ✨ Features | 新功能
|
|
25
|
+
|
|
26
|
+
* overlay inject ([e4880dc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e4880dc9008191dbdf42b0c6c720be04d9ed4ca8))
|
|
27
|
+
* filter 兼容h5 ([d858f86](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d858f86274e06e00e1b9247fde5d1f3c54d003f4))
|
|
28
|
+
|
|
5
29
|
### [0.1.30](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.67...v0.1.30) (2024-11-21)
|
|
6
30
|
|
|
7
31
|
### [0.1.29](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.24...v0.1.29) (2024-11-21)
|
|
@@ -23,13 +23,22 @@ export default {
|
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
25
|
<script lang="ts" setup>
|
|
26
|
+
import { inject, watch } from 'vue'
|
|
26
27
|
import useLockScroll from '../composables/useLockScroll'
|
|
27
28
|
import { overlayProps } from './types'
|
|
28
29
|
|
|
29
30
|
const props = defineProps(overlayProps)
|
|
30
31
|
|
|
31
32
|
const emit = defineEmits(['click'])
|
|
32
|
-
|
|
33
|
+
const popupProvide = inject('wd-popup', {
|
|
34
|
+
value: false,
|
|
35
|
+
})
|
|
36
|
+
watch(
|
|
37
|
+
() => props.show,
|
|
38
|
+
(val) => {
|
|
39
|
+
popupProvide.value = val
|
|
40
|
+
},
|
|
41
|
+
)
|
|
33
42
|
function handleClick() {
|
|
34
43
|
emit('click')
|
|
35
44
|
}
|
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
</script>
|
|
33
33
|
|
|
34
34
|
<script lang="ts" setup>
|
|
35
|
-
import { computed,
|
|
35
|
+
import { computed, onBeforeMount, ref, watch } from 'vue'
|
|
36
36
|
import { isObj, requestAnimationFrame } from '../common/util'
|
|
37
37
|
import { popupProps } from './types'
|
|
38
38
|
|
|
@@ -84,10 +84,6 @@ const safeBottom = ref<number>(0)
|
|
|
84
84
|
|
|
85
85
|
const name = ref<string>('') // 动画名
|
|
86
86
|
|
|
87
|
-
const popupProvide = inject('wd-popup', {
|
|
88
|
-
value: false,
|
|
89
|
-
})
|
|
90
|
-
|
|
91
87
|
const style = computed(() => {
|
|
92
88
|
return `z-index: ${props.zIndex}; padding-bottom: ${safeBottom.value}px; -webkit-transition-duration: ${
|
|
93
89
|
currentDuration.value
|
|
@@ -123,7 +119,6 @@ watch(
|
|
|
123
119
|
() => props.modelValue,
|
|
124
120
|
(newVal) => {
|
|
125
121
|
observermodelValue(newVal)
|
|
126
|
-
popupProvide.value = newVal
|
|
127
122
|
},
|
|
128
123
|
{ deep: true, immediate: true },
|
|
129
124
|
)
|