@tplc/business 0.7.36 → 0.7.37

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,41 @@
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.37](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.33...v0.7.37) (2025-12-31)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * Add `payCardId` to payment form and component, and refine payment type watch logic with minor UI alignment. ([0cac8e4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0cac8e49e678a81f3a1340b251c05aa591e28146))
11
+
12
+
13
+ ### 💄 Styles | 风格
14
+
15
+ * Enhance wd-select-picker styles with improved dark theme support, error handling, and loading states ([9476eca](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9476eca4b1dc70be0240178274fa8266a8877353))
16
+ * Update wd-select-picker label padding and adjust required indicator position ([c484165](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c484165672df34c3a8a0497a89f4878bc9eca62c))
17
+
18
+
19
+ ### 🐛 Bug Fixes | Bug 修复
20
+
21
+ * Update window information retrieval to use constantsStore for consistent access across components ([92b3a70](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/92b3a7025a82fa129646b904a90d3959cc177d26))
22
+
23
+
24
+ ### 🚀 Chore | 构建/工程依赖/工具
25
+
26
+ * **release:** 0.7.34 ([ff6d9ba](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/ff6d9babf801919bae6f7367643fc966b005141c))
27
+ * **release:** 0.7.35 ([08e3887](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/08e38877b628ed46352fb94a57dd342ed92d507a))
28
+ * **release:** 0.7.36 ([5fab8dd](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/5fab8dda5d0ffc881a4eab9df0198441c9c797a4))
29
+ * **release:** 1.0.18 ([0b5e53d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0b5e53d0d3b8dd1a8a806c5258828f70f486b628))
30
+ * **release:** 1.0.19 ([6d957fd](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/6d957fd62d08ff4cb2e74f4d2e0c0917dedbf915))
31
+ * **release:** 1.0.20 ([65ad98e](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/65ad98e5b7ddb615961c71f60ce657fec344de56))
32
+ * **release:** 1.0.21 ([c5a3dc8](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c5a3dc8cc308332fb67dbc52a66ad8b14b3f7292))
33
+ * **release:** 1.0.22 ([4c3ee83](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/4c3ee832739a0babc6efa73f6ad107defc52fa6a))
34
+
35
+
36
+ ### ♻️ Code Refactoring | 代码重构
37
+
38
+ * Update window information retrieval across components to use uni.getWindowInfo for improved consistency ([744c24f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/744c24f71d420356265331a55236b30adad11f1b))
39
+
5
40
  ### [0.7.36](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.35...v0.7.36) (2025-12-30)
6
41
 
7
42
  ### [0.7.35](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.34...v0.7.35) (2025-12-30)
@@ -307,7 +307,7 @@ const capsuleList = computed(() => {
307
307
  return [...list, ...(props.capsules || [])] as ICapsule[]
308
308
  }
309
309
  })
310
- const onCapsule = ({ action }: ICapsule) => {
310
+ const onCapsule = ({ action, customAction }: ICapsule) => {
311
311
  switch (action) {
312
312
  case 'back':
313
313
  toBack()
@@ -346,7 +346,6 @@ const onCapsule = ({ action }: ICapsule) => {
346
346
  url: uni.$lcb.internalPages.setting,
347
347
  })
348
348
  break
349
-
350
349
  case 'home':
351
350
  uni.switchTab({
352
351
  url: uni.$lcb.internalPages.home,
@@ -360,6 +359,9 @@ const onCapsule = ({ action }: ICapsule) => {
360
359
  url: uni.$lcb.internalPages.notification,
361
360
  })
362
361
  break
362
+ case 'custom':
363
+ customAction?.()
364
+ break
363
365
  }
364
366
  }
365
367
 
@@ -11,6 +11,8 @@ export interface ICapsule {
11
11
  | 'back'
12
12
  | 'share'
13
13
  | 'notification'
14
+ | 'custom'
15
+ customAction?: () => void
14
16
  dependKey?: string
15
17
  keyFromUser?: string
16
18
  dependKeyCompareValue?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.36",
3
+ "version": "0.7.37",
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.21"
14
+ "@tplc/wot": "1.0.22"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",
@@ -10,6 +10,8 @@ export interface ICapsule {
10
10
  | 'back'
11
11
  | 'share'
12
12
  | 'notification'
13
+ | 'custom'
14
+ customAction?: () => void
13
15
  dependKey?: string
14
16
  keyFromUser?: string
15
17
  dependKeyCompareValue?: string