@tplc/business 0.4.114 → 0.4.116
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 +14 -0
- package/components/lcb-button/lcb-button.vue +2 -0
- package/components/lcb-button/types.ts +1 -0
- package/components/lcb-search/lcb-search.vue +8 -0
- package/package.json +1 -1
- package/types/components/lcb-button/lcb-button.vue.d.ts +3 -0
- package/types/components/lcb-button/types.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.4.116](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.115...v0.4.116) (2025-05-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 新增button enablePreview ([ab91670](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ab91670293731aa12ce7f76a6dc2e8f63c77a3dd))
|
|
11
|
+
|
|
12
|
+
### [0.4.115](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.114...v0.4.115) (2025-05-15)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ✨ Features | 新功能
|
|
16
|
+
|
|
17
|
+
* 动态图片跳转 ([2061cc9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2061cc92205af00523e94825b3aef32102fabe17))
|
|
18
|
+
|
|
5
19
|
### [0.4.114](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.113...v0.4.114) (2025-05-14)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
/>
|
|
28
28
|
<template v-if="mode === 'image'">
|
|
29
29
|
<wd-img
|
|
30
|
+
:enablePreview="enablePreview"
|
|
30
31
|
:src="innerValue"
|
|
31
32
|
:width="transformValueUnit(imageWidth)"
|
|
32
33
|
:mode="imageHeight ? 'aspectFill' : 'widthFix'"
|
|
@@ -61,6 +62,7 @@ const props = withDefaults(defineProps<LcbButtonProps>(), {
|
|
|
61
62
|
color: '#ffffff',
|
|
62
63
|
backgroundColor: 'var(--wot-color-theme)',
|
|
63
64
|
hideWhenDynamicKeyNotExist: false,
|
|
65
|
+
enablePreview: false,
|
|
64
66
|
iconGap: 4,
|
|
65
67
|
iconSize: 24,
|
|
66
68
|
})
|
|
@@ -193,6 +193,14 @@ const onSearch = async () => {
|
|
|
193
193
|
productName: form?.value?.keywords || '',
|
|
194
194
|
} as unknown as ProductInfo)
|
|
195
195
|
} else {
|
|
196
|
+
if (form?.value?.keywords) {
|
|
197
|
+
searchHistoryRef.value?.saveHistory({
|
|
198
|
+
link: {
|
|
199
|
+
jumpUrl: `/pages/lowcode/lowcode?pageType=${options.jumpPageType}&keywords=${form?.value?.keywords || ''}`,
|
|
200
|
+
},
|
|
201
|
+
productName: form?.value?.keywords || '',
|
|
202
|
+
} as unknown as ProductInfo)
|
|
203
|
+
}
|
|
196
204
|
uni.$emit(`${getPreviousPageId()}_filter_change`, {
|
|
197
205
|
keywords: form?.value?.keywords || '',
|
|
198
206
|
})
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
6
6
|
color: string
|
|
7
7
|
backgroundColor: string
|
|
8
8
|
hideWhenDynamicKeyNotExist: boolean
|
|
9
|
+
enablePreview: boolean
|
|
9
10
|
iconGap: number
|
|
10
11
|
iconSize: number
|
|
11
12
|
}
|
|
@@ -27,6 +28,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
27
28
|
color: string
|
|
28
29
|
backgroundColor: string
|
|
29
30
|
hideWhenDynamicKeyNotExist: boolean
|
|
31
|
+
enablePreview: boolean
|
|
30
32
|
iconGap: number
|
|
31
33
|
iconSize: number
|
|
32
34
|
}
|
|
@@ -36,6 +38,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
36
38
|
{
|
|
37
39
|
backgroundColor: string
|
|
38
40
|
color: string
|
|
41
|
+
enablePreview: boolean
|
|
39
42
|
iconSize: number
|
|
40
43
|
iconGap: number
|
|
41
44
|
hideWhenDynamicKeyNotExist: boolean
|