@tplc/business 0.7.22 → 0.7.23

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,14 @@
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.7.23](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.16...v0.7.23) (2025-12-18)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 新增progress ([474bcac](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/474bcac7c08cb234e1d6945036d8ca4d64fa4f88))
11
+ * 更新wot-number ([f700988](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/f700988b15ec08eef0d1b8c140483eca8e0afed4))
12
+
5
13
  ### [0.7.22](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.21...v0.7.22) (2025-12-17)
6
14
 
7
15
 
@@ -47,6 +47,9 @@
47
47
  v-if="innerValue"
48
48
  />
49
49
  </template>
50
+ <template v-else-if="mode === 'progress'">
51
+ <wd-progress :value="innerValue" v-bind="progressProps" />
52
+ </template>
50
53
  <text
51
54
  v-else
52
55
  style="line-height: 1.54"
@@ -1,10 +1,12 @@
1
+ import { progressProps } from '@tplc/wot/components/wd-progress/types'
1
2
  import { LcbActionViewProps } from '../lcb-action-view/types'
2
3
  import { LcbBlockProps } from '../lcb-block/types'
4
+ import { ExtractPropTypes } from 'vue'
3
5
 
4
6
  export interface LcbButtonProps extends LcbBlockProps {
5
7
  text: string
6
8
  action?: LcbActionViewProps
7
- mode: 'image' | 'text' | 'noStyle' | 'qrcode'
9
+ mode: 'image' | 'text' | 'noStyle' | 'qrcode' | 'progress'
8
10
  url?: string
9
11
  imageWidth?: number
10
12
  imageHeight?: number
@@ -36,4 +38,5 @@ export interface LcbButtonProps extends LcbBlockProps {
36
38
  // 动态action key
37
39
  dynamicActionKey?: string
38
40
  lineClamp?: number
41
+ progressProps?: ExtractPropTypes<typeof progressProps>
39
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.22",
3
+ "version": "0.7.23",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "peerDependencies": {
13
13
  "vue": ">=3.2.47",
14
- "@tplc/wot": "1.0.15"
14
+ "@tplc/wot": "1.0.16"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",
@@ -1,9 +1,11 @@
1
+ import { progressProps } from '@tplc/wot/components/wd-progress/types'
1
2
  import { LcbActionViewProps } from '../lcb-action-view/types'
2
3
  import { LcbBlockProps } from '../lcb-block/types'
4
+ import { ExtractPropTypes } from 'vue'
3
5
  export interface LcbButtonProps extends LcbBlockProps {
4
6
  text: string
5
7
  action?: LcbActionViewProps
6
- mode: 'image' | 'text' | 'noStyle' | 'qrcode'
8
+ mode: 'image' | 'text' | 'noStyle' | 'qrcode' | 'progress'
7
9
  url?: string
8
10
  imageWidth?: number
9
11
  imageHeight?: number
@@ -32,4 +34,5 @@ export interface LcbButtonProps extends LcbBlockProps {
32
34
  | 'bottom-right'
33
35
  dynamicActionKey?: string
34
36
  lineClamp?: number
37
+ progressProps?: ExtractPropTypes<typeof progressProps>
35
38
  }