@tplc/wot 1.0.22 → 1.0.24
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,15 @@
|
|
|
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.24](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.42...v1.0.24) (2026-01-04)
|
|
6
|
+
|
|
7
|
+
### [1.0.23](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.37...v1.0.23) (2025-12-31)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ✨ Features | 新功能
|
|
11
|
+
|
|
12
|
+
* **lcb-nav:** add 'custom' action to ICapsule interface and implement customAction handling in onCapsule function ([fe8cec5](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/fe8cec50671d4ef07955d162303246bc102f2059))
|
|
13
|
+
|
|
5
14
|
### [1.0.22](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.36...v1.0.22) (2025-12-30)
|
|
6
15
|
|
|
7
16
|
### [1.0.21](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.20...v1.0.21) (2025-12-30)
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
:src="wrapPhoto({ photo: src, width: lazyPlaceWidth, type: 2 })"
|
|
8
8
|
:mode="mode"
|
|
9
9
|
:lazy-load="lazyLoad"
|
|
10
|
+
:show-menu-by-longpress="showMenuByLongpress"
|
|
10
11
|
/>
|
|
11
12
|
<img
|
|
12
13
|
v-if="height === 'auto' && isH5"
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
:src="wrapPhoto({ photo: src, width, type: 1 })"
|
|
27
28
|
:mode="mode"
|
|
28
29
|
:lazy-load="lazyLoad"
|
|
30
|
+
:show-menu-by-longpress="showMenuByLongpress"
|
|
29
31
|
@load="handleLoad"
|
|
30
32
|
@error="handleError"
|
|
31
33
|
/>
|
package/package.json
CHANGED
|
@@ -65,6 +65,13 @@ export declare const imgProps: {
|
|
|
65
65
|
type: BooleanConstructor
|
|
66
66
|
default: boolean
|
|
67
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* 开启长按图片显示识别小程序码菜单,仅在微信小程序平台有效
|
|
70
|
+
*/
|
|
71
|
+
showMenuByLongpress: {
|
|
72
|
+
type: BooleanConstructor
|
|
73
|
+
default: boolean
|
|
74
|
+
}
|
|
68
75
|
lazyPlaceWidth: (NumberConstructor | StringConstructor)[]
|
|
69
76
|
customStyle: {
|
|
70
77
|
type: import('vue').PropType<string>
|
|
@@ -27,6 +27,10 @@ declare const _default: import('vue').DefineComponent<
|
|
|
27
27
|
type: BooleanConstructor
|
|
28
28
|
default: boolean
|
|
29
29
|
}
|
|
30
|
+
showMenuByLongpress: {
|
|
31
|
+
type: BooleanConstructor
|
|
32
|
+
default: boolean
|
|
33
|
+
}
|
|
30
34
|
lazyPlaceWidth: (NumberConstructor | StringConstructor)[]
|
|
31
35
|
customStyle: {
|
|
32
36
|
type: import('vue').PropType<string>
|
|
@@ -79,6 +83,10 @@ declare const _default: import('vue').DefineComponent<
|
|
|
79
83
|
type: BooleanConstructor
|
|
80
84
|
default: boolean
|
|
81
85
|
}
|
|
86
|
+
showMenuByLongpress: {
|
|
87
|
+
type: BooleanConstructor
|
|
88
|
+
default: boolean
|
|
89
|
+
}
|
|
82
90
|
lazyPlaceWidth: (NumberConstructor | StringConstructor)[]
|
|
83
91
|
customStyle: {
|
|
84
92
|
type: import('vue').PropType<string>
|
|
@@ -100,6 +108,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
100
108
|
src: string
|
|
101
109
|
round: boolean
|
|
102
110
|
mode: import('./types').ImageMode
|
|
111
|
+
showMenuByLongpress: boolean
|
|
103
112
|
customImage: string
|
|
104
113
|
lazyLoad: boolean
|
|
105
114
|
enablePreview: boolean
|