@tplc/business 0.4.87 → 0.4.89

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,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.89](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.88...v0.4.89) (2025-05-04)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * nav 支持动态参数 ([996d6e7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/996d6e762bdf73c65a6fa4f27146f0982cd63c74))
11
+
12
+ ### [0.4.88](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.87...v0.4.88) (2025-05-04)
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * 支持依赖值反选 ([458c055](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/458c055285e156fce1f2c2df8276df85681cf02d))
18
+
5
19
  ### [0.4.87](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.86...v0.4.87) (2025-05-04)
6
20
 
7
21
  ### [0.4.86](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.83...v0.4.86) (2025-05-04)
@@ -1,14 +1,15 @@
1
1
  <template>
2
+ <template v-if="mode === 'noStyle'">{{ innerValue }}</template>
2
3
  <view
3
4
  class="w-full h-full"
4
5
  :style="{
5
6
  ...innerStyle,
6
7
  }"
7
- v-if="dynamicKey && hideWhenDynamicKeyNotExist ? dynamicValue : true"
8
+ v-else-if="dynamicKey && hideWhenDynamicKeyNotExist ? dynamicValue : true"
8
9
  >
9
10
  <lcb-block
10
11
  v-bind="$props"
11
- customClass="border-solid"
12
+ :customClass="`${customClass} border-solid`"
12
13
  :customStyle="{
13
14
  width: props.fillWidth ? '100%' : 'fit-content',
14
15
  height: props.fillHeight ? '100%' : 'fit-content',
@@ -27,7 +28,6 @@
27
28
  <template v-if="mode === 'image'">
28
29
  <wd-img :src="innerValue" :width="imageWidth" :height="imageHeight" mode="aspectFit" />
29
30
  </template>
30
- <template v-else>{{ innerValue }}</template>
31
31
  </view>
32
32
  </lcb-action-view>
33
33
  </lcb-block>
@@ -4,12 +4,13 @@ import { LcbBlockProps } from '../lcb-block/types'
4
4
  export interface LcbButtonProps extends LcbBlockProps {
5
5
  text: string
6
6
  action?: LcbActionViewProps
7
- mode: 'image' | 'text'
7
+ mode: 'image' | 'text' | 'noStyle'
8
8
  url?: string
9
9
  imageWidth?: number
10
10
  imageHeight?: number
11
11
  dynamicKey?: string
12
12
  keyFromUser?: boolean
13
+ customClass?: string
13
14
  fillWidth?: boolean
14
15
  fillHeight?: boolean
15
16
  icon?: string
@@ -15,7 +15,7 @@
15
15
  fontWeight: fontWeight,
16
16
  }"
17
17
  >
18
- {{ title }}
18
+ <lcb-button mode="noStyle" :text="title" :keyFromUser="keyFromUser" />
19
19
  </view>
20
20
  </view>
21
21
  <view class="images" v-else>
@@ -19,6 +19,7 @@ export interface NavTitleProps {
19
19
  opacity?: number
20
20
  textSize?: number
21
21
  fontWeight?: number
22
+ keyFromUser?: boolean
22
23
  }
23
24
  export interface NavProps extends NavTitleProps {
24
25
  /** 是否固定 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.87",
3
+ "version": "0.4.89",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -3,12 +3,13 @@ import { LcbBlockProps } from '../lcb-block/types'
3
3
  export interface LcbButtonProps extends LcbBlockProps {
4
4
  text: string
5
5
  action?: LcbActionViewProps
6
- mode: 'image' | 'text'
6
+ mode: 'image' | 'text' | 'noStyle'
7
7
  url?: string
8
8
  imageWidth?: number
9
9
  imageHeight?: number
10
10
  dynamicKey?: string
11
11
  keyFromUser?: boolean
12
+ customClass?: string
12
13
  fillWidth?: boolean
13
14
  fillHeight?: boolean
14
15
  icon?: string
@@ -17,6 +17,7 @@ export interface NavTitleProps {
17
17
  opacity?: number
18
18
  textSize?: number
19
19
  fontWeight?: number
20
+ keyFromUser?: boolean
20
21
  }
21
22
  export interface NavProps extends NavTitleProps {
22
23
  /** 是否固定 */