@tplc/business 0.4.89 → 0.4.91
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-nav/lcb-nav.vue +2 -0
- package/components/lcb-title/lcb-title.vue +3 -3
- package/components/lcb-title/types.ts +3 -0
- package/package.json +1 -1
- package/types/components/lcb-nav/lcb-nav.vue.d.ts +3 -0
- package/types/components/lcb-title/types.d.ts +3 -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.91](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.90...v0.4.91) (2025-05-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 新增配置title ([f51f370](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f51f370c0528339cf98e759ddf06123192127ee3))
|
|
11
|
+
|
|
12
|
+
### [0.4.90](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.89...v0.4.90) (2025-05-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ✨ Features | 新功能
|
|
16
|
+
|
|
17
|
+
* notsyle ([a188815](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a1888152e522c59a96d0ee54e091bd1ea75222b6))
|
|
18
|
+
|
|
5
19
|
### [0.4.89](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.88...v0.4.89) (2025-05-04)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -166,6 +166,7 @@ const props = withDefaults(defineProps<NavProps>(), {
|
|
|
166
166
|
textSize: 32,
|
|
167
167
|
fontWeight: 500,
|
|
168
168
|
textColor: '#000000',
|
|
169
|
+
keyFromUser: false,
|
|
169
170
|
})
|
|
170
171
|
const navbarBgColor = computed(() => {
|
|
171
172
|
return props.backgroundType === 'color' ? props.backColor : ''
|
|
@@ -208,6 +209,7 @@ const titleProps = computed(() => {
|
|
|
208
209
|
titleLocation: props.titleLocation,
|
|
209
210
|
textSize: props.textSize,
|
|
210
211
|
fontWeight: props.fontWeight,
|
|
212
|
+
keyFromUser: props.keyFromUser,
|
|
211
213
|
}
|
|
212
214
|
})
|
|
213
215
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
borderRadius: transformValueUnit(lineWidth / 2),
|
|
32
32
|
}"
|
|
33
33
|
/>
|
|
34
|
-
|
|
34
|
+
<lcb-button mode="noStyle" :text="title" :keyFromUser="titleKeyFromUser" />
|
|
35
35
|
</view>
|
|
36
36
|
<view
|
|
37
37
|
class="ml-3"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
alignSelf: hintVerticalAlign,
|
|
43
43
|
}"
|
|
44
44
|
>
|
|
45
|
-
|
|
45
|
+
<lcb-button mode="noStyle" :text="hint" :keyFromUser="hintKeyFromUser" />
|
|
46
46
|
</view>
|
|
47
47
|
<view
|
|
48
48
|
v-if="moreText"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
alignSelf: moreVerticalAlign,
|
|
54
54
|
}"
|
|
55
55
|
>
|
|
56
|
-
|
|
56
|
+
<lcb-button mode="noStyle" :text="moreText" :keyFromUser="moreKeyFromUser" />
|
|
57
57
|
<wd-icon name="xiangyou" classPrefix="lcb" :size="transformValueUnit(moreFontSize)" />
|
|
58
58
|
</view>
|
|
59
59
|
</lcb-action-view>
|
|
@@ -6,6 +6,7 @@ export interface LcbTitleProps
|
|
|
6
6
|
Omit<LcbIconProps, 'color' | 'customStyle' | 'size'> {
|
|
7
7
|
/** 副标题 */
|
|
8
8
|
title: string
|
|
9
|
+
titleKeyFromUser?: string
|
|
9
10
|
fontWeight?: number
|
|
10
11
|
action?: LcbActionViewProps
|
|
11
12
|
justify?:
|
|
@@ -16,6 +17,7 @@ export interface LcbTitleProps
|
|
|
16
17
|
| 'justify-around'
|
|
17
18
|
|
|
18
19
|
hint?: string
|
|
20
|
+
hintKeyFromUser?: string
|
|
19
21
|
hintColor?: string
|
|
20
22
|
hintFontSize?: number
|
|
21
23
|
hintVerticalAlign?: 'end' | 'center'
|
|
@@ -28,6 +30,7 @@ export interface LcbTitleProps
|
|
|
28
30
|
moreFontSize?: number
|
|
29
31
|
moreText?: string
|
|
30
32
|
moreVerticalAlign?: 'end' | 'center'
|
|
33
|
+
moreKeyFromUser?: string
|
|
31
34
|
iconColor?: string
|
|
32
35
|
iconRight?: number
|
|
33
36
|
iconSize?: number
|
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
19
19
|
textSize: number
|
|
20
20
|
fontWeight: number
|
|
21
21
|
textColor: string
|
|
22
|
+
keyFromUser: boolean
|
|
22
23
|
}
|
|
23
24
|
>,
|
|
24
25
|
{},
|
|
@@ -51,6 +52,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
51
52
|
textSize: number
|
|
52
53
|
fontWeight: number
|
|
53
54
|
textColor: string
|
|
55
|
+
keyFromUser: boolean
|
|
54
56
|
}
|
|
55
57
|
>
|
|
56
58
|
>
|
|
@@ -59,6 +61,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
59
61
|
title: string
|
|
60
62
|
fontWeight: number
|
|
61
63
|
styleGroup: 1 | 2 | 3 | 4
|
|
64
|
+
keyFromUser: boolean
|
|
62
65
|
back: boolean
|
|
63
66
|
textSize: number
|
|
64
67
|
topStyle: 1 | 2
|
|
@@ -6,6 +6,7 @@ export interface LcbTitleProps
|
|
|
6
6
|
Omit<LcbIconProps, 'color' | 'customStyle' | 'size'> {
|
|
7
7
|
/** 副标题 */
|
|
8
8
|
title: string
|
|
9
|
+
titleKeyFromUser?: string
|
|
9
10
|
fontWeight?: number
|
|
10
11
|
action?: LcbActionViewProps
|
|
11
12
|
justify?:
|
|
@@ -15,6 +16,7 @@ export interface LcbTitleProps
|
|
|
15
16
|
| 'justify-between'
|
|
16
17
|
| 'justify-around'
|
|
17
18
|
hint?: string
|
|
19
|
+
hintKeyFromUser?: string
|
|
18
20
|
hintColor?: string
|
|
19
21
|
hintFontSize?: number
|
|
20
22
|
hintVerticalAlign?: 'end' | 'center'
|
|
@@ -26,6 +28,7 @@ export interface LcbTitleProps
|
|
|
26
28
|
moreFontSize?: number
|
|
27
29
|
moreText?: string
|
|
28
30
|
moreVerticalAlign?: 'end' | 'center'
|
|
31
|
+
moreKeyFromUser?: string
|
|
29
32
|
iconColor?: string
|
|
30
33
|
iconRight?: number
|
|
31
34
|
iconSize?: number
|